Skip to content

Linux + iPhone Continuity / iMessage / SMS

add test framework for OTP emails

Zack Bartel6c2f658b488f
diff --git a/extension/.gitignore b/extension/.gitignore
new file mode 100644
index 0000000..a56a7ef
--- /dev/null
+++ b/extension/.gitignore
@@ -0,0 +1,2 @@
+node_modules
+
diff --git a/extension/package-lock.json b/extension/package-lock.json
new file mode 100644
index 0000000..364ff1c
--- /dev/null
+++ b/extension/package-lock.json
@@ -0,0 +1,2585 @@
+{
+ "name": "tether-extension",
+ "version": "1.0.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "tether-extension",
+ "version": "1.0.0",
+ "devDependencies": {
+ "jsdom": "^25.0.0",
+ "mailparser": "^3.7.0",
+ "vitest": "^2.1.0"
+ }
+ },
+ "node_modules/@asamuzakjp/css-color": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-3.2.0.tgz",
+ "integrity": "sha512-K1A6z8tS3XsmCMM86xoWdn7Fkdn9m6RSVtocUrJYIwZnFVkng/PvkEoWtOWmP+Scc6saYWHWZYbndEEXxl24jw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@csstools/css-calc": "^2.1.3",
+ "@csstools/css-color-parser": "^3.0.9",
+ "@csstools/css-parser-algorithms": "^3.0.4",
+ "@csstools/css-tokenizer": "^3.0.3",
+ "lru-cache": "^10.4.3"
+ }
+ },
+ "node_modules/@csstools/color-helpers": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-5.1.0.tgz",
+ "integrity": "sha512-S11EXWJyy0Mz5SYvRmY8nJYTFFd1LCNV+7cXyAgQtOOuzb4EsgfqDufL+9esx72/eLhsRdGZwaldu/h+E4t4BA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@csstools/css-calc": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-2.1.4.tgz",
+ "integrity": "sha512-3N8oaj+0juUw/1H3YwmDDJXCgTB1gKU6Hc/bB502u9zR0q2vd786XJH9QfrKIEgFlZmhZiq6epXl4rHqhzsIgQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4"
+ }
+ },
+ "node_modules/@csstools/css-color-parser": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-3.1.0.tgz",
+ "integrity": "sha512-nbtKwh3a6xNVIp/VRuXV64yTKnb1IjTAEEh3irzS+HkKjAOYLTGNb9pmVNntZ8iVBHcWDA2Dof0QtPgFI1BaTA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@csstools/color-helpers": "^5.1.0",
+ "@csstools/css-calc": "^2.1.4"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4"
+ }
+ },
+ "node_modules/@csstools/css-parser-algorithms": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.5.tgz",
+ "integrity": "sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@csstools/css-tokenizer": "^3.0.4"
+ }
+ },
+ "node_modules/@csstools/css-tokenizer": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz",
+ "integrity": "sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz",
+ "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz",
+ "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz",
+ "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz",
+ "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz",
+ "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz",
+ "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz",
+ "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz",
+ "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz",
+ "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz",
+ "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz",
+ "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz",
+ "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz",
+ "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz",
+ "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz",
+ "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz",
+ "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz",
+ "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz",
+ "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz",
+ "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz",
+ "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz",
+ "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz",
+ "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz",
+ "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.2.tgz",
+ "integrity": "sha512-dnlp69efPPg6Uaw2dVqzWRfAWRnYVb1XJ8CyyhIbZeaq4CA5/mLeZ1IEt9QqQxmbdvagjLIm2ZL8BxXv5lH4Yw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.60.2.tgz",
+ "integrity": "sha512-OqZTwDRDchGRHHm/hwLOL7uVPB9aUvI0am/eQuWMNyFHf5PSEQmyEeYYheA0EPPKUO/l0uigCp+iaTjoLjVoHg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.60.2.tgz",
+ "integrity": "sha512-UwRE7CGpvSVEQS8gUMBe1uADWjNnVgP3Iusyda1nSRwNDCsRjnGc7w6El6WLQsXmZTbLZx9cecegumcitNfpmA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.60.2.tgz",
+ "integrity": "sha512-gjEtURKLCC5VXm1I+2i1u9OhxFsKAQJKTVB8WvDAHF+oZlq0GTVFOlTlO1q3AlCTE/DF32c16ESvfgqR7343/g==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-arm64": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.60.2.tgz",
+ "integrity": "sha512-Bcl6CYDeAgE70cqZaMojOi/eK63h5Me97ZqAQoh77VPjMysA/4ORQBRGo3rRy45x4MzVlU9uZxs8Uwy7ZaKnBw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-x64": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.60.2.tgz",
+ "integrity": "sha512-LU+TPda3mAE2QB0/Hp5VyeKJivpC6+tlOXd1VMoXV/YFMvk/MNk5iXeBfB4MQGRWyOYVJ01625vjkr0Az98OJQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.60.2.tgz",
+ "integrity": "sha512-2QxQrM+KQ7DAW4o22j+XZ6RKdxjLD7BOWTP0Bv0tmjdyhXSsr2Ul1oJDQqh9Zf5qOwTuTc7Ek83mOFaKnodPjg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.60.2.tgz",
+ "integrity": "sha512-TbziEu2DVsTEOPif2mKWkMeDMLoYjx95oESa9fkQQK7r/Orta0gnkcDpzwufEcAO2BLBsD7mZkXGFqEdMRRwfw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.60.2.tgz",
+ "integrity": "sha512-bO/rVDiDUuM2YfuCUwZ1t1cP+/yqjqz+Xf2VtkdppefuOFS2OSeAfgafaHNkFn0t02hEyXngZkxtGqXcXwO8Rg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.60.2.tgz",
+ "integrity": "sha512-hr26p7e93Rl0Za+JwW7EAnwAvKkehh12BU1Llm9Ykiibg4uIr2rbpxG9WCf56GuvidlTG9KiiQT/TXT1yAWxTA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-gnu": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.60.2.tgz",
+ "integrity": "sha512-pOjB/uSIyDt+ow3k/RcLvUAOGpysT2phDn7TTUB3n75SlIgZzM6NKAqlErPhoFU+npgY3/n+2HYIQVbF70P9/A==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-musl": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.60.2.tgz",
+ "integrity": "sha512-2/w+q8jszv9Ww1c+6uJT3OwqhdmGP2/4T17cu8WuwyUuuaCDDJ2ojdyYwZzCxx0GcsZBhzi3HmH+J5pZNXnd+Q==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-gnu": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.60.2.tgz",
+ "integrity": "sha512-11+aL5vKheYgczxtPVVRhdptAM2H7fcDR5Gw4/bTcteuZBlH4oP9f5s9zYO9aGZvoGeBpqXI/9TZZihZ609wKw==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-musl": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.60.2.tgz",
+ "integrity": "sha512-i16fokAGK46IVZuV8LIIwMdtqhin9hfYkCh8pf8iC3QU3LpwL+1FSFGej+O7l3E/AoknL6Dclh2oTdnRMpTzFQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.60.2.tgz",
+ "integrity": "sha512-49FkKS6RGQoriDSK/6E2GkAsAuU5kETFCh7pG4yD/ylj9rKhTmO3elsnmBvRD4PgJPds5W2PkhC82aVwmUcJ7A==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-musl": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.60.2.tgz",
+ "integrity": "sha512-mjYNkHPfGpUR00DuM1ZZIgs64Hpf4bWcz9Z41+4Q+pgDx73UwWdAYyf6EG/lRFldmdHHzgrYyge5akFUW0D3mQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.60.2.tgz",
+ "integrity": "sha512-ALyvJz965BQk8E9Al/JDKKDLH2kfKFLTGMlgkAbbYtZuJt9LU8DW3ZoDMCtQpXAltZxwBHevXz5u+gf0yA0YoA==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.2.tgz",
+ "integrity": "sha512-UQjrkIdWrKI626Du8lCQ6MJp/6V1LAo2bOK9OTu4mSn8GGXIkPXk/Vsp4bLHCd9Z9Iz2OTEaokUE90VweJgIYQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.2.tgz",
+ "integrity": "sha512-bTsRGj6VlSdn/XD4CGyzMnzaBs9bsRxy79eTqTCBsA8TMIEky7qg48aPkvJvFe1HyzQ5oMZdg7AnVlWQSKLTnw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-openbsd-x64": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.60.2.tgz",
+ "integrity": "sha512-6d4Z3534xitaA1FcMWP7mQPq5zGwBmGbhphh2DwaA1aNIXUu3KTOfwrWpbwI4/Gr0uANo7NTtaykFyO2hPuFLg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-openharmony-arm64": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.60.2.tgz",
+ "integrity": "sha512-NetAg5iO2uN7eB8zE5qrZ3CSil+7IJt4WDFLcC75Ymywq1VZVD6qJ6EvNLjZ3rEm6gB7XW5JdT60c6MN35Z85Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.60.2.tgz",
+ "integrity": "sha512-NCYhOotpgWZ5kdxCZsv6Iudx0wX8980Q/oW4pNFNihpBKsDbEA1zpkfxJGC0yugsUuyDZ7gL37dbzwhR0VI7pQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.60.2.tgz",
+ "integrity": "sha512-RXsaOqXxfoUBQoOgvmmijVxJnW2IGB0eoMO7F8FAjaj0UTywUO/luSqimWBJn04WNgUkeNhh7fs7pESXajWmkg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-gnu": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.2.tgz",
+ "integrity": "sha512-qdAzEULD+/hzObedtmV6iBpdL5TIbKVztGiK7O3/KYSf+HIzU257+MX1EXJcyIiDbMAqmbwaufcYPvyRryeZtA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.2.tgz",
+ "integrity": "sha512-Nd/SgG27WoA9e+/TdK74KnHz852TLa94ovOYySo/yMPuTmpckK/jIF2jSwS3g7ELSKXK13/cVdmg1Z/DaCWKxA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@selderee/plugin-htmlparser2": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/@selderee/plugin-htmlparser2/-/plugin-htmlparser2-0.11.0.tgz",
+ "integrity": "sha512-P33hHGdldxGabLFjPPpaTxVolMrzrcegejx+0GxjrIb9Zv48D8yAIA/QTDR2dFl7Uz7urX8aX6+5bCZslr+gWQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "domhandler": "^5.0.3",
+ "selderee": "^0.11.0"
+ },
+ "funding": {
+ "url": "https://ko-fi.com/killymxi"
+ }
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
+ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@vitest/expect": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.1.9.tgz",
+ "integrity": "sha512-UJCIkTBenHeKT1TTlKMJWy1laZewsRIzYighyYiJKZreqtdxSos/S1t+ktRMQWu2CKqaarrkeszJx1cgC5tGZw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/spy": "2.1.9",
+ "@vitest/utils": "2.1.9",
+ "chai": "^5.1.2",
+ "tinyrainbow": "^1.2.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/mocker": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-2.1.9.tgz",
+ "integrity": "sha512-tVL6uJgoUdi6icpxmdrn5YNo3g3Dxv+IHJBr0GXHaEdTcw3F+cPKnsXFhli6nO+f/6SDKPHEK1UN+k+TQv0Ehg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/spy": "2.1.9",
+ "estree-walker": "^3.0.3",
+ "magic-string": "^0.30.12"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "msw": "^2.4.9",
+ "vite": "^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "msw": {
+ "optional": true
+ },
+ "vite": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vitest/pretty-format": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.9.tgz",
+ "integrity": "sha512-KhRIdGV2U9HOUzxfiHmY8IFHTdqtOhIzCpd8WRdJiE7D/HUcZVD0EgQCVjm+Q9gkUXWgBvMmTtZgIG48wq7sOQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyrainbow": "^1.2.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/runner": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.1.9.tgz",
+ "integrity": "sha512-ZXSSqTFIrzduD63btIfEyOmNcBmQvgOVsPNPe0jYtESiXkhd8u2erDLnMxmGrDCwHCCHE7hxwRDCT3pt0esT4g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/utils": "2.1.9",
+ "pathe": "^1.1.2"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/snapshot": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.1.9.tgz",
+ "integrity": "sha512-oBO82rEjsxLNJincVhLhaxxZdEtV0EFHMK5Kmx5sJ6H9L183dHECjiefOAdnqpIgT5eZwT04PoggUnW88vOBNQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "2.1.9",
+ "magic-string": "^0.30.12",
+ "pathe": "^1.1.2"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/spy": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.1.9.tgz",
+ "integrity": "sha512-E1B35FwzXXTs9FHNK6bDszs7mtydNi5MIfUWpceJ8Xbfb1gBMscAnwLbEu+B44ed6W3XjL9/ehLPHR1fkf1KLQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyspy": "^3.0.2"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/utils": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.1.9.tgz",
+ "integrity": "sha512-v0psaMSkNJ3A2NMrUEHFRzJtDPFn+/VWZ5WxImB21T9fjucJRmS7xCS3ppEnARb9y11OAzaD+P2Ps+b+BGX5iQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "2.1.9",
+ "loupe": "^3.1.2",
+ "tinyrainbow": "^1.2.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@zone-eu/mailsplit": {
+ "version": "5.4.8",
+ "resolved": "https://registry.npmjs.org/@zone-eu/mailsplit/-/mailsplit-5.4.8.tgz",
+ "integrity": "sha512-eEyACj4JZ7sjzRvy26QhLgKEMWwQbsw1+QZnlLX+/gihcNH07lVPOcnwf5U6UAL7gkc//J3jVd76o/WS+taUiA==",
+ "dev": true,
+ "license": "(MIT OR EUPL-1.1+)",
+ "dependencies": {
+ "libbase64": "1.3.0",
+ "libmime": "5.3.7",
+ "libqp": "2.1.1"
+ }
+ },
+ "node_modules/@zone-eu/mailsplit/node_modules/iconv-lite": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/@zone-eu/mailsplit/node_modules/libmime": {
+ "version": "5.3.7",
+ "resolved": "https://registry.npmjs.org/libmime/-/libmime-5.3.7.tgz",
+ "integrity": "sha512-FlDb3Wtha8P01kTL3P9M+ZDNDWPKPmKHWaU/cG/lg5pfuAwdflVpZE+wm9m7pKmC5ww6s+zTxBKS1p6yl3KpSw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "encoding-japanese": "2.2.0",
+ "iconv-lite": "0.6.3",
+ "libbase64": "1.3.0",
+ "libqp": "2.1.1"
+ }
+ },
+ "node_modules/agent-base": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz",
+ "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/assertion-error": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",
+ "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/asynckit": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
+ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/cac": {
+ "version": "6.7.14",
+ "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
+ "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/call-bind-apply-helpers": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
+ "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/chai": {
+ "version": "5.3.3",
+ "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz",
+ "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "assertion-error": "^2.0.1",
+ "check-error": "^2.1.1",
+ "deep-eql": "^5.0.1",
+ "loupe": "^3.1.0",
+ "pathval": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/check-error": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.3.tgz",
+ "integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 16"
+ }
+ },
+ "node_modules/combined-stream": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "delayed-stream": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/cssstyle": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-4.6.0.tgz",
+ "integrity": "sha512-2z+rWdzbbSZv6/rhtvzvqeZQHrBaqgogqt85sqFNbabZOuFbCVFb8kPeEtZjiKkbrm395irpNKiYeFeLiQnFPg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@asamuzakjp/css-color": "^3.2.0",
+ "rrweb-cssom": "^0.8.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/cssstyle/node_modules/rrweb-cssom": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.8.0.tgz",
+ "integrity": "sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/data-urls": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-5.0.0.tgz",
+ "integrity": "sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "whatwg-mimetype": "^4.0.0",
+ "whatwg-url": "^14.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/decimal.js": {
+ "version": "10.6.0",
+ "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz",
+ "integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/deep-eql": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz",
+ "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/deepmerge": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
+ "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/delayed-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
+ "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/dom-serializer": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",
+ "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "domelementtype": "^2.3.0",
+ "domhandler": "^5.0.2",
+ "entities": "^4.2.0"
+ },
+ "funding": {
+ "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
+ }
+ },
+ "node_modules/domelementtype": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz",
+ "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/fb55"
+ }
+ ],
+ "license": "BSD-2-Clause"
+ },
+ "node_modules/domhandler": {
+ "version": "5.0.3",
+ "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",
+ "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "domelementtype": "^2.3.0"
+ },
+ "engines": {
+ "node": ">= 4"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/domhandler?sponsor=1"
+ }
+ },
+ "node_modules/domutils": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz",
+ "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "dom-serializer": "^2.0.0",
+ "domelementtype": "^2.3.0",
+ "domhandler": "^5.0.3"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/domutils?sponsor=1"
+ }
+ },
+ "node_modules/dunder-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
+ "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "gopd": "^1.2.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/encoding-japanese": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/encoding-japanese/-/encoding-japanese-2.2.0.tgz",
+ "integrity": "sha512-EuJWwlHPZ1LbADuKTClvHtwbaFn4rOD+dRAbWysqEOXRc2Uui0hJInNJrsdH0c+OhJA4nrCBdSkW4DD5YxAo6A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/entities": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
+ "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.12"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
+ }
+ },
+ "node_modules/es-define-property": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
+ "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-errors": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-module-lexer": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",
+ "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/es-object-atoms": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
+ "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-set-tostringtag": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz",
+ "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.6",
+ "has-tostringtag": "^1.0.2",
+ "hasown": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/esbuild": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",
+ "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.21.5",
+ "@esbuild/android-arm": "0.21.5",
+ "@esbuild/android-arm64": "0.21.5",
+ "@esbuild/android-x64": "0.21.5",
+ "@esbuild/darwin-arm64": "0.21.5",
+ "@esbuild/darwin-x64": "0.21.5",
+ "@esbuild/freebsd-arm64": "0.21.5",
+ "@esbuild/freebsd-x64": "0.21.5",
+ "@esbuild/linux-arm": "0.21.5",
+ "@esbuild/linux-arm64": "0.21.5",
+ "@esbuild/linux-ia32": "0.21.5",
+ "@esbuild/linux-loong64": "0.21.5",
+ "@esbuild/linux-mips64el": "0.21.5",
+ "@esbuild/linux-ppc64": "0.21.5",
+ "@esbuild/linux-riscv64": "0.21.5",
+ "@esbuild/linux-s390x": "0.21.5",
+ "@esbuild/linux-x64": "0.21.5",
+ "@esbuild/netbsd-x64": "0.21.5",
+ "@esbuild/openbsd-x64": "0.21.5",
+ "@esbuild/sunos-x64": "0.21.5",
+ "@esbuild/win32-arm64": "0.21.5",
+ "@esbuild/win32-ia32": "0.21.5",
+ "@esbuild/win32-x64": "0.21.5"
+ }
+ },
+ "node_modules/estree-walker": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
+ "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0"
+ }
+ },
+ "node_modules/expect-type": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.3.0.tgz",
+ "integrity": "sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/form-data": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz",
+ "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.8",
+ "es-set-tostringtag": "^2.1.0",
+ "hasown": "^2.0.2",
+ "mime-types": "^2.1.12"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-intrinsic": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
+ "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.2",
+ "es-define-property": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.1.1",
+ "function-bind": "^1.1.2",
+ "get-proto": "^1.0.1",
+ "gopd": "^1.2.0",
+ "has-symbols": "^1.1.0",
+ "hasown": "^2.0.2",
+ "math-intrinsics": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
+ "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "dunder-proto": "^1.0.1",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/gopd": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
+ "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-symbols": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
+ "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-tostringtag": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
+ "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "has-symbols": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/hasown": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.3.tgz",
+ "integrity": "sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/he": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
+ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "he": "bin/he"
+ }
+ },
+ "node_modules/html-encoding-sniffer": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-4.0.0.tgz",
+ "integrity": "sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "whatwg-encoding": "^3.1.1"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/html-to-text": {
+ "version": "9.0.5",
+ "resolved": "https://registry.npmjs.org/html-to-text/-/html-to-text-9.0.5.tgz",
+ "integrity": "sha512-qY60FjREgVZL03vJU6IfMV4GDjGBIoOyvuFdpBDIX9yTlDw0TjxVBQp+P8NvpdIXNJvfWBTNul7fsAQJq2FNpg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@selderee/plugin-htmlparser2": "^0.11.0",
+ "deepmerge": "^4.3.1",
+ "dom-serializer": "^2.0.0",
+ "htmlparser2": "^8.0.2",
+ "selderee": "^0.11.0"
+ },
+ "engines": {
+ "node": ">=14"
+ }
+ },
+ "node_modules/htmlparser2": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz",
+ "integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==",
+ "dev": true,
+ "funding": [
+ "https://github.com/fb55/htmlparser2?sponsor=1",
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/fb55"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "domelementtype": "^2.3.0",
+ "domhandler": "^5.0.3",
+ "domutils": "^3.0.1",
+ "entities": "^4.4.0"
+ }
+ },
+ "node_modules/http-proxy-agent": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz",
+ "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "agent-base": "^7.1.0",
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/https-proxy-agent": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz",
+ "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "agent-base": "^7.1.2",
+ "debug": "4"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/iconv-lite": {
+ "version": "0.7.2",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.2.tgz",
+ "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/is-potential-custom-element-name": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",
+ "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/jsdom": {
+ "version": "25.0.1",
+ "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-25.0.1.tgz",
+ "integrity": "sha512-8i7LzZj7BF8uplX+ZyOlIz86V6TAsSs+np6m1kpW9u0JWi4z/1t+FzcK1aek+ybTnAC4KhBL4uXCNT0wcUIeCw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssstyle": "^4.1.0",
+ "data-urls": "^5.0.0",
+ "decimal.js": "^10.4.3",
+ "form-data": "^4.0.0",
+ "html-encoding-sniffer": "^4.0.0",
+ "http-proxy-agent": "^7.0.2",
+ "https-proxy-agent": "^7.0.5",
+ "is-potential-custom-element-name": "^1.0.1",
+ "nwsapi": "^2.2.12",
+ "parse5": "^7.1.2",
+ "rrweb-cssom": "^0.7.1",
+ "saxes": "^6.0.0",
+ "symbol-tree": "^3.2.4",
+ "tough-cookie": "^5.0.0",
+ "w3c-xmlserializer": "^5.0.0",
+ "webidl-conversions": "^7.0.0",
+ "whatwg-encoding": "^3.1.1",
+ "whatwg-mimetype": "^4.0.0",
+ "whatwg-url": "^14.0.0",
+ "ws": "^8.18.0",
+ "xml-name-validator": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "canvas": "^2.11.2"
+ },
+ "peerDependenciesMeta": {
+ "canvas": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/leac": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/leac/-/leac-0.6.0.tgz",
+ "integrity": "sha512-y+SqErxb8h7nE/fiEX07jsbuhrpO9lL8eca7/Y1nuWV2moNlXhyd59iDGcRf6moVyDMbmTNzL40SUyrFU/yDpg==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://ko-fi.com/killymxi"
+ }
+ },
+ "node_modules/libbase64": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/libbase64/-/libbase64-1.3.0.tgz",
+ "integrity": "sha512-GgOXd0Eo6phYgh0DJtjQ2tO8dc0IVINtZJeARPeiIJqge+HdsWSuaDTe8ztQ7j/cONByDZ3zeB325AHiv5O0dg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/libmime": {
+ "version": "5.3.8",
+ "resolved": "https://registry.npmjs.org/libmime/-/libmime-5.3.8.tgz",
+ "integrity": "sha512-ZrCY+Q66mPvasAfjsQ/IgahzoBvfE1VdtGRpo1hwRB1oK3wJKxhKA3GOcd2a6j7AH5eMFccxK9fBoCpRZTf8ng==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "encoding-japanese": "2.2.0",
+ "iconv-lite": "0.7.2",
+ "libbase64": "1.3.0",
+ "libqp": "2.1.1"
+ }
+ },
+ "node_modules/libqp": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/libqp/-/libqp-2.1.1.tgz",
+ "integrity": "sha512-0Wd+GPz1O134cP62YU2GTOPNA7Qgl09XwCqM5zpBv87ERCXdfDtyKXvV7c9U22yWJh44QZqBocFnXN11K96qow==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/linkify-it": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz",
+ "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "uc.micro": "^2.0.0"
+ }
+ },
+ "node_modules/loupe": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz",
+ "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lru-cache": {
+ "version": "10.4.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
+ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/magic-string": {
+ "version": "0.30.21",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.5"
+ }
+ },
+ "node_modules/mailparser": {
+ "version": "3.9.8",
+ "resolved": "https://registry.npmjs.org/mailparser/-/mailparser-3.9.8.tgz",
+ "integrity": "sha512-7jSlFGXiianVnhnb6wdutJFloD34488nrHY7r6FNqwXAhZ7YiJDYrKKTxZJ0oSrXcAPHm8YoYnh97xyGtrBQ3w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@zone-eu/mailsplit": "5.4.8",
+ "encoding-japanese": "2.2.0",
+ "he": "1.2.0",
+ "html-to-text": "9.0.5",
+ "iconv-lite": "0.7.2",
+ "libmime": "5.3.8",
+ "linkify-it": "5.0.0",
+ "nodemailer": "8.0.5",
+ "punycode.js": "2.3.1",
+ "tlds": "1.261.0"
+ }
+ },
+ "node_modules/math-intrinsics": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
+ "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.12",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.12.tgz",
+ "integrity": "sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/nodemailer": {
+ "version": "8.0.5",
+ "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-8.0.5.tgz",
+ "integrity": "sha512-0PF8Yb1yZuQfQbq+5/pZJrtF6WQcjTd5/S4JOHs9PGFxuTqoB/icwuB44pOdURHJbRKX1PPoJZtY7R4VUoCC8w==",
+ "dev": true,
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/nwsapi": {
+ "version": "2.2.23",
+ "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.23.tgz",
+ "integrity": "sha512-7wfH4sLbt4M0gCDzGE6vzQBo0bfTKjU7Sfpqy/7gs1qBfYz2vEJH6vXcBKpO3+6Yu1telwd0t9HpyOoLEQQbIQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/parse5": {
+ "version": "7.3.0",
+ "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz",
+ "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "entities": "^6.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/inikulin/parse5?sponsor=1"
+ }
+ },
+ "node_modules/parse5/node_modules/entities": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz",
+ "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.12"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
+ }
+ },
+ "node_modules/parseley": {
+ "version": "0.12.1",
+ "resolved": "https://registry.npmjs.org/parseley/-/parseley-0.12.1.tgz",
+ "integrity": "sha512-e6qHKe3a9HWr0oMRVDTRhKce+bRO8VGQR3NyVwcjwrbhMmFCX9KszEV35+rn4AdilFAq9VPxP/Fe1wC9Qjd2lw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "leac": "^0.6.0",
+ "peberminta": "^0.9.0"
+ },
+ "funding": {
+ "url": "https://ko-fi.com/killymxi"
+ }
+ },
+ "node_modules/pathe": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz",
+ "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/pathval": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz",
+ "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.16"
+ }
+ },
+ "node_modules/peberminta": {
+ "version": "0.9.0",
+ "resolved": "https://registry.npmjs.org/peberminta/-/peberminta-0.9.0.tgz",
+ "integrity": "sha512-XIxfHpEuSJbITd1H3EeQwpcZbTLHc+VVr8ANI9t5sit565tsI4/xK3KWTUFE2e6QiangUkh3B0jihzmGnNrRsQ==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://ko-fi.com/killymxi"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/postcss": {
+ "version": "8.5.13",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.13.tgz",
+ "integrity": "sha512-qif0+jGGZoLWdHey3UFHHWP0H7Gbmsk8T5VEqyYFbWqPr1XqvLGBbk/sl8V5exGmcYJklJOhOQq1pV9IcsiFag==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.11",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/punycode": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/punycode.js": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz",
+ "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "4.60.2",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.2.tgz",
+ "integrity": "sha512-J9qZyW++QK/09NyN/zeO0dG/1GdGfyp9lV8ajHnRVLfo/uFsbji5mHnDgn/qYdUHyCkM2N+8VyspgZclfAh0eQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "1.0.8"
+ },
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.60.2",
+ "@rollup/rollup-android-arm64": "4.60.2",
+ "@rollup/rollup-darwin-arm64": "4.60.2",
+ "@rollup/rollup-darwin-x64": "4.60.2",
+ "@rollup/rollup-freebsd-arm64": "4.60.2",
+ "@rollup/rollup-freebsd-x64": "4.60.2",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.60.2",
+ "@rollup/rollup-linux-arm-musleabihf": "4.60.2",
+ "@rollup/rollup-linux-arm64-gnu": "4.60.2",
+ "@rollup/rollup-linux-arm64-musl": "4.60.2",
+ "@rollup/rollup-linux-loong64-gnu": "4.60.2",
+ "@rollup/rollup-linux-loong64-musl": "4.60.2",
+ "@rollup/rollup-linux-ppc64-gnu": "4.60.2",
+ "@rollup/rollup-linux-ppc64-musl": "4.60.2",
+ "@rollup/rollup-linux-riscv64-gnu": "4.60.2",
+ "@rollup/rollup-linux-riscv64-musl": "4.60.2",
+ "@rollup/rollup-linux-s390x-gnu": "4.60.2",
+ "@rollup/rollup-linux-x64-gnu": "4.60.2",
+ "@rollup/rollup-linux-x64-musl": "4.60.2",
+ "@rollup/rollup-openbsd-x64": "4.60.2",
+ "@rollup/rollup-openharmony-arm64": "4.60.2",
+ "@rollup/rollup-win32-arm64-msvc": "4.60.2",
+ "@rollup/rollup-win32-ia32-msvc": "4.60.2",
+ "@rollup/rollup-win32-x64-gnu": "4.60.2",
+ "@rollup/rollup-win32-x64-msvc": "4.60.2",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/rrweb-cssom": {
+ "version": "0.7.1",
+ "resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.7.1.tgz",
+ "integrity": "sha512-TrEMa7JGdVm0UThDJSx7ddw5nVm3UJS9o9CCIZ72B1vSyEZoziDqBYP3XIoi/12lKrJR8rE3jeFHMok2F/Mnsg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/saxes": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz",
+ "integrity": "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "xmlchars": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=v12.22.7"
+ }
+ },
+ "node_modules/selderee": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/selderee/-/selderee-0.11.0.tgz",
+ "integrity": "sha512-5TF+l7p4+OsnP8BCCvSyZiSPc4x4//p5uPwK8TCnVPJYRmU2aYKMpOXvw8zM5a5JvuuCGN1jmsMwuU2W02ukfA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "parseley": "^0.12.0"
+ },
+ "funding": {
+ "url": "https://ko-fi.com/killymxi"
+ }
+ },
+ "node_modules/siginfo": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz",
+ "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/stackback": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
+ "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/std-env": {
+ "version": "3.10.0",
+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz",
+ "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/symbol-tree": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
+ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinybench": {
+ "version": "2.9.0",
+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
+ "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyexec": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz",
+ "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinypool": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz",
+ "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ }
+ },
+ "node_modules/tinyrainbow": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-1.2.0.tgz",
+ "integrity": "sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tinyspy": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-3.0.2.tgz",
+ "integrity": "sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tlds": {
+ "version": "1.261.0",
+ "resolved": "https://registry.npmjs.org/tlds/-/tlds-1.261.0.tgz",
+ "integrity": "sha512-QXqwfEl9ddlGBaRFXIvNKK6OhipSiLXuRuLJX5DErz0o0Q0rYxulWLdFryTkV5PkdZct5iMInwYEGe/eR++1AA==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "tlds": "bin.js"
+ }
+ },
+ "node_modules/tldts": {
+ "version": "6.1.86",
+ "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.86.tgz",
+ "integrity": "sha512-WMi/OQ2axVTf/ykqCQgXiIct+mSQDFdH2fkwhPwgEwvJ1kSzZRiinb0zF2Xb8u4+OqPChmyI6MEu4EezNJz+FQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tldts-core": "^6.1.86"
+ },
+ "bin": {
+ "tldts": "bin/cli.js"
+ }
+ },
+ "node_modules/tldts-core": {
+ "version": "6.1.86",
+ "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.86.tgz",
+ "integrity": "sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tough-cookie": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.1.2.tgz",
+ "integrity": "sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "tldts": "^6.1.32"
+ },
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/tr46": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-5.1.1.tgz",
+ "integrity": "sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "punycode": "^2.3.1"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/uc.micro": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz",
+ "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/vite": {
+ "version": "5.4.21",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz",
+ "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.21.3",
+ "postcss": "^8.4.43",
+ "rollup": "^4.20.0"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^18.0.0 || >=20.0.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite-node": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.1.9.tgz",
+ "integrity": "sha512-AM9aQ/IPrW/6ENLQg3AGY4K1N2TGZdR5e4gu/MmmR2xR3Ll1+dib+nook92g4TV3PXVyeyxdWwtaCAiUL0hMxA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cac": "^6.7.14",
+ "debug": "^4.3.7",
+ "es-module-lexer": "^1.5.4",
+ "pathe": "^1.1.2",
+ "vite": "^5.0.0"
+ },
+ "bin": {
+ "vite-node": "vite-node.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/vitest": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.1.9.tgz",
+ "integrity": "sha512-MSmPM9REYqDGBI8439mA4mWhV5sKmDlBKWIYbA3lRb2PTHACE0mgKwA8yQ2xq9vxDTuk4iPrECBAEW2aoFXY0Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/expect": "2.1.9",
+ "@vitest/mocker": "2.1.9",
+ "@vitest/pretty-format": "^2.1.9",
+ "@vitest/runner": "2.1.9",
+ "@vitest/snapshot": "2.1.9",
+ "@vitest/spy": "2.1.9",
+ "@vitest/utils": "2.1.9",
+ "chai": "^5.1.2",
+ "debug": "^4.3.7",
+ "expect-type": "^1.1.0",
+ "magic-string": "^0.30.12",
+ "pathe": "^1.1.2",
+ "std-env": "^3.8.0",
+ "tinybench": "^2.9.0",
+ "tinyexec": "^0.3.1",
+ "tinypool": "^1.0.1",
+ "tinyrainbow": "^1.2.0",
+ "vite": "^5.0.0",
+ "vite-node": "2.1.9",
+ "why-is-node-running": "^2.3.0"
+ },
+ "bin": {
+ "vitest": "vitest.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "@edge-runtime/vm": "*",
+ "@types/node": "^18.0.0 || >=20.0.0",
+ "@vitest/browser": "2.1.9",
+ "@vitest/ui": "2.1.9",
+ "happy-dom": "*",
+ "jsdom": "*"
+ },
+ "peerDependenciesMeta": {
+ "@edge-runtime/vm": {
+ "optional": true
+ },
+ "@types/node": {
+ "optional": true
+ },
+ "@vitest/browser": {
+ "optional": true
+ },
+ "@vitest/ui": {
+ "optional": true
+ },
+ "happy-dom": {
+ "optional": true
+ },
+ "jsdom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/w3c-xmlserializer": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz",
+ "integrity": "sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "xml-name-validator": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/webidl-conversions": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz",
+ "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/whatwg-encoding": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz",
+ "integrity": "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==",
+ "deprecated": "Use @exodus/bytes instead for a more spec-conformant and faster implementation",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "iconv-lite": "0.6.3"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/whatwg-encoding/node_modules/iconv-lite": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/whatwg-mimetype": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz",
+ "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/whatwg-url": {
+ "version": "14.2.0",
+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.2.0.tgz",
+ "integrity": "sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tr46": "^5.1.0",
+ "webidl-conversions": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/why-is-node-running": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz",
+ "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "siginfo": "^2.0.0",
+ "stackback": "0.0.2"
+ },
+ "bin": {
+ "why-is-node-running": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.20.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.20.0.tgz",
+ "integrity": "sha512-sAt8BhgNbzCtgGbt2OxmpuryO63ZoDk/sqaB/znQm94T4fCEsy/yV+7CdC1kJhOU9lboAEU7R3kquuycDoibVA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/xml-name-validator": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz",
+ "integrity": "sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/xmlchars": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz",
+ "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==",
+ "dev": true,
+ "license": "MIT"
+ }
+ }
+}
diff --git a/extension/package.json b/extension/package.json
new file mode 100644
index 0000000..1bb24dd
--- /dev/null
+++ b/extension/package.json
@@ -0,0 +1,14 @@
+{
+ "name": "tether-extension",
+ "version": "1.0.0",
+ "type": "module",
+ "scripts": {
+ "test": "vitest run",
+ "test:watch": "vitest"
+ },
+ "devDependencies": {
+ "vitest": "^2.1.0",
+ "jsdom": "^25.0.0",
+ "mailparser": "^3.7.0"
+ }
+}
\ No newline at end of file
diff --git a/extension/src/mail/extractor.js b/extension/src/mail/extractor.js
index fccd2c8..7b378fd 100644
--- a/extension/src/mail/extractor.js
+++ b/extension/src/mail/extractor.js
@@ -11,7 +11,7 @@ const OTP_CONTEXT_KEYWORDS = [
'expires', 'valid for', 'do not share', 'use this'
];
-const OTP_PATTERNS = [
+export const OTP_PATTERNS = [
/\b(\d{4,8})\b/g, // plain digits 4–8 long
/\b([A-Z0-9]{6,10})\b/g, // alphanumeric (some services)
/\b(\d{3}[-\s]\d{3})\b/g, // formatted: 123 456 or 123-456
@@ -47,7 +47,7 @@ function pruneOldSeen() {
// Run pruning every minute so the Map doesn't grow forever
setInterval(pruneOldSeen, 60_000);
-function scoreCandidate(num, surroundingText) {
+export function scoreCandidate(num, surroundingText) {
let score = 0;
const lower = surroundingText.toLowerCase();
const numIndex = lower.indexOf(num.toLowerCase());
@@ -72,7 +72,7 @@ function scoreCandidate(num, surroundingText) {
return score;
}
-function isFalsePositive(num, context) {
+export function isFalsePositive(num, context) {
if (/^(19|20)\d{2}$/.test(num)) return true; // year
if (num.startsWith('0') && num.length > 6) return true; // phone-like
if (context.includes('$') || context.includes('USD')) return true; // price
@@ -193,7 +193,7 @@ async function getEmailText(messageId) {
}
}
-async function processMessage(message) {
+export async function processMessage(message) {
console.log("Processing message:", message.subject);
const bodyText = await getEmailText(message.id);
diff --git a/extension/test/extractor.test.js b/extension/test/extractor.test.js
new file mode 100644
index 0000000..cf6d368
--- /dev/null
+++ b/extension/test/extractor.test.js
@@ -0,0 +1,181 @@
+import { describe, it, expect, vi } from 'vitest';
+
+global.messenger = {
+ messages: {
+ query: vi.fn().mockResolvedValue({ messages: [], id: null }),
+ getFull: vi.fn().mockResolvedValue({ parts: [] }),
+ listInlineTextParts: vi.fn().mockResolvedValue([]),
+ continueList: vi.fn().mockResolvedValue(null),
+ onNewMailReceived: {
+ addListener: vi.fn()
+ }
+ },
+ messengerUtilities: {
+ convertToPlainText: vi.fn().mockResolvedValue('')
+ },
+ folders: {
+ onFolderInfoChanged: {
+ addListener: vi.fn()
+ }
+ },
+ messageDisplay: {
+ onMessageDisplayed: {
+ addListener: vi.fn()
+ }
+ },
+ runtime: {
+ connectNative: vi.fn().mockReturnValue({
+ postMessage: vi.fn(),
+ onMessage: { addListener: vi.fn() },
+ onDisconnect: { addListener: vi.fn() }
+ })
+ }
+};
+
+import { scoreCandidate, isFalsePositive, OTP_PATTERNS } from '../src/mail/extractor.js';
+
+function extractOtpCandidates(text) {
+ const candidates = [];
+ for (const pattern of OTP_PATTERNS) {
+ const regex = new RegExp(pattern.source, pattern.flags);
+ let match;
+ while ((match = regex.exec(text)) !== null) {
+ const num = match[1] || match[0];
+ if (/^[A-Za-z]+$/.test(num)) continue;
+
+ const startIndex = Math.max(0, match.index - 50);
+ const endIndex = Math.min(text.length, match.index + match[0].length + 50);
+ const context = text.substring(startIndex, endIndex);
+
+ if (isFalsePositive(num, context)) continue;
+
+ const score = scoreCandidate(num, context);
+ candidates.push({ num, score });
+ }
+ }
+ return candidates.sort((a, b) => b.score - a.score);
+}
+
+describe('scoreCandidate (from extractor.js)', () => {
+ it('scores high when keyword is near the number', () => {
+ const score = scoreCandidate('123456', 'Your verification code is 123456');
+ expect(score).toBeGreaterThan(0);
+ });
+
+ it('scores higher with proximity bonus', () => {
+ const farAway = scoreCandidate('123456', 'your code is 123456 at the very end of this extremely long message that contains many words and little else');
+ const close = scoreCandidate('123456', 'code: 123456 use this');
+ expect(close).toBeGreaterThan(farAway);
+ });
+
+ it('gives bonus for prominent elements', () => {
+ const normal = scoreCandidate('123456', 'your code is 123456');
+ const prominent = scoreCandidate('123456', 'PROMINENT: code is 123456');
+ expect(prominent).toBeGreaterThan(normal);
+ });
+
+ it('scores multiple keyword matches', () => {
+ const single = scoreCandidate('123456', 'code 123456');
+ const multiple = scoreCandidate('123456', 'verification code 123456');
+ expect(multiple).toBeGreaterThan(single);
+ });
+});
+
+describe('isFalsePositive (from extractor.js)', () => {
+ it('detects years as false positives', () => {
+ expect(isFalsePositive('2024', 'year 2024')).toBe(true);
+ expect(isFalsePositive('2025', 'in 2025')).toBe(true);
+ });
+
+ it('detects phone-like numbers as false positives', () => {
+ expect(isFalsePositive('0123456', 'phone: 0123456')).toBe(true);
+ });
+
+ it('detects prices as false positives', () => {
+ expect(isFalsePositive('999', 'cost: $999 USD')).toBe(true);
+ expect(isFalsePositive('50', 'price: $50')).toBe(true);
+ });
+
+ it('detects order/tracking as false positives', () => {
+ expect(isFalsePositive('123456', 'order #123456 tracking')).toBe(true);
+ });
+
+ it('accepts legitimate OTP codes', () => {
+ expect(isFalsePositive('171792', 'your verification code is 171792')).toBe(false);
+ expect(isFalsePositive('123456', 'confirm code 123456 expires in 5 min')).toBe(false);
+ });
+});
+
+describe('OTP pattern matching', () => {
+ it('extracts plain digit codes', () => {
+ const text = 'Your code is 171792';
+ const matches = text.match(/\b(\d{4,8})\b/);
+ expect(matches).toContain('171792');
+ });
+
+ it('extracts formatted codes', () => {
+ const text = 'code: 123 456';
+ const regex = new RegExp(OTP_PATTERNS[2].source, OTP_PATTERNS[2].flags);
+ const match = regex.exec(text);
+ expect(match).toBeTruthy();
+ });
+
+ it('extracts alphanumeric codes', () => {
+ const text = 'token ABC123DEF';
+ const regex = new RegExp(OTP_PATTERNS[1].source, OTP_PATTERNS[1].flags);
+ const matches = text.match(regex);
+ expect(matches).toBeTruthy();
+ });
+});
+
+describe('Real email fixtures', () => {
+ it('extracts OTP from MyBank email', () => {
+ const text = `PREVENT FRAUD: DO NOT SHARE THIS CODE. MyBank will never contact you asking for it. Only use verification code: 171792 in Online Banking or the MyBank App.`;
+
+ const candidates = extractOtpCandidates(text);
+
+ expect(candidates.length).toBeGreaterThan(0);
+ const best = candidates[0];
+ expect(best.num).toBe('171792');
+ expect(best.score).toBeGreaterThan(0);
+ });
+
+ it('extracts OTP from Google auth email', () => {
+ const text = `Google: Your verification code is 123456
+
+This code is valid for the next 10 minutes. Don't share this with anyone.`;
+
+ const candidates = extractOtpCandidates(text);
+
+ expect(candidates.length).toBeGreaterThan(0);
+ expect(candidates[0].num).toBe('123456');
+ });
+
+ it('extracts OTP from Amazon formatted code', () => {
+ const text = `Your Amazon sign-in verification code is 123 456
+
+This code can be used to confirm your identity.`;
+
+ const candidates = extractOtpCandidates(text);
+
+ expect(candidates.length).toBeGreaterThan(0);
+ expect(candidates[0].num.replace(/[-\s]/g, '')).toBe('123456');
+ });
+
+ it('extracts OTP from bank email with strong tag', () => {
+ const text = `PROMINENT:987654 Your verification code is 987654 expires in 5 minutes. Do not share this code.`;
+
+ const candidates = extractOtpCandidates(text);
+
+ expect(candidates.length).toBeGreaterThan(0);
+ expect(candidates[0].num).toBe('987654');
+ });
+
+ it('rejects order confirmation as false positive', () => {
+ const text = `Thank you for your order! Order number: 123456789 Total: $99.99`;
+
+ const candidates = extractOtpCandidates(text);
+
+ expect(candidates.length).toBe(0);
+ });
+});
diff --git a/extension/test/fixtures/amazon-format.eml b/extension/test/fixtures/amazon-format.eml
new file mode 100644
index 0000000..dbcc8ac
--- /dev/null
+++ b/extension/test/fixtures/amazon-format.eml
@@ -0,0 +1,10 @@
+Subject: Amazon: Sign-in verification code
+From: Amazon <[email protected]>
+Content-Type: text/plain
+
+Your Amazon sign-in verification code is 123 456
+
+This code can be used to confirm your identity.
+
+The code expires in 30 minutes.
\ No newline at end of file
diff --git a/extension/test/fixtures/bank-verification.eml b/extension/test/fixtures/bank-verification.eml
new file mode 100644
index 0000000..301d5c2
--- /dev/null
+++ b/extension/test/fixtures/bank-verification.eml
@@ -0,0 +1,13 @@
+Subject: Verify your identity
+From: Chase Bank <[email protected]>
+Content-Type: text/html; charset=UTF-8
+
+<html>
+<body>
+<h2>Your verification code</h2>
+<p><strong>987654</strong></p>
+<p>This code will expire in 5 minutes.</p>
+<p>Do not share this code with anyone.</p>
+</body>
+</html>
\ No newline at end of file
diff --git a/extension/test/fixtures/google-auth.eml b/extension/test/fixtures/google-auth.eml
new file mode 100644
index 0000000..cfe2074
--- /dev/null
+++ b/extension/test/fixtures/google-auth.eml
@@ -0,0 +1,10 @@
+Subject: Your Google verification code
+From: Google <[email protected]>
+Content-Type: text/plain
+
+Your Google verification code is 123456
+
+This code is valid for the next 10 minutes.
+
+Don't share this code with anyone. Google will never ask for this code.
\ No newline at end of file
diff --git a/extension/test/fixtures/microsoft-alphanumeric.eml b/extension/test/fixtures/microsoft-alphanumeric.eml
new file mode 100644
index 0000000..895dce7
--- /dev/null
+++ b/extension/test/fixtures/microsoft-alphanumeric.eml
@@ -0,0 +1,11 @@
+Subject: Microsoft account security code
+From: Microsoft <[email protected]>
+Content-Type: text/html; charset=UTF-8
+
+<html>
+<body>
+<p>Your security code is: <strong>A1B2C3D4</strong></p>
+<p>Use this code to sign in to your Microsoft account.</p>
+</body>
+</html>
\ No newline at end of file
diff --git a/extension/test/fixtures/mybank-html-otp.eml b/extension/test/fixtures/mybank-html-otp.eml
new file mode 100644
index 0000000..263ac5f
--- /dev/null
+++ b/extension/test/fixtures/mybank-html-otp.eml
@@ -0,0 +1,469 @@
+Delivered-To: [email protected]
+Received: by 2002:a05:7412:4e22:b0:1cd:e701:7427 with SMTP id zb34csp422204rdb;
+ Fri, 1 May 2026 17:42:50 -0700 (PDT)
+X-Forwarded-Encrypted: i=3; AFNElJ9N0zUF6gip7LLA8LsipEXlyaVKSSfsdhigopsdhgisoghdsiopI0SkLjqVNAxQ1uN@user.com
+X-Received: by 2001:b05:622a:1e8d:b0:5f:bea3:9490 with SMTP id fhsdpgfndsigds-5104bfcdac8mr22159491cf.60.7682569931;
+ Fri, 01 May 2026 17:42:49 -0700 (PDT)
+ARC-Seal: i=2; a=rsa-sha256; t=1777682569; cv=pass;
+ d=google.com; s=arc-20240605;
+ b=NFIDSPONGIOPSDGNIDPGFNipghsipghsdoghnsdkgdsgklgnjdslk
+ NU15RgBGZUL9HW25GzeQv7lUkdyFvPK9+e2wlms+fYAZzA25zW6Kh0eWm4t/GDomOf4v
+ QNSkIRcK/3NSkFKVb/r7iDmC0LwDi86uInPiyViub4xn09GqaYGsSuae28jed7gqiXxH
+ wxSesRTa+bRyOZE98eSaDy0UIyL3TTL96kURwBEwBdHUYnidQBE7su6Slt/mCljOB3yj
+ ODdkoZJLCjnJvsG6mVEP+pzdNpiSeOf8N3kRiFVUo5yGjE5g/6hZ3v7vQH+uHreN5qTA
+ HVLA==
+ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
+ h=content-transfer-encoding:message-id:subject:date:reply-to:to:from
+ :mime-version:dkim-signature:bimi-location:bimi-indicator;
+ bh=+iS+QKs/q6S7IQzKFVLoWmnaqz+5k+35Gh5AB1cTDJI=;
+ fh=cfULjWwZ9gqHugmGvqxTzWCJjsUa8J4xA9op/JEZHgg=;
+ b=TMNj7/NIFHNIDPGFNHDOIGFNHDOIGHNDOSGNDISOGNDSOI
+ ntJc7sqYaXmWADEZ0YNxR99E7UcKcW6QLxz3Be/FNIDOKNFDISOGFNDOIGNDSIO+gprAizwa
+ TVFO4RO4UeRcCmIMLWpL059t84GfNubN9Tfo78eVuQK3Xg9pmd/FmdRtZaF476f2zaeq
+ MNFIODSGNIDOSGNOIGNIODNHGDOISG
+ pghYiVsxNQ/RRto2XsunrYD1SnsglFcu2gNEHoB+LWOy+NxLBk7H3sIwLL/QQq9lCdVP
+ POjw==;
+ dara=google.com
+ARC-Authentication-Results: i=2; mx.google.com;
+ dkim=pass [email protected] header.s=mime3elnnjmoaM header.b=nffFjn4Jg;
+ arc=pass (i=1 dkim=pass dkdomain=user.com dmarc=pass fromdomain=user.com);
+ spf=pass (google.com: domain of [email protected] designates 202.12.124.196 as permitted sender) smtp.mailfrom="[email protected]";
+ dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=user.com
+Return-Path: <[email protected]>
+Received: from fforwardh-b1-smtp.messagingengine.com (fforwardh-b1-smtp.messagingengine.com. [202.12.124.196])
+ by mx.google.com with ESMTPS id 6a1803df08f44-8b53bcfe464si59276786d6.276.2026.05.01.17.42.49
+ (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
+ Fri, 01 May 2026 17:42:49 -0700 (PDT)
+Received-SPF: pass (google.com: domain of [email protected] designates 202.12.124.196 as permitted sender) client-ip=202.12.124.196;
+Authentication-Results: mx.google.com;
+ dkim=pass [email protected] header.s=mime3elx2jmoaM header.b=urFjn4Jg;
+ arc=pass (i=1 dkim=pass dkdomain=user.com dmarc=pass fromdomain=user.com);
+ spf=pass (google.com: domain of [email protected] designates 202.12.124.196 as permitted sender) smtp.mailfrom="[email protected]";
+ dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=user.com
+Received: from stl-compute-04.internal (stl-compute-04.internal [10.204.2.64])
+ by mailfforwardh.stl.internal (Postfix) with ESMTP id 84A758400B5
+ for <[email protected]>; Fri, 1 May 2026 20:42:49 -0400 (EDT)
+Received: from stl-outbound-01 ([10.204.2.202])
+ by stl-compute-04.internal (MEProxy); Fri, 01 May 2026 20:42:49 -0400
+X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdeludeijecutefuodetggdotefrod
+ ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr
+ ihhlohhuthemuceftddtnecundettggtohhunhhtucdlvddtmdenucfjughrpegghffvrh
+ ffuffktgfgsehhqhdttdertdejnecuhfhrohhmpefhihhrshhtucfvvggthhcuhfgvuggv
+ rhgrlhcuvehrvgguihhtucgfnhhiohhnuceomhgvmhgsvghrshgvrhhvihgtvgesfhhirh
+ hsthhtvggthhhfvggurdgtohhmqeenucggtffrrghtthgvrhhnpeeuffeufffhkeevteeg
+ ffelleffgffgtdeiudeiueehjefhteetveeihffffffgvdenucffohhmrghinhepfhhirh
+ hsthhtvggthhhfvggurdgtohhmnecukfhppedvtdelrdduiedvrddvtddvrdeivdenucev
+ lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmvghmsggvrh
+ hsvghrvhhitggvsehfihhrshhtthgvtghhfhgvugdrtghomhdpnhgspghrtghpthhtohep
+ uddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshhrshdggdiirggtkhgsrghrth
+ gvlhesghhmrghilhdrtghomh
+X-ME-Proxy: <xmx:iUj1aWUyP25XoZyxd-oyRwrcj5LYw6E7Um8_gpNeCQz0UvOgg1-5eg>
+ <xmx:iUj1aYfE6DWSJyRgTbd67wWHJ8IGcwDH5j8GkSQyt_0qvc77hl-VMw>
+ <xmx:iUj1aVfE0VvcNbj4ELi_E0dn2A98YVG1-6b77LpEUoBU_Zd-sWjKEK9hu6-D>
+ <xmx:iUj1aULHU9U9tFNavydsd8B0MasnLYAkPPKXCsxE2s9SO5pfNmNMu1DorqMf4oTXH0WXAwbuChVXr5l1Lmp5IlnHYMOE2Z7UxoUIys2KHQ>
+ <xmx:iUj1aQK-Nu13qu7Q0iDTUKYgKbjZn5_iXjO7C3PDztp00d-FvbWHDzk5>
+Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42])
+ by mailfforwardh.stl.internal (Postfix) with ESMTP id E9A6F8400D8
+ for <srs##[email protected]>; Fri, 1 May 2026 20:42:48 -0400 (EDT)
+Received: from phl-imap-08 ([10.202.2.84])
+ by phl-compute-02.internal (MEProxy); Fri, 01 May 2026 20:42:48 -0400
+X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdeludeijecutefuodetggdotefrod
+ ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr
+ ihhlohhuthemuceftddtnecundettggtohhunhhtucdlvddtmdenucfjughrpegghffvrh
+ ffuffktgfgsehhqhdttdertdejnecuhfhrohhmpefhihhrshhtucfvvggthhcuhfgvuggv
+ rhgrlhcuvehrvgguihhtucgfnhhiohhnuceomhgvmhgsvghrshgvrhhvihgtvgesfhhirh
+ hsthhtvggthhhfvggurdgtohhmqeenucggtffrrghtthgvrhhnpeeuffeufffhkeevteeg
+ ffelleffgffgtdeiudeiueehjefhteetveeihffffffgvdenucffohhmrghinhepfhhirh
+ hsthhtvggthhhfvggurdgtohhmnecukfhppedvtdelrdduiedvrddvtddvrdeivdenucev
+ lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmvghmsggvrh
+ hsvghrvhhitggvsehfihhrshhtthgvtghhfhgvugdrtghomhdpnhgspghrtghpthhtohep
+ uddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshhrshdggdiirggtkhgsrghrth
+ gvlhesghhmrghilhdrtghomh
+X-ME-Proxy: <xmx:iEj1aVaWRrI0z-LVWYWaVgRI1z7RiwmfqTnbROI1LhDqnV9Qc1J8FA>
+ <xmx:iEj1aSTYBPF7-THS5jfE0SIRaUp07tu7EF-bXI-ZWT8SydRad9hh0g>
+ <xmx:iEj1aTAsIXtSvqz_BR2xZ7ya_SvUjqNUecttNeWvPZ6lPStct3pK3LJTfAid>
+ <xmx:iEj1aUPZU0yjliZ2q6GDkEbldq-VBhi81lAXe4jSkLZLyIStoCqpcg2skPodkMGQsEhPTTQr584m9Gkoa1ajKWPPFyH_edVHP_GkHUYVrg>
+ <xmx:iEj1aXR-Jn7nuDgnVVyKY9aVqzIWip3jjQ2Y2oXm55zj6YhZmR_7bgV_>
+Received: by mailredirect.phl.internal (Postfix, from userid 501)
+ id E75192CE0072; Fri, 1 May 2026 20:42:47 -0400 (EDT)
+X-Mailer: MessagingEngine.com Webmail Interface
+X-Sieve-Action: redirect
+Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45])
+ by slotpi08m46 (Cyrus 3.13.1-511-g56aded35b-fm-20260420.002-g56aded35) with LMTPA;
+ Fri, 01 May 2026 20:42:47 -0400
+X-Cyrus-Session-Id: slotpi08m46-1777682567-1140336-2-7304484388722139925
+X-Sieve: CMU Sieve 3.0
+X-Spam-known-sender: no
+X-Spam-sender-reputation: 500 (none)
+X-Spam-score: 0.0
+X-Spam-hits: DCC_CHECK 1.1, DCC_REPUT_13_19 -0.1, HTML_MESSAGE 0.001, ME_419_ALERT2 -2,
+ ME_SENDERREP_NEUTRAL 0.001, MIME_HTML_ONLY 0.1,
+ RCVD_IN_DNSWL_NONE -0.0001, SPF_PASS -0.001, T_SPF_HELO_TEMPERROR 0.01,
+ LANGUAGES en, BAYES_USED none, SA_VERSION 4.0.1
+X-Spam-source: IP='2.2.2.2', Host='us-smtp-delivery-67.mimcast.com',
+ Country='US', FromHeader='com', MailFrom='com'
+X-Spam-charsets: html='UTF-8'
+X-Resolved-to: [email protected]
+X-Delivered-to: [email protected]
+X-Mail-from: [email protected]
+Received: from phl-mx-01 ([10.202.2.200])
+ by phl-compute-05.internal (LMTPProxy); Fri, 01 May 2026 20:42:47 -0400
+Received: from phl-mx-01.messagingengine.com (localhost [127.0.0.1])
+ by mailmx.phl.internal (Postfix) with ESMTP id 0F23011200D4
+ for <[email protected]>; Fri, 1 May 2026 20:42:44 -0400 (EDT)
+Received: from mailmx.phl.internal (localhost [127.0.0.1])
+ by phl-mx-01.messagingengine.com (Authentication Milter) with ESMTP
+ id 3240E8CB6B8.C866911200B8;
+ Fri, 1 May 2026 20:42:44 -0400
+ARC-Seal: i=1; a=rsa-sha256; cv=none; d=messagingengine.com; s=fm3; t=
+ 1777682564; b=CwzlpuHHedvEY4aiDui+ZIT/gaQUGBEJiOJwYYa1C2rnK0gn5m
+ afg9VktWOhOlivsdCDNNC7w0oVmmZgw635HYu7+Sni0qhz4+v8A1c71i9JfVcxd4
+ fMz8j6UeZ5lQDukod5hG0ehEvZO52J8EMi4Cowlcvq/hn/1nIGItiXzbIppJWeSQ
+ uf4Y3XaC8yzM3oywRNw69Tyj+BjK/pNmLzvv29GJE9SKOU0U1HnoSpFYN33eJZSy
+ JQGDxSSlDKgk4gCoeZJBQW55pnytoqSGLpOFDBwzSeIAC0l/K2s96Yi4F87kbv6S
+ 1dIoyNUX1hAb+cwe9bqTNn1nHqzwX3VcTY4g==
+ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=
+ messagingengine.com; h=mime-version:from:to:reply-to:date
+ :subject:message-id:content-type:content-transfer-encoding; s=
+ fm3; t=1777682564; bh=+iS+QKs/q6S7IQzKFVLoWmnaqz+5k+35Gh5AB1cTDJ
+ I=; b=StMW+rCfLXV/9JlxZ7D2QnbC4BMXGfDT8adQD5eecG4r4dZg6XiipVYAPu
+ 6wMDBKlXKsXinWOkMwnP2US/gezQZsatvS54jBzMPaz+V0Em7L3l7s3onJH8X/1D
+ EqKgc6U6PZqLw23JEsHa7OBMTr1lf+KOtdggYvn1nUdFbGNCPte42++CziHj7rY3
+ Ebs2lTeVh6jbm7H+nFNF0LjJ8sLQ+yyVbkOpLY7sk+GG16v3JkgaWs1maZI3aTOw
+ 433a0W51QIcVRuUxE+hmHCaZ1WR2ele1XrRSNRszus8uciWwhX5Ej1kOKxjxyAiu
+ 6gZl84cLXLAvOw3PI66kdywC+2bg==
+ARC-Authentication-Results: i=1; phl-mx-01.messagingengine.com;
+ x-csa=none;
+ x-me-sender=none;
+ x-ptr=pass smtp.helo=us-smtp-delivery-131.mimecast.com
+ policy.ptr=us-smtp-delivery-131.mimecast.com;
+ bimi=pass header.d=user.com header.selector=default
+ policy.authority=pass policy.mark-type="Registered Mark"
+ policy.authority-uri=
+ https://www.user.com/Assets/woppy.pem
+ arc=none (no signatures found);
+ dkim=pass (2048-bit rsa key sha256) header.d=user.com
+ [email protected] header.b=urFjn4Jg header.a=rsa-sha256
+ header.s=mime3elx2jmoaM;
+ dmarc=pass policy.published-domain-policy=quarantine
+ policy.published-subdomain-policy=quarantine
+ policy.applied-disposition=none policy.evaluated-disposition=none
+ (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p
+ header.from=user.com;
+ iprev=pass smtp.remote-ip=170.10.133.131
+ (us-smtp-delivery-131.mimecast.com);
+ spf=fail [email protected]
+ smtp.helo=us-smtp-delivery-131.mimecast.com
+ (spf pass downgraded due to suspicious path)
+X-ME-Authentication-Results: phl-mx-01.messagingengine.com;
+ x-tls=pass smtp.version=TLSv1.3 smtp.cipher=TLS_AES_256_GCM_SHA384
+ smtp.bits=256/256;
+ x-vs=transactional:account score=20 state=14
+Authentication-Results: phl-mx-01.messagingengine.com;
+ x-csa=none;
+ x-me-sender=none;
+ x-ptr=pass smtp.helo=us-smtp-delivery-131.mimecast.com
+ policy.ptr=us-smtp-delivery-131.mimecast.com
+Authentication-Results: phl-mx-01.messagingengine.com;
+ bimi=pass header.d=user.com header.selector=default
+ policy.authority=pass policy.mark-type="Registered Mark"
+ policy.authority-uri=
+ https://www.user.com/woppy.pem
+Authentication-Results: phl-mx-01.messagingengine.com;
+ arc=none (no signatures found)
+Authentication-Results: phl-mx-01.messagingengine.com;
+ dkim=pass (2048-bit rsa key sha256) header.d=user.com
+ [email protected] header.b=urFjn4Jg header.a=rsa-sha256
+ header.s=mime3elx2jmoaM;
+ dmarc=pass policy.published-domain-policy=quarantine
+ policy.published-subdomain-policy=quarantine
+ policy.applied-disposition=none policy.evaluated-disposition=none
+ (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p
+ header.from=user.com;
+ iprev=pass smtp.remote-ip=170.10.133.131
+ (us-smtp-delivery-131.mimecast.com);
+ spf=fail [email protected]
+ smtp.helo=us-smtp-delivery-131.mimecast.com
+ (spf pass downgraded due to suspicious path)
+BIMI-Indicator: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3
+ I6IEFkb2JlIElsbHVzdHJhdG9yIDI3LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZH
+ IFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMiIgYmFzZV
+ Byb2ZpbGU9InRpbnktcHMiCglpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMu
+ b3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bG
+ luayIKCXZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+Cjx0aXRs
+ ZT5GaXJzdCBUZWNoIEZlZGVyYWwgQ3JlZGl0IFVuaW9uPC90aXRsZT4KPGcgaWQ9IkJ1Zy
+ 1CbGFja18wMDAwMDA5ODE4NzE2MTg0OTEzOTk3ODg1MDAwMDAwMjM1MTU5ODkzNjg4NDI2
+ ODQzOF8iPgoJPGc+CgkJPHBhdGggZmlsbD0iIzAwMDEwNCIgZD0iTTIzLjY0LDIuODl2NS
+ 4wOUwxMy4yOCwxOC4xOGMwLDAsMS4wNCwwLDIuMTQsMGMxLjA5LDAsMi4wMywwLjEyLDIu
+ NjksMC45NAoJCQljMC44OSwxLjExLDAuODIsMi4zNSwwLjgyLDMuNTNjMCwxLjE4LDAuMD
+ EsMTYuNDMsMC4wMSwxNi40M0w0LjIyLDI0LjM3YzAsMC0xLjMtMS40My0xLjMtMy4wNWMw
+ LTEuNjIsMS4yOC0zLjAzLDEuMjgtMy4wMwoJCQlMMTkuNTksMi45MWMwLDAsMS43NC0xLj
+ k5LDIuNzktMS45OUMyMy43MSwwLjkxLDIzLjY0LDIuODksMjMuNjQsMi44OSIvPgoJCTxw
+ YXRoIGZpbGw9IiMwMDAxMDQiIGQ9Ik0yMy42NSwzMi4yNmMwLDAtMC4wMywyLjI1LDAuOT
+ UsMi4yNWMwLjMsMCwwLjgyLTAuNDYsMC44Mi0wLjQ2TDM2LjEsMjMuMzhjMCwwLDAuOTgt
+ MC44NCwwLjk4LTIuMQoJCQljMC0xLjI2LTAuOTgtMi4xLTAuOTgtMi4xTDI1LjM5LDguND
+ djMCwwLTAuMzktMC40MS0wLjc4LTAuNDFjLTEuMDksMC0wLjk2LDIuMjUtMC45NiwyLjI1
+ VjMyLjI2eiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPgo=
+X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdeludeijecutefuodetggdotefrod
+ ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr
+ ihhlohhuthemuceftddtnecundettggtohhunhhtucdlvddtmdenucfjughrpegghffvrh
+ ffuffktgfgsehhqhdttddttdejnecuhfhrohhmpefhihhrshhtucfvvggthhcuhfgvuggv
+ rhgrlhcuvehrvgguihhtucgfnhhiohhnuceomhgvmhgsvghrshgvrhhvihgtvgesfhhirh
+ hsthhtvggthhhfvggurdgtohhmqeenucggtffrrghtthgvrhhnpeeutdfhffejgfevfeef
+ hfeijeefgfefheeuteefgfefgffhjedthfdvueeigeekvdenucffohhmrghinhepfhhirh
+ hsthhtvggthhhfvggurdgtohhmnecukfhppedujedtrddutddrudeffedrudefuddpvddt
+ ledrudeivddrvddtvddriedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe
+ hinhgvthepudejtddruddtrddufeefrddufedupdhhvghlohepuhhsqdhsmhhtphdquggv
+ lhhivhgvrhihqddufedurdhmihhmvggtrghsthdrtghomhdpmhgrihhlfhhrohhmpeeomh
+ gvmhgsvghrshgvrhhvihgtvgesfhhirhhsthhtvggthhhfvggurdgtohhmqedpnhgspghr
+ tghpthhtohepuddprhgtphhtthhopeeoiigrtghksegsrghrthgvlhdrtghomheq
+X-ME-VSScore: 20
+X-ME-VSCategory: transactional:account
+X-ME-CSA: none
+X-ME-Received: <xmx:g0j1aeUF5OQFQGo1Voh6kcYCxZ_Ui96ky1iTW9laIeYTc9jmhwUsZA>
+X-ME-Received: <xmx:g0j1aespddwFLLM1n05LRj1SfM1h-6-2sSvVN94mXaW5V9mX5mPLZQ>
+Received-SPF: pass
+ (user.com ... 46kbx7jj._spf._d.mim.ec: 170.10.133.131 is authorized to use '[email protected]' in 'mfrom' identity (mechanism 'ip4:170.10.133.0/24' matched))
+ receiver=phl-mx-01.messagingengine.com;
+ identity=mailfrom;
+ envelope-from="[email protected]";
+ helo=us-smtp-delivery-131.mimecast.com;
+ client-ip=170.10.133.131
+Received: from us-smtp-delivery-131.mimecast.com (us-smtp-delivery-131.mimecast.com [170.10.133.131])
+ (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
+ key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
+ (No client certificate requested)
+ by phl-mx-01.messagingengine.com (Postfix) with ESMTPS id C866911200B8
+ for <[email protected]>; Fri, 1 May 2026 20:42:42 -0400 (EDT)
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=user.com;
+ s=mime3elx2jmoaM; t=1777682561;
+ h=from:from:reply-to:reply-to:subject:subject:date:date:
+ message-id:message-id:to:to:cc:mime-version:mime-version:
+ content-type:content-type: content-transfer-encoding:content-transfer-encoding;
+ bh=+iS+QKs/q6S7IQzKFVLoWmnaqz+5k+35Gh5AB1cTDJI=;
+ b=urFjn4Jgez+Nf2g9ZVV8eDC4qbUGBAk28olc5hDPb+WLeVi3gC8BoRRdFbnAgg0TpLWZSE
+ jCDYZMXOsDdQm4GNj80wA7xT8JI3m2GZDloCDf7mE6TnaStffoazovW/L/s2lhv8xlq5bW
+ cJxSueGbZo43g4mUMx/Tr+QPhwJa3lEmFHWHFs14mBlByA0MIeXNxXbFlqgCl5nNwcMTyw
+ 8y/q/qN2Azy7gsUy3TgGCmfw+1MpWIRUN4TzJ6/sPuCqNihMWrpC4NVOp0iH13oOrzDbRX
+ XSKisWAA1P24LndpC2U+P2xfo6A8BHlcis5eLhJPlDkTjvB+kjzcn5lWQeO1rQ==
+Received: from relay.goskope.com (relay.goskope.com [163.116.131.203]) by
+ relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,
+ cipher=TLS_AES_256_GCM_SHA384) id us-mta-226-bmq49XBGOfqlEZuKLODSGw-1; Fri,
+ 01 May 2026 20:42:39 -0400
+X-MC-Unique: bmq49XBGOfqlEZuKLODSGw-1
+X-Mimecast-MFC-AGG-ID: bmq49XBGOfqlEZuKLODSGw_1777682559
+Received: from BN9PR03CA0394.namprd03.prod.outlook.com (2603:10b6:408:111::9)
+ by BL3PR12MB9050.namprd12.prod.outlook.com (2603:10b6:208:3b9::13) with
+ Microsoft SMTP Server (version=TLS1_2,
+ cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9870.23; Sat, 2 May
+ 2026 00:42:33 +0000
+Received: from BN3PEPF0000B371.namprd21.prod.outlook.com
+ (2603:10b6:408:111:cafe::c) by BN9PR03CA0394.outlook.office365.com
+ (2603:10b6:408:111::9) with Microsoft SMTP Server (version=TLS1_3,
+ cipher=TLS_AES_256_GCM_SHA384) id 15.20.9870.22 via Frontend Transport; Sat,
+ 2 May 2026 00:42:33 +0000
+X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 4.4.4.4)
+ smtp.mailfrom=user.com; dkim=none (message not signed)
+ header.d=none;dmarc=fail action=quarantine header.from=user.com
+Received: from mail.user.com (4.4.4.4) by
+ BN3PEPF0000B371.mail.protection.outlook.com (10.167.243.168) with Microsoft
+ SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
+ 15.21.25.1 via Frontend Transport; Sat, 2 May 2026 00:42:32 +0000
+Received: from sfefsd.user.corp (4.4.4.4) by Wfsdfsd.user.corp
+ (10.8.110.155) with Microsoft SMTP Server (version=TLS1_2,
+ cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 3.4.2562.37; Fri, 1 May
+ 2026 17:42:24 -0700
+Received: from app167267 (10.8.110.67) by sfefsd.user.corp
+ (10.8.110.155) with Microsoft SMTP Server id 5.2.2562.37 via Frontend
+ Transport; Fri, 1 May 2026 17:42:24 -0700
+X-BID: c55ede7a-29e1-43b6-abc2-aeca0993e5af
+X-HN: app167267
+X-UID: 5330f593-bf1a-43e8-8c01-b708d7c766c1
+X-UCID: 1374852
+MIME-Version: 1.0
+From: MyBank <[email protected]>
+Reply-To: MyBank Member Support <[email protected]>
+Date: Sat, 2 May 2026 00:42:24 +0000
+Subject: MyBank One Time Password
+Message-ID: <[email protected]>
+X-EOPAttributedMessage: 0
+X-MS-PublicTrafficType: Email
+X-MS-TrafficTypeDiagnostic: BN3PEPF0000B371:EE_|BL3PR12MB9050:EE_
+X-MS-Office365-Filtering-Correlation-Id: 3a9f702a-78d2-40b2-bf60-08dea7e3b2a7
+X-MS-Exchange-SenderADCheck: 1
+X-MS-Exchange-AntiSpam-Relay: 0
+X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700016|7149299003|69100299015|3109299003|376014|1800799024|82310400026|56012099003|18002099003|8096899003|4076899003
+X-Microsoft-Antispam-Message-Info: aYwzuq7L6Ks7cHmvWCadKJJuMBGW6n23+lr+oTi7rQOMb0HjcD9eqlEcX7fLOTSvX7+somDgvr0Pllel4EqTNI9ycaHf+i75mpEMaghMW10GHnd8/+fobu6OhI84AkHN+ck2ICPqQ9Vxvao2qjZUXPF5sA1JFjLhdVj7Y4jx9qArzq7zD9aoGiy/HrA3BdyHwguena0fk+xTl82cE7abMN8ZeoGnXBvhK1gb7A2x85cTS/RzUdlHcoMBSRJkRRrDkBc8OdAhe8oHx3vDHbbsHkFeg6XuRGGDXVoxW3D27Gpv8m5yKJIn74B0+z9bWb1oJVJVb2ORG4YGikXxHpyA/DaBYye33Wac4O1YwOpuJ5zfv6ASLoqfH96gWt6dN4lehT+vLl2SAk7nDKaoiIcqAONDk7x1gTMJnOJUCf/FVSU2oU75s53SNEcwJFcJUMswdYTSXB48WWPj98g7Ua7G5oa9WCId+Vn38Ns2W2ghRdkb9PvdS8QBHR2sxU70yxP1n0kzyQSd5rXfXcABJburOwdI8hgC28iAE+guz7u0/IPgUkOzbRpvHcUPc9KfEixePpd/wFTjbyje9mr0c/Jubrpugo2Mqd5H2dpavpy5FrYnd1bM2jBRX2h9/dUBSLRRHGZTzFAotbafkdS02qsEo9xhs4giwp7e4Mp1fFB+AGZdo9tYGd3ZrufktGytXSxO
+X-Forefront-Antispam-Report: CIP:4.4.4.4;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:mail.user.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700016)(7149299003)(69100299015)(3109299003)(376014)(1800799024)(82310400026)(56012099003)(18002099003)(8096899003)(4076899003);DIR:OUT;SFP:1102
+X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
+X-MS-Exchange-AntiSpam-MessageData-0: 3MUFNQYsWvL0Zli+ihwbzjPqIhULPH5jDzG5BvU7WcKy8hIU27s1hPLbgLwwGWQCU2IfrmSQTeuMLqjKmyU6ClrFtNyLCb4tvjJUz0sUr6Duj5lYKBqdxnbmKG5wiBWLzG7YYRSlG8WCPZQ1VsmjYvRO3yD04VbGZZft4cvBzttsMUuXe0fdaGp88mzReE73A6NZxTjnKmb1kCOoqG2RbSzF/5Z0n0sN5ivPXcCcIhjmYD/9R1VMvT+UExiBxrHoEzyhJuWAaJptVvMApKRTZwqa+S73si0WlUMn7fALFzI5I084W7EyCuVaJ33nqaRElqSaFmTz4qSOsiTsAZ7y9U7xV7dxk1ZtvQ1BO1zfmzg8e7ur0XKPry5LSXkA1/FLTY76i4tKcAILTO8XAd2lqKmLzbGBkuWOXsbrXgTyyjPjQsgsF3qHqPn9ZMzmH6ri
+X-Exchange-RoutingPolicyChecked: vsw9sXPyZv1cE+njBjbkdnoLwYxw+CVjbZJRg20ErEdDK2WdTOC7OPmAl0hU2iJz6w3j9a7onKHlfHvyiI8EP6pdPf0khjJea+ALn2LNJjMqHp6q2OtkTdt8Q3d5qN2bjowtGdlqyxu+4XIg8i16J/CoqB23DEeBkmjXD35KgHJZrjANU6WL3NUJvMsSJ//Mo3t5Z26XnAGdyUIGkSaUGMswGKRZlv0937y8CKURuAnjFDPEFYOUFidWxGP3FgqG4hR+7vy88To7NN/XUrYGkIcAZrwG06tZPCOYqhhYNirsfxJTJw/iWg773yOfOUefAKDm4yzN1tpygWvV3fC46w==
+X-OriginatorOrg: user.com
+X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2026 00:42:32.8319
+ (UTC)
+X-MS-Exchange-CrossTenant-Network-Message-Id: 3a9f702a-78d2-40b2-bf60-08dea7e3b2a7
+X-MS-Exchange-CrossTenant-Id: 10d721f3-e32b-4719-840d-7e82379ea09f
+X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=10d721f3-e32b-4719-840d-7e82379ea09f;Ip=[209.162.202.62];Helo=[mail.user.com]
+X-MS-Exchange-CrossTenant-AuthSource: BN3PEPF0000B371.namprd21.prod.outlook.com
+X-MS-Exchange-CrossTenant-AuthAs: Anonymous
+X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
+X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR12MB9050
+x-netskope-inspected: true
+X-Mimecast-Spam-Score: 0
+X-Mimecast-MFC-PROC-ID: i3HNMqO78ywc40lbRorjiAPWlDEKP7TvZqazOeFu9os_1777682559
+X-Mimecast-Originator: user.com
+Content-Type: text/html; charset=UTF-8
+Content-Transfer-Encoding: quoted-printable
+
+<html><head>
+ <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8=
+" />
+ <style type=3D"text/css">
+ /**********************************
+ ********** Mobile Only ***********
+ **********************************/
+ @media only screen and (max-width: 480px), only screen and =
+(max-device-width: 480px) {
+ table[id=3Dcontainer], table#container {
+ padding: 10px !important;
+ width: 100% !important;
+ }
+ h1 {
+ font-size: 20px !important;
+ }
+ span.header {
+ -webkit-text-size-adjust: none;
+ }
+ }
+ </style>
+ </head><body style=3D"color: #595959; font-family: Helvetica Neue, Helv=
+etica, Arial, sans-serif; font-size: 13px; line-height: 150%; margin-top: 0=
+; margin-right: 0; margin-left: 0; margin-bottom: 0; padding-top: 0; paddin=
+g-right: 0; padding-bottom: 0; padding-left: 0;">
+ =20
+ <br>
+ <br>
+ =20
+ <table id=3D"container" align=3D"center" style=3D"color: #595959; f=
+ont-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px; =
+line-height: 150%; width: 90%; margin-top: 0; margin-right: auto; margin-bo=
+ttom: 0; margin-left: auto; padding-top: 20px; padding-right: 20px; padding=
+-bottom: 20px; padding-left: 20px;">
+ <tr style=3D"color: #595959; font-family: Helvetica Neue, Helve=
+tica, Arial, sans-serif; font-size: 13px; line-height: 150%; margin-top: 0;=
+ margin-right: 0; margin-left: 0; margin-bottom: 0; padding-top: 0; padding=
+-right: 0; padding-bottom: 0; padding-left: 0;">
+ <td style=3D"color: #595959; font-family: Helvetica Neue, H=
+elvetica, Arial, sans-serif; font-size: 13px; line-height: 150%; margin-top=
+: 0; margin-right: 0; margin-left: 0; margin-bottom: 0; padding-top: 0; pad=
+ding-right: 0; padding-bottom: 0; padding-left: 0;">
+ <!-- HEADER -->
+ <img src=3D'https://banking.user.com/Image/Logo=
+' title=3D'MyBank' alt=3D'MyBank =
+foo' style=3D"max-width:150px;"/>
+ <br />
+ <br />
+ <hr style=3D"height: 1px; margin-top: 0; margin-right: =
+0; margin-bottom: 10px; margin-left: 0; padding-top: 0; padding-right: 0; p=
+adding-bottom: 0; padding-left: 0; border-top-style: none; border-right-sty=
+le: none; border-bottom-style: none; border-left-style: none; border-top-wi=
+dth: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0=
+; background-color: #D9DBDC;" />
+ <h1 id=3D"title" style=3D"color: #595959; font-family: =
+Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 25px; line-height:=
+ 150%; font-weight: normal; margin-top: 0; margin-right: 0; margin-bottom: =
+0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; pad=
+ding-left: 0;">
+ =20
+ </h1>
+ <h6 id=3D"date" style=3D"color: #999999 !important; fon=
+t-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px; li=
+ne-height: 150%; font-weight: normal; text-transform: uppercase; margin-top=
+: 0; margin-right: 0; margin-bottom: 15px; margin-left: 0; padding-top: 0; =
+padding-right: 0; padding-bottom: 0; padding-left: 0;">
+ =20
+ </h6>
+ <!-- END HEADER -->
+ <!-- MAIN CONTENT SETUP IN TEMPLATES FOR THE ALERT -->
+ <!-- WARNING DO NOT CHANGE THIS FORMAT AS IT IS USED TO=
+ REPLACE WITH THE ALERT TEMPLATE -->
+ <p></p>
+<p>PREVENT FRAUD: DO NOT SHARE THIS CODE. MyBank will never contact you=
+ asking for it. Only use verification code: 171793 in Online Banking or the=
+ MyBank App.</p>
+ <br style=3D"color: #595959; font-family: Helvetica Neu=
+e, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 150%; margin=
+-top: 0; margin-right: 0; margin-left: 0; margin-bottom: 0; padding-top: 0;=
+ padding-right: 0; padding-bottom: 0; padding-left: 0;" />
+ <!-- FOOTER -->
+ <table id=3D"footer" style=3D"color: #595959; font-fami=
+ly: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px; line-hei=
+ght: 150%; margin-top: 0; margin-right: 0; margin-left: 0; margin-bottom: 0=
+; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; wid=
+th: 100%;">
+ <tr style=3D"color: #999999; font-family: Helvetica=
+ Neue, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 150%; ma=
+rgin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top=
+: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;">
+ <td style=3D"color: #999999; font-family: Helve=
+tica Neue, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 150%=
+; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding=
+-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;">
+ <hr style=3D"height: 1px; margin-top: 0; ma=
+rgin-right: 0; margin-bottom: 10px; margin-left: 0; padding-top: 0; padding=
+-right: 0; padding-bottom: 0; padding-left: 0; border-top-style: none; bord=
+er-right-style: none; border-bottom-style: none; border-left-style: none; b=
+order-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-l=
+eft-width: 0; background-color: #D9DBDC;" />
+ =20
+ <p>
+ You are receiving this mess=
+age because you signed up for this alert.
+ Please log in to your
+ MyBank=
+ online banking account to manage your alert sett=
+ings.
+ </p>
+ =20
+ <p>
+ MyBank<br>PO B=
+ox 31, Notreal, ZA 12121
+ </p>
+ </td>
+ </tr>
+ </table>
+ <!-- END FOOTER -->
+ </td>
+ </tr>
+ </table>
+ =20
+
+
+ <br>
+ <br>
+<p>
+</p><hr>
+The information contained in this e-mail message is confidential and may be=
+ legally privileged and is intended only for the use of the individual or e=
+ntity named above. If you are not an intended recipient or if you have re=
+ceived this message in error, you are hereby notified that any disseminati=
+on, distribution or copy of this e-mail is strictly prohibited. If you hav=
+e received this e-mail in error, please immediately notify us by return e=
+-mail or telephone if the sender's phone number is listed above, then prom=
+ptly and permanently delete this message. Thank you for your cooperation =
+and consideration.
+ <br>
+ <br>
+PRIVACY NOTICE AT COLLECTION OF PERSONAL INFORMATION: Your privacy is impor=
+tant to us. To find out more about how we collect, use, and share your per=
+sonal information, please read our Notice at Collection of Personal Informa=
+tion available online at user.com/NoticeAtCollectionConsumer and ou=
+r California Privacy Policy available at user.com/pooey=
+policy.
+<hr>
+<p></p>
+ =20
+</body></html>
+
diff --git a/extension/test/fixtures/mybank-otp.eml b/extension/test/fixtures/mybank-otp.eml
new file mode 100644
index 0000000..8d18bc6
--- /dev/null
+++ b/extension/test/fixtures/mybank-otp.eml
@@ -0,0 +1,10 @@
+Subject: MyBank One Time Password
+From: MyBank <[email protected]>
+Content-Type: text/html; charset=UTF-8
+
+<html>
+<body>
+<p>PREVENT FRAUD: DO NOT SHARE THIS CODE. MyBank will never contact you asking for it. Only use verification code: 171792 in Online Banking or the MyBank App.</p>
+</body>
+</html>
diff --git a/extension/test/fixtures/order-confirmation.eml b/extension/test/fixtures/order-confirmation.eml
new file mode 100644
index 0000000..e8948c2
--- /dev/null
+++ b/extension/test/fixtures/order-confirmation.eml
@@ -0,0 +1,11 @@
+Subject: Your Amazon order confirmation
+From: Amazon <[email protected]>
+Content-Type: text/plain
+
+Thank you for your order!
+
+Order number: 123456789
+Total: $99.99
+
+Your package will arrive in 2-3 business days.
\ No newline at end of file
diff --git a/extension/test/integration.test.js b/extension/test/integration.test.js
new file mode 100644
index 0000000..53e58aa
--- /dev/null
+++ b/extension/test/integration.test.js
@@ -0,0 +1,194 @@
+import { describe, it, expect, vi, beforeEach } from 'vitest';
+import { JSDOM } from 'jsdom';
+import { simpleParser } from 'mailparser';
+import fs from 'fs';
+import path from 'path';
+
+const testEmailsDir = path.join(process.cwd(), 'test', 'fixtures');
+
+const dom = new JSDOM('');
+global.DOMParser = dom.window.DOMParser;
+global.window = dom.window;
+
+let extractedOtp = null;
+
+vi.mock('../src/shared/native.js', () => ({
+ connectToNativeHost: vi.fn(),
+ sendToNativeHost: vi.fn((msg) => {
+ if (msg.command === 'new_otp') {
+ extractedOtp = msg.otp;
+ }
+ })
+}));
+
+const mockPort = {
+ postMessage: vi.fn(),
+ onMessage: { addListener: vi.fn() },
+ onDisconnect: { addListener: vi.fn() }
+};
+
+global.browser = {
+ runtime: {
+ connectNative: vi.fn().mockReturnValue(mockPort)
+ },
+ tabs: {
+ query: vi.fn().mockResolvedValue([]),
+ sendMessage: vi.fn()
+ }
+};
+
+global.chrome = {
+ runtime: {
+ connectNative: vi.fn().mockReturnValue(mockPort),
+ lastError: null
+ },
+ tabs: {
+ query: vi.fn().mockResolvedValue([]),
+ sendMessage: vi.fn()
+ }
+};
+
+global.messenger = {
+ messages: {
+ query: vi.fn().mockResolvedValue({ messages: [], id: null }),
+ getFull: vi.fn(),
+ listInlineTextParts: vi.fn(),
+ continueList: vi.fn().mockResolvedValue(null),
+ onNewMailReceived: { addListener: vi.fn() }
+ },
+ messengerUtilities: {
+ convertToPlainText: vi.fn().mockResolvedValue('')
+ },
+ folders: { onFolderInfoChanged: { addListener: vi.fn() } },
+ messageDisplay: { onMessageDisplayed: { addListener: vi.fn() } },
+ runtime: {
+ connectNative: vi.fn().mockReturnValue(mockPort)
+ }
+};
+
+async function loadEmlAsParts(filePath) {
+ const buffer = fs.readFileSync(filePath);
+ const parsed = await simpleParser(buffer);
+
+ const parts = [];
+
+ if (parsed.text) {
+ parts.push({ contentType: 'text/plain', content: parsed.text });
+ }
+
+ if (parsed.html) {
+ parts.push({ contentType: 'text/html', content: parsed.html });
+ }
+
+ return parts;
+}
+
+import { processMessage } from '../src/mail/extractor.js';
+
+describe('Integration tests with real .eml files', () => {
+ beforeEach(() => {
+ extractedOtp = null;
+ });
+
+ it('processes MyBank OTP email and extracts 171792', async () => {
+ const emailPath = path.join(testEmailsDir, 'mybank-otp.eml');
+ const parts = await loadEmlAsParts(emailPath);
+
+ messenger.messages.listInlineTextParts.mockResolvedValue(parts);
+
+ const message = {
+ id: 1,
+ subject: 'MyBank One Time Password',
+ author: '[email protected]'
+ };
+
+ await processMessage(message);
+
+ expect(extractedOtp).toBe('171792');
+ });
+
+ it('processes MyBank OTP email with HTML and extracts 171793', async () => {
+ const emailPath = path.join(testEmailsDir, 'mybank-html-otp.eml');
+ const parts = await loadEmlAsParts(emailPath);
+
+ messenger.messages.listInlineTextParts.mockResolvedValue(parts);
+
+ const message = {
+ id: 1,
+ subject: 'MyBank One Time Password',
+ author: '[email protected]'
+ };
+
+ await processMessage(message);
+
+ expect(extractedOtp).toBe('171793');
+ });
+
+ it('processes Google auth email and extracts 123456', async () => {
+ const emailPath = path.join(testEmailsDir, 'google-auth.eml');
+ const parts = await loadEmlAsParts(emailPath);
+
+ messenger.messages.listInlineTextParts.mockResolvedValue(parts);
+
+ const message = {
+ id: 2,
+ subject: 'Your Google verification code',
+ author: '[email protected]'
+ };
+
+ await processMessage(message);
+
+ expect(extractedOtp).toBe('123456');
+ });
+
+ it('processes Amazon formatted code and extracts 123456', async () => {
+ const emailPath = path.join(testEmailsDir, 'amazon-format.eml');
+ const parts = await loadEmlAsParts(emailPath);
+
+ messenger.messages.listInlineTextParts.mockResolvedValue(parts);
+
+ const message = {
+ id: 3,
+ subject: 'Amazon: Sign-in verification code',
+ author: '[email protected]'
+ };
+
+ await processMessage(message);
+
+ expect(extractedOtp.replace(/[-\s]/g, '')).toBe('123456');
+ });
+
+ it('processes bank verification email and extracts 987654', async () => {
+ const emailPath = path.join(testEmailsDir, 'bank-verification.eml');
+ const parts = await loadEmlAsParts(emailPath);
+
+ messenger.messages.listInlineTextParts.mockResolvedValue(parts);
+
+ const message = {
+ id: 4,
+ subject: 'Verify your identity',
+ author: '[email protected]'
+ };
+
+ await processMessage(message);
+
+ expect(extractedOtp).toBe('987654');
+ });
+
+ it('rejects order confirmation (no OTP extraction)', async () => {
+ const emailPath = path.join(testEmailsDir, 'order-confirmation.eml');
+ const parts = await loadEmlAsParts(emailPath);
+
+ messenger.messages.listInlineTextParts.mockResolvedValue(parts);
+
+ const message = {
+ id: 5,
+ subject: 'Your Amazon order confirmation',
+ author: '[email protected]'
+ };
+
+ await processMessage(message);
+
+ expect(extractedOtp).toBeNull();
+ });
+});