diff --git a/bitext/.prettierignore b/bitext/.prettierignore index 7d74fe2..e8bb520 100644 --- a/bitext/.prettierignore +++ b/bitext/.prettierignore @@ -7,3 +7,7 @@ bun.lockb # Miscellaneous /static/ + +# Lemula banner set, copied verbatim from the Lemula repo (marketing/aligner-banners) +/src/lib/components/lemula/blocks/ +/src/lib/components/lemula/lemula-banners.css diff --git a/bitext/package-lock.json b/bitext/package-lock.json index 27cbdb3..03bc59f 100644 --- a/bitext/package-lock.json +++ b/bitext/package-lock.json @@ -496,14 +496,13 @@ } }, "node_modules/@aws-sdk/xml-builder": { - "version": "3.972.28", - "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.972.28.tgz", - "integrity": "sha512-lI/l3c/vPvsxmspzV63NfS3x9q4CkMmdhJy4QiM+NThAufVkDvi/PZZQ6xETnICL0UD7jI808pY83gllf86RFg==", + "version": "3.972.43", + "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.972.43.tgz", + "integrity": "sha512-rG8QVx4DOrJWptsogu1Aq+CDsnPKaBrAlJpKLxrJrIDXAq1ElnW0yQjjBnlWSXll0cDakCG6UDvaqwz0A9d9Og==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.14.3", - "fast-xml-parser": "5.7.3", + "@smithy/types": "^4.20.0", "tslib": "^2.6.2" }, "engines": { @@ -528,6 +527,30 @@ "node": ">=6.9.0" } }, + "node_modules/@cacheable/memory": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cacheable/memory/-/memory-2.2.0.tgz", + "integrity": "sha512-CTLKqLItRCEixEAewD3/j9DB3/o96gpTPD4eJ1v+DGOlxZRZncRQkGYqqnAGCscYd6RNeXfGeiuCphsPtqyIfQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cacheable/utils": "^2.5.0", + "@keyv/bigmap": "^1.3.1", + "hookified": "^1.15.1", + "keyv": "^5.6.0" + } + }, + "node_modules/@cacheable/utils": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@cacheable/utils/-/utils-2.5.0.tgz", + "integrity": "sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hashery": "^1.5.1", + "keyv": "^5.6.0" + } + }, "node_modules/@emnapi/core": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz", @@ -1083,9 +1106,9 @@ } }, "node_modules/@eslint/config-helpers": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.5.5.tgz", - "integrity": "sha512-eIJYKTCECbP/nsKaaruF6LW967mtbQbsw4JTtSVkUQc9MneSkbrgPJAbKl9nWr0ZeowV8BfsarBmPpBzGelA2w==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz", + "integrity": "sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -1140,9 +1163,9 @@ } }, "node_modules/@eslint/plugin-kit": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.1.tgz", - "integrity": "sha512-rZAP3aVgB9ds9KOeUSL+zZ21hPmo8dh6fnIFwRQj5EAZl9gzR7wxYbYXYysAM8CTqGmUGyp2S4kUdV17MnGuWQ==", + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.3.tgz", + "integrity": "sha512-IkO+/KEUvwbVpiURZg+P7zF74z5Jxe0UgJxVni+RtoHQ6IZieXaO02kmadomap/q+l6bc/jdPGGqTjhuZnuz1Q==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -1280,9 +1303,9 @@ } }, "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==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", + "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", "dev": true, "license": "MIT" }, @@ -1297,6 +1320,30 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "node_modules/@keyv/bigmap": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@keyv/bigmap/-/bigmap-1.3.1.tgz", + "integrity": "sha512-WbzE9sdmQtKy8vrNPa9BRnwZh5UF4s1KTmSK0KUVLo3eff5BlQNNWDnFOouNpKfPKDnms9xynJjsMYjMaT/aFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "hashery": "^1.4.0", + "hookified": "^1.15.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "keyv": "^5.6.0" + } + }, + "node_modules/@keyv/serialize": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.1.1.tgz", + "integrity": "sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==", + "dev": true, + "license": "MIT" + }, "node_modules/@napi-rs/wasm-runtime": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.4.tgz", @@ -1316,27 +1363,14 @@ "@emnapi/runtime": "^1.7.1" } }, - "node_modules/@nodable/entities": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@nodable/entities/-/entities-2.1.1.tgz", - "integrity": "sha512-Pig3HxDIoMgjdEH8OCf/dkcTmLFjJRjWuq8jSnklu284/TKOPibSRERmOykiwmyXTtv61mP+44f3GMx0tLAyjg==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/nodable" - } - ], - "license": "MIT" - }, "node_modules/@oxc-project/types": { - "version": "0.133.0", - "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.133.0.tgz", - "integrity": "sha512-KzkdCd6Uxqnf6l3HOw1xfatAlUURA0g14cvBYFyJ5SaNOQbOUvBr9PKArcPcrNIeRsBdgcUzOGrhKveVpvOIGA==", + "version": "0.156.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.156.0.tgz", + "integrity": "sha512-1Duyg48TdJNdyhEB8Xn1L36bT9Pv6GUtlKjHxOys8xkaF/rQq3XJE+bAurSK/AgIz5mGFsb77cn9Pb20+WCScw==", "dev": true, "license": "MIT", "funding": { - "url": "https://github.com/sponsors/Boshen" + "url": "https://github.com/sponsors/oxc-project" } }, "node_modules/@polka/url": { @@ -1559,10 +1593,27 @@ "node": ">= 10" } }, + "node_modules/@rolldown/binding-android-arm-eabi": { + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.18.tgz", + "integrity": "sha512-ubTG+4KlidvioxjOFdsdEa2F6JVGZb8m2ByJUqQ7fYzUeT1cEn194POcsQ10PKH4p//q0YQn4SB3YpSuzcA1Yg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, "node_modules/@rolldown/binding-android-arm64": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.3.tgz", - "integrity": "sha512-454rs7jHngixp/NMxd5srYD57OnzSlZ/eFTETjORQHLwJG1lRtmNOJcBerZlfu4GjKqeq8aCCIQrMdHyhI51Hw==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.18.tgz", + "integrity": "sha512-2Xa1t/JeFGTZn5TbzgPppcCftF8sCVnTNvrIvoSdcZhoFzAuVy1L3xxQUQ4sfWDtwVzg1u6Yi1R3SlJugRNV2Q==", "cpu": [ "arm64" ], @@ -1577,9 +1628,9 @@ } }, "node_modules/@rolldown/binding-darwin-arm64": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.3.tgz", - "integrity": "sha512-PcAhP+ynjURNyy8SKGl5DQP94aGuB/7JrXJb/t7P+hanXvQVMWzUvRRhBAcg/lNRadBhoUPqSoP4xw5tR/KBEA==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.18.tgz", + "integrity": "sha512-iUzw9HshVvrWci9gVXjxWS7/M/IcLvNo67vu2c/w9zKBz4hIvPRixdUpIW/iCfhldLaq9ER2hecsI9UY5z0/yA==", "cpu": [ "arm64" ], @@ -1594,9 +1645,9 @@ } }, "node_modules/@rolldown/binding-darwin-x64": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.3.tgz", - "integrity": "sha512-9YpfeUvSE2RS7wysJ81uOZkXJz7f7Q55H2Gvp3VEw/EsahqDtrphrZ0EwDLK5vvKOzaCrBsjF8JmnMLcUt78Gg==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.18.tgz", + "integrity": "sha512-XuDHFzbFEtZl0QGJi92+fmG67tfnp1iZ9VOeDkwasGyTq2VG3/5PnJnvAr+MTzFh/rNScJ3VhN+XpZyyGsN7Jw==", "cpu": [ "x64" ], @@ -1611,9 +1662,9 @@ } }, "node_modules/@rolldown/binding-freebsd-x64": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.3.tgz", - "integrity": "sha512-yB1IlAsSNHncV6SCTL27/MVGR5htvQsoGxIv5KMGXALp+Ll1wYsn+x98M9MW7qa+NdSbvrrY7ANI4wLJ0n1e6g==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.18.tgz", + "integrity": "sha512-MM8opLfsLK15oEXDz6iBc0t3ahu+ew9jsAmha+ovZ33hSwYgqo7YmpRITqFTfW7xA71BLEQ3jJdTsaCmhB1c9w==", "cpu": [ "x64" ], @@ -1628,9 +1679,9 @@ } }, "node_modules/@rolldown/binding-linux-arm-gnueabihf": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.3.tgz", - "integrity": "sha512-Yi30IVAAfLUCy2MseFjbB1jAMDl1VMCAas5StnYp8da9+CKvMd2H2cbEjWcw5NPaPqzvYkVIaF1nNUG+b7u/sw==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.18.tgz", + "integrity": "sha512-J6EoCWiy5RnFQzHrKyHXXevZ9lukQfGpnchX/zG/k/WC2nc9O9XyS1JgA8kI9VxMFggMbCPjpv7LcikriXfehw==", "cpu": [ "arm" ], @@ -1645,9 +1696,9 @@ } }, "node_modules/@rolldown/binding-linux-arm64-gnu": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.3.tgz", - "integrity": "sha512-jsO7R8To+AdlYgUmN5sHSCZbfhtMBkO0WUx8iORQnPcMMdgr7qM2DQmMwgabs3GhNztdmoKkMKQFHD6DTMCIQw==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.18.tgz", + "integrity": "sha512-HIkFuLF7CdDeki+1aCZLLbLq0hk/PHntb+z4/YCTo47JbksTD6jJEELIz92tYROmDmvMrNqUMqBi71BkJLDR+A==", "cpu": [ "arm64" ], @@ -1665,9 +1716,9 @@ } }, "node_modules/@rolldown/binding-linux-arm64-musl": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.3.tgz", - "integrity": "sha512-VWkUHwWriDciit80wleYwKILoR/KMvxh/IdwS/paX+ZgpuRpCrKLUdadJbc0NpBEiyhpYawsJ73j9aCvOH+f7Q==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.18.tgz", + "integrity": "sha512-4oqWItLLYt7IceOnElCct8T2ek5p7PmD7LN04TRJRXGo5f3HtKTgGH6PhYRFK4C2ICkq/LMUU0BVPvvlAKhm8g==", "cpu": [ "arm64" ], @@ -1685,9 +1736,9 @@ } }, "node_modules/@rolldown/binding-linux-ppc64-gnu": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.3.tgz", - "integrity": "sha512-5f1laC0SlIR0yDbFCd8acUhvJIag6N3zC5P7oUPN6wX0aOma+uKJ0wBDH5aq7I1PVI2ttTlhJwzwRIBnLiSGEg==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.18.tgz", + "integrity": "sha512-+AkRly5SrCEgnPhGRfub7pucASYEC2fTsxZg7VCcnozpA2+Wn/gCYy1t7LuJS67/xyJu/7noYBJncDUkbwgw2A==", "cpu": [ "ppc64" ], @@ -1705,9 +1756,9 @@ } }, "node_modules/@rolldown/binding-linux-s390x-gnu": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.3.tgz", - "integrity": "sha512-Iq4ko0r4XsgbrF/LunNgHtAGLRRVE2kXonAXQ/MV0mC6jQpMOhW1SvtZja2EhC/kd05++bP78dsqBeIQyYJ6Yg==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.18.tgz", + "integrity": "sha512-Ttg1r9vVykMnQrE/GwYO9icKtXiuiMfRe/w74xJkeoVuvhRG+WtT6LEMOf58Yl63yd77lhHzO8Y55R8CC3XALA==", "cpu": [ "s390x" ], @@ -1725,9 +1776,9 @@ } }, "node_modules/@rolldown/binding-linux-x64-gnu": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.3.tgz", - "integrity": "sha512-B8m6tD5+/N5FeNQFbKlLA/2yVq9ycQP1SeedyEYYKWBNR3ZQbkvIUcNnDNM03lO1l5F2roiiFJGgvoLLyZXtSg==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.18.tgz", + "integrity": "sha512-xX1Tt4o5jUMma0vJsXp5eRZA9nOuyigb2dKJMMzZRmzMxLYGE9PaKKSqHPzPvSQgM8ZOEacSTQwDQcwWfh0xmQ==", "cpu": [ "x64" ], @@ -1745,9 +1796,9 @@ } }, "node_modules/@rolldown/binding-linux-x64-musl": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.3.tgz", - "integrity": "sha512-pSdpdUJHkuCxun9LE7jvgUB9qsRgaiyNNCX7m/AvHTcq67AiT/Yhoxvw5zPfhrM8k/BfP8ce/hMOpthKDpEUow==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.18.tgz", + "integrity": "sha512-4VVlGI5K2kociZlW3lSN8VjG3TW5yQIlAcfCdBXMgGjJxZll15Fa4ocRHXHvIVVnwlibCw/NQajJrNDiqqpiiw==", "cpu": [ "x64" ], @@ -1765,9 +1816,9 @@ } }, "node_modules/@rolldown/binding-openharmony-arm64": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.3.tgz", - "integrity": "sha512-OXXS3RKJgX2uLwM+gYyuH5omcH8fL1LJs96pZGgtetVCahON57+d4SJHzTgZiOjxgGkSnpXpOsWuPDGAKAigEg==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.18.tgz", + "integrity": "sha512-PApTsgH1jLYuyy3tSCz9De82Gq5qXwi7vImVZhEzTgX1C4150Cp5M2ZfL3pLvbCvbEHL0oJeC6pd6podtv8Y5w==", "cpu": [ "arm64" ], @@ -1781,29 +1832,10 @@ "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@rolldown/binding-wasm32-wasi": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.3.tgz", - "integrity": "sha512-JTtb8BWFynicNSoPrehsCzBtOKjZ6jhMiPFEmOiuXg1Fl8dn2KHQob+GuPSGR0dryQa1PQJbzjF3dqO/whhjLg==", - "cpu": [ - "wasm32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@emnapi/core": "1.10.0", - "@emnapi/runtime": "1.10.0", - "@napi-rs/wasm-runtime": "^1.1.4" - }, - "engines": { - "node": "^20.19.0 || >=22.12.0" - } - }, "node_modules/@rolldown/binding-win32-arm64-msvc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.3.tgz", - "integrity": "sha512-gEdFFEN70A/jxb2svrWsN3aDL7OUtmvlOy+6fa2jxG8K0wQ1ZbdeLGnidov6Yu5/733dI5ySfzFlQ/cb0bSz1g==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.18.tgz", + "integrity": "sha512-J2XjWjx/SP+4x0H4r6dz3Vzb5WVkg7re40Do9K7HJ3sK2/xcmZrWwakXlSwaMvOkvruLJCD4CL/3wqsIR/thgg==", "cpu": [ "arm64" ], @@ -1818,9 +1850,9 @@ } }, "node_modules/@rolldown/binding-win32-x64-msvc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.3.tgz", - "integrity": "sha512-eXB7CHuaQdqmJcc3koCNtNPmT/bj2gc999kUFgBxG8Ac0NdgXc4rkCHhqrgrhN3zddvvvrgzj1e90SuSfmyIXA==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.18.tgz", + "integrity": "sha512-XwRJxRQvkuEtS0hIIt29QrqPJ+JzMJSNYHJw4ae/mc6uEarfRG1ceyg4HmmWiBdL/YCb6g7N5BLbSvmRJRYZHw==", "cpu": [ "x64" ], @@ -1835,9 +1867,9 @@ } }, "node_modules/@rolldown/pluginutils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", - "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.1.0.tgz", + "integrity": "sha512-K+NU2HDCEem4sClgHH4ZZXwdJeNFkJo+hRk479DIwdIviAPN2hFJH1KHHwg8CxHQXvi0M5XY4deTXINfIiSG6w==", "dev": true, "license": "MIT" }, @@ -2378,9 +2410,9 @@ } }, "node_modules/@smithy/types": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.14.3.tgz", - "integrity": "sha512-YupL0ZWmFtJexUN2cHzkvvF/b9pKrtAIfT1o7/oY/Ppu8IYeZ+lDPM5vZdQJaSeA132dJCqojjGC9NhXeF71VQ==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.20.0.tgz", + "integrity": "sha512-lCA6QG22dPk9ecHbv91jDQZsmtPUjdS1aE2Il6NNPqe7DrYc0dZQi6DhcESk2KYXH2sp5xbAcGdYMZDFnuzA2A==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -2436,9 +2468,9 @@ } }, "node_modules/@sveltejs/adapter-node": { - "version": "5.5.7", - "resolved": "https://registry.npmjs.org/@sveltejs/adapter-node/-/adapter-node-5.5.7.tgz", - "integrity": "sha512-uOfc9eVlI3A37RRSaKcgrheBYPrfJwC9VMqDp8x/O6tlKdcLLvHThSWD0KNIbjQ/d+7bwLGx3vx6aowAcRfd2g==", + "version": "5.5.8", + "resolved": "https://registry.npmjs.org/@sveltejs/adapter-node/-/adapter-node-5.5.8.tgz", + "integrity": "sha512-gGY4BekBbQsxLPEWEenB42pl3rEUT/2iY7lVu8U++UZSDKk5ml5fN62YG4M5h9qLwswM4lE4V/8GvZy3J2gxzQ==", "dev": true, "license": "MIT", "dependencies": { @@ -2453,9 +2485,9 @@ } }, "node_modules/@sveltejs/kit": { - "version": "2.70.3", - "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.70.3.tgz", - "integrity": "sha512-UDvEYuZqAMbfB/oXIoqKvbKcb7YczK5zYrzmsGV1zRJk03jntwp8dXiYoIJotxAndsKvcPFtx9H1GRSKFdSHgg==", + "version": "2.70.4", + "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.70.4.tgz", + "integrity": "sha512-IDfRnmSXgtlmv5Q+KyvP1HGr2XUvZooo0yBwzTnJA7CBbczy+sSMHXubfbcI9gz4EKksRSyYx44y/eCcf/B+rg==", "dev": true, "license": "MIT", "dependencies": { @@ -2495,14 +2527,14 @@ } }, "node_modules/@sveltejs/vite-plugin-svelte": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-7.0.0.tgz", - "integrity": "sha512-ILXmxC7HAsnkK2eslgPetrqqW1BKSL7LktsFgqzNj83MaivMGZzluWq32m25j2mDOjmSKX7GGWahePhuEs7P/g==", + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-7.3.1.tgz", + "integrity": "sha512-ZPsLN8B1e/En+Ak5s4V7srFDT532oS0qieLsQwu63NGKsS+iAjoO2Js1BochlHlglcU+Pt7WAO3C5Ee+4f6gVA==", "dev": true, "license": "MIT", "dependencies": { "deepmerge": "^4.3.1", - "magic-string": "^0.30.21", + "magic-string": "^1.0.0", "obug": "^2.1.0", "vitefu": "^1.1.2" }, @@ -2514,6 +2546,16 @@ "vite": "^8.0.0-beta.7 || ^8.0.0" } }, + "node_modules/@sveltejs/vite-plugin-svelte/node_modules/magic-string": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.4.5.tgz", + "integrity": "sha512-oLLC2+YvQUfAa+vxoufE/yc1icb87M9iXIRqAoR/2EhE/8cb3SF/+Gi0c2By1B+5Vz2e2vQtUvHiu1+63Znh+w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.6.0" + } + }, "node_modules/@tailwindcss/node": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.2.2.tgz", @@ -2909,17 +2951,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.58.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.58.2.tgz", - "integrity": "sha512-aC2qc5thQahutKjP+cl8cgN9DWe3ZUqVko30CMSZHnFEHyhOYoZSzkGtAI2mcwZ38xeImDucI4dnqsHiOYuuCw==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.72.2.tgz", + "integrity": "sha512-222PKFXKihmFpi/pS5njoBgdAqsPhj2/GBmFbrNw8Tq8gEG9Sv+kSlKFy4u2q+mJv9ZzJgM2Gkv/bUzRZwZw5g==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.58.2", - "@typescript-eslint/type-utils": "8.58.2", - "@typescript-eslint/utils": "8.58.2", - "@typescript-eslint/visitor-keys": "8.58.2", + "@typescript-eslint/scope-manager": "8.72.2", + "@typescript-eslint/type-utils": "8.72.2", + "@typescript-eslint/utils": "8.72.2", + "@typescript-eslint/visitor-keys": "8.72.2", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" @@ -2932,15 +2974,15 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.58.2", + "@typescript-eslint/parser": "^8.72.2", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", - "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", + "version": "7.0.14", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.14.tgz", + "integrity": "sha512-wCBiZ77u1tuWde6G/nfOtLaCTYcFDU5yCzARzK10y+rLhzYoL7a7yEemcopcc2Mzow7gZOIjnV2ym1NYmdiJOQ==", "dev": true, "license": "MIT", "engines": { @@ -2948,16 +2990,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.58.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.58.2.tgz", - "integrity": "sha512-/Zb/xaIDfxeJnvishjGdcR4jmr7S+bda8PKNhRGdljDM+elXhlvN0FyPSsMnLmJUrVG9aPO6dof80wjMawsASg==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.72.2.tgz", + "integrity": "sha512-llP+T1YuJOLlxEciP6OyQGtz5SMxyn+9LA2BvZw5RmToGVa1y4beEDVQL6Gje7T5WFYh19WREjDCN9Ev4gm5AA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.58.2", - "@typescript-eslint/types": "8.58.2", - "@typescript-eslint/typescript-estree": "8.58.2", - "@typescript-eslint/visitor-keys": "8.58.2", + "@typescript-eslint/scope-manager": "8.72.2", + "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/typescript-estree": "8.72.2", + "@typescript-eslint/visitor-keys": "8.72.2", "debug": "^4.4.3" }, "engines": { @@ -2973,14 +3015,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.58.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.58.2.tgz", - "integrity": "sha512-Cq6UfpZZk15+r87BkIh5rDpi38W4b+Sjnb8wQCPPDDweS/LRCFjCyViEbzHk5Ck3f2QDfgmlxqSa7S7clDtlfg==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.72.2.tgz", + "integrity": "sha512-6y5dLTZdHhI8Eh3yIQ/bfQhRKwn5e+TpJj64o18Cngc0iW/BCrVvrr6zGYqXPnYH31u6YXAYiFh0+qxX5mybJw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.58.2", - "@typescript-eslint/types": "^8.58.2", + "@typescript-eslint/tsconfig-utils": "^8.72.2", + "@typescript-eslint/types": "^8.72.2", "debug": "^4.4.3" }, "engines": { @@ -2995,14 +3037,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.58.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.58.2.tgz", - "integrity": "sha512-SgmyvDPexWETQek+qzZnrG6844IaO02UVyOLhI4wpo82dpZJY9+6YZCKAMFzXb7qhx37mFK1QcPQ18tud+vo6Q==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.72.2.tgz", + "integrity": "sha512-iIoMJ6/8c1/QpFNyFjU0d1YzPco4MsZjQw0k3V+vfzNWAFmUmvhlyMoYEoYYDQZXc+J6Gi1X5XcxlzW2taIIGQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.58.2", - "@typescript-eslint/visitor-keys": "8.58.2" + "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/visitor-keys": "8.72.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3013,9 +3055,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.58.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.58.2.tgz", - "integrity": "sha512-3SR+RukipDvkkKp/d0jP0dyzuls3DbGmwDpVEc5wqk5f38KFThakqAAO0XMirWAE+kT00oTauTbzMFGPoAzB0A==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.72.2.tgz", + "integrity": "sha512-+h3iCgZXuTNtoLXcnnjP12ZUHLMqoUcIHPfQrFEXTUqvb9dF8QK9b5nv5VtSo5fLkdHuks8ehbTzZj3rImAm9w==", "dev": true, "license": "MIT", "engines": { @@ -3030,15 +3072,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.58.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.58.2.tgz", - "integrity": "sha512-Z7EloNR/B389FvabdGeTo2XMs4W9TjtPiO9DAsmT0yom0bwlPyRjkJ1uCdW1DvrrrYP50AJZ9Xc3sByZA9+dcg==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.72.2.tgz", + "integrity": "sha512-STfkR38qIdhfkLpgtXnUjAzsNy4xouqiBO0lrVc/Wpk9Kem5/aHXUx1J8dGC16zpdYN1+yc2ILQ28er1kXX7ag==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.58.2", - "@typescript-eslint/typescript-estree": "8.58.2", - "@typescript-eslint/utils": "8.58.2", + "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/typescript-estree": "8.72.2", + "@typescript-eslint/utils": "8.72.2", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, @@ -3055,9 +3097,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.58.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.58.2.tgz", - "integrity": "sha512-9TukXyATBQf/Jq9AMQXfvurk+G5R2MwfqQGDR2GzGz28HvY/lXNKGhkY+6IOubwcquikWk5cjlgPvD2uAA7htQ==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.2.tgz", + "integrity": "sha512-Xfn37OLZx03+PCU7qWx9DTv2FCRh1E6fk2+wONeNY15HXIwtcwuveaSwVpGAUptkNmPQegRxW5JyRel9T7wrog==", "dev": true, "license": "MIT", "engines": { @@ -3069,16 +3111,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.58.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.58.2.tgz", - "integrity": "sha512-ELGuoofuhhoCvNbQjFFiobFcGgcDCEm0ThWdmO4Z0UzLqPXS3KFvnEZ+SHewwOYHjM09tkzOWXNTv9u6Gqtyuw==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.2.tgz", + "integrity": "sha512-pQEGqIK/cqEvKivVWaFLYpe7XYejFxfuAOi4mu1oAWFvIo36aRHI9esRFTUxcIy/z8N482RJyH+LpZB0ZIU7Ow==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.58.2", - "@typescript-eslint/tsconfig-utils": "8.58.2", - "@typescript-eslint/types": "8.58.2", - "@typescript-eslint/visitor-keys": "8.58.2", + "@typescript-eslint/project-service": "8.72.2", + "@typescript-eslint/tsconfig-utils": "8.72.2", + "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/visitor-keys": "8.72.2", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", @@ -3097,16 +3139,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.58.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.58.2.tgz", - "integrity": "sha512-QZfjHNEzPY8+l0+fIXMvuQ2sJlplB4zgDZvA+NmvZsZv3EQwOcc1DuIU1VJUTWZ/RKouBMhDyNaBMx4sWvrzRA==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.72.2.tgz", + "integrity": "sha512-hv3eRYbpPbbpezuax1EfGrzpa3C4ySgNZkPUkLOWOAjU8HsOKowEDAr8C7nsNl1C+SBSKDpvno6VKHnlhvp9iA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.58.2", - "@typescript-eslint/types": "8.58.2", - "@typescript-eslint/typescript-estree": "8.58.2" + "@typescript-eslint/scope-manager": "8.72.2", + "@typescript-eslint/types": "8.72.2", + "@typescript-eslint/typescript-estree": "8.72.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3121,13 +3163,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.58.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.58.2.tgz", - "integrity": "sha512-f1WO2Lx8a9t8DARmcWAUPJbu0G20bJlj8L4z72K00TMeJAoyLr/tHhI/pzYBLrR4dXWkcxO1cWYZEOX8DKHTqA==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.2.tgz", + "integrity": "sha512-NAGrjn0Pitjqzq/GkgMC4kBYm233PQ8GffyQ9+kTA3AlNQYEzOf25EIM02BAHZv5FRJSpHpJk+OGUxVkOB93GQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.58.2", + "@typescript-eslint/types": "8.72.2", "eslint-visitor-keys": "^5.0.0" }, "engines": { @@ -3139,16 +3181,16 @@ } }, "node_modules/@vitest/expect": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.11.tgz", - "integrity": "sha512-VX2x5vNJXET47KAFzwERI+KRMtTTCSWTfSMKsW7JsUsXV4psq++e3DvZpuTDOpHcxytiDs6p2nhVb2tVDiiUYw==", + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.12.tgz", + "integrity": "sha512-vFlTt+YEu9WBpNjdGayNmlMVzrWPi1+sv853/7t2FU7hpO5gAFBKHzQmkCq5Xjpr+evegF2994LQT3hF3mRlqQ==", "dev": true, "license": "MIT", "dependencies": { "@standard-schema/spec": "^1.1.0", "@types/chai": "^5.2.2", - "@vitest/spy": "4.1.11", - "@vitest/utils": "4.1.11", + "@vitest/spy": "4.1.12", + "@vitest/utils": "4.1.12", "chai": "^6.2.2", "tinyrainbow": "^3.1.0" }, @@ -3157,13 +3199,13 @@ } }, "node_modules/@vitest/mocker": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.11.tgz", - "integrity": "sha512-2XJVD55d1o5AZous5CCGKS74g/riOj9odEt2bQpCVZeblHyHdnMeFl4jl0XjU21stf4mbjUkew2eXQZt65g5CQ==", + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.12.tgz", + "integrity": "sha512-fKShNpKZzupWZuY0z7egydvL0sqW4INEZBEExMBMAa6izlENEVHwoXgdaTCaBZ5fwlr4xf2o1wXC83n9RpO+NA==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/spy": "4.1.11", + "@vitest/spy": "4.1.12", "estree-walker": "^3.0.3", "magic-string": "^0.30.21" }, @@ -3194,9 +3236,9 @@ } }, "node_modules/@vitest/pretty-format": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.11.tgz", - "integrity": "sha512-yiZzPbGTS9Sr/JpFl8zHrcIkAofNbFV6k21vIgQN/cY/oxZeXhJv5sc/MBJ5jFKWmWs+oJHw0UXLZjmf931+Vw==", + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.12.tgz", + "integrity": "sha512-XW9O8+Mxx4VpCtkYdMJLZQQwsVryP9wk7cPKDxtXFfwSak6yRh5+2fep/Y0XF/ElBvJHq8bcYdi6aeuai0opZA==", "dev": true, "license": "MIT", "dependencies": { @@ -3207,13 +3249,13 @@ } }, "node_modules/@vitest/runner": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.11.tgz", - "integrity": "sha512-LztvUgdwMNJMIkj3hQnnxiC2Xy1zNxq928W/xhjCLaNCzqTZOudjwbQf6v9IntZGPw132i2Lq2rgTRZHD3JHNw==", + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.12.tgz", + "integrity": "sha512-NKlVKCr5QnCe8jijdMnmkpHHU+WTqiLFR6G0pHji9uRjXK9xJl1k1nTw6F3pOOj2PDcsDt2GKQMI7wIsaT491w==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/utils": "4.1.11", + "@vitest/utils": "4.1.12", "pathe": "^2.0.3" }, "funding": { @@ -3221,14 +3263,14 @@ } }, "node_modules/@vitest/snapshot": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.11.tgz", - "integrity": "sha512-pN7ikn1ON7h8ee4gIAp4AzyK+zBtJPzVbqOgu5LCEh4VaJVbPQcgYQYJIMGQPXVeJJq1fnfazis7a5pFNPahog==", + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.12.tgz", + "integrity": "sha512-ko1y1Qgb/slzQ9mr+b89Cuqud8WG1TKtsPD8r7ZUBdvVOGt85Af2HwCqHujrhwJq95hs/9RM7fcAPg57o1vlzw==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/pretty-format": "4.1.11", - "@vitest/utils": "4.1.11", + "@vitest/pretty-format": "4.1.12", + "@vitest/utils": "4.1.12", "magic-string": "^0.30.21", "pathe": "^2.0.3" }, @@ -3237,9 +3279,9 @@ } }, "node_modules/@vitest/spy": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.11.tgz", - "integrity": "sha512-apNa/prQy2qCeywhnixOHPRCgGNhvg7T4Dapfl1GahLp/R+uhBm5cPyFoNVyqsNd2h1nJxL6BqqdIjiABL60YA==", + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.12.tgz", + "integrity": "sha512-RGq9x4JNGNTZHEJxvN0oSiJjeSCExm0n2gZKKJZHY9cX5AVA6M7VJILBT3ZJ/tJ/0J9uWT7fETV9/btoi//vSg==", "dev": true, "license": "MIT", "funding": { @@ -3247,13 +3289,13 @@ } }, "node_modules/@vitest/utils": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.11.tgz", - "integrity": "sha512-zTCVGpyFsGWBhllOyKlTw/vnr6D9qxsfSDyfbyZmTyjHw5N/VuvzHpHoQjm2ZJzn4RJgx5w4r7V0er69CmLgPQ==", + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.12.tgz", + "integrity": "sha512-Q3awXrwOfEV+qc3WmO5ONyE0yO7Q1gQ9/oyHxGLZ/pl7N3NO/ZztqQwKLuwMkV+CA1JYSIeO3gkHnRDIo4AVaA==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/pretty-format": "4.1.11", + "@vitest/pretty-format": "4.1.12", "convert-source-map": "^2.0.0", "tinyrainbow": "^3.1.0" }, @@ -3401,6 +3443,20 @@ "node": "20 || >=22" } }, + "node_modules/cacheable": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-2.5.0.tgz", + "integrity": "sha512-60cyAOytib/OzBw1JNSoSV/boK1AtHryDIjvVBk7XbN4ugfkM3+Sry7fEjNgPMGgOjuaZPAp8ruZ0Cxafwyq9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cacheable/memory": "^2.2.0", + "@cacheable/utils": "^2.5.0", + "hookified": "^1.15.0", + "keyv": "^5.6.0", + "qified": "^0.10.1" + } + }, "node_modules/camelcase": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", @@ -3739,19 +3795,22 @@ } }, "node_modules/eslint": { - "version": "10.2.1", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.2.1.tgz", - "integrity": "sha512-wiyGaKsDgqXvF40P8mDwiUp/KQjE1FdrIEJsM8PZ3XCiniTMXS3OHWWUe5FI5agoCnr8x4xPrTDZuxsBlNHl+Q==", + "version": "10.14.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.14.0.tgz", + "integrity": "sha512-T0pNsxkb9IKmtQjhpK3d7nWOpFv+YHuMbTJnSVMoQblF0onvXfErrtp4V1jHtsQPan7dKaGVD0q1WCXnzMF31A==", "dev": true, "license": "MIT", + "workspaces": [ + "packages/*" + ], "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.2", "@eslint/config-array": "^0.23.5", - "@eslint/config-helpers": "^0.5.5", + "@eslint/config-helpers": "^0.7.0", "@eslint/core": "^1.2.1", - "@eslint/plugin-kit": "^0.7.1", - "@humanfs/node": "^0.16.6", + "@eslint/plugin-kit": "^0.7.3", + "@humanfs/node": "^0.16.8", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", @@ -3765,14 +3824,14 @@ "esquery": "^1.7.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^8.0.0", + "file-entry-cache": "11.1.5 || >11.1.6 <12", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", - "minimatch": "^10.2.4", + "minimatch": "^10.2.6", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, @@ -4009,45 +4068,6 @@ "pako": "^2.1.0" } }, - "node_modules/fast-xml-builder": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.2.0.tgz", - "integrity": "sha512-00aAWieqff+ZJhsXA4g1g7M8k+7AYoMUUHF+/zFb5U6Uv/P0Vl4QZo84/IcufzYalLuEj9928bXN9PbbFzMF0Q==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "dependencies": { - "path-expression-matcher": "^1.5.0", - "xml-naming": "^0.1.0" - } - }, - "node_modules/fast-xml-parser": { - "version": "5.7.3", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.7.3.tgz", - "integrity": "sha512-C0AaNuC+mscy6vrAQKAc/rMq+zAPHodfHGZu4sGVehvAQt/JLG1O5zEcYcXSY5zSqr4YVgxsB+pHXTq0i7eDlg==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "dependencies": { - "@nodable/entities": "^2.1.0", - "fast-xml-builder": "^1.1.7", - "path-expression-matcher": "^1.5.0", - "strnum": "^2.2.3" - }, - "bin": { - "fxparser": "src/cli/cli.js" - } - }, "node_modules/fdir": { "version": "6.5.0", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", @@ -4073,16 +4093,13 @@ "license": "MIT" }, "node_modules/file-entry-cache": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", - "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "version": "11.1.5", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-11.1.5.tgz", + "integrity": "sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==", "dev": true, "license": "MIT", "dependencies": { - "flat-cache": "^4.0.0" - }, - "engines": { - "node": ">=16.0.0" + "flat-cache": "^6.1.23" } }, "node_modules/find-up": { @@ -4103,30 +4120,28 @@ } }, "node_modules/flat-cache": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", - "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "version": "6.1.23", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.23.tgz", + "integrity": "sha512-f++BY9pTk+983xK1FLzlLpmM0i0z+jHmx3QESGkURMXujQZz1k5wzwX6hjnQ8goaD0B+sYnDK1yZ6MTyZfUaqA==", "dev": true, "license": "MIT", "dependencies": { - "flatted": "^3.2.9", - "keyv": "^4.5.4" - }, - "engines": { - "node": ">=16" + "cacheable": "^2.5.0", + "flatted": "^3.4.2", + "hookified": "^1.15.0" } }, "node_modules/flatted": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz", - "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==", + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz", + "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==", "dev": true, "license": "ISC" }, "node_modules/flowbite": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/flowbite/-/flowbite-4.0.1.tgz", - "integrity": "sha512-UwUjvnqrQTiFm3uMJ0WWnzKXKoDyNyfyEzoNnxmZo6KyDzCedjqZw1UW0Oqdn+E0iYVdPu0fizydJN6e4pP9Rw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/flowbite/-/flowbite-4.0.2.tgz", + "integrity": "sha512-TxBdfZpd3HktHH4ashiYjirrSZeVPtG1OCRZMKTeXUa9FOlMxSF98zgjMB/AxE49KZ+rlfgWynAlaNpWxrqZmA==", "dev": true, "license": "MIT", "dependencies": { @@ -4342,6 +4357,19 @@ "integrity": "sha512-GJnLUrgLMadlMYrBGEXwYEimObbysy3prWT4HyPpFQERvgTU/OZ+ReUlEPOum6w4RBtFXzXiCCmECOr4sz3qwQ==", "license": "MIT" }, + "node_modules/hashery": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/hashery/-/hashery-1.5.1.tgz", + "integrity": "sha512-iZyKG96/JwPz1N55vj2Ie2vXbhu440zfUfJvSwEqEbeLluk7NnapfGqa7LH0mOsnDxTF85Mx8/dyR6HfqcbmbQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "hookified": "^1.15.0" + }, + "engines": { + "node": ">=20" + } + }, "node_modules/hasown": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.3.tgz", @@ -4354,6 +4382,13 @@ "node": ">= 0.4" } }, + "node_modules/hookified": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/hookified/-/hookified-1.15.1.tgz", + "integrity": "sha512-MvG/clsADq1GPM2KGo2nyfaWVyn9naPiXrqIe4jYjXNZQt238kWyOGrsyc/DmRAQ+Re6yeo6yX/yoNCG5KAEVg==", + "dev": true, + "license": "MIT" + }, "node_modules/html2canvas": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/html2canvas/-/html2canvas-1.4.1.tgz", @@ -4477,13 +4512,6 @@ "jiti": "lib/jiti-cli.mjs" } }, - "node_modules/json-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", - "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", - "dev": true, - "license": "MIT" - }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -4536,13 +4564,13 @@ } }, "node_modules/keyv": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", - "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.6.0.tgz", + "integrity": "sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==", "dev": true, "license": "MIT", "dependencies": { - "json-buffer": "3.0.1" + "@keyv/serialize": "^1.1.1" } }, "node_modules/kleur": { @@ -4891,13 +4919,13 @@ } }, "node_modules/minimatch": { - "version": "10.2.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", - "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { - "brace-expansion": "^5.0.5" + "brace-expansion": "^5.0.8" }, "engines": { "node": "18 || 20 || >=22" @@ -4934,9 +4962,9 @@ "license": "MIT" }, "node_modules/nanoid": { - "version": "3.3.18", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.18.tgz", - "integrity": "sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==", + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", "dev": true, "funding": [ { @@ -5059,22 +5087,6 @@ "node": ">=8" } }, - "node_modules/path-expression-matcher": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.5.0.tgz", - "integrity": "sha512-cbrerZV+6rvdQrrD+iGMcZFEiiSrbv9Tfdkvnusy6y0x0GKBXREFg/Y65GhIfm0tnLntThhzCnfKwp1WRjeCyQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -5112,9 +5124,9 @@ "license": "ISC" }, "node_modules/picomatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", - "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", "dev": true, "license": "MIT", "engines": { @@ -5181,9 +5193,9 @@ } }, "node_modules/postcss": { - "version": "8.5.25", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.25.tgz", - "integrity": "sha512-DTPx3RWSSnWyzLxQnlH0rJP+EW5ekl16ZU4/psbIhA0e53kJfdgaN5vKM+xP7yJtXVu+nfdVFmlgFDEKAe4Pyw==", + "version": "8.5.32", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.32.tgz", + "integrity": "sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==", "dev": true, "funding": [ { @@ -5201,9 +5213,9 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.16", + "nanoid": "^3.3.20", "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" + "source-map-js": "^1.2.2" }, "engines": { "node": "^10 || ^12 || >=14" @@ -5364,6 +5376,26 @@ "node": ">=6" } }, + "node_modules/qified": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/qified/-/qified-0.10.1.tgz", + "integrity": "sha512-+Owyggi9IxT1ePKGafcI87ubSmxol6smwJ+RAHDQlx9+9cPwFWDiKFFCPuWhr9ignlGpZ9vDQLw67N4dcTVFEA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hookified": "^2.1.1" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/qified/node_modules/hookified": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/hookified/-/hookified-2.2.0.tgz", + "integrity": "sha512-p/LgFzRN5FeoD3DLS6bkUapeye6E4SI6yJs6KetENd18S+FBthqYq2amJUWpt5z0EQwwHemidjY5OqJGEKm5uA==", + "dev": true, + "license": "MIT" + }, "node_modules/qrcode": { "version": "1.5.4", "resolved": "https://registry.npmjs.org/qrcode/-/qrcode-1.5.4.tgz", @@ -5457,13 +5489,13 @@ } }, "node_modules/rolldown": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.3.tgz", - "integrity": "sha512-i00lAJ2ks1BYr7rjNjKC7BcqAS7nVfiT3QX1SI5aY+AFHblCmaUf9OE9dbdzDvW6dJxbi2ZCZiy9v3CcwOiX3g==", + "version": "1.2.18", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.18.tgz", + "integrity": "sha512-C1uuT3UR60SShuCaPQFAAZyefJCWZlAKB02BV3BuPE2Rs4fevRQltEKoFO2tV5W9/eJhU5RieV6vJj3euulfNQ==", "dev": true, "license": "MIT", "dependencies": { - "@oxc-project/types": "=0.133.0", + "@oxc-project/types": "=0.156.0", "@rolldown/pluginutils": "^1.0.0" }, "bin": { @@ -5473,21 +5505,21 @@ "node": "^20.19.0 || >=22.12.0" }, "optionalDependencies": { - "@rolldown/binding-android-arm64": "1.0.3", - "@rolldown/binding-darwin-arm64": "1.0.3", - "@rolldown/binding-darwin-x64": "1.0.3", - "@rolldown/binding-freebsd-x64": "1.0.3", - "@rolldown/binding-linux-arm-gnueabihf": "1.0.3", - "@rolldown/binding-linux-arm64-gnu": "1.0.3", - "@rolldown/binding-linux-arm64-musl": "1.0.3", - "@rolldown/binding-linux-ppc64-gnu": "1.0.3", - "@rolldown/binding-linux-s390x-gnu": "1.0.3", - "@rolldown/binding-linux-x64-gnu": "1.0.3", - "@rolldown/binding-linux-x64-musl": "1.0.3", - "@rolldown/binding-openharmony-arm64": "1.0.3", - "@rolldown/binding-wasm32-wasi": "1.0.3", - "@rolldown/binding-win32-arm64-msvc": "1.0.3", - "@rolldown/binding-win32-x64-msvc": "1.0.3" + "@rolldown/binding-android-arm-eabi": "1.2.18", + "@rolldown/binding-android-arm64": "1.2.18", + "@rolldown/binding-darwin-arm64": "1.2.18", + "@rolldown/binding-darwin-x64": "1.2.18", + "@rolldown/binding-freebsd-x64": "1.2.18", + "@rolldown/binding-linux-arm-gnueabihf": "1.2.18", + "@rolldown/binding-linux-arm64-gnu": "1.2.18", + "@rolldown/binding-linux-arm64-musl": "1.2.18", + "@rolldown/binding-linux-ppc64-gnu": "1.2.18", + "@rolldown/binding-linux-s390x-gnu": "1.2.18", + "@rolldown/binding-linux-x64-gnu": "1.2.18", + "@rolldown/binding-linux-x64-musl": "1.2.18", + "@rolldown/binding-openharmony-arm64": "1.2.18", + "@rolldown/binding-win32-arm64-msvc": "1.2.18", + "@rolldown/binding-win32-x64-msvc": "1.2.18" } }, "node_modules/rollup": { @@ -5683,19 +5715,6 @@ "node": ">=8" } }, - "node_modules/strnum": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.3.0.tgz", - "integrity": "sha512-ums3KNd42PGyx5xaoVTO1mjU1bH3NpY4vsrVlnv9PNGqQj8wd7rJ6nEypLrJ7z5vxK5RP0yMLo6J/Gsm62DI5Q==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT" - }, "node_modules/supports-preserve-symlinks-flag": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", @@ -6036,16 +6055,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.58.2", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.58.2.tgz", - "integrity": "sha512-V8iSng9mRbdZjl54VJ9NKr6ZB+dW0J3TzRXRGcSbLIej9jV86ZRtlYeTKDR/QLxXykocJ5icNzbsl2+5TzIvcQ==", + "version": "8.72.2", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.72.2.tgz", + "integrity": "sha512-c/+AKMW1KB81r28Sp0AAdcyXj5dzNmAsZFcsrxKbZTKmcBK2xIwBR31dcSYSDu3bKmzXe8GKrSxO+eDQ401Uzg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.58.2", - "@typescript-eslint/parser": "8.58.2", - "@typescript-eslint/typescript-estree": "8.58.2", - "@typescript-eslint/utils": "8.58.2" + "@typescript-eslint/eslint-plugin": "8.72.2", + "@typescript-eslint/parser": "8.72.2", + "@typescript-eslint/typescript-estree": "8.72.2", + "@typescript-eslint/utils": "8.72.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -6093,16 +6112,16 @@ } }, "node_modules/vite": { - "version": "8.0.16", - "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.16.tgz", - "integrity": "sha512-h9bXPmJichP5fLmVQo3PyaGSDE2n3aPuomeAlVRm0JLmt4rY6zmPKd59HYI4LNW8oTK7tlTsuC7l/m7awx9Jcw==", + "version": "8.3.7", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.7.tgz", + "integrity": "sha512-oxh0dMxrayBr33ScJvvBJ2HBQ2jc1TBrXKR2NyL/MJ9WPuX19mN2DXWUmywKdyw5RFVQBo8hmtb2FMC0LHrnng==", "dev": true, "license": "MIT", "dependencies": { - "lightningcss": "^1.32.0", - "picomatch": "^4.0.4", - "postcss": "^8.5.15", - "rolldown": "1.0.3", + "lightningcss": "^1.33.0", + "picomatch": "^4.0.7", + "postcss": "^8.5.32", + "rolldown": "~1.2.18", "tinyglobby": "^0.2.17" }, "bin": { @@ -6119,7 +6138,7 @@ }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", - "@vitejs/devtools": "^0.1.18", + "@vitejs/devtools": "^0.7.1 || ^0.8.0", "esbuild": "^0.27.0 || ^0.28.0", "jiti": ">=1.21.0", "less": "^4.0.0", @@ -6170,6 +6189,279 @@ } } }, + "node_modules/vite/node_modules/lightningcss": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz", + "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-android-arm64": "1.33.0", + "lightningcss-darwin-arm64": "1.33.0", + "lightningcss-darwin-x64": "1.33.0", + "lightningcss-freebsd-x64": "1.33.0", + "lightningcss-linux-arm-gnueabihf": "1.33.0", + "lightningcss-linux-arm64-gnu": "1.33.0", + "lightningcss-linux-arm64-musl": "1.33.0", + "lightningcss-linux-x64-gnu": "1.33.0", + "lightningcss-linux-x64-musl": "1.33.0", + "lightningcss-win32-arm64-msvc": "1.33.0", + "lightningcss-win32-x64-msvc": "1.33.0" + } + }, + "node_modules/vite/node_modules/lightningcss-android-arm64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz", + "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-darwin-arm64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz", + "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-darwin-x64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz", + "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-freebsd-x64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz", + "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz", + "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz", + "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-linux-arm64-musl": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz", + "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-linux-x64-gnu": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz", + "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-linux-x64-musl": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz", + "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz", + "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-win32-x64-msvc": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz", + "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, "node_modules/vitefu": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/vitefu/-/vitefu-1.1.3.tgz", @@ -6191,19 +6483,19 @@ } }, "node_modules/vitest": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.11.tgz", - "integrity": "sha512-fhACrNXUidIbGSBr5FlbuBkO7VWC1ZyLl0DO4CU2DrQoAPxX84Ysxs+HeGQpii5lZWV1Q4gBZTTu49mF+A6Edw==", + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.12.tgz", + "integrity": "sha512-5eWdz2yb3ajxWF3C8C4TjkXl7FGm3n2E/VlazALrQHzK7nYMSGFnCZto0bbPNl77AwkOZVLk0YnBAejUu0NiWA==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/expect": "4.1.11", - "@vitest/mocker": "4.1.11", - "@vitest/pretty-format": "4.1.11", - "@vitest/runner": "4.1.11", - "@vitest/snapshot": "4.1.11", - "@vitest/spy": "4.1.11", - "@vitest/utils": "4.1.11", + "@vitest/expect": "4.1.12", + "@vitest/mocker": "4.1.12", + "@vitest/pretty-format": "4.1.12", + "@vitest/runner": "4.1.12", + "@vitest/snapshot": "4.1.12", + "@vitest/spy": "4.1.12", + "@vitest/utils": "4.1.12", "es-module-lexer": "^2.0.0", "expect-type": "^1.3.0", "magic-string": "^0.30.21", @@ -6231,12 +6523,12 @@ "@edge-runtime/vm": "*", "@opentelemetry/api": "^1.9.0", "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0", - "@vitest/browser-playwright": "4.1.11", - "@vitest/browser-preview": "4.1.11", - "@vitest/browser-webdriverio": "4.1.11", - "@vitest/coverage-istanbul": "4.1.11", - "@vitest/coverage-v8": "4.1.11", - "@vitest/ui": "4.1.11", + "@vitest/browser-playwright": "4.1.12", + "@vitest/browser-preview": "4.1.12", + "@vitest/browser-webdriverio": "^4.1.11", + "@vitest/coverage-istanbul": "4.1.12", + "@vitest/coverage-v8": "4.1.12", + "@vitest/ui": "4.1.12", "happy-dom": "*", "jsdom": "*", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" @@ -6343,22 +6635,6 @@ "node": ">=8" } }, - "node_modules/xml-naming": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/xml-naming/-/xml-naming-0.1.0.tgz", - "integrity": "sha512-k8KO9hrMyNk6tUWqUfkTEZbezRRpONVOzUTnc97VnCvyj6Tf9lyUR9EDAIeiVLv56jsMcoXEwjW8Kv5yPY52lw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "engines": { - "node": ">=16.0.0" - } - }, "node_modules/y18n": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", diff --git a/bitext/src/lib/brand.ts b/bitext/src/lib/brand.ts index a19ce15..9936798 100644 --- a/bitext/src/lib/brand.ts +++ b/bitext/src/lib/brand.ts @@ -14,14 +14,6 @@ export const SITE_AUTHOR_URL = 'https://danipolani.github.io/en/'; /** User-facing product name in copy (legal/site title may differ). */ export const ALIGNER_DISPLAY_NAME = 'Aligner'; -/** Multiline tooltip for partner link cards; shown on “?” hint. */ -export const PARTNER_LINK_WHY_TOOLTIP = `Why is this here? - -${ALIGNER_DISPLAY_NAME} stays free. Upkeep still has a cost, so we add a few partner links. Use them if you consider the service. It helps us to maintain the app. I recommend only the services I happily use myself. - -Thanks, -Dani`; - /** Plain attribution line (matches standalone SVG export footer text). */ export const EXPORT_ATTRIBUTION_PLAIN = `Created with ${ALIGNER_SITE_HOST}`; diff --git a/bitext/src/lib/components/lemula/LemulaBlock.svelte b/bitext/src/lib/components/lemula/LemulaBlock.svelte new file mode 100644 index 0000000..983be32 --- /dev/null +++ b/bitext/src/lib/components/lemula/LemulaBlock.svelte @@ -0,0 +1,11 @@ + + + + +{@html lemulaBlockHtml(name)} diff --git a/bitext/src/lib/components/lemula/LemulaStrip.svelte b/bitext/src/lib/components/lemula/LemulaStrip.svelte new file mode 100644 index 0000000..4b90941 --- /dev/null +++ b/bitext/src/lib/components/lemula/LemulaStrip.svelte @@ -0,0 +1,90 @@ + + + diff --git a/bitext/src/lib/components/lemula/blocks.test.ts b/bitext/src/lib/components/lemula/blocks.test.ts new file mode 100644 index 0000000..c233455 --- /dev/null +++ b/bitext/src/lib/components/lemula/blocks.test.ts @@ -0,0 +1,17 @@ +import { describe, expect, it } from 'vitest'; +import { lemulaBlockHtml } from './blocks.js'; + +describe('lemulaBlockHtml', () => { + it('marks the call-to-action link for affiliate_click with the block name', () => { + const html = lemulaBlockHtml('card-history'); + expect(html).toContain( + ' + Naturalistic language evolution engine + Try Lemula + diff --git a/bitext/src/lib/components/lemula/blocks/bold-morph.html b/bitext/src/lib/components/lemula/blocks/bold-morph.html new file mode 100644 index 0000000..7aec72e --- /dev/null +++ b/bitext/src/lib/components/lemula/blocks/bold-morph.html @@ -0,0 +1,36 @@ +
+
+
+

