diff --git a/astro.config.mjs b/astro.config.mjs index 877ca42..874d37c 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,46 +1,46 @@ -import sitemap from '@astrojs/sitemap'; -import svelte from "@astrojs/svelte" -import tailwind from "@astrojs/tailwind" -import swup from '@swup/astro'; -import Compress from "astro-compress" -import icon from "astro-icon" -import { defineConfig } from "astro/config" -import Color from "colorjs.io" -import rehypeAutolinkHeadings from "rehype-autolink-headings" -import rehypeComponents from "rehype-components"; /* Render the custom directive content */ -import rehypeKatex from "rehype-katex" -import rehypeSlug from "rehype-slug" -import remarkDirective from "remark-directive" /* Handle directives */ -import remarkGithubAdmonitionsToDirectives from "remark-github-admonitions-to-directives"; -import remarkMath from "remark-math" -import { AdmonitionComponent } from "./src/plugins/rehype-component-admonition.mjs" -import { GithubCardComponent } from "./src/plugins/rehype-component-github-card.mjs" -import {parseDirectiveNode} from "./src/plugins/remark-directive-rehype.js"; -import { remarkReadingTime } from "./src/plugins/remark-reading-time.mjs" -import {remarkExcerpt} from "./src/plugins/remark-excerpt.js"; +import sitemap from '@astrojs/sitemap' +import svelte from '@astrojs/svelte' +import tailwind from '@astrojs/tailwind' +import swup from '@swup/astro' +import Compress from 'astro-compress' +import icon from 'astro-icon' +import { defineConfig } from 'astro/config' +import Color from 'colorjs.io' +import rehypeAutolinkHeadings from 'rehype-autolink-headings' +import rehypeComponents from 'rehype-components' /* Render the custom directive content */ +import rehypeKatex from 'rehype-katex' +import rehypeSlug from 'rehype-slug' +import remarkDirective from 'remark-directive' /* Handle directives */ +import remarkGithubAdmonitionsToDirectives from 'remark-github-admonitions-to-directives' +import remarkMath from 'remark-math' +import { AdmonitionComponent } from './src/plugins/rehype-component-admonition.mjs' +import { GithubCardComponent } from './src/plugins/rehype-component-github-card.mjs' +import { parseDirectiveNode } from './src/plugins/remark-directive-rehype.js' +import { remarkExcerpt } from './src/plugins/remark-excerpt.js' +import { remarkReadingTime } from './src/plugins/remark-reading-time.mjs' -const oklchToHex = (str) => { +const oklchToHex = str => { const DEFAULT_HUE = 250 const regex = /-?\d+(\.\d+)?/g const matches = str.string.match(regex) const lch = [matches[0], matches[1], DEFAULT_HUE] - return new Color("oklch", lch).to("srgb").toString({ - format: "hex", + return new Color('oklch', lch).to('srgb').toString({ + format: 'hex', }) } // https://astro.build/config export default defineConfig({ - site: "https://fuwari.vercel.app/", - base: "/", - trailingSlash: "always", + site: 'https://fuwari.vercel.app/', + base: '/', + trailingSlash: 'always', integrations: [ tailwind(), swup({ theme: false, - animationClass: 'transition-swup-', // see https://swup.js.org/options/#animationselector - // the default value `transition-` cause transition delay - // when the Tailwind class `transition-all` is used + animationClass: 'transition-swup-', // see https://swup.js.org/options/#animationselector + // the default value `transition-` cause transition delay + // when the Tailwind class `transition-all` is used containers: ['main'], smoothScrolling: true, cache: true, @@ -52,10 +52,10 @@ export default defineConfig({ }), icon({ include: { - "material-symbols": ["*"], - "fa6-brands": ["*"], - "fa6-regular": ["*"], - "fa6-solid": ["*"], + 'material-symbols': ['*'], + 'fa6-brands': ['*'], + 'fa6-regular': ['*'], + 'fa6-solid': ['*'], }, }), svelte(), @@ -64,43 +64,53 @@ export default defineConfig({ CSS: false, Image: false, Action: { - Passed: async () => true, // https://github.com/PlayForm/Compress/issues/376 + Passed: async () => true, // https://github.com/PlayForm/Compress/issues/376 }, }), ], markdown: { - remarkPlugins: [remarkMath, remarkReadingTime, remarkExcerpt, remarkGithubAdmonitionsToDirectives, remarkDirective, parseDirectiveNode], + remarkPlugins: [ + remarkMath, + remarkReadingTime, + remarkExcerpt, + remarkGithubAdmonitionsToDirectives, + remarkDirective, + parseDirectiveNode, + ], rehypePlugins: [ rehypeKatex, rehypeSlug, - [rehypeComponents, { - components: { - github: GithubCardComponent, - note: (x, y) => AdmonitionComponent(x, y, "note"), - tip: (x, y) => AdmonitionComponent(x, y, "tip"), - important: (x, y) => AdmonitionComponent(x, y, "important"), - caution: (x, y) => AdmonitionComponent(x, y, "caution"), - warning: (x, y) => AdmonitionComponent(x, y, "warning"), + [ + rehypeComponents, + { + components: { + github: GithubCardComponent, + note: (x, y) => AdmonitionComponent(x, y, 'note'), + tip: (x, y) => AdmonitionComponent(x, y, 'tip'), + important: (x, y) => AdmonitionComponent(x, y, 'important'), + caution: (x, y) => AdmonitionComponent(x, y, 'caution'), + warning: (x, y) => AdmonitionComponent(x, y, 'warning'), + }, }, - }], + ], [ rehypeAutolinkHeadings, { - behavior: "append", + behavior: 'append', properties: { - className: ["anchor"], + className: ['anchor'], }, content: { - type: "element", - tagName: "span", + type: 'element', + tagName: 'span', properties: { - className: ["anchor-icon"], + className: ['anchor-icon'], 'data-pagefind-ignore': true, }, children: [ { - type: "text", - value: "#", + type: 'text', + value: '#', }, ], }, @@ -113,12 +123,15 @@ export default defineConfig({ rollupOptions: { onwarn(warning, warn) { // temporarily suppress this warning - if (warning.message.includes("is dynamically imported by") && warning.message.includes("but also statically imported by")) { - return; + if ( + warning.message.includes('is dynamically imported by') && + warning.message.includes('but also statically imported by') + ) { + return } - warn(warning); - } - } + warn(warning) + }, + }, }, css: { preprocessorOptions: { diff --git a/package.json b/package.json index f504749..be14f29 100644 --- a/package.json +++ b/package.json @@ -17,12 +17,12 @@ "@astrojs/check": "^0.9.3", "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^3.1.6", - "@astrojs/svelte": "^5.7.0", - "@astrojs/tailwind": "^5.1.0", + "@astrojs/svelte": "^5.7.1", + "@astrojs/tailwind": "^5.1.1", "@fontsource-variable/jetbrains-mono": "^5.0.22", "@fontsource/roboto": "^5.0.14", "@swup/astro": "^1.4.1", - "astro": "^4.15.0", + "astro": "^4.15.9", "astro-compress": "^2.3.1", "astro-icon": "^1.1.1", "colorjs.io": "^0.5.2", @@ -47,7 +47,7 @@ "unist-util-visit": "^5.0.0" }, "devDependencies": { - "@astrojs/ts-plugin": "^1.10.1", + "@astrojs/ts-plugin": "^1.10.2", "@biomejs/biome": "1.8.3", "@iconify-json/fa6-brands": "^1.1.22", "@iconify-json/fa6-regular": "^1.1.22", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ef3b47c..b9c0547 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -22,11 +22,11 @@ importers: specifier: ^3.1.6 version: 3.1.6 '@astrojs/svelte': - specifier: ^5.7.0 - version: 5.7.0(astro@4.15.0(@types/node@22.5.1)(lightningcss@1.26.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4))(svelte@4.2.19)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)) + specifier: ^5.7.1 + version: 5.7.1(astro@4.15.9(@types/node@22.5.1)(lightningcss@1.27.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4))(svelte@4.2.19)(typescript@5.5.4)(vite@5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)) '@astrojs/tailwind': - specifier: ^5.1.0 - version: 5.1.0(astro@4.15.0(@types/node@22.5.1)(lightningcss@1.26.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4))(tailwindcss@3.4.10) + specifier: ^5.1.1 + version: 5.1.1(astro@4.15.9(@types/node@22.5.1)(lightningcss@1.27.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4))(tailwindcss@3.4.10) '@fontsource-variable/jetbrains-mono': specifier: ^5.0.22 version: 5.0.22 @@ -37,8 +37,8 @@ importers: specifier: ^1.4.1 version: 1.4.1(@types/babel__core@7.20.5) astro: - specifier: ^4.15.0 - version: 4.15.0(@types/node@22.5.1)(lightningcss@1.26.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4) + specifier: ^4.15.9 + version: 4.15.9(@types/node@22.5.1)(lightningcss@1.27.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4) astro-compress: specifier: ^2.3.1 version: 2.3.1(@types/node@22.5.1)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(typescript@5.5.4) @@ -107,8 +107,8 @@ importers: version: 5.0.0 devDependencies: '@astrojs/ts-plugin': - specifier: ^1.10.1 - version: 1.10.1 + specifier: ^1.10.2 + version: 1.10.2 '@biomejs/biome': specifier: 1.8.3 version: 1.8.3 @@ -211,26 +211,26 @@ packages: '@astrojs/sitemap@3.1.6': resolution: {integrity: sha512-1Qp2NvAzVImqA6y+LubKi1DVhve/hXXgFvB0szxiipzh7BvtuKe4oJJ9dXSqaubaTkt4nMa6dv6RCCAYeB6xaQ==} - '@astrojs/svelte@5.7.0': - resolution: {integrity: sha512-pC/xM5ejDzqIhfr8e6gbjBkIwyTQDLuOH778LfH0EiVlTq5H0WUHCnIcjFBvcaJv9ye8AR0TlGvQmZtkt9x3Eg==} + '@astrojs/svelte@5.7.1': + resolution: {integrity: sha512-VIxEdkrnGMoxjs/heI0SWAwQy9+aHxVrsK5QUmsFihXKeYB9OhbZHUzsRJEmoW3IPpKZn/DEallyr1/4a1zZxQ==} engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0} peerDependencies: astro: ^4.0.0 svelte: ^4.0.0 || ^5.0.0-next.190 typescript: ^5.3.3 - '@astrojs/tailwind@5.1.0': - resolution: {integrity: sha512-BJoCDKuWhU9FT2qYg+fr6Nfb3qP4ShtyjXGHKA/4mHN94z7BGcmauQK23iy+YH5qWvTnhqkd6mQPQ1yTZTe9Ig==} + '@astrojs/tailwind@5.1.1': + resolution: {integrity: sha512-LwurA10uIKcGRxQP2R81RvAnBT0WPKzBntXZBF4hrAefDgM5Uumn0nsGr6tdIjSARgYz4X+Cq/Vh78t3bql3yw==} peerDependencies: - astro: ^3.0.0 || ^4.0.0 + astro: ^3.0.0 || ^4.0.0 || ^5.0.0-beta.0 tailwindcss: ^3.0.24 '@astrojs/telemetry@3.1.0': resolution: {integrity: sha512-/ca/+D8MIKEC8/A9cSaPUqQNZm+Es/ZinRv0ZAzvu2ios7POQSsVD+VOj7/hypWNsNM3T7RpfgNq7H2TU1KEHA==} engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0} - '@astrojs/ts-plugin@1.10.1': - resolution: {integrity: sha512-T7Z8fob6bkgLlcYiJSsn84wF5XelS0VJSEC4BRPnEHZj3eeOrmmMl8uZqBTJ+zArGMOfyhhA7X+SUGRIAZApHQ==} + '@astrojs/ts-plugin@1.10.2': + resolution: {integrity: sha512-Q7EvUh9dU9Ufi6Jfe5JRcisBuremlLZ7jJImUY2/eMe6OVwCXSmETDir/tVwT0K+lnfNiUwju9qHZYX2/5ch0Q==} '@astrojs/yaml2ts@0.2.1': resolution: {integrity: sha512-CBaNwDQJz20E5WxzQh4thLVfhB3JEEGz72wRA+oJp6fQR37QLAqXZJU0mHC+yqMOQ6oj0GfRPJrz6hjf+zm6zA==} @@ -1256,8 +1256,8 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@oslojs/encoding@0.4.1': - resolution: {integrity: sha512-hkjo6MuIK/kQR5CrGNdAPZhS01ZCXuWDRJ187zh6qqF2+yMHZpD9fAYpX8q2bOO6Ryhl3XpCT6kUX76N8hhm4Q==} + '@oslojs/encoding@1.1.0': + resolution: {integrity: sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==} '@pagefind/darwin-arm64@1.1.0': resolution: {integrity: sha512-SLsXNLtSilGZjvqis8sX42fBWsWAVkcDh1oerxwqbac84HbiwxpxOC2jm8hRwcR0Z55HPZPWO77XeRix/8GwTg==} @@ -1433,8 +1433,20 @@ packages: cpu: [x64] os: [win32] - '@shikijs/core@1.14.1': - resolution: {integrity: sha512-KyHIIpKNaT20FtFPFjCQB5WVSTpLR/n+jQXhWHWVUMm9MaOaG9BGOG0MSyt7yA4+Lm+4c9rTc03tt3nYzeYSfw==} + '@shikijs/core@1.19.0': + resolution: {integrity: sha512-314J5MPdS1wzfjuD856MXvbAI2wN03ofMnUGkZ5ZDBOza/d38paLwd+YVyuKrrjxJ4hfPMjc4tRmPkXd6UDMPQ==} + + '@shikijs/engine-javascript@1.19.0': + resolution: {integrity: sha512-D1sioU61n7fLWfDzTC9JNS19zEYZMr7qxkSVzv6ziEWDxnwzy2PvYoKPedJV4qUf+2VnrYPSaArDz2W0XgGB7A==} + + '@shikijs/engine-oniguruma@1.19.0': + resolution: {integrity: sha512-/JxwIefNVLGB4EmpB8i6P4JB/oVYRuzSixbqvx7m6iPW0lQ1T97c/0wmA+JlKbngEiExckSuPwa48fajlShB7A==} + + '@shikijs/types@1.19.0': + resolution: {integrity: sha512-NZvVp3k1bP4MTRUbmnkGhYzPdoNMjNLSAwczMRUbtUl4oj2LlNRNbwERyeIyJt56Ac9fvPVZ2nn13OXk86E5UQ==} + + '@shikijs/vscode-textmate@9.2.2': + resolution: {integrity: sha512-TMp15K+GGYrWlZM8+Lnj9EaHEFmOen0WJBrfa17hF7taDOYthuPPV0GWzfd/9iMij0akS/8Yw2ikquH7uVi/fg==} '@surma/rollup-plugin-off-main-thread@2.2.3': resolution: {integrity: sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==} @@ -1751,8 +1763,8 @@ packages: astro-icon@1.1.1: resolution: {integrity: sha512-HKBesWk2Faw/0+klLX+epQVqdTfSzZz/9+5vxXUjTJaN/HnpDf608gRPgHh7ZtwBPNJMEFoU5GLegxoDcT56OQ==} - astro@4.15.0: - resolution: {integrity: sha512-bL2ol1+j1Xf/7Q8DQSWP1BfkBd6RkkgVsmp9TCzYklqPSeInpAYGGsAgi+SY7Sf40Vk9o+ku6Zl1zav4MLN4uA==} + astro@4.15.9: + resolution: {integrity: sha512-51oXq9qrZ5OPWYmEXt1kGrvWmVeWsx28SgBTzi2XW6iwcnW/wC5ONm6ol6qBGSCF93tQvZplXvuzpaw1injECA==} engines: {node: ^18.17.1 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0'} hasBin: true @@ -2134,6 +2146,15 @@ packages: supports-color: optional: true + debug@4.3.7: + resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + decode-named-character-reference@1.0.2: resolution: {integrity: sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==} @@ -2610,6 +2631,9 @@ packages: hast-util-to-html@9.0.2: resolution: {integrity: sha512-RP5wNpj5nm1Z8cloDv4Sl4RS8jH5HYa0v93YB6Wb4poEzgMo/dAAL0KcT4974dCjcNG5pkLqTImeFHHCwwfY3g==} + hast-util-to-html@9.0.3: + resolution: {integrity: sha512-M17uBDzMJ9RPCqLMO92gNNUDuBSq10a25SDBI08iCCxmorf4Yy6sYHK57n9WAbRAAaU+DuR4W6GN9K4DFZesYg==} + hast-util-to-parse5@8.0.0: resolution: {integrity: sha512-3KKrV5ZVI8if87DVSi1vDeByYrkGzg4mEfeu4alwgmmIeARiBLKCZS2uw5Gb6nU9x9Yufyj3iudm6i7nl52PFw==} @@ -2936,8 +2960,8 @@ packages: cpu: [arm64] os: [darwin] - lightningcss-darwin-arm64@1.26.0: - resolution: {integrity: sha512-n4TIvHO1NY1ondKFYpL2ZX0bcC2y6yjXMD6JfyizgR8BCFNEeArINDzEaeqlfX9bXz73Bpz/Ow0nu+1qiDrBKg==} + lightningcss-darwin-arm64@1.27.0: + resolution: {integrity: sha512-Gl/lqIXY+d+ySmMbgDf0pgaWSqrWYxVHoc88q+Vhf2YNzZ8DwoRzGt5NZDVqqIW5ScpSnmmjcgXP87Dn2ylSSQ==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [darwin] @@ -2948,8 +2972,8 @@ packages: cpu: [x64] os: [darwin] - lightningcss-darwin-x64@1.26.0: - resolution: {integrity: sha512-Rf9HuHIDi1R6/zgBkJh25SiJHF+dm9axUZW/0UoYCW1/8HV0gMI0blARhH4z+REmWiU1yYT/KyNF3h7tHyRXUg==} + lightningcss-darwin-x64@1.27.0: + resolution: {integrity: sha512-0+mZa54IlcNAoQS9E0+niovhyjjQWEMrwW0p2sSdLRhLDc8LMQ/b67z7+B5q4VmjYCMSfnFi3djAAQFIDuj/Tg==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [darwin] @@ -2960,8 +2984,8 @@ packages: cpu: [x64] os: [freebsd] - lightningcss-freebsd-x64@1.26.0: - resolution: {integrity: sha512-C/io7POAxp6sZxFSVGezjajMlCKQ8KSwISLLGRq8xLQpQMokYrUoqYEwmIX8mLmF6C/CZPk0gFmRSzd8biWM0g==} + lightningcss-freebsd-x64@1.27.0: + resolution: {integrity: sha512-n1sEf85fePoU2aDN2PzYjoI8gbBqnmLGEhKq7q0DKLj0UTVmOTwDC7PtLcy/zFxzASTSBlVQYJUhwIStQMIpRA==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [freebsd] @@ -2972,8 +2996,8 @@ packages: cpu: [arm] os: [linux] - lightningcss-linux-arm-gnueabihf@1.26.0: - resolution: {integrity: sha512-Aag9kqXqkyPSW+dXMgyWk66C984Nay2pY8Nws+67gHlDzV3cWh7TvFlzuaTaVFMVqdDTzN484LSK3u39zFBnzg==} + lightningcss-linux-arm-gnueabihf@1.27.0: + resolution: {integrity: sha512-MUMRmtdRkOkd5z3h986HOuNBD1c2lq2BSQA1Jg88d9I7bmPGx08bwGcnB75dvr17CwxjxD6XPi3Qh8ArmKFqCA==} engines: {node: '>= 12.0.0'} cpu: [arm] os: [linux] @@ -2984,8 +3008,8 @@ packages: cpu: [arm64] os: [linux] - lightningcss-linux-arm64-gnu@1.26.0: - resolution: {integrity: sha512-iJmZM7fUyVjH+POtdiCtExG+67TtPUTer7K/5A8DIfmPfrmeGvzfRyBltGhQz13Wi15K1lf2cPYoRaRh6vcwNA==} + lightningcss-linux-arm64-gnu@1.27.0: + resolution: {integrity: sha512-cPsxo1QEWq2sfKkSq2Bq5feQDHdUEwgtA9KaB27J5AX22+l4l0ptgjMZZtYtUnteBofjee+0oW1wQ1guv04a7A==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] @@ -2996,8 +3020,8 @@ packages: cpu: [arm64] os: [linux] - lightningcss-linux-arm64-musl@1.26.0: - resolution: {integrity: sha512-XxoEL++tTkyuvu+wq/QS8bwyTXZv2y5XYCMcWL45b8XwkiS8eEEEej9BkMGSRwxa5J4K+LDeIhLrS23CpQyfig==} + lightningcss-linux-arm64-musl@1.27.0: + resolution: {integrity: sha512-rCGBm2ax7kQ9pBSeITfCW9XSVF69VX+fm5DIpvDZQl4NnQoMQyRwhZQm9pd59m8leZ1IesRqWk2v/DntMo26lg==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] @@ -3008,8 +3032,8 @@ packages: cpu: [x64] os: [linux] - lightningcss-linux-x64-gnu@1.26.0: - resolution: {integrity: sha512-1dkTfZQAYLj8MUSkd6L/+TWTG8V6Kfrzfa0T1fSlXCXQHrt1HC1/UepXHtKHDt/9yFwyoeayivxXAsApVxn6zA==} + lightningcss-linux-x64-gnu@1.27.0: + resolution: {integrity: sha512-Dk/jovSI7qqhJDiUibvaikNKI2x6kWPN79AQiD/E/KeQWMjdGe9kw51RAgoWFDi0coP4jinaH14Nrt/J8z3U4A==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] @@ -3020,14 +3044,14 @@ packages: cpu: [x64] os: [linux] - lightningcss-linux-x64-musl@1.26.0: - resolution: {integrity: sha512-yX3Rk9m00JGCUzuUhFEojY+jf/6zHs3XU8S8Vk+FRbnr4St7cjyMXdNjuA2LjiT8e7j8xHRCH8hyZ4H/btRE4A==} + lightningcss-linux-x64-musl@1.27.0: + resolution: {integrity: sha512-QKjTxXm8A9s6v9Tg3Fk0gscCQA1t/HMoF7Woy1u68wCk5kS4fR+q3vXa1p3++REW784cRAtkYKrPy6JKibrEZA==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] - lightningcss-win32-arm64-msvc@1.26.0: - resolution: {integrity: sha512-X/597/cFnCogy9VItj/+7Tgu5VLbAtDF7KZDPdSw0MaL6FL940th1y3HiOzFIlziVvAtbo0RB3NAae1Oofr+Tw==} + lightningcss-win32-arm64-msvc@1.27.0: + resolution: {integrity: sha512-/wXegPS1hnhkeG4OXQKEMQeJd48RDC3qdh+OA8pCuOPCyvnm/yEayrJdJVqzBsqpy1aJklRCVxscpFur80o6iQ==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [win32] @@ -3038,8 +3062,8 @@ packages: cpu: [x64] os: [win32] - lightningcss-win32-x64-msvc@1.26.0: - resolution: {integrity: sha512-pYS3EyGP3JRhfqEFYmfFDiZ9/pVNfy8jVIYtrx9TVNusVyDK3gpW1w/rbvroQ4bDJi7grdUtyrYU6V2xkY/bBw==} + lightningcss-win32-x64-msvc@1.27.0: + resolution: {integrity: sha512-/OJLj94Zm/waZShL8nB5jsNj3CfNATLCTyFxZyouilfTmSoLDX7VlVAmhPHoZWVFp4vdmoiEbPEYC8HID3m6yw==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [win32] @@ -3048,8 +3072,8 @@ packages: resolution: {integrity: sha512-V0RMVZzK1+rCHpymRv4URK2lNhIRyO8g7U7zOFwVAhJuat74HtkjIQpQRKNCwFEYkRGpafOpmXXLoaoBcyVtBg==} engines: {node: '>= 12.0.0'} - lightningcss@1.26.0: - resolution: {integrity: sha512-a/XZ5hdgifrofQJUArr5AiJjx26SwMam3SJUSMjgebZbESZ96i+6Qsl8tLi0kaUsdMzBWXh9sN1Oe6hp2/dkQw==} + lightningcss@1.27.0: + resolution: {integrity: sha512-8f7aNmS1+etYSLHht0fQApPc2kNO8qGRutifN5rVIc6Xo6ABsEbqOr758UwI7ALVbTt4x1fllKt0PYgzD9S3yQ==} engines: {node: '>= 12.0.0'} lilconfig@2.1.0: @@ -3376,6 +3400,9 @@ packages: ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + muggle-string@0.4.1: resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==} @@ -3449,6 +3476,9 @@ packages: resolution: {integrity: sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==} engines: {node: '>=18'} + oniguruma-to-js@0.4.3: + resolution: {integrity: sha512-X0jWUcAlxORhOqqBREgPMgnshB7ZGYszBNspP+tS9hPD3l13CdaXcHbgImoHUHlrvGx/7AvFEkTRhAGYh+jzjQ==} + open@8.4.2: resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==} engines: {node: '>=12'} @@ -3587,6 +3617,9 @@ packages: picocolors@1.0.1: resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} + picocolors@1.1.0: + resolution: {integrity: sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==} + picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} @@ -3865,6 +3898,10 @@ packages: resolution: {integrity: sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==} engines: {node: ^10 || ^12 || >=14} + postcss@8.4.47: + resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==} + engines: {node: ^10 || ^12 || >=14} + preferred-pm@4.0.0: resolution: {integrity: sha512-gYBeFTZLu055D8Vv3cSPox/0iTPtkzxpLroSYYA7WXgRi31WCJ51Uyl8ZiPeUUjyvs2MBzK+S8v9JVUgHU/Sqw==} engines: {node: '>=18.12'} @@ -3945,6 +3982,9 @@ packages: regenerator-transform@0.15.2: resolution: {integrity: sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==} + regex@4.3.2: + resolution: {integrity: sha512-kK/AA3A9K6q2js89+VMymcboLOlF5lZRCYJv3gzszXFHBr6kO6qLGzbm+UIugBEV8SMMKCTR59txoY6ctRHYVw==} + regexp.prototype.flags@1.5.2: resolution: {integrity: sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==} engines: {node: '>= 0.4'} @@ -4191,8 +4231,8 @@ packages: engines: {node: '>=4'} hasBin: true - shiki@1.14.1: - resolution: {integrity: sha512-FujAN40NEejeXdzPt+3sZ3F2dx1U24BY2XTY01+MG8mbxCiA2XukXdcbyMyLAHJ/1AUUnQd1tZlvIjefWWEJeA==} + shiki@1.19.0: + resolution: {integrity: sha512-Ng7Gd6XgWFLsv4Z3so65hOyXjV78qz1M117MuZHwdPQD6fgb5wR2IoLMvSlM/Ml14EXH7n+/YxIpTD74i7kDdw==} side-channel@1.0.6: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} @@ -4221,6 +4261,10 @@ packages: resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} engines: {node: '>=0.10.0'} + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + engines: {node: '>=0.10.0'} + source-map-support@0.5.21: resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} @@ -4349,8 +4393,8 @@ packages: peerDependencies: svelte: ^3.19.0 || ^4.0.0 - svelte2tsx@0.7.16: - resolution: {integrity: sha512-faI3t1N5I7RkrXGMLfUdfWg6DTPi8RisfES/00QzXh+faU2pQ3r/W2dUD0ENGh+qNzltIcjbfCW9PES9JkaSXg==} + svelte2tsx@0.7.20: + resolution: {integrity: sha512-cGfCQa57nqbS1f4fTFGmnrWHdvUmDJTe6/D9Aiiwpz0BuOL4gLi/PrC0X8yUZ9hevXQdIaUd7ZqAmscgKzOmJg==} peerDependencies: svelte: ^3.55 || ^4.0.0-next.0 || ^4.0 || ^5.0.0-next.0 typescript: ^4.9.4 || ^5.0.0 @@ -4435,8 +4479,8 @@ packages: ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - tsconfck@3.1.1: - resolution: {integrity: sha512-00eoI6WY57SvZEVjm13stEVE90VkEdJAFGgpFLTsZbJyW/LwFQ7uQxJHWpZ2hzSWgCPKc9AnBnNP+0X7o3hAmQ==} + tsconfck@3.1.3: + resolution: {integrity: sha512-ulNZP1SVpRDesxeMLON/LtWM8HIgAJEIVpVVhBM6gsmvQ8+Rh+ZG7FWGvHh7Ah3pRABwVJWklWCr/BTZSv0xnQ==} engines: {node: ^18 || >=20} hasBin: true peerDependencies: @@ -4577,8 +4621,8 @@ packages: vfile@6.0.3: resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} - vite@5.4.2: - resolution: {integrity: sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==} + vite@5.4.8: + resolution: {integrity: sha512-FqrItQ4DT1NC4zCUqMB4c4AZORMKIa0m8/URVCZ77OZ/QSNeJ54bU1vrFADbDsuwfIPcgknRkmqakQcgnL4GiQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -4616,6 +4660,14 @@ packages: vite: optional: true + vitefu@1.0.2: + resolution: {integrity: sha512-0/iAvbXyM3RiPPJ4lyD4w6Mjgtf4ejTK6TPvTNG3H32PLwuT0N/ZjJLiXug7ETE/LWtTeHw9WRv7uX/tIKYyKg==} + peerDependencies: + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 + peerDependenciesMeta: + vite: + optional: true + volar-service-css@0.0.61: resolution: {integrity: sha512-Ct9L/w+IB1JU8F4jofcNCGoHy6TF83aiapfZq9A0qYYpq+Kk5dH+ONS+rVZSsuhsunq8UvAuF8Gk6B8IFLfniw==} peerDependencies: @@ -4905,7 +4957,7 @@ snapshots: remark-parse: 11.0.0 remark-rehype: 11.1.0 remark-smartypants: 3.0.2 - shiki: 1.14.1 + shiki: 1.19.0 unified: 11.0.5 unist-util-remove-position: 5.0.0 unist-util-visit: 5.0.0 @@ -4929,23 +4981,23 @@ snapshots: stream-replace-string: 2.0.0 zod: 3.23.8 - '@astrojs/svelte@5.7.0(astro@4.15.0(@types/node@22.5.1)(lightningcss@1.26.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4))(svelte@4.2.19)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6))': + '@astrojs/svelte@5.7.1(astro@4.15.9(@types/node@22.5.1)(lightningcss@1.27.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4))(svelte@4.2.19)(typescript@5.5.4)(vite@5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@4.2.19)(vite@5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)) - astro: 4.15.0(@types/node@22.5.1)(lightningcss@1.26.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4) + '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@4.2.19)(vite@5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)) + astro: 4.15.9(@types/node@22.5.1)(lightningcss@1.27.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4) svelte: 4.2.19 - svelte2tsx: 0.7.16(svelte@4.2.19)(typescript@5.5.4) + svelte2tsx: 0.7.20(svelte@4.2.19)(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - supports-color - vite - '@astrojs/tailwind@5.1.0(astro@4.15.0(@types/node@22.5.1)(lightningcss@1.26.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4))(tailwindcss@3.4.10)': + '@astrojs/tailwind@5.1.1(astro@4.15.9(@types/node@22.5.1)(lightningcss@1.27.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4))(tailwindcss@3.4.10)': dependencies: - astro: 4.15.0(@types/node@22.5.1)(lightningcss@1.26.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4) - autoprefixer: 10.4.20(postcss@8.4.41) - postcss: 8.4.41 - postcss-load-config: 4.0.2(postcss@8.4.41) + astro: 4.15.9(@types/node@22.5.1)(lightningcss@1.27.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4) + autoprefixer: 10.4.20(postcss@8.4.47) + postcss: 8.4.47 + postcss-load-config: 4.0.2(postcss@8.4.47) tailwindcss: 3.4.10 transitivePeerDependencies: - ts-node @@ -4953,7 +5005,7 @@ snapshots: '@astrojs/telemetry@3.1.0': dependencies: ci-info: 4.0.0 - debug: 4.3.6 + debug: 4.3.7 dlv: 1.1.3 dset: 3.1.3 is-docker: 3.0.0 @@ -4962,7 +5014,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@astrojs/ts-plugin@1.10.1': + '@astrojs/ts-plugin@1.10.2': dependencies: '@astrojs/compiler': 2.10.3 '@astrojs/yaml2ts': 0.2.1 @@ -6115,7 +6167,7 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@oslojs/encoding@0.4.1': {} + '@oslojs/encoding@1.1.0': {} '@pagefind/darwin-arm64@1.1.0': optional: true @@ -6259,9 +6311,32 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.21.1': optional: true - '@shikijs/core@1.14.1': + '@shikijs/core@1.19.0': dependencies: + '@shikijs/engine-javascript': 1.19.0 + '@shikijs/engine-oniguruma': 1.19.0 + '@shikijs/types': 1.19.0 + '@shikijs/vscode-textmate': 9.2.2 '@types/hast': 3.0.4 + hast-util-to-html: 9.0.3 + + '@shikijs/engine-javascript@1.19.0': + dependencies: + '@shikijs/types': 1.19.0 + '@shikijs/vscode-textmate': 9.2.2 + oniguruma-to-js: 0.4.3 + + '@shikijs/engine-oniguruma@1.19.0': + dependencies: + '@shikijs/types': 1.19.0 + '@shikijs/vscode-textmate': 9.2.2 + + '@shikijs/types@1.19.0': + dependencies: + '@shikijs/vscode-textmate': 9.2.2 + '@types/hast': 3.0.4 + + '@shikijs/vscode-textmate@9.2.2': {} '@surma/rollup-plugin-off-main-thread@2.2.3': dependencies: @@ -6270,26 +6345,26 @@ snapshots: magic-string: 0.25.9 string.prototype.matchall: 4.0.11 - '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)))(svelte@4.2.19)(vite@5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6))': + '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)))(svelte@4.2.19)(vite@5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@4.2.19)(vite@5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)) + '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@4.2.19)(vite@5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)) debug: 4.3.6 svelte: 4.2.19 - vite: 5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6) + vite: 5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6) transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6))': + '@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6))': dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)))(svelte@4.2.19)(vite@5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)) + '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)))(svelte@4.2.19)(vite@5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)) debug: 4.3.6 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.11 svelte: 4.2.19 svelte-hmr: 0.16.0(svelte@4.2.19) - vite: 5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6) - vitefu: 0.2.5(vite@5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)) + vite: 5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6) + vitefu: 0.2.5(vite@5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)) transitivePeerDependencies: - supports-color @@ -6666,7 +6741,7 @@ snapshots: '@playform/pipe': 0.1.0 '@types/csso': 5.0.4 '@types/html-minifier-terser': 7.0.2 - astro: 4.15.0(@types/node@22.5.1)(lightningcss@1.25.1)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.3)(typescript@5.5.4) + astro: 4.15.9(@types/node@22.5.1)(lightningcss@1.25.1)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.3)(typescript@5.5.4) csso: 5.0.5 deepmerge-ts: 7.1.0 html-minifier-terser: 7.2.0 @@ -6695,7 +6770,7 @@ snapshots: - debug - supports-color - astro@4.15.0(@types/node@22.5.1)(lightningcss@1.25.1)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.3)(typescript@5.5.4): + astro@4.15.9(@types/node@22.5.1)(lightningcss@1.25.1)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.3)(typescript@5.5.4): dependencies: '@astrojs/compiler': 2.10.3 '@astrojs/internal-helpers': 0.4.1 @@ -6704,7 +6779,7 @@ snapshots: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx': 7.25.2(@babel/core@7.25.2) '@babel/types': 7.25.6 - '@oslojs/encoding': 0.4.1 + '@oslojs/encoding': 1.1.0 '@rollup/pluginutils': 5.1.0(rollup@2.79.1) '@types/babel__core': 7.20.5 '@types/cookie': 0.6.0 @@ -6717,7 +6792,7 @@ snapshots: common-ancestor-path: 1.0.1 cookie: 0.6.0 cssesc: 3.0.0 - debug: 4.3.6 + debug: 4.3.7 deterministic-object-hash: 2.0.2 devalue: 5.0.0 diff: 5.2.0 @@ -6727,6 +6802,7 @@ snapshots: esbuild: 0.21.5 estree-walker: 3.0.3 fast-glob: 3.3.2 + fastq: 1.17.1 flattie: 1.1.1 github-slugger: 2.0.0 gray-matter: 4.0.3 @@ -6742,20 +6818,19 @@ snapshots: ora: 8.1.0 p-limit: 6.1.0 p-queue: 8.0.1 - path-to-regexp: 6.2.2 preferred-pm: 4.0.0 prompts: 2.4.2 rehype: 13.0.1 semver: 7.6.3 - shiki: 1.14.1 + shiki: 1.19.0 string-width: 7.2.0 strip-ansi: 7.1.0 tinyexec: 0.3.0 - tsconfck: 3.1.1(typescript@5.5.4) + tsconfck: 3.1.3(typescript@5.5.4) unist-util-visit: 5.0.0 vfile: 6.0.3 - vite: 5.4.2(@types/node@22.5.1)(lightningcss@1.25.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.3) - vitefu: 0.2.5(vite@5.4.2(@types/node@22.5.1)(lightningcss@1.25.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.3)) + vite: 5.4.8(@types/node@22.5.1)(lightningcss@1.25.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.3) + vitefu: 1.0.2(vite@5.4.8(@types/node@22.5.1)(lightningcss@1.25.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.3)) which-pm: 3.0.0 xxhash-wasm: 1.0.2 yargs-parser: 21.1.1 @@ -6777,7 +6852,7 @@ snapshots: - terser - typescript - astro@4.15.0(@types/node@22.5.1)(lightningcss@1.26.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4): + astro@4.15.9(@types/node@22.5.1)(lightningcss@1.27.0)(rollup@2.79.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)(typescript@5.5.4): dependencies: '@astrojs/compiler': 2.10.3 '@astrojs/internal-helpers': 0.4.1 @@ -6786,7 +6861,7 @@ snapshots: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx': 7.25.2(@babel/core@7.25.2) '@babel/types': 7.25.6 - '@oslojs/encoding': 0.4.1 + '@oslojs/encoding': 1.1.0 '@rollup/pluginutils': 5.1.0(rollup@2.79.1) '@types/babel__core': 7.20.5 '@types/cookie': 0.6.0 @@ -6799,7 +6874,7 @@ snapshots: common-ancestor-path: 1.0.1 cookie: 0.6.0 cssesc: 3.0.0 - debug: 4.3.6 + debug: 4.3.7 deterministic-object-hash: 2.0.2 devalue: 5.0.0 diff: 5.2.0 @@ -6809,6 +6884,7 @@ snapshots: esbuild: 0.21.5 estree-walker: 3.0.3 fast-glob: 3.3.2 + fastq: 1.17.1 flattie: 1.1.1 github-slugger: 2.0.0 gray-matter: 4.0.3 @@ -6824,20 +6900,19 @@ snapshots: ora: 8.1.0 p-limit: 6.1.0 p-queue: 8.0.1 - path-to-regexp: 6.2.2 preferred-pm: 4.0.0 prompts: 2.4.2 rehype: 13.0.1 semver: 7.6.3 - shiki: 1.14.1 + shiki: 1.19.0 string-width: 7.2.0 strip-ansi: 7.1.0 tinyexec: 0.3.0 - tsconfck: 3.1.1(typescript@5.5.4) + tsconfck: 3.1.3(typescript@5.5.4) unist-util-visit: 5.0.0 vfile: 6.0.3 - vite: 5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6) - vitefu: 0.2.5(vite@5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)) + vite: 5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6) + vitefu: 1.0.2(vite@5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)) which-pm: 3.0.0 xxhash-wasm: 1.0.2 yargs-parser: 21.1.1 @@ -6875,6 +6950,16 @@ snapshots: postcss: 8.4.41 postcss-value-parser: 4.2.0 + autoprefixer@10.4.20(postcss@8.4.47): + dependencies: + browserslist: 4.23.3 + caniuse-lite: 1.0.30001653 + fraction.js: 4.3.7 + normalize-range: 0.1.2 + picocolors: 1.0.1 + postcss: 8.4.47 + postcss-value-parser: 4.2.0 + available-typed-arrays@1.0.7: dependencies: possible-typed-array-names: 1.0.0 @@ -7296,6 +7381,10 @@ snapshots: dependencies: ms: 2.1.2 + debug@4.3.7: + dependencies: + ms: 2.1.3 + decode-named-character-reference@1.0.2: dependencies: character-entities: 2.0.2 @@ -7869,6 +7958,20 @@ snapshots: stringify-entities: 4.0.4 zwitch: 2.0.4 + hast-util-to-html@9.0.3: + dependencies: + '@types/hast': 3.0.4 + '@types/unist': 3.0.3 + ccount: 2.0.1 + comma-separated-tokens: 2.0.3 + hast-util-whitespace: 3.0.0 + html-void-elements: 3.0.0 + mdast-util-to-hast: 13.2.0 + property-information: 6.5.0 + space-separated-tokens: 2.0.2 + stringify-entities: 4.0.4 + zwitch: 2.0.4 + hast-util-to-parse5@8.0.0: dependencies: '@types/hast': 3.0.4 @@ -8187,58 +8290,58 @@ snapshots: lightningcss-darwin-arm64@1.25.1: optional: true - lightningcss-darwin-arm64@1.26.0: + lightningcss-darwin-arm64@1.27.0: optional: true lightningcss-darwin-x64@1.25.1: optional: true - lightningcss-darwin-x64@1.26.0: + lightningcss-darwin-x64@1.27.0: optional: true lightningcss-freebsd-x64@1.25.1: optional: true - lightningcss-freebsd-x64@1.26.0: + lightningcss-freebsd-x64@1.27.0: optional: true lightningcss-linux-arm-gnueabihf@1.25.1: optional: true - lightningcss-linux-arm-gnueabihf@1.26.0: + lightningcss-linux-arm-gnueabihf@1.27.0: optional: true lightningcss-linux-arm64-gnu@1.25.1: optional: true - lightningcss-linux-arm64-gnu@1.26.0: + lightningcss-linux-arm64-gnu@1.27.0: optional: true lightningcss-linux-arm64-musl@1.25.1: optional: true - lightningcss-linux-arm64-musl@1.26.0: + lightningcss-linux-arm64-musl@1.27.0: optional: true lightningcss-linux-x64-gnu@1.25.1: optional: true - lightningcss-linux-x64-gnu@1.26.0: + lightningcss-linux-x64-gnu@1.27.0: optional: true lightningcss-linux-x64-musl@1.25.1: optional: true - lightningcss-linux-x64-musl@1.26.0: + lightningcss-linux-x64-musl@1.27.0: optional: true - lightningcss-win32-arm64-msvc@1.26.0: + lightningcss-win32-arm64-msvc@1.27.0: optional: true lightningcss-win32-x64-msvc@1.25.1: optional: true - lightningcss-win32-x64-msvc@1.26.0: + lightningcss-win32-x64-msvc@1.27.0: optional: true lightningcss@1.25.1: @@ -8255,20 +8358,20 @@ snapshots: lightningcss-linux-x64-musl: 1.25.1 lightningcss-win32-x64-msvc: 1.25.1 - lightningcss@1.26.0: + lightningcss@1.27.0: dependencies: detect-libc: 1.0.3 optionalDependencies: - lightningcss-darwin-arm64: 1.26.0 - lightningcss-darwin-x64: 1.26.0 - lightningcss-freebsd-x64: 1.26.0 - lightningcss-linux-arm-gnueabihf: 1.26.0 - lightningcss-linux-arm64-gnu: 1.26.0 - lightningcss-linux-arm64-musl: 1.26.0 - lightningcss-linux-x64-gnu: 1.26.0 - lightningcss-linux-x64-musl: 1.26.0 - lightningcss-win32-arm64-msvc: 1.26.0 - lightningcss-win32-x64-msvc: 1.26.0 + lightningcss-darwin-arm64: 1.27.0 + lightningcss-darwin-x64: 1.27.0 + lightningcss-freebsd-x64: 1.27.0 + lightningcss-linux-arm-gnueabihf: 1.27.0 + lightningcss-linux-arm64-gnu: 1.27.0 + lightningcss-linux-arm64-musl: 1.27.0 + lightningcss-linux-x64-gnu: 1.27.0 + lightningcss-linux-x64-musl: 1.27.0 + lightningcss-win32-arm64-msvc: 1.27.0 + lightningcss-win32-x64-msvc: 1.27.0 optional: true lilconfig@2.1.0: {} @@ -8843,6 +8946,8 @@ snapshots: ms@2.1.2: {} + ms@2.1.3: {} + muggle-string@0.4.1: {} mz@2.7.0: @@ -8903,6 +9008,10 @@ snapshots: dependencies: mimic-function: 5.0.1 + oniguruma-to-js@0.4.3: + dependencies: + regex: 4.3.2 + open@8.4.2: dependencies: define-lazy-prop: 2.0.0 @@ -9058,6 +9167,8 @@ snapshots: picocolors@1.0.1: {} + picocolors@1.1.0: {} + picomatch@2.3.1: {} pify@2.3.0: {} @@ -9142,6 +9253,13 @@ snapshots: optionalDependencies: postcss: 8.4.41 + postcss-load-config@4.0.2(postcss@8.4.47): + dependencies: + lilconfig: 3.1.2 + yaml: 2.5.0 + optionalDependencies: + postcss: 8.4.47 + postcss-merge-longhand@5.1.7(postcss@8.4.41): dependencies: postcss: 8.4.41 @@ -9310,6 +9428,12 @@ snapshots: picocolors: 1.0.1 source-map-js: 1.2.0 + postcss@8.4.47: + dependencies: + nanoid: 3.3.7 + picocolors: 1.1.0 + source-map-js: 1.2.1 + preferred-pm@4.0.0: dependencies: find-up-simple: 1.0.0 @@ -9379,6 +9503,8 @@ snapshots: dependencies: '@babel/runtime': 7.25.6 + regex@4.3.2: {} + regexp.prototype.flags@1.5.2: dependencies: call-bind: 1.0.7 @@ -9782,9 +9908,13 @@ snapshots: interpret: 1.4.0 rechoir: 0.6.2 - shiki@1.14.1: + shiki@1.19.0: dependencies: - '@shikijs/core': 1.14.1 + '@shikijs/core': 1.19.0 + '@shikijs/engine-javascript': 1.19.0 + '@shikijs/engine-oniguruma': 1.19.0 + '@shikijs/types': 1.19.0 + '@shikijs/vscode-textmate': 9.2.2 '@types/hast': 3.0.4 side-channel@1.0.6: @@ -9813,6 +9943,8 @@ snapshots: source-map-js@1.2.0: {} + source-map-js@1.2.1: {} + source-map-support@0.5.21: dependencies: buffer-from: 1.1.2 @@ -9955,7 +10087,7 @@ snapshots: dependencies: svelte: 4.2.19 - svelte2tsx@0.7.16(svelte@4.2.19)(typescript@5.5.4): + svelte2tsx@0.7.20(svelte@4.2.19)(typescript@5.5.4): dependencies: dedent-js: 1.0.1 pascal-case: 3.1.2 @@ -10100,7 +10232,7 @@ snapshots: ts-interface-checker@0.1.13: {} - tsconfck@3.1.1(typescript@5.5.4): + tsconfck@3.1.3(typescript@5.5.4): optionalDependencies: typescript: 5.5.4 @@ -10261,10 +10393,10 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - vite@5.4.2(@types/node@22.5.1)(lightningcss@1.25.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.3): + vite@5.4.8(@types/node@22.5.1)(lightningcss@1.25.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.3): dependencies: esbuild: 0.21.5 - postcss: 8.4.41 + postcss: 8.4.47 rollup: 4.21.1 optionalDependencies: '@types/node': 22.5.1 @@ -10274,26 +10406,30 @@ snapshots: stylus: 0.63.0 terser: 5.31.3 - vite@5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6): + vite@5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6): dependencies: esbuild: 0.21.5 - postcss: 8.4.41 + postcss: 8.4.47 rollup: 4.21.1 optionalDependencies: '@types/node': 22.5.1 fsevents: 2.3.3 - lightningcss: 1.26.0 + lightningcss: 1.27.0 sass: 1.77.8 stylus: 0.63.0 terser: 5.31.6 - vitefu@0.2.5(vite@5.4.2(@types/node@22.5.1)(lightningcss@1.25.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.3)): + vitefu@0.2.5(vite@5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)): optionalDependencies: - vite: 5.4.2(@types/node@22.5.1)(lightningcss@1.25.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.3) + vite: 5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6) - vitefu@0.2.5(vite@5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)): + vitefu@1.0.2(vite@5.4.8(@types/node@22.5.1)(lightningcss@1.25.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.3)): optionalDependencies: - vite: 5.4.2(@types/node@22.5.1)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6) + vite: 5.4.8(@types/node@22.5.1)(lightningcss@1.25.1)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.3) + + vitefu@1.0.2(vite@5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6)): + optionalDependencies: + vite: 5.4.8(@types/node@22.5.1)(lightningcss@1.27.0)(sass@1.77.8)(stylus@0.63.0)(terser@5.31.6) volar-service-css@0.0.61(@volar/language-service@2.4.1): dependencies: diff --git a/src/base.css b/src/base.css new file mode 100644 index 0000000..cfefb2d --- /dev/null +++ b/src/base.css @@ -0,0 +1,205 @@ +/* The integration's default injected base.css file */ +@tailwind base; +@tailwind components; +@tailwind utilities; + +@layer components { + .card-base { + @apply rounded-[var(--radius-large)] overflow-hidden bg-[var(--card-bg)] transition; + } + h1, h2, h3, h4, h5, h6, p, a, span, li, ul, ol, blockquote, code, pre, table, th, td, strong { + @apply transition; + } + .card-shadow { + @apply drop-shadow-[0_2px_4px_rgba(0,0,0,0.005)] + } + .expand-animation { + @apply relative before:ease-out before:transition active:bg-none hover:before:bg-[var(--btn-plain-bg-hover)] active:before:bg-[var(--btn-plain-bg-active)] z-0 + before:absolute before:rounded-[inherit] before:inset-0 before:scale-[0.85] hover:before:scale-100 before:-z-10 + } + .link { + @apply transition rounded-md p-1 -m-1 expand-animation; + } + .link-lg { + @apply transition rounded-md p-1.5 -m-1.5 expand-animation; + } + .float-panel { + @apply top-[5.25rem] rounded-[var(--radius-large)] overflow-hidden bg-[var(--float-panel-bg)] transition shadow-xl dark:shadow-none + } + .float-panel-closed { + @apply -translate-y-1 opacity-0 pointer-events-none + } + .search-panel mark { + @apply bg-transparent text-[var(--primary)] + } + + .btn-card { + @apply transition flex items-center justify-center bg-[var(--card-bg)] hover:bg-[var(--btn-card-bg-hover)] + active:bg-[var(--btn-card-bg-active)] + } + .btn-card.disabled { + @apply pointer-events-none text-black/10 dark:text-white/10 + } + .btn-plain { + @apply transition relative flex items-center justify-center bg-none + text-black/75 hover:text-[var(--primary)] dark:text-white/75 dark:hover:text-[var(--primary)]; + &:not(.scale-animation) { + @apply hover:bg-[var(--btn-plain-bg-hover)] active:bg-[var(--btn-plain-bg-active)] + } + &.scale-animation { + @apply expand-animation; + &.current-theme-btn { + @apply before:scale-100 before:opacity-100 before:bg-[var(--btn-plain-bg-hover)] text-[var(--primary)] + } + } + } + .btn-regular { + @apply transition flex items-center justify-center bg-[var(--btn-regular-bg)] hover:bg-[var(--btn-regular-bg-hover)] active:bg-[var(--btn-regular-bg-active)] + text-[var(--btn-content)] dark:text-white/75 + } + + .link-underline { + @apply transition underline decoration-2 decoration-dashed decoration-[var(--link-underline)] + hover:decoration-[var(--link-hover)] active:decoration-[var(--link-active)] underline-offset-[0.25rem] + } + + .text-90 { + @apply text-black/90 dark:text-white/90 + } + .text-75 { + @apply text-black/75 dark:text-white/75 + } + .text-50 { + @apply text-black/50 dark:text-white/50 + } + .text-30 { + @apply text-black/30 dark:text-white/30 + } + .text-25 { + @apply text-black/25 dark:text-white/25 + } + + html.is-changing .transition-swup-fade { + @apply transition-all duration-200 + } + html.is-animating .transition-swup-fade { + @apply opacity-0 translate-y-4 + } + + /* PhotoSwipe */ + .pswp__button { + @apply transition bg-black/40 hover:bg-black/50 active:bg-black/60 flex items-center justify-center mr-0 w-12 h-12 !important; + } + .pswp__button--zoom, .pswp__button--close { + @apply mt-4 rounded-xl active:scale-90 !important; + } + .pswp__button--zoom { + @apply mr-2.5 !important; + } + .pswp__button--close { + @apply mr-4 !important; + } + .custom-md img, #post-cover img { + @apply cursor-zoom-in + } +} + +@layer components { + .meta-icon { + @apply w-8 h-8 transition rounded-md flex items-center justify-center bg-[var(--btn-regular-bg)] + text-[var(--btn-content)] mr-2 + } + .with-divider { + @apply before:content-['/'] before:ml-1.5 before:mr-1.5 before:text-[var(--meta-divider)] before:text-sm + before:font-medium before:first-of-type:hidden before:transition + } +} + +@layer components { + .btn-regular-dark { + @apply flex items-center justify-center + bg-[oklch(0.45_0.01_var(--hue))] hover:bg-[oklch(0.50_0.01_var(--hue))] active:bg-[oklch(0.55_0.01_var(--hue))] + dark:bg-[oklch(0.30_0.02_var(--hue))] dark:hover:bg-[oklch(0.35_0.03_var(--hue))] dark:active:bg-[oklch(0.40_0.03_var(--hue))] + } + .btn-regular-dark.success { + @apply bg-[oklch(0.75_0.14_var(--hue))] dark:bg-[oklch(0.75_0.14_var(--hue))] + } + + .copy-btn-icon { + @apply absolute top-1/2 left-1/2 transition -translate-x-1/2 -translate-y-1/2 + } + .copy-btn .copy-icon { + @apply opacity-100 fill-white dark:fill-white/75 + } + .copy-btn.success .copy-icon { + @apply opacity-0 fill-[var(--deep-text)] + } + .copy-btn .success-icon { + @apply opacity-0 + } + .copy-btn.success .success-icon { + @apply opacity-100 + } +} + + +@layer components { + .dash-line { + position: relative; + } + + .dash-line::before { + content: ""; + position: absolute; + width: 10%; + height: 100%; + top: 50%; + left: calc(50% - 1px); + border-left: 2px dashed var(--line-color); + pointer-events: none; + transition: all 0.3s; + transform: translateY(-50%); + } +} + +@layer components { + .custom-md h1 { + @apply text-3xl + } +} + +@keyframes fade-in-up { + 0% { + transform: translateY(2rem); + opacity: 0; + } + 100% { + transform: translateY(0); + opacity: 1; + } +} + +.onload-animation { + opacity: 0; + animation: 300ms fade-in-up; + animation-fill-mode: forwards; +} +#navbar { + animation-delay: 0ms +} +#sidebar { + animation-delay: 100ms +} +#content-wrapper { + animation-delay: var(--content-delay); +} +.footer { + animation-delay: 250ms; +} +#banner-credit { + animation-delay: 400ms; +} + +.collapsed { + height: var(--collapsedHeight); +} \ No newline at end of file diff --git a/src/components/ArchivePanel.astro b/src/components/ArchivePanel.astro index a3596c3..e922b4a 100644 --- a/src/components/ArchivePanel.astro +++ b/src/components/ArchivePanel.astro @@ -115,19 +115,4 @@ function formatTag(tag: string[]) { )) } - - - \ No newline at end of file + \ No newline at end of file diff --git a/src/components/GlobalStyles.astro b/src/components/GlobalStyles.astro index ce425af..f5c213f 100644 --- a/src/components/GlobalStyles.astro +++ b/src/components/GlobalStyles.astro @@ -176,143 +176,4 @@ color_set({ --os-handle-bg-active: var(--scrollbar-bg-active-light); - - \ No newline at end of file diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 577c16b..3a5aaa4 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -67,9 +67,6 @@ let links: NavBarLink[] = navBarConfig.links.map( - - - - - - - \ No newline at end of file diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index f8b0fdf..ebb328e 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -61,12 +61,12 @@ if (!lang) { const siteLang = lang.replace('_', '-') const bannerOffsetByPosition = { - 'top': '30vh', - 'center': '15vh', - 'bottom': '0' + top: '30vh', + center: '15vh', + bottom: '0', } -const bannerOffset = bannerOffsetByPosition[siteConfig.banner.position || 'center'] - +const bannerOffset = + bannerOffsetByPosition[siteConfig.banner.position || 'center'] --- @@ -151,16 +151,16 @@ const bannerOffset = bannerOffsetByPosition[siteConfig.banner.position || 'cente