mirror of
https://github.com/searxng/searxng.git
synced 2026-05-07 18:03:51 +02:00
Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c32bf8c45d | |||
| cba0cffa8f | |||
| f96ac331ed | |||
| 616d6f4818 | |||
| 6fbb24b32d | |||
| 3674d915f5 | |||
| d4254d5e8f | |||
| 9a394b41ee | |||
| 9240b38d8a | |||
| 3880960471 | |||
| 494a7575d3 | |||
| ed5955a5c7 | |||
| a7ac696b4a | |||
| 9504772f38 | |||
| 1e74a92419 |
@@ -72,7 +72,7 @@ jobs:
|
||||
persist-credentials: "false"
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version-file: "./.nvmrc"
|
||||
|
||||
|
||||
Generated
+124
-159
@@ -15,7 +15,7 @@
|
||||
"swiped-events": "1.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "2.4.12",
|
||||
"@biomejs/biome": "2.4.13",
|
||||
"@types/node": "^25.6.0",
|
||||
"browserslist": "^4.28.2",
|
||||
"browserslist-to-esbuild": "^2.1.1",
|
||||
@@ -24,12 +24,12 @@
|
||||
"mathjs": "^15.2.0",
|
||||
"sharp": "~0.34.5",
|
||||
"sort-package-json": "^3.6.1",
|
||||
"stylelint": "^17.8.0",
|
||||
"stylelint": "^17.9.0",
|
||||
"stylelint-config-standard-less": "^4.1.0",
|
||||
"stylelint-prettier": "^5.0.3",
|
||||
"svgo": "^4.0.1",
|
||||
"typescript": "~6.0.3",
|
||||
"vite": "^8.0.8",
|
||||
"vite": "^8.0.10",
|
||||
"vite-bundle-analyzer": "^1.3.7"
|
||||
}
|
||||
},
|
||||
@@ -69,9 +69,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/biome": {
|
||||
"version": "2.4.12",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.4.12.tgz",
|
||||
"integrity": "sha512-Rro7adQl3NLq/zJCIL98eElXKI8eEiBtoeu5TbXF/U3qbjuSc7Jb5rjUbeHHcquDWeSf3HnGP7XI5qGrlRk/pA==",
|
||||
"version": "2.4.13",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.4.13.tgz",
|
||||
"integrity": "sha512-gLXOwkOBBg0tr7bDsqlkIh4uFeKuMjxvqsrb1Tukww1iDmHcfr4Uu8MoQxp0Rcte+69+osRNWXwHsu/zxT6XqA==",
|
||||
"dev": true,
|
||||
"license": "MIT OR Apache-2.0",
|
||||
"bin": {
|
||||
@@ -85,20 +85,20 @@
|
||||
"url": "https://opencollective.com/biome"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@biomejs/cli-darwin-arm64": "2.4.12",
|
||||
"@biomejs/cli-darwin-x64": "2.4.12",
|
||||
"@biomejs/cli-linux-arm64": "2.4.12",
|
||||
"@biomejs/cli-linux-arm64-musl": "2.4.12",
|
||||
"@biomejs/cli-linux-x64": "2.4.12",
|
||||
"@biomejs/cli-linux-x64-musl": "2.4.12",
|
||||
"@biomejs/cli-win32-arm64": "2.4.12",
|
||||
"@biomejs/cli-win32-x64": "2.4.12"
|
||||
"@biomejs/cli-darwin-arm64": "2.4.13",
|
||||
"@biomejs/cli-darwin-x64": "2.4.13",
|
||||
"@biomejs/cli-linux-arm64": "2.4.13",
|
||||
"@biomejs/cli-linux-arm64-musl": "2.4.13",
|
||||
"@biomejs/cli-linux-x64": "2.4.13",
|
||||
"@biomejs/cli-linux-x64-musl": "2.4.13",
|
||||
"@biomejs/cli-win32-arm64": "2.4.13",
|
||||
"@biomejs/cli-win32-x64": "2.4.13"
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-darwin-arm64": {
|
||||
"version": "2.4.12",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.4.12.tgz",
|
||||
"integrity": "sha512-BnMU4Pc3ciEVteVpZ0BK33MLr7X57F5w1dwDLDn+/iy/yTrA4Q/N2yftidFtsA4vrDh0FMXDpacNV/Tl3fbmng==",
|
||||
"version": "2.4.13",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.4.13.tgz",
|
||||
"integrity": "sha512-2KImO1jhNFBa2oWConyr0x6flxbQpGKv6902uGXpYM62Xyem8U80j441SyUJ8KyngsmKbQjeIv1q2CQfDkNnYg==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -113,9 +113,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-darwin-x64": {
|
||||
"version": "2.4.12",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.4.12.tgz",
|
||||
"integrity": "sha512-x9uJ0bI1rJsWICp3VH8w/5PnAVD3A7SqzDpbrfoUQX1QyWrK5jSU4fRLo/wSgGeplCivbxBRKmt5Xq4/nWvq8A==",
|
||||
"version": "2.4.13",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.4.13.tgz",
|
||||
"integrity": "sha512-BKrJklbaFN4p1Ts4kPBczo+PkbsHQg57kmJ+vON9u2t6uN5okYHaSr7h/MutPCWQgg2lglaWoSmm+zhYW+oOkg==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -130,9 +130,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-linux-arm64": {
|
||||
"version": "2.4.12",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.4.12.tgz",
|
||||
"integrity": "sha512-tOwuCuZZtKi1jVzbk/5nXmIsziOB6yqN8c9r9QM0EJYPU6DpQWf11uBOSCfFKKM4H3d9ZoarvlgMfbcuD051Pw==",
|
||||
"version": "2.4.13",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.4.13.tgz",
|
||||
"integrity": "sha512-NzkUDSqfvMBrPplKgVr3aXLHZ2NEELvvF4vZxXulEylKWIGqlvNEcwUcj9OLrn75TD3lJ/GIqCVlBwd1MZCuYQ==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -147,9 +147,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-linux-arm64-musl": {
|
||||
"version": "2.4.12",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.4.12.tgz",
|
||||
"integrity": "sha512-FhfpkAAlKL6kwvcVap0Hgp4AhZmtd3YImg0kK1jd7C/aSoh4SfsB2f++yG1rU0lr8Y5MCFJrcSkmssiL9Xnnig==",
|
||||
"version": "2.4.13",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.4.13.tgz",
|
||||
"integrity": "sha512-U5MsuBQW25dXaYtqWWSPM3P96H6Y+fHuja3TQpMNnylocHW0tEbtFTDlUj6oM+YJLntvEkQy4grBvQNUD4+RCg==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -164,9 +164,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-linux-x64": {
|
||||
"version": "2.4.12",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.4.12.tgz",
|
||||
"integrity": "sha512-8pFeAnLU9QdW9jCIslB/v82bI0lhBmz2ZAKc8pVMFPO0t0wAHsoEkrUQUbMkIorTRIjbqyNZHA3lEXavsPWYSw==",
|
||||
"version": "2.4.13",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.4.13.tgz",
|
||||
"integrity": "sha512-Az3ZZedYRBo9EQzNnD9SxFcR1G5QsGo6VEc2hIyVPZ1rdKwee/7E9oeBBZFpE8Z44ekxsDQBqbiWGW5ShOhUSQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -181,9 +181,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-linux-x64-musl": {
|
||||
"version": "2.4.12",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.4.12.tgz",
|
||||
"integrity": "sha512-dwTIgZrGutzhkQCuvHynCkyW6hJxUuyZqKKO0YNfaS2GUoRO+tOvxXZqZB6SkWAOdfZTzwaw8IEdUnIkHKHoew==",
|
||||
"version": "2.4.13",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.4.13.tgz",
|
||||
"integrity": "sha512-Z601MienRgTBDza/+u2CH3RSrWoXo9rtr8NK6A4KJzqGgfxx+H3VlyLgTJ4sRo40T3pIsqpTmiOQEvYzQvBRvQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -198,9 +198,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-win32-arm64": {
|
||||
"version": "2.4.12",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.4.12.tgz",
|
||||
"integrity": "sha512-B0DLnx0vA9ya/3v7XyCaP+/lCpnbWbMOfUFFve+xb5OxyYvdHaS55YsSddr228Y+JAFk58agCuZTsqNiw2a6ig==",
|
||||
"version": "2.4.13",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.4.13.tgz",
|
||||
"integrity": "sha512-Px9PS2B5/Q183bUwy/5VHqp3J2lzdOCeVGzMpphYfl8oSa7VDCqenBdqWpy6DCy/en4Rbf/Y1RieZF6dJPcc9A==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -215,9 +215,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@biomejs/cli-win32-x64": {
|
||||
"version": "2.4.12",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.4.12.tgz",
|
||||
"integrity": "sha512-yMckRzTyZ83hkk8iDFWswqSdU8tvZxspJKnYNh7JZr/zhZNOlzH13k4ecboU6MurKExCe2HUkH75pGI/O2JwGA==",
|
||||
"version": "2.4.13",
|
||||
"resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.4.13.tgz",
|
||||
"integrity": "sha512-tTcMkXyBrmHi9BfrD2VNHs/5rYIUKETqsBlYOvSAABwBkJhSDVb5e7wPukftsQbO3WzQkXe6kaztC6WtUOXSoQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -295,7 +295,6 @@
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"engines": {
|
||||
"node": ">=20.19.0"
|
||||
},
|
||||
@@ -344,7 +343,6 @@
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"engines": {
|
||||
"node": ">=20.19.0"
|
||||
}
|
||||
@@ -1002,9 +1000,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@oxc-project/types": {
|
||||
"version": "0.124.0",
|
||||
"resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.124.0.tgz",
|
||||
"integrity": "sha512-VBFWMTBvHxS11Z5Lvlr3IWgrwhMTXV+Md+EQF0Xf60+wAdsGFTBx7X7K/hP4pi8N7dcm1RvcHwDxZ16Qx8keUg==",
|
||||
"version": "0.127.0",
|
||||
"resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.127.0.tgz",
|
||||
"integrity": "sha512-aIYXQBo4lCbO4z0R3FHeucQHpF46l2LbMdxRvqvuRuW2OxdnSkcng5B8+K12spgLDj93rtN3+J2Vac/TIO+ciQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
@@ -1086,9 +1084,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-android-arm64": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-YYe6aWruPZDtHNpwu7+qAHEMbQ/yRl6atqb/AhznLTnD3UY99Q1jE7ihLSahNWkF4EqRPVC4SiR4O0UkLK02tA==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-s70pVGhw4zqGeFnXWvAzJDlvxhlRollagdCCKRgOsgUOH3N1l0LIxf83AtGzmb5SiVM4Hjl5HyarMRfdfj3DaQ==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -1103,9 +1101,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-darwin-arm64": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-oArR/ig8wNTPYsXL+Mzhs0oxhxfuHRfG7Ikw7jXsw8mYOtk71W0OkF2VEVh699pdmzjPQsTjlD1JIOoHkLP1Fg==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-4ksWc9n0mhlZpZ9PMZgTGjeOPRu8MB1Z3Tz0Mo02eWfWCHMW1zN82Qz/pL/rC+yQa+8ZnutMF0JjJe7PjwasYw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -1120,9 +1118,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-darwin-x64": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-YzeVqOqjPYvUbJSWJ4EDL8ahbmsIXQpgL3JVipmN+MX0XnXMeWomLN3Fb+nwCmP/jfyqte5I3XRSm7OfQrbyxw==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-SUSDOI6WwUVNcWxd02QEBjLdY1VPHvlEkw6T/8nYG322iYWCTxRb1vzk4E+mWWYehTp7ERibq54LSJGjmouOsw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -1137,9 +1135,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-freebsd-x64": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-9Erhx956jeQ0nNTyif1+QWAXDRD38ZNjr//bSHrt6wDwB+QkAfl2q6Mn1k6OBPerznjRmbM10lgRb1Pli4xZPw==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-hwnz3nw9dbJ05EDO/PvcjaaewqqDy7Y1rn1UO81l8iIK1GjenME75dl16ajbvSSMfv66WXSRCYKIqfgq2KCfxw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -1154,9 +1152,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-linux-arm-gnueabihf": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-cVwk0w8QbZJGTnP/AHQBs5yNwmpgGYStL88t4UIaqcvYJWBfS0s3oqVLZPwsPU6M0zlW4GqjP0Zq5MnAGwFeGA==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-IS+W7epTcwANmFSQFrS1SivEXHtl1JtuQA9wlxrZTcNi6mx+FDOYrakGevvvTwgj2JvWiK8B29/qD9BELZPyXQ==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
@@ -1171,9 +1169,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-linux-arm64-gnu": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-eBZ/u8iAK9SoHGanqe/jrPnY0JvBN6iXbVOsbO38mbz+ZJsaobExAm1Iu+rxa4S1l2FjG0qEZn4Rc6X8n+9M+w==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-e6usGaHKW5BMNZOymS1UcEYGowQMWcgZ71Z17Sl/h2+ZziNJ1a9n3Zvcz6LdRyIW5572wBCTH/Z+bKuZouGk9Q==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -1188,9 +1186,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-linux-arm64-musl": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-ZvRYMGrAklV9PEkgt4LQM6MjQX2P58HPAuecwYObY2DhS2t35R0I810bKi0wmaYORt6m/2Sm+Z+nFgb0WhXNcQ==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-b/CgbwAJpmrRLp02RPfhbudf5tZnN9nsPWK82znefso832etkem8H7FSZwxrOI9djcdTP7U6YfNhbRnh7djErg==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -1205,9 +1203,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-linux-ppc64-gnu": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-VDpgGBzgfg5hLg+uBpCLoFG5kVvEyafmfxGUV0UHLcL5irxAK7PKNeC2MwClgk6ZAiNhmo9FLhRYgvMmedLtnQ==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-4EII1iNGRUN5WwGbF/kOh/EIkoDN9HsupgLQoXfY+D1oyJm7/F4t5PYU5n8SWZgG0FEwakyM8pGgwcBYruGTlA==",
|
||||
"cpu": [
|
||||
"ppc64"
|
||||
],
|
||||
@@ -1222,9 +1220,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-linux-s390x-gnu": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-y1uXY3qQWCzcPgRJATPSOUP4tCemh4uBdY7e3EZbVwCJTY3gLJWnQABgeUetvED+bt1FQ01OeZwvhLS2bpNrAQ==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-AH8oq3XqQo4IibpVXvPeLDI5pzkpYn0WiZAfT05kFzoJ6tQNzwRdDYQ45M8I/gslbodRZwW8uxLhbSBbkv96rA==",
|
||||
"cpu": [
|
||||
"s390x"
|
||||
],
|
||||
@@ -1239,9 +1237,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-linux-x64-gnu": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-023bTPBod7J3Y/4fzAN6QtpkSABR0rigtrwaP+qSEabUh5zf6ELr9Nc7GujaROuPY3uwdSIXWrvhn1KxOvurWA==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-cLnjV3xfo7KslbU41Z7z8BH/E1y5mzUYzAqih1d1MDaIGZRCMqTijqLv76/P7fyHuvUcfGsIpqCdddbxLLK9rA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -1256,9 +1254,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-linux-x64-musl": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-witB2O0/hU4CgfOOKUoeFgQ4GktPi1eEbAhaLAIpgD6+ZnhcPkUtPsoKKHRzmOoWPZue46IThdSgdo4XneOLYw==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-0phclDw1spsL7dUB37sIARuis2tAgomCJXAHZlpt8PXZ4Ba0dRP1e+66lsRqrfhISeN9bEGNjQs+T/Fbd7oYGw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -1273,9 +1271,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-openharmony-arm64": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-UCL68NJ0Ud5zRipXZE9dF5PmirzJE4E4BCIOOssEnM7wLDsxjc6Qb0sGDxTNRTP53I6MZpygyCpY8Aa8sPfKPg==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-0ag/hEgXOwgw4t8QyQvUCxvEg+V0KBcA6YuOx9g0r02MprutRF5dyljgm3EmR02O292UX7UeS6HzWHAl6KgyhA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -1290,9 +1288,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-wasm32-wasi": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-ApLruZq/ig+nhaE7OJm4lDjayUnOHVUa77zGeqnqZ9pn0ovdVbbNPerVibLXDmWeUZXjIYIT8V3xkT58Rm9u5Q==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-LEXei6vo0E5wTGwpkJ4KoT3OZJRnglwldt5ziLzOlc6qqb55z4tWNq2A+PFqCJuvWWdP53CVhG1Z9NtToDPJrA==",
|
||||
"cpu": [
|
||||
"wasm32"
|
||||
],
|
||||
@@ -1300,41 +1298,18 @@
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"dependencies": {
|
||||
"@emnapi/core": "1.9.2",
|
||||
"@emnapi/runtime": "1.9.2",
|
||||
"@napi-rs/wasm-runtime": "^1.1.3"
|
||||
"@emnapi/core": "1.10.0",
|
||||
"@emnapi/runtime": "1.10.0",
|
||||
"@napi-rs/wasm-runtime": "^1.1.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-wasm32-wasi/node_modules/@emnapi/core": {
|
||||
"version": "1.9.2",
|
||||
"resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.9.2.tgz",
|
||||
"integrity": "sha512-UC+ZhH3XtczQYfOlu3lNEkdW/p4dsJ1r/bP7H8+rhao3TTTMO1ATq/4DdIi23XuGoFY+Cz0JmCbdVl0hz9jZcA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"dependencies": {
|
||||
"@emnapi/wasi-threads": "1.2.1",
|
||||
"tslib": "^2.4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-wasm32-wasi/node_modules/@emnapi/runtime": {
|
||||
"version": "1.9.2",
|
||||
"resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.9.2.tgz",
|
||||
"integrity": "sha512-3U4+MIWHImeyu1wnmVygh5WlgfYDtyf0k8AbLhMFxOipihf6nrWC4syIm/SwEeec0mNSafiiNnMJwbza/Is6Lw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"dependencies": {
|
||||
"tslib": "^2.4.0"
|
||||
"node": "^20.19.0 || >=22.12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-win32-arm64-msvc": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-KmoUoU7HnN+Si5YWJigfTws1jz1bKBYDQKdbLspz0UaqjjFkddHsqorgiW1mxcAj88lYUE6NC/zJNwT+SloqtA==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-gUmyzBl3SPMa6hrqFUth9sVfcLBlYsbMzBx5PlexMroZStgzGqlZ26pYG89rBb45Mnia+oil6YAIFeEWGWhoZA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -1349,9 +1324,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/binding-win32-x64-msvc": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-3P2A8L+x75qavWLe/Dll3EYBJLQmtkJN8rfh+U/eR3MqMgL/h98PhYI+JFfXuDPgPeCB7iZAKiqii5vqOvnA0g==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-3hkiolcUAvPB9FLb3UZdfjVVNWherN1f/skkGWJP/fgSQhYUZpSIRr0/I8ZK9TkF3F7kxvJAk0+IcKvPHk9qQg==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -1366,9 +1341,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@rolldown/pluginutils": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-UromN0peaE53IaBRe9W7CjrZgXl90fqGpK+mIZbA3qSTeYqg3pqpROBdIPvOG3F5ereDHNwoHBI2e50n1BDr1g==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-n8iosDOt6Ig1UhJ2AYqoIhHWh/isz0xpicHTzpKBeotdVsTEcxsSA/i3EVM7gQAj0rU27OLAxCjzlj15IWY7bg==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
@@ -1529,7 +1504,6 @@
|
||||
"integrity": "sha512-+qIYRKdNYJwY3vRCZMdJbPLJAtGjQBudzZzdzwQYkEPQd+PJGixUL5QfvCLDaULoLv+RhT3LDkwEfKaAkgSmNQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"undici-types": "~7.19.0"
|
||||
}
|
||||
@@ -1696,7 +1670,6 @@
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"baseline-browser-mapping": "^2.10.12",
|
||||
"caniuse-lite": "^1.0.30001782",
|
||||
@@ -1915,7 +1888,6 @@
|
||||
"integrity": "sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"mdn-data": "2.27.1",
|
||||
"source-map-js": "^1.2.1"
|
||||
@@ -2836,7 +2808,6 @@
|
||||
"integrity": "sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@keyv/serialize": "^1.1.1"
|
||||
}
|
||||
@@ -2863,7 +2834,6 @@
|
||||
"integrity": "sha512-OJmO5+HxZLLw0RLzkqaNHzcgEAQG7C0y3aMbwtCzIUFZsLMNNq/1IdAdHEycQ58CwUO3jPTHmoN+tE5I7FQxNg==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"copy-anything": "^3.0.5",
|
||||
"parse-node-version": "^1.0.1"
|
||||
@@ -3501,7 +3471,6 @@
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"nanoid": "^3.3.11",
|
||||
"picocolors": "^1.1.1",
|
||||
@@ -3564,7 +3533,6 @@
|
||||
"integrity": "sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"cssesc": "^3.0.0",
|
||||
"util-deprecate": "^1.0.2"
|
||||
@@ -3750,14 +3718,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/rolldown": {
|
||||
"version": "1.0.0-rc.15",
|
||||
"resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0-rc.15.tgz",
|
||||
"integrity": "sha512-Ff31guA5zT6WjnGp0SXw76X6hzGRk/OQq2hE+1lcDe+lJdHSgnSX6nK3erbONHyCbpSj9a9E+uX/OvytZoWp2g==",
|
||||
"version": "1.0.0-rc.17",
|
||||
"resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0-rc.17.tgz",
|
||||
"integrity": "sha512-ZrT53oAKrtA4+YtBWPQbtPOxIbVDbxT0orcYERKd63VJTF13zPcgXTvD4843L8pcsI7M6MErt8QtON6lrB9tyA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@oxc-project/types": "=0.124.0",
|
||||
"@rolldown/pluginutils": "1.0.0-rc.15"
|
||||
"@oxc-project/types": "=0.127.0",
|
||||
"@rolldown/pluginutils": "1.0.0-rc.17"
|
||||
},
|
||||
"bin": {
|
||||
"rolldown": "bin/cli.mjs"
|
||||
@@ -3766,21 +3734,21 @@
|
||||
"node": "^20.19.0 || >=22.12.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@rolldown/binding-android-arm64": "1.0.0-rc.15",
|
||||
"@rolldown/binding-darwin-arm64": "1.0.0-rc.15",
|
||||
"@rolldown/binding-darwin-x64": "1.0.0-rc.15",
|
||||
"@rolldown/binding-freebsd-x64": "1.0.0-rc.15",
|
||||
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-rc.15",
|
||||
"@rolldown/binding-linux-arm64-gnu": "1.0.0-rc.15",
|
||||
"@rolldown/binding-linux-arm64-musl": "1.0.0-rc.15",
|
||||
"@rolldown/binding-linux-ppc64-gnu": "1.0.0-rc.15",
|
||||
"@rolldown/binding-linux-s390x-gnu": "1.0.0-rc.15",
|
||||
"@rolldown/binding-linux-x64-gnu": "1.0.0-rc.15",
|
||||
"@rolldown/binding-linux-x64-musl": "1.0.0-rc.15",
|
||||
"@rolldown/binding-openharmony-arm64": "1.0.0-rc.15",
|
||||
"@rolldown/binding-wasm32-wasi": "1.0.0-rc.15",
|
||||
"@rolldown/binding-win32-arm64-msvc": "1.0.0-rc.15",
|
||||
"@rolldown/binding-win32-x64-msvc": "1.0.0-rc.15"
|
||||
"@rolldown/binding-android-arm64": "1.0.0-rc.17",
|
||||
"@rolldown/binding-darwin-arm64": "1.0.0-rc.17",
|
||||
"@rolldown/binding-darwin-x64": "1.0.0-rc.17",
|
||||
"@rolldown/binding-freebsd-x64": "1.0.0-rc.17",
|
||||
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-rc.17",
|
||||
"@rolldown/binding-linux-arm64-gnu": "1.0.0-rc.17",
|
||||
"@rolldown/binding-linux-arm64-musl": "1.0.0-rc.17",
|
||||
"@rolldown/binding-linux-ppc64-gnu": "1.0.0-rc.17",
|
||||
"@rolldown/binding-linux-s390x-gnu": "1.0.0-rc.17",
|
||||
"@rolldown/binding-linux-x64-gnu": "1.0.0-rc.17",
|
||||
"@rolldown/binding-linux-x64-musl": "1.0.0-rc.17",
|
||||
"@rolldown/binding-openharmony-arm64": "1.0.0-rc.17",
|
||||
"@rolldown/binding-wasm32-wasi": "1.0.0-rc.17",
|
||||
"@rolldown/binding-win32-arm64-msvc": "1.0.0-rc.17",
|
||||
"@rolldown/binding-win32-x64-msvc": "1.0.0-rc.17"
|
||||
}
|
||||
},
|
||||
"node_modules/run-parallel": {
|
||||
@@ -4068,9 +4036,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/stylelint": {
|
||||
"version": "17.8.0",
|
||||
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-17.8.0.tgz",
|
||||
"integrity": "sha512-oHkld9T60LDSaUQ4CSVc+tlt9eUoDlxhaGWShsUCKyIL14boZfmK5bSphZqx64aiC5tCqX+BsQMTMoSz8D1zIg==",
|
||||
"version": "17.9.0",
|
||||
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-17.9.0.tgz",
|
||||
"integrity": "sha512-xO0jeY6z1/urFL5L/BZLmB1yYlbRiRMQnYH6ArZIDWJ+SZXGssOY7XoYb1JIv/L220+EBnwwJXJS4Mt/F96SvA==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
@@ -4083,11 +4051,10 @@
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@csstools/css-calc": "^3.1.1",
|
||||
"@csstools/css-calc": "^3.2.0",
|
||||
"@csstools/css-parser-algorithms": "^4.0.0",
|
||||
"@csstools/css-syntax-patches-for-csstree": "^1.1.2",
|
||||
"@csstools/css-syntax-patches-for-csstree": "^1.1.3",
|
||||
"@csstools/css-tokenizer": "^4.0.0",
|
||||
"@csstools/media-query-list-parser": "^5.0.0",
|
||||
"@csstools/selector-resolve-nested": "^4.0.0",
|
||||
@@ -4435,7 +4402,6 @@
|
||||
"integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
},
|
||||
@@ -4480,7 +4446,6 @@
|
||||
"integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"peer": true,
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
"tsserver": "bin/tsserver"
|
||||
@@ -4557,17 +4522,17 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/vite": {
|
||||
"version": "8.0.8",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-8.0.8.tgz",
|
||||
"integrity": "sha512-dbU7/iLVa8KZALJyLOBOQ88nOXtNG8vxKuOT4I2mD+Ya70KPceF4IAmDsmU0h1Qsn5bPrvsY9HJstCRh3hG6Uw==",
|
||||
"version": "8.0.10",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-8.0.10.tgz",
|
||||
"integrity": "sha512-rZuUu9j6J5uotLDs+cAA4O5H4K1SfPliUlQwqa6YEwSrWDZzP4rhm00oJR5snMewjxF5V/K3D4kctsUTsIU9Mw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"lightningcss": "^1.32.0",
|
||||
"picomatch": "^4.0.4",
|
||||
"postcss": "^8.5.8",
|
||||
"rolldown": "1.0.0-rc.15",
|
||||
"tinyglobby": "^0.2.15"
|
||||
"postcss": "^8.5.10",
|
||||
"rolldown": "1.0.0-rc.17",
|
||||
"tinyglobby": "^0.2.16"
|
||||
},
|
||||
"bin": {
|
||||
"vite": "bin/vite.js"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"swiped-events": "1.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "2.4.12",
|
||||
"@biomejs/biome": "2.4.13",
|
||||
"@types/node": "^25.6.0",
|
||||
"browserslist": "^4.28.2",
|
||||
"browserslist-to-esbuild": "^2.1.1",
|
||||
@@ -38,12 +38,12 @@
|
||||
"mathjs": "^15.2.0",
|
||||
"sharp": "~0.34.5",
|
||||
"sort-package-json": "^3.6.1",
|
||||
"stylelint": "^17.8.0",
|
||||
"stylelint": "^17.9.0",
|
||||
"stylelint-config-standard-less": "^4.1.0",
|
||||
"stylelint-prettier": "^5.0.3",
|
||||
"svgo": "^4.0.1",
|
||||
"typescript": "~6.0.3",
|
||||
"vite": "^8.0.8",
|
||||
"vite": "^8.0.10",
|
||||
"vite-bundle-analyzer": "^1.3.7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,6 +21,6 @@ wlc==1.17.2
|
||||
coloredlogs==15.0.1
|
||||
docutils>=0.22.4
|
||||
parameterized==0.9.0
|
||||
granian[reload]==2.7.3
|
||||
basedpyright==1.39.2
|
||||
granian[reload]==2.7.4
|
||||
basedpyright==1.39.3
|
||||
types-lxml==2026.2.16
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
granian==2.7.3
|
||||
granian[pname]==2.7.3
|
||||
granian==2.7.4
|
||||
granian[pname]==2.7.4
|
||||
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
certifi==2026.2.25
|
||||
certifi==2026.4.22
|
||||
babel==2.18.0
|
||||
flask-babel==4.0.0
|
||||
flask==3.1.3
|
||||
jinja2==3.1.6
|
||||
lxml==6.0.4
|
||||
lxml==6.1.0
|
||||
pygments==2.20.0
|
||||
python-dateutil==2.9.0.post0
|
||||
pyyaml==6.0.3
|
||||
@@ -13,7 +13,7 @@ sniffio==1.3.1
|
||||
valkey==6.1.1
|
||||
markdown-it-py==4.0.0
|
||||
msgspec==0.21.1
|
||||
typer==0.24.1
|
||||
typer==0.25.0
|
||||
isodate==0.7.2
|
||||
whitenoise==6.12.0
|
||||
typing-extensions==4.15.0
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+34
-27
@@ -33,7 +33,7 @@
|
||||
"pa": "ਚੈੱਕ ਕੋਰੂਨਾ",
|
||||
"pl": "korona czeska",
|
||||
"pt": "coroa checa",
|
||||
"ro": "Coroană cehă",
|
||||
"ro": "coroană cehă",
|
||||
"ru": "чешская крона",
|
||||
"sk": "česká koruna",
|
||||
"sl": "češka krona",
|
||||
@@ -1164,7 +1164,7 @@
|
||||
"pa": "ਸਵਿੱਸ ਫ਼ਰਾਂਕ",
|
||||
"pl": "frank szwajcarski",
|
||||
"pt": "Franco suíço",
|
||||
"ro": "Franc elvețian",
|
||||
"ro": "franc elvețian",
|
||||
"ru": "швейцарский франк",
|
||||
"sk": "Švajčiarsky frank",
|
||||
"sl": "švicarski frank",
|
||||
@@ -1484,7 +1484,7 @@
|
||||
"pa": "ਚੈੱਕ ਕੋਰੂਨਾ",
|
||||
"pl": "korona czeska",
|
||||
"pt": "coroa checa",
|
||||
"ro": "Coroană cehă",
|
||||
"ro": "coroană cehă",
|
||||
"ru": "чешская крона",
|
||||
"sk": "česká koruna",
|
||||
"sl": "češka krona",
|
||||
@@ -1807,7 +1807,7 @@
|
||||
"pap": "Euro",
|
||||
"pl": "euro",
|
||||
"pt": "Euro",
|
||||
"ro": "Euro",
|
||||
"ro": "euro",
|
||||
"ru": "евро",
|
||||
"sk": "euro",
|
||||
"sl": "evro",
|
||||
@@ -1941,7 +1941,7 @@
|
||||
"tr": "İngiliz sterlini",
|
||||
"tt": "стерлинг фунты",
|
||||
"uk": "фунт стерлінгів",
|
||||
"vi": "Bảng Anh"
|
||||
"vi": "bảng Anh"
|
||||
},
|
||||
"GEL": {
|
||||
"ar": "لاري جورجي",
|
||||
@@ -2627,7 +2627,7 @@
|
||||
"pa": "ਆਈਸਲੈਂਡੀ ਕਰੋਨਾ",
|
||||
"pl": "Korona islandzka",
|
||||
"pt": "coroa islandesa",
|
||||
"ro": "Coroană islandeză",
|
||||
"ro": "coroană islandeză",
|
||||
"ru": "исландская крона",
|
||||
"sk": "Islandská koruna",
|
||||
"sl": "islandska krona",
|
||||
@@ -2827,7 +2827,7 @@
|
||||
"pa": "ਕਿਰਗਿਜ਼ਸਤਾਨੀ ਸੋਮ",
|
||||
"pl": "som",
|
||||
"pt": "som",
|
||||
"ro": "som kîrgîz",
|
||||
"ro": "som",
|
||||
"ru": "киргизский сом",
|
||||
"sk": "kyrgyzský som",
|
||||
"sl": "kirgiški som",
|
||||
@@ -3516,6 +3516,7 @@
|
||||
"en": "kyat",
|
||||
"eo": "birma kjato",
|
||||
"es": "Kyat birmano",
|
||||
"eu": "kyat",
|
||||
"fi": "Myanmarin kyat",
|
||||
"fr": "Kyat",
|
||||
"ga": "kyat Mhaenmar",
|
||||
@@ -3576,7 +3577,7 @@
|
||||
"sk": "Mongolský tugrik",
|
||||
"sl": "tugrik",
|
||||
"sr": "монголски тугрик",
|
||||
"sv": "Mongolisk Tögrög",
|
||||
"sv": "mongolisk tögrög",
|
||||
"th": "ทูกรีก",
|
||||
"tr": "Tögrög",
|
||||
"tt": "төгрөг",
|
||||
@@ -4127,7 +4128,7 @@
|
||||
"oc": "Dolar neozelandés",
|
||||
"pl": "dolar nowozelandzki",
|
||||
"pt": "dólar neozelandês",
|
||||
"ro": "Dolar neozeelandez",
|
||||
"ro": "dolar neozeelandez",
|
||||
"ru": "новозеландский доллар",
|
||||
"sk": "Novozélandský dolár",
|
||||
"sl": "novozelandski dolar",
|
||||
@@ -4226,7 +4227,7 @@
|
||||
"es": "sol",
|
||||
"eu": "Sol",
|
||||
"fi": "Perun nuevo sol",
|
||||
"fr": "nouveau sol",
|
||||
"fr": "sol",
|
||||
"ga": "nuevo sol Pheiriú",
|
||||
"gl": "Nuevo sol",
|
||||
"he": "סול",
|
||||
@@ -4234,7 +4235,7 @@
|
||||
"hu": "perui új sol",
|
||||
"id": "Nuevo Sol",
|
||||
"it": "Nuevo Sol peruviano",
|
||||
"ja": "ヌエボ・ソル",
|
||||
"ja": "ソル",
|
||||
"ko": "페루 솔",
|
||||
"lt": "Naujasis solis",
|
||||
"lv": "Peru sols",
|
||||
@@ -4526,7 +4527,7 @@
|
||||
"nl": "Qatarese rial",
|
||||
"oc": "Riyal qatarita",
|
||||
"pa": "ਕਤਰੀ ਰਿਆਲ",
|
||||
"pl": "Rial Kataru",
|
||||
"pl": "Rial katarski",
|
||||
"pt": "Rial catarense",
|
||||
"ru": "катарский риал",
|
||||
"sk": "katarský rijál",
|
||||
@@ -5571,6 +5572,7 @@
|
||||
"en": "Tanzanian shilling",
|
||||
"eo": "tanzania ŝilingo",
|
||||
"es": "chelín tanzano",
|
||||
"eu": "Txelin tanzaniar",
|
||||
"fi": "Tansanian šillinki",
|
||||
"fr": "shilling tanzanien",
|
||||
"ga": "scilling na Tansáine",
|
||||
@@ -5814,8 +5816,8 @@
|
||||
"uk": "узбецький сом"
|
||||
},
|
||||
"VED": {
|
||||
"en": "Digital bolívar",
|
||||
"es": "Bolívar digital",
|
||||
"en": "digital bolívar",
|
||||
"es": "bolívar digital",
|
||||
"fr": "bolivar numérique",
|
||||
"pt": "Bolívar digital",
|
||||
"ro": "Bolivar digital"
|
||||
@@ -6576,7 +6578,7 @@
|
||||
"Rs": "LKR",
|
||||
"R₣": "RWF",
|
||||
"S$": "SGD",
|
||||
"S/.": "PEN",
|
||||
"S/": "PEN",
|
||||
"SI$": "SBD",
|
||||
"SM": "TJS",
|
||||
"SR": "SAR",
|
||||
@@ -8731,7 +8733,6 @@
|
||||
"franc djiboutià": "DJF",
|
||||
"franc djiboutien": "DJF",
|
||||
"franc elvețian": "CHF",
|
||||
"franc elveţian": "CHF",
|
||||
"franc guinea": "GNF",
|
||||
"franc guinean": "GNF",
|
||||
"franc guineà": "GNF",
|
||||
@@ -8759,6 +8760,7 @@
|
||||
"franc switze": "CHF",
|
||||
"franc thụy sĩ": "CHF",
|
||||
"franchi svizzeri": "CHF",
|
||||
"franci elvețieni": "CHF",
|
||||
"franco": [
|
||||
"XPF",
|
||||
"XAF",
|
||||
@@ -9723,11 +9725,13 @@
|
||||
"kwd": "KWD",
|
||||
"kwt": "KWD",
|
||||
"kyat": "MMK",
|
||||
"kyat birmaniar": "MMK",
|
||||
"kyat birmano": "MMK",
|
||||
"kyat birmà": "MMK",
|
||||
"kyat mhaenmar": "MMK",
|
||||
"kyat myanma": "MMK",
|
||||
"kyat myanmar": "MMK",
|
||||
"kyat myanmartar": "MMK",
|
||||
"kyd": "KYD",
|
||||
"kyrgyz som": "KGS",
|
||||
"kyrgyzský som": "KGS",
|
||||
@@ -11148,6 +11152,7 @@
|
||||
"pyg": "PYG",
|
||||
"pумънски лей": "RON",
|
||||
"pумынский лей": "RON",
|
||||
"q8146": "JPY",
|
||||
"qar": "QAR",
|
||||
"qatar riyal": "QAR",
|
||||
"qatarese rial": "QAR",
|
||||
@@ -11259,7 +11264,6 @@
|
||||
"rial irański": "IRR",
|
||||
"rial jemeński": "YER",
|
||||
"rial katarski": "QAR",
|
||||
"rial kataru": "QAR",
|
||||
"rial na hiaráine": "IRR",
|
||||
"rial oman": "OMR",
|
||||
"rial omanais": "OMR",
|
||||
@@ -11832,6 +11836,7 @@
|
||||
"sol peruano": "PEN",
|
||||
"sol peruviano": "PEN",
|
||||
"sol perú": "PEN",
|
||||
"sol péruvien": "PEN",
|
||||
"solomon adaları doları": "SBD",
|
||||
"solomon dollar": "SBD",
|
||||
"solomon islands dollar": "SBD",
|
||||
@@ -11846,6 +11851,7 @@
|
||||
"som de l'uzbekistan": "UZS",
|
||||
"som del kirguizistan": "KGS",
|
||||
"som do quirguistão": "KGS",
|
||||
"som kârgâz": "KGS",
|
||||
"som kirghiso": "KGS",
|
||||
"som kirghiz": "KGS",
|
||||
"som kirghizo": "KGS",
|
||||
@@ -12154,6 +12160,7 @@
|
||||
"INR",
|
||||
"BDT"
|
||||
],
|
||||
"taka 12272": "BDT",
|
||||
"taka bangladese": "BDT",
|
||||
"taka bangladesh": "BDT",
|
||||
"taka bangladeshi": "BDT",
|
||||
@@ -12419,6 +12426,7 @@
|
||||
"CZK",
|
||||
"203"
|
||||
],
|
||||
"txelin tanzaniar": "TZS",
|
||||
"tyrkisk lira": "TRY",
|
||||
"tzs": "TZS",
|
||||
"ṭākā": "BDT",
|
||||
@@ -12520,7 +12528,6 @@
|
||||
"uruguayischer peso": "UYU",
|
||||
"uruguayn peso": "UYU",
|
||||
"uruguayské peso": "UYU",
|
||||
"uruguyansk peso": "UYU",
|
||||
"urugvaja peso": "UYU",
|
||||
"urugvajaus pesas": "UYU",
|
||||
"urugvajski peso": "UYU",
|
||||
@@ -15724,6 +15731,7 @@
|
||||
"지부티프랑": "DJF",
|
||||
"지브롤터 파운드": "GIP",
|
||||
"짐바브웨 골드": "ZWG",
|
||||
"짐바브웨 달러": "ZWL",
|
||||
"짯": "MMK",
|
||||
"챠트": "MMK",
|
||||
"체코 코루나": [
|
||||
@@ -15821,10 +15829,7 @@
|
||||
"STN",
|
||||
"CRC"
|
||||
],
|
||||
"₣": [
|
||||
"XPF",
|
||||
"RWF"
|
||||
],
|
||||
"₣": "XPF",
|
||||
"₤": "GBP",
|
||||
"₦": "NGN",
|
||||
"₨": [
|
||||
@@ -15857,6 +15862,9 @@
|
||||
"⃀": "KGS",
|
||||
"": "SAR",
|
||||
"": "MVR",
|
||||
"": "AED",
|
||||
"": "OMR",
|
||||
"": "BYN",
|
||||
"〒": "KZT",
|
||||
"アイスランドクローナ": "ISK",
|
||||
"アイスランド・クローナ": "ISK",
|
||||
@@ -15998,6 +16006,7 @@
|
||||
"ソマリア・シリング": "SOS",
|
||||
"ソム": "KGS",
|
||||
"ソモニ": "TJS",
|
||||
"ソル": "PEN",
|
||||
"ソロモン諸島ドル": "SBD",
|
||||
"ソロモン諸島・ドル": "SBD",
|
||||
"ダラシ": "GMD",
|
||||
@@ -16189,10 +16198,8 @@
|
||||
"香港ドル": "HKD",
|
||||
"香港・ドル": "HKD",
|
||||
"香港元": "HKD",
|
||||
"﷼": [
|
||||
"YER",
|
||||
"IRR"
|
||||
],
|
||||
"﷼'": "YER"
|
||||
"﷼": "IRR",
|
||||
"﷼'": "YER",
|
||||
"💶": "EUR"
|
||||
}
|
||||
}
|
||||
+2651
-1325
File diff suppressed because it is too large
Load Diff
@@ -7280,6 +7280,7 @@
|
||||
"hu": "hungarian",
|
||||
"hy": "armenian",
|
||||
"id": "indonesian",
|
||||
"ig": "igbo",
|
||||
"is": "icelandic",
|
||||
"it": "italian",
|
||||
"ja": "japanese",
|
||||
@@ -7335,6 +7336,7 @@
|
||||
"ta": "tamil",
|
||||
"te": "telugu",
|
||||
"th": "thai",
|
||||
"ti": "tigrinya",
|
||||
"tk": "turkmen",
|
||||
"tr": "turkish",
|
||||
"tt": "tatar",
|
||||
@@ -7342,6 +7344,7 @@
|
||||
"ur": "urdu",
|
||||
"uz": "uzbek",
|
||||
"vi": "vietnamese",
|
||||
"wo": "wolof",
|
||||
"xh": "xhosa",
|
||||
"yi": "yiddish",
|
||||
"yo": "yoruba",
|
||||
|
||||
+3876
-3876
File diff suppressed because it is too large
Load Diff
+2286
-2661
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,7 @@
|
||||
],
|
||||
"ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}",
|
||||
"versions": [
|
||||
"149.0",
|
||||
"148.0"
|
||||
"150.0",
|
||||
"149.0"
|
||||
]
|
||||
}
|
||||
+333
-158
@@ -194,6 +194,11 @@
|
||||
"symbol": "cm⁻³",
|
||||
"to_si_factor": 1000000.0
|
||||
},
|
||||
"Q102129592": {
|
||||
"si_name": "Q6137407",
|
||||
"symbol": "d⁻¹",
|
||||
"to_si_factor": 1.15741e-05
|
||||
},
|
||||
"Q102130673": {
|
||||
"si_name": "Q182429",
|
||||
"symbol": "ym/s",
|
||||
@@ -429,6 +434,11 @@
|
||||
"symbol": "mtpa",
|
||||
"to_si_factor": 31.709791984
|
||||
},
|
||||
"Q104381302": {
|
||||
"si_name": "Q104381302",
|
||||
"symbol": "W/m³",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q104628312": {
|
||||
"si_name": "Q25269",
|
||||
"symbol": "vars",
|
||||
@@ -1499,11 +1509,6 @@
|
||||
"symbol": "kg m²/(s² K)",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q106725578": {
|
||||
"si_name": "Q106725578",
|
||||
"symbol": "m²/(s² K)",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q106740890": {
|
||||
"si_name": "Q106740890",
|
||||
"symbol": "m²/s²",
|
||||
@@ -1654,11 +1659,6 @@
|
||||
"symbol": "N/mm",
|
||||
"to_si_factor": 1000.0
|
||||
},
|
||||
"Q106886424": {
|
||||
"si_name": "Q215571",
|
||||
"symbol": "kgf m",
|
||||
"to_si_factor": 9.80665
|
||||
},
|
||||
"Q106886632": {
|
||||
"si_name": "Q44395",
|
||||
"symbol": "hbar",
|
||||
@@ -1764,6 +1764,16 @@
|
||||
"symbol": "kg/(m⁴ s)",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q107059005": {
|
||||
"si_name": "Q69425409",
|
||||
"symbol": "A h/dm³",
|
||||
"to_si_factor": 3600000.0
|
||||
},
|
||||
"Q107059365": {
|
||||
"si_name": "Q97541209",
|
||||
"symbol": "A h/kg",
|
||||
"to_si_factor": 3600.0
|
||||
},
|
||||
"Q107095937": {
|
||||
"si_name": "Q107095937",
|
||||
"symbol": "kg m²/(s² mol)",
|
||||
@@ -2074,6 +2084,11 @@
|
||||
"symbol": "rem/s",
|
||||
"to_si_factor": 0.01
|
||||
},
|
||||
"Q107378429": {
|
||||
"si_name": "Q11547252",
|
||||
"symbol": "1/in²",
|
||||
"to_si_factor": 1550.0
|
||||
},
|
||||
"Q107378436": {
|
||||
"si_name": "Q11547251",
|
||||
"symbol": "Å⁻¹",
|
||||
@@ -2279,6 +2294,11 @@
|
||||
"symbol": "b/sr",
|
||||
"to_si_factor": 1e-28
|
||||
},
|
||||
"Q107611142": {
|
||||
"si_name": "Q98267267",
|
||||
"symbol": "b/eV",
|
||||
"to_si_factor": 6.24151e-10
|
||||
},
|
||||
"Q107611199": {
|
||||
"si_name": "Q98267267",
|
||||
"symbol": "cm²/erg",
|
||||
@@ -2294,11 +2314,96 @@
|
||||
"symbol": "cm²/(sr erg)",
|
||||
"to_si_factor": 1000.0
|
||||
},
|
||||
"Q107821494": {
|
||||
"si_name": null,
|
||||
"symbol": "bit/m³",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q107822428": {
|
||||
"si_name": null,
|
||||
"symbol": "bit/m",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q107824325": {
|
||||
"si_name": null,
|
||||
"symbol": "bit/m²",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q107862770": {
|
||||
"si_name": null,
|
||||
"symbol": "Kibit/m",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q107862783": {
|
||||
"si_name": null,
|
||||
"symbol": "Kibit/m",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q107862850": {
|
||||
"si_name": null,
|
||||
"symbol": "Kibit/m³",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q107862870": {
|
||||
"si_name": null,
|
||||
"symbol": "Mibit/m",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q107862884": {
|
||||
"si_name": null,
|
||||
"symbol": "Mibit/m²",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q107862898": {
|
||||
"si_name": null,
|
||||
"symbol": "Mibit/m³",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q107970215": {
|
||||
"si_name": null,
|
||||
"symbol": "Pibit/m",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q107970224": {
|
||||
"si_name": null,
|
||||
"symbol": "Pibit/m²",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q107970230": {
|
||||
"si_name": null,
|
||||
"symbol": "Pibit/m³",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q107970235": {
|
||||
"si_name": null,
|
||||
"symbol": "Tibit/m",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q107970256": {
|
||||
"si_name": null,
|
||||
"symbol": "Tibit/m³",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q107970266": {
|
||||
"si_name": null,
|
||||
"symbol": "Tibit/m²",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q108270163": {
|
||||
"si_name": "Q25381181",
|
||||
"symbol": "t/a",
|
||||
"to_si_factor": 3.169e-05
|
||||
},
|
||||
"Q1084321": {
|
||||
"si_name": null,
|
||||
"symbol": "Tb/s",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q108533173": {
|
||||
"si_name": "Q108533173",
|
||||
"symbol": "sr⁻¹",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q1086691": {
|
||||
"si_name": null,
|
||||
"symbol": "fg",
|
||||
@@ -2359,6 +2464,11 @@
|
||||
"symbol": "e.u.",
|
||||
"to_si_factor": 4.184
|
||||
},
|
||||
"Q109448508": {
|
||||
"si_name": null,
|
||||
"symbol": "man-Sv",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q1098949": {
|
||||
"si_name": "Q21393312",
|
||||
"symbol": "Cl",
|
||||
@@ -2389,14 +2499,9 @@
|
||||
"symbol": "nm²",
|
||||
"to_si_factor": 1e-18
|
||||
},
|
||||
"Q110742003": {
|
||||
"si_name": null,
|
||||
"symbol": "dppx",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q110812007": {
|
||||
"si_name": "Q281096",
|
||||
"symbol": "nt",
|
||||
"Q111494193": {
|
||||
"si_name": "Q111494193",
|
||||
"symbol": "J/(Hz mol)",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q11229": {
|
||||
@@ -2444,6 +2549,11 @@
|
||||
"symbol": "Yb",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q114559346": {
|
||||
"si_name": null,
|
||||
"symbol": "g CO2e/kWh",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q114589269": {
|
||||
"si_name": null,
|
||||
"symbol": "Ѧ",
|
||||
@@ -2564,11 +2674,21 @@
|
||||
"symbol": "ʰ",
|
||||
"to_si_factor": 0.2617993878
|
||||
},
|
||||
"Q116486875": {
|
||||
"si_name": null,
|
||||
"symbol": "mol(-1) s(-1)",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q1165639": {
|
||||
"si_name": "Q89992008",
|
||||
"symbol": "daraf",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q1165725": {
|
||||
"si_name": "Q25343",
|
||||
"symbol": "D",
|
||||
"to_si_factor": 9.869e-13
|
||||
},
|
||||
"Q1165799": {
|
||||
"si_name": "Q11573",
|
||||
"symbol": "mil",
|
||||
@@ -2754,11 +2874,6 @@
|
||||
"symbol": "pc",
|
||||
"to_si_factor": 3.085677581491367e+16
|
||||
},
|
||||
"Q121960323": {
|
||||
"si_name": "Q121960323",
|
||||
"symbol": "m/m",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q121965382": {
|
||||
"si_name": "Q121965382",
|
||||
"symbol": "mol/mol",
|
||||
@@ -2979,26 +3094,6 @@
|
||||
"symbol": "QC",
|
||||
"to_si_factor": 1e+30
|
||||
},
|
||||
"Q125471199": {
|
||||
"si_name": null,
|
||||
"symbol": "r°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q125471200": {
|
||||
"si_name": null,
|
||||
"symbol": "q°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q125471246": {
|
||||
"si_name": null,
|
||||
"symbol": "R°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q125471247": {
|
||||
"si_name": null,
|
||||
"symbol": "Q°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q125471334": {
|
||||
"si_name": "Q131255",
|
||||
"symbol": "rF",
|
||||
@@ -3179,6 +3274,11 @@
|
||||
"symbol": "STf",
|
||||
"to_si_factor": 8896.443230521
|
||||
},
|
||||
"Q131966422": {
|
||||
"si_name": "Q11573",
|
||||
"symbol": "Q",
|
||||
"to_si_factor": 0.00025
|
||||
},
|
||||
"Q1322380": {
|
||||
"si_name": "Q11574",
|
||||
"symbol": "Ts",
|
||||
@@ -3274,6 +3374,11 @@
|
||||
"symbol": "kgf/cm²",
|
||||
"to_si_factor": 98066.5
|
||||
},
|
||||
"Q135964483": {
|
||||
"si_name": "Q11547252",
|
||||
"symbol": "mm⁻²",
|
||||
"to_si_factor": 1e-06
|
||||
},
|
||||
"Q136039973": {
|
||||
"si_name": null,
|
||||
"symbol": "FPS",
|
||||
@@ -3324,6 +3429,36 @@
|
||||
"symbol": "V_P",
|
||||
"to_si_factor": 1.0429e+27
|
||||
},
|
||||
"Q1386162": {
|
||||
"si_name": "Q106680668",
|
||||
"symbol": "E",
|
||||
"to_si_factor": 1e-09
|
||||
},
|
||||
"Q138847616": {
|
||||
"si_name": "Q11573",
|
||||
"symbol": "µm⁻¹",
|
||||
"to_si_factor": 1000000.0
|
||||
},
|
||||
"Q138847643": {
|
||||
"si_name": "Q11547251",
|
||||
"symbol": "nm⁻¹",
|
||||
"to_si_factor": 1000000000.0
|
||||
},
|
||||
"Q138847654": {
|
||||
"si_name": "Q11547251",
|
||||
"symbol": "pm⁻¹",
|
||||
"to_si_factor": 1000000000000.0
|
||||
},
|
||||
"Q139054848": {
|
||||
"si_name": null,
|
||||
"symbol": "A·h/m²",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q139086088": {
|
||||
"si_name": "Q69425409",
|
||||
"symbol": "A h/m³",
|
||||
"to_si_factor": 3600.0
|
||||
},
|
||||
"Q1394540": {
|
||||
"si_name": null,
|
||||
"symbol": "bm",
|
||||
@@ -3674,6 +3809,11 @@
|
||||
"symbol": "dl",
|
||||
"to_si_factor": 0.0001
|
||||
},
|
||||
"Q18379097": {
|
||||
"si_name": "Q95375885",
|
||||
"symbol": "SFU",
|
||||
"to_si_factor": 1e-22
|
||||
},
|
||||
"Q18413919": {
|
||||
"si_name": "Q182429",
|
||||
"symbol": "cm/s",
|
||||
@@ -3709,6 +3849,11 @@
|
||||
"symbol": "zs",
|
||||
"to_si_factor": 1e-21
|
||||
},
|
||||
"Q188768": {
|
||||
"si_name": null,
|
||||
"symbol": "FLOPS",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q190095": {
|
||||
"si_name": "Q190095",
|
||||
"symbol": "Gy",
|
||||
@@ -4124,6 +4269,11 @@
|
||||
"symbol": "kgf",
|
||||
"to_si_factor": 9.80665
|
||||
},
|
||||
"Q21719454": {
|
||||
"si_name": "Q21719454",
|
||||
"symbol": "m/s³",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q217208": {
|
||||
"si_name": "Q11574",
|
||||
"symbol": "a",
|
||||
@@ -4234,6 +4384,16 @@
|
||||
"symbol": "TW",
|
||||
"to_si_factor": 1000000000000.0
|
||||
},
|
||||
"Q23893259": {
|
||||
"si_name": null,
|
||||
"symbol": "1/(p y)",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q23893296": {
|
||||
"si_name": null,
|
||||
"symbol": "1/100000py",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q23925410": {
|
||||
"si_name": "Q25517",
|
||||
"symbol": "gal (UK)",
|
||||
@@ -4374,6 +4534,11 @@
|
||||
"symbol": "statΩ",
|
||||
"to_si_factor": 898755178700.0
|
||||
},
|
||||
"Q25325238": {
|
||||
"si_name": null,
|
||||
"symbol": "bhp/cm³",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q253276": {
|
||||
"si_name": "Q11573",
|
||||
"symbol": "mi",
|
||||
@@ -4719,6 +4884,11 @@
|
||||
"symbol": "g",
|
||||
"to_si_factor": 9.80665
|
||||
},
|
||||
"Q28657331": {
|
||||
"si_name": null,
|
||||
"symbol": "erg/(s cm²)",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q28683485": {
|
||||
"si_name": "Q28683485",
|
||||
"symbol": "C/kg",
|
||||
@@ -4749,6 +4919,11 @@
|
||||
"symbol": "mH",
|
||||
"to_si_factor": 0.001
|
||||
},
|
||||
"Q29463526": {
|
||||
"si_name": null,
|
||||
"symbol": "hr/yr",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q296936": {
|
||||
"si_name": "Q25269",
|
||||
"symbol": "toe",
|
||||
@@ -4969,6 +5144,11 @@
|
||||
"symbol": "μA",
|
||||
"to_si_factor": 1e-06
|
||||
},
|
||||
"Q3186734": {
|
||||
"si_name": "Q3186734",
|
||||
"symbol": "J/(m³ K)",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q31889818": {
|
||||
"si_name": "Q199",
|
||||
"symbol": "ppq",
|
||||
@@ -4979,6 +5159,11 @@
|
||||
"symbol": "kb",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q3196665": {
|
||||
"si_name": "Q215571",
|
||||
"symbol": "kgf m",
|
||||
"to_si_factor": 9.80665
|
||||
},
|
||||
"Q3207456": {
|
||||
"si_name": "Q25236",
|
||||
"symbol": "mW",
|
||||
@@ -5084,11 +5269,6 @@
|
||||
"symbol": "fL",
|
||||
"to_si_factor": 1e-18
|
||||
},
|
||||
"Q3320608": {
|
||||
"si_name": "Q25236",
|
||||
"symbol": "kW",
|
||||
"to_si_factor": 1000.0
|
||||
},
|
||||
"Q3331719": {
|
||||
"si_name": "Q25343",
|
||||
"symbol": "dma",
|
||||
@@ -5219,6 +5399,11 @@
|
||||
"symbol": "mA⋅h",
|
||||
"to_si_factor": 3.6
|
||||
},
|
||||
"Q38623562": {
|
||||
"si_name": "Q6137407",
|
||||
"symbol": "rpm",
|
||||
"to_si_factor": 0.0166667
|
||||
},
|
||||
"Q3867152": {
|
||||
"si_name": "Q1051665",
|
||||
"symbol": "ft/s²",
|
||||
@@ -5389,6 +5574,11 @@
|
||||
"symbol": "nhp",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q4346600": {
|
||||
"si_name": null,
|
||||
"symbol": "PPHPD",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q4406": {
|
||||
"si_name": null,
|
||||
"symbol": "$T",
|
||||
@@ -5569,11 +5759,6 @@
|
||||
"symbol": "Ga",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q5299480": {
|
||||
"si_name": null,
|
||||
"symbol": "DPCm",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q531": {
|
||||
"si_name": "Q11573",
|
||||
"symbol": "l.y.",
|
||||
@@ -6254,6 +6439,11 @@
|
||||
"symbol": "U/L",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q5558595": {
|
||||
"si_name": null,
|
||||
"symbol": "GFLOPS",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q55663153": {
|
||||
"si_name": "Q55663153",
|
||||
"symbol": "H/m",
|
||||
@@ -6364,6 +6554,11 @@
|
||||
"symbol": "L/kg",
|
||||
"to_si_factor": 0.001
|
||||
},
|
||||
"Q57175652": {
|
||||
"si_name": null,
|
||||
"symbol": "m3/year/individual",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q57273614": {
|
||||
"si_name": "Q182429",
|
||||
"symbol": "mm/min",
|
||||
@@ -6374,6 +6569,11 @@
|
||||
"symbol": "d",
|
||||
"to_si_factor": 86400.0
|
||||
},
|
||||
"Q57306331": {
|
||||
"si_name": "Q86200529",
|
||||
"symbol": "cm²/g",
|
||||
"to_si_factor": 0.1
|
||||
},
|
||||
"Q577": {
|
||||
"si_name": "Q11574",
|
||||
"symbol": "a",
|
||||
@@ -6624,6 +6824,21 @@
|
||||
"symbol": "UK t",
|
||||
"to_si_factor": 1016.0469088
|
||||
},
|
||||
"Q66778234": {
|
||||
"si_name": null,
|
||||
"symbol": "TFLOPS",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q66778809": {
|
||||
"si_name": null,
|
||||
"symbol": "MFLOPS",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q66778863": {
|
||||
"si_name": null,
|
||||
"symbol": "PFLOPS",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q67060736": {
|
||||
"si_name": "Q67060736",
|
||||
"symbol": "W/kg",
|
||||
@@ -7014,11 +7229,6 @@
|
||||
"symbol": "Mb/s",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q7398951": {
|
||||
"si_name": null,
|
||||
"symbol": "PPI",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q743895": {
|
||||
"si_name": "Q39369",
|
||||
"symbol": "bpm",
|
||||
@@ -7084,6 +7294,21 @@
|
||||
"symbol": "Td",
|
||||
"to_si_factor": 1e-06
|
||||
},
|
||||
"Q78053467": {
|
||||
"si_name": null,
|
||||
"symbol": "kFLOPS",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q781545": {
|
||||
"si_name": null,
|
||||
"symbol": "phon",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q78336909": {
|
||||
"si_name": "Q78336909",
|
||||
"symbol": "m³/(kg s²)",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q7854897": {
|
||||
"si_name": null,
|
||||
"symbol": "mya",
|
||||
@@ -7209,6 +7434,11 @@
|
||||
"symbol": "YiB",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q80026587": {
|
||||
"si_name": "Q6137407",
|
||||
"symbol": "km/(s Mpc)",
|
||||
"to_si_factor": 3.24078e-20
|
||||
},
|
||||
"Q80237579": {
|
||||
"si_name": "Q56023789",
|
||||
"symbol": "J/nm",
|
||||
@@ -7264,6 +7494,11 @@
|
||||
"symbol": "B/s",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q82440913": {
|
||||
"si_name": null,
|
||||
"symbol": "L/100 km",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q828224": {
|
||||
"si_name": "Q11573",
|
||||
"symbol": "km",
|
||||
@@ -7349,6 +7584,11 @@
|
||||
"symbol": "thm (US)",
|
||||
"to_si_factor": 105480400.0
|
||||
},
|
||||
"Q843877": {
|
||||
"si_name": "Q25236",
|
||||
"symbol": "L☉",
|
||||
"to_si_factor": 3.828e+26
|
||||
},
|
||||
"Q844211": {
|
||||
"si_name": "Q844211",
|
||||
"symbol": "kg/m³",
|
||||
@@ -7424,6 +7664,11 @@
|
||||
"symbol": "Pa s/m³",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q87049028": {
|
||||
"si_name": "Q87049028",
|
||||
"symbol": "N s/m",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q87051580": {
|
||||
"si_name": "Q87051580",
|
||||
"symbol": "Pa s/m",
|
||||
@@ -7564,6 +7809,11 @@
|
||||
"symbol": "J/s",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q92717607": {
|
||||
"si_name": "Q92717607",
|
||||
"symbol": "K/m",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q93318": {
|
||||
"si_name": "Q11573",
|
||||
"symbol": "M",
|
||||
@@ -7584,6 +7834,16 @@
|
||||
"symbol": "gill (UK)",
|
||||
"to_si_factor": 0.000142
|
||||
},
|
||||
"Q93868873": {
|
||||
"si_name": null,
|
||||
"symbol": "mpg",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q93871856": {
|
||||
"si_name": null,
|
||||
"symbol": "km/L",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q93947085": {
|
||||
"si_name": "Q93947085",
|
||||
"symbol": "K/Pa",
|
||||
@@ -8899,11 +9159,6 @@
|
||||
"symbol": "ET",
|
||||
"to_si_factor": 1e+18
|
||||
},
|
||||
"Q96070276": {
|
||||
"si_name": null,
|
||||
"symbol": "m°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q96070318": {
|
||||
"si_name": "Q177612",
|
||||
"symbol": "dsr",
|
||||
@@ -8959,21 +9214,6 @@
|
||||
"symbol": "Gsr",
|
||||
"to_si_factor": 1000000000.0
|
||||
},
|
||||
"Q96095941": {
|
||||
"si_name": null,
|
||||
"symbol": "μ°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q96095955": {
|
||||
"si_name": null,
|
||||
"symbol": "n°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q96095960": {
|
||||
"si_name": null,
|
||||
"symbol": "k°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q96106290": {
|
||||
"si_name": "Q177612",
|
||||
"symbol": "Tsr",
|
||||
@@ -8999,41 +9239,11 @@
|
||||
"symbol": "Ysr",
|
||||
"to_si_factor": 1e+24
|
||||
},
|
||||
"Q96106346": {
|
||||
"si_name": null,
|
||||
"symbol": "c°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q96106360": {
|
||||
"si_name": null,
|
||||
"symbol": "d°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q96106368": {
|
||||
"si_name": null,
|
||||
"symbol": "da°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q96106385": {
|
||||
"si_name": null,
|
||||
"symbol": "h°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q96106393": {
|
||||
"si_name": null,
|
||||
"symbol": "M°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q96192470": {
|
||||
"si_name": "Q96192470",
|
||||
"symbol": "W/m",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q96236286": {
|
||||
"si_name": null,
|
||||
"symbol": "G°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q96309077": {
|
||||
"si_name": "Q96309077",
|
||||
"symbol": "S m²/mol",
|
||||
@@ -9044,56 +9254,6 @@
|
||||
"symbol": "μas",
|
||||
"to_si_factor": 4.848136811095356e-12
|
||||
},
|
||||
"Q97059641": {
|
||||
"si_name": null,
|
||||
"symbol": "p°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q97059652": {
|
||||
"si_name": null,
|
||||
"symbol": "T°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q97143826": {
|
||||
"si_name": null,
|
||||
"symbol": "P°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q97143831": {
|
||||
"si_name": null,
|
||||
"symbol": "y°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q97143835": {
|
||||
"si_name": null,
|
||||
"symbol": "f°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q97143838": {
|
||||
"si_name": null,
|
||||
"symbol": "Z°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q97143842": {
|
||||
"si_name": null,
|
||||
"symbol": "E°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q97143843": {
|
||||
"si_name": null,
|
||||
"symbol": "z°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q97143849": {
|
||||
"si_name": null,
|
||||
"symbol": "Y°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q97143851": {
|
||||
"si_name": null,
|
||||
"symbol": "a°C",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q97540991": {
|
||||
"si_name": "Q97540991",
|
||||
"symbol": "A m²/(J s)",
|
||||
@@ -9114,6 +9274,11 @@
|
||||
"symbol": "Bq/m³",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q98103135": {
|
||||
"si_name": "Q98103135",
|
||||
"symbol": "Bq/m²",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q98266832": {
|
||||
"si_name": "Q98266832",
|
||||
"symbol": "m²/sr",
|
||||
@@ -9139,6 +9304,11 @@
|
||||
"symbol": "eV/m²",
|
||||
"to_si_factor": 1.60218e-19
|
||||
},
|
||||
"Q98635536": {
|
||||
"si_name": "Q56023789",
|
||||
"symbol": "eV/m",
|
||||
"to_si_factor": 1.602176634e-19
|
||||
},
|
||||
"Q98642859": {
|
||||
"si_name": "Q98643033",
|
||||
"symbol": "eV m²/kg",
|
||||
@@ -9169,6 +9339,11 @@
|
||||
"symbol": "m⁻³ s⁻¹",
|
||||
"to_si_factor": 1.0
|
||||
},
|
||||
"Q98974322": {
|
||||
"si_name": null,
|
||||
"symbol": "W yr/(m² kg)",
|
||||
"to_si_factor": null
|
||||
},
|
||||
"Q99476928": {
|
||||
"si_name": "Q12438",
|
||||
"symbol": "gf",
|
||||
|
||||
+13
-11
@@ -32,7 +32,7 @@ import msgspec
|
||||
from searx import logger as log
|
||||
|
||||
WHITESPACE_REGEX = re.compile('( |\t|\n)+', re.M | re.U)
|
||||
UNKNOWN = object()
|
||||
UNSET = object()
|
||||
|
||||
|
||||
def _normalize_url_fields(result: "Result | LegacyResult"):
|
||||
@@ -326,12 +326,13 @@ class Result(msgspec.Struct, kw_only=True):
|
||||
|
||||
def defaults_from(self, other: "Result"):
|
||||
"""Fields not set in *self* will be updated from the field values of the
|
||||
*other*.
|
||||
*other*. If a field is set (exists) but contains an empty string
|
||||
or the value ``None``, it is also considered *not set*.
|
||||
"""
|
||||
for field_name in self.__struct_fields__:
|
||||
self_val = getattr(self, field_name, False)
|
||||
other_val = getattr(other, field_name, False)
|
||||
if self_val:
|
||||
self_val = getattr(self, field_name, UNSET)
|
||||
other_val = getattr(other, field_name, UNSET)
|
||||
if self_val is UNSET and other_val not in (UNSET, "", None):
|
||||
setattr(self, field_name, other_val)
|
||||
|
||||
|
||||
@@ -440,8 +441,6 @@ class LegacyResult(dict[str, t.Any]):
|
||||
Do not use this class in your own implementations!
|
||||
"""
|
||||
|
||||
UNSET: object = object()
|
||||
|
||||
# emulate field types from type class Result
|
||||
url: str | None
|
||||
template: str
|
||||
@@ -512,7 +511,7 @@ class LegacyResult(dict[str, t.Any]):
|
||||
)
|
||||
|
||||
def __getattr__(self, name: str, default: t.Any = UNSET) -> t.Any:
|
||||
if default == self.UNSET and name not in self:
|
||||
if default == UNSET and name not in self:
|
||||
raise AttributeError(f"LegacyResult object has no field named: {name}")
|
||||
return self[name]
|
||||
|
||||
@@ -563,9 +562,12 @@ class LegacyResult(dict[str, t.Any]):
|
||||
self.engines.add(self.engine)
|
||||
|
||||
def defaults_from(self, other: "LegacyResult"):
|
||||
for k, v in other.items():
|
||||
if not self.get(k):
|
||||
self[k] = v
|
||||
# If a field is set (exists) but contains an empty string or the value
|
||||
# ``None``, it is also considered *not set*.
|
||||
for field_name, other_val in other.items():
|
||||
self_val = self.get(field_name, UNSET)
|
||||
if self_val is UNSET and other_val not in ("", UNSET):
|
||||
self[field_name] = other_val
|
||||
|
||||
def filter_urls(self, filter_func: "Callable[[Result | LegacyResult, str, str], str | bool]"):
|
||||
"""See :py:obj:`Result.filter_urls`"""
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
|
||||
import{i as e,r as t,s as n}from"./Cs5Jkbkf.min.js";import{t as r}from"./DXl78Wnf.min.js";var i=async(i,a)=>{try{let o;o=n.method===`GET`?await t(`GET`,`./autocompleter?q=${a}`):await t(`POST`,`./autocompleter`,{body:new URLSearchParams({q:a})});let s=await o.json(),c=document.querySelector(`.autocomplete`);r(c);let l=document.querySelector(`.autocomplete ul`);if(r(l),c.classList.add(`open`),l.replaceChildren(),s?.[1]?.length===0){let e=Object.assign(document.createElement(`li`),{className:`no-item-found`,textContent:n.translations?.no_item_found??`No results found`});l.append(e);return}let u=new DocumentFragment;for(let t of s[1]){let n=Object.assign(document.createElement(`li`),{textContent:t});e(`mousedown`,n,()=>{i.value=t,document.querySelector(`#search`)?.submit()}),u.append(n)}l.append(u)}catch(e){console.error(`Error fetching autocomplete results:`,e)}},a=document.getElementById(`q`);r(a);var o;e(`input`,a,()=>{clearTimeout(o);let e=a.value,t=n.autocomplete_min??2;e.length<t||(o=window.setTimeout(async()=>{e===a.value&&await i(a,e)},300))});var s=document.querySelector(`.autocomplete`),c=document.querySelector(`.autocomplete ul`);c&&(e(`keydown`,a,e=>{e.key===`Escape`&&s?.classList.remove(`open`)}),e(`keyup`,a,e=>{let t=[...c.children],n=t.findIndex(e=>e.classList.contains(`active`)),r=-1;switch(e.key){case`ArrowUp`:{let e=t[n];e&&n>=0&&e.classList.remove(`active`),r=(n-1+t.length)%t.length;break}case`ArrowDown`:{let e=t[n];e&&n>=0&&e.classList.remove(`active`),r=(n+1)%t.length;break}case`Enter`:s&&s.classList.remove(`open`);break;default:break}if(r!==-1){let e=t[r];if(e&&(e.classList.add(`active`),!e.classList.contains(`no-item-found`))){let t=document.getElementById(`q`);t&&(t.value=e.textContent??``)}}}),e(`blur`,a,()=>{s?.classList.remove(`open`)}),e(`focus`,a,()=>{s?.classList.add(`open`)}));
|
||||
//# sourceMappingURL=BFSBs3g1.min.js.map
|
||||
@@ -1,2 +0,0 @@
|
||||
import{i as e}from"./Cs5Jkbkf.min.js";import{t}from"./vehLS1_D.min.js";var n=t(`search`),r=t(`q`),i=t(`clear_search`),a=window.matchMedia(`(max-width: 50em)`).matches,o=document.querySelector(`main`)?.id===`main_results`,s=Array.from(document.querySelectorAll(`#categories_container button.category`));r.value.length===0&&i.classList.add(`empty`),a||o||r.focus(),a&&e(`focus`,r,()=>{requestAnimationFrame(()=>{let e=r.value.length;r.setSelectionRange(e,e),r.scrollLeft=r.scrollWidth})}),e(`input`,r,()=>{i.classList.toggle(`empty`,r.value.length===0)}),e(`click`,i,e=>{e.preventDefault(),r.value=``,r.focus(),i.classList.add(`empty`)});for(let t of s)e(`click`,t,e=>{if(e.shiftKey){e.preventDefault(),t.classList.toggle(`selected`);return}for(let e of s)e.classList.toggle(`selected`,e===t)});if(document.querySelector(`div.search_filters`)){let t=document.getElementById(`safesearch`);t&&e(`change`,t,()=>n.submit());let r=document.getElementById(`time_range`);r&&e(`change`,r,()=>n.submit());let i=document.getElementById(`language`);i&&e(`change`,i,()=>n.submit())}e(`submit`,n,e=>{if(e.preventDefault(),s.length>0){let e=t(`selected-categories`);e.value=s.filter(e=>e.classList.contains(`selected`)).map(e=>e.name.replace(`category_`,``)).join(`,`)}n.submit()});
|
||||
//# sourceMappingURL=BG44gnGf.min.js.map
|
||||
@@ -0,0 +1,2 @@
|
||||
import{n as e}from"../sxng-core.min.js";import{t}from"./chlzpS6K.min.js";var n=t(`search`),r=t(`q`),i=t(`clear_search`),a=window.matchMedia(`(max-width: 50em)`).matches,o=document.querySelector(`main`)?.id===`main_results`,s=Array.from(document.querySelectorAll(`#categories_container button.category`));r.value.length===0&&i.classList.add(`empty`),a||o||r.focus(),a&&e(`focus`,r,()=>{requestAnimationFrame(()=>{let e=r.value.length;r.setSelectionRange(e,e),r.scrollLeft=r.scrollWidth})}),e(`input`,r,()=>{i.classList.toggle(`empty`,r.value.length===0)}),e(`click`,i,e=>{e.preventDefault(),r.value=``,r.focus(),i.classList.add(`empty`)});for(let t of s)e(`click`,t,e=>{if(e.shiftKey){e.preventDefault(),t.classList.toggle(`selected`);return}for(let e of s)e.classList.toggle(`selected`,e===t)});if(document.querySelector(`div.search_filters`)){let t=document.getElementById(`safesearch`);t&&e(`change`,t,()=>n.submit());let r=document.getElementById(`time_range`);r&&e(`change`,r,()=>n.submit());let i=document.getElementById(`language`);i&&e(`change`,i,()=>n.submit())}e(`submit`,n,e=>{if(e.preventDefault(),s.length>0){let e=t(`selected-categories`);e.value=s.filter(e=>e.classList.contains(`selected`)).map(e=>e.name.replace(`category_`,``)).join(`,`)}n.submit()});
|
||||
//# sourceMappingURL=BnP4vIuG.min.js.map
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"BG44gnGf.min.js","names":[],"sources":["../../../../../client/simple/src/js/main/search.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\nimport { listen } from \"../toolkit.ts\";\nimport { getElement } from \"../util/getElement.ts\";\n\nconst searchForm: HTMLFormElement = getElement<HTMLFormElement>(\"search\");\nconst searchInput: HTMLInputElement = getElement<HTMLInputElement>(\"q\");\nconst searchReset: HTMLButtonElement = getElement<HTMLButtonElement>(\"clear_search\");\n\nconst isMobile: boolean = window.matchMedia(\"(max-width: 50em)\").matches;\nconst isResultsPage: boolean = document.querySelector(\"main\")?.id === \"main_results\";\n\nconst categoryButtons: HTMLButtonElement[] = Array.from(\n document.querySelectorAll<HTMLButtonElement>(\"#categories_container button.category\")\n);\n\nif (searchInput.value.length === 0) {\n searchReset.classList.add(\"empty\");\n}\n\n// focus search input on large screens\nif (!(isMobile || isResultsPage)) {\n searchInput.focus();\n}\n\n// On mobile, move cursor to the end of the input on focus\nif (isMobile) {\n listen(\"focus\", searchInput, () => {\n // Defer cursor move until the next frame to prevent a visual jump\n requestAnimationFrame(() => {\n const end = searchInput.value.length;\n searchInput.setSelectionRange(end, end);\n searchInput.scrollLeft = searchInput.scrollWidth;\n });\n });\n}\n\nlisten(\"input\", searchInput, () => {\n searchReset.classList.toggle(\"empty\", searchInput.value.length === 0);\n});\n\nlisten(\"click\", searchReset, (event: MouseEvent) => {\n event.preventDefault();\n searchInput.value = \"\";\n searchInput.focus();\n searchReset.classList.add(\"empty\");\n});\n\nfor (const button of categoryButtons) {\n listen(\"click\", button, (event: MouseEvent) => {\n if (event.shiftKey) {\n event.preventDefault();\n button.classList.toggle(\"selected\");\n return;\n }\n\n // deselect all other categories\n for (const categoryButton of categoryButtons) {\n categoryButton.classList.toggle(\"selected\", categoryButton === button);\n }\n });\n}\n\nif (document.querySelector(\"div.search_filters\")) {\n const safesearchElement = document.getElementById(\"safesearch\");\n if (safesearchElement) {\n listen(\"change\", safesearchElement, () => searchForm.submit());\n }\n\n const timeRangeElement = document.getElementById(\"time_range\");\n if (timeRangeElement) {\n listen(\"change\", timeRangeElement, () => searchForm.submit());\n }\n\n const languageElement = document.getElementById(\"language\");\n if (languageElement) {\n listen(\"change\", languageElement, () => searchForm.submit());\n }\n}\n\n// override searchForm submit event\nlisten(\"submit\", searchForm, (event: Event) => {\n event.preventDefault();\n\n if (categoryButtons.length > 0) {\n const searchCategories = getElement<HTMLInputElement>(\"selected-categories\");\n searchCategories.value = categoryButtons\n .filter((button) => button.classList.contains(\"selected\"))\n .map((button) => button.name.replace(\"category_\", \"\"))\n .join(\",\");\n }\n\n searchForm.submit();\n});\n"],"mappings":"uEAKA,IAAM,EAA8B,EAA4B,SAAS,CACnE,EAAgC,EAA6B,IAAI,CACjE,EAAiC,EAA8B,eAAe,CAE9E,EAAoB,OAAO,WAAW,oBAAoB,CAAC,QAC3D,EAAyB,SAAS,cAAc,OAAO,EAAE,KAAO,eAEhE,EAAuC,MAAM,KACjD,SAAS,iBAAoC,wCAAwC,CACtF,CAEG,EAAY,MAAM,SAAW,GAC/B,EAAY,UAAU,IAAI,QAAQ,CAI9B,GAAY,GAChB,EAAY,OAAO,CAIjB,GACF,EAAO,QAAS,MAAmB,CAEjC,0BAA4B,CAC1B,IAAM,EAAM,EAAY,MAAM,OAC9B,EAAY,kBAAkB,EAAK,EAAI,CACvC,EAAY,WAAa,EAAY,aACrC,EACF,CAGJ,EAAO,QAAS,MAAmB,CACjC,EAAY,UAAU,OAAO,QAAS,EAAY,MAAM,SAAW,EAAE,EACrE,CAEF,EAAO,QAAS,EAAc,GAAsB,CAClD,EAAM,gBAAgB,CACtB,EAAY,MAAQ,GACpB,EAAY,OAAO,CACnB,EAAY,UAAU,IAAI,QAAQ,EAClC,CAEF,IAAK,IAAM,KAAU,EACnB,EAAO,QAAS,EAAS,GAAsB,CAC7C,GAAI,EAAM,SAAU,CAClB,EAAM,gBAAgB,CACtB,EAAO,UAAU,OAAO,WAAW,CACnC,OAIF,IAAK,IAAM,KAAkB,EAC3B,EAAe,UAAU,OAAO,WAAY,IAAmB,EAAO,EAExE,CAGJ,GAAI,SAAS,cAAc,qBAAqB,CAAE,CAChD,IAAM,EAAoB,SAAS,eAAe,aAAa,CAC3D,GACF,EAAO,SAAU,MAAyB,EAAW,QAAQ,CAAC,CAGhE,IAAM,EAAmB,SAAS,eAAe,aAAa,CAC1D,GACF,EAAO,SAAU,MAAwB,EAAW,QAAQ,CAAC,CAG/D,IAAM,EAAkB,SAAS,eAAe,WAAW,CACvD,GACF,EAAO,SAAU,MAAuB,EAAW,QAAQ,CAAC,CAKhE,EAAO,SAAU,EAAa,GAAiB,CAG7C,GAFA,EAAM,gBAAgB,CAElB,EAAgB,OAAS,EAAG,CAC9B,IAAM,EAAmB,EAA6B,sBAAsB,CAC5E,EAAiB,MAAQ,EACtB,OAAQ,GAAW,EAAO,UAAU,SAAS,WAAW,CAAC,CACzD,IAAK,GAAW,EAAO,KAAK,QAAQ,YAAa,GAAG,CAAC,CACrD,KAAK,IAAI,CAGd,EAAW,QAAQ,EACnB"}
|
||||
{"version":3,"file":"BnP4vIuG.min.js","names":[],"sources":["../../../../../client/simple/src/js/main/search.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\nimport { listen } from \"../toolkit.ts\";\nimport { getElement } from \"../util/getElement.ts\";\n\nconst searchForm: HTMLFormElement = getElement<HTMLFormElement>(\"search\");\nconst searchInput: HTMLInputElement = getElement<HTMLInputElement>(\"q\");\nconst searchReset: HTMLButtonElement = getElement<HTMLButtonElement>(\"clear_search\");\n\nconst isMobile: boolean = window.matchMedia(\"(max-width: 50em)\").matches;\nconst isResultsPage: boolean = document.querySelector(\"main\")?.id === \"main_results\";\n\nconst categoryButtons: HTMLButtonElement[] = Array.from(\n document.querySelectorAll<HTMLButtonElement>(\"#categories_container button.category\")\n);\n\nif (searchInput.value.length === 0) {\n searchReset.classList.add(\"empty\");\n}\n\n// focus search input on large screens\nif (!(isMobile || isResultsPage)) {\n searchInput.focus();\n}\n\n// On mobile, move cursor to the end of the input on focus\nif (isMobile) {\n listen(\"focus\", searchInput, () => {\n // Defer cursor move until the next frame to prevent a visual jump\n requestAnimationFrame(() => {\n const end = searchInput.value.length;\n searchInput.setSelectionRange(end, end);\n searchInput.scrollLeft = searchInput.scrollWidth;\n });\n });\n}\n\nlisten(\"input\", searchInput, () => {\n searchReset.classList.toggle(\"empty\", searchInput.value.length === 0);\n});\n\nlisten(\"click\", searchReset, (event: MouseEvent) => {\n event.preventDefault();\n searchInput.value = \"\";\n searchInput.focus();\n searchReset.classList.add(\"empty\");\n});\n\nfor (const button of categoryButtons) {\n listen(\"click\", button, (event: MouseEvent) => {\n if (event.shiftKey) {\n event.preventDefault();\n button.classList.toggle(\"selected\");\n return;\n }\n\n // deselect all other categories\n for (const categoryButton of categoryButtons) {\n categoryButton.classList.toggle(\"selected\", categoryButton === button);\n }\n });\n}\n\nif (document.querySelector(\"div.search_filters\")) {\n const safesearchElement = document.getElementById(\"safesearch\");\n if (safesearchElement) {\n listen(\"change\", safesearchElement, () => searchForm.submit());\n }\n\n const timeRangeElement = document.getElementById(\"time_range\");\n if (timeRangeElement) {\n listen(\"change\", timeRangeElement, () => searchForm.submit());\n }\n\n const languageElement = document.getElementById(\"language\");\n if (languageElement) {\n listen(\"change\", languageElement, () => searchForm.submit());\n }\n}\n\n// override searchForm submit event\nlisten(\"submit\", searchForm, (event: Event) => {\n event.preventDefault();\n\n if (categoryButtons.length > 0) {\n const searchCategories = getElement<HTMLInputElement>(\"selected-categories\");\n searchCategories.value = categoryButtons\n .filter((button) => button.classList.contains(\"selected\"))\n .map((button) => button.name.replace(\"category_\", \"\"))\n .join(\",\");\n }\n\n searchForm.submit();\n});\n"],"mappings":"yEAKA,IAAM,EAA8B,EAA4B,SAAS,CACnE,EAAgC,EAA6B,IAAI,CACjE,EAAiC,EAA8B,eAAe,CAE9E,EAAoB,OAAO,WAAW,oBAAoB,CAAC,QAC3D,EAAyB,SAAS,cAAc,OAAO,EAAE,KAAO,eAEhE,EAAuC,MAAM,KACjD,SAAS,iBAAoC,wCAAwC,CACtF,CAEG,EAAY,MAAM,SAAW,GAC/B,EAAY,UAAU,IAAI,QAAQ,CAI9B,GAAY,GAChB,EAAY,OAAO,CAIjB,GACF,EAAO,QAAS,MAAmB,CAEjC,0BAA4B,CAC1B,IAAM,EAAM,EAAY,MAAM,OAC9B,EAAY,kBAAkB,EAAK,EAAI,CACvC,EAAY,WAAa,EAAY,aACrC,EACF,CAGJ,EAAO,QAAS,MAAmB,CACjC,EAAY,UAAU,OAAO,QAAS,EAAY,MAAM,SAAW,EAAE,EACrE,CAEF,EAAO,QAAS,EAAc,GAAsB,CAClD,EAAM,gBAAgB,CACtB,EAAY,MAAQ,GACpB,EAAY,OAAO,CACnB,EAAY,UAAU,IAAI,QAAQ,EAClC,CAEF,IAAK,IAAM,KAAU,EACnB,EAAO,QAAS,EAAS,GAAsB,CAC7C,GAAI,EAAM,SAAU,CAClB,EAAM,gBAAgB,CACtB,EAAO,UAAU,OAAO,WAAW,CACnC,OAIF,IAAK,IAAM,KAAkB,EAC3B,EAAe,UAAU,OAAO,WAAY,IAAmB,EAAO,EAExE,CAGJ,GAAI,SAAS,cAAc,qBAAqB,CAAE,CAChD,IAAM,EAAoB,SAAS,eAAe,aAAa,CAC3D,GACF,EAAO,SAAU,MAAyB,EAAW,QAAQ,CAAC,CAGhE,IAAM,EAAmB,SAAS,eAAe,aAAa,CAC1D,GACF,EAAO,SAAU,MAAwB,EAAW,QAAQ,CAAC,CAG/D,IAAM,EAAkB,SAAS,eAAe,WAAW,CACvD,GACF,EAAO,SAAU,MAAuB,EAAW,QAAQ,CAAC,CAKhE,EAAO,SAAU,EAAa,GAAiB,CAG7C,GAFA,EAAM,gBAAgB,CAElB,EAAgB,OAAS,EAAG,CAC9B,IAAM,EAAmB,EAA6B,sBAAsB,CAC5E,EAAiB,MAAQ,EACtB,OAAQ,GAAW,EAAO,UAAU,SAAS,WAAW,CAAC,CACzD,IAAK,GAAW,EAAO,KAAK,QAAQ,YAAa,GAAG,CAAC,CACrD,KAAK,IAAI,CAGd,EAAW,QAAQ,EACnB"}
|
||||
@@ -1,2 +0,0 @@
|
||||
import{t as e}from"./Cq566EWy.min.js";import{r as t,s as n}from"./Cs5Jkbkf.min.js";import{t as r}from"./DXl78Wnf.min.js";import{t as i}from"./vehLS1_D.min.js";var a=class extends e{constructor(){super(`infiniteScroll`)}async run(){let e=i(`results`).classList.contains(`only_template_images`),a=`article.result:last-child`,o=document.createElement(`div`);o.className=`loader`;let s=async i=>{let a=document.querySelector(`#search`);r(a);let s=document.querySelector(`#pagination form.next_page`);r(s);let c=a.getAttribute(`action`);if(!c)throw Error(`Form action not defined`);let l=document.querySelector(`#pagination`);r(l),l.replaceChildren(o);try{let n=await(await t(`POST`,c,{body:new FormData(s)})).text();if(!n)return;let r=new DOMParser().parseFromString(n,`text/html`),a=r.querySelectorAll(`#urls article`),o=r.querySelector(`#pagination`);document.querySelector(`#pagination`)?.remove();let l=document.querySelector(`#urls`);if(!l)throw Error(`URLs element not found`);a.length>0&&!e&&l.appendChild(document.createElement(`hr`)),l.append(...a),o&&(document.querySelector(`#results`)?.appendChild(o),i())}catch(e){console.error(`Error loading next page:`,e);let t=Object.assign(document.createElement(`div`),{textContent:n.translations?.error_loading_next_page??`Error loading next page`,className:`dialog-error`});t.setAttribute(`role`,`alert`),document.querySelector(`#pagination`)?.replaceChildren(t)}},c=new IntersectionObserver(async e=>{let[t]=e;t?.isIntersecting&&(c.unobserve(t.target),await s(()=>{let e=document.querySelector(a);e&&c.observe(e)}))},{rootMargin:`320px`}),l=document.querySelector(a);l&&c.observe(l)}async post(){}};export{a as default};
|
||||
//# sourceMappingURL=CAKNRGBu.min.js.map
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
import{i as e,n as t,t as n}from"../sxng-core.min.js";import{t as r}from"./DH1EQbEY.min.js";var i=async(i,a)=>{try{let o;o=e.method===`GET`?await n(`GET`,`./autocompleter?q=${a}`):await n(`POST`,`./autocompleter`,{body:new URLSearchParams({q:a})});let s=await o.json(),c=document.querySelector(`.autocomplete`);r(c);let l=document.querySelector(`.autocomplete ul`);if(r(l),c.classList.add(`open`),l.replaceChildren(),s?.[1]?.length===0){let t=Object.assign(document.createElement(`li`),{className:`no-item-found`,textContent:e.translations?.no_item_found??`No results found`});l.append(t);return}let u=new DocumentFragment;for(let e of s[1]){let n=Object.assign(document.createElement(`li`),{textContent:e});t(`mousedown`,n,()=>{i.value=e,document.querySelector(`#search`)?.submit()}),u.append(n)}l.append(u)}catch(e){console.error(`Error fetching autocomplete results:`,e)}},a=document.getElementById(`q`);r(a);var o;t(`input`,a,()=>{clearTimeout(o);let t=a.value,n=e.autocomplete_min??2;t.length<n||(o=window.setTimeout(async()=>{t===a.value&&await i(a,t)},300))});var s=document.querySelector(`.autocomplete`),c=document.querySelector(`.autocomplete ul`);c&&(t(`keydown`,a,e=>{e.key===`Escape`&&s?.classList.remove(`open`)}),t(`keyup`,a,e=>{let t=[...c.children],n=t.findIndex(e=>e.classList.contains(`active`)),r=-1;switch(e.key){case`ArrowUp`:{let e=t[n];e&&n>=0&&e.classList.remove(`active`),r=(n-1+t.length)%t.length;break}case`ArrowDown`:{let e=t[n];e&&n>=0&&e.classList.remove(`active`),r=(n+1)%t.length;break}case`Enter`:s&&s.classList.remove(`open`);break;default:break}if(r!==-1){let e=t[r];if(e&&(e.classList.add(`active`),!e.classList.contains(`no-item-found`))){let t=document.getElementById(`q`);t&&(t.value=e.textContent??``)}}}),t(`blur`,a,()=>{s?.classList.remove(`open`)}),t(`focus`,a,()=>{s?.classList.add(`open`)}));
|
||||
//# sourceMappingURL=CQ8vfMdp.min.js.map
|
||||
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
|
||||
var e=class{id;constructor(e){this.id=e,queueMicrotask(()=>this.invoke())}async invoke(){try{console.debug(`[PLUGIN] ${this.id}: Running...`);let e=await this.run();if(!e)return;console.debug(`[PLUGIN] ${this.id}: Running post-exec...`),await this.post(e)}catch(e){console.error(`[PLUGIN] ${this.id}:`,e)}finally{console.debug(`[PLUGIN] ${this.id}: Done.`)}}};export{e as t};
|
||||
//# sourceMappingURL=Cq566EWy.min.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"Cq566EWy.min.js","names":[],"sources":["../../../../../client/simple/src/js/Plugin.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\n/**\n * Base class for client-side plugins.\n *\n * @remarks\n * Handle conditional loading of the plugin in:\n *\n * - client/simple/src/js/router.ts\n *\n * @abstract\n */\nexport abstract class Plugin {\n /**\n * Plugin name.\n */\n protected readonly id: string;\n\n /**\n * @remarks\n * Don't hold references of this instance outside the class.\n */\n protected constructor(id: string) {\n this.id = id;\n\n queueMicrotask(() => this.invoke());\n }\n\n private async invoke(): Promise<void> {\n try {\n console.debug(`[PLUGIN] ${this.id}: Running...`);\n const result = await this.run();\n if (!result) return;\n\n console.debug(`[PLUGIN] ${this.id}: Running post-exec...`);\n // @ts-expect-error\n void (await this.post(result as NonNullable<Awaited<ReturnType<this[\"run\"]>>>));\n } catch (error) {\n console.error(`[PLUGIN] ${this.id}:`, error);\n } finally {\n console.debug(`[PLUGIN] ${this.id}: Done.`);\n }\n }\n\n /**\n * Plugin goes here.\n *\n * @remarks\n * The plugin is already loaded at this point. If you wish to execute\n * conditions to exit early, consider moving the logic to:\n *\n * - client/simple/src/js/router.ts\n *\n * ...to avoid unnecessarily loading this plugin on the client.\n */\n protected abstract run(): Promise<unknown>;\n\n /**\n * Post-execution hook.\n *\n * @remarks\n * The hook is only executed if `#run()` returns a truthy value.\n */\n // @ts-expect-error\n protected abstract post(result: NonNullable<Awaited<ReturnType<this[\"run\"]>>>): Promise<void>;\n}\n"],"mappings":"AAYA,IAAsB,EAAtB,KAA6B,CAI3B,GAMA,YAAsB,EAAY,CAChC,KAAK,GAAK,EAEV,mBAAqB,KAAK,QAAQ,CAAC,CAGrC,MAAc,QAAwB,CACpC,GAAI,CACF,QAAQ,MAAM,YAAY,KAAK,GAAG,cAAc,CAChD,IAAM,EAAS,MAAM,KAAK,KAAK,CAC/B,GAAI,CAAC,EAAQ,OAEb,QAAQ,MAAM,YAAY,KAAK,GAAG,wBAAwB,CAEpD,MAAM,KAAK,KAAK,EAAwD,OACvE,EAAO,CACd,QAAQ,MAAM,YAAY,KAAK,GAAG,GAAI,EAAM,QACpC,CACR,QAAQ,MAAM,YAAY,KAAK,GAAG,SAAS"}
|
||||
@@ -1,2 +0,0 @@
|
||||
var e={index:`index`,results:`results`,preferences:`preferences`,unknown:`unknown`},t={closeDetail:void 0,scrollPageToSelected:void 0,selectImage:void 0,selectNext:void 0,selectPrevious:void 0},n=()=>{let t=document.querySelector(`meta[name="endpoint"]`)?.getAttribute(`content`);return t&&t in e?t:e.unknown},r=()=>{let e=document.querySelector(`script[client_settings]`)?.getAttribute(`client_settings`);if(!e)return{};try{return JSON.parse(atob(e))}catch(e){return console.error(`Failed to load client_settings:`,e),{}}},i=async(e,t,n)=>{let r=new AbortController,i=setTimeout(()=>r.abort(),n?.timeout??3e4),a=await fetch(t,{body:n?.body,method:e,signal:r.signal}).finally(()=>clearTimeout(i));if(!a.ok)throw Error(a.statusText);return a},a=(e,t,n,r)=>{if(typeof t!=`string`){t.addEventListener(e,n,r);return}document.addEventListener(e,e=>{for(let r of e.composedPath())if(r instanceof HTMLElement&&r.matches(t)){try{n.call(r,e)}catch(e){console.error(e)}break}},r)},o=(e,t)=>{for(let e of t?.on??[])if(!e)return;document.readyState===`loading`?a(`DOMContentLoaded`,document,e,{once:!0}):e()},s=n(),c=r();export{t as a,a as i,s as n,o,i as r,c as s,e as t};
|
||||
//# sourceMappingURL=Cs5Jkbkf.min.js.map
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
import{a as e,i as t,t as n}from"../sxng-core.min.js";import{t as r}from"./DH1EQbEY.min.js";import{t as i}from"./chlzpS6K.min.js";var a=class extends e{constructor(){super(`infiniteScroll`)}async run(){let e=i(`results`).classList.contains(`only_template_images`),a=`article.result:last-child`,o=document.createElement(`div`);o.className=`loader`;let s=async i=>{let a=document.querySelector(`#search`);r(a);let s=document.querySelector(`#pagination form.next_page`);r(s);let c=a.getAttribute(`action`);if(!c)throw Error(`Form action not defined`);let l=document.querySelector(`#pagination`);r(l),l.replaceChildren(o);try{let t=await(await n(`POST`,c,{body:new FormData(s)})).text();if(!t)return;let r=new DOMParser().parseFromString(t,`text/html`),a=r.querySelectorAll(`#urls article`),o=r.querySelector(`#pagination`);document.querySelector(`#pagination`)?.remove();let l=document.querySelector(`#urls`);if(!l)throw Error(`URLs element not found`);a.length>0&&!e&&l.appendChild(document.createElement(`hr`)),l.append(...a),o&&(document.querySelector(`#results`)?.appendChild(o),i())}catch(e){console.error(`Error loading next page:`,e);let n=Object.assign(document.createElement(`div`),{textContent:t.translations?.error_loading_next_page??`Error loading next page`,className:`dialog-error`});n.setAttribute(`role`,`alert`),document.querySelector(`#pagination`)?.replaceChildren(n)}},c=new IntersectionObserver(async e=>{let[t]=e;t?.isIntersecting&&(c.unobserve(t.target),await s(()=>{let e=document.querySelector(a);e&&c.observe(e)}))},{rootMargin:`320px`}),l=document.querySelector(a);l&&c.observe(l)}async post(){}};export{a as default};
|
||||
//# sourceMappingURL=Cx4rGXMm.min.js.map
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+3
-3
@@ -1,4 +1,4 @@
|
||||
import{a as e,i as t,s as n}from"./Cs5Jkbkf.min.js";import{t as r}from"./DXl78Wnf.min.js";
|
||||
import{i as e,n as t,r as n}from"../sxng-core.min.js";import{t as r}from"./DH1EQbEY.min.js";
|
||||
/*!
|
||||
* swiped-events.js - v@version@
|
||||
* Pure JavaScript swipe events
|
||||
@@ -7,5 +7,5 @@ import{a as e,i as t,s as n}from"./Cs5Jkbkf.min.js";import{t as r}from"./DXl78Wn
|
||||
* @author John Doherty <www.johndoherty.info>
|
||||
* @license MIT
|
||||
*/
|
||||
(function(e,t){typeof e.CustomEvent!=`function`&&(e.CustomEvent=function(e,n){n||={bubbles:!1,cancelable:!1,detail:void 0};var r=t.createEvent(`CustomEvent`);return r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r},e.CustomEvent.prototype=e.Event.prototype),t.addEventListener(`touchstart`,u,!1),t.addEventListener(`touchmove`,d,!1),t.addEventListener(`touchend`,l,!1);var n=null,r=null,i=null,a=null,o=null,s=null,c=0;function l(e){if(s===e.target){var l=parseInt(f(s,`data-swipe-threshold`,`20`),10),u=f(s,`data-swipe-unit`,`px`),d=parseInt(f(s,`data-swipe-timeout`,`500`),10),p=Date.now()-o,m=``,h=e.changedTouches||e.touches||[];if(u===`vh`&&(l=Math.round(l/100*t.documentElement.clientHeight)),u===`vw`&&(l=Math.round(l/100*t.documentElement.clientWidth)),Math.abs(i)>Math.abs(a)?Math.abs(i)>l&&p<d&&(m=i>0?`swiped-left`:`swiped-right`):Math.abs(a)>l&&p<d&&(m=a>0?`swiped-up`:`swiped-down`),m!==``){var g={dir:m.replace(/swiped-/,``),touchType:(h[0]||{}).touchType||`direct`,fingers:c,xStart:parseInt(n,10),xEnd:parseInt((h[0]||{}).clientX||-1,10),yStart:parseInt(r,10),yEnd:parseInt((h[0]||{}).clientY||-1,10)};s.dispatchEvent(new CustomEvent(`swiped`,{bubbles:!0,cancelable:!0,detail:g})),s.dispatchEvent(new CustomEvent(m,{bubbles:!0,cancelable:!0,detail:g}))}n=null,r=null,o=null}}function u(e){e.target.getAttribute(`data-swipe-ignore`)!==`true`&&(s=e.target,o=Date.now(),n=e.touches[0].clientX,r=e.touches[0].clientY,i=0,a=0,c=e.touches.length)}function d(e){if(!(!n||!r)){var t=e.touches[0].clientX,o=e.touches[0].clientY;i=n-t,a=r-o}}function f(e,n,r){for(;e&&e!==t.documentElement;){var i=e.getAttribute(n);if(i)return i;e=e.parentNode}return r}})(window,document);var i,a=e=>{i&&clearTimeout(i);let t=e.querySelector(`.result-images-source img`);if(!t)return;let r=e.querySelector(`.image_thumbnail`);if(r){if(r.src===`${n.theme_static_path}/img/img_load_error.svg`)return;t.onerror=()=>{t.src=r.src},t.src=r.src}let a=t.getAttribute(`data-src`);a&&(i=setTimeout(()=>{t.src=a,t.removeAttribute(`data-src`)},1e3))},o=document.querySelectorAll(`#urls img.image_thumbnail`);for(let e of o)e.complete&&e.naturalWidth===0&&(e.src=`${n.theme_static_path}/img/img_load_error.svg`),e.onerror=()=>{e.src=`${n.theme_static_path}/img/img_load_error.svg`};document.querySelector(`#search_url button#copy_url`)?.style.setProperty(`display`,`block`),e.selectImage=t=>{document.getElementById(`results`)?.classList.add(`image-detail-open`),window.location.hash=`#image-viewer`,e.scrollPageToSelected?.(),t&&a(t)},e.closeDetail=()=>{document.getElementById(`results`)?.classList.remove(`image-detail-open`),window.location.hash===`#image-viewer`&&window.history.back(),e.scrollPageToSelected?.()},t(`click`,`.btn-collapse`,function(){let e=this.getAttribute(`data-btn-text-collapsed`),t=this.getAttribute(`data-btn-text-not-collapsed`),n=this.getAttribute(`data-target`);if(!(n&&e&&t))return;let i=document.querySelector(n);r(i);let a=this.classList.contains(`collapsed`),o=a?t:e,s=a?e:t;this.innerHTML=this.innerHTML.replace(s,o),this.classList.toggle(`collapsed`),i.classList.toggle(`invisible`)}),t(`click`,`.media-loader`,function(){let e=this.getAttribute(`data-target`);if(!e)return;let t=document.querySelector(`${e} > iframe`);if(r(t),!t.getAttribute(`src`)){let e=t.getAttribute(`data-src`);e&&t.setAttribute(`src`,e)}}),t(`click`,`#copy_url`,async function(){let e=this.parentElement?.querySelector(`pre`);if(r(e),window.isSecureContext)await navigator.clipboard.writeText(e.innerText);else{let t=window.getSelection();if(t){let n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n),document.execCommand(`copy`)}}this.dataset.copiedText&&(this.innerText=this.dataset.copiedText)}),t(`click`,`.result-detail-close`,t=>{t.preventDefault(),e.closeDetail?.()}),t(`click`,`.result-detail-previous`,t=>{t.preventDefault(),e.selectPrevious?.(!1)}),t(`click`,`.result-detail-next`,t=>{t.preventDefault(),e.selectNext?.(!1)}),window.addEventListener(`hashchange`,()=>{window.location.hash!==`#image-viewer`&&e.closeDetail?.()});var s=document.querySelectorAll(`.swipe-horizontal`);for(let n of s)t(`swiped-left`,n,()=>{e.selectNext?.(!1)}),t(`swiped-right`,n,()=>{e.selectPrevious?.(!1)});window.addEventListener(`scroll`,()=>{let e=document.getElementById(`backToTop`),t=document.getElementById(`results`);if(e&&t){let e=(document.documentElement.scrollTop||document.body.scrollTop)>=100;t.classList.toggle(`scrolling`,e)}},!0);
|
||||
//# sourceMappingURL=DEh0CX8J.min.js.map
|
||||
(function(e,t){typeof e.CustomEvent!=`function`&&(e.CustomEvent=function(e,n){n||={bubbles:!1,cancelable:!1,detail:void 0};var r=t.createEvent(`CustomEvent`);return r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r},e.CustomEvent.prototype=e.Event.prototype),t.addEventListener(`touchstart`,u,!1),t.addEventListener(`touchmove`,d,!1),t.addEventListener(`touchend`,l,!1);var n=null,r=null,i=null,a=null,o=null,s=null,c=0;function l(e){if(s===e.target){var l=parseInt(f(s,`data-swipe-threshold`,`20`),10),u=f(s,`data-swipe-unit`,`px`),d=parseInt(f(s,`data-swipe-timeout`,`500`),10),p=Date.now()-o,m=``,h=e.changedTouches||e.touches||[];if(u===`vh`&&(l=Math.round(l/100*t.documentElement.clientHeight)),u===`vw`&&(l=Math.round(l/100*t.documentElement.clientWidth)),Math.abs(i)>Math.abs(a)?Math.abs(i)>l&&p<d&&(m=i>0?`swiped-left`:`swiped-right`):Math.abs(a)>l&&p<d&&(m=a>0?`swiped-up`:`swiped-down`),m!==``){var g={dir:m.replace(/swiped-/,``),touchType:(h[0]||{}).touchType||`direct`,fingers:c,xStart:parseInt(n,10),xEnd:parseInt((h[0]||{}).clientX||-1,10),yStart:parseInt(r,10),yEnd:parseInt((h[0]||{}).clientY||-1,10)};s.dispatchEvent(new CustomEvent(`swiped`,{bubbles:!0,cancelable:!0,detail:g})),s.dispatchEvent(new CustomEvent(m,{bubbles:!0,cancelable:!0,detail:g}))}n=null,r=null,o=null}}function u(e){e.target.getAttribute(`data-swipe-ignore`)!==`true`&&(s=e.target,o=Date.now(),n=e.touches[0].clientX,r=e.touches[0].clientY,i=0,a=0,c=e.touches.length)}function d(e){if(!(!n||!r)){var t=e.touches[0].clientX,o=e.touches[0].clientY;i=n-t,a=r-o}}function f(e,n,r){for(;e&&e!==t.documentElement;){var i=e.getAttribute(n);if(i)return i;e=e.parentNode}return r}})(window,document);var i,a=t=>{i&&clearTimeout(i);let n=t.querySelector(`.result-images-source img`);if(!n)return;let r=t.querySelector(`.image_thumbnail`);if(r){if(r.src===`${e.theme_static_path}/img/img_load_error.svg`)return;n.onerror=()=>{n.src=r.src},n.src=r.src}let a=n.getAttribute(`data-src`);a&&(i=setTimeout(()=>{n.src=a,n.removeAttribute(`data-src`)},1e3))},o=document.querySelectorAll(`#urls img.image_thumbnail`);for(let t of o)t.complete&&t.naturalWidth===0&&(t.src=`${e.theme_static_path}/img/img_load_error.svg`),t.onerror=()=>{t.src=`${e.theme_static_path}/img/img_load_error.svg`};document.querySelector(`#search_url button#copy_url`)?.style.setProperty(`display`,`block`),n.selectImage=e=>{document.getElementById(`results`)?.classList.add(`image-detail-open`),window.location.hash=`#image-viewer`,n.scrollPageToSelected?.(),e&&a(e)},n.closeDetail=()=>{document.getElementById(`results`)?.classList.remove(`image-detail-open`),window.location.hash===`#image-viewer`&&window.history.back(),n.scrollPageToSelected?.()},t(`click`,`.btn-collapse`,function(){let e=this.getAttribute(`data-btn-text-collapsed`),t=this.getAttribute(`data-btn-text-not-collapsed`),n=this.getAttribute(`data-target`);if(!(n&&e&&t))return;let i=document.querySelector(n);r(i);let a=this.classList.contains(`collapsed`),o=a?t:e,s=a?e:t;this.innerHTML=this.innerHTML.replace(s,o),this.classList.toggle(`collapsed`),i.classList.toggle(`invisible`)}),t(`click`,`.media-loader`,function(){let e=this.getAttribute(`data-target`);if(!e)return;let t=document.querySelector(`${e} > iframe`);if(r(t),!t.getAttribute(`src`)){let e=t.getAttribute(`data-src`);e&&t.setAttribute(`src`,e)}}),t(`click`,`#copy_url`,async function(){let e=this.parentElement?.querySelector(`pre`);if(r(e),window.isSecureContext)await navigator.clipboard.writeText(e.innerText);else{let t=window.getSelection();if(t){let n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n),document.execCommand(`copy`)}}this.dataset.copiedText&&(this.innerText=this.dataset.copiedText)}),t(`click`,`.result-detail-close`,e=>{e.preventDefault(),n.closeDetail?.()}),t(`click`,`.result-detail-previous`,e=>{e.preventDefault(),n.selectPrevious?.(!1)}),t(`click`,`.result-detail-next`,e=>{e.preventDefault(),n.selectNext?.(!1)}),window.addEventListener(`hashchange`,()=>{window.location.hash!==`#image-viewer`&&n.closeDetail?.()});var s=document.querySelectorAll(`.swipe-horizontal`);for(let e of s)t(`swiped-left`,e,()=>{n.selectNext?.(!1)}),t(`swiped-right`,e,()=>{n.selectPrevious?.(!1)});window.addEventListener(`scroll`,()=>{let e=document.getElementById(`backToTop`),t=document.getElementById(`results`);if(e&&t){let e=(document.documentElement.scrollTop||document.body.scrollTop)>=100;t.classList.toggle(`scrolling`,e)}},!0);
|
||||
//# sourceMappingURL=DGJ63wI6.min.js.map
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
var e=e=>{if(!e)throw Error(`DOM element not found`)};export{e as t};
|
||||
//# sourceMappingURL=DXl78Wnf.min.js.map
|
||||
//# sourceMappingURL=DH1EQbEY.min.js.map
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"DXl78Wnf.min.js","names":[],"sources":["../../../../../client/simple/src/js/util/assertElement.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\ntype AssertElement = <T>(element?: T | null) => asserts element is T;\nexport const assertElement: AssertElement = <T>(element?: T | null): asserts element is T => {\n if (!element) {\n throw new Error(\"DOM element not found\");\n }\n};\n"],"mappings":"AAGA,IAAa,EAAmC,GAA6C,CAC3F,GAAI,CAAC,EACH,MAAU,MAAM,wBAAwB"}
|
||||
{"version":3,"file":"DH1EQbEY.min.js","names":[],"sources":["../../../../../client/simple/src/js/util/assertElement.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\ntype AssertElement = <T>(element?: T | null) => asserts element is T;\nexport const assertElement: AssertElement = <T>(element?: T | null): asserts element is T => {\n if (!element) {\n throw new Error(\"DOM element not found\");\n }\n};\n"],"mappings":"AAGA,IAAa,EAAmC,GAA6C,CAC3F,GAAI,CAAC,EACH,MAAU,MAAM,wBAAwB"}
|
||||
@@ -1,2 +0,0 @@
|
||||
import{i as e,r as t,s as n}from"./Cs5Jkbkf.min.js";import{t as r}from"./DXl78Wnf.min.js";var i,a=async()=>{if(!i){try{i=await(await t(`GET`,`engine_descriptions.json`)).json()}catch(e){console.error(`Error fetching engineDescriptions:`,e)}if(i)for(let[e,[t,r]]of Object.entries(i)){let i=document.querySelectorAll(`[data-engine-name="${e}"] .engine-description`),a=` (<i>${n.translations?.Source}: ${r}</i>)`;for(let e of i)e.innerHTML=t+a}}},o=(e,t)=>{for(let n of t)n.offsetParent&&(n.checked=!e)},s=document.querySelectorAll(`[data-engine-name]`);for(let t of s)e(`mouseenter`,t,a);var c=document.querySelectorAll(`tbody input[type=checkbox][class~=checkbox-onoff]`),l=document.querySelectorAll(`.enable-all-engines`);for(let t of l)e(`click`,t,()=>o(!0,c));var u=document.querySelectorAll(`.disable-all-engines`);for(let t of u)e(`click`,t,()=>o(!1,c));e(`click`,`#copy-hash`,async function(){let e=this.parentElement?.querySelector(`pre`);if(r(e),window.isSecureContext)await navigator.clipboard.writeText(e.innerText);else{let t=window.getSelection();if(t){let n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n),document.execCommand(`copy`)}}this.dataset.copiedText&&(this.innerText=this.dataset.copiedText)});
|
||||
//# sourceMappingURL=DYTFyeLU.min.js.map
|
||||
@@ -0,0 +1,2 @@
|
||||
import{i as e,n as t,t as n}from"../sxng-core.min.js";import{t as r}from"./DH1EQbEY.min.js";var i,a=async()=>{if(!i){try{i=await(await n(`GET`,`engine_descriptions.json`)).json()}catch(e){console.error(`Error fetching engineDescriptions:`,e)}if(i)for(let[t,[n,r]]of Object.entries(i)){let i=document.querySelectorAll(`[data-engine-name="${t}"] .engine-description`),a=` (<i>${e.translations?.Source}: ${r}</i>)`;for(let e of i)e.innerHTML=n+a}}},o=(e,t)=>{for(let n of t)n.offsetParent&&(n.checked=!e)},s=document.querySelectorAll(`[data-engine-name]`);for(let e of s)t(`mouseenter`,e,a);var c=document.querySelectorAll(`tbody input[type=checkbox][class~=checkbox-onoff]`),l=document.querySelectorAll(`.enable-all-engines`);for(let e of l)t(`click`,e,()=>o(!0,c));var u=document.querySelectorAll(`.disable-all-engines`);for(let e of u)t(`click`,e,()=>o(!1,c));t(`click`,`#copy-hash`,async function(){let e=this.parentElement?.querySelector(`pre`);if(r(e),window.isSecureContext)await navigator.clipboard.writeText(e.innerText);else{let t=window.getSelection();if(t){let n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n),document.execCommand(`copy`)}}this.dataset.copiedText&&(this.innerText=this.dataset.copiedText)});
|
||||
//# sourceMappingURL=DZidprJh.min.js.map
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"DYTFyeLU.min.js","names":[],"sources":["../../../../../client/simple/src/js/main/preferences.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\nimport { http, listen, settings } from \"../toolkit.ts\";\nimport { assertElement } from \"../util/assertElement.ts\";\n\nlet engineDescriptions: Record<string, [string, string]> | undefined;\n\nconst loadEngineDescriptions = async (): Promise<void> => {\n if (engineDescriptions) return;\n try {\n const res = await http(\"GET\", \"engine_descriptions.json\");\n engineDescriptions = await res.json();\n } catch (error) {\n console.error(\"Error fetching engineDescriptions:\", error);\n }\n if (!engineDescriptions) return;\n\n for (const [engine_name, [description, source]] of Object.entries(engineDescriptions)) {\n const elements = document.querySelectorAll<HTMLElement>(`[data-engine-name=\"${engine_name}\"] .engine-description`);\n const sourceText = ` (<i>${settings.translations?.Source}: ${source}</i>)`;\n\n for (const element of elements) {\n element.innerHTML = description + sourceText;\n }\n }\n};\n\nconst toggleEngines = (enable: boolean, engineToggles: NodeListOf<HTMLInputElement>): void => {\n for (const engineToggle of engineToggles) {\n // check if element visible, so that only engines of the current category are modified\n if (engineToggle.offsetParent) {\n engineToggle.checked = !enable;\n }\n }\n};\n\nconst engineElements: NodeListOf<HTMLElement> = document.querySelectorAll<HTMLElement>(\"[data-engine-name]\");\nfor (const engineElement of engineElements) {\n listen(\"mouseenter\", engineElement, loadEngineDescriptions);\n}\n\nconst engineToggles: NodeListOf<HTMLInputElement> = document.querySelectorAll<HTMLInputElement>(\n \"tbody input[type=checkbox][class~=checkbox-onoff]\"\n);\n\nconst enableAllEngines: NodeListOf<HTMLElement> = document.querySelectorAll<HTMLElement>(\".enable-all-engines\");\nfor (const engine of enableAllEngines) {\n listen(\"click\", engine, () => toggleEngines(true, engineToggles));\n}\n\nconst disableAllEngines: NodeListOf<HTMLElement> = document.querySelectorAll<HTMLElement>(\".disable-all-engines\");\nfor (const engine of disableAllEngines) {\n listen(\"click\", engine, () => toggleEngines(false, engineToggles));\n}\n\nlisten(\"click\", \"#copy-hash\", async function (this: HTMLElement) {\n const target = this.parentElement?.querySelector<HTMLPreElement>(\"pre\");\n assertElement(target);\n\n if (window.isSecureContext) {\n await navigator.clipboard.writeText(target.innerText);\n } else {\n const selection = window.getSelection();\n if (selection) {\n const range = document.createRange();\n range.selectNodeContents(target);\n selection.removeAllRanges();\n selection.addRange(range);\n document.execCommand(\"copy\");\n }\n }\n\n if (this.dataset.copiedText) {\n this.innerText = this.dataset.copiedText;\n }\n});\n"],"mappings":"0FAKA,IAAI,EAEE,EAAyB,SAA2B,CACpD,MACJ,IAAI,CAEF,EAAqB,MADT,MAAM,EAAK,MAAO,2BAA2B,EAC1B,MAAM,OAC9B,EAAO,CACd,QAAQ,MAAM,qCAAsC,EAAM,CAEvD,KAEL,IAAK,GAAM,CAAC,EAAa,CAAC,EAAa,MAAY,OAAO,QAAQ,EAAmB,CAAE,CACrF,IAAM,EAAW,SAAS,iBAA8B,sBAAsB,EAAY,wBAAwB,CAC5G,EAAa,QAAQ,EAAS,cAAc,OAAO,SAAS,EAAO,OAEzE,IAAK,IAAM,KAAW,EACpB,EAAQ,UAAY,EAAc,KAKlC,GAAiB,EAAiB,IAAsD,CAC5F,IAAK,IAAM,KAAgB,EAErB,EAAa,eACf,EAAa,QAAU,CAAC,IAKxB,EAA0C,SAAS,iBAA8B,qBAAqB,CAC5G,IAAK,IAAM,KAAiB,EAC1B,EAAO,aAAc,EAAe,EAAuB,CAG7D,IAAM,EAA8C,SAAS,iBAC3D,oDACD,CAEK,EAA4C,SAAS,iBAA8B,sBAAsB,CAC/G,IAAK,IAAM,KAAU,EACnB,EAAO,QAAS,MAAc,EAAc,GAAM,EAAc,CAAC,CAGnE,IAAM,EAA6C,SAAS,iBAA8B,uBAAuB,CACjH,IAAK,IAAM,KAAU,EACnB,EAAO,QAAS,MAAc,EAAc,GAAO,EAAc,CAAC,CAGpE,EAAO,QAAS,aAAc,gBAAmC,CAC/D,IAAM,EAAS,KAAK,eAAe,cAA8B,MAAM,CAGvE,GAFA,EAAc,EAAO,CAEjB,OAAO,gBACT,MAAM,UAAU,UAAU,UAAU,EAAO,UAAU,KAChD,CACL,IAAM,EAAY,OAAO,cAAc,CACvC,GAAI,EAAW,CACb,IAAM,EAAQ,SAAS,aAAa,CACpC,EAAM,mBAAmB,EAAO,CAChC,EAAU,iBAAiB,CAC3B,EAAU,SAAS,EAAM,CACzB,SAAS,YAAY,OAAO,EAI5B,KAAK,QAAQ,aACf,KAAK,UAAY,KAAK,QAAQ,aAEhC"}
|
||||
{"version":3,"file":"DZidprJh.min.js","names":[],"sources":["../../../../../client/simple/src/js/main/preferences.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\nimport { http, listen, settings } from \"../toolkit.ts\";\nimport { assertElement } from \"../util/assertElement.ts\";\n\nlet engineDescriptions: Record<string, [string, string]> | undefined;\n\nconst loadEngineDescriptions = async (): Promise<void> => {\n if (engineDescriptions) return;\n try {\n const res = await http(\"GET\", \"engine_descriptions.json\");\n engineDescriptions = await res.json();\n } catch (error) {\n console.error(\"Error fetching engineDescriptions:\", error);\n }\n if (!engineDescriptions) return;\n\n for (const [engine_name, [description, source]] of Object.entries(engineDescriptions)) {\n const elements = document.querySelectorAll<HTMLElement>(`[data-engine-name=\"${engine_name}\"] .engine-description`);\n const sourceText = ` (<i>${settings.translations?.Source}: ${source}</i>)`;\n\n for (const element of elements) {\n element.innerHTML = description + sourceText;\n }\n }\n};\n\nconst toggleEngines = (enable: boolean, engineToggles: NodeListOf<HTMLInputElement>): void => {\n for (const engineToggle of engineToggles) {\n // check if element visible, so that only engines of the current category are modified\n if (engineToggle.offsetParent) {\n engineToggle.checked = !enable;\n }\n }\n};\n\nconst engineElements: NodeListOf<HTMLElement> = document.querySelectorAll<HTMLElement>(\"[data-engine-name]\");\nfor (const engineElement of engineElements) {\n listen(\"mouseenter\", engineElement, loadEngineDescriptions);\n}\n\nconst engineToggles: NodeListOf<HTMLInputElement> = document.querySelectorAll<HTMLInputElement>(\n \"tbody input[type=checkbox][class~=checkbox-onoff]\"\n);\n\nconst enableAllEngines: NodeListOf<HTMLElement> = document.querySelectorAll<HTMLElement>(\".enable-all-engines\");\nfor (const engine of enableAllEngines) {\n listen(\"click\", engine, () => toggleEngines(true, engineToggles));\n}\n\nconst disableAllEngines: NodeListOf<HTMLElement> = document.querySelectorAll<HTMLElement>(\".disable-all-engines\");\nfor (const engine of disableAllEngines) {\n listen(\"click\", engine, () => toggleEngines(false, engineToggles));\n}\n\nlisten(\"click\", \"#copy-hash\", async function (this: HTMLElement) {\n const target = this.parentElement?.querySelector<HTMLPreElement>(\"pre\");\n assertElement(target);\n\n if (window.isSecureContext) {\n await navigator.clipboard.writeText(target.innerText);\n } else {\n const selection = window.getSelection();\n if (selection) {\n const range = document.createRange();\n range.selectNodeContents(target);\n selection.removeAllRanges();\n selection.addRange(range);\n document.execCommand(\"copy\");\n }\n }\n\n if (this.dataset.copiedText) {\n this.innerText = this.dataset.copiedText;\n }\n});\n"],"mappings":"4FAKA,IAAI,EAEE,EAAyB,SAA2B,CACpD,MACJ,IAAI,CAEF,EAAqB,MAAM,MADT,EAAK,MAAO,2BAA2B,EAC1B,MAAM,OAC9B,EAAO,CACd,QAAQ,MAAM,qCAAsC,EAAM,CAEvD,KAEL,IAAK,GAAM,CAAC,EAAa,CAAC,EAAa,MAAY,OAAO,QAAQ,EAAmB,CAAE,CACrF,IAAM,EAAW,SAAS,iBAA8B,sBAAsB,EAAY,wBAAwB,CAC5G,EAAa,QAAQ,EAAS,cAAc,OAAO,SAAS,EAAO,OAEzE,IAAK,IAAM,KAAW,EACpB,EAAQ,UAAY,EAAc,KAKlC,GAAiB,EAAiB,IAAsD,CAC5F,IAAK,IAAM,KAAgB,EAErB,EAAa,eACf,EAAa,QAAU,CAAC,IAKxB,EAA0C,SAAS,iBAA8B,qBAAqB,CAC5G,IAAK,IAAM,KAAiB,EAC1B,EAAO,aAAc,EAAe,EAAuB,CAG7D,IAAM,EAA8C,SAAS,iBAC3D,oDACD,CAEK,EAA4C,SAAS,iBAA8B,sBAAsB,CAC/G,IAAK,IAAM,KAAU,EACnB,EAAO,QAAS,MAAc,EAAc,GAAM,EAAc,CAAC,CAGnE,IAAM,EAA6C,SAAS,iBAA8B,uBAAuB,CACjH,IAAK,IAAM,KAAU,EACnB,EAAO,QAAS,MAAc,EAAc,GAAO,EAAc,CAAC,CAGpE,EAAO,QAAS,aAAc,gBAAmC,CAC/D,IAAM,EAAS,KAAK,eAAe,cAA8B,MAAM,CAGvE,GAFA,EAAc,EAAO,CAEjB,OAAO,gBACT,MAAM,UAAU,UAAU,UAAU,EAAO,UAAU,KAChD,CACL,IAAM,EAAY,OAAO,cAAc,CACvC,GAAI,EAAW,CACb,IAAM,EAAQ,SAAS,aAAa,CACpC,EAAM,mBAAmB,EAAO,CAChC,EAAU,iBAAiB,CAC3B,EAAU,SAAS,EAAM,CACzB,SAAS,YAAY,OAAO,EAI5B,KAAK,QAAQ,aACf,KAAK,UAAY,KAAK,QAAQ,aAEhC"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
import{t as e}from"./DH1EQbEY.min.js";function t(t,n={}){n.assert??=!0;let r=document.getElementById(t);return n.assert&&e(r),r}export{t};
|
||||
//# sourceMappingURL=chlzpS6K.min.js.map
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"vehLS1_D.min.js","names":[],"sources":["../../../../../client/simple/src/js/util/getElement.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\nimport { assertElement } from \"./assertElement.ts\";\n\ntype Options = {\n assert?: boolean;\n};\n\nexport function getElement<T>(id: string, options?: { assert: true }): T;\nexport function getElement<T>(id: string, options?: { assert: false }): T | null;\nexport function getElement<T>(id: string, options: Options = {}): T | null {\n options.assert ??= true;\n\n const element = document.getElementById(id) as T | null;\n\n if (options.assert) {\n assertElement(element);\n }\n\n return element;\n}\n"],"mappings":"sCAUA,SAAgB,EAAc,EAAY,EAAmB,EAAE,CAAY,CACzE,EAAQ,SAAW,GAEnB,IAAM,EAAU,SAAS,eAAe,EAAG,CAM3C,OAJI,EAAQ,QACV,EAAc,EAAQ,CAGjB"}
|
||||
{"version":3,"file":"chlzpS6K.min.js","names":[],"sources":["../../../../../client/simple/src/js/util/getElement.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\nimport { assertElement } from \"./assertElement.ts\";\n\ntype Options = {\n assert?: boolean;\n};\n\nexport function getElement<T>(id: string, options?: { assert: true }): T;\nexport function getElement<T>(id: string, options?: { assert: false }): T | null;\nexport function getElement<T>(id: string, options: Options = {}): T | null {\n options.assert ??= true;\n\n const element = document.getElementById(id) as T | null;\n\n if (options.assert) {\n assertElement(element);\n }\n\n return element;\n}\n"],"mappings":"sCAUA,SAAgB,EAAc,EAAY,EAAmB,EAAE,CAAY,CACzE,EAAQ,SAAW,GAEnB,IAAM,EAAU,SAAS,eAAe,EAAG,CAM3C,OAJI,EAAQ,QACV,EAAc,EAAQ,CAGjB"}
|
||||
@@ -1,2 +0,0 @@
|
||||
import{t as e}from"./DXl78Wnf.min.js";function t(t,n={}){n.assert??=!0;let r=document.getElementById(t);return n.assert&&e(r),r}export{t};
|
||||
//# sourceMappingURL=vehLS1_D.min.js.map
|
||||
@@ -1,21 +1,13 @@
|
||||
{
|
||||
"_Cq566EWy.min.js": {
|
||||
"file": "chunk/Cq566EWy.min.js",
|
||||
"name": "plugin"
|
||||
},
|
||||
"_Cs5Jkbkf.min.js": {
|
||||
"file": "chunk/Cs5Jkbkf.min.js",
|
||||
"name": "toolkit"
|
||||
},
|
||||
"_DXl78Wnf.min.js": {
|
||||
"file": "chunk/DXl78Wnf.min.js",
|
||||
"_DH1EQbEY.min.js": {
|
||||
"file": "chunk/DH1EQbEY.min.js",
|
||||
"name": "assertelement"
|
||||
},
|
||||
"_vehLS1_D.min.js": {
|
||||
"file": "chunk/vehLS1_D.min.js",
|
||||
"_chlzpS6K.min.js": {
|
||||
"file": "chunk/chlzpS6K.min.js",
|
||||
"name": "getelement",
|
||||
"imports": [
|
||||
"_DXl78Wnf.min.js"
|
||||
"_DH1EQbEY.min.js"
|
||||
]
|
||||
},
|
||||
"src/js/index.ts": {
|
||||
@@ -23,9 +15,6 @@
|
||||
"name": "core",
|
||||
"src": "src/js/index.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_Cs5Jkbkf.min.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
"src/js/plugin/MapView.ts",
|
||||
"src/js/plugin/InfiniteScroll.ts",
|
||||
@@ -38,84 +27,83 @@
|
||||
]
|
||||
},
|
||||
"src/js/main/autocomplete.ts": {
|
||||
"file": "chunk/BFSBs3g1.min.js",
|
||||
"file": "chunk/CQ8vfMdp.min.js",
|
||||
"name": "autocomplete",
|
||||
"src": "src/js/main/autocomplete.ts",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_Cs5Jkbkf.min.js",
|
||||
"_DXl78Wnf.min.js"
|
||||
"src/js/index.ts",
|
||||
"_DH1EQbEY.min.js"
|
||||
]
|
||||
},
|
||||
"src/js/main/keyboard.ts": {
|
||||
"file": "chunk/CCrWrjxi.min.js",
|
||||
"file": "chunk/aUw47Wy0.min.js",
|
||||
"name": "keyboard",
|
||||
"src": "src/js/main/keyboard.ts",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_Cs5Jkbkf.min.js",
|
||||
"_DXl78Wnf.min.js"
|
||||
"src/js/index.ts",
|
||||
"_DH1EQbEY.min.js"
|
||||
]
|
||||
},
|
||||
"src/js/main/preferences.ts": {
|
||||
"file": "chunk/DYTFyeLU.min.js",
|
||||
"file": "chunk/DZidprJh.min.js",
|
||||
"name": "preferences",
|
||||
"src": "src/js/main/preferences.ts",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_Cs5Jkbkf.min.js",
|
||||
"_DXl78Wnf.min.js"
|
||||
"src/js/index.ts",
|
||||
"_DH1EQbEY.min.js"
|
||||
]
|
||||
},
|
||||
"src/js/main/results.ts": {
|
||||
"file": "chunk/DEh0CX8J.min.js",
|
||||
"file": "chunk/DGJ63wI6.min.js",
|
||||
"name": "results",
|
||||
"src": "src/js/main/results.ts",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_Cs5Jkbkf.min.js",
|
||||
"_DXl78Wnf.min.js"
|
||||
"src/js/index.ts",
|
||||
"_DH1EQbEY.min.js"
|
||||
]
|
||||
},
|
||||
"src/js/main/search.ts": {
|
||||
"file": "chunk/BG44gnGf.min.js",
|
||||
"file": "chunk/BnP4vIuG.min.js",
|
||||
"name": "search",
|
||||
"src": "src/js/main/search.ts",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_Cs5Jkbkf.min.js",
|
||||
"_vehLS1_D.min.js"
|
||||
"src/js/index.ts",
|
||||
"_chlzpS6K.min.js"
|
||||
]
|
||||
},
|
||||
"src/js/plugin/Calculator.ts": {
|
||||
"file": "chunk/4sMJQOad.min.js",
|
||||
"file": "chunk/DyePpW7L.min.js",
|
||||
"name": "calculator",
|
||||
"src": "src/js/plugin/Calculator.ts",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_Cq566EWy.min.js",
|
||||
"_vehLS1_D.min.js"
|
||||
"src/js/index.ts",
|
||||
"_chlzpS6K.min.js"
|
||||
]
|
||||
},
|
||||
"src/js/plugin/InfiniteScroll.ts": {
|
||||
"file": "chunk/CAKNRGBu.min.js",
|
||||
"file": "chunk/Cx4rGXMm.min.js",
|
||||
"name": "infinitescroll",
|
||||
"src": "src/js/plugin/InfiniteScroll.ts",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_Cq566EWy.min.js",
|
||||
"_Cs5Jkbkf.min.js",
|
||||
"_DXl78Wnf.min.js",
|
||||
"_vehLS1_D.min.js"
|
||||
"src/js/index.ts",
|
||||
"_DH1EQbEY.min.js",
|
||||
"_chlzpS6K.min.js"
|
||||
]
|
||||
},
|
||||
"src/js/plugin/MapView.ts": {
|
||||
"file": "chunk/Cj4jNiaB.min.js",
|
||||
"file": "chunk/DwAGgYJF.min.js",
|
||||
"name": "mapview",
|
||||
"src": "src/js/plugin/MapView.ts",
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_Cq566EWy.min.js"
|
||||
"src/js/index.ts"
|
||||
],
|
||||
"css": [
|
||||
"sxng-mapview.min.css"
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./chunk/Cj4jNiaB.min.js","./chunk/Cq566EWy.min.js","./sxng-mapview.min.css","./chunk/CAKNRGBu.min.js","./chunk/Cs5Jkbkf.min.js","./chunk/DXl78Wnf.min.js","./chunk/vehLS1_D.min.js","./chunk/4sMJQOad.min.js","./chunk/CCrWrjxi.min.js","./chunk/BG44gnGf.min.js","./chunk/BFSBs3g1.min.js","./chunk/DEh0CX8J.min.js","./chunk/DYTFyeLU.min.js"])))=>i.map(i=>d[i]);
|
||||
import{i as e,n as t,o as n,s as r,t as i}from"./chunk/Cs5Jkbkf.min.js";var a=(e,t)=>{o(t)&&e()},o=e=>{switch(e.on){case`global`:return!0;case`endpoint`:return!!e.where.includes(t)}},s=`modulepreload`,c=function(e,t){return new URL(e,t).href},l={},u=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=c(t,n),t in l)return;l[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:s,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};n(()=>{document.documentElement.classList.remove(`no-js`),document.documentElement.classList.add(`js`),e(`click`,`.close`,function(){this.parentNode?.classList.add(`invisible`)}),e(`click`,`.searxng_init_map`,async function(e){e.preventDefault(),this.classList.remove(`searxng_init_map`),a(()=>u(async()=>{let{default:e}=await import(`./chunk/Cj4jNiaB.min.js`);return{default:e}},__vite__mapDeps([0,1,2]),import.meta.url).then(({default:e})=>new e(this)),{on:`endpoint`,where:[i.results]})}),r.plugins?.includes(`infiniteScroll`)&&a(()=>u(async()=>{let{default:e}=await import(`./chunk/CAKNRGBu.min.js`);return{default:e}},__vite__mapDeps([3,1,4,5,6]),import.meta.url).then(({default:e})=>new e),{on:`endpoint`,where:[i.results]}),r.plugins?.includes(`calculator`)&&a(()=>u(async()=>{let{default:e}=await import(`./chunk/4sMJQOad.min.js`);return{default:e}},__vite__mapDeps([7,1,6,5]),import.meta.url).then(({default:e})=>new e),{on:`endpoint`,where:[i.results]})}),n(()=>{u(()=>import(`./chunk/CCrWrjxi.min.js`),__vite__mapDeps([8,4,5]),import.meta.url),u(()=>import(`./chunk/BG44gnGf.min.js`),__vite__mapDeps([9,4,6,5]),import.meta.url),r.autocomplete&&u(()=>import(`./chunk/BFSBs3g1.min.js`),__vite__mapDeps([10,4,5]),import.meta.url)},{on:[t===i.index]}),n(()=>{u(()=>import(`./chunk/CCrWrjxi.min.js`),__vite__mapDeps([8,4,5]),import.meta.url),u(()=>import(`./chunk/DEh0CX8J.min.js`),__vite__mapDeps([11,4,5]),import.meta.url),u(()=>import(`./chunk/BG44gnGf.min.js`),__vite__mapDeps([9,4,6,5]),import.meta.url),r.autocomplete&&u(()=>import(`./chunk/BFSBs3g1.min.js`),__vite__mapDeps([10,4,5]),import.meta.url)},{on:[t===i.results]}),n(()=>{u(()=>import(`./chunk/DYTFyeLU.min.js`),__vite__mapDeps([12,4,5]),import.meta.url)},{on:[t===i.preferences]});
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./chunk/DwAGgYJF.min.js","./sxng-mapview.min.css","./chunk/Cx4rGXMm.min.js","./chunk/DH1EQbEY.min.js","./chunk/chlzpS6K.min.js","./chunk/DyePpW7L.min.js","./chunk/aUw47Wy0.min.js","./chunk/BnP4vIuG.min.js","./chunk/CQ8vfMdp.min.js","./chunk/DGJ63wI6.min.js","./chunk/DZidprJh.min.js"])))=>i.map(i=>d[i]);
|
||||
var e=class{id;constructor(e){this.id=e,queueMicrotask(()=>this.invoke())}async invoke(){try{console.debug(`[PLUGIN] ${this.id}: Running...`);let e=await this.run();if(!e)return;console.debug(`[PLUGIN] ${this.id}: Running post-exec...`),await this.post(e)}catch(e){console.error(`[PLUGIN] ${this.id}:`,e)}finally{console.debug(`[PLUGIN] ${this.id}: Done.`)}}},t={index:`index`,results:`results`,preferences:`preferences`,unknown:`unknown`},n={closeDetail:void 0,scrollPageToSelected:void 0,selectImage:void 0,selectNext:void 0,selectPrevious:void 0},r=()=>{let e=document.querySelector(`meta[name="endpoint"]`)?.getAttribute(`content`);return e&&e in t?e:t.unknown},i=()=>{let e=document.querySelector(`script[client_settings]`)?.getAttribute(`client_settings`);if(!e)return{};try{return JSON.parse(atob(e))}catch(e){return console.error(`Failed to load client_settings:`,e),{}}},a=async(e,t,n)=>{let r=new AbortController,i=setTimeout(()=>r.abort(),n?.timeout??3e4),a=await fetch(t,{body:n?.body,method:e,signal:r.signal}).finally(()=>clearTimeout(i));if(!a.ok)throw Error(a.statusText);return a},o=(e,t,n,r)=>{if(typeof t!=`string`){t.addEventListener(e,n,r);return}document.addEventListener(e,e=>{for(let r of e.composedPath())if(r instanceof HTMLElement&&r.matches(t)){try{n.call(r,e)}catch(e){console.error(e)}break}},r)},s=(e,t)=>{for(let e of t?.on??[])if(!e)return;document.readyState===`loading`?o(`DOMContentLoaded`,document,e,{once:!0}):e()},c=r(),l=i(),u=(e,t)=>{d(t)&&e()},d=e=>{switch(e.on){case`global`:return!0;case`endpoint`:return!!e.where.includes(c)}},f=`modulepreload`,p=function(e,t){return new URL(e,t).href},m={},h=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=p(t,n),t in m)return;m[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:f,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};s(()=>{document.documentElement.classList.remove(`no-js`),document.documentElement.classList.add(`js`),o(`click`,`.close`,function(){this.parentNode?.classList.add(`invisible`)}),o(`click`,`.searxng_init_map`,async function(e){e.preventDefault(),this.classList.remove(`searxng_init_map`),u(()=>h(async()=>{let{default:e}=await import(`./chunk/DwAGgYJF.min.js`);return{default:e}},__vite__mapDeps([0,1]),import.meta.url).then(({default:e})=>new e(this)),{on:`endpoint`,where:[t.results]})}),l.plugins?.includes(`infiniteScroll`)&&u(()=>h(async()=>{let{default:e}=await import(`./chunk/Cx4rGXMm.min.js`);return{default:e}},__vite__mapDeps([2,3,4]),import.meta.url).then(({default:e})=>new e),{on:`endpoint`,where:[t.results]}),l.plugins?.includes(`calculator`)&&u(()=>h(async()=>{let{default:e}=await import(`./chunk/DyePpW7L.min.js`);return{default:e}},__vite__mapDeps([5,4,3]),import.meta.url).then(({default:e})=>new e),{on:`endpoint`,where:[t.results]})}),s(()=>{h(()=>import(`./chunk/aUw47Wy0.min.js`),__vite__mapDeps([6,3]),import.meta.url),h(()=>import(`./chunk/BnP4vIuG.min.js`),__vite__mapDeps([7,4,3]),import.meta.url),l.autocomplete&&h(()=>import(`./chunk/CQ8vfMdp.min.js`),__vite__mapDeps([8,3]),import.meta.url)},{on:[c===t.index]}),s(()=>{h(()=>import(`./chunk/aUw47Wy0.min.js`),__vite__mapDeps([6,3]),import.meta.url),h(()=>import(`./chunk/DGJ63wI6.min.js`),__vite__mapDeps([9,3]),import.meta.url),h(()=>import(`./chunk/BnP4vIuG.min.js`),__vite__mapDeps([7,4,3]),import.meta.url),l.autocomplete&&h(()=>import(`./chunk/CQ8vfMdp.min.js`),__vite__mapDeps([8,3]),import.meta.url)},{on:[c===t.results]}),s(()=>{h(()=>import(`./chunk/DZidprJh.min.js`),__vite__mapDeps([10,3]),import.meta.url)},{on:[c===t.preferences]});export{e as a,l as i,o as n,n as r,a as t};
|
||||
//# sourceMappingURL=sxng-core.min.js.map
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -20,7 +20,7 @@ msgstr ""
|
||||
"Project-Id-Version: searx\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2026-03-24 18:43+0000\n"
|
||||
"PO-Revision-Date: 2026-04-09 18:57+0000\n"
|
||||
"PO-Revision-Date: 2026-04-16 06:57+0000\n"
|
||||
"Last-Translator: AndersNordh <andersnordh@noreply.codeberg.org>\n"
|
||||
"Language-Team: Danish <https://translate.codeberg.org/projects/searxng/"
|
||||
"searxng/da/>\n"
|
||||
@@ -29,7 +29,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 5.16.2\n"
|
||||
"X-Generator: Weblate 5.17\n"
|
||||
"Generated-By: Babel 2.18.0\n"
|
||||
|
||||
#. CONSTANT_NAMES['NO_SUBGROUPING']
|
||||
@@ -885,7 +885,7 @@ msgstr "Indstillinger"
|
||||
|
||||
#: searx/templates/simple/base.html:68
|
||||
msgid "Powered by"
|
||||
msgstr "Leveret af"
|
||||
msgstr "Drevet af"
|
||||
|
||||
#: searx/templates/simple/base.html:68
|
||||
msgid "a privacy-respecting, open metasearch engine"
|
||||
|
||||
Binary file not shown.
@@ -38,8 +38,8 @@ msgstr ""
|
||||
"Project-Id-Version: searx\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2026-03-24 18:43+0000\n"
|
||||
"PO-Revision-Date: 2026-03-27 07:33+0000\n"
|
||||
"Last-Translator: bittin <bittin@noreply.codeberg.org>\n"
|
||||
"PO-Revision-Date: 2026-04-16 06:57+0000\n"
|
||||
"Last-Translator: AndersNordh <andersnordh@noreply.codeberg.org>\n"
|
||||
"Language-Team: Swedish <https://translate.codeberg.org/projects/searxng/"
|
||||
"searxng/sv/>\n"
|
||||
"Language: sv\n"
|
||||
@@ -47,7 +47,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 5.16.2\n"
|
||||
"X-Generator: Weblate 5.17\n"
|
||||
"Generated-By: Babel 2.18.0\n"
|
||||
|
||||
#. CONSTANT_NAMES['NO_SUBGROUPING']
|
||||
@@ -903,7 +903,7 @@ msgstr "Inställningar"
|
||||
|
||||
#: searx/templates/simple/base.html:68
|
||||
msgid "Powered by"
|
||||
msgstr "Drivet av"
|
||||
msgstr "Drivs av"
|
||||
|
||||
#: searx/templates/simple/base.html:68
|
||||
msgid "a privacy-respecting, open metasearch engine"
|
||||
|
||||
Reference in New Issue
Block a user