Follow a word through two thousand years.

+ Try Lemula +
+ +
+
diff --git a/bitext/src/lib/components/lemula/blocks/bold-rule.html b/bitext/src/lib/components/lemula/blocks/bold-rule.html new file mode 100644 index 0000000..3423e38 --- /dev/null +++ b/bitext/src/lib/components/lemula/blocks/bold-rule.html @@ -0,0 +1,17 @@ +
+ +
+
+

Write sound changes the way linguists do.

+ Try Lemula +
+ +
+
diff --git a/bitext/src/lib/components/lemula/blocks/bold-sentence.html b/bitext/src/lib/components/lemula/blocks/bold-sentence.html new file mode 100644 index 0000000..a13eb1a --- /dev/null +++ b/bitext/src/lib/components/lemula/blocks/bold-sentence.html @@ -0,0 +1,25 @@ +
+
+
+

Your glossed sentences, stage by stage.

+ Try Lemula +
+ +
+
diff --git a/bitext/src/lib/components/lemula/blocks/bold-tree.html b/bitext/src/lib/components/lemula/blocks/bold-tree.html new file mode 100644 index 0000000..dfa7293 --- /dev/null +++ b/bitext/src/lib/components/lemula/blocks/bold-tree.html @@ -0,0 +1,35 @@ +
+
+
+

