Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

migrate browser extension to the main repo

daniel31x13af672e4d53bb
diff --git a/apps/extension/.eslintrc.cjs b/apps/extension/.eslintrc.cjs
new file mode 100644
index 00000000..4c99537a
--- /dev/null
+++ b/apps/extension/.eslintrc.cjs
@@ -0,0 +1,18 @@
+module.exports = {
+ root: true,
+ env: { browser: true, es2020: true },
+ extends: [
+ 'eslint:recommended',
+ 'plugin:@typescript-eslint/recommended',
+ 'plugin:react-hooks/recommended',
+ ],
+ ignorePatterns: ['dist', '.eslintrc.cjs'],
+ parser: '@typescript-eslint/parser',
+ plugins: ['react-refresh'],
+ rules: {
+ 'react-refresh/only-export-components': [
+ 'warn',
+ { allowConstantExport: true },
+ ],
+ },
+};
diff --git a/apps/extension/.gitignore b/apps/extension/.gitignore
new file mode 100644
index 00000000..3bc79522
--- /dev/null
+++ b/apps/extension/.gitignore
@@ -0,0 +1,46 @@
+# Logs
+logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+pnpm-debug.log*
+lerna-debug.log*
+
+node_modules
+
+# yarn (node-modules linker, per .yarnrc.yml)
+.yarn/*
+!.yarn/patches
+!.yarn/plugins
+!.yarn/releases
+!.yarn/versions
+.pnp.*
+
+dist
+dist-ssr
+dist-safari
+*.local
+dist.crx
+dist.pem
+
+# Editor directories and files
+.vscode/*
+!.vscode/extensions.json
+.idea
+.DS_Store
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw?
+
+linkwarden.zip
+
+# Safari / Xcode
+**/build/
+**/DerivedData/
+*.xcuserdata
+*.xcuserstate
+xcuserdata/
+*.xcuserdatad/
\ No newline at end of file
diff --git a/apps/extension/README.md b/apps/extension/README.md
new file mode 100644
index 00000000..35211c7e
--- /dev/null
+++ b/apps/extension/README.md
@@ -0,0 +1,96 @@
+# Linkwarden Browser Extension
+
+The Official Browser Extension for [Linkwarden](https://github.com/linkwarden/linkwarden).
+
+## Features
+
+- Add and organize new links to Linkwarden with a single click.
+- Upload screenshots of the current page to Linkwarden.
+- Save all tabs in the current window to Linkwarden.
+- Sign in using API key or Username/Password.
+
+![Image](/assets/linkwarden-extension.png)
+
+## Installation
+
+You can get the browser extension from both the Chrome Web Store and Firefox Add-ons:
+
+<a href="https://chrome.google.com/webstore/detail/linkwarden/pnidmkljnhbjfffciajlcpeldoljnidn"><img src="/assets/chrome.png" alt="Chrome Web Store"></a>
+<a href="https://addons.mozilla.org/en-US/firefox/addon/linkwarden"><img src="/assets/firefox.png" alt="Firefox Add-ons"></a>
+
+## Issues and Feature Requests
+
+Please report any issues or feature requests by starting the title with "[Browser Extension]" [here](https://github.com/linkwarden/linkwarden/issues/new/choose).
+
+## Build From Source
+
+### Requirements
+
+- NodeJS 20.19.x or later
+- Yarn 4.x, enabled with `corepack enable`
+- Bash
+- Git
+
+### Step 1: Clone this repo
+
+Clone this repository by running the following in your terminal:
+
+```
+git clone https://github.com/linkwarden/browser-extension.git
+```
+
+### Step 2: Build
+
+Head to the generated folder:
+
+```
+cd browser-extension
+```
+
+And run:
+
+```
+yarn install
+yarn build
+```
+
+After the above command, use the `/dist` folder as an unpacked extension in your browser.
+
+## Development
+
+For live reload in Chrome or Firefox:
+
+```
+yarn dev:chrome
+yarn dev:firefox
+```
+
+Either command builds the extension, launches the browser with it already installed,
+and reloads it whenever a file under `src/` changes. Both run off the same
+`manifest.json` and `dist/` folder, so there is nothing else to set up. Firefox
+reports that `background.service_worker` is ignored, which is expected: it uses
+`background.scripts` from that same manifest.
+
+The browser starts from a temporary profile, so your Linkwarden server settings are
+gone on the next start. Add `--keep-profile-changes --chromium-profile ./.profile`
+(or `--firefox-profile`) to the relevant script if you would rather keep them.
+
+To load the extension into a browser yourself, `yarn dev` runs only the watching
+build and keeps `dist/` up to date.
+
+## Safari
+
+Safari is built through the Xcode project in `safari/`, which is committed to this
+repository and maintained by hand.
+
+```
+yarn build:safari
+open safari/Linkwarden/Linkwarden.xcodeproj
+```
+
+Then Product → Archive in Xcode.
+
+The Xcode project references `dist-safari/` directly rather than holding its own copy
+of the extension, so `yarn build:safari` has to run first or you will archive a
+stale build. There is no conversion step: running `safari-web-extension-converter`
+against `safari/` would replace the committed project and its signing configuration.
diff --git a/apps/extension/assets/chrome.png b/apps/extension/assets/chrome.png
new file mode 100644
index 00000000..b73e70e8
Binary files /dev/null and b/apps/extension/assets/chrome.png differ
diff --git a/apps/extension/assets/firefox.png b/apps/extension/assets/firefox.png
new file mode 100644
index 00000000..43bbe59b
Binary files /dev/null and b/apps/extension/assets/firefox.png differ
diff --git a/apps/extension/assets/linkwarden-extension.png b/apps/extension/assets/linkwarden-extension.png
new file mode 100644
index 00000000..7a32c5ee
Binary files /dev/null and b/apps/extension/assets/linkwarden-extension.png differ
diff --git a/apps/extension/components.json b/apps/extension/components.json
new file mode 100644
index 00000000..81783bee
--- /dev/null
+++ b/apps/extension/components.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema.json",
+ "style": "default",
+ "rsc": false,
+ "tsx": true,
+ "tailwind": {
+ "config": "tailwind.config.js",
+ "css": "src/pages/Popup/index.css",
+ "baseColor": "slate",
+ "cssVariables": true
+ },
+ "aliases": {
+ "components": "src/@/components",
+ "utils": "src/@/lib/utils"
+ }
+}
diff --git a/apps/extension/index.html b/apps/extension/index.html
new file mode 100644
index 00000000..f23bd8b4
--- /dev/null
+++ b/apps/extension/index.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<html lang='en'>
+<head>
+ <meta charset='UTF-8' />
+ <link rel='icon' type='image/svg+xml' href='/favicon-32x32.png' />
+ <meta name='viewport' content='width=device-width, initial-scale=1.0' />
+ <title>Linkwarden Extension</title>
+</head>
+<body>
+<div id='root'></div>
+<script type='module' src='/src/pages/Popup/main.tsx'></script>
+</body>
+</html>
diff --git a/apps/extension/manifest.json b/apps/extension/manifest.json
new file mode 100644
index 00000000..83639840
--- /dev/null
+++ b/apps/extension/manifest.json
@@ -0,0 +1,52 @@
+{
+ "manifest_version": 3,
+ "minimum_chrome_version": "121",
+ "name": "Linkwarden",
+ "description": "Save webpages, capture screenshots, and organize links in your Linkwarden collections.",
+ "homepage_url": "https://linkwarden.app/",
+ "version": "1.5.4",
+ "action": {
+ "default_popup": "index.html",
+ "default_icon": {
+ "16": "16.png",
+ "32": "32.png",
+ "48": "48.png",
+ "128": "128.png"
+ },
+ "default_title": "Linkwarden"
+ },
+ "options_ui": {
+ "page": "src/pages/Options/options.html",
+ "browser_style": false
+ },
+ "icons": { "16": "16.png", "32": "32.png", "48": "48.png", "128": "128.png" },
+ "permissions": [
+ "storage",
+ "scripting",
+ "activeTab",
+ "tabs",
+ "bookmarks",
+ "contextMenus"
+ ],
+ "host_permissions": ["<all_urls>"],
+ "background": {
+ "service_worker": "background.js",
+ "scripts": ["background.js"],
+ "type": "module"
+ },
+ "content_security_policy": {
+ "extension_pages": "script-src 'self'; object-src 'self'; connect-src 'self' http: https:;"
+ },
+ "omnibox": { "keyword": "lk" },
+ "commands": {
+ "_execute_action": {
+ "suggested_key": { "default": "Ctrl+Shift+F", "mac": "Command+Shift+Y" }
+ }
+ },
+ "browser_specific_settings": {
+ "gecko": {
+ "strict_min_version": "121.0"
+ }
+ }
+}
diff --git a/apps/extension/manifest.safari.json b/apps/extension/manifest.safari.json
new file mode 100644
index 00000000..fb11fda7
--- /dev/null
+++ b/apps/extension/manifest.safari.json
@@ -0,0 +1,47 @@
+{
+ "manifest_version": 3,
+ "name": "Linkwarden",
+ "description": "Save webpages, capture screenshots, and organize links in your Linkwarden collections.",
+ "homepage_url": "https://linkwarden.app/",
+ "version": "1.5.4",
+ "action": {
+ "default_popup": "index.html",
+ "default_icon": {
+ "16": "16.png",
+ "32": "32.png",
+ "48": "48.png",
+ "128": "128.png"
+ },
+ "default_title": "Linkwarden"
+ },
+ "options_ui": {
+ "page": "src/pages/Options/options.html",
+ "browser_style": false
+ },
+ "icons": { "16": "16.png", "32": "32.png", "48": "48.png", "128": "128.png" },
+ "permissions": [
+ "storage",
+ "scripting",
+ "activeTab",
+ "tabs",
+ "contextMenus"
+ ],
+ "host_permissions": ["<all_urls>"],
+ "background": {
+ "scripts": ["background.js"],
+ "type": "module"
+ },
+ "content_security_policy": {
+ "extension_pages": "script-src 'self'; object-src 'self'; connect-src 'self' http: https:;"
+ },
+ "commands": {
+ "_execute_action": {
+ "suggested_key": { "default": "Ctrl+Shift+F", "mac": "Command+Shift+Y" }
+ }
+ },
+ "browser_specific_settings": {
+ "safari": {
+ "strict_min_version": "15.4"
+ }
+ }
+}
diff --git a/apps/extension/package.json b/apps/extension/package.json
new file mode 100644
index 00000000..18cefdf5
--- /dev/null
+++ b/apps/extension/package.json
@@ -0,0 +1,63 @@
+{
+ "name": "@linkwarden/extension",
+ "private": true,
+ "version": "0.0.0",
+ "type": "module",
+ "scripts": {
+ "dev": "vite build --watch",
+ "dev:chrome": "yarn build && concurrently -k -n build,chrome -c blue,green \"vite build --watch\" \"web-ext run --target chromium --source-dir dist\"",
+ "dev:firefox": "yarn build && concurrently -k -n build,firefox -c blue,magenta \"vite build --watch\" \"web-ext run --target firefox-desktop --source-dir dist\"",
+ "build": "tsc && vite build && cp ./manifest.json dist/manifest.json",
+ "build:safari": "tsc && vite build --outDir dist-safari && cp ./manifest.safari.json dist-safari/manifest.json && cp public/*.png dist-safari/",
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
+ "preview": "vite preview"
+ },
+ "dependencies": {
+ "@hookform/resolvers": "^5.9.1",
+ "@radix-ui/react-checkbox": "^1.3.3",
+ "@radix-ui/react-dialog": "^1.1.23",
+ "@radix-ui/react-dropdown-menu": "^2.1.15",
+ "@radix-ui/react-icons": "^1.3.2",
+ "@radix-ui/react-label": "^2.1.15",
+ "@radix-ui/react-popover": "^1.1.23",
+ "@radix-ui/react-select": "^2.3.7",
+ "@radix-ui/react-separator": "^1.1.7",
+ "@radix-ui/react-slot": "^1.2.3",
+ "@radix-ui/react-toast": "^1.2.23",
+ "@tanstack/react-query": "^5.51.15",
+ "@types/chrome": "^0.2.6",
+ "axios": "^1.18.0",
+ "class-variance-authority": "^0.7.1",
+ "clsx": "^2.1.1",
+ "cmdk": "^1.1.1",
+ "lucide-react": "^0.511.0",
+ "query-string": "^9.5.0",
+ "react": "19.1.0",
+ "react-dom": "19.1.0",
+ "react-hook-form": "^7.85.0",
+ "tailwind-merge": "^3.3.0",
+ "tailwindcss-animate": "^1.0.7",
+ "zod": "^4.1.13"
+ },
+ "devDependencies": {
+ "@types/firefox-webext-browser": "^143.0.0",
+ "@types/node": "^22.14.1",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
+ "@types/webextension-polyfill": "^0.12.5",
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
+ "@typescript-eslint/parser": "^6.21.0",
+ "@vitejs/plugin-react": "^5.2.0",
+ "autoprefixer": "^10.4.14",
+ "concurrently": "^9.1.2",
+ "eslint": "8.46.0",
+ "eslint-plugin-react-hooks": "^5.2.0",
+ "eslint-plugin-react-refresh": "^0.4.24",
+ "postcss": "^8.4.26",
+ "tailwindcss": "^3.4.17",
+ "typescript": "^5.8.3",
+ "vite": "^7.2.0",
+ "web-ext": "^10.6.0",
+ "webextension-polyfill": "^0.12.0"
+ }
+}
diff --git a/apps/extension/postcss.config.cjs b/apps/extension/postcss.config.cjs
new file mode 100644
index 00000000..ca0c0cda
--- /dev/null
+++ b/apps/extension/postcss.config.cjs
@@ -0,0 +1,6 @@
+module.exports = {
+ plugins: {
+ tailwindcss: {},
+ autoprefixer: {},
+ }
+}
\ No newline at end of file
diff --git a/apps/extension/public/128.png b/apps/extension/public/128.png
new file mode 100644
index 00000000..cb132fd9
Binary files /dev/null and b/apps/extension/public/128.png differ
diff --git a/apps/extension/public/16.png b/apps/extension/public/16.png
new file mode 100644
index 00000000..0aa867e4
Binary files /dev/null and b/apps/extension/public/16.png differ
diff --git a/apps/extension/public/32.png b/apps/extension/public/32.png
new file mode 100644
index 00000000..86cf2460
Binary files /dev/null and b/apps/extension/public/32.png differ
diff --git a/apps/extension/public/48.png b/apps/extension/public/48.png
new file mode 100644
index 00000000..0f92eb13
Binary files /dev/null and b/apps/extension/public/48.png differ
diff --git a/apps/extension/safari/Linkwarden/Linkwarden Extension/Info.plist b/apps/extension/safari/Linkwarden/Linkwarden Extension/Info.plist
new file mode 100644
index 00000000..9ee504dc
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden Extension/Info.plist
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>NSExtension</key>
+ <dict>
+ <key>NSExtensionPointIdentifier</key>
+ <string>com.apple.Safari.web-extension</string>
+ <key>NSExtensionPrincipalClass</key>
+ <string>$(PRODUCT_MODULE_NAME).SafariWebExtensionHandler</string>
+ </dict>
+</dict>
+</plist>
diff --git a/apps/extension/safari/Linkwarden/Linkwarden Extension/SafariWebExtensionHandler.swift b/apps/extension/safari/Linkwarden/Linkwarden Extension/SafariWebExtensionHandler.swift
new file mode 100644
index 00000000..b96ea3a0
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden Extension/SafariWebExtensionHandler.swift
@@ -0,0 +1,42 @@
+//
+// SafariWebExtensionHandler.swift
+// Linkwarden Extension
+//
+// Created by Daniel on 2026-04-23.
+//
+
+import SafariServices
+import os.log
+
+class SafariWebExtensionHandler: NSObject, NSExtensionRequestHandling {
+
+ func beginRequest(with context: NSExtensionContext) {
+ let request = context.inputItems.first as? NSExtensionItem
+
+ let profile: UUID?
+ if #available(iOS 17.0, macOS 14.0, *) {
+ profile = request?.userInfo?[SFExtensionProfileKey] as? UUID
+ } else {
+ profile = request?.userInfo?["profile"] as? UUID
+ }
+
+ let message: Any?
+ if #available(iOS 15.0, macOS 11.0, *) {
+ message = request?.userInfo?[SFExtensionMessageKey]
+ } else {
+ message = request?.userInfo?["message"]
+ }
+
+ os_log(.default, "Received message from browser.runtime.sendNativeMessage: %@ (profile: %@)", String(describing: message), profile?.uuidString ?? "none")
+
+ let response = NSExtensionItem()
+ if #available(iOS 15.0, macOS 11.0, *) {
+ response.userInfo = [ SFExtensionMessageKey: [ "echo": message ] ]
+ } else {
+ response.userInfo = [ "message": [ "echo": message ] ]
+ }
+
+ context.completeRequest(returningItems: [ response ], completionHandler: nil)
+ }
+
+}
diff --git a/apps/extension/safari/Linkwarden/Linkwarden.xcodeproj/project.pbxproj b/apps/extension/safari/Linkwarden/Linkwarden.xcodeproj/project.pbxproj
new file mode 100644
index 00000000..59831cca
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden.xcodeproj/project.pbxproj
@@ -0,0 +1,647 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 77;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 65E051CD2F9AFEE100628D48 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65E051CC2F9AFEE100628D48 /* AppDelegate.swift */; };
+ 65E051D12F9AFEE200628D48 /* Main.html in Resources */ = {isa = PBXBuildFile; fileRef = 65E051CF2F9AFEE100628D48 /* Main.html */; };
+ 65E051D32F9AFEE200628D48 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 65E051D22F9AFEE200628D48 /* Icon.png */; };
+ 65E051D52F9AFEE200628D48 /* Style.css in Resources */ = {isa = PBXBuildFile; fileRef = 65E051D42F9AFEE200628D48 /* Style.css */; };
+ 65E051D72F9AFEE200628D48 /* Script.js in Resources */ = {isa = PBXBuildFile; fileRef = 65E051D62F9AFEE200628D48 /* Script.js */; };
+ 65E051D92F9AFEE200628D48 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65E051D82F9AFEE200628D48 /* ViewController.swift */; };
+ 65E051DC2F9AFEE200628D48 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 65E051DA2F9AFEE200628D48 /* Main.storyboard */; };
+ 65E051DE2F9AFEE300628D48 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 65E051DD2F9AFEE300628D48 /* Assets.xcassets */; };
+ 65E051E52F9AFEE300628D48 /* Linkwarden Extension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 65E051E42F9AFEE300628D48 /* Linkwarden Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
+ 65E051EA2F9AFEE300628D48 /* SafariWebExtensionHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65E051E92F9AFEE300628D48 /* SafariWebExtensionHandler.swift */; };
+ 65E052012F9AFEE300628D48 /* 48.png in Resources */ = {isa = PBXBuildFile; fileRef = 65E051F62F9AFEE300628D48 /* 48.png */; };
+ 65E052022F9AFEE300628D48 /* index.html in Resources */ = {isa = PBXBuildFile; fileRef = 65E051F72F9AFEE300628D48 /* index.html */; };
+ 65E052032F9AFEE300628D48 /* background.js in Resources */ = {isa = PBXBuildFile; fileRef = 65E051F82F9AFEE300628D48 /* background.js */; };
+ 65E052042F9AFEE300628D48 /* 128.png in Resources */ = {isa = PBXBuildFile; fileRef = 65E051F92F9AFEE300628D48 /* 128.png */; };
+ 65E052052F9AFEE300628D48 /* options.js in Resources */ = {isa = PBXBuildFile; fileRef = 65E051FA2F9AFEE300628D48 /* options.js */; };
+ 65E052062F9AFEE300628D48 /* 16.png in Resources */ = {isa = PBXBuildFile; fileRef = 65E051FB2F9AFEE300628D48 /* 16.png */; };
+ 65E052072F9AFEE300628D48 /* main.js in Resources */ = {isa = PBXBuildFile; fileRef = 65E051FC2F9AFEE300628D48 /* main.js */; };
+ 65E052082F9AFEE300628D48 /* 32.png in Resources */ = {isa = PBXBuildFile; fileRef = 65E051FD2F9AFEE300628D48 /* 32.png */; };
+ 65E052092F9AFEE300628D48 /* manifest.json in Resources */ = {isa = PBXBuildFile; fileRef = 65E051FE2F9AFEE300628D48 /* manifest.json */; };
+ 65E0520A2F9AFEE300628D48 /* assets in Resources */ = {isa = PBXBuildFile; fileRef = 65E051FF2F9AFEE300628D48 /* assets */; };
+ 65E0520B2F9AFEE300628D48 /* src in Resources */ = {isa = PBXBuildFile; fileRef = 65E052002F9AFEE300628D48 /* src */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ 65E051E62F9AFEE300628D48 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 65E051C12F9AFEE100628D48 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 65E051E32F9AFEE300628D48;
+ remoteInfo = "Linkwarden Extension";
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 65E051F12F9AFEE300628D48 /* Embed Foundation Extensions */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 13;
+ files = (
+ 65E051E52F9AFEE300628D48 /* Linkwarden Extension.appex in Embed Foundation Extensions */,
+ );
+ name = "Embed Foundation Extensions";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 65E051C92F9AFEE100628D48 /* Linkwarden for Safari.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Linkwarden for Safari.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 65E051CC2F9AFEE100628D48 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
+ 65E051D02F9AFEE100628D48 /* Base */ = {isa = PBXFileReference; lastKnownFileType = text.html; name = Base; path = Base.lproj/Main.html; sourceTree = "<group>"; };
+ 65E051D22F9AFEE200628D48 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = "<group>"; };
+ 65E051D42F9AFEE200628D48 /* Style.css */ = {isa = PBXFileReference; lastKnownFileType = text.css; path = Style.css; sourceTree = "<group>"; };
+ 65E051D62F9AFEE200628D48 /* Script.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; path = Script.js; sourceTree = "<group>"; };
+ 65E051D82F9AFEE200628D48 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
+ 65E051DB2F9AFEE200628D48 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
+ 65E051DD2F9AFEE300628D48 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
+ 65E051DF2F9AFEE300628D48 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+ 65E051E42F9AFEE300628D48 /* Linkwarden Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "Linkwarden Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 65E051E92F9AFEE300628D48 /* SafariWebExtensionHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SafariWebExtensionHandler.swift; sourceTree = "<group>"; };
+ 65E051EB2F9AFEE300628D48 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+ 65E051F62F9AFEE300628D48 /* 48.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = 48.png; path = "../../../dist-safari/48.png"; sourceTree = "<group>"; };
+ 65E051F72F9AFEE300628D48 /* index.html */ = {isa = PBXFileReference; lastKnownFileType = text.html; name = index.html; path = "../../../dist-safari/index.html"; sourceTree = "<group>"; };
+ 65E051F82F9AFEE300628D48 /* background.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = background.js; path = "../../../dist-safari/background.js"; sourceTree = "<group>"; };
+ 65E051F92F9AFEE300628D48 /* 128.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = 128.png; path = "../../../dist-safari/128.png"; sourceTree = "<group>"; };
+ 65E051FA2F9AFEE300628D48 /* options.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = options.js; path = "../../../dist-safari/options.js"; sourceTree = "<group>"; };
+ 65E051FB2F9AFEE300628D48 /* 16.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = 16.png; path = "../../../dist-safari/16.png"; sourceTree = "<group>"; };
+ 65E051FC2F9AFEE300628D48 /* main.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = main.js; path = "../../../dist-safari/main.js"; sourceTree = "<group>"; };
+ 65E051FD2F9AFEE300628D48 /* 32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = 32.png; path = "../../../dist-safari/32.png"; sourceTree = "<group>"; };
+ 65E051FE2F9AFEE300628D48 /* manifest.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; name = manifest.json; path = "../../../dist-safari/manifest.json"; sourceTree = "<group>"; };
+ 65E051FF2F9AFEE300628D48 /* assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = assets; path = "../../../dist-safari/assets"; sourceTree = "<group>"; };
+ 65E052002F9AFEE300628D48 /* src */ = {isa = PBXFileReference; lastKnownFileType = folder; name = src; path = "../../../dist-safari/src"; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 65E051C62F9AFEE100628D48 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 65E051E12F9AFEE300628D48 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 65E051C02F9AFEE100628D48 = {
+ isa = PBXGroup;
+ children = (
+ 65E051CB2F9AFEE100628D48 /* Linkwarden */,
+ 65E051E82F9AFEE300628D48 /* Linkwarden Extension */,
+ 65E051CA2F9AFEE100628D48 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ 65E051CA2F9AFEE100628D48 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 65E051C92F9AFEE100628D48 /* Linkwarden for Safari.app */,
+ 65E051E42F9AFEE300628D48 /* Linkwarden Extension.appex */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 65E051CB2F9AFEE100628D48 /* Linkwarden */ = {
+ isa = PBXGroup;
+ children = (
+ 65E051CC2F9AFEE100628D48 /* AppDelegate.swift */,
+ 65E051D82F9AFEE200628D48 /* ViewController.swift */,
+ 65E051DA2F9AFEE200628D48 /* Main.storyboard */,
+ 65E051DD2F9AFEE300628D48 /* Assets.xcassets */,
+ 65E051DF2F9AFEE300628D48 /* Info.plist */,
+ 65E051CE2F9AFEE100628D48 /* Resources */,
+ );
+ path = Linkwarden;
+ sourceTree = "<group>";
+ };
+ 65E051CE2F9AFEE100628D48 /* Resources */ = {
+ isa = PBXGroup;
+ children = (
+ 65E051CF2F9AFEE100628D48 /* Main.html */,
+ 65E051D22F9AFEE200628D48 /* Icon.png */,
+ 65E051D42F9AFEE200628D48 /* Style.css */,
+ 65E051D62F9AFEE200628D48 /* Script.js */,
+ );
+ path = Resources;
+ sourceTree = "<group>";
+ };
+ 65E051E82F9AFEE300628D48 /* Linkwarden Extension */ = {
+ isa = PBXGroup;
+ children = (
+ 65E051F52F9AFEE300628D48 /* Resources */,
+ 65E051E92F9AFEE300628D48 /* SafariWebExtensionHandler.swift */,
+ 65E051EB2F9AFEE300628D48 /* Info.plist */,
+ );
+ path = "Linkwarden Extension";
+ sourceTree = "<group>";
+ };
+ 65E051F52F9AFEE300628D48 /* Resources */ = {
+ isa = PBXGroup;
+ children = (
+ 65E051F62F9AFEE300628D48 /* 48.png */,
+ 65E051F72F9AFEE300628D48 /* index.html */,
+ 65E051F82F9AFEE300628D48 /* background.js */,
+ 65E051F92F9AFEE300628D48 /* 128.png */,
+ 65E051FA2F9AFEE300628D48 /* options.js */,
+ 65E051FB2F9AFEE300628D48 /* 16.png */,
+ 65E051FC2F9AFEE300628D48 /* main.js */,
+ 65E051FD2F9AFEE300628D48 /* 32.png */,
+ 65E051FE2F9AFEE300628D48 /* manifest.json */,
+ 65E051FF2F9AFEE300628D48 /* assets */,
+ 65E052002F9AFEE300628D48 /* src */,
+ );
+ name = Resources;
+ path = "Linkwarden Extension";
+ sourceTree = SOURCE_ROOT;
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 65E051C82F9AFEE100628D48 /* Linkwarden for Safari */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 65E051F22F9AFEE300628D48 /* Build configuration list for PBXNativeTarget "Linkwarden for Safari" */;
+ buildPhases = (
+ 65E051C52F9AFEE100628D48 /* Sources */,
+ 65E051C62F9AFEE100628D48 /* Frameworks */,
+ 65E051C72F9AFEE100628D48 /* Resources */,
+ 65E051F12F9AFEE300628D48 /* Embed Foundation Extensions */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 65E051E72F9AFEE300628D48 /* PBXTargetDependency */,
+ );
+ name = "Linkwarden for Safari";
+ packageProductDependencies = (
+ );
+ productName = Linkwarden;
+ productReference = 65E051C92F9AFEE100628D48 /* Linkwarden for Safari.app */;
+ productType = "com.apple.product-type.application";
+ };
+ 65E051E32F9AFEE300628D48 /* Linkwarden Extension */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 65E051EE2F9AFEE300628D48 /* Build configuration list for PBXNativeTarget "Linkwarden Extension" */;
+ buildPhases = (
+ 65E051E02F9AFEE300628D48 /* Sources */,
+ 65E051E12F9AFEE300628D48 /* Frameworks */,
+ 65E051E22F9AFEE300628D48 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "Linkwarden Extension";
+ packageProductDependencies = (
+ );
+ productName = "Linkwarden Extension";
+ productReference = 65E051E42F9AFEE300628D48 /* Linkwarden Extension.appex */;
+ productType = "com.apple.product-type.app-extension";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 65E051C12F9AFEE100628D48 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ BuildIndependentTargetsInParallel = 1;
+ LastSwiftUpdateCheck = 2610;
+ LastUpgradeCheck = 2610;
+ TargetAttributes = {
+ 65E051C82F9AFEE100628D48 = {
+ CreatedOnToolsVersion = 26.1;
+ };
+ 65E051E32F9AFEE300628D48 = {
+ CreatedOnToolsVersion = 26.1;
+ };
+ };
+ };
+ buildConfigurationList = 65E051C42F9AFEE100628D48 /* Build configuration list for PBXProject "Linkwarden" */;
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 65E051C02F9AFEE100628D48;
+ minimizedProjectReferenceProxies = 1;
+ preferredProjectObjectVersion = 77;
+ productRefGroup = 65E051CA2F9AFEE100628D48 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 65E051C82F9AFEE100628D48 /* Linkwarden for Safari */,
+ 65E051E32F9AFEE300628D48 /* Linkwarden Extension */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 65E051C72F9AFEE100628D48 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 65E051D32F9AFEE200628D48 /* Icon.png in Resources */,
+ 65E051DC2F9AFEE200628D48 /* Main.storyboard in Resources */,
+ 65E051D72F9AFEE200628D48 /* Script.js in Resources */,
+ 65E051D12F9AFEE200628D48 /* Main.html in Resources */,
+ 65E051DE2F9AFEE300628D48 /* Assets.xcassets in Resources */,
+ 65E051D52F9AFEE200628D48 /* Style.css in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 65E051E22F9AFEE300628D48 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 65E052012F9AFEE300628D48 /* 48.png in Resources */,
+ 65E052042F9AFEE300628D48 /* 128.png in Resources */,
+ 65E052062F9AFEE300628D48 /* 16.png in Resources */,
+ 65E052032F9AFEE300628D48 /* background.js in Resources */,
+ 65E052092F9AFEE300628D48 /* manifest.json in Resources */,
+ 65E0520A2F9AFEE300628D48 /* assets in Resources */,
+ 65E052072F9AFEE300628D48 /* main.js in Resources */,
+ 65E0520B2F9AFEE300628D48 /* src in Resources */,
+ 65E052022F9AFEE300628D48 /* index.html in Resources */,
+ 65E052082F9AFEE300628D48 /* 32.png in Resources */,
+ 65E052052F9AFEE300628D48 /* options.js in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 65E051C52F9AFEE100628D48 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 65E051D92F9AFEE200628D48 /* ViewController.swift in Sources */,
+ 65E051CD2F9AFEE100628D48 /* AppDelegate.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 65E051E02F9AFEE300628D48 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 65E051EA2F9AFEE300628D48 /* SafariWebExtensionHandler.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ 65E051E72F9AFEE300628D48 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 65E051E32F9AFEE300628D48 /* Linkwarden Extension */;
+ targetProxy = 65E051E62F9AFEE300628D48 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ 65E051CF2F9AFEE100628D48 /* Main.html */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 65E051D02F9AFEE100628D48 /* Base */,
+ );
+ name = Main.html;
+ sourceTree = "<group>";
+ };
+ 65E051DA2F9AFEE200628D48 /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 65E051DB2F9AFEE200628D48 /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 65E051EC2F9AFEE300628D48 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_ENABLE_OBJC_WEAK = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu17;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
+ MACOSX_DEPLOYMENT_TARGET = 26.1;
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
+ MTL_FAST_MATH = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ };
+ name = Debug;
+ };
+ 65E051ED2F9AFEE300628D48 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_ENABLE_OBJC_WEAK = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu17;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
+ MACOSX_DEPLOYMENT_TARGET = 26.1;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ MTL_FAST_MATH = YES;
+ SDKROOT = macosx;
+ SWIFT_COMPILATION_MODE = wholemodule;
+ };
+ name = Release;
+ };
+ 65E051EF2F9AFEE300628D48 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ DEVELOPMENT_TEAM = FZ44882Y36;
+ ENABLE_APP_SANDBOX = YES;
+ ENABLE_HARDENED_RUNTIME = YES;
+ ENABLE_USER_SELECTED_FILES = readonly;
+ GENERATE_INFOPLIST_FILE = YES;
+ INFOPLIST_FILE = "Linkwarden Extension/Info.plist";
+ INFOPLIST_KEY_CFBundleDisplayName = "Linkwarden for Safari";
+ INFOPLIST_KEY_NSHumanReadableCopyright = "";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/../Frameworks",
+ "@executable_path/../../../../Frameworks",
+ );
+ MACOSX_DEPLOYMENT_TARGET = 13.0;
+ MARKETING_VERSION = 1.5.4;
+ OTHER_LDFLAGS = (
+ "-framework",
+ SafariServices,
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = app.linkwarden.extension.safari;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SKIP_INSTALL = YES;
+ STRING_CATALOG_GENERATE_SYMBOLS = YES;
+ SWIFT_APPROACHABLE_CONCURRENCY = YES;
+ SWIFT_EMIT_LOC_STRINGS = YES;
+ SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
+ SWIFT_VERSION = 5.0;
+ };
+ name = Debug;
+ };
+ 65E051F02F9AFEE300628D48 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ DEVELOPMENT_TEAM = FZ44882Y36;
+ ENABLE_APP_SANDBOX = YES;
+ ENABLE_HARDENED_RUNTIME = YES;
+ ENABLE_USER_SELECTED_FILES = readonly;
+ GENERATE_INFOPLIST_FILE = YES;
+ INFOPLIST_FILE = "Linkwarden Extension/Info.plist";
+ INFOPLIST_KEY_CFBundleDisplayName = "Linkwarden for Safari";
+ INFOPLIST_KEY_NSHumanReadableCopyright = "";
+ "INFOPLIST_KEY_NSHumanReadableCopyright[sdk=*]" = "Copyright © 2026 Linkwarden. All rights reserved.";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/../Frameworks",
+ "@executable_path/../../../../Frameworks",
+ );
+ MACOSX_DEPLOYMENT_TARGET = 13.0;
+ MARKETING_VERSION = 1.5.4;
+ OTHER_LDFLAGS = (
+ "-framework",
+ SafariServices,
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = app.linkwarden.extension.safari;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SKIP_INSTALL = YES;
+ STRING_CATALOG_GENERATE_SYMBOLS = YES;
+ SWIFT_APPROACHABLE_CONCURRENCY = YES;
+ SWIFT_EMIT_LOC_STRINGS = YES;
+ SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
+ SWIFT_VERSION = 5.0;
+ };
+ name = Release;
+ };
+ 65E051F32F9AFEE300628D48 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
+ ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO;
+ CODE_SIGN_STYLE = Automatic;
+ COMBINE_HIDPI_IMAGES = YES;
+ CURRENT_PROJECT_VERSION = 1;
+ DEVELOPMENT_TEAM = FZ44882Y36;
+ ENABLE_APP_SANDBOX = YES;
+ ENABLE_HARDENED_RUNTIME = YES;
+ ENABLE_OUTGOING_NETWORK_CONNECTIONS = YES;
+ ENABLE_USER_SELECTED_FILES = readonly;
+ GENERATE_INFOPLIST_FILE = YES;
+ INFOPLIST_FILE = Linkwarden/Info.plist;
+ INFOPLIST_KEY_CFBundleDisplayName = "Linkwarden for Safari";
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
+ INFOPLIST_KEY_NSHumanReadableCopyright = "";
+ INFOPLIST_KEY_NSMainStoryboardFile = Main;
+ INFOPLIST_KEY_NSPrincipalClass = NSApplication;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/../Frameworks",
+ );
+ MARKETING_VERSION = 1.5.4;
+ OTHER_LDFLAGS = (
+ "-framework",
+ SafariServices,
+ "-framework",
+ WebKit,
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = app.linkwarden.extension;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ REGISTER_APP_GROUPS = YES;
+ STRING_CATALOG_GENERATE_SYMBOLS = YES;
+ SWIFT_APPROACHABLE_CONCURRENCY = YES;
+ SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
+ SWIFT_EMIT_LOC_STRINGS = YES;
+ SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
+ SWIFT_VERSION = 5.0;
+ };
+ name = Debug;
+ };
+ 65E051F42F9AFEE300628D48 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
+ ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO;
+ CODE_SIGN_STYLE = Automatic;
+ COMBINE_HIDPI_IMAGES = YES;
+ CURRENT_PROJECT_VERSION = 1;
+ DEVELOPMENT_TEAM = FZ44882Y36;
+ ENABLE_APP_SANDBOX = YES;
+ ENABLE_HARDENED_RUNTIME = YES;
+ ENABLE_OUTGOING_NETWORK_CONNECTIONS = YES;
+ ENABLE_USER_SELECTED_FILES = readonly;
+ GENERATE_INFOPLIST_FILE = YES;
+ INFOPLIST_FILE = Linkwarden/Info.plist;
+ INFOPLIST_KEY_CFBundleDisplayName = "Linkwarden for Safari";
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
+ INFOPLIST_KEY_NSHumanReadableCopyright = "";
+ "INFOPLIST_KEY_NSHumanReadableCopyright[sdk=*]" = "Copyright © 2026 Linkwarden. All rights reserved.";
+ INFOPLIST_KEY_NSMainStoryboardFile = Main;
+ INFOPLIST_KEY_NSPrincipalClass = NSApplication;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/../Frameworks",
+ );
+ MARKETING_VERSION = 1.5.4;
+ OTHER_LDFLAGS = (
+ "-framework",
+ SafariServices,
+ "-framework",
+ WebKit,
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = app.linkwarden.extension;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ REGISTER_APP_GROUPS = YES;
+ STRING_CATALOG_GENERATE_SYMBOLS = YES;
+ SWIFT_APPROACHABLE_CONCURRENCY = YES;
+ SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
+ SWIFT_EMIT_LOC_STRINGS = YES;
+ SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
+ SWIFT_VERSION = 5.0;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 65E051C42F9AFEE100628D48 /* Build configuration list for PBXProject "Linkwarden" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 65E051EC2F9AFEE300628D48 /* Debug */,
+ 65E051ED2F9AFEE300628D48 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 65E051EE2F9AFEE300628D48 /* Build configuration list for PBXNativeTarget "Linkwarden Extension" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 65E051EF2F9AFEE300628D48 /* Debug */,
+ 65E051F02F9AFEE300628D48 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 65E051F22F9AFEE300628D48 /* Build configuration list for PBXNativeTarget "Linkwarden for Safari" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 65E051F32F9AFEE300628D48 /* Debug */,
+ 65E051F42F9AFEE300628D48 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 65E051C12F9AFEE100628D48 /* Project object */;
+}
diff --git a/apps/extension/safari/Linkwarden/Linkwarden.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/apps/extension/safari/Linkwarden/Linkwarden.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 00000000..919434a6
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:">
+ </FileRef>
+</Workspace>
diff --git a/apps/extension/safari/Linkwarden/Linkwarden.xcodeproj/xcshareddata/xcschemes/Linkwarden.xcscheme b/apps/extension/safari/Linkwarden/Linkwarden.xcodeproj/xcshareddata/xcschemes/Linkwarden.xcscheme
new file mode 100644
index 00000000..1216da3d
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden.xcodeproj/xcshareddata/xcschemes/Linkwarden.xcscheme
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ LastUpgradeVersion = "2610"
+ version = "1.7">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES"
+ buildArchitectures = "Automatic">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "65E051C82F9AFEE100628D48"
+ BuildableName = "Linkwarden for Safari.app"
+ BlueprintName = "Linkwarden for Safari"
+ ReferencedContainer = "container:Linkwarden.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ buildConfiguration = "Debug"
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ shouldAutocreateTestPlan = "YES">
+ </TestAction>
+ <LaunchAction
+ buildConfiguration = "Release"
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ ignoresPersistentStateOnLaunch = "NO"
+ debugDocumentVersioning = "YES"
+ debugServiceExtension = "internal"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable
+ runnableDebuggingMode = "0">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "65E051C82F9AFEE100628D48"
+ BuildableName = "Linkwarden for Safari.app"
+ BlueprintName = "Linkwarden for Safari"
+ ReferencedContainer = "container:Linkwarden.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </LaunchAction>
+ <ProfileAction
+ buildConfiguration = "Release"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable
+ runnableDebuggingMode = "0">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "65E051C82F9AFEE100628D48"
+ BuildableName = "Linkwarden for Safari.app"
+ BlueprintName = "Linkwarden for Safari"
+ ReferencedContainer = "container:Linkwarden.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/AppDelegate.swift b/apps/extension/safari/Linkwarden/Linkwarden/AppDelegate.swift
new file mode 100644
index 00000000..54d1e22c
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden/AppDelegate.swift
@@ -0,0 +1,21 @@
+//
+// AppDelegate.swift
+// Linkwarden
+//
+// Created by Daniel on 2026-04-23.
+//
+
+import Cocoa
+
+@main
+class AppDelegate: NSObject, NSApplicationDelegate {
+
+ func applicationDidFinishLaunching(_ notification: Notification) {
+ // Override point for customization after application launch.
+ }
+
+ func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
+ return true
+ }
+
+}
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AccentColor.colorset/Contents.json b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AccentColor.colorset/Contents.json
new file mode 100644
index 00000000..eb878970
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AccentColor.colorset/Contents.json
@@ -0,0 +1,11 @@
+{
+ "colors" : [
+ {
+ "idiom" : "universal"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/Contents.json b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 00000000..39b2c198
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,68 @@
+{
+ "images" : [
+ {
+ "filename" : "[email protected]",
+ "idiom" : "mac",
+ "scale" : "1x",
+ "size" : "16x16"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "mac",
+ "scale" : "2x",
+ "size" : "16x16"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "mac",
+ "scale" : "1x",
+ "size" : "32x32"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "mac",
+ "scale" : "2x",
+ "size" : "32x32"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "mac",
+ "scale" : "1x",
+ "size" : "128x128"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "mac",
+ "scale" : "2x",
+ "size" : "128x128"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "mac",
+ "scale" : "1x",
+ "size" : "256x256"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "mac",
+ "scale" : "2x",
+ "size" : "256x256"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "mac",
+ "scale" : "1x",
+ "size" : "512x512"
+ },
+ {
+ "filename" : "[email protected]",
+ "idiom" : "mac",
+ "scale" : "2x",
+ "size" : "512x512"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..a5abdc9f
Binary files /dev/null and b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..f3544bf2
Binary files /dev/null and b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..23ccc3da
Binary files /dev/null and b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..7d7a3343
Binary files /dev/null and b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..f3544bf2
Binary files /dev/null and b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..50256495
Binary files /dev/null and b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..7d7a3343
Binary files /dev/null and b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..6434fad0
Binary files /dev/null and b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..50256495
Binary files /dev/null and b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 00000000..29d080e7
Binary files /dev/null and b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/Contents.json b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/Contents.json
new file mode 100644
index 00000000..73c00596
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/LargeIcon.imageset/Contents.json b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/LargeIcon.imageset/Contents.json
new file mode 100644
index 00000000..a19a5492
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden/Assets.xcassets/LargeIcon.imageset/Contents.json
@@ -0,0 +1,20 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Base.lproj/Main.storyboard b/apps/extension/safari/Linkwarden/Linkwarden/Base.lproj/Main.storyboard
new file mode 100644
index 00000000..9ee48f66
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden/Base.lproj/Main.storyboard
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="19085" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
+ <dependencies>
+ <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19085"/>
+ <plugIn identifier="com.apple.WebKit2IBPlugin" version="19085"/>
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+ </dependencies>
+ <scenes>
+ <!--Application-->
+ <scene sceneID="JPo-4y-FX3">
+ <objects>
+ <application id="hnw-xV-0zn" sceneMemberID="viewController">
+ <menu key="mainMenu" title="Main Menu" systemMenu="main" id="AYu-sK-qS6">
+ <items>
+ <menuItem title="Linkwarden for Safari" id="1Xt-HY-uBw">
+ <modifierMask key="keyEquivalentModifierMask"/>
+ <menu key="submenu" title="Linkwarden for Safari" systemMenu="apple" id="uQy-DD-JDr">
+ <items>
+ <menuItem title="About Linkwarden for Safari" id="5kV-Vb-QxS">
+ <modifierMask key="keyEquivalentModifierMask"/>
+ <connections>
+ <action selector="orderFrontStandardAboutPanel:" target="Ady-hI-5gd" id="Exp-CZ-Vem"/>
+ </connections>
+ </menuItem>
+ <menuItem isSeparatorItem="YES" id="VOq-y0-SEH"/>
+ <menuItem title="Hide Linkwarden for Safari" keyEquivalent="h" id="Olw-nP-bQN">
+ <connections>
+ <action selector="hide:" target="Ady-hI-5gd" id="PnN-Uc-m68"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Hide Others" keyEquivalent="h" id="Vdr-fp-XzO">
+ <modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
+ <connections>
+ <action selector="hideOtherApplications:" target="Ady-hI-5gd" id="VT4-aY-XCT"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Show All" id="Kd2-mp-pUS">
+ <modifierMask key="keyEquivalentModifierMask"/>
+ <connections>
+ <action selector="unhideAllApplications:" target="Ady-hI-5gd" id="Dhg-Le-xox"/>
+ </connections>
+ </menuItem>
+ <menuItem isSeparatorItem="YES" id="kCx-OE-vgT"/>
+ <menuItem title="Quit Linkwarden for Safari" keyEquivalent="q" id="4sb-4s-VLi">
+ <connections>
+ <action selector="terminate:" target="Ady-hI-5gd" id="Te7-pn-YzF"/>
+ </connections>
+ </menuItem>
+ </items>
+ </menu>
+ </menuItem>
+ <menuItem title="Help" id="wpr-3q-Mcd">
+ <modifierMask key="keyEquivalentModifierMask"/>
+ <menu key="submenu" title="Help" systemMenu="help" id="F2S-fz-NVQ">
+ <items>
+ <menuItem title="Linkwarden for Safari Help" keyEquivalent="?" id="FKE-Sm-Kum">
+ <connections>
+ <action selector="showHelp:" target="Ady-hI-5gd" id="y7X-2Q-9no"/>
+ </connections>
+ </menuItem>
+ </items>
+ </menu>
+ </menuItem>
+ </items>
+ </menu>
+ <connections>
+ <outlet property="delegate" destination="Voe-Tx-rLC" id="PrD-fu-P6m"/>
+ </connections>
+ </application>
+ <customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModuleProvider="target"/>
+ <customObject id="YLy-65-1bz" customClass="NSFontManager"/>
+ <customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="76" y="-134"/>
+ </scene>
+ <!--Window Controller-->
+ <scene sceneID="R2V-B0-nI4">
+ <objects>
+ <windowController showSeguePresentationStyle="single" id="B8D-0N-5wS" sceneMemberID="viewController">
+ <window key="window" title="Linkwarden for Safari" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" releasedWhenClosed="NO" animationBehavior="default" id="IQv-IB-iLA">
+ <windowStyleMask key="styleMask" titled="YES" closable="YES"/>
+ <windowCollectionBehavior key="collectionBehavior" fullScreenNone="YES"/>
+ <rect key="contentRect" x="196" y="240" width="425" height="440"/>
+ <rect key="screenRect" x="0.0" y="0.0" width="1680" height="1027"/>
+ <connections>
+ <outlet property="delegate" destination="B8D-0N-5wS" id="98r-iN-zZc"/>
+ </connections>
+ </window>
+ <connections>
+ <segue destination="XfG-lQ-9wD" kind="relationship" relationship="window.shadowedContentViewController" id="cq2-FE-JQM"/>
+ </connections>
+ </windowController>
+ <customObject id="Oky-zY-oP4" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="75" y="250"/>
+ </scene>
+ <!--View Controller-->
+ <scene sceneID="hIz-AP-VOD">
+ <objects>
+ <viewController id="XfG-lQ-9wD" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
+ <view key="view" id="m2S-Jp-Qdl">
+ <rect key="frame" x="0.0" y="0.0" width="425" height="440"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <wkWebView wantsLayer="YES" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="eOr-cG-IQY">
+ <rect key="frame" x="0.0" y="0.0" width="425" height="440"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <wkWebViewConfiguration key="configuration">
+ <audiovisualMediaTypes key="mediaTypesRequiringUserActionForPlayback" none="YES"/>
+ <wkPreferences key="preferences"/>
+ </wkWebViewConfiguration>
+ </wkWebView>
+ </subviews>
+ </view>
+ <connections>
+ <outlet property="webView" destination="eOr-cG-IQY" id="GFe-mU-dBY"/>
+ </connections>
+ </viewController>
+ <customObject id="rPt-NT-nkU" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="75" y="655"/>
+ </scene>
+ </scenes>
+</document>
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Info.plist b/apps/extension/safari/Linkwarden/Linkwarden/Info.plist
new file mode 100644
index 00000000..31b8be4d
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden/Info.plist
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>SFSafariWebExtensionConverterVersion</key>
+ <string>26.1</string>
+</dict>
+</plist>
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Resources/Base.lproj/Main.html b/apps/extension/safari/Linkwarden/Linkwarden/Resources/Base.lproj/Main.html
new file mode 100644
index 00000000..279411f8
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden/Resources/Base.lproj/Main.html
@@ -0,0 +1,45 @@
+<!doctype html>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta http-equiv="Content-Security-Policy" content="default-src 'self'" />
+
+ <meta
+ name="viewport"
+ content="width=device-width, initial-scale=1, user-scalable=no"
+ />
+
+ <link rel="stylesheet" href="../Style.css" />
+ <script src="../Script.js" defer></script>
+ </head>
+ <body>
+ <img
+ src="../Icon.png"
+ width="128"
+ height="128"
+ alt="Linkwarden for Safari icon"
+ />
+ <h1>Linkwarden for Safari</h1>
+ <p class="description">
+ Save webpages, capture screenshots, and organize links in your Linkwarden
+ collections from Safari.
+ </p>
+ <p class="state-unknown">
+ Turn on Linkwarden for Safari in the Extensions section of Safari
+ Settings.
+ </p>
+ <p class="state-on">
+ Linkwarden for Safari is currently on. You can turn it off in the
+ Extensions section of Safari Settings.
+ </p>
+ <p class="state-off">
+ Linkwarden for Safari is currently off. You can turn it on in the
+ Extensions section of Safari Settings.
+ </p>
+ <p class="state-error" hidden>
+ Safari Settings did not open automatically. Open Safari, then go to Safari
+ &gt; Settings &gt; Extensions and enable Linkwarden.
+ </p>
+ <button class="open-preferences">Open Safari Settings</button>
+ </body>
+</html>
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Resources/Icon.png b/apps/extension/safari/Linkwarden/Linkwarden/Resources/Icon.png
new file mode 100644
index 00000000..cb132fd9
Binary files /dev/null and b/apps/extension/safari/Linkwarden/Linkwarden/Resources/Icon.png differ
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Resources/Script.js b/apps/extension/safari/Linkwarden/Linkwarden/Resources/Script.js
new file mode 100644
index 00000000..a8ce4fe8
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden/Resources/Script.js
@@ -0,0 +1,27 @@
+function show(enabled, useSettingsInsteadOfPreferences) {
+ if (useSettingsInsteadOfPreferences) {
+ document.getElementsByClassName('state-on')[0].innerText = "Linkwarden for Safari is currently on. You can turn it off in the Extensions section of Safari Settings.";
+ document.getElementsByClassName('state-off')[0].innerText = "Linkwarden for Safari is currently off. You can turn it on in the Extensions section of Safari Settings.";
+ document.getElementsByClassName('state-unknown')[0].innerText = "You can turn on Linkwarden for Safari in the Extensions section of Safari Settings.";
+ document.getElementsByClassName('open-preferences')[0].innerText = "Open Safari Settings";
+ }
+
+ if (typeof enabled === "boolean") {
+ document.body.classList.toggle(`state-on`, enabled);
+ document.body.classList.toggle(`state-off`, !enabled);
+ } else {
+ document.body.classList.remove(`state-on`);
+ document.body.classList.remove(`state-off`);
+ }
+}
+
+function showPreferencesError() {
+ document.querySelector(".state-error").hidden = false;
+}
+
+function openPreferences() {
+ document.querySelector(".state-error").hidden = true;
+ webkit.messageHandlers.controller.postMessage("open-preferences");
+}
+
+document.querySelector("button.open-preferences").addEventListener("click", openPreferences);
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/Resources/Style.css b/apps/extension/safari/Linkwarden/Linkwarden/Resources/Style.css
new file mode 100644
index 00000000..ac7619cb
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden/Resources/Style.css
@@ -0,0 +1,62 @@
+* {
+ -webkit-user-select: none;
+ -webkit-user-drag: none;
+ cursor: default;
+}
+
+:root {
+ color-scheme: light dark;
+
+ --spacing: 20px;
+}
+
+html {
+ height: 100%;
+}
+
+body {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-direction: column;
+
+ gap: var(--spacing);
+ margin: 0 calc(var(--spacing) * 2);
+ height: 100%;
+
+ font: -apple-system-short-body;
+ text-align: center;
+}
+
+h1 {
+ margin: 0;
+ font: -apple-system-title1;
+}
+
+p {
+ margin: 0;
+}
+
+.description {
+ max-width: 460px;
+}
+
+.state-error {
+ color: #d70015;
+}
+
+body:not(.state-on, .state-off) :is(.state-on, .state-off) {
+ display: none;
+}
+
+body.state-on :is(.state-off, .state-unknown) {
+ display: none;
+}
+
+body.state-off :is(.state-on, .state-unknown) {
+ display: none;
+}
+
+button {
+ font-size: 1em;
+}
diff --git a/apps/extension/safari/Linkwarden/Linkwarden/ViewController.swift b/apps/extension/safari/Linkwarden/Linkwarden/ViewController.swift
new file mode 100644
index 00000000..d9ea7739
--- /dev/null
+++ b/apps/extension/safari/Linkwarden/Linkwarden/ViewController.swift
@@ -0,0 +1,89 @@
+//
+// ViewController.swift
+// Linkwarden
+//
+// Created by Daniel on 2026-04-23.
+//
+
+import Cocoa
+import SafariServices
+import WebKit
+
+private let safariWebExtensionPointIdentifier = "com.apple.Safari.web-extension"
+private let fallbackExtensionBundleIdentifier = "app.linkwarden.extension.safari"
+
+private func resolveExtensionBundleIdentifier() -> String {
+ guard let builtInPlugInsURL = Bundle.main.builtInPlugInsURL,
+ let pluginURLs = try? FileManager.default.contentsOfDirectory(at: builtInPlugInsURL, includingPropertiesForKeys: nil) else {
+ return fallbackExtensionBundleIdentifier
+ }
+
+ for pluginURL in pluginURLs where pluginURL.pathExtension == "appex" {
+ guard let bundle = Bundle(url: pluginURL),
+ let bundleIdentifier = bundle.bundleIdentifier,
+ let extensionInfo = bundle.infoDictionary?["NSExtension"] as? [String: Any],
+ let extensionPointIdentifier = extensionInfo["NSExtensionPointIdentifier"] as? String,
+ extensionPointIdentifier == safariWebExtensionPointIdentifier else {
+ continue
+ }
+
+ return bundleIdentifier
+ }
+
+ return fallbackExtensionBundleIdentifier
+}
+
+class ViewController: NSViewController, WKNavigationDelegate, WKScriptMessageHandler {
+
+ @IBOutlet var webView: WKWebView!
+ private let extensionBundleIdentifier = resolveExtensionBundleIdentifier()
+ private var useSettingsInsteadOfPreferences: Bool {
+ if #available(macOS 13, *) {
+ return true
+ }
+
+ return false
+ }
+
+ override func viewDidLoad() {
+ super.viewDidLoad()
+
+ self.webView.navigationDelegate = self
+
+ self.webView.configuration.userContentController.add(self, name: "controller")
+
+ self.webView.loadFileURL(Bundle.main.url(forResource: "Main", withExtension: "html")!, allowingReadAccessTo: Bundle.main.resourceURL!)
+ }
+
+ func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
+ SFSafariExtensionManager.getStateOfSafariExtension(withIdentifier: extensionBundleIdentifier) { (state, error) in
+ DispatchQueue.main.async {
+ if let state = state, error == nil {
+ webView.evaluateJavaScript("show(\(state.isEnabled), \(self.useSettingsInsteadOfPreferences))")
+ } else {
+ NSLog("Failed to get Safari extension state: \(error?.localizedDescription ?? "Unknown error")")
+ webView.evaluateJavaScript("show(null, \(self.useSettingsInsteadOfPreferences))")
+ }
+ }
+ }
+ }
+
+ func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) {
+ if (message.body as! String != "open-preferences") {
+ return;
+ }
+
+ SFSafariApplication.showPreferencesForExtension(withIdentifier: extensionBundleIdentifier) { error in
+ DispatchQueue.main.async {
+ if let error = error {
+ NSLog("Failed to open Safari extension settings: \(error.localizedDescription)")
+ self.webView.evaluateJavaScript("showPreferencesError()")
+ return
+ }
+
+ NSApplication.shared.terminate(nil)
+ }
+ }
+ }
+
+}
diff --git a/apps/extension/src/@/components/BookmarkForm.tsx b/apps/extension/src/@/components/BookmarkForm.tsx
new file mode 100644
index 00000000..4aba8f0a
--- /dev/null
+++ b/apps/extension/src/@/components/BookmarkForm.tsx
@@ -0,0 +1,601 @@
+import { useForm } from "react-hook-form";
+import {
+ bookmarkFormSchema,
+ bookmarkFormValues,
+} from "../lib/validators/bookmarkForm.ts";
+import { zodResolver } from "@hookform/resolvers/zod";
+import {
+ Form,
+ FormControl,
+ FormField,
+ FormItem,
+ FormLabel,
+ FormMessage,
+} from "./ui/Form.tsx";
+import { Input } from "./ui/Input.tsx";
+import { Button } from "./ui/Button.tsx";
+import { TagInput } from "./TagInput.tsx";
+import { Textarea } from "./ui/Textarea.tsx";
+import { getCurrentTabInfo, updateBadge } from "../lib/utils.ts";
+import { useEffect, useMemo, useState } from "react";
+import { useInfiniteQuery, useMutation, useQuery } from "@tanstack/react-query";
+import { getConfig, isConfigured as getIsConfigured } from "../lib/config.ts";
+import { checkLinkExists, postLink } from "../lib/actions/links.ts";
+import { AxiosError } from "axios";
+import { toast } from "../../hooks/use-toast.ts";
+import { Toaster } from "./ui/Toaster.tsx";
+import { getCollections } from "../lib/actions/collections.ts";
+import { getShouldUseTagSearch, getTags } from "../lib/actions/tags.ts";
+import { ExternalLink, X } from "lucide-react";
+import { Popover, PopoverContent, PopoverTrigger } from "./ui/Popover.tsx";
+import { CaretSortIcon } from "@radix-ui/react-icons";
+import {
+ Command,
+ CommandEmpty,
+ CommandGroup,
+ CommandInput,
+ CommandItem,
+} from "./ui/Command.tsx";
+import { Checkbox } from "./ui/CheckBox.tsx";
+import { Label } from "./ui/Label.tsx";
+
+const BookmarkForm = () => {
+ const [openOptions, setOpenOptions] = useState<boolean>(false);
+ const [openCollections, setOpenCollections] = useState<boolean>(false);
+ const [uploadImage, setUploadImage] = useState<boolean>(false);
+ const [state, setState] = useState<"capturing" | "uploading" | null>(null);
+ const [tagSearch, setTagSearch] = useState<string>("");
+
+ const [isConfigured, setIsConfigured] = useState(false);
+ const [isDuplicate, setIsDuplicate] = useState(false);
+
+ const [config, setConfig] = useState<{
+ baseUrl: string;
+ defaultCollection: string;
+ apiKey: string;
+ syncBookmarks: boolean;
+ }>();
+ const [tabInfo, setTabInfo] = useState<{
+ id: number | undefined;
+ title: string | undefined;
+ url: string | undefined;
+ }>();
+
+ const handleCheckedChange = (s: boolean | "indeterminate") => {
+ if (s === "indeterminate") return;
+ setUploadImage(s);
+ form.setValue("image", s ? "png" : undefined);
+ };
+
+ const form = useForm<bookmarkFormValues>({
+ resolver: zodResolver(bookmarkFormSchema),
+ defaultValues: {
+ url: "",
+ name: "",
+ collection: {
+ name: "Unorganized",
+ },
+ tags: [],
+ description: "",
+ image: undefined,
+ },
+ });
+
+ const { mutate: onSubmit, isPending } = useMutation({
+ mutationFn: async (values: bookmarkFormValues) => {
+ await postLink(
+ config?.baseUrl as string,
+ uploadImage,
+ values,
+ setState,
+ config?.apiKey as string
+ );
+
+ return;
+ },
+ onError: (error) => {
+ console.error(error);
+ if (error instanceof AxiosError) {
+ toast({
+ title: "Error",
+ description:
+ error.response?.data.response ||
+ "There was an error while trying to save the link. Please try again.",
+ variant: "destructive",
+ });
+ } else {
+ toast({
+ title: "Error",
+ description:
+ "There was an error while trying to save the link. Please try again.",
+ variant: "destructive",
+ });
+ }
+ return;
+ },
+ onSuccess: () => {
+ // Update badge to show link is saved
+ getCurrentTabInfo().then(({ id }) => {
+ updateBadge(id);
+ });
+ setTimeout(() => {
+ window.close();
+ // I want to show some confirmation before it's closed...
+ }, 3500);
+ toast({
+ title: "Success",
+ description: "Link saved successfully!",
+ });
+ },
+ });
+
+ useEffect(() => {
+ const setTabInformation = async () => {
+ const t = await getCurrentTabInfo();
+ const c = await getConfig();
+
+ setTabInfo(t);
+ setConfig(c);
+
+ updateBadge(t.id);
+
+ form.setValue("url", t.url ? t.url : "");
+ form.setValue("name", t.title ? t.title : "");
+ form.setValue("collection", {
+ name: c.defaultCollection,
+ });
+
+ const configured = await getIsConfigured();
+ const duplicate = await checkLinkExists(c.baseUrl, c.apiKey);
+ setIsDuplicate(duplicate);
+ setIsConfigured(configured);
+ };
+
+ setTabInformation();
+ }, []);
+
+ const { handleSubmit, control } = form;
+
+ // useEffect(() => {
+ // const syncBookmarks = async () => {
+ // try {
+ // const { syncBookmarks, baseUrl, defaultCollection } = await getConfig();
+ // form.setValue('collection', {
+ // name: defaultCollection,
+ // });
+ // if (!syncBookmarks) {
+ // return;
+ // }
+ // if (await isConfigured()) {
+ // await saveLinksInCache(baseUrl);
+ // await syncLocalBookmarks(baseUrl);
+ // }
+ // } catch (error) {
+ // console.error(error);
+ // }
+ // };
+ // syncBookmarks();
+ // }, [form]);
+
+ const {
+ isLoading: loadingCollections,
+ data: collections,
+ error: collectionError,
+ } = useQuery({
+ queryKey: ["collections"],
+ queryFn: async () => {
+ const response = await getCollections(
+ config?.baseUrl as string,
+ config?.apiKey as string
+ );
+
+ return response.data.response.sort((a, b) => {
+ return a.pathname.localeCompare(b.pathname);
+ });
+ },
+ enabled: isConfigured,
+ });
+
+ const { data: shouldUseTagSearch = false } = useQuery({
+ queryKey: ["tag-search-support", config?.baseUrl, config?.apiKey],
+ queryFn: async () =>
+ await getShouldUseTagSearch(
+ config?.baseUrl as string,
+ config?.apiKey as string
+ ),
+ enabled: isConfigured && openOptions,
+ });
+ const effectiveTagSearch = shouldUseTagSearch ? tagSearch : "";
+ const {
+ isLoading: loadingTags,
+ data: tagsData,
+ error: tagsError,
+ hasNextPage,
+ isFetchingNextPage,
+ fetchNextPage,
+ } = useInfiniteQuery({
+ queryKey: ["tags", config?.baseUrl, config?.apiKey, effectiveTagSearch],
+ queryFn: async ({ pageParam }) => {
+ return await getTags(
+ config?.baseUrl as string,
+ config?.apiKey as string,
+ pageParam,
+ effectiveTagSearch
+ );
+ },
+ initialPageParam: 0,
+ getNextPageParam: (lastPage) => lastPage.nextCursor ?? undefined,
+ enabled: isConfigured && openOptions,
+ });
+
+ const tags = useMemo(() => {
+ return (
+ tagsData?.pages
+ .flatMap((page) => page.tags)
+ .sort((a, b) => a.name.localeCompare(b.name)) ?? []
+ );
+ }, [tagsData]);
+
+ return (
+ <div>
+ <Form {...form}>
+ <form
+ onSubmit={handleSubmit((e) => onSubmit(e))}
+ className="py-1 space-y-5"
+ >
+ {collectionError ? (
+ <p className="text-red-600">
+ There was an error, please make sure the website is available.
+ </p>
+ ) : null}
+ <FormField
+ control={control}
+ name="collection"
+ render={({ field }) => (
+ <FormItem className={`my-2`}>
+ <FormLabel>Collection</FormLabel>
+ <div className="min-w-full inset-x-0">
+ <Popover
+ open={openCollections}
+ onOpenChange={setOpenCollections}
+ >
+ <PopoverTrigger asChild>
+ <FormControl>
+ <Button
+ variant="outline"
+ role="combobox"
+ aria-expanded={openCollections}
+ className={
+ "w-full justify-between bg-neutral-100 dark:bg-neutral-900"
+ }
+ >
+ {loadingCollections
+ ? "Unorganized"
+ : field.value?.name
+ ? collections?.find(
+ (collection: { name: string }) =>
+ collection.name === field.value?.name
+ )?.name || form.getValues("collection")?.name
+ : "Select a collection..."}
+ <CaretSortIcon className="ml-2 h-4 w-4 shrink-0 opacity-50" />
+ </Button>
+ </FormControl>
+ </PopoverTrigger>
+
+ {!openOptions && openCollections ? (
+ <div
+ className={`fade-up min-w-full p-0 overflow-y-auto ${
+ openCollections
+ ? "fixed inset-0 w-full h-full z-50 bg-white"
+ : ""
+ }`}
+ >
+ <Button
+ className="absolute top-1 right-1 bg-transparent hover:bg-transparent hover:opacity-50 transition-colors ease-in-out duration-200"
+ onClick={() => setOpenCollections(false)}
+ >
+ <X className={`h-4 w-4 text-black dark:text-white`} />
+ </Button>
+ <Command className="flex-grow min-w-full dropdown-content rounded-none">
+ <CommandInput
+ className="min-w-[280px]"
+ placeholder="Search Collection..."
+ />
+
+ {loadingCollections ? (
+ <p className="w-full text-center my-auto">
+ Loading...
+ </p>
+ ) : (
+ <>
+ <CommandEmpty>No Collection found.</CommandEmpty>
+ {Array.isArray(collections) && (
+ <CommandGroup className="w-full overflow-y-auto">
+ {isPending ? (
+ <CommandItem
+ value="Loading collections..."
+ key="Loading collections..."
+ onSelect={() => {
+ form.setValue("collection", {
+ name: "Unorganized",
+ });
+ setOpenCollections(false);
+ }}
+ >
+ Unorganized
+ </CommandItem>
+ ) : (
+ collections?.map(
+ (collection: {
+ name: string;
+ id: number;
+ ownerId: number;
+ pathname: string;
+ }) => (
+ <CommandItem
+ value={collection.name}
+ key={collection.id}
+ className="cursor-pointer flex flex-col items-start justify-start"
+ onSelect={() => {
+ form.setValue("collection", {
+ ownerId: collection.ownerId,
+ id: collection.id,
+ name: collection.name,
+ });
+ setOpenCollections(false);
+ }}
+ >
+ <p>{collection.name}</p>
+ <p className="text-xs text-neutral-500">
+ {collection.pathname}
+ </p>
+ </CommandItem>
+ )
+ )
+ )}
+ </CommandGroup>
+ )}
+ </>
+ )}
+ </Command>
+ </div>
+ ) : openOptions && openCollections ? (
+ <PopoverContent
+ className={`min-w-full p-0 overflow-y-auto max-h-[200px]`}
+ >
+ <Command className="flex-grow min-w-full dropdown-content">
+ <CommandInput
+ className="min-w-[280px]"
+ placeholder="Search collection..."
+ />
+ <CommandEmpty>No Collection found.</CommandEmpty>
+ {Array.isArray(collections) && (
+ <CommandGroup className="w-full">
+ {isPending ? (
+ <CommandItem
+ value="Loading collections..."
+ key="Loading collections..."
+ onSelect={() => {
+ form.setValue("collection", {
+ name: "Unorganized",
+ });
+ setOpenCollections(false);
+ }}
+ >
+ Unorganized
+ </CommandItem>
+ ) : (
+ collections?.map(
+ (collection: {
+ name: string;
+ id: number;
+ ownerId: number;
+ pathname: string;
+ }) => (
+ <CommandItem
+ value={collection.name}
+ key={collection.id}
+ className="cursor-pointer flex flex-col items-start justify-start"
+ onSelect={() => {
+ form.setValue("collection", {
+ ownerId: collection.ownerId,
+ id: collection.id,
+ name: collection.name,
+ });
+ setOpenCollections(false);
+ }}
+ >
+ <p>{collection.name}</p>
+ <p className="text-xs text-neutral-500">
+ {collection.pathname}
+ </p>
+ </CommandItem>
+ )
+ )
+ )}
+ </CommandGroup>
+ )}
+ </Command>
+ </PopoverContent>
+ ) : undefined}
+ </Popover>
+ </div>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+
+ {!openOptions && (
+ <Label className="flex items-center gap-2 w-fit cursor-pointer">
+ <Checkbox
+ checked={uploadImage}
+ onCheckedChange={handleCheckedChange}
+ />
+ Upload image from browser
+ </Label>
+ )}
+
+ {openOptions && (
+ <>
+ {tagsError ? <p>There was an error...</p> : null}
+ <FormField
+ control={control}
+ name="tags"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>Tags</FormLabel>
+ {loadingTags ? (
+ <TagInput
+ onChange={field.onChange}
+ value={[{ name: "Loading tags..." }]}
+ tags={[{ id: 1, name: "Loading tags..." }]}
+ hasNextPage={false}
+ isFetchingNextPage={false}
+ />
+ ) : tagsError ? (
+ <TagInput
+ onChange={field.onChange}
+ value={[{ name: "Not found" }]}
+ tags={[{ id: 1, name: "Not found" }]}
+ hasNextPage={false}
+ isFetchingNextPage={false}
+ />
+ ) : (
+ <TagInput
+ onChange={field.onChange}
+ value={field.value ?? []}
+ tags={tags}
+ hasNextPage={hasNextPage}
+ isFetchingNextPage={isFetchingNextPage}
+ onSearchChange={setTagSearch}
+ onReachEnd={() => {
+ if (!hasNextPage || isFetchingNextPage) return;
+ void fetchNextPage();
+ }}
+ />
+ )}
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ <FormField
+ control={control}
+ name="name"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>Name</FormLabel>
+ <FormControl>
+ <Input placeholder="Google..." {...field} />
+ </FormControl>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ <FormField
+ control={control}
+ name="description"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>Description</FormLabel>
+ <FormControl>
+ <Textarea
+ placeholder="Description..."
+ className="resize-none"
+ {...field}
+ />
+ </FormControl>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+
+ {openOptions && (
+ <Label className="flex items-center gap-2 w-fit cursor-pointer">
+ <Checkbox
+ checked={uploadImage}
+ onCheckedChange={handleCheckedChange}
+ />
+ Upload image from browser
+ </Label>
+ )}
+ </>
+ )}
+
+ <div className="flex justify-between items-center">
+ <Button
+ variant="ghost"
+ type="button"
+ onClick={() => setOpenOptions((prevState) => !prevState)}
+ >
+ {openOptions ? "Hide" : "More"} Options
+ </Button>
+
+ <Button disabled={isPending} type="submit">
+ Save
+ </Button>
+ </div>
+
+ {isDuplicate && (
+ <div className="w-fit ml-auto">
+ <a
+ className="text-muted text-xs font-bold text-zinc-600 dark:text-zinc-400 hover:underline cursor-pointer"
+ onClick={(e) => {
+ e.preventDefault();
+ window.open(
+ config?.baseUrl +
+ "/search?q=" +
+ encodeURIComponent(`url:${tabInfo?.url}`),
+ "_blank"
+ );
+ window.close();
+ }}
+ >
+ Note: You've already saved this link{" "}
+ <ExternalLink size={16} className="inline-block mb-1" />
+ </a>
+ </div>
+ )}
+ </form>
+ </Form>
+ <Toaster />
+ {state && (
+ <div className="fixed inset-0 bg-black backdrop-blur-md bg-opacity-50 flex items-center justify-center">
+ <div className="text-white p-4 rounded-md flex flex-col items-center w-fit">
+ <svg
+ className="animate-spin h-10 w-10"
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <circle
+ className="opacity-25"
+ cx="12"
+ cy="12"
+ r="10"
+ stroke="currentColor"
+ strokeWidth="4"
+ ></circle>
+ <path
+ className="opacity-75"
+ fill="currentColor"
+ d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
+ ></path>
+ </svg>
+
+ <p className="text-xl mt-1">
+ {state === "capturing"
+ ? "Capturing the page..."
+ : "Uploading image..."}
+ </p>
+ <p className="text-xs text-center max-w-xs">
+ Please do not close this window, this may take a few seconds
+ depending on the size of the page.
+ </p>
+ </div>
+ </div>
+ )}
+ </div>
+ );
+};
+
+export default BookmarkForm;
diff --git a/apps/extension/src/@/components/Container.tsx b/apps/extension/src/@/components/Container.tsx
new file mode 100644
index 00000000..3f0324ba
--- /dev/null
+++ b/apps/extension/src/@/components/Container.tsx
@@ -0,0 +1,11 @@
+import { FC } from 'react';
+
+interface ContainerProps {
+ children: React.ReactNode;
+}
+
+const Container: FC<ContainerProps> = ({ children }) => {
+ return <div className="flex flex-col w-[386px] h-full px-6 py-3 overflow-y-hidden">{children}</div>;
+};
+
+export default Container;
diff --git a/apps/extension/src/@/components/ModeToggle.tsx b/apps/extension/src/@/components/ModeToggle.tsx
new file mode 100644
index 00000000..91afa651
--- /dev/null
+++ b/apps/extension/src/@/components/ModeToggle.tsx
@@ -0,0 +1,40 @@
+import { Moon, Sun } from 'lucide-react';
+import { useTheme } from './ThemeProvider.tsx';
+import { Button } from './ui/Button.tsx';
+import {
+ DropdownMenu,
+ DropdownMenuContent,
+ DropdownMenuItem,
+ DropdownMenuTrigger,
+} from './ui/DropDownMenu.tsx';
+
+export function ModeToggle() {
+ const { setTheme } = useTheme();
+
+ return (
+ <DropdownMenu>
+ <DropdownMenuTrigger asChild>
+ <Button
+ variant="ghost"
+ size="icon"
+ className="ring-0 focus:ring-0 outline-none focus:outline-none ring-offset-0 focus:ring-offset-0 focus-visible:ring-offset-0 focus-visible:ring-0 focus-visible:outline-none"
+ >
+ <Sun className="h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" />
+ <Moon className="absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" />
+ <span className="sr-only">Toggle theme</span>
+ </Button>
+ </DropdownMenuTrigger>
+ <DropdownMenuContent align="end">
+ <DropdownMenuItem onClick={() => setTheme('light')}>
+ Light
+ </DropdownMenuItem>
+ <DropdownMenuItem onClick={() => setTheme('dark')}>
+ Dark
+ </DropdownMenuItem>
+ <DropdownMenuItem onClick={() => setTheme('system')}>
+ System
+ </DropdownMenuItem>
+ </DropdownMenuContent>
+ </DropdownMenu>
+ );
+}
diff --git a/apps/extension/src/@/components/NotConfigured.tsx b/apps/extension/src/@/components/NotConfigured.tsx
new file mode 100644
index 00000000..c3c83046
--- /dev/null
+++ b/apps/extension/src/@/components/NotConfigured.tsx
@@ -0,0 +1,39 @@
+import { FC } from 'react';
+import { openOptions } from '../lib/utils.ts';
+import { Button } from './ui/Button.tsx';
+
+const NotConfigured: FC<{ open: boolean }> = ({ open }) => {
+ if (!open) return null;
+
+ return (
+ <div className="fixed top-0 bottom-0 left-0 right-0 inset-0 bg-white z-10">
+ <div className="container flex flex-col gap-3 justify-center items-center h-full max-w-lg mx-auto">
+ <img
+ src="./128.png"
+ height="40px"
+ width="40px"
+ className="rounded"
+ alt="Linkwarden Logo"
+ />
+ <h1
+ className="font-medium text-lg text-zinc-700"
+ style={{ fontSize: '1.65rem' }}
+ >
+ Initial Setup
+ </h1>
+
+ <div className="flex justify-center items-center">
+ <Button
+ onClick={() => openOptions()}
+ className="w-40"
+ variant="outline"
+ >
+ Configure
+ </Button>
+ </div>
+ </div>
+ </div>
+ );
+};
+
+export default NotConfigured;
diff --git a/apps/extension/src/@/components/OptionsForm.tsx b/apps/extension/src/@/components/OptionsForm.tsx
new file mode 100644
index 00000000..d5cc207a
--- /dev/null
+++ b/apps/extension/src/@/components/OptionsForm.tsx
@@ -0,0 +1,373 @@
+// ./OptionsForm.tsx
+
+import {
+ Form,
+ FormControl,
+ FormDescription,
+ FormField,
+ FormItem,
+ FormLabel,
+ FormMessage,
+} from './ui/Form.tsx';
+import { useForm } from 'react-hook-form';
+import { zodResolver } from '@hookform/resolvers/zod';
+import {
+ optionsFormInput,
+ optionsFormSchema,
+ optionsFormValues,
+} from '../lib/validators/optionsForm.ts';
+import { Input } from './ui/Input.tsx';
+import { Button } from './ui/Button.tsx';
+import { useMutation } from '@tanstack/react-query';
+import { useEffect } from 'react';
+import {
+ clearConfig,
+ getConfig,
+ isConfigured,
+ saveConfig,
+} from '../lib/config.ts';
+import { Toaster } from './ui/Toaster.tsx';
+import { toast } from '../../hooks/use-toast.ts';
+import { AxiosError } from 'axios';
+import { clearBookmarksMetadata } from '../lib/cache.ts';
+import { getSession } from '../lib/auth/auth.ts';
+import {
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+} from './ui/Select.tsx'; // Import the Select component
+
+const OptionsForm = () => {
+ const form = useForm<optionsFormInput, unknown, optionsFormValues>({
+ resolver: zodResolver(optionsFormSchema),
+ defaultValues: {
+ baseUrl: 'https://cloud.linkwarden.app',
+ method: 'username', // Default to 'username'
+ username: '',
+ password: '',
+ apiKey: '',
+ syncBookmarks: false,
+ defaultCollection: 'Unorganized',
+ },
+ });
+
+ const { mutate: onReset, isPending: resetLoading } = useMutation({
+ mutationFn: async () => {
+ const configured = await isConfigured();
+
+ if (!configured) {
+ return new Error('Not configured');
+ }
+
+ return;
+ },
+ onError: () => {
+ toast({
+ title: 'Error',
+ description:
+ "Either you didn't configure the extension or there was an error while trying to log out. Please try again.",
+ variant: 'destructive',
+ });
+ return;
+ },
+ onSuccess: async () => {
+ // Reset the form
+ form.reset({
+ baseUrl: '',
+ method: 'username',
+ username: '',
+ password: '',
+ apiKey: '',
+ syncBookmarks: false,
+ defaultCollection: 'Unorganized',
+ });
+ await clearConfig();
+ await clearBookmarksMetadata();
+ return;
+ },
+ });
+
+ const { mutate: onSubmit, isPending } = useMutation({
+ mutationFn: async (values: optionsFormValues) => {
+ values.baseUrl = values.baseUrl.replace(/\/$/, '');
+ // Do API call to test the connection and save the values
+
+ if (values.method === 'apiKey') {
+ return {
+ ...values,
+ data: {
+ response: {
+ token: values.apiKey,
+ },
+ } as {
+ response: {
+ token: string;
+ };
+ },
+ };
+ } else {
+ // Handle Username/Password authentication
+ const session = await getSession(
+ values.baseUrl,
+ values.username,
+ values.password
+ );
+
+ if (session.status !== 200) {
+ throw new Error('Invalid credentials');
+ }
+
+ return {
+ ...values,
+ data: session.data as {
+ response: {
+ token: string;
+ };
+ },
+ };
+ }
+ },
+ onError: (error) => {
+ // Handle errors appropriately
+ if (error instanceof AxiosError) {
+ if (error.response?.status === 401) {
+ toast({
+ title: 'Error',
+ description: 'Invalid credentials or API Key',
+ variant: 'destructive',
+ });
+ } else {
+ toast({
+ title: 'Error',
+ description: 'Something went wrong, try again please.',
+ variant: 'destructive',
+ });
+ }
+ } else {
+ toast({
+ title: 'Error',
+ description: 'Something went wrong, check your values are correct.',
+ variant: 'destructive',
+ });
+ }
+ },
+ onSuccess: async (values) => {
+ await saveConfig({
+ baseUrl: values.baseUrl,
+ defaultCollection: values.defaultCollection,
+ syncBookmarks: values.syncBookmarks,
+ apiKey:
+ values.method === 'apiKey' && values.apiKey
+ ? values.apiKey
+ : values.data.response.token,
+ });
+
+ toast({
+ title: 'Saved',
+ description:
+ 'Your settings have been saved, you can now close this tab.',
+ variant: 'default',
+ });
+ },
+ });
+
+ useEffect(() => {
+ (async () => {
+ const configured = await isConfigured();
+ if (configured) {
+ const cachedOptions = await getConfig();
+ form.reset(cachedOptions);
+ }
+ })();
+ }, [form]);
+
+ const { handleSubmit, control, watch } = form;
+ const method = watch('method'); // Watch the 'method' field
+
+ return (
+ <div>
+ <Form {...form}>
+ <form
+ onSubmit={handleSubmit((data) => onSubmit(data))}
+ className="space-y-3 p-2"
+ >
+ <FormField
+ control={control}
+ name="baseUrl"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>URL</FormLabel>
+ <FormDescription>
+ The address of the Linkwarden instance.
+ </FormDescription>
+ <FormControl>
+ <Input
+ placeholder="https://cloud.linkwarden.app"
+ {...field}
+ />
+ </FormControl>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+
+ {/* Authentication Method Select */}
+ <FormField
+ control={control}
+ name="method"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>Method</FormLabel>
+ <FormDescription>
+ Choose your preferred authentication method.
+ </FormDescription>
+ <FormControl>
+ <Select value={field.value} onValueChange={field.onChange}>
+ <SelectTrigger className="w-full justify-between bg-neutral-100 dark:bg-neutral-900 outline-none focus:outline-none ring-0 focus:ring-0">
+ <SelectValue placeholder="Select authentication method" />
+ </SelectTrigger>
+ <SelectContent>
+ <SelectItem value="username">
+ Username and Password
+ </SelectItem>
+ <SelectItem value="apiKey">API Key</SelectItem>
+ </SelectContent>
+ </Select>
+ </FormControl>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+
+ {/* Conditionally render API Key or Username/Password fields */}
+ {method === 'apiKey' ? (
+ <FormField
+ control={control}
+ name="apiKey"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>API Key</FormLabel>
+ <FormDescription>
+ Enter your Linkwarden API Key.
+ </FormDescription>
+ <FormControl>
+ <Input
+ placeholder="Your API Key"
+ {...field}
+ type="password"
+ />
+ </FormControl>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ ) : (
+ <>
+ <FormField
+ control={control}
+ name="username"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>Username or Email</FormLabel>
+ <FormDescription>
+ Your Linkwarden Username or Email.
+ </FormDescription>
+ <FormControl>
+ <Input placeholder="johnny" {...field} />
+ </FormControl>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ <FormField
+ control={control}
+ name="password"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>Password</FormLabel>
+ <FormDescription>
+ Password for your Linkwarden account.
+ </FormDescription>
+ <FormControl>
+ <Input
+ placeholder="••••••••••••••"
+ {...field}
+ type="password"
+ />
+ </FormControl>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ </>
+ )}
+
+ {/* Commented out fields */}
+ {/*
+ <FormField
+ control={control}
+ name="defaultCollection"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>Default collection</FormLabel>
+ <FormDescription>
+ Default collection to add bookmarks to.
+ </FormDescription>
+ <FormControl>
+ <Input placeholder="Unorganized" {...field} />
+ </FormControl>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ */}
+
+ {/*
+ <FormField
+ control={control}
+ name="syncBookmarks"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>Sync Bookmarks (Experimental)</FormLabel>
+ <FormDescription>
+ Sync your bookmarks with Linkwarden.
+ </FormDescription>
+ <FormControl>
+ <Checkbox
+ checked={field.value}
+ onCheckedChange={field.onChange}
+ />
+ </FormControl>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ */}
+
+ <div className="flex justify-between">
+ <div>
+ {/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */}
+ {/*@ts-ignore*/}
+ <Button
+ type="button"
+ className="mb-2"
+ onClick={() => onReset()}
+ disabled={resetLoading}
+ >
+ Reset
+ </Button>
+ </div>
+ <Button disabled={isPending} type="submit">
+ Save
+ </Button>
+ </div>
+ </form>
+ </Form>
+ <Toaster />
+ </div>
+ );
+};
+
+export default OptionsForm;
diff --git a/apps/extension/src/@/components/TagInput.tsx b/apps/extension/src/@/components/TagInput.tsx
new file mode 100644
index 00000000..b32a5d87
--- /dev/null
+++ b/apps/extension/src/@/components/TagInput.tsx
@@ -0,0 +1,191 @@
+import { FC, UIEvent, useMemo, useState } from 'react';
+import { Button } from './ui/Button.tsx';
+import { Popover, PopoverContent, PopoverTrigger } from './ui/Popover.tsx';
+import { Check, ChevronsUpDown } from 'lucide-react';
+import {
+ Command,
+ CommandEmpty,
+ CommandGroup,
+ CommandInput,
+ CommandItem,
+ CommandList,
+} from './ui/Command.tsx';
+import { cn } from '../lib/utils.ts';
+import { ResponseTags } from '../lib/actions/tags.ts';
+
+interface TagInputProps {
+ onChange: (tags: { name: string }[]) => void;
+ value: { name: string; id?: number }[];
+ tags: Pick<ResponseTags, 'id' | 'name'>[] | undefined;
+ hasNextPage?: boolean;
+ isFetchingNextPage?: boolean;
+ onReachEnd?: () => void;
+ onSearchChange?: (value: string) => void;
+}
+
+export const TagInput: FC<TagInputProps> = ({
+ value,
+ onChange,
+ tags,
+ hasNextPage,
+ isFetchingNextPage,
+ onReachEnd,
+ onSearchChange,
+}) => {
+ const [open, setOpen] = useState<boolean>(false);
+ const [inputValue, setInputValue] = useState<string>('');
+ const filteredTags = useMemo(() => {
+ if (!Array.isArray(tags)) return [];
+
+ const normalizedInputValue = inputValue.trim().toLowerCase();
+
+ if (!normalizedInputValue) return tags;
+
+ return tags.filter((tag) =>
+ tag.name.toLowerCase().includes(normalizedInputValue)
+ );
+ }, [inputValue, tags]);
+
+ const handleListScroll = (event: UIEvent<HTMLDivElement>) => {
+ if (!hasNextPage || isFetchingNextPage || !onReachEnd) return;
+
+ const target = event.currentTarget;
+ const reachedBottom =
+ target.scrollTop + target.clientHeight >= target.scrollHeight - 16;
+
+ if (reachedBottom) onReachEnd();
+ };
+
+ function handleAddTag() {
+ if (inputValue && value.some((tagObj) => tagObj.name === inputValue))
+ return;
+ if (inputValue) {
+ const newTags = [...value, { name: inputValue }];
+ setInputValue('');
+ onSearchChange?.('');
+ onChange(newTags);
+ }
+ }
+
+ function handleRemoveTag(tagName: string) {
+ const newTags = value.filter((tagObj) => tagObj.name !== tagName);
+ onChange(newTags);
+ }
+
+ return (
+ <div className="min-w-full inset-x-0">
+ <Popover open={open} onOpenChange={setOpen}>
+ <PopoverTrigger asChild>
+ <Button
+ variant="outline"
+ role="combobox"
+ aria-expanded={open}
+ className="w-full justify-between bg-neutral-100 dark:bg-neutral-900"
+ >
+ {Array.isArray(value) && value.length > 0
+ ? value.map((tag) => tag.name).join(', ')
+ : 'Select tags...'}
+ <ChevronsUpDown className="ml-2 h-4 w-4 shrink-0 opacity-50" />
+ </Button>
+ </PopoverTrigger>
+ <div className="min-w-full inset-x-0">
+ <PopoverContent className="min-w-full p-0">
+ <Command className="flex-grow min-w-full" shouldFilter={false}>
+ <CommandInput
+ className="min-w-[280px]"
+ placeholder="Search tag or add tag (Enter)"
+ value={inputValue}
+ onValueChange={(value) => {
+ setInputValue(value);
+ onSearchChange?.(value);
+ }}
+ onKeyDown={(e) => {
+ if (e.key === 'Enter') {
+ handleAddTag();
+ }
+ }}
+ />
+ <CommandList
+ className="max-h-[200px]"
+ onScroll={handleListScroll}
+ >
+ <CommandEmpty>No tag found.</CommandEmpty>
+ {Array.isArray(tags) && (
+ <CommandGroup className="w-full">
+ {filteredTags.map((tag: { name: string }) => (
+ <CommandItem
+ className="w-full"
+ key={tag.name}
+ value={tag.name}
+ onSelect={() => {
+ if (Array.isArray(value)) {
+ if (value.some((v) => v.name === tag.name)) {
+ handleRemoveTag(tag.name);
+ } else {
+ onChange([...value, tag]);
+ }
+ }
+ setOpen(false);
+ }}
+ >
+ <Check
+ className={cn(
+ 'mr-2 h-4 w-4',
+ Array.isArray(value) &&
+ value.some((v) => v.name === tag.name)
+ ? 'opacity-100'
+ : 'opacity-0'
+ )}
+ />
+ {tag.name}
+ </CommandItem>
+ ))}
+ {isFetchingNextPage ? (
+ <CommandItem
+ className="w-full"
+ value="Loading more tags..."
+ disabled
+ >
+ Loading more tags...
+ </CommandItem>
+ ) : null}
+ </CommandGroup>
+ )}
+ </CommandList>
+ </Command>
+ </PopoverContent>
+ </div>
+ </Popover>
+ </div>
+ );
+
+ /*
+ return (
+ <div>
+ <div className='flex space-x-2'>
+ <Input value={inputValue} onChange={e => setInputValue(e.target.value)} />
+ <Button type='button' onClick={handleAddTag} onKeyDown={handleAddTag}>Add</Button>
+ </div>
+ <div className='flex flex-wrap mt-2'>
+ {tags.map(tagObj => (
+ <span
+ key={tagObj.name}
+ className='inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800 mr-2 mb-2'
+ >
+ {tagObj.name}
+ <button
+ type='button'
+ className='flex-shrink-0 ml-1.5 h-4 w-4 rounded-full inline-flex items-center justify-center text-blue-400 hover:bg-blue-200 hover:text-blue-500 focus:outline-none focus:bg-blue-500 focus:text-white'
+ onClick={() => handleRemoveTag(tagObj.name)}
+ >
+ <span className='sr-only'>Remove tag</span>
+ <svg className='h-2 w-2' stroke='currentColor' fill='none' viewBox='0 0 8 8'>
+ <path strokeLinecap='round' strokeWidth='1.5' d='M1 1l6 6m0-6L1 7' />
+ </svg>
+ </button>
+ </span>
+ ))}
+ </div>
+ </div>
+ );*/
+};
diff --git a/apps/extension/src/@/components/ThemeProvider.tsx b/apps/extension/src/@/components/ThemeProvider.tsx
new file mode 100644
index 00000000..cdefb328
--- /dev/null
+++ b/apps/extension/src/@/components/ThemeProvider.tsx
@@ -0,0 +1,73 @@
+import { createContext, useContext, useEffect, useState } from "react"
+
+type Theme = "dark" | "light" | "system"
+
+type ThemeProviderProps = {
+ children: React.ReactNode
+ defaultTheme?: Theme
+ storageKey?: string
+}
+
+type ThemeProviderState = {
+ theme: Theme
+ setTheme: (theme: Theme) => void
+}
+
+const initialState: ThemeProviderState = {
+ theme: "system",
+ setTheme: () => null,
+}
+
+const ThemeProviderContext = createContext<ThemeProviderState>(initialState)
+
+export function ThemeProvider({
+ children,
+ defaultTheme = "system",
+ storageKey = "vite-ui-theme",
+ ...props
+ }: ThemeProviderProps) {
+ const [theme, setTheme] = useState<Theme>(
+ () => (localStorage.getItem(storageKey) as Theme) || defaultTheme
+ )
+
+ useEffect(() => {
+ const root = window.document.documentElement
+
+ root.classList.remove("light", "dark")
+
+ if (theme === "system") {
+ const systemTheme = window.matchMedia("(prefers-color-scheme: dark)")
+ .matches
+ ? "dark"
+ : "light"
+
+ root.classList.add(systemTheme)
+ return
+ }
+
+ root.classList.add(theme)
+ }, [theme])
+
+ const value = {
+ theme,
+ setTheme: (theme: Theme) => {
+ localStorage.setItem(storageKey, theme)
+ setTheme(theme)
+ },
+ }
+
+ return (
+ <ThemeProviderContext.Provider {...props} value={value}>
+ {children}
+ </ThemeProviderContext.Provider>
+)
+}
+
+export const useTheme = () => {
+ const context = useContext(ThemeProviderContext)
+
+ if (context === undefined)
+ throw new Error("useTheme must be used within a ThemeProvider")
+
+ return context
+}
diff --git a/apps/extension/src/@/components/WholeContainer.tsx b/apps/extension/src/@/components/WholeContainer.tsx
new file mode 100644
index 00000000..88d196da
--- /dev/null
+++ b/apps/extension/src/@/components/WholeContainer.tsx
@@ -0,0 +1,17 @@
+import { FC } from 'react';
+import { cn } from '../lib/utils.ts';
+
+interface WholeContainerProps extends React.HTMLAttributes<HTMLDivElement>{
+ children: React.ReactNode;
+ className?: string;
+}
+
+const WholeContainer: FC<WholeContainerProps> = ({ children, className, ...props }) => {
+ return (
+ <div className={cn('inset-0 w-full flex justify-center max-h-[600px] overflow-y-hidden relative', className)} {...props}>
+ {children}
+ </div>
+ );
+};
+
+export default WholeContainer;
diff --git a/apps/extension/src/@/components/ui/Button.tsx b/apps/extension/src/@/components/ui/Button.tsx
new file mode 100644
index 00000000..b5439c9d
--- /dev/null
+++ b/apps/extension/src/@/components/ui/Button.tsx
@@ -0,0 +1,56 @@
+import * as React from 'react';
+import { Slot } from '@radix-ui/react-slot';
+import { cva, type VariantProps } from 'class-variance-authority';
+
+import { cn } from '../../lib/utils.ts';
+
+const buttonVariants = cva(
+ 'inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',
+ {
+ variants: {
+ variant: {
+ default: 'bg-primary text-primary-foreground hover:bg-primary/90',
+ destructive:
+ 'bg-destructive text-destructive-foreground hover:bg-destructive/90',
+ outline:
+ 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',
+ secondary:
+ 'bg-secondary text-secondary-foreground hover:bg-secondary/80',
+ ghost: 'hover:bg-accent hover:text-accent-foreground',
+ link: 'text-primary underline-offset-4 hover:underline',
+ },
+ size: {
+ default: 'h-10 px-4 py-2',
+ sm: 'h-9 rounded-md px-3',
+ lg: 'h-11 rounded-md px-8',
+ icon: 'h-10 w-10',
+ },
+ },
+ defaultVariants: {
+ variant: 'default',
+ size: 'default',
+ },
+ },
+);
+
+export interface ButtonProps
+ extends React.ButtonHTMLAttributes<HTMLButtonElement>,
+ VariantProps<typeof buttonVariants> {
+ asChild?: boolean;
+}
+
+const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
+ ({ className, variant, size, asChild = false, ...props }, ref) => {
+ const Comp = asChild ? Slot : 'button';
+ return (
+ <Comp
+ className={cn(buttonVariants({ variant, size, className }))}
+ ref={ref}
+ {...props}
+ />
+ );
+ },
+);
+Button.displayName = 'Button';
+
+export { Button, buttonVariants };
diff --git a/apps/extension/src/@/components/ui/CheckBox.tsx b/apps/extension/src/@/components/ui/CheckBox.tsx
new file mode 100644
index 00000000..803e735c
--- /dev/null
+++ b/apps/extension/src/@/components/ui/CheckBox.tsx
@@ -0,0 +1,28 @@
+import * as React from "react"
+import * as CheckboxPrimitive from "@radix-ui/react-checkbox"
+import { CheckIcon } from "@radix-ui/react-icons"
+
+import { cn } from '../../lib/utils.ts';
+
+const Checkbox = React.forwardRef<
+ React.ElementRef<typeof CheckboxPrimitive.Root>,
+ React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>
+>(({ className, ...props }, ref) => (
+ <CheckboxPrimitive.Root
+ ref={ref}
+ className={cn(
+ "peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
+ className
+ )}
+ {...props}
+ >
+ <CheckboxPrimitive.Indicator
+ className={cn("flex items-center justify-center text-current")}
+ >
+ <CheckIcon className="h-4 w-4" />
+ </CheckboxPrimitive.Indicator>
+ </CheckboxPrimitive.Root>
+))
+Checkbox.displayName = CheckboxPrimitive.Root.displayName
+
+export { Checkbox }
diff --git a/apps/extension/src/@/components/ui/Command.tsx b/apps/extension/src/@/components/ui/Command.tsx
new file mode 100644
index 00000000..0a4eff2c
--- /dev/null
+++ b/apps/extension/src/@/components/ui/Command.tsx
@@ -0,0 +1,155 @@
+import * as React from 'react';
+import { DialogProps } from '@radix-ui/react-dialog';
+import { Command as CommandPrimitive } from 'cmdk';
+import { Search } from 'lucide-react';
+
+import { cn } from '../../lib/utils.ts';
+import { Dialog, DialogContent } from './Dialog.tsx';
+
+const Command = React.forwardRef<
+ React.ElementRef<typeof CommandPrimitive>,
+ React.ComponentPropsWithoutRef<typeof CommandPrimitive>
+>(({ className, ...props }, ref) => (
+ <CommandPrimitive
+ ref={ref}
+ className={cn(
+ 'flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground',
+ className,
+ )}
+ {...props}
+ />
+));
+Command.displayName = CommandPrimitive.displayName;
+
+interface CommandDialogProps extends DialogProps {
+}
+
+const CommandDialog = ({ children, ...props }: CommandDialogProps) => {
+ return (
+ <Dialog {...props}>
+ <DialogContent className='overflow-hidden p-0 shadow-lg'>
+ <Command
+ className='[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5'>
+ {children}
+ </Command>
+ </DialogContent>
+ </Dialog>
+ );
+};
+
+const CommandInput = React.forwardRef<
+ React.ElementRef<typeof CommandPrimitive.Input>,
+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>
+>(({ className, ...props }, ref) => (
+ <div className='flex items-center border-b px-3' cmdk-input-wrapper=''>
+ <Search className='mr-2 h-4 w-4 shrink-0 opacity-50' />
+ <CommandPrimitive.Input
+ ref={ref}
+ className={cn(
+ 'flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50',
+ className,
+ )}
+ {...props}
+ />
+ </div>
+));
+
+CommandInput.displayName = CommandPrimitive.Input.displayName;
+
+const CommandList = React.forwardRef<
+ React.ElementRef<typeof CommandPrimitive.List>,
+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.List>
+>(({ className, ...props }, ref) => (
+ <CommandPrimitive.List
+ ref={ref}
+ className={cn('max-h-[300px] overflow-y-auto overflow-x-hidden', className)}
+ {...props}
+ />
+));
+
+CommandList.displayName = CommandPrimitive.List.displayName;
+
+const CommandEmpty = React.forwardRef<
+ React.ElementRef<typeof CommandPrimitive.Empty>,
+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.Empty>
+>((props, ref) => (
+ <CommandPrimitive.Empty
+ ref={ref}
+ className='py-6 text-center text-sm'
+ {...props}
+ />
+));
+
+CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
+
+const CommandGroup = React.forwardRef<
+ React.ElementRef<typeof CommandPrimitive.Group>,
+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.Group>
+>(({ className, ...props }, ref) => (
+ <CommandPrimitive.Group
+ ref={ref}
+ className={cn(
+ 'overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground',
+ className,
+ )}
+ {...props}
+ />
+));
+
+CommandGroup.displayName = CommandPrimitive.Group.displayName;
+
+const CommandSeparator = React.forwardRef<
+ React.ElementRef<typeof CommandPrimitive.Separator>,
+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.Separator>
+>(({ className, ...props }, ref) => (
+ <CommandPrimitive.Separator
+ ref={ref}
+ className={cn('-mx-1 h-px bg-border', className)}
+ {...props}
+ />
+));
+CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
+
+const CommandItem = React.forwardRef<
+ React.ElementRef<typeof CommandPrimitive.Item>,
+ React.ComponentPropsWithoutRef<typeof CommandPrimitive.Item>
+>(({ className, ...props }, ref) => (
+ <CommandPrimitive.Item
+ ref={ref}
+ className={cn(
+ 'relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ className,
+ )}
+ {...props}
+ />
+));
+
+CommandItem.displayName = CommandPrimitive.Item.displayName;
+
+const CommandShortcut = ({
+ className,
+ ...props
+ }: React.HTMLAttributes<HTMLSpanElement>) => {
+ return (
+ <span
+ className={cn(
+ 'ml-auto text-xs tracking-widest text-muted-foreground',
+ className,
+ )}
+ {...props}
+ />
+ );
+};
+CommandShortcut.displayName = 'CommandShortcut';
+
+export {
+ Command,
+ CommandDialog,
+ CommandInput,
+ CommandList,
+ CommandEmpty,
+ CommandGroup,
+ CommandItem,
+ CommandShortcut,
+ CommandSeparator,
+};
diff --git a/apps/extension/src/@/components/ui/Dialog.tsx b/apps/extension/src/@/components/ui/Dialog.tsx
new file mode 100644
index 00000000..60659f87
--- /dev/null
+++ b/apps/extension/src/@/components/ui/Dialog.tsx
@@ -0,0 +1,118 @@
+import * as React from 'react';
+import * as DialogPrimitive from '@radix-ui/react-dialog';
+import { X } from 'lucide-react';
+
+import { cn } from '../../lib/utils.ts';
+
+const Dialog = DialogPrimitive.Root;
+
+const DialogTrigger = DialogPrimitive.Trigger;
+
+// Radix 1.1 dropped `className` from Portal (it renders no element of its own),
+// and the wrapper never passed one, so forward the primitive directly.
+const DialogPortal = DialogPrimitive.Portal;
+
+const DialogOverlay = React.forwardRef<
+ React.ElementRef<typeof DialogPrimitive.Overlay>,
+ React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>
+>(({ className, ...props }, ref) => (
+ <DialogPrimitive.Overlay
+ ref={ref}
+ className={cn(
+ 'fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',
+ className,
+ )}
+ {...props}
+ />
+));
+DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
+
+const DialogContent = React.forwardRef<
+ React.ElementRef<typeof DialogPrimitive.Content>,
+ React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>
+>(({ className, children, ...props }, ref) => (
+ <DialogPortal>
+ <DialogOverlay />
+ <DialogPrimitive.Content
+ ref={ref}
+ className={cn(
+ 'fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full',
+ className,
+ )}
+ {...props}
+ >
+ {children}
+ <DialogPrimitive.Close
+ className='absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground'>
+ <X className='h-4 w-4' />
+ <span className='sr-only'>Close</span>
+ </DialogPrimitive.Close>
+ </DialogPrimitive.Content>
+ </DialogPortal>
+));
+DialogContent.displayName = DialogPrimitive.Content.displayName;
+
+const DialogHeader = ({
+ className,
+ ...props
+ }: React.HTMLAttributes<HTMLDivElement>) => (
+ <div
+ className={cn(
+ 'flex flex-col space-y-1.5 text-center sm:text-left',
+ className,
+ )}
+ {...props}
+ />
+);
+DialogHeader.displayName = 'DialogHeader';
+
+const DialogFooter = ({
+ className,
+ ...props
+ }: React.HTMLAttributes<HTMLDivElement>) => (
+ <div
+ className={cn(
+ 'flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2',
+ className,
+ )}
+ {...props}
+ />
+);
+DialogFooter.displayName = 'DialogFooter';
+
+const DialogTitle = React.forwardRef<
+ React.ElementRef<typeof DialogPrimitive.Title>,
+ React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>
+>(({ className, ...props }, ref) => (
+ <DialogPrimitive.Title
+ ref={ref}
+ className={cn(
+ 'text-lg font-semibold leading-none tracking-tight',
+ className,
+ )}
+ {...props}
+ />
+));
+DialogTitle.displayName = DialogPrimitive.Title.displayName;
+
+const DialogDescription = React.forwardRef<
+ React.ElementRef<typeof DialogPrimitive.Description>,
+ React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>
+>(({ className, ...props }, ref) => (
+ <DialogPrimitive.Description
+ ref={ref}
+ className={cn('text-sm text-muted-foreground', className)}
+ {...props}
+ />
+));
+DialogDescription.displayName = DialogPrimitive.Description.displayName;
+
+export {
+ Dialog,
+ DialogTrigger,
+ DialogContent,
+ DialogHeader,
+ DialogFooter,
+ DialogTitle,
+ DialogDescription,
+};
diff --git a/apps/extension/src/@/components/ui/DropDownMenu.tsx b/apps/extension/src/@/components/ui/DropDownMenu.tsx
new file mode 100644
index 00000000..0f778f4a
--- /dev/null
+++ b/apps/extension/src/@/components/ui/DropDownMenu.tsx
@@ -0,0 +1,202 @@
+import * as React from 'react';
+import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
+import {
+ CheckIcon,
+ ChevronRightIcon,
+ DotFilledIcon,
+} from '@radix-ui/react-icons';
+import { cn } from '../../lib/utils.ts';
+
+const DropdownMenu = DropdownMenuPrimitive.Root;
+
+const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
+
+const DropdownMenuGroup = DropdownMenuPrimitive.Group;
+
+const DropdownMenuPortal = DropdownMenuPrimitive.Portal;
+
+const DropdownMenuSub = DropdownMenuPrimitive.Sub;
+
+const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
+
+const DropdownMenuSubTrigger = React.forwardRef<
+ React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,
+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {
+ inset?: boolean;
+ }
+>(({ className, inset, children, ...props }, ref) => (
+ <DropdownMenuPrimitive.SubTrigger
+ ref={ref}
+ className={cn(
+ 'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent',
+ inset && 'pl-8',
+ className
+ )}
+ {...props}
+ >
+ {children}
+ <ChevronRightIcon className="ml-auto h-4 w-4" />
+ </DropdownMenuPrimitive.SubTrigger>
+));
+DropdownMenuSubTrigger.displayName =
+ DropdownMenuPrimitive.SubTrigger.displayName;
+
+const DropdownMenuSubContent = React.forwardRef<
+ React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,
+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>
+>(({ className, ...props }, ref) => (
+ <DropdownMenuPrimitive.SubContent
+ ref={ref}
+ className={cn(
+ 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
+ className
+ )}
+ {...props}
+ />
+));
+DropdownMenuSubContent.displayName =
+ DropdownMenuPrimitive.SubContent.displayName;
+
+const DropdownMenuContent = React.forwardRef<
+ React.ElementRef<typeof DropdownMenuPrimitive.Content>,
+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>
+>(({ className, sideOffset = 4, ...props }, ref) => (
+ <DropdownMenuPrimitive.Portal>
+ <DropdownMenuPrimitive.Content
+ ref={ref}
+ sideOffset={sideOffset}
+ className={cn(
+ 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md',
+ 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
+ className
+ )}
+ {...props}
+ />
+ </DropdownMenuPrimitive.Portal>
+));
+DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
+
+const DropdownMenuItem = React.forwardRef<
+ React.ElementRef<typeof DropdownMenuPrimitive.Item>,
+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {
+ inset?: boolean;
+ }
+>(({ className, inset, ...props }, ref) => (
+ <DropdownMenuPrimitive.Item
+ ref={ref}
+ className={cn(
+ 'relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ inset && 'pl-8',
+ className
+ )}
+ {...props}
+ />
+));
+DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
+
+const DropdownMenuCheckboxItem = React.forwardRef<
+ React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,
+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>
+>(({ className, children, checked, ...props }, ref) => (
+ <DropdownMenuPrimitive.CheckboxItem
+ ref={ref}
+ className={cn(
+ 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ className
+ )}
+ checked={checked}
+ {...props}
+ >
+ <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
+ <DropdownMenuPrimitive.ItemIndicator>
+ <CheckIcon className="h-4 w-4" />
+ </DropdownMenuPrimitive.ItemIndicator>
+ </span>
+ {children}
+ </DropdownMenuPrimitive.CheckboxItem>
+));
+DropdownMenuCheckboxItem.displayName =
+ DropdownMenuPrimitive.CheckboxItem.displayName;
+
+const DropdownMenuRadioItem = React.forwardRef<
+ React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,
+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>
+>(({ className, children, ...props }, ref) => (
+ <DropdownMenuPrimitive.RadioItem
+ ref={ref}
+ className={cn(
+ 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ className
+ )}
+ {...props}
+ >
+ <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
+ <DropdownMenuPrimitive.ItemIndicator>
+ <DotFilledIcon className="h-4 w-4 fill-current" />
+ </DropdownMenuPrimitive.ItemIndicator>
+ </span>
+ {children}
+ </DropdownMenuPrimitive.RadioItem>
+));
+DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
+
+const DropdownMenuLabel = React.forwardRef<
+ React.ElementRef<typeof DropdownMenuPrimitive.Label>,
+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {
+ inset?: boolean;
+ }
+>(({ className, inset, ...props }, ref) => (
+ <DropdownMenuPrimitive.Label
+ ref={ref}
+ className={cn(
+ 'px-2 py-1.5 text-sm font-semibold',
+ inset && 'pl-8',
+ className
+ )}
+ {...props}
+ />
+));
+DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
+
+const DropdownMenuSeparator = React.forwardRef<
+ React.ElementRef<typeof DropdownMenuPrimitive.Separator>,
+ React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>
+>(({ className, ...props }, ref) => (
+ <DropdownMenuPrimitive.Separator
+ ref={ref}
+ className={cn('-mx-1 my-1 h-px bg-muted', className)}
+ {...props}
+ />
+));
+DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
+
+const DropdownMenuShortcut = ({
+ className,
+ ...props
+}: React.HTMLAttributes<HTMLSpanElement>) => {
+ return (
+ <span
+ className={cn('ml-auto text-xs tracking-widest opacity-60', className)}
+ {...props}
+ />
+ );
+};
+DropdownMenuShortcut.displayName = 'DropdownMenuShortcut';
+
+export {
+ DropdownMenu,
+ DropdownMenuTrigger,
+ DropdownMenuContent,
+ DropdownMenuItem,
+ DropdownMenuCheckboxItem,
+ DropdownMenuRadioItem,
+ DropdownMenuLabel,
+ DropdownMenuSeparator,
+ DropdownMenuShortcut,
+ DropdownMenuGroup,
+ DropdownMenuPortal,
+ DropdownMenuSub,
+ DropdownMenuSubContent,
+ DropdownMenuSubTrigger,
+ DropdownMenuRadioGroup,
+};
diff --git a/apps/extension/src/@/components/ui/Form.tsx b/apps/extension/src/@/components/ui/Form.tsx
new file mode 100644
index 00000000..66b4cfd9
--- /dev/null
+++ b/apps/extension/src/@/components/ui/Form.tsx
@@ -0,0 +1,177 @@
+import * as React from 'react';
+import * as LabelPrimitive from '@radix-ui/react-label';
+import { Slot } from '@radix-ui/react-slot';
+import {
+ Controller,
+ ControllerProps,
+ FieldPath,
+ FieldValues,
+ FormProvider,
+ useFormContext,
+} from 'react-hook-form';
+
+import { cn } from '../../lib/utils.ts';
+import { Label } from './Label.tsx';
+
+const Form = FormProvider;
+
+type FormFieldContextValue<
+ TFieldValues extends FieldValues = FieldValues,
+ TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>
+> = {
+ name: TName
+}
+
+const FormFieldContext = React.createContext<FormFieldContextValue>(
+ {} as FormFieldContextValue,
+);
+
+const FormField = <
+ TFieldValues extends FieldValues = FieldValues,
+ TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,
+ TTransformedValues = TFieldValues
+>({
+ ...props
+ }: ControllerProps<TFieldValues, TName, TTransformedValues>) => {
+ return (
+ <FormFieldContext.Provider value={{ name: props.name }}>
+ <Controller {...props} />
+ </FormFieldContext.Provider>
+ );
+};
+
+const useFormField = () => {
+ const fieldContext = React.useContext(FormFieldContext);
+ const itemContext = React.useContext(FormItemContext);
+ const { getFieldState, formState } = useFormContext();
+
+ const fieldState = getFieldState(fieldContext.name, formState);
+
+ if (!fieldContext) {
+ throw new Error('useFormField should be used within <FormField>');
+ }
+
+ const { id } = itemContext;
+
+ return {
+ id,
+ name: fieldContext.name,
+ formItemId: `${id}-form-item`,
+ formDescriptionId: `${id}-form-item-description`,
+ formMessageId: `${id}-form-item-message`,
+ ...fieldState,
+ };
+};
+
+type FormItemContextValue = {
+ id: string
+}
+
+const FormItemContext = React.createContext<FormItemContextValue>(
+ {} as FormItemContextValue,
+);
+
+const FormItem = React.forwardRef<
+ HTMLDivElement,
+ React.HTMLAttributes<HTMLDivElement>
+>(({ className, ...props }, ref) => {
+ const id = React.useId();
+
+ return (
+ <FormItemContext.Provider value={{ id }}>
+ <div ref={ref} className={cn('space-y-2', className)} {...props} />
+ </FormItemContext.Provider>
+ );
+});
+FormItem.displayName = 'FormItem';
+
+const FormLabel = React.forwardRef<
+ React.ElementRef<typeof LabelPrimitive.Root>,
+ React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>
+>(({ className, ...props }, ref) => {
+ const { error, formItemId } = useFormField();
+
+ return (
+ <Label
+ ref={ref}
+ className={cn(error && 'text-destructive', className)}
+ htmlFor={formItemId}
+ {...props}
+ />
+ );
+});
+FormLabel.displayName = 'FormLabel';
+
+const FormControl = React.forwardRef<
+ React.ElementRef<typeof Slot>,
+ React.ComponentPropsWithoutRef<typeof Slot>
+>(({ ...props }, ref) => {
+ const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
+
+ return (
+ <Slot
+ ref={ref}
+ id={formItemId}
+ aria-describedby={
+ !error
+ ? `${formDescriptionId}`
+ : `${formDescriptionId} ${formMessageId}`
+ }
+ aria-invalid={!!error}
+ {...props}
+ />
+ );
+});
+FormControl.displayName = 'FormControl';
+
+const FormDescription = React.forwardRef<
+ HTMLParagraphElement,
+ React.HTMLAttributes<HTMLParagraphElement>
+>(({ className, ...props }, ref) => {
+ const { formDescriptionId } = useFormField();
+
+ return (
+ <p
+ ref={ref}
+ id={formDescriptionId}
+ className={cn('text-sm text-muted-foreground', className)}
+ {...props}
+ />
+ );
+});
+FormDescription.displayName = 'FormDescription';
+
+const FormMessage = React.forwardRef<
+ HTMLParagraphElement,
+ React.HTMLAttributes<HTMLParagraphElement>
+>(({ className, children, ...props }, ref) => {
+ const { error, formMessageId } = useFormField();
+ const body = error ? String(error?.message) : children;
+
+ if (!body) {
+ return null;
+ }
+
+ return (
+ <p
+ ref={ref}
+ id={formMessageId}
+ className={cn('text-sm font-medium text-destructive', className)}
+ {...props}
+ >
+ {body}
+ </p>
+ );
+});
+FormMessage.displayName = 'FormMessage';
+
+export {
+ useFormField,
+ Form,
+ FormItem,
+ FormLabel,
+ FormControl,
+ FormDescription,
+ FormMessage,
+ FormField,
+};
diff --git a/apps/extension/src/@/components/ui/Input.tsx b/apps/extension/src/@/components/ui/Input.tsx
new file mode 100644
index 00000000..d0e41d33
--- /dev/null
+++ b/apps/extension/src/@/components/ui/Input.tsx
@@ -0,0 +1,25 @@
+import * as React from 'react';
+
+import { cn } from '../../lib/utils.ts';
+
+export interface InputProps
+ extends React.InputHTMLAttributes<HTMLInputElement> {}
+
+const Input = React.forwardRef<HTMLInputElement, InputProps>(
+ ({ className, type, ...props }, ref) => {
+ return (
+ <input
+ type={type}
+ className={cn(
+ 'flex h-10 w-full rounded-md border border-input bg-neutral-100 dark:bg-neutral-900 px-3 py-2 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus:outline-none outline-none focus:border-primary disabled:cursor-not-allowed disabled:opacity-50 duration-100',
+ className
+ )}
+ ref={ref}
+ {...props}
+ />
+ );
+ }
+);
+Input.displayName = 'Input';
+
+export { Input };
diff --git a/apps/extension/src/@/components/ui/Label.tsx b/apps/extension/src/@/components/ui/Label.tsx
new file mode 100644
index 00000000..8addc158
--- /dev/null
+++ b/apps/extension/src/@/components/ui/Label.tsx
@@ -0,0 +1,24 @@
+import * as React from 'react';
+import * as LabelPrimitive from '@radix-ui/react-label';
+import { cva, type VariantProps } from 'class-variance-authority';
+
+import { cn } from '../../lib/utils.ts';
+
+const labelVariants = cva(
+ 'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70',
+);
+
+const Label = React.forwardRef<
+ React.ElementRef<typeof LabelPrimitive.Root>,
+ React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> &
+ VariantProps<typeof labelVariants>
+>(({ className, ...props }, ref) => (
+ <LabelPrimitive.Root
+ ref={ref}
+ className={cn(labelVariants(), className)}
+ {...props}
+ />
+));
+Label.displayName = LabelPrimitive.Root.displayName;
+
+export { Label };
diff --git a/apps/extension/src/@/components/ui/Popover.tsx b/apps/extension/src/@/components/ui/Popover.tsx
new file mode 100644
index 00000000..4ce605da
--- /dev/null
+++ b/apps/extension/src/@/components/ui/Popover.tsx
@@ -0,0 +1,29 @@
+import * as React from 'react';
+import * as PopoverPrimitive from '@radix-ui/react-popover';
+
+import { cn } from '../../lib/utils.ts';
+
+const Popover = PopoverPrimitive.Root;
+
+const PopoverTrigger = PopoverPrimitive.Trigger;
+
+const PopoverContent = React.forwardRef<
+ React.ElementRef<typeof PopoverPrimitive.Content>,
+ React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>
+>(({ className, align = 'start', sideOffset = 4, ...props }, ref) => (
+ <PopoverPrimitive.Portal>
+ <PopoverPrimitive.Content
+ ref={ref}
+ align={align}
+ sideOffset={sideOffset}
+ className={cn(
+ 'z-50 min-w-full inset-x-0 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
+ className,
+ )}
+ {...props}
+ />
+ </PopoverPrimitive.Portal>
+));
+PopoverContent.displayName = PopoverPrimitive.Content.displayName;
+
+export { Popover, PopoverTrigger, PopoverContent };
diff --git a/apps/extension/src/@/components/ui/Select.tsx b/apps/extension/src/@/components/ui/Select.tsx
new file mode 100644
index 00000000..d415e8e6
--- /dev/null
+++ b/apps/extension/src/@/components/ui/Select.tsx
@@ -0,0 +1,119 @@
+import * as React from 'react';
+import * as SelectPrimitive from '@radix-ui/react-select';
+import { Check, ChevronDown } from 'lucide-react';
+
+import { cn } from '../../lib/utils.ts';
+
+const Select = SelectPrimitive.Root;
+
+const SelectGroup = SelectPrimitive.Group;
+
+const SelectValue = SelectPrimitive.Value;
+
+const SelectTrigger = React.forwardRef<
+ React.ElementRef<typeof SelectPrimitive.Trigger>,
+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>
+>(({ className, children, ...props }, ref) => (
+ <SelectPrimitive.Trigger
+ ref={ref}
+ className={cn(
+ 'flex h-10 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',
+ className,
+ )}
+ {...props}
+ >
+ {children}
+ <SelectPrimitive.Icon asChild>
+ <ChevronDown className='h-4 w-4 opacity-50' />
+ </SelectPrimitive.Icon>
+ </SelectPrimitive.Trigger>
+));
+SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
+
+const SelectContent = React.forwardRef<
+ React.ElementRef<typeof SelectPrimitive.Content>,
+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>
+>(({ className, children, position = 'popper', ...props }, ref) => (
+ <SelectPrimitive.Portal>
+ <SelectPrimitive.Content
+ ref={ref}
+ className={cn(
+ 'relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
+ position === 'popper' &&
+ 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',
+ className,
+ )}
+ position={position}
+ {...props}
+ >
+ <SelectPrimitive.Viewport
+ className={cn(
+ 'p-1',
+ position === 'popper' &&
+ 'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]',
+ )}
+ >
+ {children}
+ </SelectPrimitive.Viewport>
+ </SelectPrimitive.Content>
+ </SelectPrimitive.Portal>
+));
+SelectContent.displayName = SelectPrimitive.Content.displayName;
+
+const SelectLabel = React.forwardRef<
+ React.ElementRef<typeof SelectPrimitive.Label>,
+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>
+>(({ className, ...props }, ref) => (
+ <SelectPrimitive.Label
+ ref={ref}
+ className={cn('py-1.5 pl-8 pr-2 text-sm font-semibold', className)}
+ {...props}
+ />
+));
+SelectLabel.displayName = SelectPrimitive.Label.displayName;
+
+const SelectItem = React.forwardRef<
+ React.ElementRef<typeof SelectPrimitive.Item>,
+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>
+>(({ className, children, ...props }, ref) => (
+ <SelectPrimitive.Item
+ ref={ref}
+ className={cn(
+ 'relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ className,
+ )}
+ {...props}
+ >
+ <span className='absolute left-2 flex h-3.5 w-3.5 items-center justify-center'>
+ <SelectPrimitive.ItemIndicator>
+ <Check className='h-4 w-4' />
+ </SelectPrimitive.ItemIndicator>
+ </span>
+
+ <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>
+ </SelectPrimitive.Item>
+));
+SelectItem.displayName = SelectPrimitive.Item.displayName;
+
+const SelectSeparator = React.forwardRef<
+ React.ElementRef<typeof SelectPrimitive.Separator>,
+ React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>
+>(({ className, ...props }, ref) => (
+ <SelectPrimitive.Separator
+ ref={ref}
+ className={cn('-mx-1 my-1 h-px bg-muted', className)}
+ {...props}
+ />
+));
+SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
+
+export {
+ Select,
+ SelectGroup,
+ SelectValue,
+ SelectTrigger,
+ SelectContent,
+ SelectLabel,
+ SelectItem,
+ SelectSeparator,
+};
diff --git a/apps/extension/src/@/components/ui/Separator.tsx b/apps/extension/src/@/components/ui/Separator.tsx
new file mode 100644
index 00000000..5c744181
--- /dev/null
+++ b/apps/extension/src/@/components/ui/Separator.tsx
@@ -0,0 +1,29 @@
+import * as React from 'react';
+import * as SeparatorPrimitive from '@radix-ui/react-separator';
+
+import { cn } from '../../lib/utils.ts';
+
+const Separator = React.forwardRef<
+ React.ElementRef<typeof SeparatorPrimitive.Root>,
+ React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>
+>(
+ (
+ { className, orientation = 'horizontal', decorative = true, ...props },
+ ref,
+ ) => (
+ <SeparatorPrimitive.Root
+ ref={ref}
+ decorative={decorative}
+ orientation={orientation}
+ className={cn(
+ 'shrink-0 bg-border',
+ orientation === 'horizontal' ? 'h-[1px] w-full' : 'h-full w-[1px]',
+ className,
+ )}
+ {...props}
+ />
+ ),
+);
+Separator.displayName = SeparatorPrimitive.Root.displayName;
+
+export { Separator };
diff --git a/apps/extension/src/@/components/ui/Textarea.tsx b/apps/extension/src/@/components/ui/Textarea.tsx
new file mode 100644
index 00000000..e1913339
--- /dev/null
+++ b/apps/extension/src/@/components/ui/Textarea.tsx
@@ -0,0 +1,24 @@
+import * as React from 'react';
+
+import { cn } from '../../lib/utils.ts';
+
+export interface TextareaProps
+ extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}
+
+const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
+ ({ className, ...props }, ref) => {
+ return (
+ <textarea
+ className={cn(
+ 'flex min-h-[80px] w-full rounded-md border border-input bg-neutral-100 dark:bg-neutral-900 px-3 py-2 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus:outline-none outline-none focus:border-primary disabled:cursor-not-allowed disabled:opacity-50 duration-100',
+ className
+ )}
+ ref={ref}
+ {...props}
+ />
+ );
+ }
+);
+Textarea.displayName = 'Textarea';
+
+export { Textarea };
diff --git a/apps/extension/src/@/components/ui/Toast.tsx b/apps/extension/src/@/components/ui/Toast.tsx
new file mode 100644
index 00000000..562487bd
--- /dev/null
+++ b/apps/extension/src/@/components/ui/Toast.tsx
@@ -0,0 +1,127 @@
+import * as React from 'react';
+import * as ToastPrimitives from '@radix-ui/react-toast';
+import { cva, type VariantProps } from 'class-variance-authority';
+import { X } from 'lucide-react';
+
+import { cn } from '../../lib/utils';
+
+const ToastProvider = ToastPrimitives.Provider;
+
+const ToastViewport = React.forwardRef<
+ React.ElementRef<typeof ToastPrimitives.Viewport>,
+ React.ComponentPropsWithoutRef<typeof ToastPrimitives.Viewport>
+>(({ className, ...props }, ref) => (
+ <ToastPrimitives.Viewport
+ ref={ref}
+ className={cn(
+ 'fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 mx-auto right-0 left-0 sm:top-auto sm:flex-col md:max-w-[420px]',
+ className
+ )}
+ {...props}
+ />
+));
+ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
+
+const toastVariants = cva(
+ 'group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full',
+ {
+ variants: {
+ variant: {
+ default: 'border bg-background',
+ destructive:
+ 'destructive group border-destructive bg-destructive text-destructive-foreground',
+ },
+ },
+ defaultVariants: {
+ variant: 'default',
+ },
+ }
+);
+
+const Toast = React.forwardRef<
+ React.ElementRef<typeof ToastPrimitives.Root>,
+ React.ComponentPropsWithoutRef<typeof ToastPrimitives.Root> &
+ VariantProps<typeof toastVariants>
+>(({ className, variant, ...props }, ref) => {
+ return (
+ <ToastPrimitives.Root
+ ref={ref}
+ className={cn(toastVariants({ variant }), className)}
+ {...props}
+ />
+ );
+});
+Toast.displayName = ToastPrimitives.Root.displayName;
+
+const ToastAction = React.forwardRef<
+ React.ElementRef<typeof ToastPrimitives.Action>,
+ React.ComponentPropsWithoutRef<typeof ToastPrimitives.Action>
+>(({ className, ...props }, ref) => (
+ <ToastPrimitives.Action
+ ref={ref}
+ className={cn(
+ 'inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive',
+ className
+ )}
+ {...props}
+ />
+));
+ToastAction.displayName = ToastPrimitives.Action.displayName;
+
+const ToastClose = React.forwardRef<
+ React.ElementRef<typeof ToastPrimitives.Close>,
+ React.ComponentPropsWithoutRef<typeof ToastPrimitives.Close>
+>(({ className, ...props }, ref) => (
+ <ToastPrimitives.Close
+ ref={ref}
+ className={cn(
+ 'absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600',
+ className
+ )}
+ toast-close=""
+ {...props}
+ >
+ <X className="h-4 w-4" />
+ </ToastPrimitives.Close>
+));
+ToastClose.displayName = ToastPrimitives.Close.displayName;
+
+const ToastTitle = React.forwardRef<
+ React.ElementRef<typeof ToastPrimitives.Title>,
+ React.ComponentPropsWithoutRef<typeof ToastPrimitives.Title>
+>(({ className, ...props }, ref) => (
+ <ToastPrimitives.Title
+ ref={ref}
+ className={cn('text-sm font-semibold', className)}
+ {...props}
+ />
+));
+ToastTitle.displayName = ToastPrimitives.Title.displayName;
+
+const ToastDescription = React.forwardRef<
+ React.ElementRef<typeof ToastPrimitives.Description>,
+ React.ComponentPropsWithoutRef<typeof ToastPrimitives.Description>
+>(({ className, ...props }, ref) => (
+ <ToastPrimitives.Description
+ ref={ref}
+ className={cn('text-sm opacity-90', className)}
+ {...props}
+ />
+));
+ToastDescription.displayName = ToastPrimitives.Description.displayName;
+
+type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
+
+type ToastActionElement = React.ReactElement<typeof ToastAction>;
+
+export {
+ type ToastProps,
+ type ToastActionElement,
+ ToastProvider,
+ ToastViewport,
+ Toast,
+ ToastTitle,
+ ToastDescription,
+ ToastClose,
+ ToastAction,
+};
diff --git a/apps/extension/src/@/components/ui/Toaster.tsx b/apps/extension/src/@/components/ui/Toaster.tsx
new file mode 100644
index 00000000..ba71acb5
--- /dev/null
+++ b/apps/extension/src/@/components/ui/Toaster.tsx
@@ -0,0 +1,33 @@
+import {
+ Toast,
+ ToastClose,
+ ToastDescription,
+ ToastProvider,
+ ToastTitle,
+ ToastViewport,
+} from '../ui/Toast';
+import { useToast } from '../../../hooks/use-toast';
+
+export function Toaster() {
+ const { toasts } = useToast();
+
+ return (
+ <ToastProvider>
+ {toasts.map(function({ id, title, description, action, ...props }) {
+ return (
+ <Toast key={id} {...props}>
+ <div className='grid gap-1'>
+ {title && <ToastTitle>{title}</ToastTitle>}
+ {description && (
+ <ToastDescription>{description}</ToastDescription>
+ )}
+ </div>
+ {action}
+ <ToastClose />
+ </Toast>
+ );
+ })}
+ <ToastViewport />
+ </ToastProvider>
+ );
+}
diff --git a/apps/extension/src/@/lib/actions/collections.ts b/apps/extension/src/@/lib/actions/collections.ts
new file mode 100644
index 00000000..27754a5f
--- /dev/null
+++ b/apps/extension/src/@/lib/actions/collections.ts
@@ -0,0 +1,62 @@
+import axios from 'axios';
+
+interface ResponseCollections {
+ color: string;
+ createdAt: string;
+ description: string;
+ id: number;
+ isPublic: boolean;
+ members: never[]; // Assuming members can be of any type, adjust as necessary
+ name: string;
+ ownerId: number;
+ parent: null | {
+ id: number;
+ name: string;
+ };
+ parentId: null | number; // Assuming parentId can be null or a number
+ updatedAt: string;
+}
+
+function buildFullPath(
+ collection: ResponseCollections,
+ collectionsMap: Map<number, ResponseCollections>
+): string {
+ const paths: string[] = [collection.name];
+ let currentParent = collection.parent;
+
+ while (currentParent) {
+ paths.unshift(currentParent.name);
+ const parentCollection = collectionsMap.get(currentParent.id);
+ currentParent = parentCollection?.parent || null;
+ }
+
+ return paths.join(' > ');
+}
+
+export async function getCollections(baseUrl: string, apiKey: string) {
+ const url = `${baseUrl}/api/v1/collections`;
+
+ const response = await axios.get<{ response: ResponseCollections[] }>(url, {
+ headers: {
+ Authorization: `Bearer ${apiKey}`,
+ },
+ });
+
+ // Create a map for quick lookups
+ const collectionsMap = new Map(
+ response.data.response.map((collection) => [collection.id, collection])
+ );
+
+ // Format the collection names with full parent structure
+ const formattedCollections = response.data.response.map((collection) => ({
+ ...collection,
+ pathname: buildFullPath(collection, collectionsMap),
+ }));
+
+ return {
+ ...response,
+ data: {
+ response: formattedCollections,
+ },
+ };
+}
diff --git a/apps/extension/src/@/lib/actions/links.ts b/apps/extension/src/@/lib/actions/links.ts
new file mode 100644
index 00000000..40d0148a
--- /dev/null
+++ b/apps/extension/src/@/lib/actions/links.ts
@@ -0,0 +1,141 @@
+import captureScreenshot from '../screenshot.ts';
+import { bookmarkFormValues } from '../validators/bookmarkForm.ts';
+import axios from 'axios';
+// import { bookmarkMetadata } from '../cache.ts';
+import { getCurrentTabInfo } from '../utils.ts';
+
+export async function postLink(
+ baseUrl: string,
+ uploadImage: boolean,
+ data: bookmarkFormValues,
+ setState: (state: 'capturing' | 'uploading' | null) => void,
+ apiKey: string
+) {
+ const url = `${baseUrl}/api/v1/links`;
+
+ if (uploadImage) {
+ setState('capturing');
+ const screenshot = await captureScreenshot();
+ setState('uploading');
+
+ const link = await axios.post(url, data, {
+ headers: {
+ Authorization: `Bearer ${apiKey}`,
+ },
+ });
+
+ const { id } = link.data.response;
+ const archiveUrl = `${baseUrl}/api/v1/archives/${id}?format=0`;
+
+ const formData = new FormData();
+ formData.append('file', screenshot, 'screenshot.png');
+
+ await axios.post(archiveUrl, formData, {
+ headers: {
+ 'Content-Type': 'multipart/form-data',
+ Authorization: `Bearer ${apiKey}`,
+ },
+ });
+
+ setState(null);
+
+ return link;
+ } else {
+ return await axios.post(url, data, {
+ headers: {
+ 'Content-Type': 'application/json',
+ Authorization: `Bearer ${apiKey}`,
+ },
+ });
+ }
+}
+
+export async function postLinkFetch(
+ baseUrl: string,
+ data: bookmarkFormValues,
+ apiKey: string
+) {
+ const url = `${baseUrl}/api/v1/links`;
+
+ return await fetch(url, {
+ method: 'POST',
+ body: JSON.stringify(data),
+ headers: {
+ 'Content-Type': 'application/json',
+ Authorization: `Bearer ${apiKey}`,
+ },
+ });
+}
+
+export async function updateLinkFetch(
+ baseUrl: string,
+ id: number,
+ data: bookmarkFormValues,
+ apiKey: string
+) {
+ const url = `${baseUrl}/api/v1/links/${id}`;
+
+ return await fetch(url, {
+ method: 'PUT',
+ body: JSON.stringify(data),
+ headers: {
+ 'Content-Type': 'application/json',
+ Authorization: `Bearer ${apiKey}`,
+ },
+ });
+}
+
+export async function deleteLinkFetch(
+ baseUrl: string,
+ id: number,
+ apiKey: string
+) {
+ const url = `${baseUrl}/api/v1/links/${id}`;
+
+ return await fetch(url, {
+ method: 'DELETE',
+ headers: {
+ Authorization: `Bearer ${apiKey}`,
+ },
+ });
+}
+
+// export async function getLinksFetch(
+// baseUrl: string,
+// apiKey: string
+// ): Promise<{ response: bookmarkMetadata[] }> {
+// const url = `${baseUrl}/api/v1/links`;
+// const response = await fetch(url, {
+// headers: {
+// Authorization: `Bearer ${apiKey}`,
+// },
+// });
+// return await response.json();
+// }
+
+export async function checkLinkExists(
+ baseUrl: string,
+ apiKey: string
+): Promise<boolean> {
+ const tabInfo = await getCurrentTabInfo();
+ if (!tabInfo.url) {
+ console.error('No URL found for current tab');
+ return false;
+ }
+
+ const url =
+ `${baseUrl}/api/v1/search?sort=0&searchQueryString=` +
+ encodeURIComponent(`url:${tabInfo.url}`);
+
+ const response = await fetch(url, {
+ headers: {
+ Authorization: `Bearer ${apiKey}`,
+ },
+ });
+
+ const { data } = await response.json();
+
+ const exists = !!data && data.links?.length > 0;
+
+ return exists;
+}
diff --git a/apps/extension/src/@/lib/actions/tags.ts b/apps/extension/src/@/lib/actions/tags.ts
new file mode 100644
index 00000000..b126a20d
--- /dev/null
+++ b/apps/extension/src/@/lib/actions/tags.ts
@@ -0,0 +1,202 @@
+import axios from 'axios';
+
+export interface ResponseTags {
+ id: number;
+ name: string;
+ ownerId: number;
+ createdAt: string;
+ updatedAt: string;
+ _count: {
+ links: number;
+ };
+}
+
+type ConfigResponse = {
+ response: {
+ INSTANCE_VERSION?: string | null;
+ };
+};
+
+type LegacyTagsResponse = {
+ response:
+ | ResponseTags[]
+ | { tags: ResponseTags[]; nextCursor?: number | null };
+};
+
+type PaginatedTagsResponse = {
+ data: {
+ tags: ResponseTags[];
+ nextCursor?: number | null;
+ };
+};
+
+const MIN_TAG_PAGINATION_VERSION = '2.14.0';
+const MIN_TAG_SEARCH_VERSION = '2.14.1';
+const TAG_SORT_NAME_ASC = 2;
+const tagFeatureSupportCache = new Map<
+ string,
+ {
+ shouldUsePagination: boolean;
+ shouldUseSearch: boolean;
+ }
+>();
+
+export type TagsPage = {
+ tags: ResponseTags[];
+ nextCursor: number | null;
+};
+
+const normalizeVersion = (version?: string | null) => {
+ if (!version) return null;
+
+ return version
+ .replace(/^v/i, '')
+ .split('-')[0]
+ .split('.')
+ .map((part) => Number(part.replace(/\D/g, '')) || 0);
+};
+
+const isAtLeastInstanceVersion = (
+ version?: string | null,
+ minimumVersion?: string | null
+) => {
+ const normalizedVersion = normalizeVersion(version);
+ const normalizedMinimumVersion = normalizeVersion(minimumVersion);
+
+ if (!normalizedVersion || !normalizedMinimumVersion) return false;
+
+ const length = Math.max(
+ normalizedVersion.length,
+ normalizedMinimumVersion.length
+ );
+
+ for (let index = 0; index < length; index++) {
+ const left = normalizedVersion[index] ?? 0;
+ const right = normalizedMinimumVersion[index] ?? 0;
+
+ if (left > right) return true;
+ if (left < right) return false;
+ }
+
+ return true;
+};
+
+const extractTagsPayload = (
+ data: LegacyTagsResponse | PaginatedTagsResponse
+): { tags: ResponseTags[]; nextCursor: number | null } => {
+ if (Array.isArray((data as LegacyTagsResponse).response)) {
+ return {
+ tags: (data as LegacyTagsResponse).response as ResponseTags[],
+ nextCursor: null,
+ };
+ }
+
+ if (
+ (data as LegacyTagsResponse).response &&
+ !Array.isArray((data as LegacyTagsResponse).response)
+ ) {
+ const response = (data as LegacyTagsResponse).response as {
+ tags: ResponseTags[];
+ nextCursor?: number | null;
+ };
+
+ return {
+ tags: response.tags,
+ nextCursor: response.nextCursor ?? null,
+ };
+ }
+
+ const response = (data as PaginatedTagsResponse).data;
+
+ return {
+ tags: response.tags,
+ nextCursor: response.nextCursor ?? null,
+ };
+};
+
+const getInstanceVersion = async (baseUrl: string, apiKey: string) => {
+ try {
+ const response = await axios.get<ConfigResponse>(
+ `${baseUrl}/api/v1/config`,
+ {
+ headers: {
+ Authorization: `Bearer ${apiKey}`,
+ },
+ }
+ );
+
+ return response.data.response.INSTANCE_VERSION ?? null;
+ } catch (_error) {
+ return null;
+ }
+};
+
+const getTagFeatureSupportCacheKey = (baseUrl: string, apiKey: string) =>
+ `${baseUrl}::${apiKey}`;
+
+const getTagFeatures = async (baseUrl: string, apiKey: string) => {
+ const cacheKey = getTagFeatureSupportCacheKey(baseUrl, apiKey);
+ const cachedValue = tagFeatureSupportCache.get(cacheKey);
+
+ if (cachedValue !== undefined) return cachedValue;
+
+ const instanceVersion = await getInstanceVersion(baseUrl, apiKey);
+ const nextValue = {
+ shouldUsePagination: isAtLeastInstanceVersion(
+ instanceVersion,
+ MIN_TAG_PAGINATION_VERSION
+ ),
+ shouldUseSearch: isAtLeastInstanceVersion(
+ instanceVersion,
+ MIN_TAG_SEARCH_VERSION
+ ),
+ };
+
+ tagFeatureSupportCache.set(cacheKey, nextValue);
+
+ return nextValue;
+};
+
+export const getShouldUseTagSearch = async (baseUrl: string, apiKey: string) =>
+ (await getTagFeatures(baseUrl, apiKey)).shouldUseSearch;
+
+export async function getTags(
+ baseUrl: string,
+ apiKey: string,
+ cursor = 0,
+ search = ''
+): Promise<TagsPage> {
+ const { shouldUsePagination, shouldUseSearch } = await getTagFeatures(
+ baseUrl,
+ apiKey
+ );
+
+ const headers = {
+ Authorization: `Bearer ${apiKey}`,
+ };
+
+ const searchParams = new URLSearchParams();
+ const normalizedSearch = search.trim();
+ searchParams.set('sort', String(TAG_SORT_NAME_ASC));
+
+ if (shouldUsePagination) {
+ searchParams.set('cursor', String(cursor));
+ }
+
+ if (shouldUseSearch && normalizedSearch) {
+ searchParams.set('search', normalizedSearch);
+ }
+
+ const initialResponse = await axios.get<
+ LegacyTagsResponse | PaginatedTagsResponse
+ >(`${baseUrl}/api/v1/tags?${searchParams.toString()}`, {
+ headers,
+ });
+
+ const payload = extractTagsPayload(initialResponse.data);
+
+ return {
+ tags: payload.tags,
+ nextCursor: shouldUsePagination ? payload.nextCursor : null,
+ };
+}
diff --git a/apps/extension/src/@/lib/api.ts b/apps/extension/src/@/lib/api.ts
new file mode 100644
index 00000000..d0982e46
--- /dev/null
+++ b/apps/extension/src/@/lib/api.ts
@@ -0,0 +1,15 @@
+import { optionsFormValues } from './validators/optionsForm.ts';
+
+// Just a placeholder for now, until apis routes and token auth are implemented
+// TODO: Implement apis routes and token auth, if not possible on just queries for react query, I don't really want to manage it on a separate class
+export class LinkwardenApi {
+ configuration: optionsFormValues;
+
+ constructor(conf: optionsFormValues) {
+ this.configuration = conf;
+ }
+
+ async testConnection() {
+ return true;
+ }
+}
diff --git a/apps/extension/src/@/lib/auth/auth.ts b/apps/extension/src/@/lib/auth/auth.ts
new file mode 100644
index 00000000..c17edab5
--- /dev/null
+++ b/apps/extension/src/@/lib/auth/auth.ts
@@ -0,0 +1,67 @@
+import axios from 'axios';
+
+export interface DataLogin {
+ username: string;
+ password: string;
+ redirect: boolean;
+ csrfToken: string;
+ callbackUrl: string;
+ json: boolean;
+}
+
+export interface DataLogout {
+ csrfToken: string;
+ callbackUrl: string;
+ json: boolean;
+}
+
+export async function getCsrfTokenFetch(url: string): Promise<string> {
+ const token = await fetch(`${url}/api/v1/auth/csrf`);
+ const { csrfToken } = await token.json();
+ return csrfToken;
+}
+
+export async function performLoginOrLogout(
+ url: string,
+ data: DataLogin | DataLogout
+) {
+ const formBody = Object.entries(data)
+ .map(
+ ([key, value]) =>
+ `${encodeURIComponent(key)}=${encodeURIComponent(value)}`
+ )
+ .join('&');
+
+ return await axios.post(url, formBody, {
+ headers: {
+ 'Content-Type': 'application/x-www-form-urlencoded',
+ },
+ });
+}
+
+export async function getSession(
+ url: string,
+ username: string,
+ password: string
+) {
+ const session = await axios.post(
+ `${url}/api/v1/session`,
+ {
+ username,
+ password,
+ sessionName: 'Browser Extension',
+ },
+ {
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ }
+ );
+ return session;
+}
+
+export async function getSessionFetch(url: string) {
+ const session = await fetch(`${url}/api/v1/auth/session`);
+ const sessionJson = await session.json();
+ return sessionJson.user;
+}
diff --git a/apps/extension/src/@/lib/cache.ts b/apps/extension/src/@/lib/cache.ts
new file mode 100644
index 00000000..cffcebb9
--- /dev/null
+++ b/apps/extension/src/@/lib/cache.ts
@@ -0,0 +1,237 @@
+import { getBrowser, getStorageItem, setStorageItem } from './utils.ts';
+import { bookmarkFormValues } from './validators/bookmarkForm.ts';
+import {
+ deleteLinkFetch,
+ postLinkFetch,
+ updateLinkFetch,
+} from './actions/links.ts';
+import BookmarkTreeNode = chrome.bookmarks.BookmarkTreeNode;
+import { getConfig } from './config.ts';
+
+const browser = getBrowser();
+
+const BOOKMARKS_METADATA_KEY = 'lw_bookmarks_metadata_cache';
+// TODO: Implement caching for tabs metadata maybe?
+// I want to cache the all current favorited links in the browser, and cache the ones coming from the server
+// so that I can compare them and only update the ones that are different from the server to the browser and vice versa (if needed)
+// I think I can do this by using the bookmark id as the key, and the value will be the link object itself (or maybe just the url?)
+// I think I can also use the url as the key, and the value will be the bookmark id (or maybe just the bookmark object itself?)
+
+export interface bookmarkMetadata extends bookmarkFormValues {
+ id: number;
+ collectionId: number;
+ bookmarkId?: string;
+}
+
+const DEFAULTS: bookmarkMetadata[] = [];
+
+export async function getBookmarksMetadata(): Promise<bookmarkMetadata[]> {
+ const bookmarksMetadata = await getStorageItem(BOOKMARKS_METADATA_KEY);
+ return bookmarksMetadata ? JSON.parse(bookmarksMetadata) : DEFAULTS;
+}
+
+export async function saveBookmarksMetadata(
+ bookmarksMetadata: bookmarkMetadata[]
+) {
+ return await setStorageItem(
+ BOOKMARKS_METADATA_KEY,
+ JSON.stringify(bookmarksMetadata)
+ );
+}
+
+export async function clearBookmarksMetadata() {
+ return await setStorageItem(BOOKMARKS_METADATA_KEY, JSON.stringify([]));
+}
+
+export async function getBookmarkMetadataById(
+ id: number
+): Promise<bookmarkMetadata | undefined> {
+ const bookmarksMetadata = await getBookmarksMetadata();
+ return bookmarksMetadata.find(
+ (bookmarkMetadata) => bookmarkMetadata.id === id
+ );
+}
+
+export async function getBookmarkMetadataByBookmarkId(
+ bookmarkId: string
+): Promise<bookmarkMetadata | undefined> {
+ const bookmarksMetadata = await getBookmarksMetadata();
+ return bookmarksMetadata.find(
+ (bookmarkMetadata) => bookmarkMetadata.bookmarkId === bookmarkId
+ );
+}
+
+export async function getBookmarkMetadataByUrl(
+ url: string
+): Promise<bookmarkMetadata | undefined> {
+ const bookmarksMetadata = await getBookmarksMetadata();
+ return bookmarksMetadata.find(
+ (bookmarkMetadata) => bookmarkMetadata.url === url
+ );
+}
+
+export async function saveBookmarkMetadata(bookmarkMetadata: bookmarkMetadata) {
+ const bookmarksMetadata = await getBookmarksMetadata();
+ const index = bookmarksMetadata.findIndex(
+ (bookmarkMetadataObject) =>
+ bookmarkMetadataObject.id === bookmarkMetadata.id
+ );
+ if (index !== -1) {
+ bookmarksMetadata[index] = bookmarkMetadata;
+ } else {
+ bookmarksMetadata.push(bookmarkMetadata);
+ }
+ return await saveBookmarksMetadata(bookmarksMetadata);
+}
+
+export async function deleteBookmarkMetadata(id: string | undefined) {
+ const bookmarksMetadata = await getBookmarksMetadata();
+ const index = bookmarksMetadata.findIndex(
+ (bookmarkMetadata) => bookmarkMetadata.bookmarkId === id
+ );
+ if (index !== -1) {
+ bookmarksMetadata.splice(index, 1);
+ }
+ return await saveBookmarksMetadata(bookmarksMetadata);
+}
+
+// It just works, don't MOVE
+// export async function saveLinksInCache(baseUrl: string) {
+// try {
+// const { apiKey } = await getConfig();
+// const links = await getLinksFetch(baseUrl, apiKey);
+// const linksResponse = links.response;
+
+// // Create a map to track which bookmarks are still present on the server
+// const serverBookmarkMap = new Map<number, bookmarkMetadata>();
+// linksResponse.forEach(link => serverBookmarkMap.set(link.id, link));
+
+// // Get the current bookmarks metadata from the cache
+// const bookmarksMetadata = await getBookmarksMetadata();
+
+// // Update or add bookmarks based on server response
+// for (let link of linksResponse) {
+// const existingLinkIndex = bookmarksMetadata.findIndex((bookmarkMetadata) => bookmarkMetadata.id === link.id);
+// if (existingLinkIndex !== -1) {
+// // Update existing bookmark if there are changes
+// link = { ...bookmarksMetadata[existingLinkIndex], ...link };
+// bookmarksMetadata[existingLinkIndex] = link;
+// } else {
+// // Add new bookmark from the server
+// const newLocalBookmark = await createBookmarkInBrowser(link);
+// link.bookmarkId = newLocalBookmark.id;
+// bookmarksMetadata.push(link);
+// }
+// }
+
+// // Remove cached bookmarks that are no longer present on the server
+// const bookmarksToRemove = bookmarksMetadata.filter((bookmarkMetadata) => !serverBookmarkMap.has(bookmarkMetadata.id));
+// for (const bookmarkToRemove of bookmarksToRemove) {
+// const indexToRemove = bookmarksMetadata.indexOf(bookmarkToRemove);
+// if (indexToRemove !== -1) {
+// bookmarksMetadata.splice(indexToRemove, 1);
+// if (bookmarkToRemove.bookmarkId != null) {
+// await browser.bookmarks.remove(bookmarkToRemove.bookmarkId);
+// }
+// }
+// }
+
+// // Save the updated bookmarks metadata back to the cache
+// await saveBookmarksMetadata(bookmarksMetadata);
+
+// } catch (error) {
+// console.error(error);
+// }
+// }
+
+export async function createBookmarkInBrowser(
+ bookmark: bookmarkMetadata
+): Promise<BookmarkTreeNode> {
+ const { url, name } = bookmark;
+ return await browser.bookmarks.create({ url, title: name });
+}
+
+const getCurrentBookmarks = async () => {
+ return await browser.bookmarks.getTree();
+};
+
+// Testing will remove later, idk if this would be ok to do, since they are being duplicated in the browser.
+export async function syncLocalBookmarks(baseUrl: string) {
+ try {
+ const { apiKey } = await getConfig();
+ // Retrieve all local bookmarks
+ const [root] = await getCurrentBookmarks();
+ const localBookmarks: bookmarkMetadata[] = [];
+ if (!root.children) return;
+ logBookmarks(root.children, localBookmarks);
+
+ // Load cached bookmarks metadata
+ const bookmarksMetadata = await getBookmarksMetadata();
+
+ // Create a map of cached bookmarks by URL for easy lookup
+ const cachedBookmarksMap = new Map(
+ bookmarksMetadata.map((bm) => [bm.url, bm])
+ );
+
+ // Prepare arrays to hold promises for new, updated, and deleted bookmarks
+ const createPromises = [];
+ const updatePromises = [];
+ const deletePromises = [];
+
+ // Sync new and updated local bookmarks to the server
+ for (const localBookmark of localBookmarks) {
+ const cachedBookmark = cachedBookmarksMap.get(localBookmark.url);
+ if (!cachedBookmark) {
+ // New bookmark
+ createPromises.push(postLinkFetch(baseUrl, localBookmark, apiKey));
+ } else if (cachedBookmark.name !== localBookmark.name) {
+ // Updated bookmark
+ updatePromises.push(
+ updateLinkFetch(baseUrl, cachedBookmark.id, localBookmark, apiKey)
+ );
+ }
+ // Remove from the map to track deleted bookmarks
+ cachedBookmarksMap.delete(localBookmark.url);
+ }
+
+ // Prepare delete promises for bookmarks that are no longer in the local bookmarks
+ for (const [, cachedBookmark] of cachedBookmarksMap) {
+ deletePromises.push(deleteLinkFetch(baseUrl, cachedBookmark.id, apiKey));
+ }
+
+ // Run all create, update, and delete operations in parallel
+ await Promise.all([
+ ...createPromises,
+ ...updatePromises,
+ ...deletePromises,
+ ]);
+
+ // Update the cached bookmarks metadata
+ await saveBookmarksMetadata(localBookmarks);
+ } catch (error) {
+ console.error(error);
+ }
+}
+
+// Helper function to collect all bookmarks recursively
+function logBookmarks(
+ bookmarks: BookmarkTreeNode[],
+ accumulator: bookmarkMetadata[]
+) {
+ for (const bookmark of bookmarks) {
+ if (bookmark.url) {
+ accumulator.push({
+ id: parseInt(bookmark.id), // Convert string id to number
+ collectionId: 0, // Define how to determine collectionId
+ name: bookmark.title,
+ url: bookmark.url,
+ description: '', // Define how to get description
+ collection: { id: 0, name: '', ownerId: 0 }, // Define collection details
+ tags: [], // Define how to get tags
+ bookmarkId: bookmark.id,
+ });
+ } else if (bookmark.children) {
+ logBookmarks(bookmark.children, accumulator);
+ }
+ }
+}
diff --git a/apps/extension/src/@/lib/config.ts b/apps/extension/src/@/lib/config.ts
new file mode 100644
index 00000000..7f6f4d64
--- /dev/null
+++ b/apps/extension/src/@/lib/config.ts
@@ -0,0 +1,42 @@
+import { getStorageItem, setStorageItem } from './utils.ts';
+import { configType } from './validators/config.ts';
+
+const DEFAULTS: configType = {
+ baseUrl: '',
+ apiKey: '',
+ defaultCollection: 'Unorganized',
+ syncBookmarks: false,
+};
+
+const CONFIG_KEY = 'linkwarden_config';
+
+export async function getConfig(): Promise<configType> {
+ const config = await getStorageItem(CONFIG_KEY);
+ return config ? JSON.parse(config) : DEFAULTS;
+}
+
+export async function saveConfig(config: configType) {
+ return await setStorageItem(CONFIG_KEY, JSON.stringify(config));
+}
+
+export async function isConfigured() {
+ const config = await getConfig();
+ return (
+ !!config.baseUrl &&
+ config.baseUrl !== '' &&
+ !!config.apiKey &&
+ config.apiKey !== ''
+ );
+}
+
+export async function clearConfig() {
+ return await setStorageItem(
+ CONFIG_KEY,
+ JSON.stringify({
+ baseUrl: '',
+ apiKey: '',
+ defaultCollection: 'Unorganized',
+ syncBookmarks: false,
+ })
+ );
+}
diff --git a/apps/extension/src/@/lib/screenshot.ts b/apps/extension/src/@/lib/screenshot.ts
new file mode 100644
index 00000000..ae301280
--- /dev/null
+++ b/apps/extension/src/@/lib/screenshot.ts
@@ -0,0 +1,302 @@
+import browser from 'webextension-polyfill';
+
+const loadImage = (blob: Blob): Promise<HTMLImageElement> => {
+ return new Promise((resolve, reject) => {
+ const img = new Image();
+ img.onload = () => resolve(img);
+ img.onerror = reject;
+ img.src = URL.createObjectURL(blob);
+ });
+};
+
+const drawImagesOnCanvas = async (
+ canvas: HTMLCanvasElement,
+ blobs: Blob[],
+ viewportWidth: number,
+ viewportHeight: number,
+ totalHeight: number,
+ dpr: number
+) => {
+ const ctx = canvas.getContext('2d');
+ if (!ctx) {
+ throw new Error('Failed to get canvas context.');
+ }
+
+ ctx.scale(dpr, dpr);
+
+ let currentHeight = 0;
+
+ for (let index = 0; index < blobs.length - 1; index++) {
+ const img = await loadImage(blobs[index]);
+ ctx.drawImage(
+ img,
+ 0,
+ 0,
+ img.width,
+ img.height,
+ 0,
+ currentHeight,
+ viewportWidth,
+ viewportHeight
+ );
+ currentHeight += viewportHeight;
+ }
+
+ const remainingHeight = totalHeight - currentHeight;
+ if (remainingHeight > 0) {
+ const lastImage = await loadImage(blobs[blobs.length - 1]);
+ const cropTop = (viewportHeight - remainingHeight) * dpr;
+ const neededHeight = remainingHeight * dpr;
+ ctx.drawImage(
+ lastImage,
+ 0,
+ cropTop,
+ lastImage.width,
+ neededHeight,
+ 0,
+ currentHeight,
+ viewportWidth,
+ remainingHeight
+ );
+ }
+
+ return new Promise<Blob>((resolve, reject) => {
+ canvas.toBlob((blob) => {
+ if (blob) {
+ resolve(blob);
+ } else {
+ reject(new Error('Failed to create Blob from canvas.'));
+ }
+ });
+ });
+};
+
+async function executeScript(tabId: number, func: any, args: any[] = []) {
+ if (
+ typeof chrome !== 'undefined' &&
+ typeof chrome.scripting !== 'undefined'
+ ) {
+ const results = await chrome.scripting.executeScript({
+ target: { tabId },
+ func,
+ args,
+ });
+ return results[0]?.result;
+ }
+
+ const results = await browser.tabs.executeScript(tabId, {
+ code: `(${func})(${args.map((arg) => JSON.stringify(arg)).join(',')})`,
+ });
+ return results[0];
+}
+
+async function safeExecuteScript(tabId: number, func: any, args: any[] = []) {
+ try {
+ await executeScript(tabId, func, args);
+ } catch {
+ // Best effort cleanup for browsers that reject script execution.
+ }
+}
+
+function dataUrlToBlob(dataUrl: string): Blob {
+ const [meta = '', encodedData = ''] = dataUrl.split(',', 2);
+ const mimeType = meta.match(/^data:(.*?)(;base64)?$/)?.[1] ?? 'image/png';
+
+ if (meta.includes(';base64')) {
+ const binary = atob(encodedData);
+ const bytes = new Uint8Array(binary.length);
+ for (let index = 0; index < binary.length; index++) {
+ bytes[index] = binary.charCodeAt(index);
+ }
+ return new Blob([bytes], { type: mimeType });
+ }
+
+ return new Blob([decodeURIComponent(encodedData)], { type: mimeType });
+}
+
+async function captureVisibleTabScreenshot(): Promise<Blob> {
+ const tabs = await browser.tabs.query({ active: true, currentWindow: true });
+ const tab = tabs[0];
+ if (!tab || !tab.id) {
+ throw new Error('Unable to get the current tab.');
+ }
+ const dataUrl = await browser.tabs.captureVisibleTab(tab.windowId!, {
+ format: 'png',
+ });
+ return dataUrlToBlob(dataUrl);
+}
+
+async function captureFullPageScreenshot(): Promise<Blob> {
+ const tabs = await browser.tabs.query({ active: true, currentWindow: true });
+ const tab = tabs[0];
+ if (!tab || !tab.id) {
+ throw new Error('Unable to get the current tab.');
+ }
+
+ const addHideScrollbarClass = () => {
+ const style = document.createElement('style');
+ style.id = 'hide-scrollbar-style';
+ style.textContent = `
+ .hide-scrollbar::-webkit-scrollbar {
+ display: none;
+ }
+ .hide-scrollbar {
+ -ms-overflow-style: none;
+ scrollbar-width: none;
+ }
+ `;
+ document.head.appendChild(style);
+ document.documentElement.classList.add('hide-scrollbar');
+ document.body.classList.add('hide-scrollbar');
+ };
+
+ const removeHideScrollbarClass = () => {
+ const style = document.getElementById('hide-scrollbar-style');
+ if (style) style.remove();
+ document.documentElement.classList.remove('hide-scrollbar');
+ document.body.classList.remove('hide-scrollbar');
+ };
+
+ const adjustFixedElements = () => {
+ const elements = Array.from(document.querySelectorAll('*'));
+ const originalStyles = elements
+ .filter((el) => {
+ const cs = getComputedStyle(el);
+ return ['fixed', 'sticky'].includes(cs.position);
+ })
+ .map((el) => ({
+ selector: el.tagName.toLowerCase() + (el.id ? `#${el.id}` : ''),
+ position: (el as any).style.position,
+ }));
+
+ elements.forEach((el) => {
+ const cs = getComputedStyle(el);
+ if (['fixed', 'sticky'].includes(cs.position)) {
+ (el as any).style.position = 'relative';
+ }
+ });
+
+ return originalStyles;
+ };
+
+ const restoreFixedElements = (
+ originalStyles: { selector: string; position: string | null }[]
+ ) => {
+ originalStyles.forEach(({ selector, position }) => {
+ const element = document.querySelector(selector);
+ if (element) {
+ (element as HTMLElement).style.position = position || '';
+ }
+ });
+ };
+
+ const addDisableSmoothScrollbarClass = () => {
+ const style = document.createElement('style');
+ style.id = 'disable-smooth-scroll-style';
+ style.textContent = `
+ .disable-smooth-scroll {
+ scroll-behavior: auto !important;
+ }
+ `;
+ document.head.appendChild(style);
+
+ document.documentElement.classList.add('disable-smooth-scroll');
+ document.body.classList.add('disable-smooth-scroll');
+ };
+
+ const removeDisableSmoothScrollbarClass = () => {
+ const style = document.getElementById('disable-smooth-scroll-style');
+ if (style) style.remove();
+
+ document.documentElement.classList.remove('disable-smooth-scroll');
+ document.body.classList.remove('disable-smooth-scroll');
+ };
+
+ await executeScript(tab.id, addHideScrollbarClass);
+ const originalStyles = await executeScript(tab.id, adjustFixedElements);
+ await executeScript(tab.id, addDisableSmoothScrollbarClass);
+
+ const totalHeight = (await executeScript(
+ tab.id,
+ () => document.documentElement.scrollHeight
+ )) as number;
+ const viewportHeight = (await executeScript(
+ tab.id,
+ () => window.innerHeight
+ )) as number;
+ const viewportWidth = (await executeScript(
+ tab.id,
+ () => window.innerWidth
+ )) as number;
+ const dpr = (await executeScript(
+ tab.id,
+ () => window.devicePixelRatio
+ )) as number;
+
+ const numShots = Math.ceil(totalHeight / viewportHeight);
+
+ const blobs: Blob[] = [];
+
+ for (let i = 0; i < numShots; i++) {
+ const currentScroll =
+ i < numShots - 1 ? i * viewportHeight : totalHeight - viewportHeight;
+
+ const finalScroll = currentScroll < 0 ? 0 : currentScroll;
+
+ await executeScript(
+ tab.id,
+ (pos: any) => {
+ document.documentElement.style.scrollBehavior = 'auto';
+ window.scrollTo(0, pos);
+ },
+ [finalScroll]
+ );
+
+ await new Promise((r) => setTimeout(r, 500));
+
+ const dataUrl = await browser.tabs.captureVisibleTab(tab.windowId!, {
+ format: 'png',
+ });
+ blobs.push(dataUrlToBlob(dataUrl));
+ }
+
+ const canvas = document.createElement('canvas');
+ canvas.width = viewportWidth * dpr;
+ canvas.height = totalHeight * dpr;
+
+ const resultBlob = await drawImagesOnCanvas(
+ canvas,
+ blobs,
+ viewportWidth,
+ viewportHeight,
+ totalHeight,
+ dpr
+ );
+
+ await safeExecuteScript(tab.id, removeHideScrollbarClass);
+ await safeExecuteScript(tab.id, restoreFixedElements, [originalStyles]);
+ await safeExecuteScript(tab.id, removeDisableSmoothScrollbarClass);
+
+ return resultBlob;
+}
+
+async function captureScreenshot(): Promise<Blob> {
+ try {
+ return await captureFullPageScreenshot();
+ } catch (fullPageError) {
+ console.warn(
+ 'Full-page screenshot failed, falling back to visible tab capture.',
+ fullPageError
+ );
+ try {
+ return await captureVisibleTabScreenshot();
+ } catch (visibleTabError) {
+ console.error('Visible tab screenshot capture failed.', visibleTabError);
+ throw new Error(
+ 'Screenshot capture is not available for this page.'
+ );
+ }
+ }
+}
+
+export default captureScreenshot;
diff --git a/apps/extension/src/@/lib/utils.ts b/apps/extension/src/@/lib/utils.ts
new file mode 100644
index 00000000..71e73408
--- /dev/null
+++ b/apps/extension/src/@/lib/utils.ts
@@ -0,0 +1,110 @@
+import { type ClassValue, clsx } from 'clsx';
+import { twMerge } from 'tailwind-merge';
+import { checkLinkExists } from './actions/links.ts';
+import { getConfig } from './config.ts';
+
+export function cn(...inputs: ClassValue[]) {
+ return twMerge(clsx(inputs));
+}
+
+export interface TabInfo {
+ url: string;
+ title: string;
+}
+
+export async function getCurrentTabInfo(): Promise<{
+ id: number | undefined;
+ title: string | undefined;
+ url: string | undefined;
+}> {
+ const tabs = await getBrowser().tabs.query({
+ active: true,
+ currentWindow: true,
+ });
+ const { id, url, title } = tabs[0];
+ return { id, url, title };
+}
+
+// Firefox exposes `browser`, Chromium exposes `chrome`. The two are API
+// compatible for everything used here, and the rest of the codebase already
+// refers to the `chrome.*` type namespace, so pin the return type to it rather
+// than leaking a `chrome | browser` union that no call site can narrow.
+export function getBrowser(): typeof chrome {
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
+ //@ts-ignore
+ return typeof browser !== 'undefined' ? browser : chrome;
+}
+
+export function getChromeStorage() {
+ return typeof chrome !== 'undefined' && !!chrome.storage;
+}
+
+export async function getStorageItem(key: string): Promise<string | undefined> {
+ if (getChromeStorage()) {
+ const result = await getBrowser().storage.local.get([key]);
+ return result[key] as string | undefined;
+ } else {
+ const result = await getBrowser().storage.local.get(key);
+ return result[key] as string | undefined;
+ }
+}
+
+export async function setStorageItem(key: string, value: string) {
+ if (getChromeStorage()) {
+ return await chrome.storage.local.set({ [key]: value });
+ } else {
+ await getBrowser().storage.local.set({ [key]: value });
+ return Promise.resolve();
+ }
+}
+
+export function openOptions() {
+ getBrowser().runtime.openOptionsPage();
+}
+
+export function isSafari(): boolean {
+ try {
+ return /^safari-web-extension:/.test(getBrowser().runtime.getURL(''));
+ } catch {
+ return false;
+ }
+}
+
+export function hasAPI(api: string): boolean {
+ const b = getBrowser();
+ let obj: any = b;
+ for (const part of api.split('.')) {
+ if (!obj || typeof obj[part] === 'undefined') return false;
+ obj = obj[part];
+ }
+ return true;
+}
+
+export async function updateBadge(tabId: number | undefined) {
+ if (!tabId) return;
+
+ const browser = getBrowser();
+ const cachedConfig = await getConfig();
+ const linkExists = await checkLinkExists(
+ cachedConfig.baseUrl,
+ cachedConfig.apiKey
+ );
+ if (linkExists) {
+ if (browser.action) {
+ browser.action.setBadgeText({ tabId, text: '✓' });
+ browser.action.setBadgeBackgroundColor({ tabId, color: '#98c0ff' });
+ } else {
+ browser.browserAction.setBadgeText({ tabId, text: '✓' });
+ browser.browserAction.setBadgeBackgroundColor({
+ tabId,
+ color: '#98c0ff',
+ });
+ }
+ } else {
+ if (browser.action) {
+ browser.action.setBadgeText({ tabId, text: '' });
+ } else {
+ browser.browserAction.setBadgeText({ tabId, text: '' });
+ }
+ }
+}
diff --git a/apps/extension/src/@/lib/validators/bookmarkForm.ts b/apps/extension/src/@/lib/validators/bookmarkForm.ts
new file mode 100644
index 00000000..7de8e0f1
--- /dev/null
+++ b/apps/extension/src/@/lib/validators/bookmarkForm.ts
@@ -0,0 +1,25 @@
+import { z } from 'zod';
+
+export const bookmarkFormSchema = z.object({
+ url: z.string().url('This has to be a URL'),
+ collection: z
+ .object({
+ id: z.number().optional(),
+ ownerId: z.number().optional(),
+ name: z.string(),
+ })
+ .optional(),
+ tags: z
+ .array(
+ z.object({
+ id: z.number().optional(),
+ name: z.string(),
+ })
+ )
+ .nullish(),
+ name: z.string(),
+ description: z.string(),
+ image: z.enum(['jpeg', 'png']).optional(),
+});
+
+export type bookmarkFormValues = z.infer<typeof bookmarkFormSchema>;
diff --git a/apps/extension/src/@/lib/validators/config.ts b/apps/extension/src/@/lib/validators/config.ts
new file mode 100644
index 00000000..2c3d6c55
--- /dev/null
+++ b/apps/extension/src/@/lib/validators/config.ts
@@ -0,0 +1,10 @@
+import { z } from 'zod';
+
+export const configSchema = z.object({
+ baseUrl: z.string().url(),
+ defaultCollection: z.string().optional().default('Unorganized'),
+ apiKey: z.string(),
+ syncBookmarks: z.boolean().optional().default(false),
+});
+
+export type configType = z.infer<typeof configSchema>;
diff --git a/apps/extension/src/@/lib/validators/optionsForm.ts b/apps/extension/src/@/lib/validators/optionsForm.ts
new file mode 100644
index 00000000..3033c6c9
--- /dev/null
+++ b/apps/extension/src/@/lib/validators/optionsForm.ts
@@ -0,0 +1,19 @@
+import { z } from 'zod';
+
+export const optionsFormSchema = z.object({
+ baseUrl: z.string().url('This has to be a URL'),
+ username: z.string(),
+ password: z.string(),
+ syncBookmarks: z.boolean().default(false),
+ defaultCollection: z.string().optional().default('Unorganized'),
+ useApiKey: z.boolean().default(false),
+ apiKey: z.string().optional(),
+ method: z.enum(['username', 'apiKey']).default('username'),
+});
+
+export type optionsFormValues = z.infer<typeof optionsFormSchema>;
+
+// Zod 4 distinguishes the schema's input from its output: fields with
+// `.default()` are optional going in and guaranteed coming out. react-hook-form
+// needs both, so `useForm` is parameterised with the input and the output.
+export type optionsFormInput = z.input<typeof optionsFormSchema>;
diff --git a/apps/extension/src/hooks/use-toast.ts b/apps/extension/src/hooks/use-toast.ts
new file mode 100644
index 00000000..b6eecd4a
--- /dev/null
+++ b/apps/extension/src/hooks/use-toast.ts
@@ -0,0 +1,192 @@
+// Inspired by react-hot-toast library
+import * as React from 'react';
+
+import type {
+ ToastActionElement,
+ ToastProps,
+} from '../@/components/ui/Toast.tsx';
+
+const TOAST_LIMIT = 1;
+const TOAST_REMOVE_DELAY = 1000000;
+
+type ToasterToast = ToastProps & {
+ id: string
+ title?: React.ReactNode
+ description?: React.ReactNode
+ action?: ToastActionElement
+}
+
+const actionTypes = {
+ ADD_TOAST: 'ADD_TOAST',
+ UPDATE_TOAST: 'UPDATE_TOAST',
+ DISMISS_TOAST: 'DISMISS_TOAST',
+ REMOVE_TOAST: 'REMOVE_TOAST',
+} as const;
+
+let count = 0;
+
+function genId() {
+ count = (count + 1) % Number.MAX_VALUE;
+ return count.toString();
+}
+
+type ActionType = typeof actionTypes
+
+type Action =
+ | {
+ type: ActionType['ADD_TOAST']
+ toast: ToasterToast
+}
+ | {
+ type: ActionType['UPDATE_TOAST']
+ toast: Partial<ToasterToast>
+}
+ | {
+ type: ActionType['DISMISS_TOAST']
+ toastId?: ToasterToast['id']
+}
+ | {
+ type: ActionType['REMOVE_TOAST']
+ toastId?: ToasterToast['id']
+}
+
+interface State {
+ toasts: ToasterToast[];
+}
+
+const toastTimeouts = new Map<string, ReturnType<typeof setTimeout>>();
+
+const addToRemoveQueue = (toastId: string) => {
+ if (toastTimeouts.has(toastId)) {
+ return;
+ }
+
+ const timeout = setTimeout(() => {
+ toastTimeouts.delete(toastId);
+ dispatch({
+ type: 'REMOVE_TOAST',
+ toastId: toastId,
+ });
+ }, TOAST_REMOVE_DELAY);
+
+ toastTimeouts.set(toastId, timeout);
+};
+
+export const reducer = (state: State, action: Action): State => {
+ switch (action.type) {
+ case 'ADD_TOAST':
+ return {
+ ...state,
+ toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT),
+ };
+
+ case 'UPDATE_TOAST':
+ return {
+ ...state,
+ toasts: state.toasts.map((t) =>
+ t.id === action.toast.id ? { ...t, ...action.toast } : t,
+ ),
+ };
+
+ case 'DISMISS_TOAST': {
+ const { toastId } = action;
+
+ // ! Side effects ! - This could be extracted into a dismissToast() action,
+ // but I'll keep it here for simplicity
+ if (toastId) {
+ addToRemoveQueue(toastId);
+ } else {
+ state.toasts.forEach((toast) => {
+ addToRemoveQueue(toast.id);
+ });
+ }
+
+ return {
+ ...state,
+ toasts: state.toasts.map((t) =>
+ t.id === toastId || toastId === undefined
+ ? {
+ ...t,
+ open: false,
+ }
+ : t,
+ ),
+ };
+ }
+ case 'REMOVE_TOAST':
+ if (action.toastId === undefined) {
+ return {
+ ...state,
+ toasts: [],
+ };
+ }
+ return {
+ ...state,
+ toasts: state.toasts.filter((t) => t.id !== action.toastId),
+ };
+ }
+};
+
+const listeners: Array<(state: State) => void> = [];
+
+let memoryState: State = { toasts: [] };
+
+function dispatch(action: Action) {
+ memoryState = reducer(memoryState, action);
+ listeners.forEach((listener) => {
+ listener(memoryState);
+ });
+}
+
+type Toast = Omit<ToasterToast, 'id'>
+
+function toast({ ...props }: Toast) {
+ const id = genId();
+
+ const update = (props: ToasterToast) =>
+ dispatch({
+ type: 'UPDATE_TOAST',
+ toast: { ...props, id },
+ });
+ const dismiss = () => dispatch({ type: 'DISMISS_TOAST', toastId: id });
+
+ dispatch({
+ type: 'ADD_TOAST',
+ toast: {
+ ...props,
+ id,
+ open: true,
+ onOpenChange: (open: boolean) => {
+ if (!open) dismiss();
+ },
+ },
+ });
+
+ return {
+ id: id,
+ dismiss,
+ update,
+ };
+}
+
+function useToast() {
+ const [state, setState] = React.useState<State>(memoryState);
+
+ React.useEffect(() => {
+ listeners.push(setState);
+ return () => {
+ const index = listeners.indexOf(setState);
+ if (index > -1) {
+ listeners.splice(index, 1);
+ }
+ };
+ }, [state]);
+
+ return {
+ ...state,
+ toast,
+ dismiss: (toastId?: string) => dispatch({ type: 'DISMISS_TOAST', toastId }),
+ };
+}
+
+export { useToast, toast };
diff --git a/apps/extension/src/pages/Background/index.ts b/apps/extension/src/pages/Background/index.ts
new file mode 100644
index 00000000..e8ee3e71
--- /dev/null
+++ b/apps/extension/src/pages/Background/index.ts
@@ -0,0 +1,425 @@
+import {
+ getBrowser,
+ getCurrentTabInfo,
+ hasAPI,
+ isSafari,
+ updateBadge,
+} from '../../@/lib/utils.ts';
+// import BookmarkTreeNode = chrome.bookmarks.BookmarkTreeNode;
+import { getConfig, isConfigured } from '../../@/lib/config.ts';
+import {
+ // deleteLinkFetch,
+ // updateLinkFetch,
+ postLinkFetch,
+} from '../../@/lib/actions/links.ts';
+import {
+ bookmarkMetadata,
+ // deleteBookmarkMetadata,
+ // getBookmarkMetadataByBookmarkId,
+ // getBookmarkMetadataByUrl,
+ getBookmarksMetadata,
+ saveBookmarkMetadata,
+} from '../../@/lib/cache.ts';
+import OnClickData = chrome.contextMenus.OnClickData;
+
+// @types/chrome models these as TS enums, but the runtime APIs take and hand
+// back plain strings, so use the string form of each enum.
+type ContextType = `${chrome.contextMenus.ContextType}`;
+type OnInputEnteredDisposition = `${chrome.omnibox.OnInputEnteredDisposition}`;
+// import {
+// getCsrfTokenFetch,
+// getSessionFetch,
+// performLoginOrLogoutFetch,
+// } from '../../@/lib/auth/auth.ts';
+
+const browser = getBrowser();
+
+// This is the main functions that will be called when a bookmark is created, update or deleted
+// Won't work with axios xhr or something not supported by the browser
+
+// browser.bookmarks.onCreated.addListener(
+// async (_id: string, bookmark: BookmarkTreeNode) => {
+// try {
+// const { syncBookmarks, baseUrl, username, password } = await getConfig();
+// if (!syncBookmarks || !bookmark.url) {
+// return;
+// }
+// const session = await getSessionFetch(baseUrl);
+
+// // Check if the bookmark already exists in the server by checking the url so, it doesn't create duplicates
+// // I know, could use the method search from the api, but I want to avoid as much api specific calls as possible
+// // in case isn't supported, so I prefer to do it this way, if performance is an issue I will think of change to that.
+
+// const existingLink = await getBookmarkMetadataByUrl(bookmark.url);
+// if (existingLink) {
+// return;
+// }
+
+// if (!session) {
+// const csrfToken = await getCsrfTokenFetch(baseUrl);
+
+// await performLoginOrLogoutFetch(
+// `${baseUrl}/api/v1/auth/callback/credentials`,
+// {
+// csrfToken: csrfToken,
+// callbackUrl: `${baseUrl}/api/v1/auth/callback`,
+// json: true,
+// redirect: false,
+// username: username,
+// password: password,
+// }
+// );
+// }
+
+// const newLink = await postLinkFetch(baseUrl, {
+// url: bookmark.url,
+// collection: {
+// name: 'Unorganized',
+// },
+// tags: [],
+// name: bookmark.title,
+// description: bookmark.title,
+// });
+
+// const newLinkJson = await newLink.json();
+// const newLinkUrl: bookmarkMetadata = newLinkJson.response;
+// newLinkUrl.bookmarkId = bookmark.id;
+
+// await saveBookmarkMetadata(newLinkUrl);
+// } catch (error) {
+// console.error(error);
+// }
+// }
+// );
+
+// browser.bookmarks.onChanged.addListener(
+// async (id: string, changeInfo: chrome.bookmarks.BookmarkChangeInfo) => {
+// try {
+// const { syncBookmarks, baseUrl, username, password, usingSSO } =
+// await getConfig();
+// if (!syncBookmarks || !changeInfo.url) {
+// return;
+// }
+
+// const link = await getBookmarkMetadataByBookmarkId(id);
+
+// if (!link) {
+// return;
+// }
+
+// const session = await getSessionFetch(baseUrl);
+
+// if (!session && !usingSSO) {
+// const csrfToken = await getCsrfTokenFetch(baseUrl);
+
+// await performLoginOrLogoutFetch(
+// `${baseUrl}/api/v1/auth/callback/credentials`,
+// {
+// csrfToken: csrfToken,
+// callbackUrl: `${baseUrl}/api/v1/auth/callback`,
+// json: true,
+// redirect: false,
+// username: username,
+// password: password,
+// }
+// );
+// } else if (!session && usingSSO) {
+// return;
+// }
+
+// const updatedLink = await updateLinkFetch(baseUrl, link.id, {
+// url: changeInfo.url,
+// collection: {
+// name: 'Unorganized',
+// },
+// tags: [],
+// name: changeInfo.title,
+// description: changeInfo.title,
+// });
+
+// const updatedLinkJson = await updatedLink.json();
+// const newLinkUrl: bookmarkMetadata = updatedLinkJson.response;
+// newLinkUrl.bookmarkId = id;
+
+// await saveBookmarkMetadata(newLinkUrl);
+// } catch (error) {
+// console.error(error);
+// }
+// }
+// );
+
+// browser.bookmarks.onRemoved.addListener(
+// async (id: string, removeInfo: chrome.bookmarks.BookmarkRemoveInfo) => {
+// try {
+// const { syncBookmarks, baseUrl } =
+// await getConfig();
+// if (!syncBookmarks || !removeInfo.node.url) {
+// return;
+// }
+// const link = await getBookmarkMetadataByBookmarkId(id);
+
+// if (!link) {
+// return;
+// }
+
+// const session = await getSessionFetch(baseUrl);
+
+// if (!session) {
+// const csrfToken = await getCsrfTokenFetch(baseUrl);
+
+// await performLoginOrLogoutFetch(
+// `${baseUrl}/api/v1/auth/callback/credentials`,
+// {
+// csrfToken: csrfToken,
+// callbackUrl: `${baseUrl}/api/v1/auth/callback`,
+// json: true,
+// redirect: false,
+// username: username,
+// password: password,
+// }
+// );
+// } else if (!session && usingSSO) {
+// return;
+// }
+
+// await Promise.all([
+// deleteBookmarkMetadata(link.bookmarkId),
+// deleteLinkFetch(baseUrl, link.id),
+// ]);
+// } catch (error) {
+// console.error(error);
+// }
+// }
+// );
+
+// This is for the context menus!
+// Example taken from: https://github.com/GoogleChrome/chrome-extensions-samples/blob/main/api-samples/contextMenus/basic/sample.js
+browser.contextMenus.onClicked.addListener(async (info, tab) => {
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
+ // @ts-ignore
+ await genericOnClick(info, tab);
+});
+
+// A generic onclick callback function.
+async function genericOnClick(
+ info: OnClickData,
+ tab: chrome.tabs.Tab | undefined
+) {
+ const { syncBookmarks, baseUrl } = await getConfig();
+ const configured = await isConfigured();
+ if (!tab?.url || !tab?.title || !configured) {
+ return;
+ }
+ switch (info.menuItemId) {
+ case 'save-all-tabs': {
+ const tabs = await browser.tabs.query({ currentWindow: true });
+ const config = await getConfig();
+
+ for (const tab of tabs) {
+ if (
+ tab.url &&
+ !tab.url.startsWith('chrome://') &&
+ !tab.url.startsWith('about:')
+ ) {
+ try {
+ if (new URL(tab.url))
+ await postLinkFetch(
+ config.baseUrl,
+ {
+ url: tab.url,
+ name: tab.title || '',
+ description: tab.title || '',
+ collection: {
+ name: config.defaultCollection,
+ },
+ tags: [],
+ },
+ config.apiKey
+ );
+ } catch (error) {
+ console.error(`Failed to save tab: ${tab.url}`, error);
+ }
+ }
+ }
+ break;
+ }
+ default:
+ // Handle cases where sync is enabled or not
+ if (syncBookmarks && hasAPI('bookmarks.create')) {
+ browser.bookmarks.create({
+ parentId: '1',
+ title: tab.title,
+ url: tab.url,
+ });
+ } else {
+ const config = await getConfig();
+
+ try {
+ const newLink = await postLinkFetch(
+ baseUrl,
+ {
+ url: tab.url,
+ collection: {
+ name: 'Unorganized',
+ },
+ tags: [],
+ name: tab.title,
+ description: tab.title,
+ },
+ config.apiKey
+ );
+
+ const newLinkJson = await newLink.json();
+ const newLinkUrl: bookmarkMetadata = newLinkJson.response;
+ newLinkUrl.bookmarkId = tab.id?.toString();
+
+ await saveBookmarkMetadata(newLinkUrl);
+ } catch (error) {
+ console.error(error);
+ }
+ }
+ }
+}
+browser.runtime.onInstalled.addListener(async function () {
+ // Create one test item for each context type.
+ const contexts: ContextType[] = isSafari()
+ ? ['page', 'selection', 'link']
+ : ['page', 'selection', 'link', 'editable', 'image', 'video', 'audio'];
+ for (const context of contexts) {
+ const title: string = 'Add link to Linkwarden';
+ browser.contextMenus.create({
+ title: title,
+ contexts: [context],
+ id: context,
+ });
+ }
+ browser.contextMenus.create({
+ id: 'save-all-tabs',
+ title: 'Save all tabs to Linkwarden',
+ contexts: ['page'],
+ });
+
+ const { id: tabId } = await getCurrentTabInfo();
+ await updateBadge(tabId);
+});
+
+browser.tabs.onActivated.addListener(async ({ tabId }) => {
+ try {
+ await updateBadge(tabId);
+ } catch (error) {
+ console.error(`Error checking tab ${tabId} on activation:`, error);
+ }
+});
+
+browser.tabs.onUpdated.addListener(async (tabId) => {
+ try {
+ await updateBadge(tabId);
+ } catch (error) {
+ console.error(`Error checking tab ${tabId} on activation:`, error);
+ }
+});
+
+// Listen for URL changes (navigation, page loads)
+browser.tabs.onUpdated.addListener(async (tabId, changeInfo, tab) => {
+ try {
+ if (changeInfo.status === 'complete' && tab?.active) {
+ await updateBadge(tabId);
+ }
+ } catch (error) {
+ console.error(`Error checking tab ${tabId} on update:`, error);
+ }
+});
+
+// On extension startup - check current tab
+(async () => {
+ try {
+ const [tab] = await browser.tabs.query({
+ active: true,
+ currentWindow: true,
+ });
+ if (tab?.id) {
+ await updateBadge(tab.id);
+ }
+ } catch (error) {
+ console.error(`Error checking tab on startup:`, error);
+ }
+})();
+
+// Omnibox implementation (not available in Safari)
+
+if (hasAPI('omnibox.onInputStarted')) {
+ browser.omnibox.onInputStarted.addListener(async () => {
+ const configured = await isConfigured();
+ const description = configured
+ ? 'Search links in linkwarden'
+ : 'Please configure the extension first';
+
+ browser.omnibox.setDefaultSuggestion({
+ description: description,
+ });
+ });
+
+ browser.omnibox.onInputChanged.addListener(
+ async (
+ text: string,
+ suggest: (arg0: { content: string; description: string }[]) => void
+ ) => {
+ const configured = await isConfigured();
+
+ if (!configured) {
+ return;
+ }
+
+ const currentBookmarks = await getBookmarksMetadata();
+
+ const searchedBookmarks = currentBookmarks.filter((bookmark) => {
+ return bookmark.name?.includes(text) || bookmark.url.includes(text);
+ });
+
+ const bookmarkSuggestions = searchedBookmarks.map((bookmark) => {
+ return {
+ content: bookmark.url,
+ description: bookmark.name || bookmark.url,
+ };
+ });
+ suggest(bookmarkSuggestions);
+ }
+ );
+
+ // This part was taken https://github.com/sissbruecker/linkding-extension/blob/master/src/background.js Thanks to @sissbruecker
+
+ browser.omnibox.onInputEntered.addListener(
+ async (content: string, disposition: OnInputEnteredDisposition) => {
+ if (!(await isConfigured()) || !content) {
+ return;
+ }
+
+ const isUrl = /^http(s)?:\/\//.test(content);
+ const url = isUrl ? content : `lk`;
+
+ // Edge doesn't allow updating the New Tab Page (tested with version 117).
+ // Trying to do so will throw: "Error: Cannot update NTP tab."
+ // As a workaround, open a new tab instead.
+ if (disposition === 'currentTab') {
+ const tabInfo = await getCurrentTabInfo();
+ if (tabInfo.url === 'edge://newtab/') {
+ disposition = 'newForegroundTab';
+ }
+ }
+
+ switch (disposition) {
+ case 'currentTab':
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
+ // @ts-ignore
+ await browser.tabs.update({ url });
+ break;
+ case 'newForegroundTab':
+ await browser.tabs.create({ url });
+ break;
+ case 'newBackgroundTab':
+ await browser.tabs.create({ url, active: false });
+ break;
+ }
+ }
+ );
+}
diff --git a/apps/extension/src/pages/Options/App.tsx b/apps/extension/src/pages/Options/App.tsx
new file mode 100644
index 00000000..422ceb93
--- /dev/null
+++ b/apps/extension/src/pages/Options/App.tsx
@@ -0,0 +1,34 @@
+import WholeContainer from '../../@/components/WholeContainer.tsx';
+import Container from '../../@/components/Container.tsx';
+import { Separator } from '../../@/components/ui/Separator.tsx';
+import OptionsForm from '../../@/components/OptionsForm.tsx';
+
+const App = () => {
+ return (
+ <WholeContainer className="max-h-[750px]">
+ <Container>
+ <div className="justify-center items-center p-2 flex">
+ <h1 className="text-lg">Options configuration</h1>
+ </div>
+ <div>
+ <Separator />
+ <p className="text-base pt-2">
+ This is a extension for the{' '}
+ <a
+ href="https://github.com/linkwarden/linkwarden"
+ rel="noopener"
+ target="_blank"
+ className="text-blue-400 hover:text-blue-500 duration-100 hover:underline"
+ >
+ Linkwarden
+ </a>
+ . Please fill out the following text boxes accordingly.
+ </p>
+ </div>
+ <OptionsForm />
+ </Container>
+ </WholeContainer>
+ );
+};
+
+export default App;
diff --git a/apps/extension/src/pages/Options/Options.tsx b/apps/extension/src/pages/Options/Options.tsx
new file mode 100644
index 00000000..76f8184e
--- /dev/null
+++ b/apps/extension/src/pages/Options/Options.tsx
@@ -0,0 +1,17 @@
+import React from 'react';
+import ReactDOM from 'react-dom/client';
+import '../Popup/index.css';
+import App from './App.tsx';
+import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
+import { ThemeProvider } from '../../@/components/ThemeProvider.tsx';
+
+const queryClient = new QueryClient();
+ReactDOM.createRoot(document.getElementById('options')!).render(
+ <React.StrictMode>
+ <QueryClientProvider client={queryClient}>
+ <ThemeProvider defaultTheme="system" storageKey="vite-ui-theme">
+ <App />
+ </ThemeProvider>
+ </QueryClientProvider>
+ </React.StrictMode>,
+);
diff --git a/apps/extension/src/pages/Options/options.html b/apps/extension/src/pages/Options/options.html
new file mode 100644
index 00000000..5f472bda
--- /dev/null
+++ b/apps/extension/src/pages/Options/options.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<html lang='en'>
+<head>
+ <meta charset='UTF-8' />
+ <link rel='icon' type='image/svg+xml' href='/favicon-32x32.png' />
+ <meta name='viewport' content='width=device-width, initial-scale=1.0' />
+ <title>Linkwarden Extension</title>
+</head>
+<body>
+<div id='options'></div>
+<script type='module' src='/src/pages/Options/Options.tsx'></script>
+</body>
+</html>
diff --git a/apps/extension/src/pages/Popup/App.tsx b/apps/extension/src/pages/Popup/App.tsx
new file mode 100644
index 00000000..f92f0cb8
--- /dev/null
+++ b/apps/extension/src/pages/Popup/App.tsx
@@ -0,0 +1,67 @@
+import Container from '../../@/components/Container.tsx';
+import WholeContainer from '../../@/components/WholeContainer.tsx';
+import BookmarkForm from '../../@/components/BookmarkForm.tsx';
+import { openOptions } from '../../@/lib/utils.ts';
+import { useEffect, useState } from 'react';
+import { getConfig, isConfigured } from '../../@/lib/config.ts';
+import NotConfigured from '../../@/components/NotConfigured.tsx';
+import { ModeToggle } from '../../@/components/ModeToggle.tsx';
+import { Button } from '@/@/components/ui/Button.tsx';
+import { Settings } from 'lucide-react';
+
+function App() {
+ const [isAllConfigured, setIsAllConfigured] = useState<boolean>();
+ const [baseUrl, setBaseUrl] = useState<string>();
+
+ useEffect(() => {
+ (async () => {
+ const cachedOptions = await isConfigured();
+ const cachedConfig = await getConfig();
+
+ setBaseUrl(cachedConfig.baseUrl);
+ setIsAllConfigured(cachedOptions);
+ })();
+ }, []);
+
+ return (
+ <WholeContainer>
+ <Container>
+ <div className="flex justify-between w-full items-center">
+ <div className="flex space-x-2 w-full items-center">
+ <a
+ href={baseUrl}
+ rel="noopener"
+ target="_blank"
+ referrerPolicy="no-referrer"
+ className="hover:opacity-80 duration-200 rounded ease-in-out"
+ >
+ <img
+ src="./128.png"
+ height="30px"
+ width="30px"
+ className="rounded"
+ alt="Linkwarden Logo"
+ />
+ </a>
+ <h1 className="text-lg">Add Link</h1>
+ </div>
+ <div className="flex items-center justify-center space-x-2">
+ <ModeToggle />
+ <Button
+ variant="ghost"
+ size="icon"
+ className="ring-0 focus:ring-0 outline-none focus:outline-none ring-offset-0 focus:ring-offset-0 focus-visible:ring-offset-0 focus-visible:ring-0 focus-visible:outline-none"
+ onClick={openOptions}
+ >
+ <Settings className="h-[1.2rem] w-[1.2rem] transition-colors" />
+ </Button>
+ </div>
+ </div>
+ <BookmarkForm />
+ <NotConfigured open={!isAllConfigured} />
+ </Container>
+ </WholeContainer>
+ );
+}
+
+export default App;
diff --git a/apps/extension/src/pages/Popup/index.css b/apps/extension/src/pages/Popup/index.css
new file mode 100644
index 00000000..3ad0cf8e
--- /dev/null
+++ b/apps/extension/src/pages/Popup/index.css
@@ -0,0 +1,102 @@
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
+
+@layer base {
+ :root {
+ --background: 0 0% 100%;
+ --foreground: 222.2 84% 4.9%;
+
+ --muted: 210 40% 96.1%;
+ --muted-foreground: 215.4 16.3% 46.9%;
+
+ --popover: 0 0% 100%;
+ --popover-foreground: 222.2 84% 4.9%;
+
+ --card: 0 0% 100%;
+ --card-foreground: 222.2 84% 4.9%;
+
+ --border: 214.3 31.8% 91.4%;
+ --input: 214.3 31.8% 91.4%;
+
+ --primary: 222.2 47.4% 11.2%;
+ --primary-foreground: 210 40% 98%;
+
+ --secondary: 210 40% 96.1%;
+ --secondary-foreground: 222.2 47.4% 11.2%;
+
+ --accent: 210 40% 96.1%;
+ --accent-foreground: 222.2 47.4% 11.2%;
+
+ --destructive: 0 84.2% 60.2%;
+ --destructive-foreground: 210 40% 98%;
+
+ --ring: 215 20.2% 65.1%;
+
+ --radius: 0.5rem;
+ }
+
+ .dark {
+ --background: 222.2 0% 4.9%;
+ --foreground: 210 0% 98%;
+
+ --muted: 217.2 0% 17.5%;
+ --muted-foreground: 215 0% 65.1%;
+
+ --popover: 222.2 0% 4.9%;
+ --popover-foreground: 210 0% 98%;
+
+ --card: 222.2 0% 4.9%;
+ --card-foreground: 210 0% 98%;
+
+ --border: 217.2 0% 17.5%;
+ --input: 217.2 0% 17.5%;
+
+ --primary: 210 0% 98%;
+ --primary-foreground: 222.2 0% 11.2%;
+
+ --secondary: 217.2 0% 17.5%;
+ --secondary-foreground: 210 0% 98%;
+
+ --accent: 217.2 0% 17.5%;
+ --accent-foreground: 210 0% 98%;
+
+ --destructive: 0 0% 30.6%;
+ --destructive-foreground: 0 0% 97.3%;
+
+ --ring: 217.2 0% 17.5%;
+ }
+}
+
+@layer base {
+ * {
+ @apply border-border;
+ }
+
+ body {
+ @apply bg-background text-foreground;
+ }
+}
+
+.details > summary {
+ list-style: none;
+}
+
+.details > summary::-webkit-details-marker {
+ display: none;
+}
+
+@keyframes fadeUp {
+ from {
+ opacity: 0;
+ margin-top: 0.3rem;
+ }
+ to {
+ opacity: 1;
+ margin-top: 0;
+ }
+}
+
+.fade-up {
+ animation: fadeUp 100ms ease-in forwards;
+}
diff --git a/apps/extension/src/pages/Popup/main.tsx b/apps/extension/src/pages/Popup/main.tsx
new file mode 100644
index 00000000..f814b848
--- /dev/null
+++ b/apps/extension/src/pages/Popup/main.tsx
@@ -0,0 +1,17 @@
+import React from 'react';
+import ReactDOM from 'react-dom/client';
+import App from './App.tsx';
+import './index.css';
+import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
+import { ThemeProvider } from '../../@/components/ThemeProvider.tsx';
+
+const queryClient = new QueryClient();
+ReactDOM.createRoot(document.getElementById('root')!).render(
+ <React.StrictMode>
+ <QueryClientProvider client={queryClient}>
+ <ThemeProvider defaultTheme="system" storageKey="vite-ui-theme">
+ <App />
+ </ThemeProvider>
+ </QueryClientProvider>
+ </React.StrictMode>,
+);
diff --git a/apps/extension/src/vite-env.d.ts b/apps/extension/src/vite-env.d.ts
new file mode 100644
index 00000000..11f02fe2
--- /dev/null
+++ b/apps/extension/src/vite-env.d.ts
@@ -0,0 +1 @@
+/// <reference types="vite/client" />
diff --git a/apps/extension/tailwind.config.js b/apps/extension/tailwind.config.js
new file mode 100644
index 00000000..0377ea1d
--- /dev/null
+++ b/apps/extension/tailwind.config.js
@@ -0,0 +1,76 @@
+/** @type {import('tailwindcss').Config} */
+module.exports = {
+ darkMode: ["class"],
+ content: [
+ './pages/**/*.{ts,tsx}',
+ './components/**/*.{ts,tsx}',
+ './app/**/*.{ts,tsx}',
+ './src/**/*.{ts,tsx}',
+ ],
+ theme: {
+ container: {
+ center: true,
+ padding: "2rem",
+ screens: {
+ "2xl": "1400px",
+ },
+ },
+ extend: {
+ colors: {
+ border: "hsl(var(--border))",
+ input: "hsl(var(--input))",
+ ring: "hsl(var(--ring))",
+ background: "hsl(var(--background))",
+ foreground: "hsl(var(--foreground))",
+ primary: {
+ DEFAULT: "hsl(var(--primary))",
+ foreground: "hsl(var(--primary-foreground))",
+ },
+ secondary: {
+ DEFAULT: "hsl(var(--secondary))",
+ foreground: "hsl(var(--secondary-foreground))",
+ },
+ destructive: {
+ DEFAULT: "hsl(var(--destructive))",
+ foreground: "hsl(var(--destructive-foreground))",
+ },
+ muted: {
+ DEFAULT: "hsl(var(--muted))",
+ foreground: "hsl(var(--muted-foreground))",
+ },
+ accent: {
+ DEFAULT: "hsl(var(--accent))",
+ foreground: "hsl(var(--accent-foreground))",
+ },
+ popover: {
+ DEFAULT: "hsl(var(--popover))",
+ foreground: "hsl(var(--popover-foreground))",
+ },
+ card: {
+ DEFAULT: "hsl(var(--card))",
+ foreground: "hsl(var(--card-foreground))",
+ },
+ },
+ borderRadius: {
+ lg: "var(--radius)",
+ md: "calc(var(--radius) - 2px)",
+ sm: "calc(var(--radius) - 4px)",
+ },
+ keyframes: {
+ "accordion-down": {
+ from: { height: 0 },
+ to: { height: "var(--radix-accordion-content-height)" },
+ },
+ "accordion-up": {
+ from: { height: "var(--radix-accordion-content-height)" },
+ to: { height: 0 },
+ },
+ },
+ animation: {
+ "accordion-down": "accordion-down 0.2s ease-out",
+ "accordion-up": "accordion-up 0.2s ease-out",
+ },
+ },
+ },
+ plugins: [require("tailwindcss-animate")],
+}
\ No newline at end of file
diff --git a/apps/extension/tsconfig.json b/apps/extension/tsconfig.json
new file mode 100644
index 00000000..07539a78
--- /dev/null
+++ b/apps/extension/tsconfig.json
@@ -0,0 +1,39 @@
+{
+ "compilerOptions": {
+ "target": "ES2020",
+ "useDefineForClassFields": true,
+ "lib": [
+ "ES2020",
+ "DOM",
+ "DOM.Iterable"
+ ],
+ "module": "ESNext",
+ "skipLibCheck": true,
+ "baseUrl": ".",
+ "paths": {
+ "@/*": [
+ "./src/*"
+ ]
+ },
+ /* Bundler mode */
+ "moduleResolution": "bundler",
+ "allowImportingTsExtensions": true,
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "noEmit": true,
+ "jsx": "react-jsx",
+ /* Linting */
+ "strict": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "noFallthroughCasesInSwitch": true
+ },
+ "include": [
+ "src"
+ ],
+ "references": [
+ {
+ "path": "./tsconfig.node.json"
+ }
+ ],
+}
diff --git a/apps/extension/tsconfig.node.json b/apps/extension/tsconfig.node.json
new file mode 100644
index 00000000..6eeef8b2
--- /dev/null
+++ b/apps/extension/tsconfig.node.json
@@ -0,0 +1,10 @@
+{
+ "compilerOptions": {
+ "composite": true,
+ "skipLibCheck": true,
+ "module": "ESNext",
+ "moduleResolution": "bundler",
+ "allowSyntheticDefaultImports": true
+ },
+ "include": ["vite.config.ts"],
+}
diff --git a/apps/extension/vite.config.ts b/apps/extension/vite.config.ts
new file mode 100644
index 00000000..fa53c11a
--- /dev/null
+++ b/apps/extension/vite.config.ts
@@ -0,0 +1,53 @@
+import fs from 'fs';
+import path from 'path';
+import react from '@vitejs/plugin-react';
+import { defineConfig, type Plugin } from 'vite';
+
+// `vite build --watch` never returns, so the `cp ./manifest.json` step in the
+// build scripts is unreachable while watching. The dev builds copy the manifest
+// themselves instead. `build` and `build:safari` are untouched and keep copying
+// their own manifest, which is what picks manifest.safari.json for Safari.
+const isWatch = process.argv.includes('--watch') || process.argv.includes('-w');
+
+function devManifest(): Plugin {
+ let outDir = path.resolve(__dirname, 'dist');
+
+ return {
+ name: 'linkwarden:dev-manifest',
+ apply: 'build',
+ configResolved(config) {
+ outDir = path.resolve(config.root, config.build.outDir);
+ },
+ writeBundle() {
+ fs.copyFileSync(
+ path.resolve(__dirname, 'manifest.json'),
+ path.join(outDir, 'manifest.json')
+ );
+ },
+ };
+}
+
+export default defineConfig({
+ plugins: [react(), ...(isWatch ? [devManifest()] : [])],
+ resolve: {
+ alias: {
+ '@': path.resolve(__dirname, './src'),
+ },
+ },
+ build: {
+ // While watching, leave the previous output in place so web-ext always has
+ // a complete extension to read. Rebuilds overwrite files rather than
+ // clearing the directory out from under it.
+ emptyOutDir: !isWatch,
+ rollupOptions: {
+ input: {
+ main: path.resolve(__dirname, 'index.html'),
+ options: path.resolve(__dirname, 'src/pages/Options/options.html'),
+ background: path.resolve(__dirname, 'src/pages/Background/index.ts'),
+ },
+ output: {
+ entryFileNames: '[name].js',
+ },
+ },
+ },
+});
diff --git a/yarn.lock b/yarn.lock
index 76cbffcf..4a672a33 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1478,7 +1478,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/core@npm:^7.29.7":
+"@babel/core@npm:^7.29.0, @babel/core@npm:^7.29.7":
version: 7.29.7
resolution: "@babel/core@npm:7.29.7"
dependencies:
@@ -1839,6 +1839,13 @@ __metadata:
languageName: node
linkType: hard
+"@babel/helper-plugin-utils@npm:^7.29.7":
+ version: 7.29.7
+ resolution: "@babel/helper-plugin-utils@npm:7.29.7"
+ checksum: 10c0/380477a06133274a2759f9355929cb60a95e8b8fee624a1ae1fa349e1d1645b89daca456f72833f6d1062bffa12ee4271c5bf0cc5a61c0166cdc24c7591e2408
+ languageName: node
+ linkType: hard
+
"@babel/helper-remap-async-to-generator@npm:^7.25.9":
version: 7.25.9
resolution: "@babel/helper-remap-async-to-generator@npm:7.25.9"
@@ -2774,6 +2781,17 @@ __metadata:
languageName: node
linkType: hard
+"@babel/plugin-transform-react-jsx-self@npm:^7.27.1":
+ version: 7.29.7
+ resolution: "@babel/plugin-transform-react-jsx-self@npm:7.29.7"
+ dependencies:
+ "@babel/helper-plugin-utils": "npm:^7.29.7"
+ peerDependencies:
+ "@babel/core": ^7.0.0-0
+ checksum: 10c0/288995f0fd0d61ab740a315fb56c8255eb87dd4a4ac2ac7d0fdd4ce173c3878200141e80da2db0e598c7b2a71e74e604afdbb4c8e14ae6e0527ce0b6294c03da
+ languageName: node
+ linkType: hard
+
"@babel/plugin-transform-react-jsx-source@npm:^7.24.7":
version: 7.25.9
resolution: "@babel/plugin-transform-react-jsx-source@npm:7.25.9"
@@ -2785,6 +2803,17 @@ __metadata:
languageName: node
linkType: hard
+"@babel/plugin-transform-react-jsx-source@npm:^7.27.1":
+ version: 7.29.7
+ resolution: "@babel/plugin-transform-react-jsx-source@npm:7.29.7"
+ dependencies:
+ "@babel/helper-plugin-utils": "npm:^7.29.7"
+ peerDependencies:
+ "@babel/core": ^7.0.0-0
+ checksum: 10c0/a121899631e6d99b9e1b276acf736dbb77948a31f8eeeae67b89c8a4ab0f05e51ba64544baa06c286a2b9944f227244e15aac464e2313d286d0511fe51e27975
+ languageName: node
+ linkType: hard
+
"@babel/plugin-transform-react-jsx@npm:^7.25.2, @babel/plugin-transform-react-jsx@npm:^7.25.9":
version: 7.25.9
resolution: "@babel/plugin-transform-react-jsx@npm:7.25.9"
@@ -3005,6 +3034,13 @@ __metadata:
languageName: node
linkType: hard
+"@babel/runtime@npm:8.0.0":
+ version: 8.0.0
+ resolution: "@babel/runtime@npm:8.0.0"
+ checksum: 10c0/450857cf52b3a3935d4aad505277201361c86185dad3bdd2ae083d78b76c6265c7fc7610e170c80de1b825d5bfdcfb50697f0853fff922b2661c91cff1fbbd81
+ languageName: node
+ linkType: hard
+
"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.12.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.18.6, @babel/runtime@npm:^7.20.0, @babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.23.9, @babel/runtime@npm:^7.25.0, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2":
version: 7.27.0
resolution: "@babel/runtime@npm:7.27.0"
@@ -3186,6 +3222,37 @@ __metadata:
languageName: node
linkType: hard
+"@devicefarmer/adbkit-logcat@npm:^2.1.2":
+ version: 2.1.3
+ resolution: "@devicefarmer/adbkit-logcat@npm:2.1.3"
+ checksum: 10c0/d8d6108a0c47f994fd3073f19c8de9e38c6c70b420c55be3fc1a924b873f35cb24120f11e0173ab94c2f14e190f575ff62dc7de801b3272d56f6e46c4be8cde1
+ languageName: node
+ linkType: hard
+
+"@devicefarmer/adbkit-monkey@npm:~1.2.1":
+ version: 1.2.1
+ resolution: "@devicefarmer/adbkit-monkey@npm:1.2.1"
+ checksum: 10c0/3c397e7b5242034e29455b94792b6b3ce7d0adbd3e9da59b85c24aa6a5e99ae45f36078f56a8dc5b8df2e1c8f57726f88e5017081c6a4301e1945cf88d8864a2
+ languageName: node
+ linkType: hard
+
+"@devicefarmer/adbkit@npm:3.3.9":
+ version: 3.3.9
+ resolution: "@devicefarmer/adbkit@npm:3.3.9"
+ dependencies:
+ "@devicefarmer/adbkit-logcat": "npm:^2.1.2"
+ "@devicefarmer/adbkit-monkey": "npm:~1.2.1"
+ bluebird: "npm:~3.7"
+ commander: "npm:^9.1.0"
+ debug: "npm:~4.3.1"
+ node-forge: "npm:^1.3.1"
+ split: "npm:~1.0.1"
+ bin:
+ adbkit: bin/adbkit
+ checksum: 10c0/0631d3f63bea944caff3bc0d10cb1c781f03bb5afd47772c5a7ae081df8d302d0a139110332c0bc05259a2b13375c6b2368a0531b5f915e635ea364993565dd2
+ languageName: node
+ linkType: hard
+
"@dnd-kit/accessibility@npm:^3.1.1":
version: 3.1.1
resolution: "@dnd-kit/accessibility@npm:3.1.1"
@@ -3434,6 +3501,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/aix-ppc64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/aix-ppc64@npm:0.28.2"
+ conditions: os=aix & cpu=ppc64
+ languageName: node
+ linkType: hard
+
"@esbuild/android-arm64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/android-arm64@npm:0.25.2"
@@ -3441,6 +3515,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/android-arm64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/android-arm64@npm:0.28.2"
+ conditions: os=android & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/android-arm@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/android-arm@npm:0.25.2"
@@ -3448,6 +3529,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/android-arm@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/android-arm@npm:0.28.2"
+ conditions: os=android & cpu=arm
+ languageName: node
+ linkType: hard
+
"@esbuild/android-x64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/android-x64@npm:0.25.2"
@@ -3455,6 +3543,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/android-x64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/android-x64@npm:0.28.2"
+ conditions: os=android & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/darwin-arm64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/darwin-arm64@npm:0.25.2"
@@ -3462,6 +3557,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/darwin-arm64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/darwin-arm64@npm:0.28.2"
+ conditions: os=darwin & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/darwin-x64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/darwin-x64@npm:0.25.2"
@@ -3469,6 +3571,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/darwin-x64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/darwin-x64@npm:0.28.2"
+ conditions: os=darwin & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/freebsd-arm64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/freebsd-arm64@npm:0.25.2"
@@ -3476,6 +3585,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/freebsd-arm64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/freebsd-arm64@npm:0.28.2"
+ conditions: os=freebsd & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/freebsd-x64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/freebsd-x64@npm:0.25.2"
@@ -3483,6 +3599,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/freebsd-x64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/freebsd-x64@npm:0.28.2"
+ conditions: os=freebsd & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-arm64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/linux-arm64@npm:0.25.2"
@@ -3490,6 +3613,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-arm64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/linux-arm64@npm:0.28.2"
+ conditions: os=linux & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-arm@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/linux-arm@npm:0.25.2"
@@ -3497,6 +3627,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-arm@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/linux-arm@npm:0.28.2"
+ conditions: os=linux & cpu=arm
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-ia32@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/linux-ia32@npm:0.25.2"
@@ -3504,6 +3641,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-ia32@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/linux-ia32@npm:0.28.2"
+ conditions: os=linux & cpu=ia32
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-loong64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/linux-loong64@npm:0.25.2"
@@ -3511,6 +3655,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-loong64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/linux-loong64@npm:0.28.2"
+ conditions: os=linux & cpu=loong64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-mips64el@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/linux-mips64el@npm:0.25.2"
@@ -3518,6 +3669,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-mips64el@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/linux-mips64el@npm:0.28.2"
+ conditions: os=linux & cpu=mips64el
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-ppc64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/linux-ppc64@npm:0.25.2"
@@ -3525,6 +3683,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-ppc64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/linux-ppc64@npm:0.28.2"
+ conditions: os=linux & cpu=ppc64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-riscv64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/linux-riscv64@npm:0.25.2"
@@ -3532,6 +3697,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-riscv64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/linux-riscv64@npm:0.28.2"
+ conditions: os=linux & cpu=riscv64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-s390x@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/linux-s390x@npm:0.25.2"
@@ -3539,6 +3711,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-s390x@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/linux-s390x@npm:0.28.2"
+ conditions: os=linux & cpu=s390x
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-x64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/linux-x64@npm:0.25.2"
@@ -3546,6 +3725,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-x64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/linux-x64@npm:0.28.2"
+ conditions: os=linux & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/netbsd-arm64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/netbsd-arm64@npm:0.25.2"
@@ -3553,6 +3739,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/netbsd-arm64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/netbsd-arm64@npm:0.28.2"
+ conditions: os=netbsd & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/netbsd-x64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/netbsd-x64@npm:0.25.2"
@@ -3560,6 +3753,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/netbsd-x64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/netbsd-x64@npm:0.28.2"
+ conditions: os=netbsd & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/openbsd-arm64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/openbsd-arm64@npm:0.25.2"
@@ -3567,6 +3767,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/openbsd-arm64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/openbsd-arm64@npm:0.28.2"
+ conditions: os=openbsd & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/openbsd-x64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/openbsd-x64@npm:0.25.2"
@@ -3574,6 +3781,20 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/openbsd-x64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/openbsd-x64@npm:0.28.2"
+ conditions: os=openbsd & cpu=x64
+ languageName: node
+ linkType: hard
+
+"@esbuild/openharmony-arm64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/openharmony-arm64@npm:0.28.2"
+ conditions: os=openharmony & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/sunos-x64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/sunos-x64@npm:0.25.2"
@@ -3581,6 +3802,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/sunos-x64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/sunos-x64@npm:0.28.2"
+ conditions: os=sunos & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/win32-arm64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/win32-arm64@npm:0.25.2"
@@ -3588,6 +3816,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/win32-arm64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/win32-arm64@npm:0.28.2"
+ conditions: os=win32 & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/win32-ia32@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/win32-ia32@npm:0.25.2"
@@ -3595,6 +3830,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/win32-ia32@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/win32-ia32@npm:0.28.2"
+ conditions: os=win32 & cpu=ia32
+ languageName: node
+ linkType: hard
+
"@esbuild/win32-x64@npm:0.25.2":
version: 0.25.2
resolution: "@esbuild/win32-x64@npm:0.25.2"
@@ -3602,6 +3844,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/win32-x64@npm:0.28.2":
+ version: 0.28.2
+ resolution: "@esbuild/win32-x64@npm:0.28.2"
+ conditions: os=win32 & cpu=x64
+ languageName: node
+ linkType: hard
+
"@eslint-community/eslint-utils@npm:^4.2.0":
version: 4.4.0
resolution: "@eslint-community/eslint-utils@npm:4.4.0"
@@ -3613,6 +3862,24 @@ __metadata:
languageName: node
linkType: hard
+"@eslint-community/eslint-utils@npm:^4.4.0, @eslint-community/eslint-utils@npm:^4.8.0":
+ version: 4.10.1
+ resolution: "@eslint-community/eslint-utils@npm:4.10.1"
+ dependencies:
+ eslint-visitor-keys: "npm:^3.4.3"
+ peerDependencies:
+ eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
+ checksum: 10c0/b514586655698bc6b74db72a496c77e813c78b63e36a83429845ac7057dd77113b0b6c31e6e590d5baaeee2abae6ea22363a41209bcafa078d895ab83ce83011
+ languageName: node
+ linkType: hard
+
+"@eslint-community/regexpp@npm:^4.12.1, @eslint-community/regexpp@npm:^4.5.1":
+ version: 4.12.2
+ resolution: "@eslint-community/regexpp@npm:4.12.2"
+ checksum: 10c0/fddcbc66851b308478d04e302a4d771d6917a0b3740dc351513c0da9ca2eab8a1adf99f5e0aa7ab8b13fa0df005c81adeee7e63a92f3effd7d367a163b721c2d
+ languageName: node
+ linkType: hard
+
"@eslint-community/regexpp@npm:^4.6.1":
version: 4.6.2
resolution: "@eslint-community/regexpp@npm:4.6.2"
@@ -3620,6 +3887,35 @@ __metadata:
languageName: node
linkType: hard
+"@eslint/config-array@npm:^0.21.2":
+ version: 0.21.2
+ resolution: "@eslint/config-array@npm:0.21.2"
+ dependencies:
+ "@eslint/object-schema": "npm:^2.1.7"
+ debug: "npm:^4.3.1"
+ minimatch: "npm:^3.1.5"
+ checksum: 10c0/89dfe815d18456177c0a1f238daf4593107fd20298b3598e0103054360d3b8d09d967defd8318f031185d68df1f95cfa68becf1390a9c5c6887665f1475142e3
+ languageName: node
+ linkType: hard
+
+"@eslint/config-helpers@npm:^0.4.2":
+ version: 0.4.2
+ resolution: "@eslint/config-helpers@npm:0.4.2"
+ dependencies:
+ "@eslint/core": "npm:^0.17.0"
+ checksum: 10c0/92efd7a527b2d17eb1a148409d71d80f9ac160b565ac73ee092252e8bf08ecd08670699f46b306b94f13d22e88ac88a612120e7847570dd7cdc72f234d50dcb4
+ languageName: node
+ linkType: hard
+
+"@eslint/core@npm:^0.17.0":
+ version: 0.17.0
+ resolution: "@eslint/core@npm:0.17.0"
+ dependencies:
+ "@types/json-schema": "npm:^7.0.15"
+ checksum: 10c0/9a580f2246633bc752298e7440dd942ec421860d1946d0801f0423830e67887e4aeba10ab9a23d281727a978eb93d053d1922a587d502942a713607f40ed704e
+ languageName: node
+ linkType: hard
+
"@eslint/eslintrc@npm:^2.1.1":
version: 2.1.1
resolution: "@eslint/eslintrc@npm:2.1.1"
@@ -3637,6 +3933,30 @@ __metadata:
languageName: node
linkType: hard
+"@eslint/eslintrc@npm:^3.3.5":
+ version: 3.3.6
+ resolution: "@eslint/eslintrc@npm:3.3.6"
+ dependencies:
+ ajv: "npm:^6.14.0"
+ debug: "npm:^4.3.2"
+ espree: "npm:^10.0.1"
+ globals: "npm:^14.0.0"
+ ignore: "npm:^5.2.0"
+ import-fresh: "npm:^3.2.1"
+ js-yaml: "npm:^4.3.0"
+ minimatch: "npm:^3.1.5"
+ strip-json-comments: "npm:^3.1.1"
+ checksum: 10c0/349697171ee116f501a2f483bf47cd38937a61880aeb1c23481a69afc95e95859430a0947acbe1f5507f223180bf57530ecf2989e73bcbea763a6dcffdf1d010
+ languageName: node
+ linkType: hard
+
+"@eslint/js@npm:9.39.4":
+ version: 9.39.4
+ resolution: "@eslint/js@npm:9.39.4"
+ checksum: 10c0/5aa7dea2cbc5decf7f5e3b0c6f86a084ccee0f792d288ca8e839f8bc1b64e03e227068968e49b26096e6f71fd857ab6e42691d1b993826b9a3883f1bdd7a0e46
+ languageName: node
+ linkType: hard
+
"@eslint/js@npm:^8.46.0":
version: 8.46.0
resolution: "@eslint/js@npm:8.46.0"
@@ -3644,6 +3964,23 @@ __metadata:
languageName: node
linkType: hard
+"@eslint/object-schema@npm:^2.1.7":
+ version: 2.1.7
+ resolution: "@eslint/object-schema@npm:2.1.7"
+ checksum: 10c0/936b6e499853d1335803f556d526c86f5fe2259ed241bc665000e1d6353828edd913feed43120d150adb75570cae162cf000b5b0dfc9596726761c36b82f4e87
+ languageName: node
+ linkType: hard
+
+"@eslint/plugin-kit@npm:^0.4.1":
+ version: 0.4.1
+ resolution: "@eslint/plugin-kit@npm:0.4.1"
+ dependencies:
+ "@eslint/core": "npm:^0.17.0"
+ levn: "npm:^0.4.1"
+ checksum: 10c0/51600f78b798f172a9915dffb295e2ffb44840d583427bc732baf12ecb963eb841b253300e657da91d890f4b323d10a1bd12934bf293e3018d8bb66fdce5217b
+ languageName: node
+ linkType: hard
+
"@expo/cli@npm:54.0.23":
version: 54.0.23
resolution: "@expo/cli@npm:54.0.23"
@@ -4167,6 +4504,20 @@ __metadata:
languageName: node
linkType: hard
+"@fluent/syntax@npm:0.19.0":
+ version: 0.19.0
+ resolution: "@fluent/syntax@npm:0.19.0"
+ checksum: 10c0/a8691402b140e726ea5e47988a7e27ad836a33bb85382eb5a013799a384ffc8852eaf3ec1acaca481306f49ff3514fccaff7acf5bb2225c94752794ff6dbc38e
+ languageName: node
+ linkType: hard
+
+"@fregante/relaxed-json@npm:2.0.0":
+ version: 2.0.0
+ resolution: "@fregante/relaxed-json@npm:2.0.0"
+ checksum: 10c0/84fa82b4b28c5467223b425f284047623478e6b83b35e00fc5b2af892de897433b535457c3cb4f9079833dcc5dff60a2560f53fefd9a5db29e7364e70280302f
+ languageName: node
+ linkType: hard
+
"@headlessui/react@npm:^1.7.15":
version: 1.7.15
resolution: "@headlessui/react@npm:1.7.15"
@@ -4179,6 +4530,117 @@ __metadata:
languageName: node
linkType: hard
+"@hookform/resolvers@npm:^5.9.1":
+ version: 5.9.1
+ resolution: "@hookform/resolvers@npm:5.9.1"
+ dependencies:
+ "@standard-schema/utils": "npm:^0.3.0"
+ peerDependencies:
+ "@sinclair/typebox": ">=0.25.24"
+ "@standard-schema/spec": ^1.0.0
+ "@typeschema/main": ">=0.13.7"
+ "@vinejs/vine": ^2.0.0 || ^3.0.0 || ^4.0.0
+ ajv: ^8.12.0
+ ajv-errors: ^3.0.0
+ ajv-formats: ^2.1.1
+ arktype: ^2.0.0
+ ata-validator: ^1.2.0
+ class-transformer: ">=0.4.0"
+ class-validator: ">=0.12.0"
+ computed-types: ^1.0.0
+ effect: ^3.10.3
+ fluentvalidation-ts: ^3.0.0
+ fp-ts: ^2.7.0
+ io-ts: ^2.0.0
+ joi: ^17.0.0 || ^18.0.0
+ nope-validator: ">=0.12.0"
+ react-hook-form: ^7.55.0
+ superstruct: ">=0.12.0"
+ typanion: ^3.3.2
+ valibot: ">=0.31.0 || ^1.0.0-beta.4 || ^1.0.0-rc"
+ vest: ">=6.0.0"
+ yup: ^1.0.0
+ zod: ^3.25.0 || ^4.0.0
+ peerDependenciesMeta:
+ "@sinclair/typebox":
+ optional: true
+ "@standard-schema/spec":
+ optional: true
+ "@typeschema/main":
+ optional: true
+ "@vinejs/vine":
+ optional: true
+ ajv:
+ optional: true
+ ajv-errors:
+ optional: true
+ ajv-formats:
+ optional: true
+ arktype:
+ optional: true
+ ata-validator:
+ optional: true
+ class-transformer:
+ optional: true
+ class-validator:
+ optional: true
+ computed-types:
+ optional: true
+ effect:
+ optional: true
+ fluentvalidation-ts:
+ optional: true
+ fp-ts:
+ optional: true
+ io-ts:
+ optional: true
+ joi:
+ optional: true
+ nope-validator:
+ optional: true
+ superstruct:
+ optional: true
+ typanion:
+ optional: true
+ valibot:
+ optional: true
+ vest:
+ optional: true
+ yup:
+ optional: true
+ zod:
+ optional: true
+ checksum: 10c0/08d4e1455a072bea182468d878527e2e99c6d079fe56ffc5297e03a8219fe7544db092afcdf7a950e5421390d4dae3a21398c8ccd0b2c8639d0e0ff9e21410c2
+ languageName: node
+ linkType: hard
+
+"@humanfs/core@npm:^0.19.2":
+ version: 0.19.2
+ resolution: "@humanfs/core@npm:0.19.2"
+ dependencies:
+ "@humanfs/types": "npm:^0.15.0"
+ checksum: 10c0/d0a1d52d7b30c27d49475a53072d1510b81c5803e44b342fb8faf3887f1aa27593a1e6dc76a45268e7892d3f4e198146659281f6b6d55eacf3fd5a38bac30c5c
+ languageName: node
+ linkType: hard
+
+"@humanfs/node@npm:^0.16.6":
+ version: 0.16.8
+ resolution: "@humanfs/node@npm:0.16.8"
+ dependencies:
+ "@humanfs/core": "npm:^0.19.2"
+ "@humanfs/types": "npm:^0.15.0"
+ "@humanwhocodes/retry": "npm:^0.4.0"
+ checksum: 10c0/56140579db811af4e160b195d45d0f29acf644d192c93fe24c9e594ebf06f19dfc157494a07c84540b8a071c0e4b37209c2362765d31734f4d0be869c2422e25
+ languageName: node
+ linkType: hard
+
+"@humanfs/types@npm:^0.15.0":
+ version: 0.15.0
+ resolution: "@humanfs/types@npm:0.15.0"
+ checksum: 10c0/fc26b9a024b0e55f7eaf64036df94345bf5d36d6a41ef80ef38e78f1f7430ce26cf435af736adae58913baae18eac3f38c18739054a3d379102015978eae862e
+ languageName: node
+ linkType: hard
+
"@humanwhocodes/config-array@npm:^0.11.10":
version: 0.11.10
resolution: "@humanwhocodes/config-array@npm:0.11.10"
@@ -4204,6 +4666,13 @@ __metadata:
languageName: node
linkType: hard
+"@humanwhocodes/retry@npm:^0.4.0, @humanwhocodes/retry@npm:^0.4.2":
+ version: 0.4.3
+ resolution: "@humanwhocodes/retry@npm:0.4.3"
+ checksum: 10c0/3775bb30087d4440b3f7406d5a057777d90e4b9f435af488a4923ef249e93615fb78565a85f173a186a076c7706a81d0d57d563a2624e4de2c5c9c66c486ce42
+ languageName: node
+ linkType: hard
+
"@img/colour@npm:^1.0.0":
version: 1.0.0
resolution: "@img/colour@npm:1.0.0"
@@ -5528,28 +5997,79 @@ __metadata:
languageName: node
linkType: hard
-"@linkwarden/filesystem@npm:*, @linkwarden/filesystem@workspace:packages/filesystem":
- version: 0.0.0-use.local
- resolution: "@linkwarden/filesystem@workspace:packages/filesystem"
- dependencies:
- "@aws-sdk/client-s3": "npm:^3.379.1"
- languageName: unknown
- linkType: soft
-
-"@linkwarden/lib@npm:*, @linkwarden/lib@workspace:packages/lib":
+"@linkwarden/extension@workspace:apps/extension":
version: 0.0.0-use.local
- resolution: "@linkwarden/lib@workspace:packages/lib"
+ resolution: "@linkwarden/extension@workspace:apps/extension"
dependencies:
- "@linkwarden/filesystem": "npm:*"
- "@linkwarden/prisma": "npm:*"
- "@linkwarden/types": "npm:*"
- "@types/nodemailer": "npm:^7.0.4"
- clsx: "npm:^2.1.1"
- jimp: "npm:^0.22.10"
- meilisearch: "npm:^0.48.2"
- nodemailer: "npm:^9.0.3"
- rss-parser: "npm:^3.13.0"
- tailwind-merge: "npm:^3.3.0"
+ "@hookform/resolvers": "npm:^5.9.1"
+ "@radix-ui/react-checkbox": "npm:^1.3.3"
+ "@radix-ui/react-dialog": "npm:^1.1.23"
+ "@radix-ui/react-dropdown-menu": "npm:^2.1.15"
+ "@radix-ui/react-icons": "npm:^1.3.2"
+ "@radix-ui/react-label": "npm:^2.1.15"
+ "@radix-ui/react-popover": "npm:^1.1.23"
+ "@radix-ui/react-select": "npm:^2.3.7"
+ "@radix-ui/react-separator": "npm:^1.1.7"
+ "@radix-ui/react-slot": "npm:^1.2.3"
+ "@radix-ui/react-toast": "npm:^1.2.23"
+ "@tanstack/react-query": "npm:^5.51.15"
+ "@types/chrome": "npm:^0.2.6"
+ "@types/firefox-webext-browser": "npm:^143.0.0"
+ "@types/node": "npm:^22.14.1"
+ "@types/react": "npm:^19.1.0"
+ "@types/react-dom": "npm:^19.1.0"
+ "@types/webextension-polyfill": "npm:^0.12.5"
+ "@typescript-eslint/eslint-plugin": "npm:^6.21.0"
+ "@typescript-eslint/parser": "npm:^6.21.0"
+ "@vitejs/plugin-react": "npm:^5.2.0"
+ autoprefixer: "npm:^10.4.14"
+ axios: "npm:^1.18.0"
+ class-variance-authority: "npm:^0.7.1"
+ clsx: "npm:^2.1.1"
+ cmdk: "npm:^1.1.1"
+ concurrently: "npm:^9.1.2"
+ eslint: "npm:8.46.0"
+ eslint-plugin-react-hooks: "npm:^5.2.0"
+ eslint-plugin-react-refresh: "npm:^0.4.24"
+ lucide-react: "npm:^0.511.0"
+ postcss: "npm:^8.4.26"
+ query-string: "npm:^9.5.0"
+ react: "npm:19.1.0"
+ react-dom: "npm:19.1.0"
+ react-hook-form: "npm:^7.85.0"
+ tailwind-merge: "npm:^3.3.0"
+ tailwindcss: "npm:^3.4.17"
+ tailwindcss-animate: "npm:^1.0.7"
+ typescript: "npm:^5.8.3"
+ vite: "npm:^7.2.0"
+ web-ext: "npm:^10.6.0"
+ webextension-polyfill: "npm:^0.12.0"
+ zod: "npm:^4.1.13"
+ languageName: unknown
+ linkType: soft
+
+"@linkwarden/filesystem@npm:*, @linkwarden/filesystem@workspace:packages/filesystem":
+ version: 0.0.0-use.local
+ resolution: "@linkwarden/filesystem@workspace:packages/filesystem"
+ dependencies:
+ "@aws-sdk/client-s3": "npm:^3.379.1"
+ languageName: unknown
+ linkType: soft
+
+"@linkwarden/lib@npm:*, @linkwarden/lib@workspace:packages/lib":
+ version: 0.0.0-use.local
+ resolution: "@linkwarden/lib@workspace:packages/lib"
+ dependencies:
+ "@linkwarden/filesystem": "npm:*"
+ "@linkwarden/prisma": "npm:*"
+ "@linkwarden/types": "npm:*"
+ "@types/nodemailer": "npm:^7.0.4"
+ clsx: "npm:^2.1.1"
+ jimp: "npm:^0.22.10"
+ meilisearch: "npm:^0.48.2"
+ nodemailer: "npm:^9.0.3"
+ rss-parser: "npm:^3.13.0"
+ tailwind-merge: "npm:^3.3.0"
languageName: unknown
linkType: soft
@@ -5847,6 +6367,13 @@ __metadata:
languageName: node
linkType: hard
+"@mdn/browser-compat-data@npm:8.0.8":
+ version: 8.0.8
+ resolution: "@mdn/browser-compat-data@npm:8.0.8"
+ checksum: 10c0/1846b57f698e69299d6cf81f85e4b4b6071d411db114ab55650f09f1e22c777b4fa8c204a1fc832dd0e8e680eeda7c1a784166dacd1d230a33a6bd41a0f7f9f0
+ languageName: node
+ linkType: hard
+
"@mozilla/readability@npm:^0.6.0":
version: 0.6.0
resolution: "@mozilla/readability@npm:0.6.0"
@@ -5854,6 +6381,13 @@ __metadata:
languageName: node
linkType: hard
+"@napi-rs/lzma-linux-x64-gnu@npm:1.5.1":
+ version: 1.5.1
+ resolution: "@napi-rs/lzma-linux-x64-gnu@npm:1.5.1"
+ conditions: os=linux & cpu=x64 & libc=glibc
+ languageName: node
+ linkType: hard
+
"@napi-rs/wasm-runtime@npm:^1.1.6":
version: 1.2.0
resolution: "@napi-rs/wasm-runtime@npm:1.2.0"
@@ -6101,6 +6635,13 @@ __metadata:
languageName: node
linkType: hard
+"@pinojs/redact@npm:^0.4.0":
+ version: 0.4.0
+ resolution: "@pinojs/redact@npm:0.4.0"
+ checksum: 10c0/4b311ba17ee0cf154ff9c39eb063ec04cd0d0017cb3750efcdf06c2d485df3e1095e13e872175993568c5568c23e4508dd877c981bbc9c5ae5e384d569efcdff
+ languageName: node
+ linkType: hard
+
"@pkgjs/parseargs@npm:^0.11.0":
version: 0.11.0
resolution: "@pkgjs/parseargs@npm:0.11.0"
@@ -6144,6 +6685,33 @@ __metadata:
languageName: node
linkType: hard
+"@pnpm/config.env-replace@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "@pnpm/config.env-replace@npm:1.1.0"
+ checksum: 10c0/4cfc4a5c49ab3d0c6a1f196cfd4146374768b0243d441c7de8fa7bd28eaab6290f514b98490472cc65dbd080d34369447b3e9302585e1d5c099befd7c8b5e55f
+ languageName: node
+ linkType: hard
+
+"@pnpm/network.ca-file@npm:^1.0.1":
+ version: 1.0.2
+ resolution: "@pnpm/network.ca-file@npm:1.0.2"
+ dependencies:
+ graceful-fs: "npm:4.2.10"
+ checksum: 10c0/95f6e0e38d047aca3283550719155ce7304ac00d98911e4ab026daedaf640a63bd83e3d13e17c623fa41ac72f3801382ba21260bcce431c14fbbc06430ecb776
+ languageName: node
+ linkType: hard
+
+"@pnpm/npm-conf@npm:^3.0.2":
+ version: 3.0.3
+ resolution: "@pnpm/npm-conf@npm:3.0.3"
+ dependencies:
+ "@pnpm/config.env-replace": "npm:^1.1.0"
+ "@pnpm/network.ca-file": "npm:^1.0.1"
+ config-chain: "npm:^1.1.11"
+ checksum: 10c0/74a276b4acf609edd60300afef3e5c632ecf9f3e9b9da486314edd0478964815f4a03e9c9b1e0cb1f38e2acfef07e5c2d3211527b8f97a0c44cbb040f2755e5c
+ languageName: node
+ linkType: hard
+
"@prisma/client@npm:^6.10.1":
version: 6.10.1
resolution: "@prisma/client@npm:6.10.1"
@@ -6214,6 +6782,13 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/number@npm:1.1.3":
+ version: 1.1.3
+ resolution: "@radix-ui/number@npm:1.1.3"
+ checksum: 10c0/da682127b62196a617d30d8b085a0b422b067a6155982aa313d33824cbeae16b95547a41ec74e0cf8cb67b30f5f825b3e9222abf6871b2ae0bf12badad4310d6
+ languageName: node
+ linkType: hard
+
"@radix-ui/primitive@npm:1.1.0":
version: 1.1.0
resolution: "@radix-ui/primitive@npm:1.1.0"
@@ -6235,6 +6810,32 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/primitive@npm:1.1.7":
+ version: 1.1.7
+ resolution: "@radix-ui/primitive@npm:1.1.7"
+ checksum: 10c0/6b1f8b964a57ece3490582d60df79a1c80fdba4c4331b806c4e04b11f42ac46d40a927bfc692dbd881136ec38c3f060c525dbacd6182ba6f3f0bd4284db1028e
+ languageName: node
+ linkType: hard
+
+"@radix-ui/react-arrow@npm:1.1.15":
+ version: 1.1.15
+ resolution: "@radix-ui/react-arrow@npm:1.1.15"
+ dependencies:
+ "@radix-ui/react-primitive": "npm:2.1.10"
+ peerDependencies:
+ "@types/react": "*"
+ "@types/react-dom": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ "@types/react-dom":
+ optional: true
+ checksum: 10c0/06fa0a29ae332617d7912e4f25e952d110905264362e7266d2aa423e81aff492d0f1eaa7dd834b3271e6f5d45f56c8c54585d10d771356fb789e50c959f555ca
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-arrow@npm:1.1.4":
version: 1.1.4
resolution: "@radix-ui/react-arrow@npm:1.1.4"
@@ -6299,6 +6900,28 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-collection@npm:1.1.15":
+ version: 1.1.15
+ resolution: "@radix-ui/react-collection@npm:1.1.15"
+ dependencies:
+ "@radix-ui/react-compose-refs": "npm:1.1.5"
+ "@radix-ui/react-context": "npm:1.2.2"
+ "@radix-ui/react-primitive": "npm:2.1.10"
+ "@radix-ui/react-slot": "npm:1.3.3"
+ peerDependencies:
+ "@types/react": "*"
+ "@types/react-dom": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ "@types/react-dom":
+ optional: true
+ checksum: 10c0/9f9d3f6290026fd383503ebc260d698d59287016e90a3bd5aa4a9696b8cab733b207e5558ddffa3bb877c68f8658c4a3a52fb9314c7cbc83a4b6349808c5bf4c
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-collection@npm:1.1.4":
version: 1.1.4
resolution: "@radix-ui/react-collection@npm:1.1.4"
@@ -6369,6 +6992,19 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-compose-refs@npm:1.1.5, @radix-ui/react-compose-refs@npm:^1.1.1":
+ version: 1.1.5
+ resolution: "@radix-ui/react-compose-refs@npm:1.1.5"
+ peerDependencies:
+ "@types/react": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 10c0/ab5cc8cc2f5be285981cffb64aa956d3a28427c649a953d125e900e1befb8b9a55f2d7a31bc01059d29df43ff4ae14ebc6cca7e4c2084d638cef5e5aef7cc263
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-context-menu@npm:^2.0.1":
version: 2.2.11
resolution: "@radix-ui/react-context-menu@npm:2.2.11"
@@ -6419,6 +7055,19 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-context@npm:1.2.2":
+ version: 1.2.2
+ resolution: "@radix-ui/react-context@npm:1.2.2"
+ peerDependencies:
+ "@types/react": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 10c0/f5c15339558d64901c99f243a2538be9b28eb20e0dae1e44c8872ed12580ec27f5f309fd491f85f1b0dcb214c90fdae7eede7fe2b0d26569c4dbeffbeff451c0
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-dialog@npm:^1.1.1":
version: 1.1.2
resolution: "@radix-ui/react-dialog@npm:1.1.2"
@@ -6451,6 +7100,39 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-dialog@npm:^1.1.23, @radix-ui/react-dialog@npm:^1.1.6":
+ version: 1.1.23
+ resolution: "@radix-ui/react-dialog@npm:1.1.23"
+ dependencies:
+ "@radix-ui/primitive": "npm:1.1.7"
+ "@radix-ui/react-compose-refs": "npm:1.1.5"
+ "@radix-ui/react-context": "npm:1.2.2"
+ "@radix-ui/react-dismissable-layer": "npm:1.1.19"
+ "@radix-ui/react-focus-guards": "npm:1.1.6"
+ "@radix-ui/react-focus-scope": "npm:1.1.16"
+ "@radix-ui/react-id": "npm:1.1.4"
+ "@radix-ui/react-portal": "npm:1.1.17"
+ "@radix-ui/react-presence": "npm:1.1.10"
+ "@radix-ui/react-primitive": "npm:2.1.10"
+ "@radix-ui/react-slot": "npm:1.3.3"
+ "@radix-ui/react-use-controllable-state": "npm:1.2.6"
+ "@radix-ui/react-use-layout-effect": "npm:1.1.4"
+ aria-hidden: "npm:^1.2.4"
+ react-remove-scroll: "npm:^2.7.2"
+ peerDependencies:
+ "@types/react": "*"
+ "@types/react-dom": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ "@types/react-dom":
+ optional: true
+ checksum: 10c0/647e2b3a05826ddab72c68d04b842de47594f8b9c78131ef64a8f94b6e04e311abbe6c2919d645941e2646d8fd5f1d4e9ae9ce65c6492237e180a1d005eddc23
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-direction@npm:1.1.1":
version: 1.1.1
resolution: "@radix-ui/react-direction@npm:1.1.1"
@@ -6464,6 +7146,19 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-direction@npm:1.1.4":
+ version: 1.1.4
+ resolution: "@radix-ui/react-direction@npm:1.1.4"
+ peerDependencies:
+ "@types/react": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 10c0/505e6e45b53f2b6a98c82895e1fe0b04c048bf70dbcabe2e3a4bbc05e3cf4759a5e7d9865360eac78da5c56ed3fdd82efce1511179f397525d14de614181de61
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-dismissable-layer@npm:1.1.1":
version: 1.1.1
resolution: "@radix-ui/react-dismissable-layer@npm:1.1.1"
@@ -6510,6 +7205,29 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-dismissable-layer@npm:1.1.19":
+ version: 1.1.19
+ resolution: "@radix-ui/react-dismissable-layer@npm:1.1.19"
+ dependencies:
+ "@radix-ui/primitive": "npm:1.1.7"
+ "@radix-ui/react-compose-refs": "npm:1.1.5"
+ "@radix-ui/react-primitive": "npm:2.1.10"
+ "@radix-ui/react-use-callback-ref": "npm:1.1.4"
+ "@radix-ui/react-use-effect-event": "npm:0.0.5"
+ peerDependencies:
+ "@types/react": "*"
+ "@types/react-dom": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ "@types/react-dom":
+ optional: true
+ checksum: 10c0/205f2fded4a9e303fcc0d67b78274db84d37d0d35177bb99602c72202a6dcadc39f4cbf936a09e1303b4b42a2b494a279ead9e626cb1a41015152a91ad069fc5
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-dismissable-layer@npm:1.1.7":
version: 1.1.7
resolution: "@radix-ui/react-dismissable-layer@npm:1.1.7"
@@ -6609,6 +7327,19 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-focus-guards@npm:1.1.6":
+ version: 1.1.6
+ resolution: "@radix-ui/react-focus-guards@npm:1.1.6"
+ peerDependencies:
+ "@types/react": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 10c0/5579dfe369f254183a010964e6df8b74c7b36e50189aef18c92538d0196785d68869e3170af77005276f393cd112b7711d5c7cb9e7ec2ca1e0b4794157447978
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-focus-scope@npm:1.1.0":
version: 1.1.0
resolution: "@radix-ui/react-focus-scope@npm:1.1.0"
@@ -6630,6 +7361,27 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-focus-scope@npm:1.1.16":
+ version: 1.1.16
+ resolution: "@radix-ui/react-focus-scope@npm:1.1.16"
+ dependencies:
+ "@radix-ui/react-compose-refs": "npm:1.1.5"
+ "@radix-ui/react-primitive": "npm:2.1.10"
+ "@radix-ui/react-use-callback-ref": "npm:1.1.4"
+ peerDependencies:
+ "@types/react": "*"
+ "@types/react-dom": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ "@types/react-dom":
+ optional: true
+ checksum: 10c0/2c86dafac81a73295f81834ff85c4af4456671f7d26631cb800837b284318d181c5de043cac2e17bedd6e8a009e3de907ef9435ea9ec5a94518cbaf656368550
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-focus-scope@npm:1.1.4":
version: 1.1.4
resolution: "@radix-ui/react-focus-scope@npm:1.1.4"
@@ -6672,6 +7424,15 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-icons@npm:^1.3.2":
+ version: 1.3.2
+ resolution: "@radix-ui/react-icons@npm:1.3.2"
+ peerDependencies:
+ react: ^16.x || ^17.x || ^18.x || ^19.0.0 || ^19.0.0-rc
+ checksum: 10c0/3a380c7ae47e330ebd8ab4846729a543b4a0be5ecb1e2a7a571f4394728ff7d428b01f6620128051b6b69d63138a0ab8de77af78221ec364fbc5d126acf55b4a
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-id@npm:1.1.0":
version: 1.1.0
resolution: "@radix-ui/react-id@npm:1.1.0"
@@ -6702,6 +7463,40 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-id@npm:1.1.4, @radix-ui/react-id@npm:^1.1.0":
+ version: 1.1.4
+ resolution: "@radix-ui/react-id@npm:1.1.4"
+ dependencies:
+ "@radix-ui/react-use-layout-effect": "npm:1.1.4"
+ peerDependencies:
+ "@types/react": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 10c0/7afa00d12d7f52b5067034108eb7d5551928f9d52875589f858ea1d5117cac3684f8ea291d4f09a88b9499bc4bb6e3279e4a9073d7c8feb15a855d28656b53a4
+ languageName: node
+ linkType: hard
+
+"@radix-ui/react-label@npm:^2.1.15":
+ version: 2.1.15
+ resolution: "@radix-ui/react-label@npm:2.1.15"
+ dependencies:
+ "@radix-ui/react-primitive": "npm:2.1.10"
+ peerDependencies:
+ "@types/react": "*"
+ "@types/react-dom": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ "@types/react-dom":
+ optional: true
+ checksum: 10c0/e1ef6d359488460c2a5e16b0f6513260553dca497db4f5b7d287e5fa38b3623335ff30ede278f5c1f0187fefaa571ecaf45c23f9b26ffefb262e96592f14783b
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-menu@npm:2.1.11":
version: 2.1.11
resolution: "@radix-ui/react-menu@npm:2.1.11"
@@ -6774,6 +7569,39 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-popover@npm:^1.1.23":
+ version: 1.1.23
+ resolution: "@radix-ui/react-popover@npm:1.1.23"
+ dependencies:
+ "@radix-ui/primitive": "npm:1.1.7"
+ "@radix-ui/react-compose-refs": "npm:1.1.5"
+ "@radix-ui/react-context": "npm:1.2.2"
+ "@radix-ui/react-dismissable-layer": "npm:1.1.19"
+ "@radix-ui/react-focus-guards": "npm:1.1.6"
+ "@radix-ui/react-focus-scope": "npm:1.1.16"
+ "@radix-ui/react-id": "npm:1.1.4"
+ "@radix-ui/react-popper": "npm:1.3.7"
+ "@radix-ui/react-portal": "npm:1.1.17"
+ "@radix-ui/react-presence": "npm:1.1.10"
+ "@radix-ui/react-primitive": "npm:2.1.10"
+ "@radix-ui/react-slot": "npm:1.3.3"
+ "@radix-ui/react-use-controllable-state": "npm:1.2.6"
+ aria-hidden: "npm:^1.2.4"
+ react-remove-scroll: "npm:^2.7.2"
+ peerDependencies:
+ "@types/react": "*"
+ "@types/react-dom": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ "@types/react-dom":
+ optional: true
+ checksum: 10c0/b0a6c89657c7aaa379f6e4361ebb821b50cb526ff8ca287451360917ab31a9682165b8b82d2f9623dc98aeb0be9090e386961deac19d50c8f37958745483bd3b
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-popper@npm:1.2.4":
version: 1.2.4
resolution: "@radix-ui/react-popper@npm:1.2.4"
@@ -6830,6 +7658,54 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-popper@npm:1.3.7":
+ version: 1.3.7
+ resolution: "@radix-ui/react-popper@npm:1.3.7"
+ dependencies:
+ "@floating-ui/react-dom": "npm:^2.0.0"
+ "@radix-ui/react-arrow": "npm:1.1.15"
+ "@radix-ui/react-compose-refs": "npm:1.1.5"
+ "@radix-ui/react-context": "npm:1.2.2"
+ "@radix-ui/react-primitive": "npm:2.1.10"
+ "@radix-ui/react-use-callback-ref": "npm:1.1.4"
+ "@radix-ui/react-use-layout-effect": "npm:1.1.4"
+ "@radix-ui/react-use-rect": "npm:1.1.4"
+ "@radix-ui/react-use-size": "npm:1.1.4"
+ "@radix-ui/rect": "npm:1.1.3"
+ peerDependencies:
+ "@types/react": "*"
+ "@types/react-dom": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ "@types/react-dom":
+ optional: true
+ checksum: 10c0/f32e85f70d2161d724df4adae4103d5c1f61ff344d25ad51c4f3d0a02b6251890b864dde3313093d748efe824dc9cceb40a068ac68b10bd1163d4b678e01d6e3
+ languageName: node
+ linkType: hard
+
+"@radix-ui/react-portal@npm:1.1.17":
+ version: 1.1.17
+ resolution: "@radix-ui/react-portal@npm:1.1.17"
+ dependencies:
+ "@radix-ui/react-primitive": "npm:2.1.10"
+ "@radix-ui/react-use-layout-effect": "npm:1.1.4"
+ peerDependencies:
+ "@types/react": "*"
+ "@types/react-dom": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ "@types/react-dom":
+ optional: true
+ checksum: 10c0/f3358ef906582ee8dd8ae62db1f1c1e9810e0554ff8e1a887c731fb35d3b673791e9d338cab884f3eddd74e24afd8e21679b1cc24fd035c68ad71dd09ed71bae
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-portal@npm:1.1.2":
version: 1.1.2
resolution: "@radix-ui/react-portal@npm:1.1.2"
@@ -6910,6 +7786,25 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-presence@npm:1.1.10":
+ version: 1.1.10
+ resolution: "@radix-ui/react-presence@npm:1.1.10"
+ dependencies:
+ "@radix-ui/react-use-layout-effect": "npm:1.1.4"
+ peerDependencies:
+ "@types/react": "*"
+ "@types/react-dom": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ "@types/react-dom":
+ optional: true
+ checksum: 10c0/5ef8048ea02ecfd11284e229efa33f75074189788b68edb9fe38140cbc56cc40ee77f017f34e3c3d3a5dbc1fb12b5a18d5a9ef2a84ef966a1d90502be5a84617
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-presence@npm:1.1.3":
version: 1.1.3
resolution: "@radix-ui/react-presence@npm:1.1.3"
@@ -7008,6 +7903,25 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-primitive@npm:2.1.10, @radix-ui/react-primitive@npm:^2.0.2":
+ version: 2.1.10
+ resolution: "@radix-ui/react-primitive@npm:2.1.10"
+ dependencies:
+ "@radix-ui/react-slot": "npm:1.3.3"
+ peerDependencies:
+ "@types/react": "*"
+ "@types/react-dom": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ "@types/react-dom":
+ optional: true
+ checksum: 10c0/3be05e842d20a5eb08cebbc1d4d08f24a4c09af8cb864e1d1dddf27f362b739ce0edc1c9fc188a7c734cecd8f5df21e379c15774230f4ab11ce2a8229d3598da
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-primitive@npm:2.1.3":
version: 2.1.3
resolution: "@radix-ui/react-primitive@npm:2.1.3"
@@ -7077,7 +7991,47 @@ __metadata:
optional: true
"@types/react-dom":
optional: true
- checksum: 10c0/ac5d50146f1fb04ad5b53c9a632b9b95ca4698aae994e93b94e169c59268960a4c50f8c6894edb9c8c75bfd643081e07b6d0c6f4e7a0b80a5258d7471c0db22e
+ checksum: 10c0/ac5d50146f1fb04ad5b53c9a632b9b95ca4698aae994e93b94e169c59268960a4c50f8c6894edb9c8c75bfd643081e07b6d0c6f4e7a0b80a5258d7471c0db22e
+ languageName: node
+ linkType: hard
+
+"@radix-ui/react-select@npm:^2.3.7":
+ version: 2.3.7
+ resolution: "@radix-ui/react-select@npm:2.3.7"
+ dependencies:
+ "@radix-ui/number": "npm:1.1.3"
+ "@radix-ui/primitive": "npm:1.1.7"
+ "@radix-ui/react-collection": "npm:1.1.15"
+ "@radix-ui/react-compose-refs": "npm:1.1.5"
+ "@radix-ui/react-context": "npm:1.2.2"
+ "@radix-ui/react-direction": "npm:1.1.4"
+ "@radix-ui/react-dismissable-layer": "npm:1.1.19"
+ "@radix-ui/react-focus-guards": "npm:1.1.6"
+ "@radix-ui/react-focus-scope": "npm:1.1.16"
+ "@radix-ui/react-id": "npm:1.1.4"
+ "@radix-ui/react-popper": "npm:1.3.7"
+ "@radix-ui/react-portal": "npm:1.1.17"
+ "@radix-ui/react-presence": "npm:1.1.10"
+ "@radix-ui/react-primitive": "npm:2.1.10"
+ "@radix-ui/react-slot": "npm:1.3.3"
+ "@radix-ui/react-use-callback-ref": "npm:1.1.4"
+ "@radix-ui/react-use-controllable-state": "npm:1.2.6"
+ "@radix-ui/react-use-layout-effect": "npm:1.1.4"
+ "@radix-ui/react-use-previous": "npm:1.1.4"
+ "@radix-ui/react-visually-hidden": "npm:1.2.11"
+ aria-hidden: "npm:^1.2.4"
+ react-remove-scroll: "npm:^2.7.2"
+ peerDependencies:
+ "@types/react": "*"
+ "@types/react-dom": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ "@types/react-dom":
+ optional: true
+ checksum: 10c0/122316803c98b6c49bc0c2f7207e5d1b129ed886f1d085feee53fb9640550d604ae9328783c2f0837e4f99776adfe728f4296affd4661c2efb12be12a7db4830
languageName: node
linkType: hard
@@ -7145,6 +8099,21 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-slot@npm:1.3.3":
+ version: 1.3.3
+ resolution: "@radix-ui/react-slot@npm:1.3.3"
+ dependencies:
+ "@radix-ui/react-compose-refs": "npm:1.1.5"
+ peerDependencies:
+ "@types/react": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 10c0/7ed356819bbb40415ccd16bc8a8da3162966e827ea8fa404c2ae547518777aa193b0aad07f139f3c9d3280f51433e1cc4fa4cfd8dc7e8e6215e7b0d7a25e4b39
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-tabs@npm:^1.1.12":
version: 1.1.12
resolution: "@radix-ui/react-tabs@npm:1.1.12"
@@ -7171,6 +8140,36 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-toast@npm:^1.2.23":
+ version: 1.2.23
+ resolution: "@radix-ui/react-toast@npm:1.2.23"
+ dependencies:
+ "@radix-ui/primitive": "npm:1.1.7"
+ "@radix-ui/react-collection": "npm:1.1.15"
+ "@radix-ui/react-compose-refs": "npm:1.1.5"
+ "@radix-ui/react-context": "npm:1.2.2"
+ "@radix-ui/react-dismissable-layer": "npm:1.1.19"
+ "@radix-ui/react-portal": "npm:1.1.17"
+ "@radix-ui/react-presence": "npm:1.1.10"
+ "@radix-ui/react-primitive": "npm:2.1.10"
+ "@radix-ui/react-use-callback-ref": "npm:1.1.4"
+ "@radix-ui/react-use-controllable-state": "npm:1.2.6"
+ "@radix-ui/react-use-layout-effect": "npm:1.1.4"
+ "@radix-ui/react-visually-hidden": "npm:1.2.11"
+ peerDependencies:
+ "@types/react": "*"
+ "@types/react-dom": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ "@types/react-dom":
+ optional: true
+ checksum: 10c0/03c620101417b9641ed9ffc888966bd772e1c845f58b1b7b673165f7e886c3602af26eb55965e71513ab9be82dbc0a5b49c95004205b178256d12873733d29d0
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-tooltip@npm:^1.2.7":
version: 1.2.7
resolution: "@radix-ui/react-tooltip@npm:1.2.7"
@@ -7227,6 +8226,19 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-use-callback-ref@npm:1.1.4":
+ version: 1.1.4
+ resolution: "@radix-ui/react-use-callback-ref@npm:1.1.4"
+ peerDependencies:
+ "@types/react": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 10c0/d5cc1248ab6a58b12eefd3115c98fb438b74b2e6dec463d2e097d27df8e9f40b9d8693ee10a422da4f7a688fbe52c62cc2fe3aa5972020b9425b86a2a28f5f01
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-use-controllable-state@npm:1.1.0":
version: 1.1.0
resolution: "@radix-ui/react-use-controllable-state@npm:1.1.0"
@@ -7258,6 +8270,23 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-use-controllable-state@npm:1.2.6":
+ version: 1.2.6
+ resolution: "@radix-ui/react-use-controllable-state@npm:1.2.6"
+ dependencies:
+ "@radix-ui/primitive": "npm:1.1.7"
+ "@radix-ui/react-use-effect-event": "npm:0.0.5"
+ "@radix-ui/react-use-layout-effect": "npm:1.1.4"
+ peerDependencies:
+ "@types/react": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 10c0/1672c3fa5c1f2dbc354db4d403523eef15bcbe24448b911e67e3e95f351b72ffc1dc1021a225d98116cd78d1c96e6280f1645ac6d6b9930df46b180b8a6f11a5
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-use-effect-event@npm:0.0.2":
version: 0.0.2
resolution: "@radix-ui/react-use-effect-event@npm:0.0.2"
@@ -7273,6 +8302,21 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-use-effect-event@npm:0.0.5":
+ version: 0.0.5
+ resolution: "@radix-ui/react-use-effect-event@npm:0.0.5"
+ dependencies:
+ "@radix-ui/react-use-layout-effect": "npm:1.1.4"
+ peerDependencies:
+ "@types/react": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 10c0/36eb3523d3c30e88615e0492aed5c644e61eb4fec98097de0fb2ee1cf33d7684b76e8a34bedb0aa7c25b412e0ef56c83b16772e9716d03d61901bc1b98cb1993
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-use-escape-keydown@npm:1.1.0":
version: 1.1.0
resolution: "@radix-ui/react-use-escape-keydown@npm:1.1.0"
@@ -7329,6 +8373,19 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-use-layout-effect@npm:1.1.4":
+ version: 1.1.4
+ resolution: "@radix-ui/react-use-layout-effect@npm:1.1.4"
+ peerDependencies:
+ "@types/react": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 10c0/427df10bb3c55de36afd6b9a749fb4b72b0f78840ae4abb5dda24aa09d653ede2d264c96a8030f58db353498f42b2bce929510c777004e250f7845b06c782bcf
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-use-previous@npm:1.1.1":
version: 1.1.1
resolution: "@radix-ui/react-use-previous@npm:1.1.1"
@@ -7342,6 +8399,19 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-use-previous@npm:1.1.4":
+ version: 1.1.4
+ resolution: "@radix-ui/react-use-previous@npm:1.1.4"
+ peerDependencies:
+ "@types/react": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 10c0/e291d635ef2ec1813ad499aa4d14b6da81042831549140e8a71ab982540322a9abbe629ebffb175258b9c60e77fd0736b9b4fe1cd76066912fd5270783030778
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-use-rect@npm:1.1.1":
version: 1.1.1
resolution: "@radix-ui/react-use-rect@npm:1.1.1"
@@ -7357,6 +8427,21 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-use-rect@npm:1.1.4":
+ version: 1.1.4
+ resolution: "@radix-ui/react-use-rect@npm:1.1.4"
+ dependencies:
+ "@radix-ui/rect": "npm:1.1.3"
+ peerDependencies:
+ "@types/react": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 10c0/3acfe9265f9fbdcdead05ec4540a95d8932fb53e9eabd73c080650122424d3d5247260d349ea2d91b2712af9670a27ac2110400671b98d061b2347390fe29490
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-use-size@npm:1.1.1":
version: 1.1.1
resolution: "@radix-ui/react-use-size@npm:1.1.1"
@@ -7372,6 +8457,40 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/react-use-size@npm:1.1.4":
+ version: 1.1.4
+ resolution: "@radix-ui/react-use-size@npm:1.1.4"
+ dependencies:
+ "@radix-ui/react-use-layout-effect": "npm:1.1.4"
+ peerDependencies:
+ "@types/react": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 10c0/ebb4a0c6e71768ae231635cc721d7f01de0a31637e73cccea095ad63921bfece9635eb9500cbe32504585380910f578216fb3eebdfc21b511f6dd6df81659f75
+ languageName: node
+ linkType: hard
+
+"@radix-ui/react-visually-hidden@npm:1.2.11":
+ version: 1.2.11
+ resolution: "@radix-ui/react-visually-hidden@npm:1.2.11"
+ dependencies:
+ "@radix-ui/react-primitive": "npm:2.1.10"
+ peerDependencies:
+ "@types/react": "*"
+ "@types/react-dom": "*"
+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ "@types/react-dom":
+ optional: true
+ checksum: 10c0/053fe28a279d37ad826970ffcaf93bdf029831e7aba8f34e0cdeecbd45a360b56c2f548b49e8a6bcbf484ceb3389bee2642dece754e59d63c14fb36c1a36a1a4
+ languageName: node
+ linkType: hard
+
"@radix-ui/react-visually-hidden@npm:1.2.3":
version: 1.2.3
resolution: "@radix-ui/react-visually-hidden@npm:1.2.3"
@@ -7398,6 +8517,13 @@ __metadata:
languageName: node
linkType: hard
+"@radix-ui/rect@npm:1.1.3":
+ version: 1.1.3
+ resolution: "@radix-ui/rect@npm:1.1.3"
+ checksum: 10c0/9396d6c4dbd8da51c0bef7481e1e46e7f371e27cc6a55c1079e854f3aa9f7dd89e02d98cc36e861e8d43fbb775eb76b06bdf5879fa12f25116bea676af2926da
+ languageName: node
+ linkType: hard
+
"@react-native-async-storage/async-storage@npm:2.2.0":
version: 2.2.0
resolution: "@react-native-async-storage/async-storage@npm:2.2.0"
@@ -7915,6 +9041,13 @@ __metadata:
languageName: node
linkType: hard
+"@rolldown/pluginutils@npm:1.0.0-rc.3":
+ version: 1.0.0-rc.3
+ resolution: "@rolldown/pluginutils@npm:1.0.0-rc.3"
+ checksum: 10c0/3928b6282a30f307d1b075d2f217180ae173ea9e00638ce46ab65f089bd5f7a0b2c488ae1ce530f509387793c656a2910337c4cd68fa9d37d7e439365989e699
+ languageName: node
+ linkType: hard
+
"@rolldown/pluginutils@npm:^1.0.0":
version: 1.0.1
resolution: "@rolldown/pluginutils@npm:1.0.1"
@@ -7922,6 +9055,181 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/rollup-android-arm-eabi@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-android-arm-eabi@npm:4.63.1"
+ conditions: os=android & cpu=arm
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-android-arm64@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-android-arm64@npm:4.63.1"
+ conditions: os=android & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-darwin-arm64@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-darwin-arm64@npm:4.63.1"
+ conditions: os=darwin & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-darwin-x64@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-darwin-x64@npm:4.63.1"
+ conditions: os=darwin & cpu=x64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-freebsd-arm64@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-freebsd-arm64@npm:4.63.1"
+ conditions: os=freebsd & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-freebsd-x64@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-freebsd-x64@npm:4.63.1"
+ conditions: os=freebsd & cpu=x64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-arm-gnueabihf@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.63.1"
+ conditions: os=linux & cpu=arm & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-arm-musleabihf@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.63.1"
+ conditions: os=linux & cpu=arm & libc=musl
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-arm64-gnu@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.63.1"
+ conditions: os=linux & cpu=arm64 & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-arm64-musl@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-linux-arm64-musl@npm:4.63.1"
+ conditions: os=linux & cpu=arm64 & libc=musl
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-loong64-gnu@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-linux-loong64-gnu@npm:4.63.1"
+ conditions: os=linux & cpu=loong64 & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-loong64-musl@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-linux-loong64-musl@npm:4.63.1"
+ conditions: os=linux & cpu=loong64 & libc=musl
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-ppc64-gnu@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-linux-ppc64-gnu@npm:4.63.1"
+ conditions: os=linux & cpu=ppc64 & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-ppc64-musl@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-linux-ppc64-musl@npm:4.63.1"
+ conditions: os=linux & cpu=ppc64 & libc=musl
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-riscv64-gnu@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.63.1"
+ conditions: os=linux & cpu=riscv64 & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-riscv64-musl@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.63.1"
+ conditions: os=linux & cpu=riscv64 & libc=musl
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-s390x-gnu@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.63.1"
+ conditions: os=linux & cpu=s390x & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-x64-gnu@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-linux-x64-gnu@npm:4.63.1"
+ conditions: os=linux & cpu=x64 & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-linux-x64-musl@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-linux-x64-musl@npm:4.63.1"
+ conditions: os=linux & cpu=x64 & libc=musl
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-openbsd-x64@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-openbsd-x64@npm:4.63.1"
+ conditions: os=openbsd & cpu=x64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-openharmony-arm64@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-openharmony-arm64@npm:4.63.1"
+ conditions: os=openharmony & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-win32-arm64-msvc@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.63.1"
+ conditions: os=win32 & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-win32-ia32-msvc@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.63.1"
+ conditions: os=win32 & cpu=ia32
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-win32-x64-gnu@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-win32-x64-gnu@npm:4.63.1"
+ conditions: os=win32 & cpu=x64
+ languageName: node
+ linkType: hard
+
+"@rollup/rollup-win32-x64-msvc@npm:4.63.1":
+ version: 4.63.1
+ resolution: "@rollup/rollup-win32-x64-msvc@npm:4.63.1"
+ conditions: os=win32 & cpu=x64
+ languageName: node
+ linkType: hard
+
"@rushstack/eslint-patch@npm:^1.1.3":
version: 1.2.0
resolution: "@rushstack/eslint-patch@npm:1.2.0"
@@ -9158,6 +10466,13 @@ __metadata:
languageName: node
linkType: hard
+"@standard-schema/utils@npm:^0.3.0":
+ version: 0.3.0
+ resolution: "@standard-schema/utils@npm:0.3.0"
+ checksum: 10c0/6eb74cd13e52d5fc74054df51e37d947ef53f3ab9e02c085665dcca3c38c60ece8d735cebbdf18fbb13c775fbcb9becb3f53109b0e092a63f0f7389ce0993fd0
+ languageName: node
+ linkType: hard
+
"@stripe/stripe-js@npm:^7.8.0":
version: 7.8.0
resolution: "@stripe/stripe-js@npm:7.8.0"
@@ -9262,7 +10577,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/babel__core@npm:^7.1.14":
+"@types/babel__core@npm:^7.1.14, @types/babel__core@npm:^7.20.5":
version: 7.20.5
resolution: "@types/babel__core@npm:7.20.5"
dependencies:
@@ -9322,6 +10637,16 @@ __metadata:
languageName: node
linkType: hard
+"@types/chrome@npm:^0.2.6":
+ version: 0.2.7
+ resolution: "@types/chrome@npm:0.2.7"
+ dependencies:
+ "@types/filesystem": "npm:*"
+ "@types/har-format": "npm:*"
+ checksum: 10c0/499c25d282b70733160f1c51dc86301cec89a19a54e1db3449fd586dcc6a2523cf51c26e7e2b14d865dc2c94f73fa91e242fc5718220bbe80841fb32edb0955b
+ languageName: node
+ linkType: hard
+
"@types/crypto-js@npm:^4.1.1":
version: 4.1.1
resolution: "@types/crypto-js@npm:4.1.1"
@@ -9336,6 +10661,13 @@ __metadata:
languageName: node
linkType: hard
+"@types/estree@npm:1.0.9, @types/estree@npm:^1.0.6":
+ version: 1.0.9
+ resolution: "@types/estree@npm:1.0.9"
+ checksum: 10c0/3ad3286ca2988cd550dafb8f2ad599c8474868e954fa601a36655bdfefd8039f7c714b8c1c7f2ae219ffbd58bd4660e66fa7479a0120fc02d4777057d4865387
+ languageName: node
+ linkType: hard
+
"@types/estree@npm:^1.0.0":
version: 1.0.8
resolution: "@types/estree@npm:1.0.8"
@@ -9343,6 +10675,29 @@ __metadata:
languageName: node
linkType: hard
+"@types/filesystem@npm:*":
+ version: 0.0.36
+ resolution: "@types/filesystem@npm:0.0.36"
+ dependencies:
+ "@types/filewriter": "npm:*"
+ checksum: 10c0/3ebec32f0494b0a2612187d148e9f253ff55672c53f566d9a1e6d891eb6e2372df93c252b594b2775bc53e6660c4c37fdb05dc1b26e72b60a31010da8e1f7317
+ languageName: node
+ linkType: hard
+
+"@types/filewriter@npm:*":
+ version: 0.0.33
+ resolution: "@types/filewriter@npm:0.0.33"
+ checksum: 10c0/363ef9a658a961ceae04f52934562e4ebdcdc3a2564dd8544f593d77113c16574938b6ba4fea0bee418c37bda0668c1e03dfedb6adf00d55853f51fb3a59247b
+ languageName: node
+ linkType: hard
+
+"@types/firefox-webext-browser@npm:^143.0.0":
+ version: 143.0.0
+ resolution: "@types/firefox-webext-browser@npm:143.0.0"
+ checksum: 10c0/2e4ca8f438386015c65d08ed967f24cd7fcee0bed3e1babcf8a797b3d6179c3f9c06bee169df91e0cff4db443e630cba7cc0020e1c58f7c9be7eea10961aad93
+ languageName: node
+ linkType: hard
+
"@types/formidable@npm:^3.4.5":
version: 3.4.5
resolution: "@types/formidable@npm:3.4.5"
@@ -9378,6 +10733,13 @@ __metadata:
languageName: node
linkType: hard
+"@types/har-format@npm:*":
+ version: 1.2.16
+ resolution: "@types/har-format@npm:1.2.16"
+ checksum: 10c0/77e952bc219db0c1f0588cab3b95865bc343b922e8423a76fbbd6a757c40709a256933fa415eb8fefda6ea5897c8e3dd3191bb8a82b37c13d9232467d31ae485
+ languageName: node
+ linkType: hard
+
"@types/hoist-non-react-statics@npm:^3.3.0, @types/hoist-non-react-statics@npm:^3.3.4":
version: 3.3.5
resolution: "@types/hoist-non-react-statics@npm:3.3.5"
@@ -9445,6 +10807,13 @@ __metadata:
languageName: node
linkType: hard
+"@types/json-schema@npm:^7.0.12, @types/json-schema@npm:^7.0.15":
+ version: 7.0.15
+ resolution: "@types/json-schema@npm:7.0.15"
+ checksum: 10c0/a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db
+ languageName: node
+ linkType: hard
+
"@types/json5@npm:^0.0.29":
version: 0.0.29
resolution: "@types/json5@npm:0.0.29"
@@ -9476,6 +10845,13 @@ __metadata:
languageName: node
linkType: hard
+"@types/minimatch@npm:^3.0.5":
+ version: 3.0.5
+ resolution: "@types/minimatch@npm:3.0.5"
+ checksum: 10c0/a1a19ba342d6f39b569510f621ae4bbe972dc9378d15e9a5e47904c440ee60744f5b09225bc73be1c6490e3a9c938eee69eb53debf55ce1f15761201aa965f97
+ languageName: node
+ linkType: hard
+
"@types/ms@npm:*":
version: 2.1.0
resolution: "@types/ms@npm:2.1.0"
@@ -9643,6 +11019,13 @@ __metadata:
languageName: node
linkType: hard
+"@types/semver@npm:^7.5.0":
+ version: 7.8.0
+ resolution: "@types/semver@npm:7.8.0"
+ checksum: 10c0/46a1f38e36013448b279798e8b134e7e8de3b3630b1f40683903b9d57d36dd1d70838515570ed9a149fa09e9c381b9e39319b58d7b9f3b929b42ae2becff7aa3
+ languageName: node
+ linkType: hard
+
"@types/shelljs@npm:^0.8.15":
version: 0.8.15
resolution: "@types/shelljs@npm:0.8.15"
@@ -9681,6 +11064,13 @@ __metadata:
languageName: node
linkType: hard
+"@types/webextension-polyfill@npm:^0.12.5":
+ version: 0.12.5
+ resolution: "@types/webextension-polyfill@npm:0.12.5"
+ checksum: 10c0/019727139514bc39d25d9d94be8a24ca8a57f49954c3e546a54cc0df213b3d356391bf45917c43084370da462b4c903bbaa26a33845458ca868b8726961113e1
+ languageName: node
+ linkType: hard
+
"@types/yargs-parser@npm:*":
version: 21.0.3
resolution: "@types/yargs-parser@npm:21.0.3"
@@ -9697,6 +11087,31 @@ __metadata:
languageName: node
linkType: hard
+"@typescript-eslint/eslint-plugin@npm:^6.21.0":
+ version: 6.21.0
+ resolution: "@typescript-eslint/eslint-plugin@npm:6.21.0"
+ dependencies:
+ "@eslint-community/regexpp": "npm:^4.5.1"
+ "@typescript-eslint/scope-manager": "npm:6.21.0"
+ "@typescript-eslint/type-utils": "npm:6.21.0"
+ "@typescript-eslint/utils": "npm:6.21.0"
+ "@typescript-eslint/visitor-keys": "npm:6.21.0"
+ debug: "npm:^4.3.4"
+ graphemer: "npm:^1.4.0"
+ ignore: "npm:^5.2.4"
+ natural-compare: "npm:^1.4.0"
+ semver: "npm:^7.5.4"
+ ts-api-utils: "npm:^1.0.1"
+ peerDependencies:
+ "@typescript-eslint/parser": ^6.0.0 || ^6.0.0-alpha
+ eslint: ^7.0.0 || ^8.0.0
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ checksum: 10c0/f911a79ee64d642f814a3b6cdb0d324b5f45d9ef955c5033e78903f626b7239b4aa773e464a38c3e667519066169d983538f2bf8e5d00228af587c9d438fb344
+ languageName: node
+ linkType: hard
+
"@typescript-eslint/parser@npm:^5.42.0":
version: 5.49.0
resolution: "@typescript-eslint/parser@npm:5.49.0"
@@ -9714,6 +11129,24 @@ __metadata:
languageName: node
linkType: hard
+"@typescript-eslint/parser@npm:^6.21.0":
+ version: 6.21.0
+ resolution: "@typescript-eslint/parser@npm:6.21.0"
+ dependencies:
+ "@typescript-eslint/scope-manager": "npm:6.21.0"
+ "@typescript-eslint/types": "npm:6.21.0"
+ "@typescript-eslint/typescript-estree": "npm:6.21.0"
+ "@typescript-eslint/visitor-keys": "npm:6.21.0"
+ debug: "npm:^4.3.4"
+ peerDependencies:
+ eslint: ^7.0.0 || ^8.0.0
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ checksum: 10c0/a8f99820679decd0d115c0af61903fb1de3b1b5bec412dc72b67670bf636de77ab07f2a68ee65d6da7976039bbf636907f9d5ca546db3f0b98a31ffbc225bc7d
+ languageName: node
+ linkType: hard
+
"@typescript-eslint/scope-manager@npm:5.49.0":
version: 5.49.0
resolution: "@typescript-eslint/scope-manager@npm:5.49.0"
@@ -9724,6 +11157,33 @@ __metadata:
languageName: node
linkType: hard
+"@typescript-eslint/scope-manager@npm:6.21.0":
+ version: 6.21.0
+ resolution: "@typescript-eslint/scope-manager@npm:6.21.0"
+ dependencies:
+ "@typescript-eslint/types": "npm:6.21.0"
+ "@typescript-eslint/visitor-keys": "npm:6.21.0"
+ checksum: 10c0/eaf868938d811cbbea33e97e44ba7050d2b6892202cea6a9622c486b85ab1cf801979edf78036179a8ba4ac26f1dfdf7fcc83a68c1ff66be0b3a8e9a9989b526
+ languageName: node
+ linkType: hard
+
+"@typescript-eslint/type-utils@npm:6.21.0":
+ version: 6.21.0
+ resolution: "@typescript-eslint/type-utils@npm:6.21.0"
+ dependencies:
+ "@typescript-eslint/typescript-estree": "npm:6.21.0"
+ "@typescript-eslint/utils": "npm:6.21.0"
+ debug: "npm:^4.3.4"
+ ts-api-utils: "npm:^1.0.1"
+ peerDependencies:
+ eslint: ^7.0.0 || ^8.0.0
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ checksum: 10c0/7409c97d1c4a4386b488962739c4f1b5b04dc60cf51f8cd88e6b12541f84d84c6b8b67e491a147a2c95f9ec486539bf4519fb9d418411aef6537b9c156468117
+ languageName: node
+ linkType: hard
+
"@typescript-eslint/types@npm:5.49.0":
version: 5.49.0
resolution: "@typescript-eslint/types@npm:5.49.0"
@@ -9731,6 +11191,13 @@ __metadata:
languageName: node
linkType: hard
+"@typescript-eslint/types@npm:6.21.0":
+ version: 6.21.0
+ resolution: "@typescript-eslint/types@npm:6.21.0"
+ checksum: 10c0/020631d3223bbcff8a0da3efbdf058220a8f48a3de221563996ad1dcc30d6c08dadc3f7608cc08830d21c0d565efd2db19b557b9528921c78aabb605eef2d74d
+ languageName: node
+ linkType: hard
+
"@typescript-eslint/typescript-estree@npm:5.49.0":
version: 5.49.0
resolution: "@typescript-eslint/typescript-estree@npm:5.49.0"
@@ -9749,6 +11216,42 @@ __metadata:
languageName: node
linkType: hard
+"@typescript-eslint/typescript-estree@npm:6.21.0":
+ version: 6.21.0
+ resolution: "@typescript-eslint/typescript-estree@npm:6.21.0"
+ dependencies:
+ "@typescript-eslint/types": "npm:6.21.0"
+ "@typescript-eslint/visitor-keys": "npm:6.21.0"
+ debug: "npm:^4.3.4"
+ globby: "npm:^11.1.0"
+ is-glob: "npm:^4.0.3"
+ minimatch: "npm:9.0.3"
+ semver: "npm:^7.5.4"
+ ts-api-utils: "npm:^1.0.1"
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+ checksum: 10c0/af1438c60f080045ebb330155a8c9bb90db345d5069cdd5d01b67de502abb7449d6c75500519df829f913a6b3f490ade3e8215279b6bdc63d0fb0ae61034df5f
+ languageName: node
+ linkType: hard
+
+"@typescript-eslint/utils@npm:6.21.0":
+ version: 6.21.0
+ resolution: "@typescript-eslint/utils@npm:6.21.0"
+ dependencies:
+ "@eslint-community/eslint-utils": "npm:^4.4.0"
+ "@types/json-schema": "npm:^7.0.12"
+ "@types/semver": "npm:^7.5.0"
+ "@typescript-eslint/scope-manager": "npm:6.21.0"
+ "@typescript-eslint/types": "npm:6.21.0"
+ "@typescript-eslint/typescript-estree": "npm:6.21.0"
+ semver: "npm:^7.5.4"
+ peerDependencies:
+ eslint: ^7.0.0 || ^8.0.0
+ checksum: 10c0/ab2df3833b2582d4e5467a484d08942b4f2f7208f8e09d67de510008eb8001a9b7460f2f9ba11c12086fd3cdcac0c626761c7995c2c6b5657d5fa6b82030a32d
+ languageName: node
+ linkType: hard
+
"@typescript-eslint/visitor-keys@npm:5.49.0":
version: 5.49.0
resolution: "@typescript-eslint/visitor-keys@npm:5.49.0"
@@ -9759,6 +11262,16 @@ __metadata:
languageName: node
linkType: hard
+"@typescript-eslint/visitor-keys@npm:6.21.0":
+ version: 6.21.0
+ resolution: "@typescript-eslint/visitor-keys@npm:6.21.0"
+ dependencies:
+ "@typescript-eslint/types": "npm:6.21.0"
+ eslint-visitor-keys: "npm:^3.4.1"
+ checksum: 10c0/7395f69739cfa1cb83c1fb2fad30afa2a814756367302fb4facd5893eff66abc807e8d8f63eba94ed3b0fe0c1c996ac9a1680bcbf0f83717acedc3f2bb724fbf
+ languageName: node
+ linkType: hard
+
"@ungap/structured-clone@npm:^1.3.0":
version: 1.3.0
resolution: "@ungap/structured-clone@npm:1.3.0"
@@ -9795,6 +11308,22 @@ __metadata:
languageName: node
linkType: hard
+"@vitejs/plugin-react@npm:^5.2.0":
+ version: 5.2.0
+ resolution: "@vitejs/plugin-react@npm:5.2.0"
+ dependencies:
+ "@babel/core": "npm:^7.29.0"
+ "@babel/plugin-transform-react-jsx-self": "npm:^7.27.1"
+ "@babel/plugin-transform-react-jsx-source": "npm:^7.27.1"
+ "@rolldown/pluginutils": "npm:1.0.0-rc.3"
+ "@types/babel__core": "npm:^7.20.5"
+ react-refresh: "npm:^0.18.0"
+ peerDependencies:
+ vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0
+ checksum: 10c0/bac0a409e71eee954a05bc41580411c369bd5f9ef0586a1f9743fba76ad6603c437d93d407d230780015361f93d1592c55e53314813cded6369c36d3c1e8edbf
+ languageName: node
+ linkType: hard
+
"@vitest/expect@npm:4.1.0":
version: 4.1.0
resolution: "@vitest/expect@npm:4.1.0"
@@ -9978,6 +11507,15 @@ __metadata:
languageName: node
linkType: hard
+"acorn@npm:^8.15.0, acorn@npm:^8.16.0":
+ version: 8.18.0
+ resolution: "acorn@npm:8.18.0"
+ bin:
+ acorn: bin/acorn
+ checksum: 10c0/be771be2135cc07910cf76f444ad514d7dcfd6d4a8026e597e93155275abc8ef61eee12211d52146e9d962874269b634f397464942087be013c89d0c54c5f8e5
+ languageName: node
+ linkType: hard
+
"acorn@npm:^8.9.0":
version: 8.9.0
resolution: "acorn@npm:8.9.0"
@@ -9987,6 +11525,77 @@ __metadata:
languageName: node
linkType: hard
+"addons-linter@npm:10.10.0":
+ version: 10.10.0
+ resolution: "addons-linter@npm:10.10.0"
+ dependencies:
+ "@fluent/syntax": "npm:0.19.0"
+ "@fregante/relaxed-json": "npm:2.0.0"
+ "@mdn/browser-compat-data": "npm:8.0.8"
+ addons-moz-compare: "npm:1.3.0"
+ addons-scanner-utils: "npm:15.4.0"
+ ajv: "npm:8.20.0"
+ cheerio: "npm:1.2.0"
+ columnify: "npm:1.6.0"
+ common-tags: "npm:1.8.2"
+ css-tree: "npm:3.2.1"
+ deepmerge: "npm:4.3.1"
+ eslint: "npm:9.39.4"
+ eslint-plugin-no-unsanitized: "npm:4.1.5"
+ eslint-visitor-keys: "npm:5.0.1"
+ espree: "npm:11.2.0"
+ esprima: "npm:4.0.1"
+ fast-json-patch: "npm:3.1.1"
+ image-size: "npm:2.0.2"
+ json-merge-patch: "npm:1.0.2"
+ pino: "npm:10.3.1"
+ semver: "npm:7.8.5"
+ source-map-support: "npm:0.5.21"
+ upath: "npm:3.0.8"
+ yargs: "npm:17.7.2"
+ yauzl: "npm:3.4.0"
+ bin:
+ addons-linter: bin/addons-linter
+ checksum: 10c0/56e57243bdd2e1eaa27ca8ed1e0105fde209734264ef4294b31b8de8f88c71fa9fccd05726e24494a31894cb878156653ae8df29ec43dcf77906ac4362b58b77
+ languageName: node
+ linkType: hard
+
+"addons-moz-compare@npm:1.3.0":
+ version: 1.3.0
+ resolution: "addons-moz-compare@npm:1.3.0"
+ checksum: 10c0/a01c799f7a91e5369e9885092620de5f27895b83199b475413936e0a68191aa76888c6959fae92547d39b67709a478f4c01228792b3042416cd314af7a5ad4ed
+ languageName: node
+ linkType: hard
+
+"addons-scanner-utils@npm:15.4.0":
+ version: 15.4.0
+ resolution: "addons-scanner-utils@npm:15.4.0"
+ dependencies:
+ common-tags: "npm:1.8.2"
+ first-chunk-stream: "npm:3.0.0"
+ jsonwebtoken: "npm:^9.0.3"
+ strip-bom-stream: "npm:4.0.0"
+ upath: "npm:3.0.7"
+ yauzl: "npm:3.4.0"
+ peerDependencies:
+ express: 5.2.1
+ safe-compare: 1.1.4
+ peerDependenciesMeta:
+ express:
+ optional: true
+ safe-compare:
+ optional: true
+ checksum: 10c0/4b41881636938b139fb61c38c0cccd15466e071593539c41c579cd70789520f51924741521983a9bb67ad90e043ad6d81ab550858118e137aa595db4575be278
+ languageName: node
+ linkType: hard
+
+"adm-zip@npm:~0.6.x":
+ version: 0.6.0
+ resolution: "adm-zip@npm:0.6.0"
+ checksum: 10c0/440f37590c62255226f1db4cb1a5a618879347f5106ad5b9a24c67c20f9a54bd5b4efcd2b35af858e39c7885d05f4bd35f4c2f42378c98d13f779be380bc9ae4
+ languageName: node
+ linkType: hard
+
"agent-base@npm:6":
version: 6.0.2
resolution: "agent-base@npm:6.0.2"
@@ -10033,7 +11642,19 @@ __metadata:
languageName: node
linkType: hard
-"ajv@npm:^6.12.4":
+"ajv@npm:8.20.0":
+ version: 8.20.0
+ resolution: "ajv@npm:8.20.0"
+ dependencies:
+ fast-deep-equal: "npm:^3.1.3"
+ fast-uri: "npm:^3.0.1"
+ json-schema-traverse: "npm:^1.0.0"
+ require-from-string: "npm:^2.0.2"
+ checksum: 10c0/5df9a1c8f83863cde1bd3a9ddb426f599718f88e3dc9153616c79fb28e0be455335830d7f21d745576519f057b371352daa31047b6a33d7036fe08777d60cf2a
+ languageName: node
+ linkType: hard
+
+"ajv@npm:^6.12.4, ajv@npm:^6.14.0":
version: 6.15.0
resolution: "ajv@npm:6.15.0"
dependencies:
@@ -10064,6 +11685,15 @@ __metadata:
languageName: node
linkType: hard
+"ansi-align@npm:^3.0.1":
+ version: 3.0.1
+ resolution: "ansi-align@npm:3.0.1"
+ dependencies:
+ string-width: "npm:^4.1.0"
+ checksum: 10c0/ad8b755a253a1bc8234eb341e0cec68a857ab18bf97ba2bda529e86f6e30460416523e0ec58c32e5c21f0ca470d779503244892873a5895dbd0c39c788e82467
+ languageName: node
+ linkType: hard
+
"ansi-escapes@npm:^4.2.1, ansi-escapes@npm:^4.3.0":
version: 4.3.2
resolution: "ansi-escapes@npm:4.3.2"
@@ -10101,6 +11731,13 @@ __metadata:
languageName: node
linkType: hard
+"ansi-regex@npm:^6.2.2":
+ version: 6.3.0
+ resolution: "ansi-regex@npm:6.3.0"
+ checksum: 10c0/bc047786d0531f1f22d1e22e9863e8554488a399f1ee5270b753efa6de938a788d27456f2b256770f11fdd8b1e847483bc1b55ddc2b3ffe82ec45c875292c651
+ languageName: node
+ linkType: hard
+
"ansi-styles@npm:^3.2.1":
version: 3.2.1
resolution: "ansi-styles@npm:3.2.1"
@@ -10133,6 +11770,13 @@ __metadata:
languageName: node
linkType: hard
+"ansi-styles@npm:^6.2.1":
+ version: 6.2.3
+ resolution: "ansi-styles@npm:6.2.3"
+ checksum: 10c0/23b8a4ce14e18fb854693b95351e286b771d23d8844057ed2e7d083cd3e708376c3323707ec6a24365f7d7eda3ca00327fe04092e29e551499ec4c8b7bfac868
+ languageName: node
+ linkType: hard
+
"any-base@npm:^1.1.0":
version: 1.1.0
resolution: "any-base@npm:1.1.0"
@@ -10231,6 +11875,13 @@ __metadata:
languageName: node
linkType: hard
+"array-differ@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "array-differ@npm:4.0.0"
+ checksum: 10c0/72c035c505a7629d2983827a16654d73db6a9a2d6340ba9d0803aed516f46a202f3b7042c5a4a57534952f7477ca5394f3b65ecb9be5192e5d269f445f066d75
+ languageName: node
+ linkType: hard
+
"array-includes@npm:^3.1.5, array-includes@npm:^3.1.6":
version: 3.1.6
resolution: "array-includes@npm:3.1.6"
@@ -10258,6 +11909,13 @@ __metadata:
languageName: node
linkType: hard
+"array-union@npm:^3.0.1":
+ version: 3.0.1
+ resolution: "array-union@npm:3.0.1"
+ checksum: 10c0/b5271d7e5688d2d1932928b271796dbbddc422448557ab05ef6f34a9f84fb645eb855384feec6234bf59c226053a0e21b8a00b0e6cd588874b90a5c13dbeb64e
+ languageName: node
+ linkType: hard
+
"array.prototype.flat@npm:^1.3.1":
version: 1.3.1
resolution: "array.prototype.flat@npm:1.3.1"
@@ -10323,6 +11981,13 @@ __metadata:
languageName: node
linkType: hard
+"async@npm:^3.2.0":
+ version: 3.2.6
+ resolution: "async@npm:3.2.6"
+ checksum: 10c0/36484bb15ceddf07078688d95e27076379cc2f87b10c03b6dd8a83e89475a3c8df5848859dd06a4c95af1e4c16fc973de0171a77f18ea00be899aca2a4f85e70
+ languageName: node
+ linkType: hard
+
"asynckit@npm:^0.4.0":
version: 0.4.0
resolution: "asynckit@npm:0.4.0"
@@ -10337,6 +12002,23 @@ __metadata:
languageName: node
linkType: hard
+"atomic-sleep@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "atomic-sleep@npm:1.0.0"
+ checksum: 10c0/e329a6665512736a9bbb073e1761b4ec102f7926cce35037753146a9db9c8104f5044c1662e4a863576ce544fb8be27cd2be6bc8c1a40147d03f31eb1cfb6e8a
+ languageName: node
+ linkType: hard
+
+"atomically@npm:^2.0.3":
+ version: 2.1.1
+ resolution: "atomically@npm:2.1.1"
+ dependencies:
+ stubborn-fs: "npm:^2.0.0"
+ when-exit: "npm:^2.1.4"
+ checksum: 10c0/8813decdea834eab9b95c63ae3762355e9182e718b49be50153539bb52f727851f5096ef180f84901572dac31c51cb113a3bf3dda12fa633a16bc58f49ba003d
+ languageName: node
+ linkType: hard
+
"autoprefixer@npm:^10.4.14":
version: 10.4.14
resolution: "autoprefixer@npm:10.4.14"
@@ -10685,6 +12367,13 @@ __metadata:
languageName: node
linkType: hard
+"bluebird@npm:~3.7":
+ version: 3.7.2
+ resolution: "bluebird@npm:3.7.2"
+ checksum: 10c0/680de03adc54ff925eaa6c7bb9a47a0690e8b5de60f4792604aae8ed618c65e6b63a7893b57ca924beaf53eee69c5af4f8314148c08124c550fe1df1add897d2
+ languageName: node
+ linkType: hard
+
"bmp-js@npm:^0.1.0":
version: 0.1.0
resolution: "bmp-js@npm:0.1.0"
@@ -10713,6 +12402,22 @@ __metadata:
languageName: node
linkType: hard
+"boxen@npm:^8.0.1":
+ version: 8.0.1
+ resolution: "boxen@npm:8.0.1"
+ dependencies:
+ ansi-align: "npm:^3.0.1"
+ camelcase: "npm:^8.0.0"
+ chalk: "npm:^5.3.0"
+ cli-boxes: "npm:^3.0.0"
+ string-width: "npm:^7.2.0"
+ type-fest: "npm:^4.21.0"
+ widest-line: "npm:^5.0.0"
+ wrap-ansi: "npm:^9.0.0"
+ checksum: 10c0/8c54f9797bf59eec0b44c9043d9cb5d5b2783dc673e4650235e43a5155c43334e78ec189fd410cf92056c1054aee3758279809deed115b49e68f1a1c6b3faa32
+ languageName: node
+ linkType: hard
+
"bplist-creator@npm:0.1.0":
version: 0.1.0
resolution: "bplist-creator@npm:0.1.0"
@@ -10750,6 +12455,15 @@ __metadata:
languageName: node
linkType: hard
+"brace-expansion@npm:^2.0.1":
+ version: 2.1.4
+ resolution: "brace-expansion@npm:2.1.4"
+ dependencies:
+ balanced-match: "npm:^1.0.0"
+ checksum: 10c0/6c0a0e2573eac1dc565b52b1e1bfbeba39bf1830d106ebbc61ff1eaefcf610e9111cd3baa091addd18e33292135c99e019d3184d966389d85dc958fdcdc1449f
+ languageName: node
+ linkType: hard
+
"brace-expansion@npm:^2.0.2":
version: 2.0.2
resolution: "brace-expansion@npm:2.0.2"
@@ -10851,6 +12565,15 @@ __metadata:
languageName: node
linkType: hard
+"bundle-name@npm:^4.1.0":
+ version: 4.1.0
+ resolution: "bundle-name@npm:4.1.0"
+ dependencies:
+ run-applescript: "npm:^7.0.0"
+ checksum: 10c0/8e575981e79c2bcf14d8b1c027a3775c095d362d1382312f444a7c861b0e21513c0bd8db5bd2b16e50ba0709fa622d4eab6b53192d222120305e68359daece29
+ languageName: node
+ linkType: hard
+
"bytes@npm:3.1.0":
version: 3.1.0
resolution: "bytes@npm:3.1.0"
@@ -10940,6 +12663,13 @@ __metadata:
languageName: node
linkType: hard
+"camelcase@npm:8.0.0, camelcase@npm:^8.0.0":
+ version: 8.0.0
+ resolution: "camelcase@npm:8.0.0"
+ checksum: 10c0/56c5fe072f0523c9908cdaac21d4a3b3fb0f608fb2e9ba90a60e792b95dd3bb3d1f3523873ab17d86d146e94171305f73ef619e2f538bd759675bc4a14b4bff3
+ languageName: node
+ linkType: hard
+
"camelcase@npm:^5.3.1":
version: 5.3.1
resolution: "camelcase@npm:5.3.1"
@@ -11006,6 +12736,13 @@ __metadata:
languageName: node
linkType: hard
+"chalk@npm:^5.3.0":
+ version: 5.6.2
+ resolution: "chalk@npm:5.6.2"
+ checksum: 10c0/99a4b0f0e7991796b1e7e3f52dceb9137cae2a9dfc8fc0784a550dc4c558e15ab32ed70b14b21b52beb2679b4892b41a0aa44249bcb996f01e125d58477c6976
+ languageName: node
+ linkType: hard
+
"char-regex@npm:^1.0.2":
version: 1.0.2
resolution: "char-regex@npm:1.0.2"
@@ -11034,6 +12771,39 @@ __metadata:
languageName: node
linkType: hard
+"cheerio-select@npm:^2.1.0":
+ version: 2.1.0
+ resolution: "cheerio-select@npm:2.1.0"
+ dependencies:
+ boolbase: "npm:^1.0.0"
+ css-select: "npm:^5.1.0"
+ css-what: "npm:^6.1.0"
+ domelementtype: "npm:^2.3.0"
+ domhandler: "npm:^5.0.3"
+ domutils: "npm:^3.0.1"
+ checksum: 10c0/2242097e593919dba4aacb97d7b8275def8b9ec70b00aa1f43335456870cfc9e284eae2080bdc832ed232dabb9eefcf56c722d152da4a154813fb8814a55d282
+ languageName: node
+ linkType: hard
+
+"cheerio@npm:1.2.0":
+ version: 1.2.0
+ resolution: "cheerio@npm:1.2.0"
+ dependencies:
+ cheerio-select: "npm:^2.1.0"
+ dom-serializer: "npm:^2.0.0"
+ domhandler: "npm:^5.0.3"
+ domutils: "npm:^3.2.2"
+ encoding-sniffer: "npm:^0.2.1"
+ htmlparser2: "npm:^10.1.0"
+ parse5: "npm:^7.3.0"
+ parse5-htmlparser2-tree-adapter: "npm:^7.1.0"
+ parse5-parser-stream: "npm:^7.1.2"
+ undici: "npm:^7.19.0"
+ whatwg-mimetype: "npm:^4.0.0"
+ checksum: 10c0/91a566aabfa9962f28056045bb7d92d79c0f8f3abb1fb86a852a9d1760556adddeb01a36b6f08fa7c133282375d387ae450a181a659e76c6a64016c30cc3f611
+ languageName: node
+ linkType: hard
+
"chokidar@npm:^3.5.2":
version: 3.5.3
resolution: "chokidar@npm:3.5.3"
@@ -11086,6 +12856,20 @@ __metadata:
languageName: node
linkType: hard
+"chrome-launcher@npm:1.2.0":
+ version: 1.2.0
+ resolution: "chrome-launcher@npm:1.2.0"
+ dependencies:
+ "@types/node": "npm:*"
+ escape-string-regexp: "npm:^4.0.0"
+ is-wsl: "npm:^2.2.0"
+ lighthouse-logger: "npm:^2.0.1"
+ bin:
+ print-chrome-path: bin/print-chrome-path.cjs
+ checksum: 10c0/3598bedecf70e42babada1df4f1bfa37071906973044737ff91d0e9ab53c4fac8cabd7489edb8bd4fcd83a70ae50c671265453d62f612419b745bfab63875817
+ languageName: node
+ linkType: hard
+
"chrome-launcher@npm:^0.15.2":
version: 0.15.2
resolution: "chrome-launcher@npm:0.15.2"
@@ -11144,6 +12928,13 @@ __metadata:
languageName: node
linkType: hard
+"cli-boxes@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "cli-boxes@npm:3.0.0"
+ checksum: 10c0/4db3e8fbfaf1aac4fb3a6cbe5a2d3fa048bee741a45371b906439b9ffc821c6e626b0f108bdcd3ddf126a4a319409aedcf39a0730573ff050fdd7b6731e99fb9
+ languageName: node
+ linkType: hard
+
"cli-cursor@npm:^2.1.0":
version: 2.1.0
resolution: "cli-cursor@npm:2.1.0"
@@ -11192,6 +12983,21 @@ __metadata:
languageName: node
linkType: hard
+"cmdk@npm:^1.1.1":
+ version: 1.1.1
+ resolution: "cmdk@npm:1.1.1"
+ dependencies:
+ "@radix-ui/react-compose-refs": "npm:^1.1.1"
+ "@radix-ui/react-dialog": "npm:^1.1.6"
+ "@radix-ui/react-id": "npm:^1.1.0"
+ "@radix-ui/react-primitive": "npm:^2.0.2"
+ peerDependencies:
+ react: ^18 || ^19 || ^19.0.0-rc
+ react-dom: ^18 || ^19 || ^19.0.0-rc
+ checksum: 10c0/5605ac4396ec9bc65c82f954da19dd89a0636a54026df72780e2470da1381f9d57434a80a53f2d57eaa4e759660a3ebba9232b74258dc09970576591eae03116
+ languageName: node
+ linkType: hard
+
"co@npm:^4.6.0":
version: 4.6.0
resolution: "co@npm:4.6.0"
@@ -11274,6 +13080,16 @@ __metadata:
languageName: node
linkType: hard
+"columnify@npm:1.6.0":
+ version: 1.6.0
+ resolution: "columnify@npm:1.6.0"
+ dependencies:
+ strip-ansi: "npm:^6.0.1"
+ wcwidth: "npm:^1.0.0"
+ checksum: 10c0/25b90b59129331bbb8b0c838f8df69924349b83e8eab9549f431062a20a39094b8d744bb83265be38fd5d03140ce4bfbd85837c293f618925e83157ae9535f1d
+ languageName: node
+ linkType: hard
+
"combined-stream@npm:^1.0.8":
version: 1.0.8
resolution: "combined-stream@npm:1.0.8"
@@ -11283,7 +13099,7 @@ __metadata:
languageName: node
linkType: hard
-"commander@npm:^12.0.0":
+"commander@npm:^12.0.0, commander@npm:^12.1.0":
version: 12.1.0
resolution: "commander@npm:12.1.0"
checksum: 10c0/6e1996680c083b3b897bfc1cfe1c58dfbcd9842fd43e1aaf8a795fbc237f65efcc860a3ef457b318e73f29a4f4a28f6403c3d653d021d960e4632dd45bde54a9
@@ -11311,6 +13127,13 @@ __metadata:
languageName: node
linkType: hard
+"commander@npm:^9.1.0":
+ version: 9.5.0
+ resolution: "commander@npm:9.5.0"
+ checksum: 10c0/5f7784fbda2aaec39e89eb46f06a999e00224b3763dc65976e05929ec486e174fe9aac2655f03ba6a5e83875bd173be5283dc19309b7c65954701c02025b3c1d
+ languageName: node
+ linkType: hard
+
"comment-json@npm:^4.2.5":
version: 4.2.5
resolution: "comment-json@npm:4.2.5"
@@ -11324,6 +13147,13 @@ __metadata:
languageName: node
linkType: hard
+"common-tags@npm:1.8.2":
+ version: 1.8.2
+ resolution: "common-tags@npm:1.8.2"
+ checksum: 10c0/23efe47ff0a1a7c91489271b3a1e1d2a171c12ec7f9b35b29b2fce51270124aff0ec890087e2bc2182c1cb746e232ab7561aaafe05f1e7452aea733d2bfe3f63
+ languageName: node
+ linkType: hard
+
"compressible@npm:~2.0.18":
version: 2.0.18
resolution: "compressible@npm:2.0.18"
@@ -11373,6 +13203,28 @@ __metadata:
languageName: node
linkType: hard
+"config-chain@npm:^1.1.11":
+ version: 1.1.13
+ resolution: "config-chain@npm:1.1.13"
+ dependencies:
+ ini: "npm:^1.3.4"
+ proto-list: "npm:~1.2.1"
+ checksum: 10c0/39d1df18739d7088736cc75695e98d7087aea43646351b028dfabd5508d79cf6ef4c5bcd90471f52cd87ae470d1c5490c0a8c1a292fbe6ee9ff688061ea0963e
+ languageName: node
+ linkType: hard
+
+"configstore@npm:^7.0.0":
+ version: 7.1.0
+ resolution: "configstore@npm:7.1.0"
+ dependencies:
+ atomically: "npm:^2.0.3"
+ dot-prop: "npm:^9.0.0"
+ graceful-fs: "npm:^4.2.11"
+ xdg-basedir: "npm:^5.1.0"
+ checksum: 10c0/98f74ee84eb7fea8361f588d2f0f8fbec2dd680a628bb1e50668cfd3001ea2584565d31de1d57f18ab498d339778701f9bc1e77a997107e8ff10abd8afb267a6
+ languageName: node
+ linkType: hard
+
"connect@npm:^3.6.5, connect@npm:^3.7.0":
version: 3.7.0
resolution: "connect@npm:3.7.0"
@@ -11584,6 +13436,16 @@ __metadata:
languageName: node
linkType: hard
+"css-tree@npm:3.2.1":
+ version: 3.2.1
+ resolution: "css-tree@npm:3.2.1"
+ dependencies:
+ mdn-data: "npm:2.27.1"
+ source-map-js: "npm:^1.2.1"
+ checksum: 10c0/1f65e9ccaa56112a4706d6f003dd43d777f0dbcf848e66fd320f823192533581f8dd58daa906cb80622658332d50284d6be13b87a6ab4556cbbfe9ef535bbf7e
+ languageName: node
+ linkType: hard
+
"css-tree@npm:^1.1.3":
version: 1.1.3
resolution: "css-tree@npm:1.1.3"
@@ -11725,6 +13587,13 @@ __metadata:
languageName: node
linkType: hard
+"debounce@npm:1.2.1":
+ version: 1.2.1
+ resolution: "debounce@npm:1.2.1"
+ checksum: 10c0/6c9320aa0973fc42050814621a7a8a78146c1975799b5b3cc1becf1f77ba9a5aa583987884230da0842a03f385def452fad5d60db97c3d1c8b824e38a8edf500
+ languageName: node
+ linkType: hard
+
"debug@npm:2.6.9, debug@npm:^2.6.9":
version: 2.6.9
resolution: "debug@npm:2.6.9"
@@ -11779,7 +13648,7 @@ __metadata:
languageName: node
linkType: hard
-"debug@npm:^4.4.0":
+"debug@npm:^4.4.0, debug@npm:^4.4.1":
version: 4.4.3
resolution: "debug@npm:4.4.3"
dependencies:
@@ -11791,6 +13660,25 @@ __metadata:
languageName: node
linkType: hard
+"debug@npm:~4.3.1":
+ version: 4.3.7
+ resolution: "debug@npm:4.3.7"
+ dependencies:
+ ms: "npm:^2.1.3"
+ peerDependenciesMeta:
+ supports-color:
+ optional: true
+ checksum: 10c0/1471db19c3b06d485a622d62f65947a19a23fbd0dd73f7fd3eafb697eec5360cde447fb075919987899b1a2096e85d35d4eb5a4de09a57600ac9cf7e6c8e768b
+ languageName: node
+ linkType: hard
+
+"decamelize@npm:6.0.1":
+ version: 6.0.1
+ resolution: "decamelize@npm:6.0.1"
+ checksum: 10c0/c0a3a529591ebab1d1a9458b60684194e91d904e9b0a56367d3d507b2c8ab89dfd40c61423ca6a1eb2f70e2d44d2efe78f3342326395d3738d1d42592b1a6224
+ languageName: node
+ linkType: hard
+
"decimal.js@npm:^10.4.2":
version: 10.5.0
resolution: "decimal.js@npm:10.5.0"
@@ -11812,6 +13700,13 @@ __metadata:
languageName: node
linkType: hard
+"decode-uri-component@npm:^0.5.0":
+ version: 0.5.0
+ resolution: "decode-uri-component@npm:0.5.0"
+ checksum: 10c0/b913bb2ec3a83b4c96d961dcd7808c538f2f69f9a8581ab1bfbbb3d48c90e36779cc4580334198315d4c17f9c32d88ae4467c96582419a70b5f35df2c5a05cb1
+ languageName: node
+ linkType: hard
+
"dedent@npm:^1.0.0":
version: 1.5.3
resolution: "dedent@npm:1.5.3"
@@ -11863,13 +13758,30 @@ __metadata:
languageName: node
linkType: hard
-"deepmerge@npm:^4.2.2, deepmerge@npm:^4.3.1":
+"deepmerge@npm:4.3.1, deepmerge@npm:^4.2.2, deepmerge@npm:^4.3.1":
version: 4.3.1
resolution: "deepmerge@npm:4.3.1"
checksum: 10c0/e53481aaf1aa2c4082b5342be6b6d8ad9dfe387bc92ce197a66dea08bd4265904a087e75e464f14d1347cf2ac8afe1e4c16b266e0561cc5df29382d3c5f80044
languageName: node
linkType: hard
+"default-browser-id@npm:^5.0.0":
+ version: 5.0.1
+ resolution: "default-browser-id@npm:5.0.1"
+ checksum: 10c0/5288b3094c740ef3a86df9b999b04ff5ba4dee6b64e7b355c0fff5217752c8c86908d67f32f6cba9bb4f9b7b61a1b640c0a4f9e34c57e0ff3493559a625245ee
+ languageName: node
+ linkType: hard
+
+"default-browser@npm:^5.4.0":
+ version: 5.5.1
+ resolution: "default-browser@npm:5.5.1"
+ dependencies:
+ bundle-name: "npm:^4.1.0"
+ default-browser-id: "npm:^5.0.0"
+ checksum: 10c0/feb5e7a6a6f2fcbc7a6c5c78e071a4f7a3ab136e6244b9637e58fe6170f6e1254ae099cbe2ebc2b2823c387ed50fda176ce31d386f4f2ebbd43d8fb1cb6aacf7
+ languageName: node
+ linkType: hard
+
"defaults@npm:^1.0.3":
version: 1.0.4
resolution: "defaults@npm:1.0.4"
@@ -11897,6 +13809,13 @@ __metadata:
languageName: node
linkType: hard
+"define-lazy-prop@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "define-lazy-prop@npm:3.0.0"
+ checksum: 10c0/5ab0b2bf3fa58b3a443140bbd4cd3db1f91b985cc8a246d330b9ac3fc0b6a325a6d82bddc0b055123d745b3f9931afeea74a5ec545439a1630b9c8512b0eeb49
+ languageName: node
+ linkType: hard
+
"define-properties@npm:^1.1.3, define-properties@npm:^1.1.4":
version: 1.1.4
resolution: "define-properties@npm:1.1.4"
@@ -12163,7 +14082,7 @@ __metadata:
languageName: node
linkType: hard
-"domutils@npm:^3.0.1":
+"domutils@npm:^3.0.1, domutils@npm:^3.2.2":
version: 3.2.2
resolution: "domutils@npm:3.2.2"
dependencies:
@@ -12174,6 +14093,15 @@ __metadata:
languageName: node
linkType: hard
+"dot-prop@npm:^9.0.0":
+ version: 9.0.0
+ resolution: "dot-prop@npm:9.0.0"
+ dependencies:
+ type-fest: "npm:^4.18.2"
+ checksum: 10c0/4bac49a2f559156811862ac92813906f70529c50da918eaab81b38dd869743c667d578e183607f5ae11e8ae2a02e43e98e32c8a37bc4cae76b04d5b576e3112f
+ languageName: node
+ linkType: hard
+
"dotenv-cli@npm:^8.0.0":
version: 8.0.0
resolution: "dotenv-cli@npm:8.0.0"
@@ -12280,6 +14208,13 @@ __metadata:
languageName: node
linkType: hard
+"emoji-regex@npm:^10.3.0":
+ version: 10.6.0
+ resolution: "emoji-regex@npm:10.6.0"
+ checksum: 10c0/1e4aa097bb007301c3b4b1913879ae27327fdc48e93eeefefe3b87e495eb33c5af155300be951b4349ff6ac084f4403dc9eff970acba7c1c572d89396a9a32d7
+ languageName: node
+ linkType: hard
+
"emoji-regex@npm:^8.0.0":
version: 8.0.0
resolution: "emoji-regex@npm:8.0.0"
@@ -12308,6 +14243,16 @@ __metadata:
languageName: node
linkType: hard
+"encoding-sniffer@npm:^0.2.1":
+ version: 0.2.1
+ resolution: "encoding-sniffer@npm:0.2.1"
+ dependencies:
+ iconv-lite: "npm:^0.6.3"
+ whatwg-encoding: "npm:^3.1.1"
+ checksum: 10c0/d6b591880788f3baf8dd1744636dd189d24a1ec93e6f9817267c60ac3458a5191ca70ab1a186fb67731beff1c3489c6527dfdc4718158ed8460ab2f400dd5e7d
+ languageName: node
+ linkType: hard
+
"encoding@npm:^0.1.13":
version: 0.1.13
resolution: "encoding@npm:0.1.13"
@@ -12348,6 +14293,20 @@ __metadata:
languageName: node
linkType: hard
+"entities@npm:^6.0.0":
+ version: 6.0.1
+ resolution: "entities@npm:6.0.1"
+ checksum: 10c0/ed836ddac5acb34341094eb495185d527bd70e8632b6c0d59548cbfa23defdbae70b96f9a405c82904efa421230b5b3fd2283752447d737beffd3f3e6ee74414
+ languageName: node
+ linkType: hard
+
+"entities@npm:^7.0.1":
+ version: 7.0.1
+ resolution: "entities@npm:7.0.1"
+ checksum: 10c0/b4fb9937bb47ecb00aaaceb9db9cdd1cc0b0fb649c0e843d05cf5dbbd2e9d2df8f98721d8b1b286445689c72af7b54a7242fc2d63ef7c9739037a8c73363e7ca
+ languageName: node
+ linkType: hard
+
"env-editor@npm:^0.4.1":
version: 0.4.2
resolution: "env-editor@npm:0.4.2"
@@ -12518,6 +14477,102 @@ __metadata:
languageName: node
linkType: hard
+"es6-error@npm:4.1.1":
+ version: 4.1.1
+ resolution: "es6-error@npm:4.1.1"
+ checksum: 10c0/357663fb1e845c047d548c3d30f86e005db71e122678f4184ced0693f634688c3f3ef2d7de7d4af732f734de01f528b05954e270f06aa7d133679fb9fe6600ef
+ languageName: node
+ linkType: hard
+
+"esbuild@npm:^0.27.0 || ^0.28.0":
+ version: 0.28.2
+ resolution: "esbuild@npm:0.28.2"
+ dependencies:
+ "@esbuild/aix-ppc64": "npm:0.28.2"
+ "@esbuild/android-arm": "npm:0.28.2"
+ "@esbuild/android-arm64": "npm:0.28.2"
+ "@esbuild/android-x64": "npm:0.28.2"
+ "@esbuild/darwin-arm64": "npm:0.28.2"
+ "@esbuild/darwin-x64": "npm:0.28.2"
+ "@esbuild/freebsd-arm64": "npm:0.28.2"
+ "@esbuild/freebsd-x64": "npm:0.28.2"
+ "@esbuild/linux-arm": "npm:0.28.2"
+ "@esbuild/linux-arm64": "npm:0.28.2"
+ "@esbuild/linux-ia32": "npm:0.28.2"
+ "@esbuild/linux-loong64": "npm:0.28.2"
+ "@esbuild/linux-mips64el": "npm:0.28.2"
+ "@esbuild/linux-ppc64": "npm:0.28.2"
+ "@esbuild/linux-riscv64": "npm:0.28.2"
+ "@esbuild/linux-s390x": "npm:0.28.2"
+ "@esbuild/linux-x64": "npm:0.28.2"
+ "@esbuild/netbsd-arm64": "npm:0.28.2"
+ "@esbuild/netbsd-x64": "npm:0.28.2"
+ "@esbuild/openbsd-arm64": "npm:0.28.2"
+ "@esbuild/openbsd-x64": "npm:0.28.2"
+ "@esbuild/openharmony-arm64": "npm:0.28.2"
+ "@esbuild/sunos-x64": "npm:0.28.2"
+ "@esbuild/win32-arm64": "npm:0.28.2"
+ "@esbuild/win32-ia32": "npm:0.28.2"
+ "@esbuild/win32-x64": "npm:0.28.2"
+ dependenciesMeta:
+ "@esbuild/aix-ppc64":
+ optional: true
+ "@esbuild/android-arm":
+ optional: true
+ "@esbuild/android-arm64":
+ optional: true
+ "@esbuild/android-x64":
+ optional: true
+ "@esbuild/darwin-arm64":
+ optional: true
+ "@esbuild/darwin-x64":
+ optional: true
+ "@esbuild/freebsd-arm64":
+ optional: true
+ "@esbuild/freebsd-x64":
+ optional: true
+ "@esbuild/linux-arm":
+ optional: true
+ "@esbuild/linux-arm64":
+ optional: true
+ "@esbuild/linux-ia32":
+ optional: true
+ "@esbuild/linux-loong64":
+ optional: true
+ "@esbuild/linux-mips64el":
+ optional: true
+ "@esbuild/linux-ppc64":
+ optional: true
+ "@esbuild/linux-riscv64":
+ optional: true
+ "@esbuild/linux-s390x":
+ optional: true
+ "@esbuild/linux-x64":
+ optional: true
+ "@esbuild/netbsd-arm64":
+ optional: true
+ "@esbuild/netbsd-x64":
+ optional: true
+ "@esbuild/openbsd-arm64":
+ optional: true
+ "@esbuild/openbsd-x64":
+ optional: true
+ "@esbuild/openharmony-arm64":
+ optional: true
+ "@esbuild/sunos-x64":
+ optional: true
+ "@esbuild/win32-arm64":
+ optional: true
+ "@esbuild/win32-ia32":
+ optional: true
+ "@esbuild/win32-x64":
+ optional: true
+ bin:
+ esbuild: bin/esbuild
+ checksum: 10c0/9b19edb63bd7780fd2e8e65a1394a0e8a05a17d697f73f0647ffe3c134709d8dbe744ab3fd57b35c9470db268cae7678fafd3dcd3ce1f34fc590568c2433f5d2
+ languageName: node
+ linkType: hard
+
"esbuild@npm:~0.25.0":
version: 0.25.2
resolution: "esbuild@npm:0.25.2"
@@ -12618,6 +14673,13 @@ __metadata:
languageName: node
linkType: hard
+"escape-goat@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "escape-goat@npm:4.0.0"
+ checksum: 10c0/9d2a8314e2370f2dd9436d177f6b3b1773525df8f895c8f3e1acb716f5fd6b10b336cb1cd9862d4709b36eb207dbe33664838deca9c6d55b8371be4eebb972f6
+ languageName: node
+ linkType: hard
+
"escape-html@npm:~1.0.3":
version: 1.0.3
resolution: "escape-html@npm:1.0.3"
@@ -12779,6 +14841,15 @@ __metadata:
languageName: node
linkType: hard
+"eslint-plugin-no-unsanitized@npm:4.1.5":
+ version: 4.1.5
+ resolution: "eslint-plugin-no-unsanitized@npm:4.1.5"
+ peerDependencies:
+ eslint: ^9 || ^10
+ checksum: 10c0/c3dc2636ec698d4e4b7bc5bb744e8bf24975dc513b5dc9aaf616df5a32392ae5f5eaed91050b8a647cfa1ec717edea6e870d0418887d62a8afa8f1f5fcc1ed0c
+ languageName: node
+ linkType: hard
+
"eslint-plugin-react-hooks@npm:5.0.0-canary-7118f5dd7-20230705":
version: 5.0.0-canary-7118f5dd7-20230705
resolution: "eslint-plugin-react-hooks@npm:5.0.0-canary-7118f5dd7-20230705"
@@ -12788,6 +14859,24 @@ __metadata:
languageName: node
linkType: hard
+"eslint-plugin-react-hooks@npm:^5.2.0":
+ version: 5.2.0
+ resolution: "eslint-plugin-react-hooks@npm:5.2.0"
+ peerDependencies:
+ eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0
+ checksum: 10c0/1c8d50fa5984c6dea32470651807d2922cc3934cf3425e78f84a24c2dfd972e7f019bee84aefb27e0cf2c13fea0ac1d4473267727408feeb1c56333ca1489385
+ languageName: node
+ linkType: hard
+
+"eslint-plugin-react-refresh@npm:^0.4.24":
+ version: 0.4.26
+ resolution: "eslint-plugin-react-refresh@npm:0.4.26"
+ peerDependencies:
+ eslint: ">=8.40"
+ checksum: 10c0/11c2b25b7a7025e621b02970c4cf3815b0b77486027df9f8bb731cc52972156804fd163b0f99404b33e36a3c60cd1a1be8199ba64c66b5276da3173bbb5ab6e7
+ languageName: node
+ linkType: hard
+
"eslint-plugin-react@npm:^7.31.7":
version: 7.32.2
resolution: "eslint-plugin-react@npm:7.32.2"
@@ -12823,6 +14912,23 @@ __metadata:
languageName: node
linkType: hard
+"eslint-scope@npm:^8.4.0":
+ version: 8.4.0
+ resolution: "eslint-scope@npm:8.4.0"
+ dependencies:
+ esrecurse: "npm:^4.3.0"
+ estraverse: "npm:^5.2.0"
+ checksum: 10c0/407f6c600204d0f3705bd557f81bd0189e69cd7996f408f8971ab5779c0af733d1af2f1412066b40ee1588b085874fc37a2333986c6521669cdbdd36ca5058e0
+ languageName: node
+ linkType: hard
+
+"eslint-visitor-keys@npm:5.0.1, eslint-visitor-keys@npm:^5.0.1":
+ version: 5.0.1
+ resolution: "eslint-visitor-keys@npm:5.0.1"
+ checksum: 10c0/16190bdf2cbae40a1109384c94450c526a79b0b9c3cb21e544256ed85ac48a4b84db66b74a6561d20fe6ab77447f150d711c2ad5ad74df4fcc133736bce99678
+ languageName: node
+ linkType: hard
+
"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.2":
version: 3.4.2
resolution: "eslint-visitor-keys@npm:3.4.2"
@@ -12830,6 +14936,20 @@ __metadata:
languageName: node
linkType: hard
+"eslint-visitor-keys@npm:^3.4.3":
+ version: 3.4.3
+ resolution: "eslint-visitor-keys@npm:3.4.3"
+ checksum: 10c0/92708e882c0a5ffd88c23c0b404ac1628cf20104a108c745f240a13c332a11aac54f49a22d5762efbffc18ecbc9a580d1b7ad034bf5f3cc3307e5cbff2ec9820
+ languageName: node
+ linkType: hard
+
+"eslint-visitor-keys@npm:^4.2.1":
+ version: 4.2.1
+ resolution: "eslint-visitor-keys@npm:4.2.1"
+ checksum: 10c0/fcd43999199d6740db26c58dbe0c2594623e31ca307e616ac05153c9272f12f1364f5a0b1917a8e962268fdecc6f3622c1c2908b4fcc2e047a106fe6de69dc43
+ languageName: node
+ linkType: hard
+
"eslint@npm:8.46.0":
version: 8.46.0
resolution: "eslint@npm:8.46.0"
@@ -12877,6 +14997,77 @@ __metadata:
languageName: node
linkType: hard
+"eslint@npm:9.39.4":
+ version: 9.39.4
+ resolution: "eslint@npm:9.39.4"
+ dependencies:
+ "@eslint-community/eslint-utils": "npm:^4.8.0"
+ "@eslint-community/regexpp": "npm:^4.12.1"
+ "@eslint/config-array": "npm:^0.21.2"
+ "@eslint/config-helpers": "npm:^0.4.2"
+ "@eslint/core": "npm:^0.17.0"
+ "@eslint/eslintrc": "npm:^3.3.5"
+ "@eslint/js": "npm:9.39.4"
+ "@eslint/plugin-kit": "npm:^0.4.1"
+ "@humanfs/node": "npm:^0.16.6"
+ "@humanwhocodes/module-importer": "npm:^1.0.1"
+ "@humanwhocodes/retry": "npm:^0.4.2"
+ "@types/estree": "npm:^1.0.6"
+ ajv: "npm:^6.14.0"
+ chalk: "npm:^4.0.0"
+ cross-spawn: "npm:^7.0.6"
+ debug: "npm:^4.3.2"
+ escape-string-regexp: "npm:^4.0.0"
+ eslint-scope: "npm:^8.4.0"
+ eslint-visitor-keys: "npm:^4.2.1"
+ espree: "npm:^10.4.0"
+ esquery: "npm:^1.5.0"
+ esutils: "npm:^2.0.2"
+ fast-deep-equal: "npm:^3.1.3"
+ file-entry-cache: "npm:^8.0.0"
+ find-up: "npm:^5.0.0"
+ glob-parent: "npm:^6.0.2"
+ ignore: "npm:^5.2.0"
+ imurmurhash: "npm:^0.1.4"
+ is-glob: "npm:^4.0.0"
+ json-stable-stringify-without-jsonify: "npm:^1.0.1"
+ lodash.merge: "npm:^4.6.2"
+ minimatch: "npm:^3.1.5"
+ natural-compare: "npm:^1.4.0"
+ optionator: "npm:^0.9.3"
+ peerDependencies:
+ jiti: "*"
+ peerDependenciesMeta:
+ jiti:
+ optional: true
+ bin:
+ eslint: bin/eslint.js
+ checksum: 10c0/1955067c2d991f0c84f4c4abfafe31bb47fa3b717a7fd3e43fe1e511c6f859d7700cbca969f85661dc4c130f7aeced5e5444884314198a54428f5e5141db9337
+ languageName: node
+ linkType: hard
+
+"espree@npm:11.2.0":
+ version: 11.2.0
+ resolution: "espree@npm:11.2.0"
+ dependencies:
+ acorn: "npm:^8.16.0"
+ acorn-jsx: "npm:^5.3.2"
+ eslint-visitor-keys: "npm:^5.0.1"
+ checksum: 10c0/cf87e18ffd9dc113eb8d16588e7757701bc10c9934a71cce8b89c2611d51672681a918307bd6b19ac3ccd0e7ba1cbccc2f815b36b52fa7e73097b251014c3d81
+ languageName: node
+ linkType: hard
+
+"espree@npm:^10.0.1, espree@npm:^10.4.0":
+ version: 10.4.0
+ resolution: "espree@npm:10.4.0"
+ dependencies:
+ acorn: "npm:^8.15.0"
+ acorn-jsx: "npm:^5.3.2"
+ eslint-visitor-keys: "npm:^4.2.1"
+ checksum: 10c0/c63fe06131c26c8157b4083313cb02a9a54720a08e21543300e55288c40e06c3fc284bdecf108d3a1372c5934a0a88644c98714f38b6ae8ed272b40d9ea08d6b
+ languageName: node
+ linkType: hard
+
"espree@npm:^9.6.0, espree@npm:^9.6.1":
version: 9.6.1
resolution: "espree@npm:9.6.1"
@@ -12888,7 +15079,7 @@ __metadata:
languageName: node
linkType: hard
-"esprima@npm:^4.0.0, esprima@npm:^4.0.1":
+"esprima@npm:4.0.1, esprima@npm:^4.0.0, esprima@npm:^4.0.1":
version: 4.0.1
resolution: "esprima@npm:4.0.1"
bin:
@@ -12907,6 +15098,15 @@ __metadata:
languageName: node
linkType: hard
+"esquery@npm:^1.5.0":
+ version: 1.7.0
+ resolution: "esquery@npm:1.7.0"
+ dependencies:
+ estraverse: "npm:^5.1.0"
+ checksum: 10c0/77d5173db450b66f3bc685d11af4c90cffeedb340f34a39af96d43509a335ce39c894fd79233df32d38f5e4e219fa0f7076f6ec90bae8320170ba082c0db4793
+ languageName: node
+ linkType: hard
+
"esrecurse@npm:^4.3.0":
version: 4.3.0
resolution: "esrecurse@npm:4.3.0"
@@ -13600,6 +15800,13 @@ __metadata:
languageName: node
linkType: hard
+"fast-json-patch@npm:3.1.1":
+ version: 3.1.1
+ resolution: "fast-json-patch@npm:3.1.1"
+ checksum: 10c0/8a0438b4818bb53153275fe5b38033610e8c9d9eb11869e6a7dc05eb92fa70f3caa57015e344eb3ae1e71c7a75ad4cc6bc2dc9e0ff281d6ed8ecd44505210ca8
+ languageName: node
+ linkType: hard
+
"fast-json-stable-stringify@npm:^2.0.0, fast-json-stable-stringify@npm:^2.1.0":
version: 2.1.0
resolution: "fast-json-stable-stringify@npm:2.1.0"
@@ -13721,6 +15928,15 @@ __metadata:
languageName: node
linkType: hard
+"file-entry-cache@npm:^8.0.0":
+ version: 8.0.0
+ resolution: "file-entry-cache@npm:8.0.0"
+ dependencies:
+ flat-cache: "npm:^4.0.0"
+ checksum: 10c0/9e2b5938b1cd9b6d7e3612bdc533afd4ac17b2fc646569e9a8abbf2eb48e5eb8e316bc38815a3ef6a1b456f4107f0d0f055a614ca613e75db6bf9ff4d72c1638
+ languageName: node
+ linkType: hard
+
"file-type@npm:^16.5.4":
version: 16.5.4
resolution: "file-type@npm:16.5.4"
@@ -13748,6 +15964,13 @@ __metadata:
languageName: node
linkType: hard
+"filter-obj@npm:^5.1.0":
+ version: 5.1.0
+ resolution: "filter-obj@npm:5.1.0"
+ checksum: 10c0/716e8ad2bc352e206556b3e5695b3cdff8aab80c53ea4b00c96315bbf467b987df3640575100aef8b84e812cf5ea4251db4cd672bbe33b1e78afea88400c67dd
+ languageName: node
+ linkType: hard
+
"finalhandler@npm:1.1.2":
version: 1.1.2
resolution: "finalhandler@npm:1.1.2"
@@ -13799,6 +16022,28 @@ __metadata:
languageName: node
linkType: hard
+"firefox-profile@npm:4.7.1":
+ version: 4.7.1
+ resolution: "firefox-profile@npm:4.7.1"
+ dependencies:
+ adm-zip: "npm:~0.6.x"
+ fs-extra: "npm:^11.2.0"
+ ini: "npm:^4.1.3"
+ minimist: "npm:^1.2.8"
+ xml2js: "npm:^0.6.2"
+ bin:
+ firefox-profile: lib/cli.js
+ checksum: 10c0/ad08c700fed4c056bc5b7a08f80888e808de78f4d2e3a212c735a04c568f2316d1ea7b7dd95d0dee6d08ed75cc96abf151a8f8670f5985743a3ef42788aafb90
+ languageName: node
+ linkType: hard
+
+"first-chunk-stream@npm:3.0.0, first-chunk-stream@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "first-chunk-stream@npm:3.0.0"
+ checksum: 10c0/d79280e6e500762485381179925c968d6b27679ada909d106c65de2def9f485eaa4fffb40b3fb51237a9c306da72fe7c107857531dc44e46f0f8b6deb348c925
+ languageName: node
+ linkType: hard
+
"flat-cache@npm:^3.0.4":
version: 3.0.4
resolution: "flat-cache@npm:3.0.4"
@@ -13809,7 +16054,17 @@ __metadata:
languageName: node
linkType: hard
-"flatted@npm:^3.1.0":
+"flat-cache@npm:^4.0.0":
+ version: 4.0.1
+ resolution: "flat-cache@npm:4.0.1"
+ dependencies:
+ flatted: "npm:^3.2.9"
+ keyv: "npm:^4.5.4"
+ checksum: 10c0/2c59d93e9faa2523e4fda6b4ada749bed432cfa28c8e251f33b25795e426a1c6dbada777afb1f74fcfff33934fdbdea921ee738fcc33e71adc9d6eca984a1cfc
+ languageName: node
+ linkType: hard
+
+"flatted@npm:^3.1.0, flatted@npm:^3.2.9":
version: 3.4.4
resolution: "flatted@npm:3.4.4"
checksum: 10c0/a3a52a88ea5a4c333e5a1f097dcd87a037fa31c236a77cf46222c2aa4036ef895ab9bc76138a66d9dc22bdb3652128f9598cd26e7439561bf19f67276e2bc37e
@@ -13913,6 +16168,17 @@ __metadata:
languageName: node
linkType: hard
+"fs-extra@npm:^11.2.0":
+ version: 11.4.0
+ resolution: "fs-extra@npm:11.4.0"
+ dependencies:
+ graceful-fs: "npm:^4.2.0"
+ jsonfile: "npm:^6.0.1"
+ universalify: "npm:^2.0.0"
+ checksum: 10c0/1e311eca820a12d3d795f2043dcd5628d017f4d21e634f3f9ef314ae68bee9979758262fb9cb35ffa6f26454c3fffe8b15558733e91e8fc729b07b10bb98d8b6
+ languageName: node
+ linkType: hard
+
"fs-extra@npm:^9.0.0":
version: 9.1.0
resolution: "fs-extra@npm:9.1.0"
@@ -14028,6 +16294,20 @@ __metadata:
languageName: node
linkType: hard
+"fx-runner@npm:1.6.0":
+ version: 1.6.0
+ resolution: "fx-runner@npm:1.6.0"
+ dependencies:
+ commander: "npm:^12.1.0"
+ shell-quote: "npm:1.10.0"
+ which: "npm:^4.0.0"
+ winreg: "npm:0.0.12"
+ bin:
+ fx-runner: bin/fx-runner
+ checksum: 10c0/ee56150f0287cc76cf32e27547b295994ddfa627f745bdae9e8ae3f59eddd9102d394c0b42e08d4e1305ec02b3ad37ad3f6d7cf0c7b768a9846c637a5aced440
+ languageName: node
+ linkType: hard
+
"gauge@npm:^3.0.0":
version: 3.0.2
resolution: "gauge@npm:3.0.2"
@@ -14081,6 +16361,13 @@ __metadata:
languageName: node
linkType: hard
+"get-east-asian-width@npm:^1.0.0":
+ version: 1.6.0
+ resolution: "get-east-asian-width@npm:1.6.0"
+ checksum: 10c0/7e72e9550fd49ca5b246f9af6bb2afc129c96412845ff6556b3274fd44817a381702ca17028efe9866b261a3d44254cbf21e6c90cf05b4b61675630af776d431
+ languageName: node
+ linkType: hard
+
"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3":
version: 1.2.0
resolution: "get-intrinsic@npm:1.2.0"
@@ -14257,6 +16544,15 @@ __metadata:
languageName: node
linkType: hard
+"global-directory@npm:^4.0.1":
+ version: 4.0.1
+ resolution: "global-directory@npm:4.0.1"
+ dependencies:
+ ini: "npm:4.1.1"
+ checksum: 10c0/f9cbeef41db4876f94dd0bac1c1b4282a7de9c16350ecaaf83e7b2dd777b32704cc25beeb1170b5a63c42a2c9abfade74d46357fe0133e933218bc89e613d4b2
+ languageName: node
+ linkType: hard
+
"global@npm:~4.4.0":
version: 4.4.0
resolution: "global@npm:4.4.0"
@@ -14283,6 +16579,13 @@ __metadata:
languageName: node
linkType: hard
+"globals@npm:^14.0.0":
+ version: 14.0.0
+ resolution: "globals@npm:14.0.0"
+ checksum: 10c0/b96ff42620c9231ad468d4c58ff42afee7777ee1c963013ff8aabe095a451d0ceeb8dcd8ef4cbd64d2538cef45f787a78ba3a9574f4a634438963e334471302d
+ languageName: node
+ linkType: hard
+
"globalthis@npm:^1.0.3":
version: 1.0.3
resolution: "globalthis@npm:1.0.3"
@@ -14386,7 +16689,14 @@ __metadata:
languageName: node
linkType: hard
-"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9":
+"graceful-fs@npm:4.2.10":
+ version: 4.2.10
+ resolution: "graceful-fs@npm:4.2.10"
+ checksum: 10c0/4223a833e38e1d0d2aea630c2433cfb94ddc07dfc11d511dbd6be1d16688c5be848acc31f9a5d0d0ddbfb56d2ee5a6ae0278aceeb0ca6a13f27e06b9956fb952
+ languageName: node
+ linkType: hard
+
+"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9":
version: 4.2.11
resolution: "graceful-fs@npm:4.2.11"
checksum: 10c0/386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2
@@ -14642,6 +16952,18 @@ __metadata:
languageName: node
linkType: hard
+"htmlparser2@npm:^10.1.0":
+ version: 10.1.0
+ resolution: "htmlparser2@npm:10.1.0"
+ dependencies:
+ domelementtype: "npm:^2.3.0"
+ domhandler: "npm:^5.0.3"
+ domutils: "npm:^3.2.2"
+ entities: "npm:^7.0.1"
+ checksum: 10c0/36394e29b80cfcc5e78e0fa4d3aa21fdaac3e6778d23e5c933e625c290987cd9a724a2eb0753ab60ed0c69dfaba0ab115f0ee50fb112fd8f0c4d522e7e0089a2
+ languageName: node
+ linkType: hard
+
"htmlparser2@npm:^7.1.2":
version: 7.2.0
resolution: "htmlparser2@npm:7.2.0"
@@ -14731,7 +17053,7 @@ __metadata:
languageName: node
linkType: hard
-"https-proxy-agent@npm:^7.0.1, https-proxy-agent@npm:^7.0.5, https-proxy-agent@npm:^7.0.6":
+"https-proxy-agent@npm:^7.0.0, https-proxy-agent@npm:^7.0.1, https-proxy-agent@npm:^7.0.5, https-proxy-agent@npm:^7.0.6":
version: 7.0.6
resolution: "https-proxy-agent@npm:7.0.6"
dependencies:
@@ -14780,7 +17102,7 @@ __metadata:
languageName: node
linkType: hard
-"iconv-lite@npm:0.6.3, iconv-lite@npm:^0.6.2":
+"iconv-lite@npm:0.6.3, iconv-lite@npm:^0.6.2, iconv-lite@npm:^0.6.3":
version: 0.6.3
resolution: "iconv-lite@npm:0.6.3"
dependencies:
@@ -14810,7 +17132,7 @@ __metadata:
languageName: node
linkType: hard
-"ignore@npm:^5.3.1":
+"ignore@npm:^5.2.4, ignore@npm:^5.3.1":
version: 5.3.2
resolution: "ignore@npm:5.3.2"
checksum: 10c0/f9f652c957983634ded1e7f02da3b559a0d4cc210fca3792cb67f1b153623c9c42efdc1c4121af171e295444459fc4a9201101fb041b1104a3c000bccb188337
@@ -14826,6 +17148,15 @@ __metadata:
languageName: node
linkType: hard
+"image-size@npm:2.0.2":
+ version: 2.0.2
+ resolution: "image-size@npm:2.0.2"
+ bin:
+ image-size: bin/image-size.js
+ checksum: 10c0/f09dd0f7cf8511cd20e4f756bdb5a7cb6d2240de3323f41bde266bed8373392a293892bf12e907e2995f52833fd88dd27cf6b1a52ab93968afc716cb78cd7b79
+ languageName: node
+ linkType: hard
+
"image-size@npm:^1.0.2":
version: 1.2.1
resolution: "image-size@npm:1.2.1"
@@ -14873,6 +17204,13 @@ __metadata:
languageName: node
linkType: hard
+"index-to-position@npm:^1.1.0":
+ version: 1.2.0
+ resolution: "index-to-position@npm:1.2.0"
+ checksum: 10c0/d7ac9fae9fad1d7fbeb7bd92e1553b26e8b10522c2d80af5c362828428a41360e21fc5915d7b8c8227eb0f0d37b12099846ac77381a04d6c0059eb81749e374d
+ languageName: node
+ linkType: hard
+
"inflight@npm:^1.0.4":
version: 1.0.6
resolution: "inflight@npm:1.0.6"
@@ -14890,13 +17228,27 @@ __metadata:
languageName: node
linkType: hard
-"ini@npm:~1.3.0":
+"ini@npm:4.1.1":
+ version: 4.1.1
+ resolution: "ini@npm:4.1.1"
+ checksum: 10c0/7fddc8dfd3e63567d4fdd5d999d1bf8a8487f1479d0b34a1d01f28d391a9228d261e19abc38e1a6a1ceb3400c727204fce05725d5eb598dfcf2077a1e3afe211
+ languageName: node
+ linkType: hard
+
+"ini@npm:^1.3.4, ini@npm:~1.3.0":
version: 1.3.8
resolution: "ini@npm:1.3.8"
checksum: 10c0/ec93838d2328b619532e4f1ff05df7909760b6f66d9c9e2ded11e5c1897d6f2f9980c54dd638f88654b00919ce31e827040631eab0a3969e4d1abefa0719516a
languageName: node
linkType: hard
+"ini@npm:^4.1.3":
+ version: 4.1.3
+ resolution: "ini@npm:4.1.3"
+ checksum: 10c0/0d27eff094d5f3899dd7c00d0c04ea733ca03a8eb6f9406ce15daac1a81de022cb417d6eaff7e4342451ffa663389c565ffc68d6825eaf686bf003280b945764
+ languageName: node
+ linkType: hard
+
"inline-style-prefixer@npm:^7.0.1":
version: 7.0.1
resolution: "inline-style-prefixer@npm:7.0.1"
@@ -15045,7 +17397,16 @@ __metadata:
resolution: "is-docker@npm:2.2.1"
bin:
is-docker: cli.js
- checksum: 10c0/e828365958d155f90c409cdbe958f64051d99e8aedc2c8c4cd7c89dcf35329daed42f7b99346f7828df013e27deb8f721cf9408ba878c76eb9e8290235fbcdcc
+ checksum: 10c0/e828365958d155f90c409cdbe958f64051d99e8aedc2c8c4cd7c89dcf35329daed42f7b99346f7828df013e27deb8f721cf9408ba878c76eb9e8290235fbcdcc
+ languageName: node
+ linkType: hard
+
+"is-docker@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "is-docker@npm:3.0.0"
+ bin:
+ is-docker: cli.js
+ checksum: 10c0/d2c4f8e6d3e34df75a5defd44991b6068afad4835bb783b902fa12d13ebdb8f41b2a199dcb0b5ed2cb78bfee9e4c0bbdb69c2d9646f4106464674d3e697a5856
languageName: node
linkType: hard
@@ -15086,6 +17447,43 @@ __metadata:
languageName: node
linkType: hard
+"is-in-ci@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "is-in-ci@npm:1.0.0"
+ bin:
+ is-in-ci: cli.js
+ checksum: 10c0/98f9cec4c35aece4cf731abf35ebf28359a9b0324fac810da05b842515d9ccb33b8999c1d9a679f0362e1a4df3292065c38d7f86327b1387fa667bc0150f4898
+ languageName: node
+ linkType: hard
+
+"is-in-ssh@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "is-in-ssh@npm:1.0.0"
+ checksum: 10c0/fbb4c25d85c543df09997fbe7aeca410ae0c839c5825bba2d4c672df765e9ce0e7558e781b371c0a21d6ef9bbac39b31875617a68eaaea5504438d07db9a2ffa
+ languageName: node
+ linkType: hard
+
+"is-inside-container@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "is-inside-container@npm:1.0.0"
+ dependencies:
+ is-docker: "npm:^3.0.0"
+ bin:
+ is-inside-container: cli.js
+ checksum: 10c0/a8efb0e84f6197e6ff5c64c52890fa9acb49b7b74fed4da7c95383965da6f0fa592b4dbd5e38a79f87fc108196937acdbcd758fcefc9b140e479b39ce1fcd1cd
+ languageName: node
+ linkType: hard
+
+"is-installed-globally@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "is-installed-globally@npm:1.0.0"
+ dependencies:
+ global-directory: "npm:^4.0.1"
+ is-path-inside: "npm:^4.0.0"
+ checksum: 10c0/5f57745b6e75b2e9e707a26470d0cb74291d9be33c0fe0dc06c6955fe086bc2ca0a8960631b1ecb9677100eac90af33e911aec7a2c0b88097d702bfa3b76486d
+ languageName: node
+ linkType: hard
+
"is-map@npm:^2.0.1, is-map@npm:^2.0.2":
version: 2.0.2
resolution: "is-map@npm:2.0.2"
@@ -15100,6 +17498,13 @@ __metadata:
languageName: node
linkType: hard
+"is-npm@npm:^6.0.0":
+ version: 6.1.0
+ resolution: "is-npm@npm:6.1.0"
+ checksum: 10c0/2319580963e7b77f51b07d242064926894472e0b8aab7d4f67aa58a2032715a18c77844a2d963718b8ee1eac112ce4dbcd55a9d994f589d5994d46b57b5cdfda
+ languageName: node
+ linkType: hard
+
"is-number-object@npm:^1.0.4":
version: 1.0.7
resolution: "is-number-object@npm:1.0.7"
@@ -15123,6 +17528,13 @@ __metadata:
languageName: node
linkType: hard
+"is-path-inside@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "is-path-inside@npm:4.0.0"
+ checksum: 10c0/51188d7e2b1d907a9a5f7c18d99a90b60870b951ed87cf97595d9aaa429d4c010652c3350bcbf31182e7f4b0eab9a1860b43e16729b13cb1a44baaa6cdb64c46
+ languageName: node
+ linkType: hard
+
"is-plain-obj@npm:^2.1.0":
version: 2.1.0
resolution: "is-plain-obj@npm:2.1.0"
@@ -15201,6 +17613,13 @@ __metadata:
languageName: node
linkType: hard
+"is-utf8@npm:^0.2.1":
+ version: 0.2.1
+ resolution: "is-utf8@npm:0.2.1"
+ checksum: 10c0/3ed45e5b4ddfa04ed7e32c63d29c61b980ecd6df74698f45978b8c17a54034943bcbffb6ae243202e799682a66f90fef526f465dd39438745e9fe70794c1ef09
+ languageName: node
+ linkType: hard
+
"is-weakmap@npm:^2.0.1":
version: 2.0.1
resolution: "is-weakmap@npm:2.0.1"
@@ -15236,6 +17655,15 @@ __metadata:
languageName: node
linkType: hard
+"is-wsl@npm:^3.1.0":
+ version: 3.1.1
+ resolution: "is-wsl@npm:3.1.1"
+ dependencies:
+ is-inside-container: "npm:^1.0.0"
+ checksum: 10c0/7e5023522bfb8f27de4de960b0d82c4a8146c0bddb186529a3616d78b5bbbfc19ef0c5fc60d0b3a3cc0bf95a415fbdedc18454310ea3049587c879b07ace5107
+ languageName: node
+ linkType: hard
+
"isarray@npm:^2.0.5":
version: 2.0.5
resolution: "isarray@npm:2.0.5"
@@ -15908,6 +18336,13 @@ __metadata:
languageName: node
linkType: hard
+"jose@npm:5.9.6":
+ version: 5.9.6
+ resolution: "jose@npm:5.9.6"
+ checksum: 10c0/d6bcd8c7d655b5cda8e182952a76f0c093347f5476d74795405bb91563f7ab676f61540310dd4b1531c60d685335ceb600571a409551d2cbd2ab3e9f9fbf1e4d
+ languageName: node
+ linkType: hard
+
"jose@npm:^4.11.1, jose@npm:^4.14.1, jose@npm:^4.15.5":
version: 4.15.9
resolution: "jose@npm:4.15.9"
@@ -15952,6 +18387,17 @@ __metadata:
languageName: node
linkType: hard
+"js-yaml@npm:^4.3.0":
+ version: 4.3.2
+ resolution: "js-yaml@npm:4.3.2"
+ dependencies:
+ argparse: "npm:^2.0.1"
+ bin:
+ js-yaml: bin/js-yaml.js
+ checksum: 10c0/dedd34c2e8fef1d504687f1bc94ed0ee1311a1f78770fa2800352c6d59c635ccf555009d74e9afe529ae62199da2b1ccef30e53dc84dcd8d2d8187c22574bc97
+ languageName: node
+ linkType: hard
+
"jsbn@npm:1.1.0":
version: 1.1.0
resolution: "jsbn@npm:1.1.0"
@@ -16068,6 +18514,22 @@ __metadata:
languageName: node
linkType: hard
+"json-buffer@npm:3.0.1":
+ version: 3.0.1
+ resolution: "json-buffer@npm:3.0.1"
+ checksum: 10c0/0d1c91569d9588e7eef2b49b59851f297f3ab93c7b35c7c221e288099322be6b562767d11e4821da500f3219542b9afd2e54c5dc573107c1126ed1080f8e96d7
+ languageName: node
+ linkType: hard
+
+"json-merge-patch@npm:1.0.2":
+ version: 1.0.2
+ resolution: "json-merge-patch@npm:1.0.2"
+ dependencies:
+ fast-deep-equal: "npm:^3.1.3"
+ checksum: 10c0/80d0eb0f894322f30d17a33aae5e01c71d7fbc01a8451c2c88eb08ee1af8a7bda71e20671c6504cf3213724c7df0c5e3d4679b4b1d4e411ef790dca71bd9d13b
+ languageName: node
+ linkType: hard
+
"json-parse-even-better-errors@npm:^2.3.0":
version: 2.3.1
resolution: "json-parse-even-better-errors@npm:2.3.1"
@@ -16156,7 +18618,7 @@ __metadata:
languageName: node
linkType: hard
-"jsonwebtoken@npm:^9.0.2":
+"jsonwebtoken@npm:^9.0.2, jsonwebtoken@npm:^9.0.3":
version: 9.0.3
resolution: "jsonwebtoken@npm:9.0.3"
dependencies:
@@ -16191,7 +18653,7 @@ __metadata:
languageName: node
linkType: hard
-"jszip@npm:^3.10.1":
+"jszip@npm:3.10.1, jszip@npm:^3.10.1, jszip@npm:^3.2.2":
version: 3.10.1
resolution: "jszip@npm:3.10.1"
dependencies:
@@ -16224,6 +18686,15 @@ __metadata:
languageName: node
linkType: hard
+"keyv@npm:^4.5.4":
+ version: 4.5.4
+ resolution: "keyv@npm:4.5.4"
+ dependencies:
+ json-buffer: "npm:3.0.1"
+ checksum: 10c0/aa52f3c5e18e16bb6324876bb8b59dd02acf782a4b789c7b2ae21107fab95fab3890ed448d4f8dba80ce05391eeac4bfabb4f02a20221342982f806fa2cf271e
+ languageName: node
+ linkType: hard
+
"klaw-sync@npm:^6.0.0":
version: 6.0.0
resolution: "klaw-sync@npm:6.0.0"
@@ -16240,6 +18711,13 @@ __metadata:
languageName: node
linkType: hard
+"ky@npm:^1.2.0":
+ version: 1.14.3
+ resolution: "ky@npm:1.14.3"
+ checksum: 10c0/8e91c9512c8f1501201108ad58ed437eaf3f5b0a0da842bd846d785932426e84a31cf51d0fffce1921d4e70e26465a9b2b89ed2477822975568258a1fa68a740
+ languageName: node
+ linkType: hard
+
"lan-network@npm:^0.1.6":
version: 0.1.7
resolution: "lan-network@npm:0.1.7"
@@ -16265,6 +18743,15 @@ __metadata:
languageName: node
linkType: hard
+"latest-version@npm:^9.0.0":
+ version: 9.0.0
+ resolution: "latest-version@npm:9.0.0"
+ dependencies:
+ package-json: "npm:^10.0.0"
+ checksum: 10c0/643cfda3a58dfb3af221a2950e433393d28a5adbe225d1cbbb358dbcbb04e9f8dce15b892f8ae3e3156f50693428dbd7ca13a69edfbdfcd94e62519480d7041e
+ languageName: node
+ linkType: hard
+
"leven@npm:^3.1.0":
version: 3.1.0
resolution: "leven@npm:3.1.0"
@@ -16301,6 +18788,16 @@ __metadata:
languageName: node
linkType: hard
+"lighthouse-logger@npm:^2.0.1":
+ version: 2.0.2
+ resolution: "lighthouse-logger@npm:2.0.2"
+ dependencies:
+ debug: "npm:^4.4.1"
+ marky: "npm:^1.2.2"
+ checksum: 10c0/bbce3939a0359d5f1f84b7cc623f1ee3daf5a28e55b7b9bf7d461d906121e64fa6de290c53bd6bdd6068a67442fa39a7deb6f61da2e0e1721c39ec4cc80876b8
+ languageName: node
+ linkType: hard
+
"lightningcss-android-arm64@npm:1.31.1":
version: 1.31.1
resolution: "lightningcss-android-arm64@npm:1.31.1"
@@ -16886,6 +19383,13 @@ __metadata:
languageName: node
linkType: hard
+"make-error@npm:^1.3.2":
+ version: 1.3.6
+ resolution: "make-error@npm:1.3.6"
+ checksum: 10c0/171e458d86854c6b3fc46610cfacf0b45149ba043782558c6875d9f42f222124384ad0b468c92e996d815a8a2003817a710c0a160e49c1c394626f76fa45396f
+ languageName: node
+ linkType: hard
+
"make-fetch-happen@npm:^15.0.0":
version: 15.0.3
resolution: "make-fetch-happen@npm:15.0.3"
@@ -16935,6 +19439,13 @@ __metadata:
languageName: node
linkType: hard
+"mdn-data@npm:2.27.1":
+ version: 2.27.1
+ resolution: "mdn-data@npm:2.27.1"
+ checksum: 10c0/eb8abf5d22e4d1e090346f5e81b67d23cef14c83940e445da5c44541ad874dc8fb9f6ca236e8258c3a489d9fb5884188a4d7d58773adb9089ac2c0b966796393
+ languageName: node
+ linkType: hard
+
"meilisearch@npm:^0.48.2":
version: 0.48.2
resolution: "meilisearch@npm:0.48.2"
@@ -17531,6 +20042,15 @@ __metadata:
languageName: node
linkType: hard
+"minimatch@npm:9.0.3":
+ version: 9.0.3
+ resolution: "minimatch@npm:9.0.3"
+ dependencies:
+ brace-expansion: "npm:^2.0.1"
+ checksum: 10c0/85f407dcd38ac3e180f425e86553911d101455ca3ad5544d6a7cec16286657e4f8a9aa6695803025c55e31e35a91a2252b5dc8e7d527211278b8b65b4dbd5eac
+ languageName: node
+ linkType: hard
+
"minimatch@npm:^10.1.1":
version: 10.1.1
resolution: "minimatch@npm:10.1.1"
@@ -17540,7 +20060,7 @@ __metadata:
languageName: node
linkType: hard
-"minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
+"minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2, minimatch@npm:^3.1.5":
version: 3.1.5
resolution: "minimatch@npm:3.1.5"
dependencies:
@@ -17565,7 +20085,7 @@ __metadata:
languageName: node
linkType: hard
-"minimist@npm:^1.2.5":
+"minimist@npm:^1.2.5, minimist@npm:^1.2.8":
version: 1.2.8
resolution: "minimist@npm:1.2.8"
checksum: 10c0/19d3fcdca050087b84c2029841a093691a91259a47def2f18222f41e7645a0b7c44ef4b40e88a1e58a40c84d2ef0ee6047c55594d298146d0eb3f6b737c20ce6
@@ -17695,6 +20215,18 @@ __metadata:
languageName: node
linkType: hard
+"multimatch@npm:6.0.0":
+ version: 6.0.0
+ resolution: "multimatch@npm:6.0.0"
+ dependencies:
+ "@types/minimatch": "npm:^3.0.5"
+ array-differ: "npm:^4.0.0"
+ array-union: "npm:^3.0.1"
+ minimatch: "npm:^3.0.4"
+ checksum: 10c0/e303c3d83a66bdffbe6bb50b7be000dd299f1928a602323adc92daef3c1028ef1ee4cabf7d2ac458e32096c5dac2a263209835464348faf8a8332d076b58c35a
+ languageName: node
+ linkType: hard
+
"mz@npm:^2.7.0":
version: 2.7.0
resolution: "mz@npm:2.7.0"
@@ -17957,7 +20489,7 @@ __metadata:
languageName: node
linkType: hard
-"node-forge@npm:^1.3.3":
+"node-forge@npm:^1.3.1, node-forge@npm:^1.3.3":
version: 1.4.0
resolution: "node-forge@npm:1.4.0"
checksum: 10c0/67330a5f1f95257a4c8a93b7d555abe87b5f15e350123aa396c97a21a8ca94f9c6549008eb2c73668a91e0d7e3a905785acbd8f8bd0751c29401292011f8f8e1
@@ -18321,6 +20853,13 @@ __metadata:
languageName: node
linkType: hard
+"on-exit-leak-free@npm:^2.1.0":
+ version: 2.1.2
+ resolution: "on-exit-leak-free@npm:2.1.2"
+ checksum: 10c0/faea2e1c9d696ecee919026c32be8d6a633a7ac1240b3b87e944a380e8a11dc9c95c4a1f8fb0568de7ab8db3823e790f12bda45296b1d111e341aad3922a0570
+ languageName: node
+ linkType: hard
+
"on-finished@npm:2.4.1, on-finished@npm:~2.4.1":
version: 2.4.1
resolution: "on-finished@npm:2.4.1"
@@ -18373,6 +20912,20 @@ __metadata:
languageName: node
linkType: hard
+"open@npm:11.0.0":
+ version: 11.0.0
+ resolution: "open@npm:11.0.0"
+ dependencies:
+ default-browser: "npm:^5.4.0"
+ define-lazy-prop: "npm:^3.0.0"
+ is-in-ssh: "npm:^1.0.0"
+ is-inside-container: "npm:^1.0.0"
+ powershell-utils: "npm:^0.1.0"
+ wsl-utils: "npm:^0.3.0"
+ checksum: 10c0/7aeeda4131268ed90f90e7728dda5c46bb0c6205b27a4be3e86ea33593e30dd393423e20e31c00802a8e635ef59becaee33ef9749a8ceb027567cd253e9e7b1e
+ languageName: node
+ linkType: hard
+
"open@npm:^7.0.3, open@npm:^7.4.2":
version: 7.4.2
resolution: "open@npm:7.4.2"
@@ -18509,6 +21062,18 @@ __metadata:
languageName: node
linkType: hard
+"package-json@npm:^10.0.0":
+ version: 10.0.1
+ resolution: "package-json@npm:10.0.1"
+ dependencies:
+ ky: "npm:^1.2.0"
+ registry-auth-token: "npm:^5.0.2"
+ registry-url: "npm:^6.0.1"
+ semver: "npm:^7.6.0"
+ checksum: 10c0/4a55648d820496326730a7b149fd3fd8382e96f3d6def5ec687f46b75063894acf06b21f79832b40bb094c821d97f532cb0f009f85c4102d0084b488d4f492d3
+ languageName: node
+ linkType: hard
+
"pako@npm:^1.0.11, pako@npm:~1.0.2":
version: 1.0.11
resolution: "pako@npm:1.0.11"
@@ -18563,6 +21128,17 @@ __metadata:
languageName: node
linkType: hard
+"parse-json@npm:8.3.0":
+ version: 8.3.0
+ resolution: "parse-json@npm:8.3.0"
+ dependencies:
+ "@babel/code-frame": "npm:^7.26.2"
+ index-to-position: "npm:^1.1.0"
+ type-fest: "npm:^4.39.1"
+ checksum: 10c0/0eb5a50f88b8428c8f7a9cf021636c16664f0c62190323652d39e7bdf62953e7c50f9957e55e17dc2d74fc05c89c11f5553f381dbc686735b537ea9b101c7153
+ languageName: node
+ linkType: hard
+
"parse-json@npm:^5.0.0, parse-json@npm:^5.2.0":
version: 5.2.0
resolution: "parse-json@npm:5.2.0"
@@ -18584,6 +21160,25 @@ __metadata:
languageName: node
linkType: hard
+"parse5-htmlparser2-tree-adapter@npm:^7.1.0":
+ version: 7.1.0
+ resolution: "parse5-htmlparser2-tree-adapter@npm:7.1.0"
+ dependencies:
+ domhandler: "npm:^5.0.3"
+ parse5: "npm:^7.0.0"
+ checksum: 10c0/e5a4e0b834c84c9e244b5749f8d007f4baaeafac7a1da2c54be3421ffd9ef8fdec4f198bf55cda22e88e6ba95e9943f6ed5aa3ae5900b39972ebf5dc8c3f4722
+ languageName: node
+ linkType: hard
+
+"parse5-parser-stream@npm:^7.1.2":
+ version: 7.1.2
+ resolution: "parse5-parser-stream@npm:7.1.2"
+ dependencies:
+ parse5: "npm:^7.0.0"
+ checksum: 10c0/e236c61000d38ecad369e725a48506b051cebad8abb00e6d4e8bff7aa85c183820fcb45db1559cc90955bdbbdbd665ea94c41259594e74566fff411478dc7fcb
+ languageName: node
+ linkType: hard
+
"parse5@npm:^7.0.0, parse5@npm:^7.1.2":
version: 7.1.2
resolution: "parse5@npm:7.1.2"
@@ -18602,6 +21197,15 @@ __metadata:
languageName: node
linkType: hard
+"parse5@npm:^7.3.0":
+ version: 7.3.0
+ resolution: "parse5@npm:7.3.0"
+ dependencies:
+ entities: "npm:^6.0.0"
+ checksum: 10c0/7fd2e4e247e85241d6f2a464d0085eed599a26d7b0a5233790c49f53473232eb85350e8133344d9b3fd58b89339e7ad7270fe1f89d28abe50674ec97b87f80b5
+ languageName: node
+ linkType: hard
+
"parseurl@npm:~1.3.3":
version: 1.3.3
resolution: "parseurl@npm:1.3.3"
@@ -18703,6 +21307,13 @@ __metadata:
languageName: node
linkType: hard
+"pend@npm:~1.2.0":
+ version: 1.2.0
+ resolution: "pend@npm:1.2.0"
+ checksum: 10c0/8a87e63f7a4afcfb0f9f77b39bb92374afc723418b9cb716ee4257689224171002e07768eeade4ecd0e86f1fa3d8f022994219fb45634f2dbd78c6803e452458
+ languageName: node
+ linkType: hard
+
"phin@npm:^2.9.1":
version: 2.9.3
resolution: "phin@npm:2.9.3"
@@ -18752,6 +21363,43 @@ __metadata:
languageName: node
linkType: hard
+"pino-abstract-transport@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "pino-abstract-transport@npm:3.0.0"
+ dependencies:
+ split2: "npm:^4.0.0"
+ checksum: 10c0/4486e1b9508110aaf963d07741ac98d660b974dd51d8ad42077d215118e27cda20c64da46c07c926898d52540aab7c6b9c37dc0f5355c203bb1d6a72b5bd8d6c
+ languageName: node
+ linkType: hard
+
+"pino-std-serializers@npm:^7.0.0":
+ version: 7.1.0
+ resolution: "pino-std-serializers@npm:7.1.0"
+ checksum: 10c0/d158615aa93ebdeac2d3912ad4227a23ef78cf14229e886214771f581e96eff312257f2d6368c75b2fbf53e5024eda475d81305014f4ed1a6d5eeab9107f6ef0
+ languageName: node
+ linkType: hard
+
+"pino@npm:10.3.1":
+ version: 10.3.1
+ resolution: "pino@npm:10.3.1"
+ dependencies:
+ "@pinojs/redact": "npm:^0.4.0"
+ atomic-sleep: "npm:^1.0.0"
+ on-exit-leak-free: "npm:^2.1.0"
+ pino-abstract-transport: "npm:^3.0.0"
+ pino-std-serializers: "npm:^7.0.0"
+ process-warning: "npm:^5.0.0"
+ quick-format-unescaped: "npm:^4.0.3"
+ real-require: "npm:^0.2.0"
+ safe-stable-stringify: "npm:^2.3.1"
+ sonic-boom: "npm:^4.0.1"
+ thread-stream: "npm:^4.0.0"
+ bin:
+ pino: bin.js
+ checksum: 10c0/ae1c57f2baac85dd5d63a3500746d5ea1cfc4bfcbf356eaec94d42a782eeb80caa4d4614de43a036cf48e2aed46d855a7ff21b126f55a63811def52a894ef937
+ languageName: node
+ linkType: hard
+
"pirates@npm:^4.0.1":
version: 4.0.5
resolution: "pirates@npm:4.0.5"
@@ -18940,7 +21588,7 @@ __metadata:
languageName: node
linkType: hard
-"postcss@npm:^8.4.26":
+"postcss@npm:^8.4.26, postcss@npm:^8.5.6":
version: 8.5.26
resolution: "postcss@npm:8.5.26"
dependencies:
@@ -18984,6 +21632,13 @@ __metadata:
languageName: node
linkType: hard
+"powershell-utils@npm:^0.1.0":
+ version: 0.1.0
+ resolution: "powershell-utils@npm:0.1.0"
+ checksum: 10c0/a64713cf3583259c9ed6be211c06b4b19e8608bcb0f7f6287ffac0a95b8c7582b6b662eea0e201fd659492c8e9f9c5fd0bfc4579645c5add9c1a600075621c95
+ languageName: node
+ linkType: hard
+
"preact-render-to-string@npm:5.2.3":
version: 5.2.3
resolution: "preact-render-to-string@npm:5.2.3"
@@ -19092,6 +21747,13 @@ __metadata:
languageName: node
linkType: hard
+"process-warning@npm:^5.0.0":
+ version: 5.1.0
+ resolution: "process-warning@npm:5.1.0"
+ checksum: 10c0/2a48d48b575f4e7888fd4735a6604acd89914efa909f3db5dd20ae56e8a8cdd3c32a3c738bba539b46d1c5096630e15286bcb7c7fca18dfbf04cc7d00fe34a0f
+ languageName: node
+ linkType: hard
+
"process@npm:^0.11.10":
version: 0.11.10
resolution: "process@npm:0.11.10"
@@ -19116,6 +21778,15 @@ __metadata:
languageName: node
linkType: hard
+"promise-toolbox@npm:0.21.0":
+ version: 0.21.0
+ resolution: "promise-toolbox@npm:0.21.0"
+ dependencies:
+ make-error: "npm:^1.3.2"
+ checksum: 10c0/f1de739b200113f17b49017d8de43c4f2d579a60fbf696201e9ae68a3b78d4d4d9f7777ebbc3745f0c427bd6f065aec6a40b98d1a4351807d165d15281b8a3a9
+ languageName: node
+ linkType: hard
+
"promise@npm:^7.1.1":
version: 7.3.1
resolution: "promise@npm:7.3.1"
@@ -19155,6 +21826,13 @@ __metadata:
languageName: node
linkType: hard
+"proto-list@npm:~1.2.1":
+ version: 1.2.4
+ resolution: "proto-list@npm:1.2.4"
+ checksum: 10c0/b9179f99394ec8a68b8afc817690185f3b03933f7b46ce2e22c1930dc84b60d09f5ad222beab4e59e58c6c039c7f7fcf620397235ef441a356f31f9744010e12
+ languageName: node
+ linkType: hard
+
"proxy-from-env@npm:^1.1.0":
version: 1.1.0
resolution: "proxy-from-env@npm:1.1.0"
@@ -19190,6 +21868,15 @@ __metadata:
languageName: node
linkType: hard
+"pupa@npm:^3.1.0":
+ version: 3.3.0
+ resolution: "pupa@npm:3.3.0"
+ dependencies:
+ escape-goat: "npm:^4.0.0"
+ checksum: 10c0/9707e0a7f00e5922d47527d1c8d88d4224b1e86502da2fca27943eb0e9bb218121c91fa0af6c30531a2ee5ade0c326b5d33c40fdf61bc593c4224027412fd9b7
+ languageName: node
+ linkType: hard
+
"pure-rand@npm:^6.0.0":
version: 6.1.0
resolution: "pure-rand@npm:6.1.0"
@@ -19228,6 +21915,17 @@ __metadata:
languageName: node
linkType: hard
+"query-string@npm:^9.5.0":
+ version: 9.5.0
+ resolution: "query-string@npm:9.5.0"
+ dependencies:
+ decode-uri-component: "npm:^0.5.0"
+ filter-obj: "npm:^5.1.0"
+ split-on-first: "npm:^3.0.0"
+ checksum: 10c0/a5b71d4541f1b8e8b02e69d5a687fa8749a34fd259343cdeb617bc3a4651d626285f458f3f312ac5d7eda58587ac58b908c9f13c2c9381706d6cbf72b4650021
+ languageName: node
+ linkType: hard
+
"querystringify@npm:^2.1.1":
version: 2.2.0
resolution: "querystringify@npm:2.2.0"
@@ -19251,6 +21949,13 @@ __metadata:
languageName: node
linkType: hard
+"quick-format-unescaped@npm:^4.0.3":
+ version: 4.0.4
+ resolution: "quick-format-unescaped@npm:4.0.4"
+ checksum: 10c0/fe5acc6f775b172ca5b4373df26f7e4fd347975578199e7d74b2ae4077f0af05baa27d231de1e80e8f72d88275ccc6028568a7a8c9ee5e7368ace0e18eff93a4
+ languageName: node
+ linkType: hard
+
"raf-schd@npm:^4.0.0":
version: 4.0.3
resolution: "raf-schd@npm:4.0.3"
@@ -19284,7 +21989,7 @@ __metadata:
languageName: node
linkType: hard
-"rc@npm:~1.2.7":
+"rc@npm:1.2.8, rc@npm:~1.2.7":
version: 1.2.8
resolution: "rc@npm:1.2.8"
dependencies:
@@ -19363,6 +22068,15 @@ __metadata:
languageName: node
linkType: hard
+"react-hook-form@npm:^7.85.0":
+ version: 7.86.0
+ resolution: "react-hook-form@npm:7.86.0"
+ peerDependencies:
+ react: ^16.8.0 || ^17 || ^18 || ^19
+ checksum: 10c0/90cfaf2bbe18061f71d2a8e3e546ab4d9aa861aeab210f2ee3c2009d20e477aa98e290571bd2a2a593e7d412738f178abbea60b81df0b9a5c1b57f8a87b789df
+ languageName: node
+ linkType: hard
+
"react-hot-toast@npm:^2.4.1":
version: 2.4.1
resolution: "react-hot-toast@npm:2.4.1"
@@ -19777,6 +22491,13 @@ __metadata:
languageName: node
linkType: hard
+"react-refresh@npm:^0.18.0":
+ version: 0.18.0
+ resolution: "react-refresh@npm:0.18.0"
+ checksum: 10c0/34a262f7fd803433a534f50deb27a148112a81adcae440c7d1cbae7ef14d21ea8f2b3d783e858cb7698968183b77755a38b4d4b5b1d79b4f4689c2f6d358fff2
+ languageName: node
+ linkType: hard
+
"react-remove-scroll-bar@npm:^2.3.6":
version: 2.3.6
resolution: "react-remove-scroll-bar@npm:2.3.6"
@@ -19847,6 +22568,25 @@ __metadata:
languageName: node
linkType: hard
+"react-remove-scroll@npm:^2.7.2":
+ version: 2.7.2
+ resolution: "react-remove-scroll@npm:2.7.2"
+ dependencies:
+ react-remove-scroll-bar: "npm:^2.3.7"
+ react-style-singleton: "npm:^2.2.3"
+ tslib: "npm:^2.1.0"
+ use-callback-ref: "npm:^1.3.3"
+ use-sidecar: "npm:^1.1.3"
+ peerDependencies:
+ "@types/react": "*"
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 10c0/b5f3315bead75e72853f492c0b51ba8fb4fa09a4534d7fc42d6fcd59ca3e047cf213279ffc1e35b337e314ef5a04cb2b12544c85e0078802271731c27c09e5aa
+ languageName: node
+ linkType: hard
+
"react-select@npm:^5.7.4":
version: 5.7.4
resolution: "react-select@npm:5.7.4"
@@ -20022,6 +22762,20 @@ __metadata:
languageName: node
linkType: hard
+"real-require@npm:^0.2.0":
+ version: 0.2.0
+ resolution: "real-require@npm:0.2.0"
+ checksum: 10c0/23eea5623642f0477412ef8b91acd3969015a1501ed34992ada0e3af521d3c865bb2fe4cdbfec5fe4b505f6d1ef6a03e5c3652520837a8c3b53decff7e74b6a0
+ languageName: node
+ linkType: hard
+
+"real-require@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "real-require@npm:1.0.0"
+ checksum: 10c0/74d44b360b8b662d29c646f4688da462c4b10243b11d22ff9635395e81951a9c1ed349393411c4911ca6f3474c3e10e812bf4767052706abb863ba59bde0813b
+ languageName: node
+ linkType: hard
+
"redux@npm:^4.0.0, redux@npm:^4.0.1":
version: 4.2.1
resolution: "redux@npm:4.2.1"
@@ -20118,6 +22872,24 @@ __metadata:
languageName: node
linkType: hard
+"registry-auth-token@npm:^5.0.2":
+ version: 5.1.1
+ resolution: "registry-auth-token@npm:5.1.1"
+ dependencies:
+ "@pnpm/npm-conf": "npm:^3.0.2"
+ checksum: 10c0/86b0f7fd87d327cb4177fee69bcf96563147ea72e206bc9c7a6a50a51c785a31b83a6c45956a489ed292d23b908b2755a075d0b2f7fec1ba91b1fb800b24cee3
+ languageName: node
+ linkType: hard
+
+"registry-url@npm:^6.0.1":
+ version: 6.0.1
+ resolution: "registry-url@npm:6.0.1"
+ dependencies:
+ rc: "npm:1.2.8"
+ checksum: 10c0/66e2221c8113fc35ee9d23fe58cb516fc8d556a189fb8d6f1011a02efccc846c4c9b5075b4027b99a5d5c9ad1345ac37f297bea3c0ca30d607ec8084bf561b90
+ languageName: node
+ linkType: hard
+
"regjsgen@npm:^0.8.0":
version: 0.8.0
resolution: "regjsgen@npm:0.8.0"
@@ -20396,37 +23168,130 @@ __metadata:
dependenciesMeta:
"@rolldown/binding-android-arm64":
optional: true
- "@rolldown/binding-darwin-arm64":
+ "@rolldown/binding-darwin-arm64":
+ optional: true
+ "@rolldown/binding-darwin-x64":
+ optional: true
+ "@rolldown/binding-freebsd-x64":
+ optional: true
+ "@rolldown/binding-linux-arm-gnueabihf":
+ optional: true
+ "@rolldown/binding-linux-arm64-gnu":
+ optional: true
+ "@rolldown/binding-linux-arm64-musl":
+ optional: true
+ "@rolldown/binding-linux-ppc64-gnu":
+ optional: true
+ "@rolldown/binding-linux-s390x-gnu":
+ optional: true
+ "@rolldown/binding-linux-x64-gnu":
+ optional: true
+ "@rolldown/binding-linux-x64-musl":
+ optional: true
+ "@rolldown/binding-openharmony-arm64":
+ optional: true
+ "@rolldown/binding-wasm32-wasi":
+ optional: true
+ "@rolldown/binding-win32-arm64-msvc":
+ optional: true
+ "@rolldown/binding-win32-x64-msvc":
+ optional: true
+ bin:
+ rolldown: ./bin/cli.mjs
+ checksum: 10c0/93072aa9d95882f9fa5cd57fe7db6a48efd6f85a25a32137425052ecca02df653651eed0c33a865c33511681bd6a40691d5c88900b8e95ce1334f4f75ba826ff
+ languageName: node
+ linkType: hard
+
+"rollup@npm:^4.43.0":
+ version: 4.63.1
+ resolution: "rollup@npm:4.63.1"
+ dependencies:
+ "@napi-rs/lzma-linux-x64-gnu": "npm:1.5.1"
+ "@rollup/rollup-android-arm-eabi": "npm:4.63.1"
+ "@rollup/rollup-android-arm64": "npm:4.63.1"
+ "@rollup/rollup-darwin-arm64": "npm:4.63.1"
+ "@rollup/rollup-darwin-x64": "npm:4.63.1"
+ "@rollup/rollup-freebsd-arm64": "npm:4.63.1"
+ "@rollup/rollup-freebsd-x64": "npm:4.63.1"
+ "@rollup/rollup-linux-arm-gnueabihf": "npm:4.63.1"
+ "@rollup/rollup-linux-arm-musleabihf": "npm:4.63.1"
+ "@rollup/rollup-linux-arm64-gnu": "npm:4.63.1"
+ "@rollup/rollup-linux-arm64-musl": "npm:4.63.1"
+ "@rollup/rollup-linux-loong64-gnu": "npm:4.63.1"
+ "@rollup/rollup-linux-loong64-musl": "npm:4.63.1"
+ "@rollup/rollup-linux-ppc64-gnu": "npm:4.63.1"
+ "@rollup/rollup-linux-ppc64-musl": "npm:4.63.1"
+ "@rollup/rollup-linux-riscv64-gnu": "npm:4.63.1"
+ "@rollup/rollup-linux-riscv64-musl": "npm:4.63.1"
+ "@rollup/rollup-linux-s390x-gnu": "npm:4.63.1"
+ "@rollup/rollup-linux-x64-gnu": "npm:4.63.1"
+ "@rollup/rollup-linux-x64-musl": "npm:4.63.1"
+ "@rollup/rollup-openbsd-x64": "npm:4.63.1"
+ "@rollup/rollup-openharmony-arm64": "npm:4.63.1"
+ "@rollup/rollup-win32-arm64-msvc": "npm:4.63.1"
+ "@rollup/rollup-win32-ia32-msvc": "npm:4.63.1"
+ "@rollup/rollup-win32-x64-gnu": "npm:4.63.1"
+ "@rollup/rollup-win32-x64-msvc": "npm:4.63.1"
+ "@types/estree": "npm:1.0.9"
+ fsevents: "npm:~2.3.2"
+ dependenciesMeta:
+ "@napi-rs/lzma-linux-x64-gnu":
+ optional: true
+ "@rollup/rollup-android-arm-eabi":
+ optional: true
+ "@rollup/rollup-android-arm64":
+ optional: true
+ "@rollup/rollup-darwin-arm64":
+ optional: true
+ "@rollup/rollup-darwin-x64":
+ optional: true
+ "@rollup/rollup-freebsd-arm64":
optional: true
- "@rolldown/binding-darwin-x64":
+ "@rollup/rollup-freebsd-x64":
optional: true
- "@rolldown/binding-freebsd-x64":
+ "@rollup/rollup-linux-arm-gnueabihf":
optional: true
- "@rolldown/binding-linux-arm-gnueabihf":
+ "@rollup/rollup-linux-arm-musleabihf":
optional: true
- "@rolldown/binding-linux-arm64-gnu":
+ "@rollup/rollup-linux-arm64-gnu":
optional: true
- "@rolldown/binding-linux-arm64-musl":
+ "@rollup/rollup-linux-arm64-musl":
optional: true
- "@rolldown/binding-linux-ppc64-gnu":
+ "@rollup/rollup-linux-loong64-gnu":
optional: true
- "@rolldown/binding-linux-s390x-gnu":
+ "@rollup/rollup-linux-loong64-musl":
optional: true
- "@rolldown/binding-linux-x64-gnu":
+ "@rollup/rollup-linux-ppc64-gnu":
optional: true
- "@rolldown/binding-linux-x64-musl":
+ "@rollup/rollup-linux-ppc64-musl":
optional: true
- "@rolldown/binding-openharmony-arm64":
+ "@rollup/rollup-linux-riscv64-gnu":
optional: true
- "@rolldown/binding-wasm32-wasi":
+ "@rollup/rollup-linux-riscv64-musl":
optional: true
- "@rolldown/binding-win32-arm64-msvc":
+ "@rollup/rollup-linux-s390x-gnu":
optional: true
- "@rolldown/binding-win32-x64-msvc":
+ "@rollup/rollup-linux-x64-gnu":
+ optional: true
+ "@rollup/rollup-linux-x64-musl":
+ optional: true
+ "@rollup/rollup-openbsd-x64":
+ optional: true
+ "@rollup/rollup-openharmony-arm64":
+ optional: true
+ "@rollup/rollup-win32-arm64-msvc":
+ optional: true
+ "@rollup/rollup-win32-ia32-msvc":
+ optional: true
+ "@rollup/rollup-win32-x64-gnu":
+ optional: true
+ "@rollup/rollup-win32-x64-msvc":
+ optional: true
+ fsevents:
optional: true
bin:
- rolldown: ./bin/cli.mjs
- checksum: 10c0/93072aa9d95882f9fa5cd57fe7db6a48efd6f85a25a32137425052ecca02df653651eed0c33a865c33511681bd6a40691d5c88900b8e95ce1334f4f75ba826ff
+ rollup: dist/bin/rollup
+ checksum: 10c0/90cac5c59bdeb7762483b502f1b547057b0a5e18d044a971b9fbd5629ee262518d00c526e92244726c91e11c4fd5005e9e48359787af034035f0668bb5949ab0
languageName: node
linkType: hard
@@ -20457,6 +23322,13 @@ __metadata:
languageName: node
linkType: hard
+"run-applescript@npm:^7.0.0":
+ version: 7.1.0
+ resolution: "run-applescript@npm:7.1.0"
+ checksum: 10c0/ab826c57c20f244b2ee807704b1ef4ba7f566aa766481ae5922aac785e2570809e297c69afcccc3593095b538a8a77d26f2b2e9a1d9dffee24e0e039502d1a03
+ languageName: node
+ linkType: hard
+
"run-parallel@npm:^1.1.9":
version: 1.2.0
resolution: "run-parallel@npm:1.2.0"
@@ -20500,6 +23372,13 @@ __metadata:
languageName: node
linkType: hard
+"safe-stable-stringify@npm:^2.3.1":
+ version: 2.5.0
+ resolution: "safe-stable-stringify@npm:2.5.0"
+ checksum: 10c0/baea14971858cadd65df23894a40588ed791769db21bafb7fd7608397dbdce9c5aac60748abae9995e0fc37e15f2061980501e012cd48859740796bea2987f49
+ languageName: node
+ linkType: hard
+
"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0":
version: 2.1.2
resolution: "safer-buffer@npm:2.1.2"
@@ -20546,6 +23425,15 @@ __metadata:
languageName: node
linkType: hard
+"semver@npm:7.8.5, semver@npm:^7.8.5":
+ version: 7.8.5
+ resolution: "semver@npm:7.8.5"
+ bin:
+ semver: bin/semver.js
+ checksum: 10c0/b1f3127a5be8125a94f37188b361c212466c292c6910adce3ec106cff5dc211ccaedc4739c11bb70fda59d6fc1f040a9bca289f4e093451521a2372e5231fe0c
+ languageName: node
+ linkType: hard
+
"semver@npm:^6.0.0, semver@npm:^6.3.0, semver@npm:^6.3.1":
version: 6.3.1
resolution: "semver@npm:6.3.1"
@@ -20584,15 +23472,6 @@ __metadata:
languageName: node
linkType: hard
-"semver@npm:^7.8.5":
- version: 7.8.5
- resolution: "semver@npm:7.8.5"
- bin:
- semver: bin/semver.js
- checksum: 10c0/b1f3127a5be8125a94f37188b361c212466c292c6910adce3ec106cff5dc211ccaedc4739c11bb70fda59d6fc1f040a9bca289f4e093451521a2372e5231fe0c
- languageName: node
- linkType: hard
-
"semver@npm:~7.6.3":
version: 7.6.3
resolution: "semver@npm:7.6.3"
@@ -20923,7 +23802,7 @@ __metadata:
languageName: node
linkType: hard
-"shell-quote@npm:^1.6.1, shell-quote@npm:^1.8.1":
+"shell-quote@npm:1.10.0, shell-quote@npm:^1.6.1, shell-quote@npm:^1.8.1":
version: 1.10.0
resolution: "shell-quote@npm:1.10.0"
checksum: 10c0/46ee59bfd972ce6a45500c44ed130dff2d0a7d6fbac9841e59d548518cad8060a06393c9a5dcbc0cede294ad80b2a2cd8c904679e09265f53efc0a0879f30961
@@ -21130,6 +24009,15 @@ __metadata:
languageName: node
linkType: hard
+"sonic-boom@npm:^4.0.1":
+ version: 4.2.1
+ resolution: "sonic-boom@npm:4.2.1"
+ dependencies:
+ atomic-sleep: "npm:^1.0.0"
+ checksum: 10c0/f374e9c3dfe194d706d8ef8aed4e28bc10638f9952fd19bcbddf2cef05d53334ad9e9dca3e01e24e88dd88fb278c6b8c5b2ae5002494b289c4914aaea3d9eae9
+ languageName: node
+ linkType: hard
+
"source-map-js@npm:^1.0.2":
version: 1.0.2
resolution: "source-map-js@npm:1.0.2"
@@ -21154,7 +24042,7 @@ __metadata:
languageName: node
linkType: hard
-"source-map-support@npm:~0.5.20, source-map-support@npm:~0.5.21":
+"source-map-support@npm:0.5.21, source-map-support@npm:~0.5.20, source-map-support@npm:~0.5.21":
version: 0.5.21
resolution: "source-map-support@npm:0.5.21"
dependencies:
@@ -21192,6 +24080,29 @@ __metadata:
languageName: node
linkType: hard
+"split-on-first@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "split-on-first@npm:3.0.0"
+ checksum: 10c0/a1262eae12b68de235e1a08e011bf5b42c42621985ddf807e6221fb1e2b3304824913ae7019f18436b96b8fab8aef5f1ad80dedd2385317fdc51b521c3882cd0
+ languageName: node
+ linkType: hard
+
+"split2@npm:^4.0.0":
+ version: 4.2.0
+ resolution: "split2@npm:4.2.0"
+ checksum: 10c0/b292beb8ce9215f8c642bb68be6249c5a4c7f332fc8ecadae7be5cbdf1ea95addc95f0459ef2e7ad9d45fd1064698a097e4eb211c83e772b49bc0ee423e91534
+ languageName: node
+ linkType: hard
+
+"split@npm:~1.0.1":
+ version: 1.0.1
+ resolution: "split@npm:1.0.1"
+ dependencies:
+ through: "npm:2"
+ checksum: 10c0/7f489e7ed5ff8a2e43295f30a5197ffcb2d6202c9cf99357f9690d645b19c812bccf0be3ff336fea5054cda17ac96b91d67147d95dbfc31fbb5804c61962af85
+ languageName: node
+ linkType: hard
+
"sprintf-js@npm:^1.1.3":
version: 1.1.3
resolution: "sprintf-js@npm:1.1.3"
@@ -21370,6 +24281,17 @@ __metadata:
languageName: node
linkType: hard
+"string-width@npm:^7.0.0, string-width@npm:^7.2.0":
+ version: 7.2.0
+ resolution: "string-width@npm:7.2.0"
+ dependencies:
+ emoji-regex: "npm:^10.3.0"
+ get-east-asian-width: "npm:^1.0.0"
+ strip-ansi: "npm:^7.1.0"
+ checksum: 10c0/eb0430dd43f3199c7a46dcbf7a0b34539c76fe3aa62763d0b0655acdcbdf360b3f66f3d58ca25ba0205f42ea3491fa00f09426d3b7d3040e506878fc7664c9b9
+ languageName: node
+ linkType: hard
+
"string.prototype.matchall@npm:^4.0.8":
version: 4.0.8
resolution: "string.prototype.matchall@npm:4.0.8"
@@ -21464,6 +24386,41 @@ __metadata:
languageName: node
linkType: hard
+"strip-ansi@npm:^7.1.0":
+ version: 7.2.0
+ resolution: "strip-ansi@npm:7.2.0"
+ dependencies:
+ ansi-regex: "npm:^6.2.2"
+ checksum: 10c0/544d13b7582f8254811ea97db202f519e189e59d35740c46095897e254e4f1aa9fe1524a83ad6bc5ad67d4dd6c0281d2e0219ed62b880a6238a16a17d375f221
+ languageName: node
+ linkType: hard
+
+"strip-bom-buf@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "strip-bom-buf@npm:2.0.0"
+ dependencies:
+ is-utf8: "npm:^0.2.1"
+ checksum: 10c0/4b38299e949a3c893f10bd3ad33fd6c08df44ebbb4d88f64831bcd5c18b420545f70691fd3869b0787d1a5cdce68813586d928cd99ddc71fcec109a206ac02ac
+ languageName: node
+ linkType: hard
+
+"strip-bom-stream@npm:4.0.0":
+ version: 4.0.0
+ resolution: "strip-bom-stream@npm:4.0.0"
+ dependencies:
+ first-chunk-stream: "npm:^3.0.0"
+ strip-bom-buf: "npm:^2.0.0"
+ checksum: 10c0/47ce9fcdb87d1ddac1fdd287ad3ed405f463e42a60b55d5a07697f111055b219eb50bb9c148ed44f3c47612ab9dc8c9e9b6a6d0eb07339f8803ff5961488936c
+ languageName: node
+ linkType: hard
+
+"strip-bom@npm:5.0.0":
+ version: 5.0.0
+ resolution: "strip-bom@npm:5.0.0"
+ checksum: 10c0/f87e212f8a41e08e77d3994b3d9c4112258bd3a13688f9c7c85a6705a87a8e526422bce0762326cc2d9655c32a8c0ff1a2b14936795384c353828e4637823bc6
+ languageName: node
+ linkType: hard
+
"strip-bom@npm:^3.0.0":
version: 3.0.0
resolution: "strip-bom@npm:3.0.0"
@@ -21485,6 +24442,13 @@ __metadata:
languageName: node
linkType: hard
+"strip-json-comments@npm:5.0.3":
+ version: 5.0.3
+ resolution: "strip-json-comments@npm:5.0.3"
+ checksum: 10c0/daaf20b29f69fb51112698f4a9a662490dbb78d5baf6127c75a0a83c2ac6c078a8c0f74b389ad5e0519d6fc359c4a57cb9971b1ae201aef62ce45a13247791e0
+ languageName: node
+ linkType: hard
+
"strip-json-comments@npm:^3.1.1":
version: 3.1.1
resolution: "strip-json-comments@npm:3.1.1"
@@ -21544,6 +24508,22 @@ __metadata:
languageName: node
linkType: hard
+"stubborn-fs@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "stubborn-fs@npm:2.0.0"
+ dependencies:
+ stubborn-utils: "npm:^1.0.1"
+ checksum: 10c0/31a60c9b2a61ce380b688f2649acaeff63cb0f2503bb6820c3ccd4f3af584c6310a48efa41b40c16b1717f1728572ed887c2c88650955c776a088228797e8d0e
+ languageName: node
+ linkType: hard
+
+"stubborn-utils@npm:^1.0.1":
+ version: 1.0.2
+ resolution: "stubborn-utils@npm:1.0.2"
+ checksum: 10c0/e65c5820d02c993df55c88e938796c2fb2f3a6d3dc247c961d1e4be4d6d88c355283f4b74157e89d1a1a761d66b5ae79560a416384241a7d3b4e8ba8f1ff5a78
+ languageName: node
+ linkType: hard
+
"styled-jsx@npm:5.1.6":
version: 5.1.6
resolution: "styled-jsx@npm:5.1.6"
@@ -21814,6 +24794,15 @@ __metadata:
languageName: node
linkType: hard
+"thread-stream@npm:^4.0.0":
+ version: 4.2.0
+ resolution: "thread-stream@npm:4.2.0"
+ dependencies:
+ real-require: "npm:^1.0.0"
+ checksum: 10c0/2d55ace44785a2547b9b15c61c1d2db6d5b3712e21ddb1be23b1f5d19387ac8f153f24767bfae03b3f7c8651eb83758e1fcbb954e1077336b562d2d2cd723137
+ languageName: node
+ linkType: hard
+
"throat@npm:^5.0.0":
version: 5.0.0
resolution: "throat@npm:5.0.0"
@@ -21821,6 +24810,13 @@ __metadata:
languageName: node
linkType: hard
+"through@npm:2":
+ version: 2.3.8
+ resolution: "through@npm:2.3.8"
+ checksum: 10c0/4b09f3774099de0d4df26d95c5821a62faee32c7e96fb1f4ebd54a2d7c11c57fe88b0a0d49cf375de5fee5ae6bf4eb56dbbf29d07366864e2ee805349970d3cc
+ languageName: node
+ linkType: hard
+
"timm@npm:^1.6.1":
version: 1.7.1
resolution: "timm@npm:1.7.1"
@@ -21900,6 +24896,13 @@ __metadata:
languageName: node
linkType: hard
+"tmp@npm:0.2.7":
+ version: 0.2.7
+ resolution: "tmp@npm:0.2.7"
+ checksum: 10c0/59eb55584f2f07210d3231b6a1f6b5c2b9794d8a7b509c8ee867ed2acad6d2245ee2448b7937b676ffbff3155a70077edde8a69f9d7cf0f90c86a62e8910c357
+ languageName: node
+ linkType: hard
+
"tmp@npm:^0.0.33":
version: 0.0.33
resolution: "tmp@npm:0.0.33"
@@ -22013,6 +25016,15 @@ __metadata:
languageName: node
linkType: hard
+"ts-api-utils@npm:^1.0.1":
+ version: 1.4.3
+ resolution: "ts-api-utils@npm:1.4.3"
+ peerDependencies:
+ typescript: ">=4.2.0"
+ checksum: 10c0/e65dc6e7e8141140c23e1dc94984bf995d4f6801919c71d6dc27cf0cd51b100a91ffcfe5217626193e5bea9d46831e8586febdc7e172df3f1091a7384299e23a
+ languageName: node
+ linkType: hard
+
"ts-interface-checker@npm:^0.1.9":
version: 0.1.13
resolution: "ts-interface-checker@npm:0.1.13"
@@ -22131,6 +25143,13 @@ __metadata:
languageName: node
linkType: hard
+"type-fest@npm:^4.18.2, type-fest@npm:^4.21.0, type-fest@npm:^4.39.1":
+ version: 4.41.0
+ resolution: "type-fest@npm:4.41.0"
+ checksum: 10c0/f5ca697797ed5e88d33ac8f1fec21921839871f808dc59345c9cf67345bfb958ce41bd821165dbf3ae591cedec2bf6fe8882098dfdd8dc54320b859711a2c1e4
+ languageName: node
+ linkType: hard
+
"typed-array-length@npm:^1.0.4":
version: 1.0.4
resolution: "typed-array-length@npm:1.0.4"
@@ -22247,6 +25266,13 @@ __metadata:
languageName: node
linkType: hard
+"undici@npm:^7.19.0":
+ version: 7.29.0
+ resolution: "undici@npm:7.29.0"
+ checksum: 10c0/85ea96e91e7f3de24de678cbbc54230fdd641a3b0643005f2aef044af1f1a2db8fbecb88b28e6fa78bb41ffeafda4479b57075b6b6ab92beac4b7b5ab53f9b10
+ languageName: node
+ linkType: hard
+
"unicode-canonical-property-names-ecmascript@npm:^2.0.0":
version: 2.0.1
resolution: "unicode-canonical-property-names-ecmascript@npm:2.0.1"
@@ -22324,6 +25350,20 @@ __metadata:
languageName: node
linkType: hard
+"upath@npm:3.0.7":
+ version: 3.0.7
+ resolution: "upath@npm:3.0.7"
+ checksum: 10c0/3b0464cc761a898fa7d8eb3f034af5eeb31acc31c33a4c2523adbdd7d520db715317bb6f821dfb9db2acaa587f0f632e78bb133ac67c7d98d365844a0122fd61
+ languageName: node
+ linkType: hard
+
+"upath@npm:3.0.8":
+ version: 3.0.8
+ resolution: "upath@npm:3.0.8"
+ checksum: 10c0/5d956961e88265332c7a672fb01524f66d6c1a19dfbf36c69222fd5762985df277b36af53679fe5f3e884c666fe91a3da831f59b20c4ecd1ed5540c54e5e89e2
+ languageName: node
+ linkType: hard
+
"update-browserslist-db@npm:^1.0.11":
version: 1.0.11
resolution: "update-browserslist-db@npm:1.0.11"
@@ -22366,6 +25406,24 @@ __metadata:
languageName: node
linkType: hard
+"update-notifier@npm:7.3.1":
+ version: 7.3.1
+ resolution: "update-notifier@npm:7.3.1"
+ dependencies:
+ boxen: "npm:^8.0.1"
+ chalk: "npm:^5.3.0"
+ configstore: "npm:^7.0.0"
+ is-in-ci: "npm:^1.0.0"
+ is-installed-globally: "npm:^1.0.0"
+ is-npm: "npm:^6.0.0"
+ latest-version: "npm:^9.0.0"
+ pupa: "npm:^3.1.0"
+ semver: "npm:^7.6.3"
+ xdg-basedir: "npm:^5.1.0"
+ checksum: 10c0/678839453840f46bb75e8cfebc0ff522262d2d3ece343fca722dd506039832e2a952d14ae39153f05f684467c8293ebc4c6479c9652c1bf97908fcaf300c2b31
+ languageName: node
+ linkType: hard
+
"uri-js@npm:^4.2.2":
version: 4.4.1
resolution: "uri-js@npm:4.4.1"
@@ -22676,6 +25734,61 @@ __metadata:
languageName: node
linkType: hard
+"vite@npm:^7.2.0":
+ version: 7.3.6
+ resolution: "vite@npm:7.3.6"
+ dependencies:
+ esbuild: "npm:^0.27.0 || ^0.28.0"
+ fdir: "npm:^6.5.0"
+ fsevents: "npm:~2.3.3"
+ picomatch: "npm:^4.0.3"
+ postcss: "npm:^8.5.6"
+ rollup: "npm:^4.43.0"
+ tinyglobby: "npm:^0.2.15"
+ peerDependencies:
+ "@types/node": ^20.19.0 || >=22.12.0
+ jiti: ">=1.21.0"
+ less: ^4.0.0
+ lightningcss: ^1.21.0
+ sass: ^1.70.0
+ sass-embedded: ^1.70.0
+ stylus: ">=0.54.8"
+ sugarss: ^5.0.0
+ terser: ^5.16.0
+ tsx: ^4.8.1
+ yaml: ^2.4.2
+ dependenciesMeta:
+ fsevents:
+ optional: true
+ peerDependenciesMeta:
+ "@types/node":
+ optional: true
+ jiti:
+ optional: true
+ less:
+ optional: true
+ lightningcss:
+ optional: true
+ sass:
+ optional: true
+ sass-embedded:
+ optional: true
+ stylus:
+ optional: true
+ sugarss:
+ optional: true
+ terser:
+ optional: true
+ tsx:
+ optional: true
+ yaml:
+ optional: true
+ bin:
+ vite: bin/vite.js
+ checksum: 10c0/c6d359f84ad362f5c97ff7988b77c90add04162c60cdf6059375a7d9e3217848c53a8cb6b6c48517bef84b6bba4c9bc85319a889b5236acb7d5a2bc8cb7b9a8d
+ languageName: node
+ linkType: hard
+
"vitest@npm:^4.1.0":
version: 4.1.0
resolution: "vitest@npm:4.1.0"
@@ -22777,7 +25890,16 @@ __metadata:
languageName: node
linkType: hard
-"wcwidth@npm:^1.0.1":
+"watchpack@npm:2.5.2":
+ version: 2.5.2
+ resolution: "watchpack@npm:2.5.2"
+ dependencies:
+ graceful-fs: "npm:^4.1.2"
+ checksum: 10c0/8290e89f03e1e7136e1ef9b8d04bd03822963fa4b442781a40999e7b9ba29ab333a7a5285312b2d4f3e91bc8c5c526cf1f91f5ce0e857dafe56db28ab1c17dca
+ languageName: node
+ linkType: hard
+
+"wcwidth@npm:^1.0.0, wcwidth@npm:^1.0.1":
version: 1.0.1
resolution: "wcwidth@npm:1.0.1"
dependencies:
@@ -22786,6 +25908,42 @@ __metadata:
languageName: node
linkType: hard
+"web-ext@npm:^10.6.0":
+ version: 10.6.0
+ resolution: "web-ext@npm:10.6.0"
+ dependencies:
+ "@babel/runtime": "npm:8.0.0"
+ "@devicefarmer/adbkit": "npm:3.3.9"
+ addons-linter: "npm:10.10.0"
+ camelcase: "npm:8.0.0"
+ chrome-launcher: "npm:1.2.0"
+ debounce: "npm:1.2.1"
+ decamelize: "npm:6.0.1"
+ es6-error: "npm:4.1.1"
+ firefox-profile: "npm:4.7.1"
+ fx-runner: "npm:1.6.0"
+ https-proxy-agent: "npm:^7.0.0"
+ jose: "npm:5.9.6"
+ jszip: "npm:3.10.1"
+ multimatch: "npm:6.0.0"
+ open: "npm:11.0.0"
+ parse-json: "npm:8.3.0"
+ pino: "npm:10.3.1"
+ promise-toolbox: "npm:0.21.0"
+ source-map-support: "npm:0.5.21"
+ strip-bom: "npm:5.0.0"
+ strip-json-comments: "npm:5.0.3"
+ tmp: "npm:0.2.7"
+ update-notifier: "npm:7.3.1"
+ watchpack: "npm:2.5.2"
+ yargs: "npm:17.7.2"
+ zip-dir: "npm:2.0.0"
+ bin:
+ web-ext: bin/web-ext.js
+ checksum: 10c0/360d1b9da39f23444cb7c579d6c1241d658aef4db28e3403c7c47b55c3d8cd3cbc08068a4c0bf8e09fc9899c6a4a14cbce8417906ac2e5e8153827cf2c8c323e
+ languageName: node
+ linkType: hard
+
"web-streams-polyfill@npm:^3.0.3":
version: 3.3.3
resolution: "web-streams-polyfill@npm:3.3.3"
@@ -22793,6 +25951,13 @@ __metadata:
languageName: node
linkType: hard
+"webextension-polyfill@npm:^0.12.0":
+ version: 0.12.0
+ resolution: "webextension-polyfill@npm:0.12.0"
+ checksum: 10c0/5ace2aaaf6a203515bdd2fb948622f186a5fbb50099b539ce9c0ad54896f9cc1fcc3c0e2a71d1f7071dd7236d7daebba1e0cbcf43bfdfe54361addf0333ee7d1
+ languageName: node
+ linkType: hard
+
"webidl-conversions@npm:^3.0.0":
version: 3.0.1
resolution: "webidl-conversions@npm:3.0.1"
@@ -22823,6 +25988,15 @@ __metadata:
languageName: node
linkType: hard
+"whatwg-encoding@npm:^3.1.1":
+ version: 3.1.1
+ resolution: "whatwg-encoding@npm:3.1.1"
+ dependencies:
+ iconv-lite: "npm:0.6.3"
+ checksum: 10c0/273b5f441c2f7fda3368a496c3009edbaa5e43b71b09728f90425e7f487e5cef9eb2b846a31bd760dd8077739c26faf6b5ca43a5f24033172b003b72cf61a93e
+ languageName: node
+ linkType: hard
+
"whatwg-fetch@npm:^3.0.0, whatwg-fetch@npm:^3.4.1":
version: 3.6.20
resolution: "whatwg-fetch@npm:3.6.20"
@@ -22837,6 +26011,13 @@ __metadata:
languageName: node
linkType: hard
+"whatwg-mimetype@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "whatwg-mimetype@npm:4.0.0"
+ checksum: 10c0/a773cdc8126b514d790bdae7052e8bf242970cebd84af62fb2f35a33411e78e981f6c0ab9ed1fe6ec5071b09d5340ac9178e05b52d35a9c4bcf558ba1b1551df
+ languageName: node
+ linkType: hard
+
"whatwg-url-without-unicode@npm:8.0.0-3":
version: 8.0.0-3
resolution: "whatwg-url-without-unicode@npm:8.0.0-3"
@@ -22878,6 +26059,13 @@ __metadata:
languageName: node
linkType: hard
+"when-exit@npm:^2.1.4":
+ version: 2.1.5
+ resolution: "when-exit@npm:2.1.5"
+ checksum: 10c0/7db41b28c98456b784c25780ca327653f233c6eb7b25d4ce251d04519828cbd609fb6d10548caf9031d4d6fab2999d6f6911c32e1731efab24c93a522573470d
+ languageName: node
+ linkType: hard
+
"which-boxed-primitive@npm:^1.0.2":
version: 1.0.2
resolution: "which-boxed-primitive@npm:1.0.2"
@@ -22928,6 +26116,17 @@ __metadata:
languageName: node
linkType: hard
+"which@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "which@npm:4.0.0"
+ dependencies:
+ isexe: "npm:^3.1.1"
+ bin:
+ node-which: bin/which.js
+ checksum: 10c0/449fa5c44ed120ccecfe18c433296a4978a7583bf2391c50abce13f76878d2476defde04d0f79db8165bdf432853c1f8389d0485ca6e8ebce3bbcded513d5e6a
+ languageName: node
+ linkType: hard
+
"which@npm:^6.0.0":
version: 6.0.0
resolution: "which@npm:6.0.0"
@@ -22960,6 +26159,22 @@ __metadata:
languageName: node
linkType: hard
+"widest-line@npm:^5.0.0":
+ version: 5.0.0
+ resolution: "widest-line@npm:5.0.0"
+ dependencies:
+ string-width: "npm:^7.0.0"
+ checksum: 10c0/6bd6cca8cda502ef50e05353fd25de0df8c704ffc43ada7e0a9cf9a5d4f4e12520485d80e0b77cec8a21f6c3909042fcf732aa9281e5dbb98cc9384a138b2578
+ languageName: node
+ linkType: hard
+
+"winreg@npm:0.0.12":
+ version: 0.0.12
+ resolution: "winreg@npm:0.0.12"
+ checksum: 10c0/148b6aca1c3e88badd0d2b77ee0a71f1033e22e1cfcb41b71a5bba9e97cb3e7b6a2ec6b00cf0397959a13d65577d9173932588b3cd57b3f2e774b77ad14394ba
+ languageName: node
+ linkType: hard
+
"wonka@npm:^6.3.2":
version: 6.3.5
resolution: "wonka@npm:6.3.5"
@@ -22996,6 +26211,17 @@ __metadata:
languageName: node
linkType: hard
+"wrap-ansi@npm:^9.0.0":
+ version: 9.0.2
+ resolution: "wrap-ansi@npm:9.0.2"
+ dependencies:
+ ansi-styles: "npm:^6.2.1"
+ string-width: "npm:^7.0.0"
+ strip-ansi: "npm:^7.1.0"
+ checksum: 10c0/3305839b9a0d6fb930cb63a52f34d3936013d8b0682ff3ec133c9826512620f213800ffa19ea22904876d5b7e9a3c1f40682f03597d986a4ca881fa7b033688c
+ languageName: node
+ linkType: hard
+
"wrappy@npm:1":
version: 1.0.2
resolution: "wrappy@npm:1.0.2"
@@ -23052,6 +26278,16 @@ __metadata:
languageName: node
linkType: hard
+"wsl-utils@npm:^0.3.0":
+ version: 0.3.1
+ resolution: "wsl-utils@npm:0.3.1"
+ dependencies:
+ is-wsl: "npm:^3.1.0"
+ powershell-utils: "npm:^0.1.0"
+ checksum: 10c0/b3ba99cc6b71f66457eef598d529beeb8cb57a72646877fe25993894b808c60b82f6d47df5463f0b6e54632272f62f5eaea105c12784fd09b06f500f3f53aa2e
+ languageName: node
+ linkType: hard
+
"xcode@npm:^3.0.1":
version: 3.0.1
resolution: "xcode@npm:3.0.1"
@@ -23062,6 +26298,13 @@ __metadata:
languageName: node
linkType: hard
+"xdg-basedir@npm:^5.1.0":
+ version: 5.1.0
+ resolution: "xdg-basedir@npm:5.1.0"
+ checksum: 10c0/c88efabc71ffd996ba9ad8923a8cc1c7c020a03e2c59f0ffa72e06be9e724ad2a0fccef488757bc6ed3d8849d753dd25082d1035d95cb179e79eae4d034d0b80
+ languageName: node
+ linkType: hard
+
"xhr@npm:^2.0.1":
version: 2.6.0
resolution: "xhr@npm:2.6.0"
@@ -23118,6 +26361,16 @@ __metadata:
languageName: node
linkType: hard
+"xml2js@npm:^0.6.2":
+ version: 0.6.2
+ resolution: "xml2js@npm:0.6.2"
+ dependencies:
+ sax: "npm:>=0.6.0"
+ xmlbuilder: "npm:~11.0.0"
+ checksum: 10c0/e98a84e9c172c556ee2c5afa0fc7161b46919e8b53ab20de140eedea19903ed82f7cd5b1576fb345c84f0a18da1982ddf65908129b58fc3d7cbc658ae232108f
+ languageName: node
+ linkType: hard
+
"xml@npm:1.0.1":
version: 1.0.1
resolution: "xml@npm:1.0.1"
@@ -23204,7 +26457,7 @@ __metadata:
languageName: node
linkType: hard
-"yargs@npm:^17.3.1, yargs@npm:^17.6.2, yargs@npm:^17.7.2":
+"yargs@npm:17.7.2, yargs@npm:^17.3.1, yargs@npm:^17.6.2, yargs@npm:^17.7.2":
version: 17.7.2
resolution: "yargs@npm:17.7.2"
dependencies:
@@ -23219,6 +26472,15 @@ __metadata:
languageName: node
linkType: hard
+"yauzl@npm:3.4.0":
+ version: 3.4.0
+ resolution: "yauzl@npm:3.4.0"
+ dependencies:
+ pend: "npm:~1.2.0"
+ checksum: 10c0/17a98c42c0065e8af429eb8a61f7a0e4562181ed54080366b838f34f741b6829f167f804787c86b7646bb042707f35871739f053de0548285e405a2eae4da025
+ languageName: node
+ linkType: hard
+
"yocto-queue@npm:^0.1.0":
version: 0.1.0
resolution: "yocto-queue@npm:0.1.0"
@@ -23243,6 +26505,16 @@ __metadata:
languageName: node
linkType: hard
+"zip-dir@npm:2.0.0":
+ version: 2.0.0
+ resolution: "zip-dir@npm:2.0.0"
+ dependencies:
+ async: "npm:^3.2.0"
+ jszip: "npm:^3.2.2"
+ checksum: 10c0/3bc6f84caeaaa19e7a65be01b5f042332eb09ec4a609d4ebebd93f854dfd2deb635f4b4486de224c6bdcb7e4e88b5e98792ffd14f1c58ce9b196061a83560be6
+ languageName: node
+ linkType: hard
+
"zod@npm:^3.25.0 || ^4.0.0":
version: 4.2.1
resolution: "zod@npm:4.2.1"