Grow a family of languages from one.

+ Try Lemula +
+ +
+
diff --git a/bitext/src/lib/components/lemula/blocks/card-borrowing.html b/bitext/src/lib/components/lemula/blocks/card-borrowing.html new file mode 100644 index 0000000..5141deb --- /dev/null +++ b/bitext/src/lib/components/lemula/blocks/card-borrowing.html @@ -0,0 +1,12 @@ +
+
+

Historical linguistics for your conlang

+ Try Lemula + +
+
diff --git a/bitext/src/lib/components/lemula/blocks/card-compound.html b/bitext/src/lib/components/lemula/blocks/card-compound.html new file mode 100644 index 0000000..1d9d994 --- /dev/null +++ b/bitext/src/lib/components/lemula/blocks/card-compound.html @@ -0,0 +1,13 @@ +
+
+

Naturalistic language evolution engine

+ Try Lemula + +
+
diff --git a/bitext/src/lib/components/lemula/blocks/card-glossed.html b/bitext/src/lib/components/lemula/blocks/card-glossed.html new file mode 100644 index 0000000..eac5826 --- /dev/null +++ b/bitext/src/lib/components/lemula/blocks/card-glossed.html @@ -0,0 +1,11 @@ +
+
+

Naturalistic language evolution engine

+ Try Lemula + +
+
diff --git a/bitext/src/lib/components/lemula/blocks/card-history.html b/bitext/src/lib/components/lemula/blocks/card-history.html new file mode 100644 index 0000000..2c67f1d --- /dev/null +++ b/bitext/src/lib/components/lemula/blocks/card-history.html @@ -0,0 +1,15 @@ +
+
+

Historical linguistics for your conlang

+ Try Lemula + +
+
diff --git a/bitext/src/lib/components/lemula/blocks/feature.html b/bitext/src/lib/components/lemula/blocks/feature.html new file mode 100644 index 0000000..719f8be --- /dev/null +++ b/bitext/src/lib/components/lemula/blocks/feature.html @@ -0,0 +1,43 @@ +
+
+
+

Historical linguistics for your conlang

+

Write the sound changes between stages, and Lemula derives every word with its history.

+
+ Try Lemula + Free to start · from the maker of Aligner +
+
+ +
+
diff --git a/bitext/src/lib/components/lemula/fonts/CharisSIL-OFL.txt b/bitext/src/lib/components/lemula/fonts/CharisSIL-OFL.txt new file mode 100644 index 0000000..8638901 --- /dev/null +++ b/bitext/src/lib/components/lemula/fonts/CharisSIL-OFL.txt @@ -0,0 +1,94 @@ +Copyright (c) 1997-2022 SIL International (http://www.sil.org/) +with Reserved Font Names "Charis" and "SIL". + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/bitext/src/lib/components/lemula/fonts/LemulaSerif-Banner-Regular.woff2 b/bitext/src/lib/components/lemula/fonts/LemulaSerif-Banner-Regular.woff2 new file mode 100644 index 0000000..d8f697a Binary files /dev/null and b/bitext/src/lib/components/lemula/fonts/LemulaSerif-Banner-Regular.woff2 differ diff --git a/bitext/src/lib/components/lemula/fonts/NotoSansMono-Banner.woff2 b/bitext/src/lib/components/lemula/fonts/NotoSansMono-Banner.woff2 new file mode 100644 index 0000000..c425333 Binary files /dev/null and b/bitext/src/lib/components/lemula/fonts/NotoSansMono-Banner.woff2 differ diff --git a/bitext/src/lib/components/lemula/fonts/NotoSansMono-OFL.txt b/bitext/src/lib/components/lemula/fonts/NotoSansMono-OFL.txt new file mode 100644 index 0000000..6843f31 --- /dev/null +++ b/bitext/src/lib/components/lemula/fonts/NotoSansMono-OFL.txt @@ -0,0 +1,93 @@ +Copyright 2022 The Noto Project Authors (https://github.com/notofonts/latin-greek-cyrillic) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/bitext/src/lib/components/lemula/lemula-banners.css b/bitext/src/lib/components/lemula/lemula-banners.css new file mode 100644 index 0000000..6ec3c75 --- /dev/null +++ b/bitext/src/lib/components/lemula/lemula-banners.css @@ -0,0 +1,972 @@ +/* + * Lemula house banners for Aligner. Every rule is scoped under .lmb, and the colours follow a + * .dark ancestor, the way Aligner switches themes. Each block is its own size container, so it lays + * itself out by the width of the slot it is put in, not the viewport. + */ + +@font-face { + font-family: 'Lemula Serif Banner'; + src: url('fonts/LemulaSerif-Banner-Regular.woff2') format('woff2'); + font-display: swap; + /* Charis sets wider than the serif the brand was sized for; the site scales it the same way. */ + size-adjust: 88%; +} + +/* Rule notation only: ASCII and the IPA the bold cards' rules use. */ +@font-face { + font-family: 'Lemula Mono Banner'; + src: url('fonts/NotoSansMono-Banner.woff2') format('woff2'); + font-display: swap; +} + +.lmb { + --lmb-bg: #fafaf9; + --lmb-ink: #1b1b1b; + --lmb-muted: #6d6d6b; + --lmb-rule: #e4e4e1; + --lmb-accent: #8a4a9c; + --lmb-deep: #3b1d45; + --lmb-on-deep: #f4eef6; + --lmb-on-deep-muted: #c9b3d1; + --lmb-deep-rule: #6f4e7a; + --lmb-deep-hover: #e2c6ea; + --lmb-serif: 'Lemula Serif Banner', Georgia, 'Times New Roman', serif; + --lmb-mono: 'Lemula Mono Banner', 'Lemula Serif Banner', ui-monospace, monospace; + + position: relative; + container-type: inline-size; + box-sizing: border-box; + min-width: 0; + margin: 0; + color: var(--lmb-ink); + font-size: 14px; + line-height: 1.45; + text-align: left; + -webkit-font-smoothing: antialiased; +} + +:where(.dark) .lmb { + --lmb-bg: #1e1e21; + --lmb-ink: #ebebe8; + --lmb-muted: #9a9a97; + --lmb-rule: #34343a; + --lmb-accent: #bd91cb; + --lmb-deep: #2a1531; + --lmb-deep-rule: #5a3f64; +} + +.lmb *, +.lmb *::before, +.lmb *::after { + box-sizing: border-box; +} + +.lmb p { + margin: 0; +} + +/* Shared pieces */ + +/* What Lemula is, the only text in the bar besides the link. */ +.lmb-tagline { + font-size: 12.5px; + line-height: 1.3; + color: var(--lmb-accent); + white-space: nowrap; +} + +.lmb-form { + font-family: var(--lmb-serif); + white-space: nowrap; +} + +.lmb-old { + color: var(--lmb-muted); +} + +.lmb-arrow { + color: var(--lmb-muted); + opacity: 0.7; +} + +.lmb-gloss { + font-size: 12px; + color: var(--lmb-muted); + white-space: nowrap; +} + +/* The link stretches over the whole block, so a click anywhere opens Lemula. */ +.lmb-cta::after { + content: ''; + position: absolute; + inset: 0; +} + +.lmb-cta:focus-visible { + outline: none; +} + +.lmb:has(.lmb-cta:focus-visible) { + outline: 2px solid var(--lmb-accent); + outline-offset: 2px; +} + +.lmb-link { + color: var(--lmb-ink); + font-weight: 500; + text-decoration: none; + white-space: nowrap; + border-bottom: 1px solid var(--lmb-rule); + transition: + color 0.15s, + border-color 0.15s; +} + +.lmb:hover .lmb-link { + color: var(--lmb-accent); + border-color: var(--lmb-accent); +} + +.lmb-pill { + display: inline-flex; + align-items: center; + padding: 9px 18px; + border-radius: 999px; + background: var(--lmb-ink); + color: var(--lmb-bg); + font-size: 14px; + font-weight: 500; + line-height: 1.2; + text-decoration: none; + white-space: nowrap; + transition: background 0.15s; +} + +.lmb:hover .lmb-pill { + background: var(--lmb-accent); +} + +/* Card: half of the editor strip, or one card on a phone */ + +.lmb-card { + display: flex; + min-height: 141px; + padding: 14px 18px 12px; + border: 1px solid var(--lmb-rule); + border-radius: 6px; + background: var(--lmb-bg); + transition: border-color 0.15s; +} + +.lmb-card:hover { + border-color: var(--lmb-accent); +} + +/* The headline and the link share the top row; the example sits at the foot of the card, however + tall the strip makes it. */ +.lmb-card__in { + display: grid; + flex: 1; + grid-template: 'title cta' auto 'specimen specimen' 1fr / minmax(0, 1fr) auto; + column-gap: 20px; +} + +.lmb-card__title { + grid-area: title; + align-self: baseline; + margin: 0 0 12px; + font-family: var(--lmb-serif); + font-size: 28px; + line-height: 1.08; + text-wrap: balance; +} + +.lmb-card__cta { + grid-area: cta; + align-self: baseline; + justify-self: end; + font-size: 16px; +} + +.lmb-card__specimen { + display: flex; + flex-wrap: wrap; + grid-area: specimen; + align-self: end; + align-items: baseline; + gap: 2px 10px; + padding-top: 9px; + border-top: 1px solid var(--lmb-rule); + font-size: 19px; + line-height: 1.3; +} + +.lmb-pair { + display: inline-flex; + align-items: baseline; + gap: 5px; +} + +@container (max-width: 440px) { + .lmb-card .lmb-narrow-drop { + display: none; + } +} + +/* On a phone the link goes under the example, so the headline gets the whole width. */ +@container (max-width: 380px) { + .lmb-card__in { + grid-template: 'title' auto 'specimen' 1fr 'cta' auto / minmax(0, 1fr); + } + + .lmb-card__title { + font-size: 25px; + } + + .lmb-card__cta { + justify-self: start; + margin-top: 12px; + } +} + +/* Strip: one banner across the whole editor strip */ + +.lmb-strip { + padding: 14px 20px; + border: 1px solid var(--lmb-rule); + border-radius: 6px; + background: var(--lmb-bg); + transition: border-color 0.15s; +} + +.lmb-strip:hover { + border-color: var(--lmb-accent); +} + +.lmb-strip__in { + display: grid; + grid-template-columns: minmax(0, 1fr) auto auto; + align-items: center; + gap: 12px 32px; +} + +.lmb-strip__title { + font-family: var(--lmb-serif); + font-size: 26px; + line-height: 1.15; + text-wrap: balance; +} + +.lmb-strip__forms { + display: flex; + align-items: baseline; + gap: 10px; +} + +.lmb-strip__cell { + display: inline-flex; + flex-direction: column; +} + +.lmb-strip__chain .lmb-form { + font-size: 21px; + line-height: 1.2; +} + +.lmb-strip__date { + margin-top: 2px; + font-size: 11px; + color: var(--lmb-muted); + white-space: nowrap; +} + +@container (max-width: 900px) { + .lmb-strip__chain { + display: none; + } + + .lmb-strip__in { + grid-template-columns: minmax(0, 1fr) auto; + } +} + +@container (max-width: 540px) { + .lmb-strip__in { + grid-template-columns: minmax(0, 1fr); + } + + .lmb-strip .lmb-pill { + justify-self: start; + } +} + +/* Feature: the deep band for example pages and the About page */ + +.lmb-feature { + padding: 28px; + border-radius: 8px; + background: var(--lmb-deep); + color: var(--lmb-on-deep); +} + +.lmb-feature__in { + display: grid; + grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); + align-items: center; + gap: 28px 40px; +} + +.lmb-feature__title { + font-family: var(--lmb-serif); + font-size: 30px; + line-height: 1.1; + text-wrap: balance; +} + +.lmb-feature__lede { + margin-top: 14px; + font-family: var(--lmb-serif); + font-size: 17px; + line-height: 1.4; + color: var(--lmb-on-deep-muted); + text-wrap: pretty; +} + +.lmb-feature__actions { + display: flex; + flex-wrap: wrap; + align-items: center; + gap: 10px 16px; + margin-top: 22px; +} + +.lmb-feature .lmb-pill { + background: var(--lmb-on-deep); + color: var(--lmb-deep); +} + +.lmb-feature:hover .lmb-pill { + background: var(--lmb-deep-hover); +} + +.lmb-feature__note { + font-size: 13px; + color: var(--lmb-on-deep-muted); +} + +.lmb-steps { + display: flex; + flex-direction: column; + min-width: 0; +} + +.lmb-steps__head { + display: flex; + justify-content: space-between; + gap: 12px; + margin-bottom: 12px; + font-size: 11px; + letter-spacing: 0.1em; + text-transform: uppercase; + color: var(--lmb-on-deep-muted); +} + +.lmb-step { + display: grid; + grid-template-columns: 12px minmax(0, 1fr); + gap: 0 14px; +} + +.lmb-step__rail { + position: relative; +} + +.lmb-step__rail::before { + content: ''; + position: absolute; + top: 12px; + bottom: -12px; + left: 5px; + width: 1px; + background: var(--lmb-deep-rule); +} + +.lmb-step:last-child .lmb-step__rail::before { + display: none; +} + +.lmb-step__rail::after { + content: ''; + position: absolute; + top: 7px; + left: 0; + width: 11px; + height: 11px; + border: 1.5px solid var(--lmb-on-deep-muted); + border-radius: 50%; + background: var(--lmb-deep); +} + +.lmb-step:last-child .lmb-step__rail::after { + border-color: var(--lmb-on-deep); + background: var(--lmb-on-deep); +} + +.lmb-step__body { + padding-bottom: 12px; +} + +.lmb-step .lmb-form { + font-size: 23px; + line-height: 1.1; + color: var(--lmb-on-deep-muted); +} + +.lmb-step:last-child .lmb-form { + color: var(--lmb-on-deep); +} + +.lmb-step__stage { + margin-top: 2px; + font-size: 12px; + color: var(--lmb-on-deep-muted); +} + +@container (max-width: 600px) { + .lmb-feature { + padding: 22px 20px; + } + + .lmb-feature__in { + grid-template-columns: minmax(0, 1fr); + } + + .lmb-feature__title { + font-size: 26px; + } + + .lmb-step--mid { + display: none; + } +} + +/* Bar: one line, for the strip when it is collapsed */ + +.lmb-bar { + display: flex; + align-items: baseline; + gap: 12px; + padding: 8px 16px; +} + +.lmb-bar .lmb-tagline { + font-size: 13px; +} + +.lmb-bar .lmb-cta { + margin-left: auto; + font-size: 13px; +} + +/* Container sizes are content widths: the block's padding is already taken off. */ +@container (max-width: 400px) { + .lmb-bar .lmb-tagline { + display: none; + } +} + +/* + * Bold cards: the graphic half of the editor strip, the same size as a card. They keep their + * colours in both themes. Motion plays a few times on load and stops on the final state; with + * reduced motion that final state is all there is. + */ + +.lmb-bold { + --lmb-glow: #f2c46d; + --lmb-pink: #f4a3c8; + --lmb-bold-line: rgb(244 238 246 / 0.45); + + overflow: hidden; + min-height: 141px; + padding: 14px 16px; + border-radius: 6px; + background: #3b1d45; + color: var(--lmb-on-deep); +} + +:where(.dark) .lmb-bold { + box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); +} + +.lmb-bold--morph { + background: radial-gradient(130% 160% at 100% 0%, #9a52ad 0%, #5a2869 45%, #2e1438 100%); +} + +.lmb-bold--tree { + background: + radial-gradient(60% 90% at 76% 0%, rgb(242 196 109 / 0.22), transparent 70%), + linear-gradient(160deg, #4d2160 0%, #2b1235 75%); +} + +.lmb-bold--sentence { + background: radial-gradient(120% 150% at 0% 100%, #8a4a9c 0%, #4a1f58 50%, #2a1331 100%); +} + +.lmb-bold--rule { + background: linear-gradient(135deg, #a35bb6 0%, #6c3480 55%, #4a2059 100%); +} + +.lmb-bold__in { + position: relative; + display: grid; + grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); + align-items: center; + gap: 14px 20px; + min-height: 113px; +} + +.lmb-bold__text { + display: flex; + flex-direction: column; + align-items: flex-start; + gap: 8px; +} + +.lmb-bold__title { + font-family: var(--lmb-serif); + font-size: 20px; + line-height: 1.12; + text-wrap: balance; +} + +.lmb-bold .lmb-pill { + margin-top: 2px; + padding: 7px 15px; + background: var(--lmb-on-deep); + color: #3b1d45; + font-size: 13px; +} + +.lmb-bold:hover .lmb-pill { + background: var(--lmb-glow); +} + +.lmb-bold__visual { + min-width: 0; +} + +.lmb-bold__caption { + display: flex; + justify-content: space-between; + align-items: center; + gap: 10px; + font-size: 10px; + letter-spacing: 0.08em; + text-transform: uppercase; + color: var(--lmb-on-deep-muted); +} + +@container (max-width: 470px) { + .lmb-bold__title { + font-size: 18px; + } + + .lmb-bold__glyph { + display: none; + } +} + +@container (max-width: 340px) { + .lmb-bold__in { + grid-template-columns: minmax(0, 1fr); + } + + .lmb-bold__visual { + order: -1; + } +} + +/* Morph: one word turning through its stages */ + +.lmb-morph__dots { + display: inline-flex; + flex: none; + gap: 5px; +} + +.lmb-morph__dots i { + width: 7px; + height: 7px; + border-radius: 50%; + background: var(--lmb-on-deep); +} + +.lmb-morph__dots i:last-child { + background: var(--lmb-glow); +} + +.lmb-morph__stack { + display: grid; + margin-top: 8px; +} + +/* All steps share one grid cell, so the stack is as tall as the tallest step. */ +.lmb-morph__step { + display: flex; + flex-direction: column; + grid-area: 1 / 1; + opacity: 0; +} + +.lmb-morph__step:last-child { + opacity: 1; +} + +.lmb-morph__step .lmb-form { + font-size: 40px; + line-height: 1; + color: var(--lmb-on-deep); +} + +.lmb-morph__step:last-child .lmb-form { + color: var(--lmb-glow); +} + +.lmb-morph__meta { + margin-top: 7px; + font-size: 12px; + color: var(--lmb-on-deep-muted); +} + +.lmb-morph__rule { + margin-top: 1px; + font-family: var(--lmb-mono); + font-size: 11.5px; + color: var(--lmb-pink); + white-space: nowrap; +} + +/* + * A cycle is 8.8 s, 2.2 s a step. Iteration counts are fractional so that every step stops at + * 25.96 s, when only the last one is showing and every dot is lit. + */ +@media (prefers-reduced-motion: no-preference) { + .lmb-morph__step { + animation: lmb-morph-step 8.8s linear both; + } + + .lmb-morph__step:nth-child(1) { + animation-iteration-count: 2.95; + } + + .lmb-morph__step:nth-child(2) { + animation-delay: 2.2s; + animation-iteration-count: 2.7; + } + + .lmb-morph__step:nth-child(3) { + animation-delay: 4.4s; + animation-iteration-count: 2.45; + } + + .lmb-morph__step:nth-child(4) { + animation-delay: 6.6s; + animation-iteration-count: 2.2; + } + + .lmb-morph__dots i:nth-child(2) { + animation: lmb-morph-dot-2 8.8s linear 2.95 both; + } + + .lmb-morph__dots i:nth-child(3) { + animation: lmb-morph-dot-3 8.8s linear 2.95 both; + } + + .lmb-morph__dots i:nth-child(4) { + animation: lmb-morph-dot-4 8.8s linear 2.95 both; + } +} + +@keyframes lmb-morph-step { + 0% { + opacity: 0; + transform: translateY(8px); + } + 4%, + 21% { + opacity: 1; + transform: none; + } + 25%, + 100% { + opacity: 0; + transform: translateY(-8px); + } +} + +@keyframes lmb-morph-dot-2 { + 0%, + 24.9% { + opacity: 0.3; + } + 25%, + 100% { + opacity: 1; + } +} + +@keyframes lmb-morph-dot-3 { + 0%, + 49.9% { + opacity: 0.3; + } + 50%, + 100% { + opacity: 1; + } +} + +@keyframes lmb-morph-dot-4 { + 0%, + 74.9% { + opacity: 0.3; + } + 75%, + 100% { + opacity: 1; + } +} + +/* Tree: one Latin word and its descendants */ + +.lmb-tree { + display: block; + width: 100%; + height: auto; + overflow: visible; +} + +.lmb-tree text { + font-family: var(--lmb-serif); + font-size: 17px; + text-anchor: middle; + fill: var(--lmb-on-deep); +} + +.lmb-tree .lmb-tree__root { + font-size: 19px; + fill: var(--lmb-glow); +} + +.lmb-tree .lmb-tree__lang { + font-family: inherit; + font-size: 9.5px; + letter-spacing: 0.06em; + fill: var(--lmb-on-deep-muted); +} + +.lmb-tree__line { + fill: none; + stroke: var(--lmb-bold-line); + stroke-width: 1.2; +} + +.lmb-tree__leaf circle { + fill: var(--lmb-glow); +} + +@media (prefers-reduced-motion: no-preference) { + .lmb-tree__line { + stroke-dasharray: 1; + animation: lmb-draw 1s ease-out 0.2s both; + } + + .lmb-tree__leaf { + animation: lmb-rise 0.5s ease-out both; + } + + .lmb-tree__leaf:nth-of-type(1) { + animation-delay: 0.9s; + } + + .lmb-tree__leaf:nth-of-type(2) { + animation-delay: 1.05s; + } + + .lmb-tree__leaf:nth-of-type(3) { + animation-delay: 1.2s; + } + + .lmb-tree__leaf:nth-of-type(4) { + animation-delay: 1.35s; + } +} + +/* Sentence: one example sentence at three stages, on the stage rail */ + +.lmb-sentence__translation { + font-size: 11px; + font-style: italic; + color: var(--lmb-on-deep-muted); +} + +.lmb-sentence { + margin-top: 4px; +} + +.lmb-sentence__row { + position: relative; + display: flex; + flex-direction: column; + padding: 0 0 3px 20px; +} + +.lmb-sentence__row:last-child { + padding-bottom: 0; +} + +.lmb-sentence__row::before { + content: ''; + position: absolute; + top: 6px; + left: 0; + width: 9px; + height: 9px; + border: 1.5px solid var(--lmb-on-deep-muted); + border-radius: 50%; +} + +.lmb-sentence__row:last-child::before { + border-color: var(--lmb-glow); + background: var(--lmb-glow); +} + +.lmb-sentence__row:not(:last-child)::after { + content: ''; + position: absolute; + top: 17px; + bottom: -5px; + left: 5px; + width: 1px; + background: var(--lmb-bold-line); +} + +.lmb-sentence .lmb-form { + font-size: 16.5px; + line-height: 1.1; + color: var(--lmb-on-deep-muted); + white-space: normal; +} + +.lmb-sentence__row:last-child .lmb-form { + color: var(--lmb-glow); +} + +.lmb-sentence__stage { + font-size: 10px; + line-height: 1.2; + letter-spacing: 0.06em; + text-transform: uppercase; + color: var(--lmb-on-deep-muted); + opacity: 0.8; +} + +@media (prefers-reduced-motion: no-preference) { + .lmb-sentence__row { + animation: lmb-rise 0.5s ease-out both; + } + + .lmb-sentence__row:nth-child(2) { + animation-delay: 0.35s; + } + + .lmb-sentence__row:nth-child(3) { + animation-delay: 0.7s; + } +} + +/* Rule: the notation itself, large */ + +.lmb-bold__glyph { + position: absolute; + right: -40px; + bottom: -96px; + font-family: var(--lmb-serif); + font-size: 240px; + line-height: 1; + color: #fff; + opacity: 0.07; + pointer-events: none; +} + +.lmb-rules { + margin: 6px 0 0; + padding: 0; + list-style: none; + counter-reset: lmb-rule; + font-family: var(--lmb-mono); + font-size: 19px; + line-height: 1.3; + color: #fff; + white-space: nowrap; +} + +.lmb-rules li { + counter-increment: lmb-rule; +} + +.lmb-rules li::before { + content: counter(lmb-rule); + display: inline-block; + width: 1.4em; + font-size: 12px; + color: var(--lmb-on-deep-muted); +} + +.lmb-bold--rule b, +.lmb-bold--rule em { + font-weight: inherit; + font-style: normal; +} + +.lmb-bold--rule b { + color: var(--lmb-glow); +} + +.lmb-bold--rule em { + color: var(--lmb-pink); +} + +.lmb-rules__forms { + margin-top: 6px; + white-space: nowrap; +} + +.lmb-rules__forms .lmb-form { + font-size: 24px; + line-height: 1.1; +} + +.lmb-rules__forms .lmb-arrow { + color: var(--lmb-on-deep-muted); +} + +@keyframes lmb-draw { + from { + stroke-dashoffset: 1; + } + to { + stroke-dashoffset: 0; + } +} + +@keyframes lmb-rise { + from { + opacity: 0; + transform: translateY(6px); + } + to { + opacity: 1; + transform: none; + } +} diff --git a/bitext/src/lib/components/partners/CanvasPartnerStrip.svelte b/bitext/src/lib/components/partners/CanvasPartnerStrip.svelte deleted file mode 100644 index 752155e..0000000 --- a/bitext/src/lib/components/partners/CanvasPartnerStrip.svelte +++ /dev/null @@ -1,86 +0,0 @@ - - -
- {#if collapsed} - - {:else} -
- - Partner offers - - -
-
- {#each partnerIds.slice(0, count) as id (id)} - {#key id} - - {/key} - {/each} -
- {/if} -
diff --git a/bitext/src/lib/components/partners/PartnerBannerById.svelte b/bitext/src/lib/components/partners/PartnerBannerById.svelte deleted file mode 100644 index 1c45234..0000000 --- a/bitext/src/lib/components/partners/PartnerBannerById.svelte +++ /dev/null @@ -1,20 +0,0 @@ - - - diff --git a/bitext/src/lib/components/partners/PartnerBannerCursor.svelte b/bitext/src/lib/components/partners/PartnerBannerCursor.svelte deleted file mode 100644 index 6b31f09..0000000 --- a/bitext/src/lib/components/partners/PartnerBannerCursor.svelte +++ /dev/null @@ -1,22 +0,0 @@ - - - -

- Cursor is my main AI coding tool. If you were going to try it anyway, this referral gives new - accounts 50% off the first month - of Pro, Pro+, or Ultra (per Cursor’s current offer). -

-
diff --git a/bitext/src/lib/components/partners/PartnerBannerPreply.svelte b/bitext/src/lib/components/partners/PartnerBannerPreply.svelte deleted file mode 100644 index 13e2341..0000000 --- a/bitext/src/lib/components/partners/PartnerBannerPreply.svelte +++ /dev/null @@ -1,21 +0,0 @@ - - - -

- Personally, I use Preply for language learning. If you want to try an online tutor, our link - includes - 70% off the trial lesson. - We earn a small bonus if you go on to paid lessons - it helps to keep the site running. -

-
diff --git a/bitext/src/lib/components/partners/PartnerBannerRailway.svelte b/bitext/src/lib/components/partners/PartnerBannerRailway.svelte deleted file mode 100644 index 22c8882..0000000 --- a/bitext/src/lib/components/partners/PartnerBannerRailway.svelte +++ /dev/null @@ -1,21 +0,0 @@ - - - -

- This project is deployed on Railway. For me it works like a charm: I just add my repo and - Railway builds and deploys it by itself. This link gives $20 in credits. No pressure - use if it fits your stack. -

-
diff --git a/bitext/src/lib/components/partners/PartnerBannerShell.svelte b/bitext/src/lib/components/partners/PartnerBannerShell.svelte deleted file mode 100644 index e5dbe9f..0000000 --- a/bitext/src/lib/components/partners/PartnerBannerShell.svelte +++ /dev/null @@ -1,183 +0,0 @@ - - -
-
-

- {title} - - - {#if !showTipPortal} - - {PARTNER_LINK_WHY_TOOLTIP} - - {/if} - -

-
- {@render children()} -
- - {ctaLabel} - - -
-
- -{#if showTipPortal} - -{/if} diff --git a/bitext/src/lib/components/partners/PartnerBannerWise.svelte b/bitext/src/lib/components/partners/PartnerBannerWise.svelte deleted file mode 100644 index eeb1a80..0000000 --- a/bitext/src/lib/components/partners/PartnerBannerWise.svelte +++ /dev/null @@ -1,22 +0,0 @@ - - - -

- Sometimes I have trouble with money transfers in my country. Wise worked for me without too much - hassle. With this invite, new sign-ups get a - fee-free first transfer - up to roughly US$600 - equivalent. -

-
diff --git a/bitext/src/lib/lemula/strip-rotation.test.ts b/bitext/src/lib/lemula/strip-rotation.test.ts new file mode 100644 index 0000000..8dd2a09 --- /dev/null +++ b/bitext/src/lib/lemula/strip-rotation.test.ts @@ -0,0 +1,16 @@ +import { describe, expect, it } from 'vitest'; +import { getLemulaStripPair, LEMULA_STRIP_PAIRS } from './strip-rotation.js'; + +const HOUR = 3_600_000; + +describe('getLemulaStripPair', () => { + it('keeps one pair for a whole UTC hour', () => { + const start = 1_800_000_000 * 1000 - ((1_800_000_000 * 1000) % HOUR); + expect(getLemulaStripPair(start + HOUR - 1)).toBe(getLemulaStripPair(start)); + }); + + it('shows every pair over consecutive hours', () => { + const seen = new Set(LEMULA_STRIP_PAIRS.map((_, i) => getLemulaStripPair(i * HOUR))); + expect(seen.size).toBe(LEMULA_STRIP_PAIRS.length); + }); +}); diff --git a/bitext/src/lib/lemula/strip-rotation.ts b/bitext/src/lib/lemula/strip-rotation.ts new file mode 100644 index 0000000..29bb329 --- /dev/null +++ b/bitext/src/lib/lemula/strip-rotation.ts @@ -0,0 +1,21 @@ +import type { LemulaBlockName } from '$lib/components/lemula/blocks.js'; + +/** + * What the editor strip shows: a calm card next to a bold one. The pairs follow the banner set's + * README, so a pair never shows the same example twice. The calm card comes first: a narrow + * screen has room for one card, and the calm one is the shorter. + */ +export const LEMULA_STRIP_PAIRS = [ + ['card-history', 'bold-sentence'], + ['card-glossed', 'bold-morph'], + ['card-compound', 'bold-tree'], + ['card-borrowing', 'bold-rule'] +] as const satisfies readonly (readonly [LemulaBlockName, LemulaBlockName])[]; + +export type LemulaStripPair = (typeof LEMULA_STRIP_PAIRS)[number]; + +/** The next pair every UTC hour; stable within the hour, so prerender and hydration agree. */ +export function getLemulaStripPair(nowMs: number): LemulaStripPair { + const hour = Math.floor(nowMs / 3_600_000); + return LEMULA_STRIP_PAIRS[hour % LEMULA_STRIP_PAIRS.length]!; +} diff --git a/bitext/src/lib/partners/home-rotation.test.ts b/bitext/src/lib/partners/home-rotation.test.ts deleted file mode 100644 index adabbfd..0000000 --- a/bitext/src/lib/partners/home-rotation.test.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { describe, expect, it } from 'vitest'; -import { getExamplePagePartnerId, getHomePartnerOrder, HOME_PARTNER_IDS } from './home-rotation.js'; - -describe('getExamplePagePartnerId', () => { - it('returns a pool member and is stable for the same slug', () => { - const a = getExamplePagePartnerId('turkish-interlinear-gloss-ipa'); - const b = getExamplePagePartnerId('turkish-interlinear-gloss-ipa'); - expect(HOME_PARTNER_IDS).toContain(a); - expect(a).toBe(b); - }); - - it('can differ across slugs', () => { - const ids = new Set(HOME_PARTNER_IDS.map((_, i) => getExamplePagePartnerId(`slug-${i}`))); - expect(ids.size).toBeGreaterThan(1); - }); -}); - -describe('getHomePartnerOrder', () => { - it('returns two distinct partners', () => { - const [a, b] = getHomePartnerOrder(1_700_000_000_000); - expect(a).not.toBe(b); - }); -}); diff --git a/bitext/src/lib/partners/home-rotation.ts b/bitext/src/lib/partners/home-rotation.ts deleted file mode 100644 index f17e4cb..0000000 --- a/bitext/src/lib/partners/home-rotation.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Partner banner rotation. - * - * Home: two distinct partners per UTC hour (`getHomePartnerOrder`). - * Example gallery pages: one partner per slug, stable across prerender/build (`getExamplePagePartnerId`). - */ -export const HOME_PARTNER_IDS = ['preply', 'railway', 'cursor', 'wise'] as const; -export type HomePartnerId = (typeof HOME_PARTNER_IDS)[number]; - -function mulberry32(seed: number) { - return function () { - let t = (seed += 0x6d2b79f5); - t = Math.imul(t ^ (t >>> 15), t | 1); - t ^= t + Math.imul(t ^ (t >>> 7), t | 61); - return ((t ^ (t >>> 14)) >>> 0) / 4294967296; - }; -} - -/** FNV-1a 32-bit — stable string → integer for seeded picks. */ -function hashSeedString(input: string): number { - let h = 0x811c9dc5; - for (let i = 0; i < input.length; i++) { - h ^= input.charCodeAt(i); - h = Math.imul(h, 0x01000193); - } - return h | 0; -} - -/** Uniform random shuffle (Fisher–Yates). Mutates `items`. */ -function shuffleInPlace(items: T[], rng: () => number): void { - for (let i = items.length - 1; i > 0; i--) { - const j = Math.floor(rng() * (i + 1)); - [items[i], items[j]] = [items[j], items[i]]; - } -} - -/** - * One partner for a prerendered example page. Seed with gallery `slug` so each page keeps - * the same banner across visits and SSR/hydration match; partners are spread across slugs. - */ -export function getExamplePagePartnerId(slug: string): HomePartnerId { - const seed = Math.imul(hashSeedString(`example:${slug}`), 0x9e3779b1) | 0; - const rng = mulberry32(seed); - const index = Math.floor(rng() * HOME_PARTNER_IDS.length); - return HOME_PARTNER_IDS[index]!; -} - -/** - * `[introColumn, settingsSidebar]` — two different partners; every ordered pair among - * `HOME_PARTNER_IDS` is equally likely for a given draw. - */ -export function getHomePartnerOrder(nowMs: number): [HomePartnerId, HomePartnerId] { - const bucket = homePartnerHourBucketUtc(nowMs); - const seed = Math.imul(bucket ^ 0xdeadbeef, 0x9e3779b1) | 0; - const rng = mulberry32(seed); - const pool = [...HOME_PARTNER_IDS] as HomePartnerId[]; - shuffleInPlace(pool, rng); - if (pool.length < 2) { - throw new Error('HOME_PARTNER_IDS must contain at least two partners for two slots'); - } - return [pool[0], pool[1]]; -} - -/** Unix ms → bucket index; advances every 3600 s of Unix time (UTC-hour boundaries). */ -export function homePartnerHourBucketUtc(nowMs: number): number { - return Math.floor(nowMs / 3_600_000); -} diff --git a/bitext/src/lib/server/home-page-load.ts b/bitext/src/lib/server/home-page-load.ts index dfef450..4b1634c 100644 --- a/bitext/src/lib/server/home-page-load.ts +++ b/bitext/src/lib/server/home-page-load.ts @@ -1,10 +1,10 @@ -import { getHomePartnerOrder } from '$lib/partners/home-rotation.js'; import { buildAppStateFromExample } from '$lib/examples/build-app-state.js'; import { findGalleryBySlug } from '$lib/examples/catalog.js'; import { findExample } from '$lib/state/examples.js'; import { decodeState } from '$lib/serialization/decode.js'; +import { getLemulaStripPair } from '$lib/lemula/strip-rotation.js'; -/** Load for the editor home (`/`): decoded `?data=` / `?example=` state plus partner rotation. */ +/** Load for the editor home (`/`): decoded `?data=` / `?example=` state plus the Lemula banner pair. */ export function loadHomePage(url: URL) { const data = url.searchParams.get('data'); const exampleParam = url.searchParams.get('example'); @@ -25,6 +25,6 @@ export function loadHomePage(url: URL) { dataParam: data, initialState, exampleInvalid, - homePartnerOrder: getHomePartnerOrder(Date.now()) + lemulaStripPair: getLemulaStripPair(Date.now()) }; } diff --git a/bitext/src/routes/+page.svelte b/bitext/src/routes/+page.svelte index 4ae67d9..627b05a 100644 --- a/bitext/src/routes/+page.svelte +++ b/bitext/src/routes/+page.svelte @@ -22,7 +22,7 @@ import EditorPanels from '$lib/components/editor-shell/EditorPanels.svelte'; import JsonLd from '$lib/components/seo/JsonLd.svelte'; import SeoDrawer from '$lib/components/seo/SeoDrawer.svelte'; - import CanvasPartnerStrip from '$lib/components/partners/CanvasPartnerStrip.svelte'; + import LemulaStrip from '$lib/components/lemula/LemulaStrip.svelte'; import { editorShellStore } from '$lib/state/editorShell.svelte.js'; import { viewportStore } from '$lib/state/viewport.svelte.js'; import { projectStore } from '$lib/state/project.svelte.js'; @@ -283,8 +283,8 @@ - - + + {#if viewportStore.isNarrow && editorShellStore.sheetOpen} diff --git a/bitext/src/routes/about/+page.svelte b/bitext/src/routes/about/+page.svelte index 47451bf..39fa25a 100644 --- a/bitext/src/routes/about/+page.svelte +++ b/bitext/src/routes/about/+page.svelte @@ -2,11 +2,8 @@ import { page } from '$app/state'; import { resolve } from '$app/paths'; import { DISCORD_INVITE_URL, SITE_CONTACT_EMAIL, TALLY_FORM_ID } from '$lib/brand.js'; - import PartnerBannerCursor from '$lib/components/partners/PartnerBannerCursor.svelte'; - import PartnerBannerPreply from '$lib/components/partners/PartnerBannerPreply.svelte'; - import PartnerBannerRailway from '$lib/components/partners/PartnerBannerRailway.svelte'; - import PartnerBannerWise from '$lib/components/partners/PartnerBannerWise.svelte'; import SiteFooter from '$lib/components/layout/SiteFooter.svelte'; + import LemulaBlock from '$lib/components/lemula/LemulaBlock.svelte'; import YouTubeEmbed from '$lib/components/media/YouTubeEmbed.svelte'; import StructuredData from '$lib/components/seo/StructuredData.svelte'; import { breadcrumbList, personCreator } from '$lib/seo/structured-data.js'; @@ -497,22 +494,17 @@ - +
-

- Partner links +

+ Lemula

- {DISPLAY_NAME} stays free and without aggressive ads. Hosting and ongoing upkeep still have a cost, - so I add a few optional partner links. Use them if you were already considering the service, it - helps keep the site running. The referral bonuses come from the provider. These are services I use - myself. + {DISPLAY_NAME} stays free and shows no third-party ads. The banners on the site point to Lemula, + my other tool, for conlangers who want their language to change over time.

-
- - - - +
+

- +

diff --git a/bitext/src/routes/examples/[slug]/+page.ts b/bitext/src/routes/examples/[slug]/+page.ts index 3799372..11f12e2 100644 --- a/bitext/src/routes/examples/[slug]/+page.ts +++ b/bitext/src/routes/examples/[slug]/+page.ts @@ -6,7 +6,6 @@ import { galleryPreviewImageFor, GALLERY_EXAMPLES } from '$lib/examples/catalog.js'; -import { getExamplePagePartnerId } from '$lib/partners/home-rotation.js'; import type { PageLoad } from './$types'; export function entries() { @@ -37,7 +36,6 @@ export const load: PageLoad = ({ params }) => { entry, previewImageUrl: galleryPreviewImageFor(entry), exampleSlug: entry.slug, - partnerId: getExamplePagePartnerId(entry.slug), related: relatedExamples(entry.slug) }; };