feat(site): implement approved Marqdo website design
Align the homepage grid and document demo, render the traced Three.js hero, and reorganize the ecosystem, research, and download pages. Refs cflmy/marqdo#84 and #1.
This commit is contained in:
1 parent
ff63306610
commit
fa911a5f21
28 files changed
+1337
-485
No files matched your search
@@ -46,3 +46,11 @@
|
||||
- 生产域名 `https://marqdo.com/` 复核 27/27 通过:首页 H1、页脚两栏中轴误差 0 CSS px、头像位于姓名之上、演示模式切换与计算、非法输入阻断、Wiki 直达与 `/docs/` 迁移、360/390/768/1024/1440 px 无横向溢出、真实 404。
|
||||
- `www.marqdo.com` 的 DNS 仍走 `a1.initaf.com`(ESA)链路,实测已返回本次构建(12,175 B、含新页脚与演示);正式解析、证书与备案归属仍由维护者确认。
|
||||
- 当前站点为未接入公开发行数据的构建:`noindex`,下载页显示「尚未接入主仓公开发行快照」,不展示虚构版本或资产。
|
||||
|
||||
## 官网设计稿对齐候选(2026-12-02)
|
||||
|
||||
- 责任仓为 `cflmy/marqdo-site`,按 [官网 #1](https://git.cflmy.cn/cflmy/marqdo-site/issues/1) 和 [视觉工单 #84](https://git.cflmy.cn/cflmy/marqdo/issues/84) 验收。基线 SHA 为 `ff63306610491fbb932ed99b3674bc4be8683e0c`。在 1440 px Chromium 中打开基线首页,导航与首屏的外框为 x=120 px、宽 1200 px,演示框为 x=40 px、宽 1360 px。
|
||||
- 候选按批准的中文浅色稿实现首页(桌面和移动)、生态、研究和下载。验收点覆盖共同外框 x=120 px / 1200 px、桌面演示 38:34:28、移动端标题与操作先于静态插画、生态按职责分组与真实依赖、研究锚点和下载产品选择。中文与英文、深浅主题使用同一套布局。真实文稿、Logo、头像、站点身份和发布快照继续由现有输入提供。图稿按静态版式参照,实际字体渲染、动效帧和真实内容会产生像素差异。
|
||||
- Linux x86_64,Node.js 24.22.3、npm 11.19.1。以下命令在候选上退出码均为 0:`npm ci --offline --no-audit`、`npm run check`(36 文件,无诊断)、`npm test`(5 项)、`python3 -B -m unittest discover -s tests -p '*_test.py'`(11 项)、`bash scripts/prepare-example.sh`、`npm run build`(21 个页面)、`npm run test:e2e -- --workers=2`(Chromium,18 项)。固定 CLI/View 归档通过摘要校验,圆面积 0、1、3 的真实调用和 View 静态导出通过。
|
||||
- Chromium 截图覆盖 1440 px 桌面及 390 px 移动首页、生态、研究、下载和深色首页。用 SwiftShader WebGL 2 渲染两次不同粒子帧,再触发上下文丢失验证海报恢复。手机、减少动态效果偏好及无 WebGL 的静态路径已验收。构建首页入口脚本 2688 B gzip,静态海报 20041 B gzip,延迟加载的 Three.js 场景 147610 B gzip。Vite 仍会提示该延迟块的未压缩体积超过 500 kB。
|
||||
- 本地 `dist/index.html` SHA-256 为 `a850edff8a07a720d1eba419a4636e89f278f431c19c1bf12b336bc4cf65fdf3`。静态海报 SHA-256 为 `7b1a2c34ebed7f05203291ad6a78b7e1b1ff84e49562ec592be73ea8302bc57c`。候选 Woodpecker 与 EdgeOne 预览、生产发布为 UNVERIFIED。
|
||||
+2
-2
@@ -15,9 +15,9 @@
|
||||
|
||||
## 视觉体系
|
||||
|
||||
语义颜色、字体、容器和间距分别由 `src/styles/tokens.css`、`typography.css`、`layout.css`、`components.css` 定义;首页与三栏文稿演示的专用样式在 `home.css`、`demo.css`。页面不得自行引入色值、字号或宽度。
|
||||
语义颜色、字体、容器和间距分别由 `src/styles/tokens.css`、`typography.css`、`layout.css`、`components.css` 定义;首页与三栏文稿演示的专用样式在 `home.css`、`demo.css`。导航、主要页面内容与页脚共用 1200 CSS px 容器,窄屏保留至少 16 px 侧边距。
|
||||
|
||||
首页保留「从一篇文稿开始」的源码 / 知识阅读 / 交互计算三栏演示与四种查看模式;宽屏默认并排,窄屏默认单栏但保留全部模式。浏览器演示使用固定圆面积公式,与 CLI 实测证据相互独立。
|
||||
首页保留「从一篇文稿开始」的源码 / 知识阅读 / 交互计算三栏演示与四种查看模式;宽屏默认 38:34:28 并排,窄屏默认「知识阅读」,四种模式均可切换。首屏的设计点阵同时提供静态海报与 Three.js 动效,宽屏可见且允许动画、支持 WebGL 2 时才加载动效模块。浏览器演示使用固定圆面积公式,与 CLI 实测证据相互独立。
|
||||
|
||||
## 运行
|
||||
|
||||
|
||||
Generated
+66
-1
@@ -10,12 +10,14 @@
|
||||
"dependencies": {
|
||||
"@astrojs/check": "0.9.12",
|
||||
"astro": "7.4.14",
|
||||
"three": "0.187.0",
|
||||
"typescript": "6.0.3",
|
||||
"zod": "4.6.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "1.65.2",
|
||||
"@types/node": "24.19.4"
|
||||
"@types/node": "24.19.4",
|
||||
"@types/three": "0.187.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "24.22.3"
|
||||
@@ -714,6 +716,13 @@
|
||||
"node": ">= 20.12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@dimforge/rapier3d-compat": {
|
||||
"version": "0.12.0",
|
||||
"resolved": "https://registry.npmjs.org/@dimforge/rapier3d-compat/-/rapier3d-compat-0.12.0.tgz",
|
||||
"integrity": "sha512-uekIGetywIgopfD97oDL5PfeezkFpNhwlzlaEYNOA0N6ghdsOvh/HYjSMek5Q2O1PYvRSDFcqFVJl4r4ZBwOow==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/@emmetio/abbreviation": {
|
||||
"version": "2.3.3",
|
||||
"resolved": "https://registry.npmjs.org/@emmetio/abbreviation/-/abbreviation-2.3.3.tgz",
|
||||
@@ -1783,6 +1792,13 @@
|
||||
"integrity": "sha512-cVBuhDQjBZaNMTwBquYfPydrUP+E3hE6oYGasx8h6ZrODIM7/r+gxLDXdd66oszbrggZHEntdE6j+5gYIVyMWQ==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@tweenjs/tween.js": {
|
||||
"version": "23.1.3",
|
||||
"resolved": "https://registry.npmjs.org/@tweenjs/tween.js/-/tween.js-23.1.3.tgz",
|
||||
"integrity": "sha512-vJmvvwFxYuGnF2axRtPYocag6Clbb5YS7kLL+SO/TeVFzHqDIWrNKYtcsPMibjDx9O+bu+psAy9NKfWklassUA==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@tybys/wasm-util": {
|
||||
"version": "0.10.5",
|
||||
"resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.5.tgz",
|
||||
@@ -1844,12 +1860,41 @@
|
||||
"undici-types": ">=7.24.0 <7.24.7"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/stats.js": {
|
||||
"version": "0.17.4",
|
||||
"resolved": "https://registry.npmjs.org/@types/stats.js/-/stats.js-0.17.4.tgz",
|
||||
"integrity": "sha512-jIBvWWShCvlBqBNIZt0KAshWpvSjhkwkEu4ZUcASoAvhmrgAUI2t1dXrjSL4xXVLB4FznPrIsX3nKXFl/Dt4vA==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/three": {
|
||||
"version": "0.187.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/three/-/three-0.187.0.tgz",
|
||||
"integrity": "sha512-v+vKNarUtk4n2QRZ4+CN5ygMM0ARUjXjIQl0R/unMUfmStFeVqGbgqarbrpoGTXRZoulSH16ePrVJVxPJEbMUA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@dimforge/rapier3d-compat": "~0.12.0",
|
||||
"@tweenjs/tween.js": "~23.1.3",
|
||||
"@types/stats.js": "*",
|
||||
"@types/webxr": ">=0.5.17",
|
||||
"fflate": "~0.8.3",
|
||||
"meshoptimizer": "~1.1.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/unist": {
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",
|
||||
"integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/webxr": {
|
||||
"version": "0.5.24",
|
||||
"resolved": "https://registry.npmjs.org/@types/webxr/-/webxr-0.5.24.tgz",
|
||||
"integrity": "sha512-h8fgEd/DpoS9CBrjEQXR+dIDraopAEfu4wYVNY2tEPwk60stPWhvZMf4Foo5FakuQ7HFZoa8WceaWFervK2Ovg==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@ungap/structured-clone": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz",
|
||||
@@ -2667,6 +2712,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/fflate": {
|
||||
"version": "0.8.3",
|
||||
"resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.3.tgz",
|
||||
"integrity": "sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/flattie": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/flattie/-/flattie-1.1.1.tgz",
|
||||
@@ -3208,6 +3260,13 @@
|
||||
"integrity": "sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==",
|
||||
"license": "CC0-1.0"
|
||||
},
|
||||
"node_modules/meshoptimizer": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/meshoptimizer/-/meshoptimizer-1.1.1.tgz",
|
||||
"integrity": "sha512-oRFNWJRDA/WTrVj7NWvqa5HqE1t9MYDj2VaWirQCzCCrAd2GHrqR/sQezCxiWATPNlKTcRaPRHPJwIRoPBAp5g==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/micromark-util-character": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz",
|
||||
@@ -3962,6 +4021,12 @@
|
||||
"url": "https://opencollective.com/svgo"
|
||||
}
|
||||
},
|
||||
"node_modules/three": {
|
||||
"version": "0.187.0",
|
||||
"resolved": "https://registry.npmjs.org/three/-/three-0.187.0.tgz",
|
||||
"integrity": "sha512-Qiu7R+Cmh8CstZsY1uJOSWnVlfo7ZtNLV7mF8Jltk3LB3AtDu9cRZlcnRKkAk8Y4z6KKw35z7Y7Urd7jWY8etA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/tiny-inflate": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz",
|
||||
|
||||
+3
-1
@@ -2,12 +2,14 @@
|
||||
"dependencies": {
|
||||
"@astrojs/check": "0.9.12",
|
||||
"astro": "7.4.14",
|
||||
"three": "0.187.0",
|
||||
"typescript": "6.0.3",
|
||||
"zod": "4.6.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "1.65.2",
|
||||
"@types/node": "24.19.4"
|
||||
"@types/node": "24.19.4",
|
||||
"@types/three": "0.187.0"
|
||||
},
|
||||
"name": "marqdo-site",
|
||||
"version": "0.1.0",
|
||||
|
||||
@@ -33,7 +33,7 @@ for (const [path, html] of documents) {
|
||||
}
|
||||
}
|
||||
|
||||
for (const file of ['assets/logo.svg', 'assets/cflmy.jpg', 'assets/social.png', 'assets/geometry.mq.md', 'robots.txt', 'sitemap.xml']) {
|
||||
for (const file of ['assets/logo.svg', 'assets/hero-particles.svg', 'assets/cflmy.jpg', 'assets/social.png', 'assets/geometry.mq.md', 'robots.txt', 'sitemap.xml']) {
|
||||
assert.ok(existsSync(join(dist, file)), `Missing ${file}`);
|
||||
}
|
||||
// The documentation search index was removed with the in-site docs body.
|
||||
@@ -58,5 +58,12 @@ assert.match(home, /查看 CLI 命令与实测依据/);
|
||||
const homeScripts = [...home.matchAll(/<script[^>]* src="(\/[^"]+)"/g)].map(hit => hit[1]);
|
||||
const compressed = homeScripts.reduce((size, file) => size + gzipSync(readFileSync(dist + file)).length, 0);
|
||||
assert.ok(compressed <= 150 * 1024, `Home JS exceeds 150 KiB: ${compressed}`);
|
||||
const particleChunks = readdirSync(join(dist, '_astro')).filter(name => /^hero-particles\.[\w-]+\.js$/.test(name));
|
||||
assert.equal(particleChunks.length, 1, 'Expected one lazy hero particle chunk');
|
||||
assert.ok(!home.includes(particleChunks[0]), 'The particle chunk must not appear in initial homepage HTML');
|
||||
const particleBytes = gzipSync(readFileSync(join(dist, '_astro', particleChunks[0]))).length;
|
||||
assert.ok(particleBytes < 180 * 1024, `Lazy particle bundle exceeds 180 KiB: ${particleBytes}`);
|
||||
const posterBytes = gzipSync(readFileSync(join(dist, 'assets/hero-particles.svg'))).length;
|
||||
assert.ok(posterBytes < 25 * 1024, `Hero poster exceeds 25 KiB: ${posterBytes}`);
|
||||
assert.ok(!readdirSync(dist).some(name => name.startsWith('.') || name === 'data'), 'Unexpected output root entries');
|
||||
console.log(`Verified ${paths.length} HTML pages, local references and anchors; homepage JS ${compressed} bytes gzip.`);
|
||||
console.log(`Verified ${paths.length} HTML pages, local references and anchors; initial homepage JS ${compressed} bytes gzip, lazy particles ${particleBytes} bytes gzip, poster ${posterBytes} bytes gzip.`);
|
||||
+15
-16
@@ -1,5 +1,6 @@
|
||||
---
|
||||
import source from '../../examples/geometry.mq.md?raw';
|
||||
import { circleArea } from '../lib/geometry.mts';
|
||||
import { choose, url, type Locale } from '../config/site';
|
||||
const { locale } = Astro.props as { locale: Locale };
|
||||
const t = <T,>(zh: T, en: T) => choose(locale, zh, en);
|
||||
@@ -16,6 +17,8 @@ const highlighted = source.trim().split('\n').map(line => {
|
||||
return escaped;
|
||||
}).join('\n');
|
||||
|
||||
const initialRadius = 3;
|
||||
const initialArea = circleArea(initialRadius);
|
||||
const modes = [
|
||||
{ id: 'compare', label: t('并排查看', 'Compare') },
|
||||
{ id: 'source', label: t('源码', 'Source') },
|
||||
@@ -64,16 +67,15 @@ const modes = [
|
||||
</figure>
|
||||
</section>
|
||||
<section class="demo__pane demo__compute" data-pane="compute" aria-label={t('交互计算', 'Calculate')}>
|
||||
<span class="demo__kicker">{t('浏览器演示 · 固定公式', 'Browser demo · fixed formula')}</span>
|
||||
<h3>{t('计算圆的面积', 'Calculate the area')}</h3>
|
||||
<noscript>
|
||||
<p>{t('启用 JavaScript 后可输入半径并执行浏览器演示。源码、公式与实测依据无需 JavaScript 即可阅读。', 'Enable JavaScript to enter a radius and run the browser demo. Source, formula, and evidence remain readable without it.')}</p>
|
||||
</noscript>
|
||||
<form data-geometry hidden novalidate>
|
||||
<label for="radius">{t('半径 r(0–10)', 'Radius r (0–10)')}</label>
|
||||
<input id="radius" name="radius" type="number" inputmode="decimal" min="0" max="10" step="any" value="3" required />
|
||||
<input id="radius" name="radius" type="number" inputmode="decimal" min="0" max="10" step="any" value={initialRadius} required />
|
||||
<button class="btn btn--primary" type="submit">{t('执行演示', 'Run demo')}</button>
|
||||
<output class="demo__result" for="radius" hidden></output>
|
||||
<output class="demo__result" for="radius"><strong title={String(initialArea)}>{initialArea?.toFixed(4)}</strong></output>
|
||||
<p class="status" data-status role="status" aria-live="polite"></p>
|
||||
</form>
|
||||
</section>
|
||||
@@ -114,10 +116,10 @@ const modes = [
|
||||
buttons.forEach(button => {
|
||||
button.addEventListener('click', () => { mode = button.dataset.mode!; render(); });
|
||||
});
|
||||
// Narrow screens cannot read three columns at once: open in source view but
|
||||
// Narrow screens cannot read three columns at once: open in reading view but
|
||||
// keep every mode available. Resizing does not silently reset the demo.
|
||||
const narrow = window.matchMedia('(max-width: 74.9375rem)');
|
||||
if (narrow.matches) { mode = 'source'; render(); }
|
||||
const narrow = window.matchMedia('(width < 68rem)');
|
||||
if (narrow.matches) { mode = 'reading'; render(); }
|
||||
|
||||
const form = demo.querySelector<HTMLFormElement>('[data-geometry]')!;
|
||||
const input = form.querySelector<HTMLInputElement>('input')!;
|
||||
@@ -129,7 +131,7 @@ const modes = [
|
||||
const radiusLabel = circleGroup.querySelector<SVGTextElement>('text.radius-label')!;
|
||||
const error = demo.dataset.error!;
|
||||
const stale = demo.dataset.stale!;
|
||||
let executed: number | null = null;
|
||||
let hasResult = true;
|
||||
|
||||
form.hidden = false;
|
||||
|
||||
@@ -153,7 +155,7 @@ const modes = [
|
||||
|
||||
input.addEventListener('input', () => {
|
||||
input.removeAttribute('aria-invalid');
|
||||
if (executed !== null) {
|
||||
if (hasResult) {
|
||||
status.textContent = stale;
|
||||
status.className = 'status status--stale';
|
||||
output.dataset.stale = 'true';
|
||||
@@ -169,21 +171,18 @@ const modes = [
|
||||
const area = circleArea(submitted);
|
||||
if (area === null) {
|
||||
input.setAttribute('aria-invalid', 'true');
|
||||
executed = null;
|
||||
hasResult = false;
|
||||
output.hidden = true;
|
||||
status.textContent = error;
|
||||
status.className = 'status status--error';
|
||||
return;
|
||||
}
|
||||
input.removeAttribute('aria-invalid');
|
||||
executed = submitted;
|
||||
hasResult = true;
|
||||
output.dataset.stale = 'false';
|
||||
output.replaceChildren();
|
||||
const value = document.createElement('strong');
|
||||
value.textContent = `S = ${area.toFixed(6)}`;
|
||||
const meta = document.createElement('span');
|
||||
meta.textContent = `${'r ='} ${submitted} · ${area}`;
|
||||
output.append(value, meta);
|
||||
const value = output.querySelector('strong')!;
|
||||
value.textContent = area.toFixed(4);
|
||||
value.title = String(area);
|
||||
output.hidden = false;
|
||||
status.textContent = '';
|
||||
status.className = 'status';
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
---
|
||||
import { choose, url, type Locale } from '../config/site';
|
||||
interface Props { locale: Locale; compact?: boolean; catalogRef?: string; }
|
||||
const { locale, compact = false, catalogRef } = Astro.props;
|
||||
const t = <T,>(zh: T, en: T) => choose(locale, zh, en);
|
||||
const groups: { label: string; tiles: { title: string; detail?: string }[] }[] = [
|
||||
{
|
||||
label: t('语言核心', 'Language core'),
|
||||
tiles: [{ title: 'Marqdo CLI', detail: t('解析、编译与执行', 'Parsing, compilation, and execution') }],
|
||||
},
|
||||
{
|
||||
label: t('生态组件', 'Ecosystem components'),
|
||||
tiles: [{ title: t('标准库', 'Standard libraries') }, { title: t('扩展', 'Extensions') }, { title: t('工具', 'Tools') }],
|
||||
},
|
||||
{
|
||||
label: t('应用入口', 'Application entry'),
|
||||
tiles: [{ title: 'MQDH', detail: t('面向用户的应用', 'User-facing application') }],
|
||||
},
|
||||
];
|
||||
---
|
||||
<figure class:list={['ecosystem-map', compact && 'ecosystem-map--compact']}>
|
||||
<figcaption class="ecosystem-map__caption">
|
||||
<span>{compact ? t('按职责分组', 'Grouped by responsibility') : t('按职责分组 · 运行依赖见组件登记', 'Grouped by responsibility · See the component catalog for runtime dependencies')}</span>
|
||||
{compact
|
||||
? <a href={url(locale, 'ecosystem')}>{t('探索完整生态', 'Explore the ecosystem')}<span aria-hidden="true"> ↗</span></a>
|
||||
: <a href={catalogRef}>{t('主仓组件登记', 'Root component catalog')}<span aria-hidden="true"> ↗</span></a>}
|
||||
</figcaption>
|
||||
<dl class="ecosystem-map__groups">
|
||||
{groups.map(({ label, tiles }) => (
|
||||
<div class="ecosystem-map__row">
|
||||
<dt>{label}</dt>
|
||||
<dd>
|
||||
<ul>
|
||||
{tiles.map(({ title, detail }) => (
|
||||
<li><strong>{title}</strong>{!compact && detail && <span>{detail}</span>}</li>
|
||||
))}
|
||||
</ul>
|
||||
</dd>
|
||||
</div>
|
||||
))}
|
||||
</dl>
|
||||
</figure>
|
||||
@@ -4,7 +4,7 @@ const { locale } = Astro.props as { locale: Locale };
|
||||
const t = <T,>(zh: T, en: T) => choose(locale, zh, en);
|
||||
---
|
||||
<footer class="site-footer">
|
||||
<div class="footer-inner">
|
||||
<div class="container">
|
||||
<hr class="footer-rule" />
|
||||
<div class="footer-columns">
|
||||
<section class="footer-column footer-project" aria-label={t('项目与版权', 'Project and copyright')}>
|
||||
@@ -18,6 +18,8 @@ const t = <T,>(zh: T, en: T) => choose(locale, zh, en);
|
||||
<a href={url(locale, 'privacy')}>{t('隐私说明', 'Privacy')}</a>
|
||||
<span aria-hidden="true">·</span>
|
||||
<a href={url(locale, 'about')}>{t('关于', 'About')}</a>
|
||||
<span aria-hidden="true">·</span>
|
||||
<a href={url(locale, 'feedback')}>{t('问题反馈', 'Feedback')}</a>
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -23,6 +23,7 @@ const langLabel = t('EN', '中文');
|
||||
>{choose(locale, item.label[0], item.label[1])}{item.external && <span aria-hidden="true"> ↗</span>}</a>
|
||||
))}
|
||||
</nav>
|
||||
<a class="btn btn--primary btn--small mobile-download" href={url(locale, 'download')}>{t('下载', 'Download')}</a>
|
||||
<details class="menu">
|
||||
<summary>{t('菜单', 'Menu')}</summary>
|
||||
<nav class="menu__panel" aria-label={t('移动导航', 'Mobile navigation')}>
|
||||
@@ -33,8 +34,9 @@ const langLabel = t('EN', '中文');
|
||||
{...(item.external ? { target: '_blank', rel: 'noopener noreferrer' } : {})}
|
||||
>{choose(locale, item.label[0], item.label[1])}{item.external && <span aria-hidden="true"> ↗</span>}</a>
|
||||
))}
|
||||
<a href={url(locale, 'download')}>{t('下载', 'Download')}</a>
|
||||
<a href={site.git + '/marqdo'} target="_blank" rel="noopener noreferrer">{t('源码', 'Source')}<span aria-hidden="true"> ↗</span></a>
|
||||
<a href={url(alternate, current ?? '')} hreflang={t('en', 'zh-CN')}>{langLabel}</a>
|
||||
<button class="theme-toggle" type="button" data-theme-toggle aria-pressed="false" hidden>{t('切换深色主题', 'Toggle dark theme')}</button>
|
||||
</nav>
|
||||
</details>
|
||||
<div class="header-tools">
|
||||
@@ -42,7 +44,7 @@ const langLabel = t('EN', '中文');
|
||||
{t('源码', 'Source')}<span aria-hidden="true"> ↗</span>
|
||||
</a>
|
||||
<a class="icon-link" href={url(alternate, current ?? '')} hreflang={t('en', 'zh-CN')} aria-label={t('English', '中文')}>{langLabel}</a>
|
||||
<button class="theme-toggle" type="button" data-theme-toggle aria-pressed="false" aria-label={t('切换深色主题', 'Toggle dark theme')}><span aria-hidden="true">◐</span></button>
|
||||
<button class="theme-toggle" type="button" data-theme-toggle aria-pressed="false" aria-label={t('切换深色主题', 'Toggle dark theme')} hidden><span aria-hidden="true">◐</span></button>
|
||||
<a class="btn btn--primary btn--small" href={url(locale, 'download')}>{t('下载', 'Download')}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
<div class="hero__art" data-hero-art aria-hidden="true">
|
||||
<img class="hero__poster" src="/assets/hero-particles.svg" width="500" height="300" alt="" />
|
||||
<img class="hero__logo" src="/assets/logo.svg" width="92" height="92" alt="" />
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const art = document.querySelector<HTMLElement>('[data-hero-art]');
|
||||
if (art) {
|
||||
const motion = matchMedia('(min-width: 50rem) and (prefers-reduced-motion: no-preference)');
|
||||
let visible = false;
|
||||
let unavailable = false;
|
||||
let loading = false;
|
||||
let scene: ReturnType<typeof import('../lib/hero-particles').startParticles> | null = null;
|
||||
|
||||
const update = async () => {
|
||||
if (!motion.matches && scene) {
|
||||
scene.dispose();
|
||||
scene = null;
|
||||
}
|
||||
const shouldPlay = () => motion.matches && visible && !document.hidden && !unavailable;
|
||||
if (scene) {
|
||||
scene.setPlaying(shouldPlay());
|
||||
} else if (shouldPlay() && !loading) {
|
||||
loading = true;
|
||||
try {
|
||||
const canvas = document.createElement('canvas');
|
||||
const gl = canvas.getContext('webgl2', { alpha: true, antialias: false, powerPreference: 'low-power' });
|
||||
if (!gl) {
|
||||
unavailable = true;
|
||||
return;
|
||||
}
|
||||
const { startParticles } = await import('../lib/hero-particles');
|
||||
if (shouldPlay()) {
|
||||
scene = startParticles(art, canvas, gl, () => {
|
||||
unavailable = true;
|
||||
scene?.dispose();
|
||||
scene = null;
|
||||
});
|
||||
scene.setPlaying(true);
|
||||
} else {
|
||||
gl.getExtension('WEBGL_lose_context')?.loseContext();
|
||||
}
|
||||
} catch {
|
||||
unavailable = true;
|
||||
} finally {
|
||||
loading = false;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
new IntersectionObserver(([entry]) => {
|
||||
visible = entry?.isIntersecting ?? false;
|
||||
void update();
|
||||
}).observe(art);
|
||||
motion.addEventListener('change', update);
|
||||
document.addEventListener('visibilitychange', update);
|
||||
window.addEventListener('pagehide', () => scene?.setPlaying(false));
|
||||
window.addEventListener('pageshow', update);
|
||||
}
|
||||
</script>
|
||||
+38
-97
@@ -1,134 +1,75 @@
|
||||
---
|
||||
import Demo from './Demo.astro';
|
||||
import Section from './Section.astro';
|
||||
import catalog from '../config/catalog.json';
|
||||
import EcosystemMap from './EcosystemMap.astro';
|
||||
import HeroArt from './HeroArt.astro';
|
||||
import { choose, site, url, type Locale } from '../config/site';
|
||||
const { locale, hasRecommendations } = Astro.props as { locale: Locale; hasRecommendations: boolean };
|
||||
const t = <T,>(zh: T, en: T) => choose(locale, zh, en);
|
||||
const values = [
|
||||
{
|
||||
title: t('共同表达', 'Shared expression'),
|
||||
body: t(
|
||||
'人类的需求、知识依据和可执行实现,能够在同一份文稿中阅读和审计。',
|
||||
'Human intent, the knowledge behind it, and a runnable implementation can be read and audited in one document.',
|
||||
),
|
||||
body: t('在同一份文稿中阅读和审计。', 'Read and audit the work in one document.'),
|
||||
},
|
||||
{
|
||||
title: t('智能执行', 'Guided execution'),
|
||||
body: t(
|
||||
'模型处理需要理解和判断的局部问题;程序约束后续计算与执行,结果可以复现。',
|
||||
'Models handle the parts that need judgement; the program constrains the computation that follows, and results stay reproducible.',
|
||||
),
|
||||
body: t('模型处理需要理解和判断的局部问题,程序约束后续计算与执行,结果可以复现。', 'Models handle the parts that need judgement, while the program constrains the computation so results stay reproducible.'),
|
||||
},
|
||||
{
|
||||
title: t('长期复用', 'Lasting reuse'),
|
||||
body: t(
|
||||
'已验证的方法与领域知识可以沉淀为有明确来源、条件和调用入口的资产。',
|
||||
'Verified methods and domain knowledge become assets with explicit provenance, preconditions, and call entry points.',
|
||||
),
|
||||
body: t('已验证的方法与领域知识可以沉淀为有明确来源、条件和调用入口的资产。', 'Verified methods and domain knowledge become assets with explicit provenance, preconditions, and call entry points.'),
|
||||
},
|
||||
];
|
||||
const core = catalog.components.filter(row => row.kind === 'core').map(row => row.id);
|
||||
const toolCount = catalog.components.filter(row => row.kind === 'tool').length;
|
||||
const stdCount = catalog.components.filter(row => row.kind === 'stdlib').length;
|
||||
const extCount = catalog.components.filter(row => row.kind === 'extension').length;
|
||||
const appCount = catalog.components.filter(row => row.kind === 'app').length;
|
||||
---
|
||||
<section class="hero">
|
||||
<section class="hero" aria-labelledby="hero-title">
|
||||
<div class="container hero__grid">
|
||||
<div class="hero__copy">
|
||||
<p class="eyebrow">{t('文档原生编程语言', 'Document-native programming language')}</p>
|
||||
<h1>{t('让知识成为', 'Make knowledge')}<br />{t('可以执行的力量', 'executable')}</h1>
|
||||
<p class="hero__label">{t('文档原生编程语言', 'Document-native programming language')}</p>
|
||||
<h1 id="hero-title">{t('让知识成为', 'Make knowledge')}<br />{t('可以执行的力量', 'executable')}</h1>
|
||||
<p class="hero__lede">{t('面向人机协作与可执行知识的文档原生编程语言。', 'A document-native programming language for human–AI collaboration and executable knowledge.')}</p>
|
||||
<div class="hero__actions">
|
||||
<a class="btn btn--primary" href={url(locale, 'download') + '#marqdo'}>{t('下载 Marqdo', 'Download Marqdo')}</a>
|
||||
<a class="btn" href={site.wiki} target="_blank" rel="noopener noreferrer">{t('阅读文档', 'Read the docs')}<span aria-hidden="true"> ↗</span></a>
|
||||
</div>
|
||||
<p class="hero__motto">{t('代码即文档,文档即知识,知识即工具。', 'Code is documentation, documentation is knowledge, knowledge is a tool.')}</p>
|
||||
{!hasRecommendations && (
|
||||
<p class="hero__status"><a href={url(locale, 'releases')}>{t('暂无推荐发行 · 查看发行状态', 'No recommended release · View release status')}</a></p>
|
||||
)}
|
||||
</div>
|
||||
<div class="hero__art" aria-hidden="true">
|
||||
<div class="orbits"><span></span><span></span><span></span></div>
|
||||
<img class="hero__logo" src="/assets/logo.svg" width="176" height="176" alt="" />
|
||||
</div>
|
||||
<HeroArt />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="section-head">
|
||||
<p class="eyebrow">01 · {t('技术展示', 'Technical demo')}</p>
|
||||
<h2 id="demo">{t('从一篇文稿开始', 'Start with one document')}</h2>
|
||||
<p class="lede">{t('同一份 Markdown 文稿,保留推导,也提供可调用的函数。', 'One Markdown document keeps the reasoning and exposes a callable function.')}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container container--wide">
|
||||
<Demo {locale} />
|
||||
<p class="muted" style="margin-block-start:0.75rem;font-size:0.875rem">
|
||||
<a href={url(locale, 'start') + '#geometry'}>{t('查看 CLI 命令与实测依据', 'See the CLI commands and execution evidence')}</a>
|
||||
</p>
|
||||
</div>
|
||||
<section class="home-section container" aria-labelledby="demo">
|
||||
<header class="home-heading">
|
||||
<h2 id="demo">{t('从一篇文稿开始', 'Start with one document')}</h2>
|
||||
<p>{t('同一份 Markdown 文稿,保留推导,也提供可调用的函数。', 'One Markdown document keeps the reasoning and exposes a callable function.')}</p>
|
||||
</header>
|
||||
<Demo {locale} />
|
||||
</section>
|
||||
|
||||
<Section
|
||||
id="collaboration"
|
||||
eyebrow={'02 · ' + t('设计原则', 'Design principles')}
|
||||
title={t('人类与 AI 的共同知识载体', 'A shared knowledge medium for people and AI')}
|
||||
>
|
||||
<div class="values">
|
||||
{values.map((value, index) => (
|
||||
<article class="value">
|
||||
<span class="value__index" aria-hidden="true">0{index + 1}</span>
|
||||
<h3>{value.title}</h3>
|
||||
<p>{value.body}</p>
|
||||
</article>
|
||||
<section class="home-section container collaboration" id="collaboration" aria-labelledby="collaboration-title">
|
||||
<h2 id="collaboration-title">{t('人类与 AI 的共同知识载体', 'A shared knowledge medium for people and AI')}</h2>
|
||||
<dl class="values">
|
||||
{values.map(value => (
|
||||
<div class="value">
|
||||
<dt>{value.title}</dt>
|
||||
<dd>{value.body}</dd>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
<p class="muted" style="margin-block-start:1.25rem;font-size:0.875rem">
|
||||
{t('以上为设计目标与技术思想;实际能力以对应组件版本和验证记录为准。', 'These are design goals and technical direction; delivered capability follows each component release and its verification record.')}
|
||||
</p>
|
||||
</Section>
|
||||
</dl>
|
||||
</section>
|
||||
|
||||
<Section
|
||||
id="ecosystem"
|
||||
eyebrow={'03 · ' + t('生态', 'Ecosystem')}
|
||||
title={t('从语言到知识生态', 'From a language to a knowledge ecosystem')}
|
||||
lead={t('CLI、标准库、可选扩展、工具与应用各自承担明确职责。', 'The CLI, standard libraries, optional extensions, tools, and applications each own a clear responsibility.')}
|
||||
>
|
||||
<div class="ecosystem-map" role="list" aria-label={t('生态组成示意', 'Ecosystem composition')}>
|
||||
<div class="ecosystem-map__row" role="listitem">
|
||||
<span class="ecosystem-map__label">{core.join(' · ') || 'Marqdo CLI'}</span>
|
||||
<span class="ecosystem-map__items">{t('文档解析、编译与执行', 'Document parsing, compilation, execution')}</span>
|
||||
</div>
|
||||
<div class="ecosystem-map__row" role="listitem">
|
||||
<span class="ecosystem-map__label">Std · Ext · Tools</span>
|
||||
<span class="ecosystem-map__items">{t(`标准库 ${stdCount} 项 · 扩展 ${extCount} 项 · 独立工具 ${toolCount} 项`, `${stdCount} libraries · ${extCount} extensions · ${toolCount} tools`)}</span>
|
||||
</div>
|
||||
<div class="ecosystem-map__row" role="listitem">
|
||||
<span class="ecosystem-map__label">MQDH</span>
|
||||
<span class="ecosystem-map__items">{t(`面向用户的应用入口(${appCount} 项);不构成 CLI 运行时依赖`, `User-facing application entry (${appCount} items); not a runtime dependency of the CLI`)}</span>
|
||||
</div>
|
||||
<p class="ecosystem-map__note">{t('生态组成示意,连线表示职责层次,不代表运行依赖。实际依赖以主仓组件登记为准。', 'Composition only. Lines show responsibility levels, not runtime dependencies; see the root component catalog for real dependencies.')}</p>
|
||||
</div>
|
||||
<p><a href={url(locale, 'ecosystem')}>{t('探索完整生态', 'Explore the ecosystem')}</a> · <a href={url(locale, 'download') + '#mqdh'}>{t('了解 MQDH', 'About MQDH')}</a></p>
|
||||
</Section>
|
||||
<section class="home-section container" id="ecosystem" aria-labelledby="home-ecosystem">
|
||||
<header class="home-heading">
|
||||
<h2 id="home-ecosystem">{t('从语言到知识生态', 'From a language to a knowledge ecosystem')}</h2>
|
||||
<p>{t('CLI、标准库、可选扩展、工具与应用各自承担明确职责。', 'The CLI, standard libraries, optional extensions, tools, and applications each own a clear responsibility.')}</p>
|
||||
</header>
|
||||
<EcosystemMap {locale} compact />
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="cta">
|
||||
<div>
|
||||
<h2>{t('开始你的第一份文稿', 'Start your first document')}</h2>
|
||||
<p>{t('按平台安装,运行一份真实示例,然后到 Wiki 继续阅读。', 'Install for your platform, run a real example, then continue in the Wiki.')}</p>
|
||||
<div class="cta__links">
|
||||
<a href={site.git + '/marqdo'} target="_blank" rel="noopener noreferrer">{t('参与开源', 'Contribute')}<span aria-hidden="true"> ↗</span></a>
|
||||
<a href={url(locale, 'feedback')}>{t('问题反馈', 'Report a problem')}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<a class="btn btn--primary" href={url(locale, 'start')}>{t('快速开始', 'Quick start')}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<section class="home-section container cta" aria-labelledby="home-start">
|
||||
<header class="home-heading">
|
||||
<h2 id="home-start">{t('开始你的第一份文稿', 'Start your first document')}</h2>
|
||||
<p>{t('按平台安装,运行一份真实示例,然后到 Wiki 继续阅读。', 'Install for your platform, run a real example, then continue in the Wiki.')}</p>
|
||||
</header>
|
||||
<a class="btn btn--primary" href={url(locale, 'start')}>{t('快速开始', 'Quick start')}</a>
|
||||
</section>
|
||||
@@ -22,7 +22,7 @@ const products = [
|
||||
{t('快照生成', 'Snapshot generated')} <time datetime={publication.snapshot.generated_at}>{publication.snapshot.generated_at}</time> ·
|
||||
{t('最近完整核验', 'Last complete verification')} <time datetime={publication.pointer.verified_at}>{publication.pointer.verified_at}</time>
|
||||
<span data-stale-notice hidden={Date.now() - Date.parse(publication.pointer.verified_at) <= 86_400_000}> · {t('核验距今已超过 24 小时', 'Last verification was over 24 hours ago')}</span>
|
||||
</p> : <p class="notice">{t('官网尚未接入主仓公开发行快照。推荐组合、平台支持和直链下载待核验。', 'The root repository’s public snapshot is unavailable. Recommendations, platform support, and direct downloads are pending verification.')}</p>}
|
||||
</p> : <p class="notice">{t('官网尚未接入主仓公开发行快照。', 'The root repository’s public release snapshot is unavailable.')}</p>}
|
||||
{snapshot && eligibleOffers.length + releases.length > 0 && <form class="filters" data-release-filters hidden>
|
||||
{history && <label>{t('产品或组件', 'Product or component')}<select name="component">
|
||||
<option value="">{t('全部', 'All')}</option>
|
||||
@@ -42,12 +42,17 @@ const products = [
|
||||
<option value="stable" selected={!history}>Stable</option><option value="rc">RC</option><option value="beta">Beta</option><option value="alpha">Alpha</option>
|
||||
</select></label>
|
||||
</form>}
|
||||
{!history && products.map(product => {
|
||||
{!history && <div class="product-releases">
|
||||
<nav class="release-tabs" aria-label={t('按产品查看发行状态', 'Release status by product')}>
|
||||
<a href="#marqdo">Marqdo</a>
|
||||
<a href="#mqdh">MQDH</a>
|
||||
</nav>
|
||||
{products.map(product => {
|
||||
const rows = eligibleOffers.filter(offer => offer.product === product.id);
|
||||
return <section class="release-group" id={product.id} data-release-group>
|
||||
<h2>{product.name}</h2>
|
||||
<p>{product.detail}</p>
|
||||
<p data-empty hidden={rows.length > 0}>{t('所选条件下暂无推荐发行。', 'No recommended release matches the selected options.')}</p>
|
||||
return <section class="release-panel" id={product.id} aria-labelledby={product.id + '-title'} data-release-group>
|
||||
<h3 id={product.id + '-title'} class="visually-hidden">{product.name}</h3>
|
||||
{snapshot && <p>{product.detail}</p>}
|
||||
<p data-empty hidden={rows.length > 0}>{snapshot ? t('所选条件下暂无推荐发行。', 'No recommended release matches the selected options.') : t('暂无推荐发行。', 'No recommended release.')}</p>
|
||||
{snapshot && rows.map(offer => <article class="release-item" data-release-item data-channel={offer.channel} data-targets={offer.target}>
|
||||
<h3>{offer.version} · {offer.channel.toUpperCase()} · {offer.target}</h3>
|
||||
{offer.channel !== 'stable' && <p>{t('预发布,适合测试。', 'Prerelease, intended for testing.')}</p>}
|
||||
@@ -67,10 +72,14 @@ const products = [
|
||||
})}</ul>
|
||||
</details>
|
||||
</article>)}
|
||||
<p><a href={url(locale, 'start') + '#' + product.id}>{t('快速开始', 'Quick Start')}</a> · <a href={site.git + '/' + product.repo}>{t('项目仓库', 'Repository')}</a> · <a href={site.git + '/' + product.repo + '/releases'}>{t('查阅官方发行记录', 'Browse official release records')}</a></p>
|
||||
<p class="release-panel__links">
|
||||
<a href={url(locale, 'start') + '#' + product.id}>{t('快速开始', 'Quick Start')}<span aria-hidden="true"> ↗</span></a>
|
||||
<a href={site.git + '/' + product.repo + '/releases'}>{t('官方发行记录', 'Official release records')}<span aria-hidden="true"> ↗</span></a>
|
||||
</p>
|
||||
</section>;
|
||||
})}
|
||||
<section class="release-group" data-release-group id={history ? undefined : 'advanced'}>
|
||||
</div>}
|
||||
<section class:list={['release-group', !history && 'release-advanced']} data-release-group id={history ? undefined : 'advanced'}>
|
||||
<h2>{history ? t('发行记录', 'Release records') : t('高级下载与独立发行', 'Advanced downloads and independent releases')}</h2>
|
||||
<p>{t('组件的独立发行和生态集成状态分别显示。', 'Component releases and their ecosystem integration status appear separately.')}</p>
|
||||
<p data-empty hidden={listedReleases.length > 0}>{t('所选条件下暂无已核验的发行记录。', 'No verified release records match the selected options.')}</p>
|
||||
@@ -93,6 +102,18 @@ const products = [
|
||||
<ul>{snapshot.withdrawals.map(item => <li><a href={item.announcement_url}>{item.id}</a> · <time datetime={item.withdrawn_at}>{item.withdrawn_at}</time> · {item.reason}</li>)}</ul>
|
||||
</section>}
|
||||
<script>
|
||||
const productLinks = [...document.querySelectorAll<HTMLAnchorElement>('.release-tabs a')];
|
||||
if (productLinks.length) {
|
||||
const syncProduct = () => {
|
||||
const selected = location.hash === '#mqdh' ? '#mqdh' : '#marqdo';
|
||||
for (const link of productLinks) {
|
||||
if (link.hash === selected) link.setAttribute('aria-current', 'location');
|
||||
else link.removeAttribute('aria-current');
|
||||
}
|
||||
};
|
||||
syncProduct();
|
||||
window.addEventListener('hashchange', syncProduct);
|
||||
}
|
||||
const notice = document.querySelector<HTMLElement>('[data-data-time]');
|
||||
if (notice && Date.now() - Date.parse(notice.dataset.dataTime!) > 86_400_000) {
|
||||
notice.querySelector<HTMLElement>('[data-stale-notice]')!.hidden = false;
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
---
|
||||
interface Props {
|
||||
id?: string;
|
||||
title?: string;
|
||||
lead?: string;
|
||||
eyebrow?: string;
|
||||
wide?: boolean;
|
||||
tight?: boolean;
|
||||
}
|
||||
const { id, title, lead, eyebrow, wide = false, tight = false } = Astro.props;
|
||||
---
|
||||
<section class:list={['section', tight && 'section--tight']} id={id}>
|
||||
<div class:list={['container', wide && 'container--wide']}>
|
||||
{(eyebrow || title || lead) && (
|
||||
<div class="section-head">
|
||||
{eyebrow && <p class="eyebrow">{eyebrow}</p>}
|
||||
{title && <h2>{title}</h2>}
|
||||
{lead && <p class="lede">{lead}</p>}
|
||||
</div>
|
||||
)}
|
||||
<slot />
|
||||
</div>
|
||||
</section>
|
||||
@@ -8,44 +8,44 @@ const products = [
|
||||
id: 'marqdo',
|
||||
name: 'Marqdo',
|
||||
summary: t('文档编程、科研计算、开发与验证。', 'Document programming, research computing, development, and verification.'),
|
||||
meta: t('CLI · 基础标准库 · 必要运行资产', 'CLI · base libraries · required runtime assets'),
|
||||
meta: t('CLI · 基础标准库', 'CLI · base libraries'),
|
||||
},
|
||||
{
|
||||
id: 'mqdh',
|
||||
name: 'MQDH / Marqdo Harness',
|
||||
name: 'Marqdo Harness',
|
||||
summary: t('智能体协作、知识使用、生态管理。', 'Agent collaboration, knowledge use, and ecosystem management.'),
|
||||
meta: t('应用发行 · 真实运行要求', 'Application release · real runtime requirements'),
|
||||
meta: t('MQDH · 应用发行', 'MQDH · application release'),
|
||||
},
|
||||
];
|
||||
---
|
||||
<section class="page">
|
||||
<div class="container">
|
||||
<header class="page-head">
|
||||
<h1>{t('下载迈启求道', 'Download Marqdo')}</h1>
|
||||
<p>{t('选择适合你的使用方式。所有版本、平台与资产均来自主仓公开发行数据。', 'Pick the way you want to use Marqdo. Every version, platform, and asset comes from the root repository’s public release data.')}</p>
|
||||
</header>
|
||||
<section class="page container download-page">
|
||||
<header class="page-head page-head--center">
|
||||
<h1>{t('下载迈启求道', 'Download Marqdo')}</h1>
|
||||
<p>{t('选择适合你的使用方式。', 'Pick the way you want to use Marqdo.')}</p>
|
||||
</header>
|
||||
|
||||
<div class="products">
|
||||
{products.map(product => (
|
||||
<article class="product">
|
||||
<h2>{product.name}</h2>
|
||||
<p>{product.summary}</p>
|
||||
<p class="product__meta">{product.meta}</p>
|
||||
<div class="product__actions">
|
||||
<a class="btn btn--primary btn--small" href={'#' + product.id}>{t('选择发行版本', 'Choose a release')}</a>
|
||||
<a href={url(locale, 'start') + '#' + product.id}>{t('安装指引', 'Install guide')}</a>
|
||||
</div>
|
||||
</article>
|
||||
))}
|
||||
</div>
|
||||
<p class="products__aside">
|
||||
<a href="#advanced">{t('独立工具与可选组件', 'Standalone tools and optional components')}</a>
|
||||
<a href={url(locale, 'releases')}>{t('历史版本与发布记录', 'Version history and release records')}</a>
|
||||
<a href={site.wiki} target="_blank" rel="noopener noreferrer">{t('完整安装文档(Wiki)', 'Full install documentation (Wiki)')}<span aria-hidden="true"> ↗</span></a>
|
||||
</p>
|
||||
|
||||
<section class="section section--tight" id="releases">
|
||||
<Releases {locale} history={false} />
|
||||
</section>
|
||||
<div class="products">
|
||||
{products.map(product => (
|
||||
<article class="product">
|
||||
<h2>{product.name}</h2>
|
||||
<p>{product.summary}</p>
|
||||
<p class="product__meta">{product.meta}</p>
|
||||
<div class="product__actions">
|
||||
<a class="btn btn--primary" href={'#' + product.id}>{t('查看发行状态', 'View release status')}</a>
|
||||
<a href={url(locale, 'start') + '#' + product.id}>{t('安装指引', 'Install guide')}<span aria-hidden="true"> ↗</span></a>
|
||||
</div>
|
||||
</article>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<section class="download-releases" id="releases" aria-labelledby="release-status">
|
||||
<h2 id="release-status">{t('发行状态', 'Release status')}</h2>
|
||||
<Releases {locale} history={false} />
|
||||
</section>
|
||||
|
||||
<nav class="products__aside" aria-label={t('其他下载资源', 'Other download resources')}>
|
||||
<a href="#advanced">{t('独立工具与可选组件', 'Standalone tools and optional components')}</a>
|
||||
<a href={url(locale, 'releases')}>{t('历史版本与发布记录', 'Version history and release records')}</a>
|
||||
<a href={site.wiki} target="_blank" rel="noopener noreferrer">{t('完整安装文档', 'Full install documentation')}<span aria-hidden="true"> ↗</span></a>
|
||||
</nav>
|
||||
</section>
|
||||
@@ -1,13 +1,13 @@
|
||||
---
|
||||
import EcosystemMap from '../EcosystemMap.astro';
|
||||
import catalog from '../../config/catalog.json';
|
||||
import { publication } from '../../lib/publication';
|
||||
import { choose, site, type Locale } from '../../config/site';
|
||||
const { locale } = Astro.props as { locale: Locale };
|
||||
const t = <T,>(zh: T, en: T) => choose(locale, zh, en);
|
||||
const root = site.git + '/marqdo';
|
||||
const catalogSha = publication?.snapshot.root_source_sha ?? catalog.source;
|
||||
const components = publication?.snapshot.components ?? catalog.components;
|
||||
const catalogRef = root + '/src/commit/' + catalogSha + '/components.toml';
|
||||
const catalogRef = site.git + '/marqdo/src/commit/' + catalogSha + '/components.toml';
|
||||
const groups = [
|
||||
['core', t('语言与运行时', 'Language and runtime')],
|
||||
['tool', t('工具', 'Tools')],
|
||||
@@ -16,94 +16,128 @@ const groups = [
|
||||
['domain', t('领域聚合', 'Domains')],
|
||||
['app', t('应用', 'Applications')],
|
||||
['test', t('验收工具', 'Conformance')],
|
||||
];
|
||||
const tools = components.filter(row => row.kind === 'tool').map(row => row.id);
|
||||
].map(([kind, title]) => ({ kind, title, rows: components.filter(row => row.kind === kind) }))
|
||||
.filter(group => group.rows.length > 0);
|
||||
---
|
||||
<section class="page">
|
||||
<div class="container">
|
||||
<header class="page-head">
|
||||
<h1>{t('生态', 'Ecosystem')}</h1>
|
||||
<p>{t('组件职责、生命周期状态、依赖与仓库入口,来自主仓已确认的公开组件登记。', 'Component responsibilities, lifecycle state, dependencies, and repository entries from the root repository’s confirmed public catalog.')}</p>
|
||||
</header>
|
||||
<section class="page container ecosystem-page">
|
||||
<header class="page-head page-head--center">
|
||||
<h1>{t('生态', 'Ecosystem')}</h1>
|
||||
<p>{t('从语言核心到面向用户的应用,按职责浏览组件。', 'Browse components by responsibility, from the language core to user-facing applications.')}</p>
|
||||
</header>
|
||||
|
||||
<div class="ecosystem-diagram" role="group" aria-label={t('生态组成示意', 'Ecosystem composition')}>
|
||||
<div class="ecosystem-diagram__row">
|
||||
<span class="ecosystem-diagram__label">Marqdo CLI</span>
|
||||
<span class="ecosystem-diagram__items">{t('文档解析、编译与执行', 'Document parsing, compilation, execution')}</span>
|
||||
</div>
|
||||
<div class="ecosystem-diagram__row">
|
||||
<span class="ecosystem-diagram__label">Std · Ext · Tools</span>
|
||||
<span class="ecosystem-diagram__items">{tools.length ? tools.join(' · ') : t('独立工具', 'Standalone tools')}</span>
|
||||
</div>
|
||||
<div class="ecosystem-diagram__row">
|
||||
<span class="ecosystem-diagram__label">MQDH</span>
|
||||
<span class="ecosystem-diagram__items">{t('面向用户的应用入口,不构成 CLI 运行时依赖', 'User-facing application entry, not a runtime dependency of the CLI')}</span>
|
||||
</div>
|
||||
<p class="ecosystem-diagram__caption">{t('组成示意,不代表运行依赖;实际依赖见下方 requires 字段。', 'Composition only, not runtime dependencies; see the requires field below for the real graph.')}</p>
|
||||
</div>
|
||||
<EcosystemMap {locale} {catalogRef} />
|
||||
|
||||
<p class="catalog-meta"><a href={catalogRef}>{t('主仓组件登记', 'Root component catalog')}</a> · <code>{catalogSha.slice(0, 12)}</code></p>
|
||||
<section class="catalog" aria-labelledby="catalog-title">
|
||||
<h2 id="catalog-title">{t('组件目录', 'Component catalog')}</h2>
|
||||
{locale === 'en' && <p class="catalog-meta">Component scopes below retain their authoritative Chinese descriptions.</p>}
|
||||
|
||||
<div class="filters" data-catalog-filters hidden>
|
||||
<label for="catalog-filter">{t('筛选组件', 'Filter components')}
|
||||
<input type="search" id="catalog-filter" placeholder={t('名称或职责', 'Name or scope')} />
|
||||
</label>
|
||||
<label for="catalog-kind">{t('分类', 'Category')}
|
||||
<select id="catalog-kind"><option value="">{t('全部', 'All')}</option>{groups.map(([kind, label]) => <option value={kind}>{label}</option>)}</select>
|
||||
</label>
|
||||
<label class="visually-hidden" for="catalog-filter">{t('筛选组件', 'Filter components')}</label>
|
||||
<input type="search" id="catalog-filter" placeholder={t('名称或职责', 'Name or scope')} />
|
||||
<label class="visually-hidden" for="catalog-kind">{t('分类', 'Category')}</label>
|
||||
<select id="catalog-kind">
|
||||
<option value="">{t('全部分类', 'All categories')}</option>
|
||||
{groups.map(({ kind, title }) => <option value={kind}>{title}</option>)}
|
||||
</select>
|
||||
</div>
|
||||
<p class="empty" data-catalog-empty role="status" hidden>{t('没有符合条件的组件。', 'No components match.')}</p>
|
||||
|
||||
{groups.map(([kind, heading]) => {
|
||||
const entries = components.filter(row => row.kind === kind);
|
||||
return entries.length > 0 && (
|
||||
<section class="catalog-group" data-catalog-group>
|
||||
<h2>{heading}</h2>
|
||||
{entries.map(row => {
|
||||
const verified = publication?.snapshot.releases.filter(release => release.component_id === row.id) ?? [];
|
||||
return (
|
||||
<article class="catalog-item" data-catalog-item data-kind={row.kind} id={row.id}>
|
||||
<h3>{row.id} <small>· {row.state === 'active' ? t('已激活', 'Active') : t('计划中', 'Planned')}</small></h3>
|
||||
<p lang="zh-CN">{row.scope}</p>
|
||||
<p class="catalog-meta">{t('运行依赖', 'Runtime dependencies')} · {row.requires.length ? row.requires.join(' · ') : t('无', 'None')}</p>
|
||||
{row.checks_with.length > 0 && <p class="catalog-meta">{t('验收关联', 'Checked with')} · {row.checks_with.join(' · ')}</p>}
|
||||
<p class="catalog-meta">{verified.length ? verified.map(release => `${release.version} (${release.integration_state})`).join(' · ') : t('公开发行与集成状态待核验。', 'Public release and integration status pending verification.')}</p>
|
||||
{row.repository && <p><a href={row.repository}>{t('仓库与文档', 'Repository and docs')}</a></p>}
|
||||
</article>
|
||||
);
|
||||
})}
|
||||
</section>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
<div class="index-layout">
|
||||
<nav class="section-index" aria-label={t('组件分类', 'Component categories')}>
|
||||
{groups.map(({ kind, title }, index) => (
|
||||
<a href={'#catalog-' + kind} data-catalog-link={kind} aria-current={index === 0 ? 'location' : undefined}>{title}</a>
|
||||
))}
|
||||
</nav>
|
||||
<div class="catalog-groups">
|
||||
{groups.map(({ kind, title, rows }) => (
|
||||
<section class="catalog-group" id={'catalog-' + kind} data-catalog-group={kind}>
|
||||
<h2>{title}</h2>
|
||||
<table class="catalog-table" role="table" aria-label={title}>
|
||||
<colgroup><col class="catalog-id" /><col class="catalog-state" /><col /><col class="catalog-dependencies" /><col class="catalog-links" /></colgroup>
|
||||
<thead role="rowgroup">
|
||||
<tr role="row">
|
||||
<th scope="col">{t('组件', 'Component')}</th>
|
||||
<th scope="col">{t('状态', 'State')}</th>
|
||||
<th scope="col">{t('职责', 'Scope')}</th>
|
||||
<th scope="col">{t('运行依赖', 'Runtime dependencies')}</th>
|
||||
<th scope="col"><span class="visually-hidden">{t('仓库与文档', 'Repository and docs')}</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody role="rowgroup">
|
||||
{rows.map(row => {
|
||||
const verified = publication?.snapshot.releases.filter(release => release.component_id === row.id) ?? [];
|
||||
return (
|
||||
<tr role="row" data-catalog-item id={row.id}>
|
||||
<th scope="row" role="rowheader"><code>{row.id}</code></th>
|
||||
<td role="cell">{row.state === 'active' ? t('已激活', 'Active') : t('计划中', 'Planned')}</td>
|
||||
<td role="cell">
|
||||
<details class="catalog-detail">
|
||||
<summary lang="zh-CN">{row.scope}</summary>
|
||||
{row.checks_with.length > 0 && <p>{t('验收关联', 'Checked with')} · {row.checks_with.join(' · ')}</p>}
|
||||
<p>{verified.length ? verified.map(release => `${release.version} (${release.integration_state})`).join(' · ') : t('公开发行与集成状态待核验。', 'Public release and integration status pending verification.')}</p>
|
||||
</details>
|
||||
</td>
|
||||
<td role="cell">
|
||||
<span class="catalog-mobile-label">{t('运行依赖', 'Runtime dependencies')} · </span>
|
||||
{row.requires.length ? row.requires.map((id, index) => <>{index > 0 && ' · '}<a href={'#' + id}><code>{id}</code></a></>) : t('无', 'None')}
|
||||
</td>
|
||||
<td role="cell">{row.repository && <a href={row.repository}>{t('仓库与文档', 'Repository and docs')}<span aria-hidden="true"> ↗</span></a>}</td>
|
||||
</tr>
|
||||
);
|
||||
})}
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<script>
|
||||
const filters = document.querySelector<HTMLElement>('[data-catalog-filters]');
|
||||
if (filters) {
|
||||
const search = filters.querySelector('input')!;
|
||||
const category = filters.querySelector('select')!;
|
||||
const search = filters.querySelector<HTMLInputElement>('input')!;
|
||||
const category = filters.querySelector<HTMLSelectElement>('select')!;
|
||||
const empty = document.querySelector<HTMLElement>('[data-catalog-empty]')!;
|
||||
const sections = [...document.querySelectorAll<HTMLElement>('[data-catalog-group]')];
|
||||
const links = [...document.querySelectorAll<HTMLAnchorElement>('[data-catalog-link]')];
|
||||
const syncIndex = () => {
|
||||
const target = document.getElementById(location.hash.slice(1))?.closest<HTMLElement>('[data-catalog-group]');
|
||||
const current = target && !target.hidden ? target : sections.find(section => !section.hidden);
|
||||
for (const link of links) {
|
||||
if (link.dataset.catalogLink === current?.dataset.catalogGroup && current) link.setAttribute('aria-current', 'location');
|
||||
else link.removeAttribute('aria-current');
|
||||
}
|
||||
};
|
||||
const update = () => {
|
||||
const term = search.value.trim().toLowerCase();
|
||||
let count = 0;
|
||||
for (const section of document.querySelectorAll<HTMLElement>('[data-catalog-group]')) {
|
||||
for (const [index, section] of sections.entries()) {
|
||||
let visible = false;
|
||||
for (const row of section.querySelectorAll<HTMLElement>('[data-catalog-item]')) {
|
||||
const matches = row.textContent!.toLowerCase().includes(term) && (!category.value || category.value === row.dataset.kind);
|
||||
const matches = row.textContent!.toLowerCase().includes(term) && (!category.value || category.value === section.dataset.catalogGroup);
|
||||
row.hidden = !matches;
|
||||
if (matches) {
|
||||
visible = true;
|
||||
count += 1;
|
||||
}
|
||||
}
|
||||
section.hidden = !visible;
|
||||
section.hidden = links[index]!.hidden = !visible;
|
||||
}
|
||||
empty.hidden = count > 0;
|
||||
syncIndex();
|
||||
};
|
||||
filters.hidden = false;
|
||||
search.addEventListener('input', update);
|
||||
category.addEventListener('change', update);
|
||||
for (const link of document.querySelectorAll<HTMLAnchorElement>('.catalog-table a[href^="#"]')) {
|
||||
link.addEventListener('click', () => {
|
||||
if (document.getElementById(link.hash.slice(1))?.closest('[hidden]')) {
|
||||
search.value = category.value = '';
|
||||
update();
|
||||
}
|
||||
});
|
||||
}
|
||||
window.addEventListener('hashchange', syncIndex);
|
||||
syncIndex();
|
||||
}
|
||||
</script>
|
||||
@@ -3,63 +3,62 @@ import { choose, site, url, type Locale } from '../../config/site';
|
||||
const { locale } = Astro.props as { locale: Locale };
|
||||
const t = <T,>(zh: T, en: T) => choose(locale, zh, en);
|
||||
const topics = [
|
||||
{
|
||||
id: 'document-native',
|
||||
title: t('文档原生语言与可执行知识工程', 'Document-native languages and executable knowledge engineering'),
|
||||
body: t(
|
||||
'把知识的意图、前置条件与实现保留在同一份文稿中。函数与模块边界明确了计算从何而来,读者可以逐层追溯依据,而不是只看到结果。',
|
||||
'Keep intent, preconditions, and implementation in one document. Function and module boundaries make the provenance of a computation explicit, so readers can trace the reasoning instead of receiving only a result.',
|
||||
),
|
||||
links: [{ label: t('语言规范', 'Language specification'), href: site.git + '/marqdo-cli/src/commit/63776735e924ade279cdf59d5c733dc24bfdabbb/spec' }],
|
||||
},
|
||||
{
|
||||
id: 'shared-expression',
|
||||
title: t('人类与 AI 的共同表达、可审计的函数抽象', 'Shared expression for people and AI, auditable function abstraction'),
|
||||
body: t(
|
||||
'同一份文稿既服务于人的阅读与审计,也服务于智能体的上下文选择。需要稳定的计算被约束在显式函数入口,模型只处理需要理解与判断的部分。',
|
||||
'The same document serves human reading and auditing as well as agent context selection. Stability-critical computation is constrained to explicit function entry points, while models handle the parts that need comprehension and judgement.',
|
||||
),
|
||||
links: [{ label: t('研究方向说明(Wiki)', 'Research notes (Wiki)'), href: site.wiki }],
|
||||
},
|
||||
{
|
||||
id: 'anchored-context',
|
||||
title: t('基于锚点的上下文工程', 'Anchor-based context engineering'),
|
||||
body: t(
|
||||
'标题与锚点构成可引用的知识边界。上下文按明确位置选取,而不是依赖模糊的全文匹配,调用与引用因此可以复核。',
|
||||
'Headings and anchors define referenceable knowledge boundaries. Context is selected by explicit position rather than fuzzy full-text matching, so calls and citations can be re-checked.',
|
||||
),
|
||||
},
|
||||
{
|
||||
id: 'guided-execution',
|
||||
title: t('智能引导的确定执行', 'Intelligently guided deterministic execution'),
|
||||
body: t(
|
||||
'模型负责理解任务、澄清约束;程序负责可复现的计算与执行。两者边界清晰,结果可以带输入、版本和依据一起复现。',
|
||||
'Models interpret the task and clarify constraints; programs perform reproducible computation and execution. The boundary stays explicit, and results can be reproduced with their inputs, version, and evidence.',
|
||||
),
|
||||
},
|
||||
{
|
||||
id: 'verification',
|
||||
title: t('有限边界内的验证、复用与知识编译', 'Verification, reuse, and knowledge compilation within bounded scope'),
|
||||
body: t(
|
||||
'已验证的方法连同适用范围、条件和调用入口一起沉淀,供后续文稿直接复用。验证事件与边界条件记录在证据中,而不是宣称普遍正确。',
|
||||
'Verified methods are preserved together with applicability, preconditions, and call entry points for reuse by later documents. Verification events and boundary conditions are recorded as evidence rather than claims of universal correctness.',
|
||||
),
|
||||
},
|
||||
{ id: 'shared-expression', title: t('人机共同表达', 'Shared expression for people and AI') },
|
||||
{ id: 'context-and-execution', title: t('上下文与执行', 'Context and execution') },
|
||||
{ id: 'verification', title: t('验证与复用', 'Verification and reuse') },
|
||||
];
|
||||
const documentParts = [t('意图', 'Intent'), t('前置条件', 'Preconditions'), t('可执行实现', 'Executable implementation')];
|
||||
---
|
||||
<section class="page">
|
||||
<div class="container container--prose">
|
||||
<header class="page-head">
|
||||
<h1>{t('研究', 'Research')}</h1>
|
||||
<p>{t('Marqdo 关注的问题、设计方向与可执行知识案例。这里区分设计目标、研究假设与已交付能力。', 'The questions Marqdo works on, its design direction, and executable-knowledge cases. Design goals, research hypotheses, and delivered capability are kept distinct.')}</p>
|
||||
</header>
|
||||
{topics.map(topic => (
|
||||
<section class="research-section" id={topic.id}>
|
||||
<h2>{topic.title}</h2>
|
||||
<p>{topic.body}</p>
|
||||
{topic.links?.map(link => <p><a href={link.href} target="_blank" rel="noopener noreferrer">{link.label}<span aria-hidden="true"> ↗</span></a></p>)}
|
||||
<section class="page container research-page">
|
||||
<header class="page-head page-head--center">
|
||||
<h1>{t('研究', 'Research')}</h1>
|
||||
<p>{t('文档原生语言、人机协作与可执行知识。', 'Document-native languages, human–AI collaboration, and executable knowledge.')}</p>
|
||||
</header>
|
||||
|
||||
<section class="research-feature" id="document-native">
|
||||
<div>
|
||||
<h2>{t('文档原生语言与可执行知识工程', 'Document-native languages and executable knowledge engineering')}</h2>
|
||||
<p>{t('在同一份文稿中保留意图、前置条件与实现。', 'Keep intent, preconditions, and implementation in one document.')}</p>
|
||||
<a href={site.git + '/marqdo-cli/src/commit/63776735e924ade279cdf59d5c733dc24bfdabbb/spec'} target="_blank" rel="noopener noreferrer">{t('语言规范', 'Language specification')}<span aria-hidden="true"> ↗</span></a>
|
||||
</div>
|
||||
<div class="research-feature__figure" aria-hidden="true">
|
||||
<div class="research-document">
|
||||
{documentParts.map(part => <span>{part}</span>)}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="index-layout research-layout">
|
||||
<nav class="section-index" aria-label={t('主题索引', 'Topic index')}>
|
||||
<p>{t('主题索引', 'Topic index')}</p>
|
||||
{topics.map(topic => <a href={'#' + topic.id}>{topic.title}</a>)}
|
||||
</nav>
|
||||
<div class="research-topics">
|
||||
<section class="research-section" id={topics[0].id}>
|
||||
<h2>{topics[0].title}</h2>
|
||||
<p>{t('同一份文稿既服务于人的阅读与审计,也服务于智能体的上下文选择。需要稳定的计算被约束在显式函数入口,模型只处理需要理解与判断的部分。', 'One document supports human reading, auditing, and agent context selection. Explicit function entry points constrain computation. Models handle the parts that need understanding and judgement.')}</p>
|
||||
<a href={site.wiki} target="_blank" rel="noopener noreferrer">{t('研究方向说明', 'Research notes')}<span aria-hidden="true"> ↗</span></a>
|
||||
</section>
|
||||
))}
|
||||
<p class="muted" style="margin-block-start:2rem">{t('论文、预印本与实验记录以对应仓库和 Wiki 的真实来源为准;未完成的设想不会在此描述为稳定能力。', 'Papers, preprints, and experiment records follow their real sources in the repositories and Wiki; unfinished ideas are not described here as stable capability.')} <a href={url(locale, 'start') + '#geometry'}>{t('查看可复现示例', 'Open the reproducible example')}</a></p>
|
||||
|
||||
<section class="research-section" id={topics[1].id}>
|
||||
<h2>{topics[1].title}</h2>
|
||||
<div class="research-peers">
|
||||
<div id="anchored-context">
|
||||
<h3>{t('基于锚点的上下文工程', 'Anchor-based context engineering')}</h3>
|
||||
<p>{t('标题与锚点构成可引用的知识边界。上下文按明确位置选取,调用与引用因此可以复核。', 'Headings and anchors define referenceable knowledge boundaries. Selecting context by explicit location makes calls and citations reviewable.')}</p>
|
||||
</div>
|
||||
<div id="guided-execution">
|
||||
<h3>{t('智能引导的确定执行', 'Guided deterministic execution')}</h3>
|
||||
<p>{t('模型理解任务与约束,程序执行可复现的计算。', 'Models interpret tasks and constraints. Programs perform reproducible computation.')}</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="research-section" id={topics[2].id}>
|
||||
<h2>{topics[2].title}</h2>
|
||||
<p>{t('将实现、运行条件和结果组织为可复现的单元。适用范围、前置条件与调用入口随已验证的方法一起保留,方便后续文稿复用。', 'Package implementations, runtime conditions, and results as reproducible units. Keep scope, preconditions, and entry points with verified methods so later documents can reuse them.')}</p>
|
||||
<a href={url(locale, 'start') + '#geometry'}>{t('查看可复现示例', 'Open the reproducible example')}<span aria-hidden="true"> ↗</span></a>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -53,14 +53,16 @@ const canonicalRoute = (current ?? '') as Route;
|
||||
<main id="main" tabindex="-1"><slot /></main>
|
||||
<Footer {locale} />
|
||||
<script>
|
||||
const toggle = document.querySelector<HTMLButtonElement>('[data-theme-toggle]');
|
||||
if (toggle) {
|
||||
const preference = window.matchMedia('(prefers-color-scheme: dark)');
|
||||
const isDark = () => (document.documentElement.dataset.theme ?? (preference.matches ? 'dark' : 'light')) === 'dark';
|
||||
const sync = () => toggle.setAttribute('aria-pressed', String(isDark()));
|
||||
const toggles = document.querySelectorAll<HTMLButtonElement>('[data-theme-toggle]');
|
||||
const preference = window.matchMedia('(prefers-color-scheme: dark)');
|
||||
const isDark = () => (document.documentElement.dataset.theme ?? (preference.matches ? 'dark' : 'light')) === 'dark';
|
||||
const sync = () => {
|
||||
for (const toggle of toggles) toggle.setAttribute('aria-pressed', String(isDark()));
|
||||
};
|
||||
sync();
|
||||
preference.addEventListener('change', sync);
|
||||
for (const toggle of toggles) {
|
||||
toggle.hidden = false;
|
||||
sync();
|
||||
preference.addEventListener('change', sync);
|
||||
toggle.addEventListener('click', () => {
|
||||
const theme = isDark() ? 'light' : 'dark';
|
||||
document.documentElement.dataset.theme = theme;
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
import artwork from './hero-points.json';
|
||||
|
||||
// Point positions and radii are in tenths of an artwork unit. The design
|
||||
// keyframe supplies the silhouette for both the static poster and the scene.
|
||||
export const points = artwork as [x: number, y: number, radius: number, ink: 0 | 1, opacity: number][];
|
||||
export const artWidth = 500;
|
||||
export const artHeight = 300;
|
||||
export const ink = ['#485636', '#bd8830'] as const;
|
||||
export const darkInk = ['#819167', '#dfb572'] as const;
|
||||
@@ -0,0 +1,126 @@
|
||||
import {
|
||||
BufferAttribute, BufferGeometry, Color, OrthographicCamera, Points, Scene, ShaderMaterial, WebGLRenderer,
|
||||
} from 'three';
|
||||
import { artHeight, artWidth, darkInk, ink, points } from './hero-art';
|
||||
|
||||
const vertexShader = `
|
||||
attribute vec3 stamp;
|
||||
uniform float elapsed;
|
||||
uniform float scale;
|
||||
varying vec3 pointInk;
|
||||
void main() {
|
||||
pointInk = stamp;
|
||||
vec3 p = position;
|
||||
float wave = sin(elapsed * 0.7 + p.x * 0.019 + p.y * 0.017);
|
||||
float envelope = sin(3.14159 * (p.x / 500.0 + 0.5));
|
||||
p.y += wave * envelope * 3.25;
|
||||
p.z += wave * envelope * 7.0;
|
||||
gl_Position = projectionMatrix * modelViewMatrix * vec4(p, 1.0);
|
||||
gl_PointSize = max(1.0, stamp.x * scale * 2.2);
|
||||
}
|
||||
`;
|
||||
|
||||
const fragmentShader = `
|
||||
uniform vec3 olive;
|
||||
uniform vec3 gold;
|
||||
varying vec3 pointInk;
|
||||
void main() {
|
||||
float d = distance(gl_PointCoord, vec2(0.5));
|
||||
float alpha = (1.0 - smoothstep(0.25, 0.5, d)) * pointInk.z;
|
||||
gl_FragColor = vec4(mix(olive, gold, pointInk.y), alpha);
|
||||
#include <colorspace_fragment>
|
||||
}
|
||||
`;
|
||||
|
||||
export function startParticles(host: HTMLElement, canvas: HTMLCanvasElement, gl: WebGL2RenderingContext, onContextLost: () => void) {
|
||||
const renderer = new WebGLRenderer({ canvas, context: gl, alpha: true });
|
||||
const scene = new Scene();
|
||||
const camera = new OrthographicCamera(-artWidth / 2, artWidth / 2, artHeight / 2, -artHeight / 2, 1, 600);
|
||||
camera.position.z = 250;
|
||||
const position = new Float32Array(points.length * 3);
|
||||
const stamps = new Float32Array(points.length * 3);
|
||||
points.forEach(([x, y, radius, color, opacity], index) => {
|
||||
const px = x / 10 - artWidth / 2;
|
||||
const py = artHeight / 2 - y / 10;
|
||||
position.set([px, py, Math.sin(px * 0.012 + py * 0.017) * 23 + color * 12], index * 3);
|
||||
stamps.set([radius / 10, color, opacity / 100], index * 3);
|
||||
});
|
||||
|
||||
const geometry = new BufferGeometry();
|
||||
geometry.setAttribute('position', new BufferAttribute(position, 3));
|
||||
geometry.setAttribute('stamp', new BufferAttribute(stamps, 3));
|
||||
const uniforms = {
|
||||
elapsed: { value: 0 },
|
||||
scale: { value: 1 },
|
||||
olive: { value: new Color(ink[0]) },
|
||||
gold: { value: new Color(ink[1]) },
|
||||
};
|
||||
const material = new ShaderMaterial({ uniforms, vertexShader, fragmentShader, transparent: true, depthTest: false, depthWrite: false });
|
||||
const cloud = new Points(geometry, material);
|
||||
scene.add(cloud);
|
||||
host.insertBefore(canvas, host.lastElementChild);
|
||||
|
||||
const setSize = () => {
|
||||
const width = host.clientWidth;
|
||||
const height = host.clientHeight;
|
||||
const ratio = Math.min(devicePixelRatio, 1.6);
|
||||
uniforms.scale.value = (width / artWidth) * ratio;
|
||||
renderer.setPixelRatio(ratio);
|
||||
renderer.setSize(width, height, false);
|
||||
};
|
||||
const theme = matchMedia('(prefers-color-scheme: dark)');
|
||||
const setColors = () => {
|
||||
const dark = (document.documentElement.dataset.theme ?? (theme.matches ? 'dark' : 'light')) === 'dark';
|
||||
const colors = dark ? darkInk : ink;
|
||||
uniforms.olive.value.set(colors[0]);
|
||||
uniforms.gold.value.set(colors[1]);
|
||||
};
|
||||
const sizeObserver = new ResizeObserver(setSize);
|
||||
sizeObserver.observe(host);
|
||||
setSize();
|
||||
const themeObserver = new MutationObserver(setColors);
|
||||
themeObserver.observe(document.documentElement, { attributes: true, attributeFilter: ['data-theme'] });
|
||||
theme.addEventListener('change', setColors);
|
||||
setColors();
|
||||
|
||||
// Listen on the viewport so the illustration responds to the whole hero.
|
||||
let yaw = 0;
|
||||
let pitch = 0;
|
||||
const setPointer = (event: PointerEvent) => {
|
||||
yaw = (event.clientX / innerWidth - 0.5) * 0.12;
|
||||
pitch = (event.clientY / innerHeight - 0.5) * 0.09;
|
||||
};
|
||||
const resetPointer = () => { yaw = pitch = 0; };
|
||||
window.addEventListener('pointermove', setPointer, { passive: true });
|
||||
document.documentElement.addEventListener('pointerleave', resetPointer);
|
||||
canvas.addEventListener('webglcontextlost', onContextLost);
|
||||
|
||||
const started = performance.now();
|
||||
const draw = (time: number) => {
|
||||
uniforms.elapsed.value = (time - started) / 1000;
|
||||
cloud.rotation.y += (yaw - cloud.rotation.y) * 0.035;
|
||||
cloud.rotation.x += (pitch - cloud.rotation.x) * 0.035;
|
||||
renderer.render(scene, camera);
|
||||
host.dataset.animated = '';
|
||||
};
|
||||
return {
|
||||
setPlaying(playing: boolean) {
|
||||
renderer.setAnimationLoop(playing ? draw : null);
|
||||
},
|
||||
dispose() {
|
||||
renderer.setAnimationLoop(null);
|
||||
window.removeEventListener('pointermove', setPointer);
|
||||
document.documentElement.removeEventListener('pointerleave', resetPointer);
|
||||
canvas.removeEventListener('webglcontextlost', onContextLost);
|
||||
theme.removeEventListener('change', setColors);
|
||||
themeObserver.disconnect();
|
||||
sizeObserver.disconnect();
|
||||
material.dispose();
|
||||
geometry.dispose();
|
||||
renderer.dispose();
|
||||
renderer.forceContextLoss();
|
||||
canvas.remove();
|
||||
delete host.dataset.animated;
|
||||
},
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,332 @@
|
||||
[
|
||||
[4478,127,9,1,81],[4393,165,9,1,64],[4304,204,9,1,56],[4460,223,9,1,74],[4210,241,10,1,92],[4377,259,8,1,64],[4118,273,10,1,82],[4292,296,9,1,66],
|
||||
[4033,303,9,1,75],[4438,315,9,1,67],[4204,328,9,1,70],[3946,334,9,1,76],[4358,350,9,1,83],[4113,358,8,1,67],[3856,363,9,1,74],[4274,385,9,1,54],
|
||||
[3783,386,9,1,68],[4021,392,8,1,67],[4417,408,10,1,95],[3706,409,11,1,67],[4186,417,9,1,56],[3934,423,9,1,61],[3627,432,10,1,78],[4342,440,9,1,88],
|
||||
[4096,447,9,1,70],[3851,449,9,1,64],[3547,455,9,1,58],[4259,467,8,1,75],[3776,471,10,1,62],[3490,472,9,1,75],[4009,478,8,1,75],[4397,489,10,1,95],
|
||||
[3701,492,8,1,73],[3417,494,9,1,66],[4171,499,11,1,74],[3922,506,9,1,69],[3619,511,8,1,78],[3335,515,9,1,49],[4327,518,8,1,84],[3841,530,9,1,68],
|
||||
[3544,533,9,1,50],[4076,534,9,1,68],[3249,543,8,1,78],[4247,547,9,1,73],[3476,552,9,1,60],[3766,553,9,1,61],[3994,561,11,1,65],[4377,563,10,1,90],
|
||||
[3168,565,9,1,62],[3695,573,9,1,52],[3398,574,9,1,65],[4179,576,8,1,69],[3089,586,8,1,63],[4306,591,10,1,81],[3612,592,8,1,77],[3908,593,9,1,77],
|
||||
[3320,595,7,1,46],[4126,595,9,1,56],[3015,607,9,1,53],[3831,608,8,1,79],[3538,612,8,1,56],[3243,614,9,1,53],[4061,617,10,1,87],[4236,620,10,1,73],
|
||||
[2942,626,9,1,66],[4359,628,10,1,95],[3463,629,8,1,67],[3757,630,10,1,86],[3161,633,8,1,60],[3978,643,10,1,88],[4171,648,8,1,74],[2875,649,8,1,52],
|
||||
[3389,650,9,1,70],[3682,650,9,1,81],[3080,654,7,1,55],[4290,655,9,1,82],[3894,667,9,1,81],[3313,668,8,1,55],[3601,668,8,1,81],[4108,670,9,1,95],
|
||||
[2804,671,8,1,58],[3002,678,8,1,59],[4225,685,9,1,68],[4341,685,10,1,95],[3243,686,9,1,53],[3814,687,9,1,69],[3556,689,8,1,49],[2734,693,9,1,58],
|
||||
[3511,694,8,1,58],[4042,694,11,1,92],[3188,700,9,1,58],[2931,702,8,1,58],[3743,707,9,1,95],[3983,710,7,1,40],[3441,711,8,1,78],[4274,711,9,1,67],
|
||||
[2666,714,9,1,53],[3120,715,7,1,49],[4165,715,9,1,64],[2864,717,9,1,39],[3371,724,8,1,47],[3959,724,8,1,68],[3672,726,9,1,95],[3056,730,7,1,46],
|
||||
[2602,733,8,1,64],[2794,736,9,1,37],[4101,736,10,1,95],[4325,738,11,1,81],[3887,741,10,1,85],[3307,743,9,1,60],[3603,744,9,1,60],[2990,747,7,1,60],
|
||||
[4206,748,9,1,72],[2570,750,5,1,25],[4908,751,12,0,95],[2730,755,7,1,39],[3245,755,9,1,38],[3542,758,8,1,56],[3788,762,8,1,42],[4068,762,8,1,53],
|
||||
[4264,763,9,1,69],[2522,765,9,1,43],[2923,765,9,1,39],[3819,765,8,1,42],[3180,768,7,1,82],[2660,770,5,1,54],[3489,770,9,1,79],[3724,777,9,1,81],
|
||||
[4146,777,9,1,78],[3116,781,8,1,50],[2855,783,9,1,42],[3425,783,9,1,54],[4862,784,10,0,95],[4220,785,7,1,56],[4014,786,12,1,64],[4307,787,8,1,95],
|
||||
[2600,788,7,1,55],[2460,789,7,1,69],[3944,794,9,1,67],[3050,795,7,1,39],[3361,795,8,1,56],[2790,798,7,1,56],[3658,800,9,1,95],[4175,803,9,1,40],
|
||||
[4827,804,10,0,95],[2556,805,9,1,24],[4084,805,9,1,46],[4260,807,7,1,80],[3298,808,8,1,78],[2420,810,5,1,32],[2980,811,7,1,65],[2723,812,8,1,38],
|
||||
[3594,816,9,1,63],[4892,817,10,0,95],[3770,820,5,1,40],[3871,820,12,1,64],[3234,821,8,1,42],[4115,824,9,1,57],[2914,825,9,1,32],[4789,826,11,0,95],
|
||||
[2389,827,8,1,50],[2500,827,7,1,39],[2657,830,7,1,44],[3180,830,5,1,49],[3532,830,7,1,82],[4214,832,10,1,44],[4291,834,9,1,95],[4056,836,9,1,63],
|
||||
[2849,838,8,1,58],[3470,838,9,1,85],[3810,839,10,1,95],[3136,840,7,1,38],[3710,840,8,1,72],[2594,845,9,1,35],[3086,845,9,1,35],[4747,845,10,0,95],
|
||||
[4154,846,9,1,57],[2446,848,8,1,28],[3409,850,9,1,92],[4245,852,9,1,79],[3943,853,9,1,61],[2334,854,9,1,39],[4001,854,8,1,94],[2780,855,7,1,41],
|
||||
[3030,857,7,1,53],[3752,857,8,1,50],[4830,857,9,0,95],[3346,863,9,1,65],[4702,866,10,0,95],[4100,867,7,1,68],[2547,868,8,1,34],[2713,868,8,1,39],
|
||||
[2967,870,7,1,53],[3697,871,10,1,78],[3286,873,9,1,58],[3903,874,9,1,48],[4191,874,8,1,74],[3636,875,9,1,64],[4274,876,10,1,94],[2390,877,7,1,39],
|
||||
[2905,880,7,1,35],[3880,880,5,1,26],[4774,880,10,0,95],[2488,882,8,1,38],[3228,882,8,1,51],[2650,883,7,1,51],[3577,885,9,1,72],[2279,886,8,1,46],
|
||||
[4655,888,10,0,95],[4043,889,10,1,79],[4869,891,11,0,95],[3177,892,8,1,48],[2840,894,7,1,38],[3517,895,9,1,62],[3856,895,9,1,47],[4225,897,9,1,78],
|
||||
[2590,900,5,1,48],[3124,900,7,1,40],[4137,902,8,1,85],[2330,903,7,1,36],[3455,905,9,1,55],[2430,906,7,1,34],[2771,906,8,1,37],[4611,906,10,0,95],
|
||||
[3793,907,9,1,95],[3068,910,7,1,45],[2232,912,8,1,53],[4714,912,9,0,95],[3988,913,10,1,91],[3395,914,9,1,53],[4813,917,10,0,95],[3017,918,8,1,36],
|
||||
[4258,918,10,1,95],[2532,920,7,1,53],[2706,920,7,1,46],[3737,922,10,1,91],[4176,923,9,1,80],[3335,924,9,1,49],[4085,925,9,1,56],[2960,926,7,1,48],
|
||||
[3938,927,8,1,74],[4553,927,10,0,95],[2275,930,7,1,33],[2382,930,7,1,43],[3278,933,9,1,60],[3680,935,9,1,79],[2477,936,8,1,25],[2904,936,9,1,32],
|
||||
[4649,937,11,0,93],[2636,938,8,1,37],[3882,940,10,1,80],[4212,941,9,1,91],[3221,942,8,1,56],[3619,943,10,1,89],[2852,944,8,1,29],[3166,945,9,1,33],
|
||||
[4032,946,10,1,74],[4752,946,10,0,95],[4125,947,9,1,73],[2177,948,8,1,44],[2576,950,7,1,29],[4501,950,11,0,95],[2803,952,8,1,29],[3562,952,8,1,86],
|
||||
[2330,954,7,1,33],[2422,954,8,1,26],[3110,954,7,1,31],[3834,955,9,1,78],[4243,956,9,1,90],[2228,958,8,1,38],[2757,960,7,1,32],[3058,962,8,1,37],
|
||||
[3499,962,8,1,74],[2517,965,9,1,28],[4587,965,9,0,74],[4851,965,10,0,95],[4449,967,11,0,95],[3438,969,8,1,68],[3002,970,7,1,42],[3778,970,9,1,95],
|
||||
[3978,970,9,1,86],[4156,971,10,1,69],[4072,974,9,1,66],[2137,975,9,1,30],[2270,976,7,1,32],[3380,976,7,1,67],[4690,978,11,0,95],[4200,979,8,1,59],
|
||||
[2370,980,5,1,42],[2460,980,5,1,31],[2947,980,7,1,39],[3325,983,9,1,41],[3720,983,10,1,95],[3922,983,8,1,59],[4536,985,9,0,68],[2180,986,7,1,39],
|
||||
[4394,986,9,0,95],[3265,987,9,1,44],[2610,990,5,1,32],[2897,990,7,1,34],[4789,992,10,0,95],[3210,994,7,1,40],[3664,996,9,1,84],[4019,997,8,1,93],
|
||||
[4108,997,10,1,63],[4226,998,10,1,67],[2098,1000,7,1,52],[2225,1000,7,1,34],[2415,1000,7,1,28],[2560,1000,5,1,30],[2846,1000,7,1,35],[3152,1000,7,1,36],
|
||||
[3868,1000,9,1,81],[4487,1001,10,0,95],[4342,1002,10,0,95],[4630,1002,10,0,95],[3098,1004,8,1,28],[2320,1005,7,1,32],[2800,1006,7,1,31],[3613,1008,9,1,85],
|
||||
[2143,1010,7,1,35],[2506,1010,7,1,24],[2760,1010,5,1,31],[3050,1010,5,1,26],[3815,1015,9,1,51],[2720,1016,7,1,24],[3561,1017,8,1,80],[4302,1017,10,1,95],
|
||||
[4052,1020,9,1,87],[4181,1020,9,1,70],[2967,1023,7,1,29],[4436,1023,9,0,88],[3955,1024,9,1,50],[4724,1024,9,0,93],[3520,1025,7,1,53],[2184,1026,9,1,26],
|
||||
[4134,1026,9,1,63],[4575,1026,9,0,64],[3427,1027,8,1,43],[2061,1028,8,1,53],[2270,1030,5,1,35],[2354,1030,7,1,30],[2456,1030,7,1,24],[2920,1030,5,1,29],
|
||||
[3762,1030,9,1,88],[3302,1032,8,1,45],[3471,1032,8,1,54],[4253,1032,11,1,93],[3250,1034,7,1,39],[3904,1034,9,1,65],[2880,1035,7,1,25],[2600,1036,7,1,28],
|
||||
[2101,1037,9,1,27],[3200,1038,7,1,46],[4211,1039,9,1,85],[3150,1040,5,1,32],[3369,1042,8,1,67],[4826,1042,10,0,95],[2836,1043,8,1,25],[3705,1044,9,1,49],
|
||||
[4379,1044,10,0,86],[4085,1045,9,1,41],[3110,1046,7,1,26],[2148,1047,8,1,30],[4521,1047,10,0,95],[2223,1050,7,1,35],[2306,1050,7,1,31],[2790,1050,5,1,32],
|
||||
[3056,1050,7,1,24],[4660,1051,10,0,95],[2030,1052,7,1,55],[3993,1052,8,1,55],[2490,1054,7,1,25],[3853,1055,9,1,61],[3652,1057,9,1,80],[3421,1058,8,1,52],
|
||||
[4330,1059,10,0,90],[2390,1060,5,1,23],[2640,1060,5,1,23],[2750,1060,5,1,27],[4037,1065,9,1,65],[4182,1065,9,1,57],[2060,1066,7,1,35],[2120,1066,7,1,36],
|
||||
[4471,1066,10,0,94],[4110,1067,8,1,65],[2180,1070,5,1,36],[3320,1070,5,1,40],[4145,1070,9,1,35],[4210,1070,5,1,33],[3800,1071,10,1,95],[4760,1071,10,0,95],
|
||||
[3270,1072,7,1,46],[3598,1072,8,1,87],[4607,1072,11,0,95],[2260,1075,7,1,29],[2340,1075,7,1,26],[3940,1075,7,1,56],[4280,1075,9,1,83],[3230,1076,7,1,35],
|
||||
[1996,1080,7,1,47],[3130,1080,5,1,24],[3180,1080,5,1,26],[3548,1082,8,1,78],[4416,1085,9,1,62],[2030,1086,7,1,34],[3986,1086,8,1,32],[4068,1086,9,1,67],
|
||||
[3500,1087,7,1,85],[3888,1089,9,1,81],[4233,1089,10,1,95],[2143,1090,7,1,33],[3746,1092,9,1,66],[2215,1093,9,1,30],[2300,1094,7,1,25],[3450,1094,7,1,52],
|
||||
[4701,1094,11,0,95],[4553,1095,9,0,69],[4363,1101,8,0,68],[4167,1102,10,1,59],[3404,1103,9,1,53],[4198,1104,9,1,63],[3693,1105,9,1,64],[2110,1106,7,1,32],
|
||||
[1965,1107,9,1,36],[3350,1107,7,1,49],[4130,1107,7,1,40],[4097,1109,9,1,52],[2060,1110,5,1,35],[3833,1110,10,1,83],[2330,1114,7,1,24],[4312,1114,9,1,81],
|
||||
[3300,1115,7,1,27],[3960,1115,7,1,53],[2170,1116,7,1,31],[4494,1116,9,0,66],[3928,1117,8,1,58],[3639,1118,8,1,82],[1993,1120,7,1,28],[2020,1120,5,1,28],
|
||||
[2253,1120,7,1,30],[3260,1120,5,1,41],[4634,1122,10,0,95],[4000,1123,9,1,50],[4801,1123,10,0,95],[3220,1124,7,1,25],[3781,1126,11,1,78],[4036,1126,9,1,50],
|
||||
[4262,1126,9,1,87],[3586,1129,8,1,60],[2130,1130,5,1,39],[4180,1130,5,1,32],[4444,1130,9,0,82],[4060,1134,7,1,49],[1930,1135,7,1,35],[3536,1139,8,1,52],
|
||||
[4214,1139,8,1,85],[2200,1140,5,1,29],[3878,1140,9,1,60],[4582,1143,10,0,95],[3486,1144,9,1,55],[1960,1145,7,1,28],[3724,1146,9,1,55],[4737,1147,9,0,95],
|
||||
[4081,1148,8,1,67],[4389,1148,8,0,84],[2085,1150,7,1,28],[3435,1150,7,1,53],[3340,1153,7,1,39],[4151,1153,12,1,57],[2020,1154,7,1,28],[2240,1154,7,1,26],
|
||||
[4113,1154,10,1,39],[2050,1155,7,1,26],[3387,1155,9,1,42],[3920,1155,7,1,53],[3951,1155,8,1,77],[3808,1158,8,1,86],[2120,1160,5,1,39],[2159,1160,9,1,39],
|
||||
[3290,1160,5,1,33],[3844,1161,9,1,50],[4177,1161,9,1,43],[4527,1162,9,0,86],[3675,1163,9,1,66],[1896,1164,9,1,36],[3250,1164,7,1,26],[4335,1164,9,1,55],
|
||||
[4290,1165,7,1,65],[4000,1166,12,1,75],[1980,1170,5,1,28],[4678,1170,9,0,95],[2270,1173,7,1,27],[3624,1174,9,1,49],[4040,1174,7,1,53],[1940,1176,7,1,25],
|
||||
[3759,1178,10,1,74],[2190,1180,5,1,37],[4468,1180,9,0,95],[4060,1183,7,1,76],[3572,1185,9,1,52],[4237,1185,9,1,67],[3869,1186,11,1,58],[4092,1188,8,1,61],
|
||||
[4619,1189,12,0,81],[1970,1190,5,1,23],[2010,1190,5,1,30],[2040,1190,5,1,34],[2105,1190,7,1,29],[3360,1190,5,1,40],[3519,1190,7,1,70],[3709,1190,8,1,82],
|
||||
[3909,1190,9,1,77],[1896,1192,9,1,25],[4422,1192,8,0,74],[2230,1193,7,1,29],[3470,1195,7,1,40],[4196,1195,9,1,54],[3320,1196,7,1,33],[3943,1196,9,1,80],
|
||||
[3795,1199,8,1,65],[1860,1200,5,1,42],[2143,1203,8,1,27],[3975,1203,9,1,57],[4372,1204,9,0,63],[3416,1207,9,1,42],[3659,1207,8,1,67],[4775,1207,10,0,95],
|
||||
[4000,1208,7,1,67],[1930,1210,5,1,24],[2263,1210,7,1,29],[4131,1211,12,1,63],[4560,1211,10,0,95],[4023,1214,9,1,46],[4329,1216,8,0,58],[2177,1217,8,1,30],
|
||||
[3743,1217,10,1,78],[3820,1217,8,1,68],[2030,1220,5,1,33],[3380,1220,5,1,45],[3614,1222,9,1,62],[4050,1223,7,1,66],[1838,1224,8,1,38],[4274,1225,9,1,62],
|
||||
[1870,1226,7,1,30],[4079,1226,8,1,56],[2060,1227,7,1,33],[4714,1227,9,0,95],[1905,1230,7,1,24],[2098,1230,7,1,41],[2216,1230,7,1,29],[3340,1230,5,1,32],
|
||||
[4140,1230,5,1,26],[3687,1231,8,1,75],[3567,1232,8,1,66],[3840,1233,7,1,39],[4505,1233,9,0,81],[3860,1234,7,1,62],[4229,1235,8,1,61],[4456,1235,12,0,68],
|
||||
[3300,1236,7,1,23],[3894,1240,8,1,70],[2133,1242,8,1,32],[3778,1242,9,1,75],[3949,1242,12,1,64],[3520,1243,7,1,65],[1812,1245,8,1,37],[3480,1245,7,1,60],
|
||||
[4181,1245,12,1,42],[2250,1246,7,1,32],[3995,1247,9,1,63],[4655,1247,9,0,93],[4407,1249,8,0,67],[1850,1250,5,1,30],[1950,1250,5,1,28],[3436,1250,7,1,49],
|
||||
[3646,1251,8,1,61],[2165,1254,9,1,30],[4025,1256,9,1,48],[2008,1257,8,1,32],[2040,1257,7,1,39],[4375,1258,8,0,47],[1970,1260,5,1,28],[3397,1260,7,1,39],
|
||||
[4131,1262,12,1,46],[2080,1263,7,1,42],[3716,1263,9,1,67],[3800,1264,7,1,56],[4060,1264,7,1,54],[1920,1265,7,1,26],[3596,1265,9,1,49],[3360,1267,7,1,39],
|
||||
[4093,1267,10,1,68],[4314,1267,9,0,64],[1788,1270,7,1,43],[1830,1270,5,1,27],[2204,1270,7,1,30],[4590,1270,10,0,95],[3320,1273,7,1,35],[3820,1274,7,1,53],
|
||||
[2115,1276,9,1,27],[3547,1276,9,1,64],[4449,1277,8,0,69],[2240,1280,5,1,31],[3862,1283,12,1,56],[3669,1284,8,1,52],[4260,1284,7,0,65],[3748,1285,9,1,67],
|
||||
[3900,1285,7,1,53],[3920,1285,7,1,56],[3501,1286,8,1,68],[3956,1286,12,1,70],[4750,1286,11,0,95],[2154,1287,9,1,42],[4206,1287,9,1,74],[1840,1290,5,1,25],
|
||||
[1890,1290,5,1,31],[1960,1290,5,1,43],[2010,1290,5,1,29],[4533,1290,10,0,95],[1990,1293,7,1,32],[2038,1293,8,1,33],[4000,1293,7,1,63],[1768,1294,8,1,28],
|
||||
[3460,1294,7,1,54],[4400,1294,7,0,49],[3420,1297,7,1,49],[4020,1297,7,1,35],[4159,1299,10,1,76],[1860,1300,5,1,32],[1920,1300,5,1,34],[2070,1300,5,1,46],
|
||||
[4130,1300,5,1,40],[4040,1303,7,1,59],[3380,1304,7,1,35],[3626,1304,9,1,46],[2190,1305,7,1,29],[4104,1305,9,1,49],[4688,1305,10,0,95],[1796,1308,8,1,24],
|
||||
[3778,1308,8,1,67],[4340,1308,7,0,71],[3346,1310,7,1,31],[3576,1313,9,1,62],[3698,1313,8,1,59],[1740,1314,7,1,35],[2103,1314,9,1,37],[4477,1314,9,0,91],
|
||||
[1830,1316,7,1,28],[3800,1318,7,1,54],[4068,1318,12,1,56],[2225,1320,7,1,25],[2138,1323,8,1,41],[3820,1323,7,1,60],[3840,1324,7,1,53],[4625,1324,9,0,95],
|
||||
[3533,1325,9,1,49],[4280,1325,7,0,57],[1880,1326,7,1,35],[3660,1327,7,1,53],[3881,1327,12,1,64],[1977,1328,8,1,46],[2017,1328,8,1,39],[3923,1328,8,1,60],
|
||||
[1940,1329,8,1,56],[3510,1330,5,1,28],[1907,1331,8,1,44],[3480,1332,7,1,70],[3952,1332,8,1,59],[3980,1333,7,1,56],[4127,1333,8,1,34],[4000,1334,7,1,39],
|
||||
[1858,1335,8,1,32],[4223,1335,9,1,54],[2051,1338,8,1,49],[3731,1339,10,1,50],[4424,1339,10,0,82],[3438,1340,7,1,49],[1727,1342,8,1,35],[2180,1343,7,1,32],
|
||||
[3398,1343,8,1,40],[3600,1344,7,1,60],[4565,1344,9,0,88],[4024,1345,9,1,43],[1820,1346,7,1,30],[3360,1346,7,1,30],[2085,1347,9,1,40],[4088,1352,8,1,38],
|
||||
[4362,1352,10,0,88],[2210,1354,7,1,24],[3330,1354,7,1,27],[1770,1355,7,1,25],[3560,1355,7,1,50],[3647,1355,8,1,42],[3680,1355,7,1,53],[4173,1355,9,1,59],
|
||||
[1700,1360,5,1,35],[2120,1360,5,1,41],[2234,1360,7,1,23],[3780,1360,12,1,56],[4056,1361,9,1,47],[4725,1361,11,0,95],[3820,1365,7,1,55],[4510,1365,9,0,95],
|
||||
[3850,1366,10,1,53],[4140,1366,7,1,42],[2008,1367,8,1,45],[3513,1368,8,1,44],[3880,1368,8,1,63],[4312,1369,9,0,95],[3900,1370,8,1,55],[1879,1371,9,1,55],
|
||||
[1840,1373,7,1,47],[3700,1373,7,1,56],[3920,1373,7,1,60],[1917,1374,9,1,53],[2160,1374,7,1,32],[3940,1374,7,1,45],[2044,1376,9,1,39],[3960,1376,7,1,47],
|
||||
[4665,1376,9,0,87],[3990,1377,7,1,59],[1960,1379,12,1,31],[1676,1380,7,1,32],[1810,1380,5,1,28],[3420,1380,5,1,44],[3453,1380,7,1,35],[3480,1382,7,1,49],
|
||||
[4257,1383,9,0,58],[4455,1384,10,0,77],[3385,1385,7,1,26],[3583,1385,8,1,41],[4025,1385,11,1,53],[4114,1385,9,1,41],[1710,1386,7,1,28],[2074,1387,9,1,42],
|
||||
[3640,1389,12,1,59],[1740,1390,5,1,28],[1774,1390,7,1,30],[2190,1390,5,1,35],[3350,1390,5,1,27],[3720,1390,8,1,56],[4060,1390,5,1,37],[4084,1392,10,1,37],
|
||||
[3538,1393,8,1,35],[4203,1396,9,1,67],[4602,1396,10,0,95],[4402,1399,11,0,95],[1992,1400,7,1,51],[2226,1400,7,1,24],[3749,1400,10,1,56],[2112,1402,8,1,42],
|
||||
[1653,1405,8,1,28],[3567,1405,8,1,32],[3802,1405,12,1,52],[1687,1407,8,1,24],[3683,1407,8,1,46],[3840,1407,7,1,67],[1863,1409,8,1,57],[3860,1409,8,1,65],
|
||||
[1730,1410,5,1,24],[1827,1410,7,1,46],[2026,1410,7,1,42],[2145,1410,7,1,29],[3470,1410,5,1,23],[4153,1412,9,1,64],[4543,1413,9,0,95],[1900,1414,7,1,63],
|
||||
[3884,1414,9,1,53],[4345,1414,9,1,74],[1790,1416,7,1,34],[3910,1416,7,1,58],[3941,1417,8,1,63],[1760,1420,5,1,32],[3511,1420,10,1,52],[3970,1422,7,1,56],
|
||||
[1940,1424,7,1,54],[3390,1424,7,1,28],[1633,1425,8,1,28],[3425,1425,7,1,24],[3360,1426,7,1,24],[4290,1426,7,0,76],[2058,1427,8,1,41],[2180,1427,7,1,36],
|
||||
[3623,1428,12,1,50],[1670,1430,5,1,26],[3330,1430,5,1,24],[4700,1431,11,0,95],[4485,1432,10,0,85],[4109,1433,9,1,81],[1705,1435,7,1,24],[1975,1435,9,1,31],
|
||||
[2096,1435,9,1,32],[4236,1436,9,1,63],[1610,1440,5,1,33],[3710,1440,8,1,68],[3660,1442,7,1,57],[3688,1442,8,1,63],[3736,1443,9,1,53],[4428,1445,10,0,73],
|
||||
[4639,1446,10,0,95],[3789,1447,12,1,60],[3575,1449,12,1,58],[4181,1449,9,1,81],[1850,1450,8,1,53],[2013,1450,7,1,33],[2040,1450,5,1,27],[2134,1450,7,1,35],
|
||||
[1805,1451,8,1,51],[3480,1452,7,1,42],[3840,1452,7,1,70],[1770,1454,7,1,41],[1740,1455,7,1,35],[1887,1455,9,1,46],[3867,1455,9,1,54],[3410,1456,7,1,27],
|
||||
[3895,1456,9,1,51],[4377,1457,9,0,82],[1700,1460,5,1,23],[1922,1460,7,1,70],[3380,1460,5,1,25],[3505,1460,9,1,35],[3926,1460,7,1,47],[2170,1464,7,1,35],
|
||||
[4132,1464,9,1,83],[4573,1465,9,0,89],[2077,1467,8,1,34],[1580,1470,5,1,32],[1606,1470,7,1,24],[1660,1470,5,1,28],[3537,1471,9,1,53],[1953,1472,8,1,50],
|
||||
[4318,1472,10,0,95],[1628,1477,8,1,28],[3445,1478,10,1,28],[2120,1480,8,1,46],[2200,1480,5,1,31],[3653,1480,12,1,63],[1993,1482,8,1,56],[4267,1482,9,0,88],
|
||||
[4515,1482,10,0,88],[3710,1483,7,1,61],[3744,1484,11,1,57],[3780,1485,7,1,42],[4052,1486,10,1,48],[1590,1490,5,1,28],[1690,1490,5,1,35],[1835,1490,7,1,56],
|
||||
[2033,1490,7,1,49],[3811,1491,10,1,50],[1801,1492,8,1,70],[1759,1493,8,1,52],[1722,1494,8,1,38],[4465,1494,9,0,88],[3482,1495,8,1,44],[3873,1495,9,1,53],
|
||||
[2155,1496,9,1,33],[1873,1497,9,1,65],[3900,1497,7,1,56],[4216,1497,9,1,72],[3842,1498,8,1,60],[2230,1500,5,1,29],[3380,1500,5,1,24],[4678,1500,11,0,95],
|
||||
[1915,1503,9,1,57],[3510,1503,7,1,49],[2065,1504,9,1,36],[3414,1504,7,1,32],[1566,1505,10,1,30],[4162,1505,10,1,70],[4413,1505,9,0,71],[4116,1510,7,1,81],
|
||||
[1961,1512,10,1,66],[3542,1512,7,1,42],[4615,1512,10,0,95],[1637,1513,8,1,24],[3990,1513,7,1,27],[2190,1514,7,1,39],[3350,1514,7,1,24],[4080,1514,7,1,76],
|
||||
[4353,1515,9,0,89],[2104,1516,9,1,33],[1607,1517,8,1,23],[1667,1519,8,1,32],[4052,1523,10,1,51],[3710,1525,7,1,47],[4554,1525,9,0,88],[2006,1526,9,1,44],
|
||||
[3451,1526,10,1,35],[3736,1526,9,1,42],[4300,1527,9,0,87],[3760,1528,8,1,56],[3380,1530,5,1,35],[1739,1532,8,1,68],[1779,1532,8,1,67],[2142,1533,8,1,46],
|
||||
[3857,1533,8,1,42],[1698,1534,9,1,49],[2220,1534,7,1,31],[4020,1534,7,1,32],[1817,1535,9,1,52],[3790,1535,7,1,49],[4247,1535,9,0,61],[1856,1539,8,1,57],
|
||||
[1510,1540,5,1,28],[2047,1540,7,1,62],[4196,1540,7,1,70],[3820,1541,8,1,50],[4498,1542,10,0,95],[3480,1543,7,1,39],[1901,1544,8,1,60],[3400,1545,7,1,32],
|
||||
[3880,1545,7,1,45],[1620,1546,7,1,37],[3976,1547,8,1,27],[4150,1548,9,1,89],[1560,1550,5,1,32],[1587,1550,7,1,34],[1650,1550,5,1,31],[3533,1551,12,1,48],
|
||||
[2178,1552,8,1,53],[1942,1553,8,1,67],[2250,1553,7,1,29],[4443,1553,9,0,95],[2088,1555,9,1,51],[3420,1556,7,1,33],[4103,1557,9,1,63],[1520,1560,5,1,24],
|
||||
[3357,1560,7,1,32],[3621,1561,12,1,60],[4387,1564,9,0,95],[1983,1565,9,1,63],[3680,1565,7,1,49],[4058,1565,9,1,65],[4654,1565,9,0,95],[1480,1566,7,1,28],
|
||||
[3440,1567,7,1,41],[1718,1568,8,1,65],[1647,1570,7,1,35],[1680,1570,5,1,60],[1756,1570,7,1,68],[2214,1570,7,1,38],[3707,1570,7,1,46],[3730,1570,8,1,63],
|
||||
[4023,1570,7,1,42],[2129,1572,8,1,65],[4000,1573,7,1,61],[4594,1573,10,0,90],[1796,1574,9,1,70],[3769,1574,8,1,52],[4330,1574,10,0,95],[3965,1575,9,1,41],
|
||||
[1835,1576,9,1,59],[1610,1577,7,1,36],[3380,1577,7,1,35],[2026,1579,8,1,67],[4219,1579,10,0,95],[1570,1580,5,1,33],[3330,1580,5,1,23],[3472,1580,10,1,49],
|
||||
[4274,1580,10,0,73],[3800,1582,10,1,40],[1882,1583,8,1,67],[3838,1583,8,1,50],[4533,1583,9,0,95],[1540,1584,7,1,29],[4172,1585,9,0,63],[3500,1587,7,1,53],
|
||||
[2165,1590,7,1,42],[2243,1590,7,1,35],[3400,1590,5,1,39],[3520,1590,5,1,56],[2066,1592,9,1,58],[1924,1594,9,1,61],[3550,1594,10,1,47],[1460,1595,7,1,24],
|
||||
[4126,1595,9,1,76],[4475,1598,10,0,95],[3580,1600,5,1,57],[3610,1602,10,1,46],[3420,1603,7,1,39],[4080,1604,7,1,79],[1964,1605,9,1,63],[2200,1605,7,1,44],
|
||||
[3640,1605,7,1,40],[4028,1606,9,1,68],[3660,1607,7,1,51],[3710,1607,7,1,54],[2109,1608,8,1,66],[3742,1608,8,1,53],[3988,1608,9,1,45],[1430,1610,5,1,32],
|
||||
[1610,1610,5,1,32],[1630,1610,5,1,47],[1736,1610,7,1,63],[3360,1610,5,1,29],[3684,1610,7,1,42],[4422,1610,11,0,95],[1660,1612,7,1,58],[1698,1612,8,1,71],
|
||||
[3440,1612,7,1,53],[2270,1613,7,1,32],[1580,1614,7,1,33],[3960,1614,7,1,56],[1773,1615,9,1,57],[1514,1617,9,1,23],[3777,1617,12,1,46],[1548,1618,8,1,36],
|
||||
[2004,1619,8,1,62],[1480,1620,5,1,26],[3460,1620,5,1,47],[1816,1621,8,1,70],[3480,1624,7,1,49],[4362,1624,10,0,95],[2230,1626,7,1,36],[2149,1627,8,1,48],
|
||||
[3500,1627,7,1,56],[4297,1627,9,0,95],[4625,1627,10,0,95],[1859,1628,8,1,80],[3818,1628,8,1,54],[4241,1629,9,0,95],[1450,1630,5,1,24],[3380,1630,5,1,32],
|
||||
[3520,1630,5,1,60],[4149,1633,8,0,78],[4195,1633,9,0,67],[4571,1634,11,0,95],[3547,1635,9,1,41],[2046,1636,9,1,49],[1899,1637,8,1,74],[2300,1640,5,1,24],
|
||||
[3350,1640,5,1,23],[3400,1640,5,1,38],[3580,1640,5,1,47],[3600,1644,7,1,47],[3620,1644,7,1,38],[4020,1644,7,1,25],[2186,1645,9,1,37],[3720,1645,7,1,35],
|
||||
[3940,1645,7,1,46],[4513,1645,9,0,95],[4103,1646,9,0,71],[2260,1647,7,1,38],[1938,1648,8,1,80],[3967,1648,8,1,51],[4049,1649,11,1,78],[1430,1650,5,1,25],
|
||||
[3420,1650,5,1,46],[3640,1650,8,1,44],[3690,1650,8,1,49],[1605,1651,8,1,46],[1642,1651,9,1,66],[2090,1651,9,1,95],[3996,1651,10,1,62],[1567,1652,9,1,33],
|
||||
[1680,1652,7,1,80],[3920,1652,7,1,46],[1714,1653,9,1,63],[1530,1654,7,1,39],[3665,1654,9,1,35],[4453,1654,9,0,80],[3740,1655,7,1,42],[1982,1656,9,1,84],
|
||||
[1752,1657,9,1,72],[3444,1657,8,1,36],[1485,1660,10,1,26],[3360,1660,5,1,26],[3472,1662,8,1,56],[1792,1663,9,1,66],[3760,1663,7,1,40],[2220,1664,7,1,42],
|
||||
[3334,1664,7,1,24],[2127,1666,9,1,68],[3500,1666,7,1,50],[1836,1669,8,1,71],[2293,1670,7,1,35],[3520,1670,5,1,49],[4397,1670,10,0,81],[3542,1673,8,1,40],
|
||||
[1510,1675,7,1,23],[2026,1675,9,1,54],[3380,1675,7,1,36],[4166,1677,12,0,95],[4214,1677,9,0,94],[4257,1677,9,0,95],[4308,1677,8,0,42],[1879,1679,9,1,61],
|
||||
[1434,1680,7,1,27],[3910,1680,5,1,23],[3570,1682,7,1,43],[4343,1683,9,0,86],[2167,1685,9,1,53],[3400,1686,7,1,33],[3596,1686,9,1,33],[3960,1686,7,1,58],
|
||||
[4016,1686,9,1,56],[4116,1687,9,0,64],[4606,1687,10,0,95],[2255,1688,8,1,36],[3936,1688,8,1,39],[3982,1688,8,1,56],[1915,1690,7,1,60],[2320,1690,5,1,24],
|
||||
[3710,1690,8,1,47],[4067,1691,9,0,61],[1624,1693,9,1,63],[1580,1694,7,1,62],[2067,1694,9,1,68],[3620,1694,7,1,41],[3675,1694,9,1,31],[1666,1695,9,1,55],
|
||||
[4549,1695,10,0,95],[1534,1696,9,1,46],[3429,1696,9,1,45],[1453,1697,7,1,37],[1710,1698,9,1,72],[3316,1699,11,1,24],[1410,1700,5,1,28],[1490,1700,5,1,50],
|
||||
[3250,1700,5,1,23],[3740,1700,5,1,40],[1952,1701,8,1,82],[3460,1703,7,1,51],[3650,1704,7,1,36],[4495,1704,9,0,70],[1759,1705,11,1,49],[3760,1706,7,1,50],
|
||||
[2206,1707,9,1,51],[3490,1707,7,1,47],[4435,1707,9,0,89],[3513,1708,8,1,42],[3543,1709,8,1,44],[2286,1710,7,1,37],[3355,1710,7,1,32],[2106,1712,9,1,67],
|
||||
[1390,1713,7,1,35],[2002,1714,8,1,62],[1350,1716,7,1,26],[1809,1716,8,1,56],[3900,1717,9,1,44],[4381,1717,10,0,95],[3572,1718,8,1,44],[1430,1720,5,1,27],
|
||||
[3380,1722,7,1,43],[1853,1723,9,1,62],[3970,1723,7,1,31],[3920,1724,7,1,41],[3950,1724,7,1,65],[4000,1725,7,1,69],[4327,1725,9,0,73],[4039,1726,10,0,68],
|
||||
[3853,1727,12,1,45],[4235,1727,9,0,93],[2148,1728,8,1,67],[2241,1728,8,1,66],[4282,1729,10,0,95],[2317,1730,7,1,35],[3254,1730,7,1,24],[3290,1730,5,1,32],
|
||||
[3400,1730,5,1,45],[3600,1730,8,1,43],[4135,1731,10,0,48],[1464,1732,8,1,42],[1507,1732,9,1,59],[2044,1732,9,1,70],[3689,1732,9,1,32],[4086,1732,12,1,55],
|
||||
[1555,1733,9,1,59],[4186,1734,10,0,94],[1601,1735,8,1,74],[1892,1735,9,1,58],[1644,1736,9,1,78],[1430,1740,5,1,41],[1939,1740,9,1,72],[3315,1740,7,1,29],
|
||||
[3428,1740,7,1,50],[1688,1741,8,1,78],[3722,1741,8,1,59],[3458,1744,8,1,39],[1410,1745,7,1,23],[2276,1745,9,1,39],[1737,1746,9,1,59],[4585,1746,9,0,95],
|
||||
[2189,1747,8,1,67],[3340,1747,7,1,43],[3487,1747,9,1,41],[3627,1747,8,1,32],[1380,1748,7,1,39],[3514,1748,8,1,32],[2086,1750,9,1,75],[3240,1750,5,1,28],
|
||||
[3543,1750,7,1,38],[3360,1753,7,1,39],[4528,1753,10,0,95],[3658,1755,8,1,36],[1786,1756,9,1,63],[4472,1756,10,0,95],[1979,1758,8,1,82],[1300,1760,5,1,24],
|
||||
[2376,1760,7,1,26],[3572,1760,9,1,46],[3948,1760,9,1,73],[2310,1763,7,1,43],[3380,1763,7,1,35],[3975,1763,9,1,55],[4414,1763,9,0,95],[3914,1764,9,1,52],
|
||||
[1480,1766,7,1,62],[4009,1767,8,0,62],[3884,1769,8,1,51],[4145,1769,10,0,60],[1843,1770,9,1,95],[2229,1770,9,1,69],[3200,1770,5,1,25],[3260,1770,5,1,24],
|
||||
[3284,1770,7,1,32],[3400,1770,5,1,36],[3804,1770,9,1,43],[3836,1770,9,1,40],[1523,1771,8,1,56],[2129,1771,9,1,95],[1352,1772,10,1,32],[4357,1772,10,0,95],
|
||||
[3860,1773,7,1,60],[1440,1774,7,1,51],[1571,1774,8,1,70],[4047,1774,9,1,71],[2017,1775,9,1,72],[1401,1776,8,1,47],[1315,1777,8,1,30],[1619,1777,8,1,80],
|
||||
[4101,1777,9,0,80],[4307,1777,9,0,91],[3600,1778,7,1,41],[4204,1778,10,0,95],[2340,1780,5,1,39],[3420,1780,5,1,42],[3452,1780,7,1,40],[4255,1780,9,0,88],
|
||||
[1662,1782,8,1,86],[3314,1784,9,1,32],[1899,1786,10,1,60],[2265,1786,9,1,39],[3506,1786,7,1,31],[3240,1787,7,1,34],[3480,1787,7,1,45],[3352,1790,11,1,29],
|
||||
[3580,1790,5,1,24],[1714,1792,9,1,71],[2170,1792,9,1,85],[3535,1792,8,1,33],[3640,1792,7,1,43],[3734,1794,12,1,60],[2062,1795,10,1,48],[3678,1795,8,1,37],
|
||||
[2370,1798,7,1,40],[1767,1799,8,1,80],[3390,1800,5,1,39],[2300,1803,7,1,48],[4156,1803,9,0,74],[3260,1804,7,1,23],[4559,1804,10,0,95],[3982,1805,9,1,62],
|
||||
[1953,1806,9,1,74],[1455,1807,9,1,31],[1490,1807,7,1,67],[1373,1808,8,1,46],[1823,1808,8,1,83],[3840,1808,7,1,63],[3889,1809,12,1,60],[1285,1810,7,1,39],
|
||||
[1327,1810,7,1,55],[3204,1810,7,1,28],[3284,1810,7,1,35],[3600,1810,5,1,30],[4505,1810,11,0,95],[2110,1811,9,1,92],[2212,1811,8,1,70],[3820,1811,8,1,63],
|
||||
[3793,1812,8,1,45],[1421,1813,8,1,58],[3947,1813,10,1,53],[4031,1813,10,1,75],[4070,1813,8,0,72],[1536,1814,9,1,70],[2400,1814,7,1,29],[3765,1814,9,1,41],
|
||||
[4111,1814,8,0,90],[1245,1816,9,1,30],[4446,1816,9,0,78],[2331,1817,8,1,42],[1638,1818,8,1,78],[3334,1818,8,1,31],[3565,1818,9,1,38],[1587,1819,8,1,65],
|
||||
[1210,1820,5,1,31],[2430,1820,5,1,39],[3456,1821,11,1,28],[3500,1822,7,1,43],[4387,1822,11,0,95],[1991,1823,10,1,95],[4336,1825,9,0,85],[3236,1826,9,1,30],
|
||||
[2244,1827,9,1,53],[1692,1828,8,1,79],[4280,1828,10,0,95],[1878,1830,7,1,62],[3310,1830,5,1,41],[3414,1830,7,1,25],[3530,1830,5,1,52],[4230,1832,9,0,95],
|
||||
[3380,1833,7,1,40],[2153,1834,9,1,73],[2368,1834,8,1,34],[4003,1835,8,1,38],[1924,1837,9,1,60],[1183,1838,8,1,30],[1748,1838,10,1,95],[2025,1838,9,1,75],
|
||||
[2464,1840,7,1,24],[3360,1840,5,1,27],[4180,1841,10,0,95],[2285,1842,9,1,52],[3970,1842,8,1,46],[3860,1845,7,1,50],[1346,1847,9,1,52],[1444,1847,9,1,63],
|
||||
[1803,1847,9,1,78],[3884,1847,9,1,70],[3918,1847,9,1,77],[1393,1848,8,1,62],[3780,1848,7,1,57],[4133,1848,10,0,95],[1296,1849,8,1,61],[3806,1849,8,1,46],
|
||||
[3834,1849,8,1,64],[2060,1850,5,1,67],[3205,1850,7,1,26],[3437,1850,7,1,31],[3496,1850,7,1,32],[3550,1850,5,1,39],[1491,1851,10,1,85],[3268,1851,10,1,35],
|
||||
[2402,1852,8,1,42],[1252,1853,8,1,52],[2193,1853,9,1,81],[3337,1854,8,1,24],[1542,1855,9,1,66],[4084,1856,9,0,68],[1208,1857,10,1,38],[2331,1858,8,1,70],
|
||||
[3580,1859,8,1,28],[1622,1860,7,1,42],[2089,1860,8,1,81],[2220,1860,5,1,53],[4537,1860,12,0,95],[1595,1861,9,1,49],[4036,1862,9,0,61],[3400,1863,7,1,36],
|
||||
[1858,1864,9,1,72],[2437,1864,9,1,39],[3520,1865,7,1,34],[3991,1865,8,1,64],[3460,1866,7,1,28],[4481,1866,10,0,95],[3233,1868,8,1,31],[1925,1870,7,1,25],
|
||||
[4420,1870,12,0,95],[1666,1871,8,1,64],[3947,1872,10,1,56],[4365,1874,10,0,77],[1966,1876,10,1,66],[2372,1877,10,1,48],[3360,1877,7,1,34],[3540,1878,7,1,37],
|
||||
[3900,1878,9,0,66],[1146,1879,10,1,29],[2251,1879,9,1,81],[4310,1879,12,0,95],[2471,1880,8,1,34],[3040,1880,5,1,23],[3163,1880,7,1,32],[1724,1881,10,1,69],
|
||||
[2143,1882,8,1,81],[1181,1883,11,1,32],[3760,1883,7,1,55],[4256,1883,10,0,95],[3695,1884,9,1,42],[3785,1884,9,1,39],[3854,1884,9,1,53],[3726,1885,10,1,42],
|
||||
[1110,1886,7,1,28],[3316,1886,7,1,28],[3817,1886,8,1,52],[4205,1886,9,0,86],[3420,1887,7,1,32],[1265,1890,7,1,52],[1313,1890,7,1,69],[1362,1890,9,1,76],
|
||||
[3260,1890,5,1,35],[3290,1890,5,1,27],[1773,1891,8,1,67],[2298,1891,8,1,74],[1457,1892,8,1,66],[1220,1893,7,1,57],[1407,1893,9,1,68],[4156,1893,9,0,95],
|
||||
[1915,1894,9,1,53],[2008,1894,10,1,63],[2412,1894,10,1,44],[1510,1895,11,1,53],[2185,1896,9,1,55],[2540,1896,7,1,28],[3200,1896,7,1,32],[3494,1896,8,1,33],
|
||||
[4107,1896,9,0,91],[4057,1899,10,0,93],[2514,1900,7,1,27],[3380,1900,5,1,38],[3560,1900,5,1,38],[4009,1903,10,0,78],[2452,1905,9,1,47],[3440,1905,7,1,32],
|
||||
[3080,1906,7,1,28],[3922,1906,9,0,77],[1834,1907,9,1,63],[2341,1907,8,1,56],[3961,1907,8,0,86],[1562,1908,10,1,89],[2057,1909,8,1,81],[1040,1910,5,1,37],
|
||||
[1080,1910,5,1,39],[1123,1910,7,1,41],[3140,1910,5,1,30],[3880,1910,10,1,83],[1619,1911,11,1,72],[2230,1915,9,1,64],[3335,1915,7,1,24],[3834,1916,9,1,62],
|
||||
[2383,1917,9,1,53],[3040,1917,7,1,29],[3758,1918,12,1,53],[2108,1919,8,1,92],[1000,1920,5,1,23],[1170,1920,5,1,35],[2564,1920,7,1,27],[2590,1920,5,1,28],
|
||||
[3802,1920,9,1,63],[2493,1922,8,1,47],[1691,1923,10,1,56],[3225,1924,9,1,29],[4512,1924,9,0,95],[1905,1925,11,1,69],[3525,1926,9,1,39],[4456,1927,10,0,91],
|
||||
[1265,1928,9,1,48],[2277,1929,8,1,65],[1204,1930,7,1,50],[2630,1930,5,1,29],[3280,1930,5,1,30],[1318,1931,8,1,78],[4394,1932,10,0,95],[1148,1933,8,1,45],
|
||||
[2532,1933,8,1,35],[3176,1933,8,1,27],[3460,1933,7,1,43],[4338,1934,11,0,95],[2157,1936,9,1,68],[2416,1936,9,1,44],[3112,1936,9,1,28],[4280,1936,12,0,87],
|
||||
[1371,1937,8,1,67],[3393,1937,8,1,31],[1097,1938,8,1,36],[1753,1938,8,1,78],[4133,1939,10,0,95],[2915,1940,7,1,24],[3065,1940,7,1,26],[3150,1940,5,1,33],
|
||||
[3982,1940,10,0,83],[1975,1941,12,1,78],[4030,1941,12,0,80],[4181,1941,10,0,95],[4228,1941,11,0,95],[1425,1943,9,1,46],[2663,1943,8,1,27],[3935,1943,9,0,64],
|
||||
[4079,1943,10,0,95],[1052,1944,8,1,32],[2319,1944,8,1,42],[3892,1944,9,0,75],[2760,1945,7,1,23],[2960,1945,7,1,24],[1476,1946,9,1,42],[2840,1946,7,1,24],
|
||||
[3020,1946,7,1,26],[2458,1948,8,1,63],[3851,1948,9,1,87],[2706,1950,7,1,29],[2800,1950,5,1,23],[3000,1950,5,1,30],[3290,1950,5,1,29],[3787,1950,7,1,65],
|
||||
[1016,1952,8,1,39],[2200,1952,9,1,78],[1528,1953,8,1,63],[3755,1953,9,1,56],[3819,1953,8,1,62],[3240,1954,7,1,24],[3723,1954,9,1,53],[976,1955,9,1,29],
|
||||
[2610,1955,7,1,30],[3691,1955,11,1,46],[2571,1956,8,1,38],[3346,1956,9,1,28],[1814,1957,9,1,69],[2349,1957,8,1,52],[3656,1957,9,1,46],[940,1960,5,1,32],
|
||||
[3084,1960,7,1,30],[2498,1961,8,1,61],[1588,1962,8,1,71],[2036,1962,9,1,63],[2780,1965,7,1,24],[3480,1965,7,1,48],[2640,1966,7,1,32],[2740,1966,7,1,28],
|
||||
[2385,1967,8,1,50],[1867,1969,8,1,59],[1894,1970,7,1,44],[2540,1970,5,1,53],[2680,1970,5,1,41],[2824,1970,7,1,28],[2900,1970,5,1,24],[2980,1970,5,1,28],
|
||||
[3200,1970,5,1,27],[3410,1970,5,1,42],[1174,1971,10,1,67],[1234,1971,8,1,67],[2250,1971,9,1,67],[1113,1972,8,1,53],[1294,1972,8,1,62],[1648,1972,8,1,83],
|
||||
[3156,1972,8,1,28],[3303,1973,8,1,24],[1070,1974,7,1,46],[2089,1974,8,1,55],[3040,1975,7,1,29],[1343,1979,10,1,71],[2430,1979,9,1,67],[3955,1979,11,0,69],
|
||||
[3912,1981,9,0,86],[3995,1983,9,0,71],[2123,1984,9,1,46],[4050,1984,9,0,77],[2297,1986,9,1,56],[3866,1986,9,0,61],[1405,1987,9,1,56],[1718,1987,9,1,68],
|
||||
[1946,1987,9,1,60],[3000,1987,7,1,35],[4153,1987,9,0,95],[3791,1988,8,0,68],[4100,1988,10,0,95],[2467,1989,9,1,68],[4199,1989,9,0,95],[906,1990,7,1,30],
|
||||
[990,1990,5,1,29],[1020,1990,5,1,41],[2587,1990,7,1,52],[2760,1990,5,1,25],[2850,1990,5,1,32],[2920,1990,5,1,26],[3744,1990,7,1,63],[3770,1990,5,1,49],
|
||||
[1472,1991,9,1,68],[3613,1991,9,1,48],[3712,1991,8,1,79],[2717,1992,8,1,27],[3677,1992,10,1,69],[3824,1993,9,1,70],[4368,1993,10,0,95],[3644,1994,9,1,56],
|
||||
[2160,1995,9,1,57],[3260,1996,7,1,31],[3366,1997,8,1,26],[1776,1998,9,1,57],[2343,1999,8,1,70],[2628,2000,7,1,44],[2680,2000,5,1,33],[4482,2001,12,0,95],
|
||||
[3428,2002,8,1,50],[2514,2003,9,1,47],[4421,2003,12,0,95],[2970,2004,7,1,31],[3060,2004,7,1,27],[1532,2005,9,1,63],[2003,2005,9,1,70],[3310,2005,7,1,32],
|
||||
[2555,2006,9,1,29],[4302,2006,12,0,95],[2825,2010,7,1,24],[2877,2010,7,1,34],[2930,2010,5,1,24],[3020,2010,5,1,35],[2207,2012,8,1,67],[1068,2013,8,1,65],
|
||||
[4244,2013,12,0,88],[3210,2014,7,1,32],[1595,2015,9,1,49],[1834,2015,9,1,60],[2388,2016,8,1,52],[2704,2020,7,1,30],[2750,2020,5,1,36],[2057,2021,8,1,76],
|
||||
[3760,2023,7,1,53],[3926,2024,9,0,74],[3972,2024,9,0,93],[1000,2025,7,1,76],[1172,2025,12,1,59],[2262,2025,9,1,55],[3882,2025,10,0,69],[2434,2026,9,1,48],
|
||||
[3734,2026,9,1,55],[3796,2026,9,0,58],[4020,2026,11,0,95],[4348,2026,9,0,72],[3272,2027,8,1,30],[3593,2027,9,1,60],[3659,2027,8,1,70],[3701,2027,8,1,69],
|
||||
[2601,2028,8,1,53],[4173,2028,10,0,95],[1663,2029,8,1,67],[3838,2029,9,0,78],[4068,2029,10,0,95],[1128,2030,12,1,78],[1386,2030,9,1,63],[2796,2030,7,1,28],
|
||||
[2845,2030,7,1,27],[2950,2030,5,1,30],[2990,2030,5,1,37],[3050,2030,5,1,25],[3090,2030,5,1,27],[3110,2030,5,1,23],[3377,2030,7,1,44],[2646,2031,10,1,43],
|
||||
[3626,2031,10,1,69],[961,2032,12,1,66],[1223,2032,12,1,69],[1894,2032,9,1,74],[4119,2033,10,0,95],[909,2034,10,1,78],[1093,2035,9,1,58],[2107,2035,9,1,66],
|
||||
[2479,2036,8,1,49],[3320,2036,7,1,28],[2307,2038,9,1,60],[2870,2040,5,1,42],[2910,2040,5,1,32],[3230,2040,5,1,44],[868,2042,12,1,67],[1724,2042,9,1,77],
|
||||
[1026,2043,12,1,78],[815,2045,9,1,63],[3020,2046,7,1,27],[2527,2048,8,1,35],[2682,2048,8,1,49],[2820,2048,7,1,39],[1957,2050,7,1,60],[2730,2050,5,1,42],
|
||||
[2774,2050,7,1,38],[2352,2052,8,1,53],[938,2053,8,1,35],[2165,2053,9,1,54],[3290,2054,7,1,23],[1062,2055,9,1,69],[1777,2055,9,1,52],[3520,2056,7,1,37],
|
||||
[768,2058,8,1,83],[2397,2058,8,1,53],[2934,2060,7,1,32],[3110,2060,5,1,24],[3187,2060,8,1,24],[3713,2061,10,1,60],[1202,2062,8,1,71],[3673,2062,8,1,73],
|
||||
[2973,2063,8,1,24],[2573,2064,8,1,33],[3570,2064,7,1,54],[3758,2064,10,0,67],[1105,2065,9,1,60],[2013,2065,9,1,50],[3894,2065,9,0,68],[3945,2065,9,0,65],
|
||||
[2615,2066,9,1,37],[3604,2066,9,1,60],[3803,2066,11,0,88],[3995,2066,9,0,71],[4451,2066,10,0,95],[2224,2067,9,1,58],[3636,2067,9,1,64],[3848,2067,8,0,95],
|
||||
[4330,2067,10,0,95],[4390,2067,10,0,95],[2890,2068,7,1,41],[3546,2068,11,1,32],[4271,2068,11,0,95],[1379,2069,9,1,65],[910,2070,8,1,67],[960,2070,5,1,32],
|
||||
[2845,2070,7,1,39],[3238,2070,7,1,40],[1844,2071,8,1,59],[2657,2072,8,1,48],[4039,2072,8,0,95],[4212,2072,11,0,90],[1171,2073,8,1,72],[2271,2076,10,1,56],
|
||||
[4092,2076,9,0,80],[4144,2076,9,0,95],[984,2077,8,1,45],[2798,2077,8,1,39],[812,2078,8,1,64],[2446,2078,8,1,38],[2703,2078,8,1,46],[2067,2079,8,1,84],
|
||||
[1033,2080,9,1,65],[2750,2080,5,1,51],[731,2085,12,1,77],[777,2085,9,1,51],[1144,2085,9,1,46],[2494,2086,9,1,47],[1532,2087,9,1,37],[3440,2087,7,1,48],
|
||||
[1073,2089,10,1,42],[1904,2089,8,1,57],[2318,2089,8,1,53],[2917,2090,7,1,33],[3160,2090,5,1,35],[1215,2091,8,1,52],[2124,2091,9,1,52],[678,2093,10,1,84],
|
||||
[1249,2093,12,1,51],[2540,2094,7,1,42],[3000,2095,7,1,28],[3100,2095,7,1,31],[3688,2095,8,1,56],[919,2096,12,1,60],[1117,2097,8,1,52],[3774,2097,10,0,83],
|
||||
[3727,2098,9,1,63],[3820,2098,10,0,95],[2827,2100,7,1,38],[2873,2100,7,1,37],[2955,2100,7,1,27],[2585,2101,8,1,40],[3867,2101,10,0,95],[963,2102,8,1,60],
|
||||
[3532,2103,8,1,52],[1963,2104,9,1,56],[2366,2104,9,1,42],[2631,2104,8,1,42],[2410,2105,7,1,35],[3050,2106,7,1,28],[3638,2106,12,1,68],[3964,2106,9,0,69],
|
||||
[1179,2107,8,1,67],[1360,2107,7,1,58],[1561,2108,8,1,52],[2182,2108,8,1,55],[2678,2108,8,1,43],[3912,2108,8,0,80],[635,2110,7,1,67],[1002,2110,7,1,74],
|
||||
[2726,2110,7,1,42],[2776,2110,7,1,38],[3563,2113,12,1,46],[3420,2115,10,1,46],[704,2116,9,1,56],[1040,2116,7,1,56],[4014,2116,9,0,69],[818,2118,8,1,59],
|
||||
[2025,2118,9,1,44],[772,2119,11,1,58],[935,2120,7,1,56],[1395,2120,7,1,35],[2232,2120,7,1,56],[3120,2120,5,1,27],[3504,2120,9,1,59],[4066,2121,9,0,95],
|
||||
[1223,2122,8,1,60],[2463,2122,8,1,43],[3184,2123,9,1,38],[3308,2123,12,1,48],[4184,2123,10,0,95],[1506,2124,11,1,46],[4121,2124,11,0,95],[4239,2126,11,0,95],
|
||||
[4299,2126,11,0,95],[4365,2126,9,0,91],[4427,2126,9,0,95],[595,2127,9,1,67],[2508,2127,8,1,39],[3470,2127,12,1,67],[1120,2128,7,1,35],[980,2129,7,1,57],
|
||||
[1151,2129,9,1,63],[3836,2129,8,0,71],[1076,2130,12,1,56],[1603,2130,7,1,38],[2940,2130,5,1,28],[2985,2130,7,1,27],[3789,2130,9,0,95],[664,2131,8,1,55],
|
||||
[3693,2131,8,1,78],[2282,2132,8,1,56],[3070,2133,7,1,32],[1310,2135,7,1,38],[2124,2135,9,1,41],[3585,2135,9,1,49],[2557,2136,8,1,26],[1370,2138,7,1,53],
|
||||
[1016,2140,9,1,61],[1254,2140,7,1,40],[1284,2140,7,1,40],[1464,2140,9,1,39],[1580,2140,5,1,35],[2604,2140,7,1,35],[2753,2140,7,1,39],[2803,2140,7,1,34],
|
||||
[2860,2140,5,1,33],[2900,2140,5,1,33],[3373,2140,12,1,37],[913,2141,8,1,56],[2652,2142,8,1,45],[3873,2142,11,1,80],[3923,2142,10,0,75],[727,2143,10,1,40],
|
||||
[792,2143,8,1,60],[1195,2143,9,1,50],[2702,2143,8,1,34],[2330,2144,7,1,47],[3623,2144,9,1,76],[3974,2144,9,0,62],[844,2145,9,1,46],[1092,2146,8,1,31],
|
||||
[1555,2146,10,1,43],[2420,2146,7,1,32],[555,2147,9,1,58],[1650,2147,7,1,40],[1410,2148,7,1,43],[626,2149,8,1,56],[3663,2149,10,1,85],[692,2150,7,1,74],
|
||||
[1620,2150,5,1,29],[1780,2150,5,1,42],[1800,2150,5,1,46],[3135,2150,7,1,25],[3406,2150,7,1,59],[953,2152,10,1,47],[1340,2152,8,1,39],[1518,2152,10,1,32],
|
||||
[2184,2152,8,1,41],[2377,2153,8,1,38],[3441,2153,8,1,63],[1440,2154,7,1,37],[3810,2154,7,0,52],[3714,2155,9,0,51],[3761,2155,12,0,82],[1230,2156,7,1,48],
|
||||
[1120,2157,7,1,58],[1590,2160,5,1,38],[1753,2160,7,1,43],[2475,2160,7,1,41],[2564,2160,7,1,24],[3017,2160,7,1,35],[885,2162,9,1,46],[1164,2163,9,1,48],
|
||||
[3530,2163,7,1,61],[2523,2164,8,1,28],[3560,2164,7,1,77],[764,2165,9,1,44],[2236,2166,9,1,35],[514,2167,9,1,61],[987,2167,8,1,42],[1270,2167,7,1,49],
|
||||
[1303,2168,8,1,39],[2777,2168,8,1,37],[589,2170,10,1,47],[658,2170,7,1,67],[816,2170,7,1,62],[1630,2170,5,1,32],[1684,2170,7,1,36],[1820,2170,5,1,46],
|
||||
[2614,2170,7,1,34],[2726,2170,7,1,36],[2840,2170,5,1,32],[2956,2170,7,1,32],[3130,2170,5,1,25],[4036,2173,9,0,95],[1540,2174,7,1,30],[2890,2174,7,1,27],
|
||||
[3495,2174,12,1,48],[4094,2174,9,0,87],[1376,2175,11,1,27],[3594,2175,9,1,63],[4152,2175,9,0,95],[3060,2176,7,1,24],[1025,2177,12,1,50],[1092,2177,8,1,51],
|
||||
[2668,2177,8,1,32],[3832,2177,10,0,84],[3888,2177,10,0,95],[3991,2177,8,0,94],[4211,2177,10,0,95],[705,2178,8,1,53],[1203,2178,8,1,42],[2290,2178,7,1,46],
|
||||
[3192,2178,12,1,63],[3323,2178,10,1,52],[4269,2178,10,0,95],[3635,2179,11,0,63],[3681,2179,9,0,81],[3941,2179,9,0,95],[1453,2180,7,1,41],[1610,2180,5,1,36],
|
||||
[1660,2180,5,1,39],[1736,2180,7,1,42],[1775,2181,9,1,36],[4334,2181,11,0,95],[1482,2182,8,1,32],[3734,2182,9,0,71],[1330,2183,7,1,36],[854,2184,9,1,58],
|
||||
[940,2184,12,1,63],[3430,2184,7,1,62],[3460,2184,7,1,59],[4396,2184,9,0,95],[545,2187,9,1,43],[2430,2187,7,1,28],[1136,2188,8,1,39],[1413,2189,12,1,35],
|
||||
[632,2190,7,1,63],[1520,2190,5,1,35],[1705,2190,7,1,35],[1836,2190,7,1,28],[1870,2190,5,1,38],[2344,2190,7,1,40],[2530,2190,5,1,31],[2820,2190,5,1,26],
|
||||
[3220,2190,5,1,39],[1587,2191,8,1,27],[477,2192,8,1,61],[740,2192,9,1,70],[1803,2192,8,1,33],[2119,2193,12,1,56],[2576,2194,9,1,32],[3400,2194,11,1,58],
|
||||
[1632,2195,8,1,39],[2390,2196,7,1,34],[2990,2196,7,1,28],[783,2197,10,1,51],[1058,2197,8,1,53],[2760,2197,7,1,32],[3529,2197,8,1,80],[1172,2198,8,1,42],
|
||||
[1243,2200,8,1,27],[1277,2200,7,1,33],[1557,2200,7,1,37],[2930,2200,5,1,32],[674,2201,9,1,49],[573,2203,8,1,48],[2480,2203,7,1,35],[3121,2203,11,1,75],
|
||||
[894,2204,9,1,46],[2636,2204,9,1,30],[2700,2204,7,1,28],[1460,2205,7,1,23],[1680,2205,7,1,30],[2199,2205,8,1,47],[3569,2205,9,1,82],[985,2206,9,1,36],
|
||||
[512,2208,8,1,57],[1747,2208,8,1,29],[818,2209,8,1,75],[1500,2210,5,1,29],[1880,2210,5,1,29],[1920,2210,5,1,27],[1970,2210,5,1,25],[1994,2210,7,1,24],
|
||||
[2866,2210,7,1,25],[3200,2210,5,1,39],[3612,2210,10,0,79],[3859,2212,10,0,95],[1313,2214,8,1,25],[1850,2214,7,1,28],[3656,2214,9,0,69],[3705,2214,9,0,68],
|
||||
[442,2215,9,1,50],[1099,2215,8,1,44],[1780,2215,7,1,28],[3804,2215,9,0,69],[603,2216,9,1,48],[1717,2216,8,1,26],[3754,2216,9,0,71],[3906,2216,9,0,78],
|
||||
[1650,2217,7,1,35],[712,2218,8,1,63],[1210,2220,5,1,34],[1373,2220,7,1,28],[1530,2220,5,1,28],[1570,2220,5,1,27],[1605,2220,7,1,27],[3502,2220,9,1,88],
|
||||
[3954,2221,8,0,85],[1020,2223,7,1,44],[4006,2223,9,0,95],[4062,2223,11,0,95],[936,2224,9,1,48],[1143,2224,8,1,30],[1440,2224,7,1,32],[2804,2224,8,1,28],
|
||||
[543,2226,9,1,45],[639,2226,8,1,47],[4122,2226,10,0,93],[3433,2227,12,1,53],[4180,2228,9,0,95],[475,2230,7,1,46],[856,2230,7,1,56],[1340,2230,5,1,24],
|
||||
[1407,2230,7,1,28],[1690,2230,5,1,25],[1940,2230,5,1,24],[3158,2230,12,1,44],[3544,2230,7,1,70],[4240,2230,10,0,95],[3382,2231,12,1,50],[751,2232,8,1,63],
|
||||
[1253,2232,8,1,28],[3101,2234,12,1,43],[1470,2235,7,1,23],[2293,2235,11,1,49],[2550,2235,7,1,28],[1630,2236,7,1,26],[2242,2236,12,1,53],[3462,2236,11,1,64],
|
||||
[4302,2237,10,0,95],[403,2239,8,1,63],[980,2240,5,1,46],[1067,2240,7,1,37],[1510,2240,5,1,24],[575,2242,9,1,46],[680,2242,7,1,49],[789,2242,8,1,65],
|
||||
[3586,2242,9,0,70],[4369,2242,11,0,95],[3030,2243,12,1,49],[1190,2244,7,1,28],[2321,2246,8,1,52],[3629,2247,9,0,95],[509,2248,8,1,52],[3723,2248,10,0,83],
|
||||
[898,2250,7,1,53],[1360,2250,5,1,27],[1810,2250,5,1,23],[3060,2250,5,1,29],[612,2252,8,1,53],[3674,2252,10,0,74],[3774,2252,11,0,80],[438,2253,8,1,40],
|
||||
[1112,2253,8,1,34],[1000,2254,7,1,23],[2964,2255,12,1,48],[3827,2255,9,0,75],[825,2256,9,1,32],[720,2258,7,1,53],[1230,2260,5,1,30],[2201,2262,12,1,54],
|
||||
[3872,2262,8,0,89],[3925,2263,9,0,85],[544,2264,9,1,34],[366,2265,9,1,41],[1035,2265,9,1,28],[642,2267,8,1,30],[3493,2267,12,1,65],[3975,2267,9,0,87],
|
||||
[950,2268,7,1,49],[3543,2268,9,0,78],[1153,2270,7,1,35],[3100,2270,5,1,25],[3160,2270,5,1,24],[4028,2270,10,0,95],[476,2271,8,1,39],[754,2272,8,1,39],
|
||||
[2728,2272,12,1,57],[2873,2272,8,1,47],[2904,2274,12,1,53],[3133,2274,8,1,43],[2285,2276,12,1,51],[2788,2276,12,1,58],[4090,2277,10,0,95],[3437,2278,11,1,71],
|
||||
[3602,2278,8,0,89],[578,2279,8,1,55],[404,2280,7,1,49],[690,2280,5,1,29],[867,2280,7,1,42],[1076,2280,7,1,33],[2230,2281,8,1,46],[4150,2281,9,0,95],
|
||||
[2164,2283,12,1,72],[3648,2284,9,0,78],[794,2287,9,1,39],[2134,2287,12,0,59],[3697,2287,9,0,95],[4211,2287,10,0,95],[334,2290,7,1,53],[500,2290,5,1,26],
|
||||
[997,2290,7,1,29],[1194,2290,7,1,24],[2102,2291,12,0,58],[3747,2291,10,0,88],[910,2293,7,1,29],[3380,2294,7,1,51],[4274,2294,9,0,92],[3402,2295,12,1,48],
|
||||
[3514,2295,9,1,48],[616,2297,8,1,24],[3355,2297,12,1,74],[4340,2297,11,0,95],[3060,2299,12,1,45],[836,2300,7,1,29],[3556,2301,10,0,73],[433,2302,8,1,39],
|
||||
[362,2304,8,1,31],[530,2304,7,1,34],[2070,2304,12,0,44],[3840,2304,7,0,77],[3800,2305,7,0,56],[1040,2306,7,1,29],[3883,2307,9,0,94],[3113,2309,11,1,60],
|
||||
[1160,2310,5,1,27],[2034,2310,11,1,64],[470,2312,7,1,39],[2209,2312,8,1,56],[3936,2312,10,0,83],[2267,2313,9,1,50],[2942,2313,8,1,44],[299,2314,8,1,53],
|
||||
[2238,2314,8,1,33],[3227,2314,12,1,61],[705,2315,7,1,28],[955,2315,9,1,24],[2306,2315,9,1,50],[1996,2316,11,0,75],[3614,2316,9,0,64],[570,2317,7,1,43],
|
||||
[3993,2317,9,0,95],[2472,2319,10,1,48],[2598,2320,11,1,52],[2994,2321,12,1,51],[398,2322,8,1,39],[754,2324,9,1,29],[3668,2324,9,0,77],[4053,2324,9,0,94],
|
||||
[1960,2325,7,0,50],[2344,2326,9,1,66],[872,2327,8,1,36],[340,2330,5,1,28],[2520,2330,5,1,46],[3470,2330,5,1,28],[4111,2331,9,0,95],[3726,2332,9,0,80],
|
||||
[1936,2333,9,0,52],[620,2334,7,1,27],[800,2335,7,1,25],[440,2336,7,1,29],[494,2336,9,1,32],[3430,2339,12,1,91],[4179,2339,10,0,95],[265,2340,7,1,46],
|
||||
[1907,2340,7,0,64],[2440,2340,5,1,27],[3380,2340,5,1,46],[3557,2340,10,0,81],[2489,2343,11,1,61],[3778,2343,8,0,78],[3092,2344,9,1,65],[315,2345,9,1,30],
|
||||
[2551,2347,10,1,77],[4244,2347,9,0,95],[3281,2348,12,1,68],[3840,2348,11,0,90],[365,2350,7,1,34],[542,2350,7,1,42],[670,2350,5,1,39],[925,2350,7,1,25],
|
||||
[2690,2350,5,1,31],[3620,2354,8,0,86],[838,2356,8,1,27],[2004,2356,9,0,64],[2044,2356,11,0,77],[3033,2356,9,1,78],[3899,2356,10,0,71],[4309,2359,10,0,95],
|
||||
[410,2360,5,1,39],[580,2364,7,1,25],[720,2364,7,1,34],[3684,2364,9,0,64],[3953,2364,9,0,90],[2090,2366,12,0,78],[2971,2368,11,1,61],[470,2370,5,1,45],
|
||||
[1875,2370,12,0,72],[2179,2370,12,0,75],[225,2372,8,1,40],[2222,2373,12,0,65],[1940,2374,10,0,79],[4017,2374,10,0,95],[2913,2375,12,1,52],[3075,2375,9,1,45],
|
||||
[3555,2375,9,1,78],[2421,2376,12,1,64],[3744,2376,9,0,85],[1979,2379,12,0,79],[276,2380,7,1,34],[634,2380,7,1,25],[790,2380,5,1,28],[4078,2380,10,0,95],
|
||||
[332,2383,8,1,29],[3414,2384,9,1,80],[1906,2386,12,0,89],[2020,2386,7,0,77],[3811,2386,11,0,83],[2460,2388,12,0,61],[550,2390,5,1,32],[3027,2391,10,1,85],
|
||||
[3621,2391,9,0,95],[3871,2392,9,0,75],[2063,2393,10,0,87],[3263,2393,9,1,83],[4144,2394,9,0,94],[380,2400,5,1,28],[4211,2402,10,1,95],[434,2404,8,1,24],
|
||||
[3686,2405,9,1,85],[3921,2406,8,0,73],[183,2410,7,1,38],[603,2410,7,1,27],[2948,2411,11,1,58],[3552,2411,9,1,95],[1956,2413,9,0,82],[2029,2413,8,0,88],
|
||||
[2737,2413,8,1,32],[4282,2413,10,0,95],[2110,2414,7,0,79],[3405,2414,9,1,68],[1761,2418,12,0,92],[1850,2418,7,0,72],[3751,2418,8,0,95],[240,2420,5,1,24],
|
||||
[280,2420,5,1,26],[3478,2423,9,0,94],[2189,2424,10,0,75],[3983,2424,9,0,95],[2402,2425,9,1,71],[2075,2426,11,0,75],[3623,2427,9,0,95],[1921,2428,9,0,95],
|
||||
[520,2430,5,1,27],[2992,2431,12,1,65],[2309,2433,8,0,68],[4043,2433,9,0,95],[1994,2434,9,0,83],[2234,2434,9,0,61],[3818,2434,9,0,84],[1688,2435,12,0,88],
|
||||
[3246,2435,12,1,95],[2376,2436,9,1,62],[2438,2436,12,1,67],[2470,2438,8,1,78],[1878,2439,9,0,95],[400,2440,5,1,27],[4110,2443,10,0,95],[140,2444,7,1,30],
|
||||
[3395,2444,9,1,73],[3879,2445,9,0,71],[2036,2446,9,0,73],[3685,2446,9,0,67],[2121,2447,9,0,86],[1956,2448,10,0,85],[3548,2448,8,1,95],[200,2450,5,1,26],
|
||||
[1847,2451,8,0,55],[4176,2454,9,1,95],[2279,2455,11,0,68],[2663,2456,9,1,66],[2196,2457,10,0,58],[2415,2458,9,1,54],[460,2460,5,1,24],[1911,2463,8,0,93],
|
||||
[2510,2463,7,1,75],[2315,2465,9,1,64],[2077,2466,9,0,71],[2593,2466,9,1,72],[4245,2466,9,1,95],[1814,2467,9,0,80],[3620,2467,10,1,95],[2935,2468,10,1,58],
|
||||
[3937,2468,9,0,93],[2243,2469,10,1,88],[2345,2469,12,1,79],[3750,2469,12,1,86],[295,2470,7,1,23],[2384,2471,9,1,78],[1996,2472,9,0,83],[2160,2472,8,0,82],
|
||||
[2480,2473,7,1,85],[3472,2474,12,0,94],[3420,2475,7,1,42],[1870,2476,9,0,93],[105,2480,7,1,23],[200,2480,5,1,28],[360,2480,5,1,23],[3080,2480,5,1,23],
|
||||
[2552,2482,8,1,81],[3372,2483,12,1,71],[3996,2483,9,1,95],[2677,2484,9,1,61],[3543,2484,9,1,95],[3823,2484,9,0,95],[2450,2485,7,1,60],[2122,2486,9,0,71],
|
||||
[1480,2487,12,0,85],[3218,2489,12,1,67],[2210,2490,8,0,75],[1952,2491,9,0,95],[2034,2491,10,0,64],[4072,2492,9,1,95],[1912,2494,9,1,60],[2637,2494,9,1,61],
|
||||
[3688,2494,9,0,95],[2416,2496,9,0,50],[1726,2497,9,0,80],[2293,2498,10,1,68],[2597,2500,9,1,78],[2500,2501,12,1,67],[1437,2502,12,0,95],[1835,2502,9,0,75],
|
||||
[3606,2504,9,1,60],[4140,2505,11,1,95],[3093,2506,9,1,61],[2087,2508,10,0,55],[2175,2509,9,0,46],[3897,2510,9,0,95],[3418,2511,8,1,67],[2384,2512,10,0,47],
|
||||
[2693,2513,9,1,58],[1995,2514,9,0,60],[2257,2514,9,1,61],[2559,2517,8,1,73],[1887,2519,8,0,75],[3535,2519,8,1,74],[3767,2519,8,0,95],[4213,2519,10,1,95],
|
||||
[2660,2520,8,1,73],[3174,2522,8,1,33],[1393,2524,12,0,95],[2450,2524,7,1,44],[3351,2524,9,1,95],[1688,2525,9,0,88],[1791,2526,8,0,89],[2222,2528,10,0,57],
|
||||
[3964,2528,9,1,95],[2630,2532,7,1,66],[3472,2532,10,1,80],[2137,2533,9,1,51],[1489,2534,10,0,89],[2040,2534,7,1,58],[2305,2534,9,1,47],[2526,2534,9,1,60],
|
||||
[3588,2535,9,1,67],[1740,2536,7,0,80],[1948,2537,9,0,67],[2427,2537,8,1,39],[2975,2537,12,1,60],[4023,2537,9,1,90],[3836,2538,9,1,92],[1594,2540,9,0,91],
|
||||
[3143,2542,8,1,49],[3667,2543,9,1,95],[2711,2544,8,1,56],[3396,2544,9,1,47],[2597,2545,9,1,52],[2780,2545,7,1,58],[2914,2545,12,1,69],[3440,2545,7,1,32],
|
||||
[1847,2546,9,0,64],[3267,2547,9,1,65],[2268,2548,8,1,49],[2487,2550,7,1,42],[3733,2550,7,1,64],[1454,2553,9,0,73],[1645,2553,9,0,58],[1297,2554,11,0,95],
|
||||
[2096,2554,9,0,41],[2187,2554,9,1,46],[2349,2554,8,1,46],[2400,2554,7,1,35],[1350,2555,12,0,95],[4096,2556,9,1,70],[2005,2557,9,0,47],[2677,2558,8,1,42],
|
||||
[3346,2560,7,1,59],[2562,2563,8,0,47],[3541,2563,8,1,62],[3210,2564,7,1,45],[1498,2565,9,0,88],[1701,2565,8,0,86],[1906,2565,9,0,38],[3915,2565,9,0,66],
|
||||
[2240,2566,7,1,38],[2890,2568,7,1,55],[4171,2569,9,1,95],[1401,2570,9,0,95],[2450,2570,5,1,41],[2862,2570,7,1,43],[3482,2570,9,1,95],[3618,2571,8,1,80],
|
||||
[3803,2571,8,1,81],[3313,2572,8,1,38],[1802,2573,10,0,57],[2638,2573,8,1,46],[1546,2574,9,0,71],[2312,2574,8,1,34],[2812,2574,8,1,35],[1255,2576,9,0,95],
|
||||
[2150,2576,7,1,37],[2530,2577,7,1,42],[1604,2580,11,0,63],[2054,2580,7,0,44],[2840,2580,5,1,28],[1303,2584,9,0,80],[1752,2584,9,0,60],[2782,2585,9,1,40],
|
||||
[3689,2585,8,1,74],[2750,2586,7,1,35],[1957,2587,9,0,53],[2718,2588,8,1,43],[3450,2588,9,1,48],[3977,2589,8,1,81],[2412,2590,8,1,28],[3275,2590,7,1,56],
|
||||
[3550,2590,5,1,30],[2205,2592,8,1,35],[2600,2592,7,1,45],[3889,2593,8,1,52],[1458,2594,9,0,95],[1857,2595,9,0,44],[2502,2595,8,1,28],[3397,2595,9,1,42],
|
||||
[3766,2596,9,1,51],[1656,2598,9,0,62],[2110,2598,7,1,45],[2940,2599,8,1,57],[2870,2600,5,1,52],[3627,2600,7,1,48],[1205,2603,9,0,95],[1403,2603,9,0,95],
|
||||
[2015,2603,9,1,42],[4054,2603,9,1,72],[1506,2604,9,0,64],[2360,2604,7,1,31],[2905,2604,9,1,47],[2270,2605,7,1,32],[2680,2605,7,1,34],[1706,2607,9,0,33],
|
||||
[3360,2607,7,1,53],[1255,2608,9,0,93],[1810,2610,5,0,28],[3527,2610,7,1,43],[2830,2613,7,1,31],[2570,2615,7,1,23],[3855,2615,9,1,51],[2796,2618,8,1,28],
|
||||
[3045,2619,9,1,32],[2180,2620,5,1,31],[2460,2620,5,1,25],[1559,2621,9,0,72],[1914,2622,9,0,38],[2760,2623,7,1,40],[2997,2623,8,1,40],[4127,2623,9,1,95],
|
||||
[1307,2624,9,0,95],[3080,2625,7,1,46],[3114,2625,9,1,46],[3467,2626,9,1,36],[2960,2627,7,1,62],[3578,2627,8,1,62],[3720,2627,7,1,56],[1760,2628,7,0,58],
|
||||
[2070,2630,5,1,44],[2540,2630,5,1,23],[2638,2630,7,1,39],[1618,2632,8,0,63],[1155,2633,9,0,95],[2330,2634,7,0,22],[3923,2634,9,1,91],[1360,2635,10,0,95],
|
||||
[1408,2635,9,1,71],[2920,2637,7,1,53],[3025,2637,8,1,29],[1980,2640,5,1,40],[2236,2640,7,1,28],[2420,2640,5,1,25],[2723,2640,7,0,32],[1459,2641,12,0,52],
|
||||
[1822,2642,8,0,39],[3808,2642,9,1,81],[1208,2644,10,0,91],[2890,2645,7,1,36],[3665,2646,9,1,69],[1670,2647,7,0,49],[3998,2647,8,1,95],[3536,2648,8,1,38],
|
||||
[2140,2650,5,1,36],[2504,2650,7,1,23],[2840,2650,5,1,31],[1258,2652,10,0,95],[3130,2654,7,1,38],[2680,2657,7,1,29],[3097,2657,8,1,32],[3435,2657,11,1,53],
|
||||
[1874,2660,7,0,35],[2030,2660,5,1,40],[2290,2660,5,0,22],[2595,2660,7,0,22],[3180,2660,5,1,39],[1530,2662,7,0,66],[3050,2664,7,1,51],[1720,2665,7,0,35],
|
||||
[2800,2665,7,1,27],[3005,2665,9,1,32],[3876,2666,9,1,51],[2200,2667,7,1,28],[1103,2668,11,0,95],[1311,2669,9,0,95],[3749,2669,8,1,95],[1940,2670,5,0,28],
|
||||
[2103,2670,7,1,32],[3608,2670,7,1,49],[2967,2672,8,1,37],[4075,2672,9,1,77],[1155,2674,9,0,75],[1410,2674,7,1,51],[1588,2676,8,0,36],[3512,2677,9,1,56],
|
||||
[1777,2680,7,0,31],[2764,2680,7,0,21],[2925,2680,7,1,28],[3250,2683,7,1,38],[3200,2685,7,1,35],[1630,2686,7,0,24],[3943,2686,9,1,66],[3167,2687,8,1,32],
|
||||
[3565,2688,8,1,48],[1454,2689,8,0,41],[2720,2690,5,0,23],[3134,2690,7,1,28],[3300,2690,5,1,29],[3476,2690,11,1,32],[3695,2690,7,1,45],[1212,2691,10,0,95],
|
||||
[3220,2693,7,1,33],[1370,2694,7,0,52],[1830,2694,7,0,27],[3827,2694,9,1,44],[1683,2700,7,0,30],[3090,2700,5,1,39],[1268,2703,8,0,53],[3375,2703,8,1,31],
|
||||
[1046,2706,9,0,89],[3523,2708,11,1,31],[1497,2710,7,0,37],[3046,2710,7,1,31],[3424,2710,7,1,23],[3450,2710,5,1,23],[3002,2713,8,1,25],[4016,2713,9,1,70],
|
||||
[1105,2716,9,0,73],[1430,2718,7,0,49],[1563,2720,7,0,27],[3274,2720,7,1,34],[3615,2720,12,1,44],[3776,2720,7,1,53],[3892,2722,8,1,71],[1161,2724,8,0,72],
|
||||
[1325,2724,9,0,28],[3184,2725,9,1,27],[3228,2725,8,1,35],[2964,2730,7,1,25],[1214,2739,8,0,43],[3446,2740,7,1,28],[3573,2743,7,1,27],[3961,2743,8,1,68],
|
||||
[3100,2745,7,0,22],[3713,2745,9,1,41],[992,2747,9,0,92],[3373,2747,8,1,27],[1380,2750,5,0,27],[1050,2755,7,0,63],[3850,2755,9,1,39],[3760,2760,5,1,24],
|
||||
[1110,2766,7,0,53],[3280,2766,7,1,23],[1270,2770,5,0,31],[3520,2770,5,1,23],[3820,2770,5,1,23],[3450,2776,7,1,24],[1173,2782,8,0,32],[937,2784,9,0,64],
|
||||
[3230,2790,5,1,23],[3410,2790,5,1,25],[3370,2800,5,1,24],[3690,2800,5,1,24],[998,2802,8,0,41],[3310,2810,5,1,23],[1060,2815,7,0,21],[888,2823,8,0,33],
|
||||
[3454,2830,7,1,23],[3750,2830,5,1,23]
|
||||
]
|
||||
@@ -0,0 +1,9 @@
|
||||
import { artHeight, artWidth, ink, points } from '../../lib/hero-art';
|
||||
|
||||
export function GET() {
|
||||
const circles = points.map(([x, y, radius, color, opacity]) =>
|
||||
`<circle cx="${x / 10}" cy="${y / 10}" r="${radius / 10}" fill="${ink[color]}" opacity="${opacity / 100}"/>`,
|
||||
);
|
||||
const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${artWidth} ${artHeight}">${circles.join('')}</svg>`;
|
||||
return new Response(svg, { headers: { 'Content-Type': 'image/svg+xml; charset=utf-8' } });
|
||||
}
|
||||
+17
-43
@@ -43,7 +43,7 @@ a:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
|
||||
grid-template-columns: auto 1fr auto;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
min-height: 4.5rem;
|
||||
min-height: 4.25rem;
|
||||
}
|
||||
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
|
||||
.brand img { width: 2rem; height: 2rem; border-radius: 4px; }
|
||||
@@ -93,11 +93,17 @@ a:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
|
||||
font-size: 1rem;
|
||||
}
|
||||
.theme-toggle:hover { color: var(--text); border-color: var(--line); }
|
||||
.menu { display: none; }
|
||||
.menu, .site-header .mobile-download { display: none; }
|
||||
|
||||
@media (max-width: 60rem) {
|
||||
.site-nav { display: none; }
|
||||
.menu { display: block; justify-self: end; }
|
||||
.site-nav, .header-tools { display: none; }
|
||||
.site-header .mobile-download { display: inline-flex; }
|
||||
.site-header__inner { display: flex; flex-wrap: wrap; gap: 0.45rem; padding-block: 0.65rem; }
|
||||
.brand { margin-inline-end: auto; }
|
||||
.brand__text { white-space: normal; }
|
||||
.brand img { flex: none; }
|
||||
.menu__panel .theme-toggle { justify-self: start; padding-inline: 0.6rem; }
|
||||
.menu { display: block; margin: 0; }
|
||||
.menu > summary {
|
||||
list-style: none;
|
||||
cursor: pointer;
|
||||
@@ -119,22 +125,20 @@ a:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
|
||||
}
|
||||
.menu__panel a { padding-block: 0.55rem; text-decoration: none; font-size: 1rem; }
|
||||
.site-header { position: relative; }
|
||||
.header-tools .site-source { display: none; }
|
||||
}
|
||||
|
||||
/* ---------- footer ---------- */
|
||||
.site-footer {
|
||||
margin-block-start: clamp(3.5rem, 8vw, 7rem);
|
||||
padding-block: 3rem 3.5rem;
|
||||
margin-block-start: clamp(1.75rem, 3vw, 3rem);
|
||||
padding-block: 0 2rem;
|
||||
background: var(--page-bg);
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.footer-inner { max-width: 72.5rem; margin-inline: auto; width: min(100% - clamp(2rem, 5vw, 4.5rem), 72.5rem); }
|
||||
.footer-rule { border: 0; border-block-start: 1px solid var(--line); margin: 0; }
|
||||
.footer-columns {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
column-gap: 2rem;
|
||||
column-gap: 0;
|
||||
}
|
||||
.footer-column {
|
||||
position: relative;
|
||||
@@ -142,19 +146,10 @@ a:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 2.25rem 1rem 0.5rem;
|
||||
padding: 0.85rem 1rem 0.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
.footer-column::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset-block-start: 0;
|
||||
inset-inline-start: 50%;
|
||||
width: 1px;
|
||||
height: 1rem;
|
||||
background: var(--line);
|
||||
pointer-events: none;
|
||||
}
|
||||
.footer-author::before { position: absolute; inset-inline-start: 0; top: 50%; height: 3.25rem; border-inline-start: 1px solid var(--line-soft); transform: translateY(-50%); content: ""; }
|
||||
.footer-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -181,9 +176,9 @@ a:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
|
||||
@media (max-width: 40rem) {
|
||||
.site-footer { padding-block: 2rem 2.75rem; }
|
||||
.footer-columns { grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; }
|
||||
.footer-column { padding: 1.875rem 0.5rem 0; }
|
||||
.footer-author::before { display: none; }
|
||||
.footer-column { padding: 0.85rem 0.5rem 0; }
|
||||
.footer-author { padding-block-start: 0; }
|
||||
.footer-author::before { display: none; }
|
||||
}
|
||||
|
||||
/* ---------- generic panels and text blocks ---------- */
|
||||
@@ -244,24 +239,3 @@ details > *:not(summary) { margin-block-start: 0.75rem; }
|
||||
.status { font-size: 0.9375rem; }
|
||||
.status--error { color: var(--danger); }
|
||||
.status--stale { color: var(--accent-strong); }
|
||||
|
||||
/* Very narrow viewports: keep brand, menu and the download action usable by
|
||||
moving the tool row below the brand row instead of letting the header push
|
||||
the document wider than the viewport. */
|
||||
@media (max-width: 40rem) {
|
||||
.site-header__inner {
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
row-gap: 0.5rem;
|
||||
padding-block: 0.55rem;
|
||||
}
|
||||
.brand { grid-column: 1; grid-row: 1; min-width: 0; }
|
||||
.brand__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.menu { grid-column: 2; grid-row: 1; }
|
||||
.header-tools {
|
||||
grid-column: 1 / -1;
|
||||
grid-row: 2;
|
||||
justify-content: flex-end;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.header-tools .icon-link { min-width: 2.25rem; padding-inline: 0.35rem; }
|
||||
}
|
||||
+19
-15
@@ -12,7 +12,7 @@
|
||||
padding: 0.6rem 0.85rem;
|
||||
border-block-end: 1px solid var(--line);
|
||||
}
|
||||
.demo__file { font: 500 0.875rem/1.4 var(--font-mono); color: var(--text-muted); }
|
||||
.demo__file { font: 600 0.875rem/1.4 var(--font-mono); color: var(--text); }
|
||||
.demo__modes { display: flex; flex-wrap: wrap; gap: 0.25rem; }
|
||||
.demo__modes button {
|
||||
min-height: 2.25rem;
|
||||
@@ -36,7 +36,7 @@
|
||||
grid-template-columns: minmax(0, 38fr) minmax(0, 34fr) minmax(0, 28fr);
|
||||
}
|
||||
.demo__pane { min-width: 0; padding: 1.15rem 1.25rem; }
|
||||
.demo__pane + .demo__pane { border-inline-start: 1px solid var(--line); }
|
||||
.demo__grid[data-mode="compare"] .demo__pane + .demo__pane { border-inline-start: 1px solid var(--line); }
|
||||
.demo__pane:focus-visible { outline-offset: -3px; }
|
||||
.demo__grid[data-mode="compare"] .demo__pane { display: block; }
|
||||
.demo__grid[data-mode="source"] .demo__pane:not([data-pane="source"]),
|
||||
@@ -45,7 +45,7 @@
|
||||
.demo__grid[data-mode]:not([data-mode="compare"]) { grid-template-columns: minmax(0, 1fr); }
|
||||
|
||||
.demo__source { background: var(--surface); height: 100%; }
|
||||
.demo__source pre { border: 0; padding: 0; background: none; font-size: 0.8438rem; line-height: 1.7; }
|
||||
.demo__source pre { border: 0; padding: 0; background: none; font-size: 0.8438rem; line-height: 1.37; white-space: pre-wrap; overflow-wrap: anywhere; }
|
||||
.demo__source .k { color: var(--code-keyword); font-weight: 600; }
|
||||
.demo__source .p { color: var(--code-param); }
|
||||
.demo__source .s { color: var(--code-string); }
|
||||
@@ -68,31 +68,38 @@
|
||||
.circle-figure { margin: 0; display: grid; justify-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.8125rem; }
|
||||
.circle-figure svg { width: clamp(6rem, 12vw, 8.5rem); height: auto; overflow: visible; }
|
||||
.circle-figure line, .circle-figure circle { vector-effect: non-scaling-stroke; }
|
||||
.circle-figure .circle-shape { fill: color-mix(in srgb, var(--accent) 12%, transparent); stroke: var(--text); stroke-width: 1; }
|
||||
.circle-figure .circle-shape { fill: none; stroke: var(--text); stroke-width: 1; }
|
||||
.circle-figure .radius-line { stroke: var(--accent-strong); stroke-width: 1.25; }
|
||||
.circle-figure .center-dot { fill: var(--text); }
|
||||
.circle-figure .radius-label { fill: var(--text); font: italic 1rem Georgia, serif; }
|
||||
|
||||
.demo__compute form { display: grid; gap: 0.7rem; }
|
||||
.demo__compute h3 { font-size: 1.0625rem; }
|
||||
.demo__result { display: grid; gap: 0.15rem; font-size: 1rem; color: var(--text); }
|
||||
.demo__result strong { font: 600 1.25rem/1.3 var(--font-mono); }
|
||||
.demo__result span { font-size: 0.8125rem; color: var(--text-muted); }
|
||||
.demo__evidence { padding: 0.6rem 0.85rem 0.75rem; border-block-start: 1px solid var(--line); font-size: 0.875rem; color: var(--text-muted); }
|
||||
.demo__compute label { font-size: 0.875rem; }
|
||||
.demo__result {
|
||||
padding: 0.95rem 0.5rem;
|
||||
border-radius: 5px;
|
||||
background: var(--surface);
|
||||
color: var(--accent-strong);
|
||||
text-align: center;
|
||||
}
|
||||
.demo__result strong { font: 600 clamp(1.45rem, 2.5vw, 2.15rem)/1.2 var(--font-body); }
|
||||
.demo__result[data-stale="true"] { color: var(--text-muted); }
|
||||
.demo__compute [data-status]:empty { display: none; }
|
||||
.demo__evidence { margin: 0; padding: 0.75rem 0.85rem 0.85rem; border-block-start: 1px solid var(--line); font-size: 0.875rem; color: var(--text-muted); }
|
||||
.demo__evidence summary { font-size: 0.875rem; font-weight: 500; color: var(--text); }
|
||||
.demo__evidence dl { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: 0.3rem 1rem; margin: 0; font-size: 0.8438rem; }
|
||||
.demo__evidence dt { color: var(--text-muted); }
|
||||
.demo__evidence dt, .demo__evidence dd { min-width: 0; }
|
||||
.demo__evidence dd { margin: 0; overflow-wrap: anywhere; }
|
||||
|
||||
@media (max-width: 74.9rem) {
|
||||
@media (width < 68rem) {
|
||||
.demo__grid { grid-template-columns: minmax(0, 1fr); }
|
||||
.demo__pane + .demo__pane { border-inline-start: 0; border-block-start: 1px solid var(--line); }
|
||||
.demo__grid[data-mode="compare"] .demo__pane + .demo__pane { border-inline-start: 0; border-block-start: 1px solid var(--line); }
|
||||
.demo__grid[data-mode="compare"] .demo__pane { display: block; }
|
||||
}
|
||||
@media (max-width: 47.999rem) {
|
||||
.demo__bar { align-items: flex-start; }
|
||||
.demo__modes { width: 100%; }
|
||||
.demo__modes { width: 100%; padding: 0.15rem; background: var(--surface); border-radius: 5px; }
|
||||
.demo__modes button { flex: 1 1 auto; }
|
||||
.demo__pane { padding: 1rem; }
|
||||
}
|
||||
@@ -105,6 +112,3 @@
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.circle-figure [data-circle-group] { transition: none; }
|
||||
}
|
||||
.demo__result[data-stale="true"] strong { color: var(--accent-strong); }
|
||||
.demo__result { display: grid; gap: 0.1rem; }
|
||||
.demo__result > * { display: block; }
|
||||
+49
-76
@@ -1,86 +1,59 @@
|
||||
/* Home page: five narrative sections. One shared background, spacing-based
|
||||
rhythm, no colour bands. Hero is asymmetric; the demo owns the visual weight. */
|
||||
|
||||
.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3.5rem); overflow: clip; }
|
||||
.hero { padding-block: clamp(0.85rem, 1.35vw, 1.35rem) 0; }
|
||||
.hero__grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
|
||||
grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
|
||||
align-items: center;
|
||||
gap: clamp(2rem, 5vw, 4.5rem);
|
||||
gap: clamp(1.5rem, 3vw, 3rem);
|
||||
}
|
||||
.hero h1 {
|
||||
font-size: var(--step-display);
|
||||
line-height: 1.16;
|
||||
margin-block-end: 1.1rem;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
.hero__lede { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); color: var(--text-muted); max-width: 34rem; margin-block-end: 1.75rem; }
|
||||
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
|
||||
.hero__status { margin-block: 1rem 0; font-size: 0.875rem; color: var(--text-muted); }
|
||||
.hero__motto { margin-block: 1.5rem 0; font-size: 0.9375rem; color: var(--text-muted); letter-spacing: 0.02em; }
|
||||
.hero__art { position: relative; display: grid; place-items: center; min-height: 15rem; }
|
||||
.hero__logo { width: clamp(7rem, 14vw, 11rem); height: auto; background: var(--page-bg); border-radius: 0.4rem; position: relative; z-index: 1; }
|
||||
@media (max-width: 46rem) {
|
||||
.hero__grid { grid-template-columns: minmax(0, 1fr); }
|
||||
.hero__art { order: -1; min-height: 9rem; justify-items: start; }
|
||||
.hero__logo { width: 5.5rem; }
|
||||
.hero__label { margin-block-end: 0.6rem; color: var(--text-muted); }
|
||||
.hero h1 { font-size: var(--step-display); font-weight: 700; line-height: 1.16; margin-block-end: 0.65rem; }
|
||||
.hero__lede { font-size: clamp(1rem, 1.45vw, 1.375rem); margin-block-end: 1.35rem; }
|
||||
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 0.9rem; }
|
||||
.hero__status { margin-block: 0.9rem 0; font-size: 0.875rem; }
|
||||
|
||||
.hero__art { position: relative; isolation: isolate; aspect-ratio: 5 / 3; overflow: clip; }
|
||||
.hero__art .hero__poster, .hero__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
|
||||
.hero__art canvas { display: block; }
|
||||
.hero__art::before { position: absolute; inset: 0; z-index: -1; content: ""; background: radial-gradient(ellipse 35% 7% at 64% 88%, color-mix(in srgb, var(--accent) 19%, transparent), transparent 90%); }
|
||||
.hero__art[data-animated] .hero__poster { visibility: hidden; }
|
||||
.hero__logo { position: absolute; inset: 48.5% auto auto 56%; width: 18.4%; height: auto; transform: translate(-50%, -50%); }
|
||||
:root[data-theme="dark"] .hero__logo { filter: brightness(1.65); }
|
||||
:root[data-theme="dark"] .hero__poster { filter: brightness(1.65) saturate(0.8); }
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme="light"]) .hero__logo { filter: brightness(1.65); }
|
||||
:root:not([data-theme="light"]) .hero__poster { filter: brightness(1.65) saturate(0.8); }
|
||||
}
|
||||
|
||||
.orbits { position: absolute; inset: -12% -6%; pointer-events: none; }
|
||||
.orbits span {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
|
||||
border-radius: 50%;
|
||||
transform: rotate(-12deg) scaleY(0.62);
|
||||
}
|
||||
.orbits span:nth-child(2) { transform: rotate(9deg) scaleY(0.78); }
|
||||
.orbits span:nth-child(3) { transform: rotate(-2deg) scaleY(0.9); border-color: color-mix(in srgb, var(--accent) 28%, transparent); }
|
||||
.orbits::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset-block-start: 8%;
|
||||
inset-inline-end: 16%;
|
||||
width: 0.4rem;
|
||||
height: 0.4rem;
|
||||
border-radius: 50%;
|
||||
background: var(--accent);
|
||||
}
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.orbits span { animation: orbit-drift 40s ease-in-out infinite alternate; }
|
||||
.orbits span:nth-child(2) { animation-duration: 56s; }
|
||||
@keyframes orbit-drift {
|
||||
from { transform: rotate(-12deg) scaleY(0.62); }
|
||||
to { transform: rotate(-16deg) scaleY(0.6); }
|
||||
}
|
||||
}
|
||||
.hero + .home-section { margin-block-start: clamp(1.65rem, 3vw, 2.75rem); }
|
||||
.home-section { margin-block-start: clamp(2.25rem, 4vw, 3.5rem); }
|
||||
.home-heading { text-align: center; margin-block-end: clamp(1rem, 2vw, 1.8rem); }
|
||||
.home-heading h2 { margin-block-end: 0.3rem; }
|
||||
.home-heading p { color: var(--text-muted); margin-block: 0; }
|
||||
|
||||
.values { display: grid; gap: 2rem; }
|
||||
@media (min-width: 48rem) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 3.5vw, 3.5rem); } }
|
||||
.value h3 { font-size: 1.1875rem; margin-block-end: 0.5rem; }
|
||||
.value p { color: var(--text-muted); font-size: 0.9688rem; margin-block-end: 0.5rem; }
|
||||
.value__index { font: 500 0.8125rem/1 var(--font-mono); color: var(--accent-strong); display: block; margin-block-end: 0.75rem; }
|
||||
|
||||
.ecosystem-map {
|
||||
.collaboration {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
margin-block: 1.5rem 1.25rem;
|
||||
font-size: 0.9375rem;
|
||||
}
|
||||
.ecosystem-map__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 0.85rem; }
|
||||
.ecosystem-map__label { font-family: var(--font-mono); color: var(--text); font-weight: 600; min-width: 5.5rem; }
|
||||
.ecosystem-map__items { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; color: var(--text-muted); }
|
||||
.ecosystem-map__note { color: var(--text-muted); font-size: 0.8125rem; margin-block-start: 0.5rem; }
|
||||
|
||||
.cta {
|
||||
display: grid;
|
||||
gap: 1.25rem;
|
||||
grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
|
||||
align-items: center;
|
||||
padding-block: clamp(2.25rem, 4vw, 3rem);
|
||||
border-block-start: 1px solid var(--line-soft);
|
||||
margin-block-start: clamp(3rem, 6vw, 5rem);
|
||||
gap: clamp(1.25rem, 3vw, 2.75rem);
|
||||
}
|
||||
.collaboration h2 { margin: 0; max-inline-size: 12em; font-size: clamp(1.65rem, 3.3vw, 2.75rem); }
|
||||
:lang(zh-CN) .collaboration h2 { max-inline-size: 8em; }
|
||||
.values { margin: 0; border-inline-start: 1px solid var(--line-soft); padding-inline-start: clamp(1rem, 2.75vw, 2.5rem); }
|
||||
.value { display: grid; grid-template-columns: minmax(7rem, 1fr) minmax(0, 3fr); gap: 1rem; align-items: baseline; padding-block: 0.55rem; }
|
||||
.value + .value { border-block-start: 1px solid var(--line-soft); }
|
||||
.value dt { font: 650 var(--step-h3)/1.3 var(--font-title); }
|
||||
.value dd { margin: 0; color: var(--text-muted); }
|
||||
.cta { text-align: center; }
|
||||
.cta .home-heading { margin-block-end: 0.85rem; }
|
||||
|
||||
@media (max-width: 49.999rem) {
|
||||
.hero { padding-block-start: clamp(2rem, 8vw, 3.25rem); }
|
||||
.hero__grid { display: block; }
|
||||
.hero__art { margin-block-start: 0.65rem; }
|
||||
.hero__label { margin-block-end: 0.85rem; }
|
||||
.hero__lede { margin-block-end: 1.5rem; max-inline-size: 21em; }
|
||||
.collaboration { grid-template-columns: minmax(0, 1fr); }
|
||||
.collaboration h2, :lang(zh-CN) .collaboration h2 { max-inline-size: none; }
|
||||
.values { padding: 0; border: 0; }
|
||||
.value { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; }
|
||||
}
|
||||
@media (min-width: 48rem) { .cta { grid-template-columns: minmax(0, 1fr) auto; } }
|
||||
.cta h2 { margin-block-end: 0.4rem; font-size: var(--step-h2); }
|
||||
.cta p { color: var(--text-muted); margin: 0; }
|
||||
.cta__links { margin-block-start: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; font-size: 0.875rem; }
|
||||
@@ -17,10 +17,9 @@ img, svg { display: block; max-width: 100%; }
|
||||
:where(a) { color: inherit; }
|
||||
|
||||
.container {
|
||||
width: min(100% - clamp(2rem, 5vw, 4.5rem), 75rem);
|
||||
width: min(100% - max(32px, 5vw), 1200px);
|
||||
margin-inline: auto;
|
||||
}
|
||||
.container--wide { width: min(100% - clamp(2rem, 5vw, 4.5rem), 85rem); }
|
||||
.container--prose { width: min(100% - clamp(2rem, 5vw, 4.5rem), 48rem); margin-inline: auto; }
|
||||
|
||||
main { flex: 1 0 auto; }
|
||||
|
||||
+197
-30
@@ -8,21 +8,68 @@
|
||||
/* ---------- interior pages ---------- */
|
||||
.page { padding-block: clamp(2.25rem, 4vw, 3.5rem) 0; }
|
||||
.page-head { border-block-end: 1px solid var(--line-soft); padding-block-end: clamp(1.25rem, 2.5vw, 2rem); margin-block-end: clamp(1.75rem, 3vw, 2.75rem); }
|
||||
.page-head--center { text-align: center; }
|
||||
.page-head h1 { margin-block-end: 0.5rem; }
|
||||
.page-head p { margin: 0; color: var(--text-muted); max-width: 46rem; }
|
||||
.page-head--center p { margin-inline: auto; }
|
||||
.page section + section { margin-block-start: clamp(1.75rem, 3vw, 2.75rem); }
|
||||
.page h2 { margin-block: clamp(1.75rem, 3vw, 2.5rem) 0.75rem; }
|
||||
.page h2:first-child { margin-block-start: 0; }
|
||||
|
||||
/* ---------- download centre ---------- */
|
||||
.products { display: grid; gap: 1.25rem; }
|
||||
@media (min-width: 48rem) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
||||
.product { display: grid; gap: 0.6rem; align-content: start; padding: 1.4rem 1.5rem; border: 1px solid var(--line-soft); border-radius: 6px; }
|
||||
.product h2 { margin: 0; font-size: var(--step-h3); }
|
||||
.product p { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }
|
||||
.product__actions { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; align-items: center; margin-block-start: 0.35rem; }
|
||||
.product__meta { font: 0.8125rem/1.5 var(--font-mono); color: var(--text-muted); }
|
||||
.products__aside { margin-block-start: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 0.875rem; }
|
||||
.products {
|
||||
display: grid;
|
||||
border: 1px solid var(--line-soft);
|
||||
border-radius: 6px;
|
||||
}
|
||||
.product {
|
||||
display: grid;
|
||||
grid-template-rows: subgrid;
|
||||
grid-row: span 4;
|
||||
gap: 0.6rem 0;
|
||||
padding: 1.25rem clamp(1rem, 2vw, 1.75rem);
|
||||
}
|
||||
.product + .product { border-block-start: 1px solid var(--line-soft); }
|
||||
.product h2 { margin: 0; }
|
||||
.product p { margin: 0; color: var(--text-muted); }
|
||||
.product__actions, .products__aside, .release-panel__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; align-items: center; }
|
||||
.product__actions { margin-block-start: 0.45rem; }
|
||||
.product__meta { font: 0.9375rem/1.5 var(--font-mono); }
|
||||
.products__aside { margin-block-start: clamp(1.4rem, 3vw, 2.4rem); }
|
||||
.download-releases { margin-block-start: clamp(1.75rem, 3.7vw, 3.4rem); }
|
||||
.download-releases h2 { margin-block-end: 1.1rem; }
|
||||
@media (min-width: 48rem) {
|
||||
.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
.product + .product { border-block-start: 0; border-inline-start: 1px solid var(--line-soft); }
|
||||
}
|
||||
|
||||
.release-tabs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.4rem;
|
||||
margin-block: 1.5rem 1rem;
|
||||
border-block-end: 1px solid var(--line);
|
||||
}
|
||||
.release-tabs a {
|
||||
display: block;
|
||||
padding: 0.6rem 1.3rem;
|
||||
border-radius: 5px 5px 0 0;
|
||||
font: 650 var(--step-body)/1.5 var(--font-title);
|
||||
text-decoration: none;
|
||||
}
|
||||
.product-releases:not(:has(#mqdh:target)) a[href="#marqdo"],
|
||||
.product-releases:has(#mqdh:target) a[href="#mqdh"] { background: var(--surface); }
|
||||
.product-releases:not(:has(#mqdh:target)) #mqdh,
|
||||
.product-releases:has(#mqdh:target) #marqdo,
|
||||
.release-advanced:not(:target) { display: none; }
|
||||
.release-panel {
|
||||
scroll-margin-block-start: 5rem;
|
||||
padding: 1.1rem clamp(1rem, 2vw, 1.75rem);
|
||||
border: 1px solid var(--line-soft);
|
||||
border-radius: 6px;
|
||||
}
|
||||
.page .release-panel { margin-block-start: 0; }
|
||||
.release-panel__links { margin: 0; }
|
||||
|
||||
.release-group { border-block-start: 1px solid var(--line-soft); padding-block: 1.5rem 0.5rem; }
|
||||
.release-group > h2 { margin-block-start: 0; }
|
||||
@@ -37,31 +84,151 @@
|
||||
.empty { color: var(--text-muted); font-size: 0.9375rem; }
|
||||
|
||||
/* ---------- ecosystem ---------- */
|
||||
.catalog-group { border-block-start: 1px solid var(--line-soft); padding-block: 1.5rem 0.5rem; }
|
||||
.catalog-group > h2 { margin-block-start: 0; }
|
||||
.catalog-item { border-block-start: 1px solid var(--line-soft); padding-block: 1rem 0.75rem; }
|
||||
.catalog-item h3 { font-size: 1.0625rem; margin-block-end: 0.35rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem; }
|
||||
.catalog-item h3 small { font: 0.8125rem/1.4 var(--font-mono); color: var(--text-muted); }
|
||||
.catalog-item p { font-size: 0.9375rem; margin-block-end: 0.35rem; }
|
||||
.catalog-meta { color: var(--text-muted); font-size: 0.875rem; }
|
||||
.ecosystem-diagram {
|
||||
display: grid;
|
||||
gap: 0.6rem;
|
||||
padding: 1.25rem 1.5rem;
|
||||
border: 1px solid var(--line-soft);
|
||||
border-radius: 6px;
|
||||
margin-block: 1.5rem;
|
||||
font-size: 0.9375rem;
|
||||
.ecosystem-map { display: flex; flex-direction: column; margin: 0; }
|
||||
.ecosystem-map__caption {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
gap: 0.4rem 1rem;
|
||||
order: 1;
|
||||
margin-block-start: 0.65rem;
|
||||
color: var(--text-muted);
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
.ecosystem-diagram__row { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: baseline; }
|
||||
.ecosystem-diagram__label { font-family: var(--font-mono); font-weight: 600; min-width: 5.5rem; }
|
||||
.ecosystem-diagram__items { color: var(--text-muted); }
|
||||
.ecosystem-diagram__caption { color: var(--text-muted); font-size: 0.8125rem; }
|
||||
.ecosystem-map__groups { margin: 0; border: 1px solid var(--line-soft); border-radius: 6px; overflow: clip; }
|
||||
.ecosystem-map__row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(8rem, 16fr) minmax(0, 84fr);
|
||||
}
|
||||
.ecosystem-map__row + .ecosystem-map__row { border-block-start: 1px solid var(--line-soft); }
|
||||
.ecosystem-map__row dt {
|
||||
padding: 0.75rem 0.9rem;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
background: var(--surface);
|
||||
font: 650 var(--step-h3)/1.3 var(--font-title);
|
||||
text-align: center;
|
||||
}
|
||||
.ecosystem-map__row dd { margin: 0; padding: 0.75rem 1.1rem; }
|
||||
.ecosystem-map__row ul { margin: 0; padding: 0; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 0.7rem; list-style: none; }
|
||||
.ecosystem-map__row li {
|
||||
display: grid;
|
||||
align-content: center;
|
||||
gap: 0.12rem;
|
||||
padding: 0.55rem 1rem;
|
||||
background: color-mix(in srgb, var(--surface) 70%, var(--page-bg));
|
||||
border: 1px solid var(--line-soft);
|
||||
border-radius: 5px;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.ecosystem-map__row strong { font: 650 var(--step-h3)/1.35 var(--font-title); }
|
||||
.ecosystem-map__row span { color: var(--text-muted); }
|
||||
.ecosystem-map--compact { border: 1px solid var(--line); border-radius: 6px; padding: 0.65rem 0.8rem 0.8rem; }
|
||||
.ecosystem-map--compact .ecosystem-map__caption { order: -1; margin: 0 0 0.6rem; }
|
||||
.ecosystem-map--compact .ecosystem-map__groups { border: 0; display: grid; gap: 0.5rem; }
|
||||
.ecosystem-map--compact .ecosystem-map__row { border: 1px solid var(--line-soft); border-radius: 5px; overflow: clip; }
|
||||
.ecosystem-map--compact .ecosystem-map__row dt, .ecosystem-map--compact .ecosystem-map__row strong { font-size: 1rem; }
|
||||
.ecosystem-map--compact .ecosystem-map__row dd { padding: 0; }
|
||||
.ecosystem-map--compact .ecosystem-map__row ul { gap: 0; height: 100%; }
|
||||
.ecosystem-map--compact .ecosystem-map__row li { border: 0; border-radius: 0; text-align: center; }
|
||||
.ecosystem-map--compact .ecosystem-map__row li + li { border-inline-start: 1px solid var(--line-soft); }
|
||||
|
||||
/* ---------- research, feedback, legal ---------- */
|
||||
.research-section { border-block-start: 1px solid var(--line-soft); padding-block: 1.5rem 0.75rem; }
|
||||
.catalog { margin-block-start: clamp(1.5rem, 3vw, 2.4rem); padding-block-start: 1.2rem; border-block-start: 1px solid var(--line-soft); }
|
||||
.catalog > h2 { margin-block-start: 0; }
|
||||
.catalog .filters { margin-block-end: 0.85rem; }
|
||||
.catalog .filters input { inline-size: min(100%, 18rem); }
|
||||
.catalog .filters select { inline-size: min(100%, 10rem); }
|
||||
.index-layout { display: grid; grid-template-columns: minmax(0, 18fr) minmax(0, 82fr); gap: clamp(1rem, 3vw, 2.75rem); }
|
||||
.catalog .index-layout { border-block-start: 1px solid var(--line-soft); padding-block-start: 1.35rem; }
|
||||
.section-index { align-self: start; border-inline-end: 1px solid var(--line-soft); display: grid; gap: 0.25rem; }
|
||||
.section-index p { margin: 0 0 0.45rem; font: 650 var(--step-h3)/1.3 var(--font-title); }
|
||||
.section-index a {
|
||||
padding: 0.42rem 0.6rem;
|
||||
border-inline-start: 3px solid transparent;
|
||||
text-decoration: none;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.section-index a:hover, .section-index a[aria-current="location"] { border-color: var(--accent); color: var(--text); }
|
||||
.catalog-group > h2 { margin-block: 0 0.7rem; }
|
||||
.catalog-meta { color: var(--text-muted); font-size: 0.875rem; }
|
||||
.catalog-table { table-layout: fixed; width: 100%; border-collapse: collapse; font-size: 0.9rem; }
|
||||
.catalog-table :is(th, td) {
|
||||
padding: 0.6rem 0.7rem;
|
||||
border-block-end: 1px solid var(--line-soft);
|
||||
vertical-align: top;
|
||||
text-align: start;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.catalog-table th { font-weight: 600; }
|
||||
.catalog-table th[scope="row"] { font-size: inherit; letter-spacing: 0; text-transform: none; color: var(--text); }
|
||||
.catalog-table thead th { background: var(--surface); }
|
||||
.catalog-id { width: 16%; }
|
||||
.catalog-state { width: 12%; }
|
||||
.catalog-dependencies { width: 21%; }
|
||||
.catalog-links { width: 16%; }
|
||||
.catalog-detail { margin: 0; }
|
||||
.catalog-detail summary { color: var(--text); font-weight: 500; }
|
||||
.catalog-detail p { margin: 0.4rem 0; color: var(--text-muted); }
|
||||
.catalog-mobile-label { display: none; }
|
||||
|
||||
/* ---------- research ---------- */
|
||||
.research-feature {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 64fr) minmax(0, 36fr);
|
||||
align-items: center;
|
||||
gap: clamp(1rem, 3vw, 2.75rem);
|
||||
padding: 0.15rem clamp(0rem, 2vw, 1.75rem) 2rem;
|
||||
border-block-end: 1px solid var(--line-soft);
|
||||
}
|
||||
.research-feature h2 { font-size: clamp(1.6rem, 3.45vw, 2.85rem); }
|
||||
.research-feature p { color: var(--text-muted); }
|
||||
.research-feature__figure { display: grid; place-items: center; border-inline-start: 1px solid var(--line-soft); }
|
||||
.research-document {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
display: grid;
|
||||
gap: 0.38rem;
|
||||
padding: 1.55rem 0.75rem 1.15rem;
|
||||
min-inline-size: min(100%, 10.6rem);
|
||||
min-block-size: 12.2rem;
|
||||
align-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
.research-document::before {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
inset: 0;
|
||||
content: "";
|
||||
background: var(--text);
|
||||
clip-path: polygon(0 0, calc(100% - 1.35rem) 0, 100% 1.35rem, 100% 100%, 0 100%, 0 0, 1px 1px, 1px calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) calc(1.35rem + 1px), calc(100% - 1.35rem - 1px) calc(1.35rem + 1px), calc(100% - 1.35rem - 1px) 1px, 1px 1px, 0 0);
|
||||
}
|
||||
.research-document span { padding: 0.3rem 0.45rem; border: 1px solid var(--accent); border-radius: 4px; background: var(--surface); font: 650 var(--step-body)/1.45 var(--font-title); }
|
||||
.research-layout { margin-block-start: 1.7rem; grid-template-columns: minmax(0, 20fr) minmax(0, 80fr); column-gap: clamp(1rem, 4vw, 3.5rem); }
|
||||
.research-layout .section-index { align-self: stretch; align-content: start; }
|
||||
.research-topics .research-section { padding-block: 0 0.85rem; }
|
||||
.research-topics .research-section + .research-section { margin-block-start: 0.7rem; padding-block-start: 1.2rem; border-block-start: 1px solid var(--line-soft); }
|
||||
.research-section h2 { margin-block-start: 0; }
|
||||
.research-section p { color: var(--text-muted); }
|
||||
.research-section p { color: var(--text-muted); margin-block-end: 0.6rem; }
|
||||
.research-peers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.9rem, 2.1vw, 1.85rem); }
|
||||
.research-peers > div + div { border-inline-start: 1px solid var(--line-soft); padding-inline-start: clamp(0.9rem, 2.1vw, 1.85rem); }
|
||||
|
||||
@media (max-width: 47.999rem) {
|
||||
.index-layout, .research-feature, .research-peers { grid-template-columns: minmax(0, 1fr); }
|
||||
.section-index { display: flex; flex-wrap: wrap; gap: 0.3rem; border-inline-end: 0; border-block-end: 1px solid var(--line-soft); padding-block-end: 0.8rem; }
|
||||
.section-index p { flex-basis: 100%; }
|
||||
.research-feature__figure, .research-peers > div + div { border-inline-start: 0; padding-inline-start: 0; }
|
||||
.research-peers > div + div { border-block-start: 1px solid var(--line-soft); padding-block-start: 0.85rem; }
|
||||
.ecosystem-map__row { grid-template-columns: minmax(0, 1fr); }
|
||||
.ecosystem-map__row dd { padding: 0.55rem; }
|
||||
.ecosystem-map__row li { padding-inline: 0.5rem; }
|
||||
.catalog-table, .catalog-table tbody { display: block; }
|
||||
.catalog-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
|
||||
.catalog-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 0.6rem; padding: 0.75rem 0; border-block-end: 1px solid var(--line-soft); }
|
||||
.catalog-table :is(th, td) { display: block; padding: 0; border: 0; }
|
||||
.catalog-table td:nth-child(n+3) { grid-column: 1 / -1; }
|
||||
.catalog-mobile-label { display: inline; color: var(--text-muted); }
|
||||
}
|
||||
|
||||
.feedback-steps li { margin-block: 0.4rem; }
|
||||
.template { position: relative; }
|
||||
.template pre { white-space: pre-wrap; }
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
--font-title: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif CN", SimSun, Georgia, serif;
|
||||
--font-body: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
|
||||
--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
|
||||
--step-display: clamp(2.125rem, 4.6vw, 3.9rem);
|
||||
--step-display: clamp(2.55rem, 5vw, 4.25rem);
|
||||
--step-h1: clamp(2.25rem, 5vw, 3.5rem);
|
||||
--step-h2: clamp(1.5rem, 2.6vw, 2.25rem);
|
||||
--step-h2: clamp(1.5rem, 2.8vw, 2.5rem);
|
||||
--step-h3: clamp(1.125rem, 1.6vw, 1.5rem);
|
||||
--step-body: clamp(0.95rem, 1.05vw, 1.0625rem);
|
||||
--step-body: clamp(1rem, 1.2vw, 1.0625rem);
|
||||
--step-small: 0.875rem;
|
||||
--step-micro: 0.8125rem;
|
||||
}
|
||||
@@ -17,7 +17,7 @@
|
||||
body {
|
||||
font-family: var(--font-body);
|
||||
font-size: var(--step-body);
|
||||
line-height: 1.7;
|
||||
line-height: 1.62;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
|
||||
+106
-8
@@ -38,6 +38,7 @@ test('document demo keeps one state across four view modes and validates input',
|
||||
await expect(page.locator('[data-pane="source"]')).toBeVisible();
|
||||
await expect(page.locator('[data-pane="reading"]')).toBeVisible();
|
||||
await expect(page.locator('[data-pane="compute"]')).toBeVisible();
|
||||
await expect(page.locator('output')).toHaveText('28.2743');
|
||||
|
||||
await page.getByRole('button', { name: '交互计算', exact: true }).click();
|
||||
await expect(page.locator('.demo__grid')).toHaveAttribute('data-mode', 'compute');
|
||||
@@ -46,17 +47,17 @@ test('document demo keeps one state across four view modes and validates input',
|
||||
const input = page.getByRole('spinbutton', { name: /半径 r/ });
|
||||
await input.fill('3');
|
||||
await page.getByRole('button', { name: '执行演示' }).click();
|
||||
await expect(page.locator('output')).toContainText('S = 28.274334');
|
||||
await expect(page.locator('output')).toHaveText('28.2743');
|
||||
|
||||
await input.fill('4');
|
||||
await expect(page.getByText('参数已修改,待重新执行。')).toBeVisible();
|
||||
await page.getByRole('button', { name: '执行演示' }).click();
|
||||
await expect(page.locator('output')).toContainText('S = 50.265482');
|
||||
await expect(page.locator('output')).toHaveText('50.2655');
|
||||
|
||||
// Switching mode must not re-run or reset the demo.
|
||||
await page.getByRole('button', { name: '源码', exact: true }).click();
|
||||
await page.getByRole('button', { name: '交互计算', exact: true }).click();
|
||||
await expect(page.locator('output')).toContainText('S = 50.265482');
|
||||
await expect(page.locator('output')).toHaveText('50.2655');
|
||||
await expect(input).toHaveValue('4');
|
||||
|
||||
await input.fill('-1');
|
||||
@@ -66,7 +67,7 @@ test('document demo keeps one state across four view modes and validates input',
|
||||
|
||||
await input.fill('0');
|
||||
await page.getByRole('button', { name: '执行演示' }).click();
|
||||
await expect(page.locator('output')).toContainText('S = 0.000000');
|
||||
await expect(page.locator('output')).toHaveText('0.0000');
|
||||
});
|
||||
|
||||
test('download centre leads with both products and states the data contract', async ({ page }) => {
|
||||
@@ -74,8 +75,15 @@ test('download centre leads with both products and states the data contract', as
|
||||
await page.getByRole('link', { name: '下载 Marqdo' }).first().click();
|
||||
await expect(page).toHaveURL(/\/download\/#marqdo$/);
|
||||
await expect(page.getByRole('heading', { name: 'Marqdo', exact: true }).first()).toBeVisible();
|
||||
await expect(page.getByRole('heading', { name: 'MQDH / Marqdo Harness' })).toBeVisible();
|
||||
await expect(page.getByRole('heading', { name: 'Marqdo Harness', exact: true })).toBeVisible();
|
||||
await expect(page.getByText('官网尚未接入主仓公开发行快照。', { exact: false })).toBeVisible();
|
||||
const comparison = page.locator('.products');
|
||||
await comparison.getByRole('link', { name: '查看发行状态' }).last().click();
|
||||
await expect(page).toHaveURL(/#mqdh$/);
|
||||
await expect(page.locator('#marqdo')).toBeHidden();
|
||||
await expect(page.locator('#mqdh').getByRole('link', { name: '官方发行记录' })).toHaveAttribute('href', 'https://git.cflmy.cn/cflmy/marqdo-app-harness/releases');
|
||||
await page.getByRole('link', { name: '独立工具与可选组件' }).click();
|
||||
await expect(page.getByRole('heading', { name: '高级下载与独立发行' })).toBeVisible();
|
||||
await page.getByRole('link', { name: 'English' }).click();
|
||||
await expect(page).toHaveURL(/\/en\/download\/$/);
|
||||
await expect(page.getByRole('heading', { name: 'Download Marqdo', exact: true })).toBeVisible();
|
||||
@@ -102,9 +110,12 @@ test('feedback and ecosystem filtering', async ({ page }) => {
|
||||
await page.getByLabel('选择组件').selectOption({ label: 'website' });
|
||||
await expect(page.getByRole('link', { name: /前往 Gitea 新建工单/ })).toHaveAttribute('href', 'https://git.cflmy.cn/cflmy/marqdo-site/issues/new');
|
||||
await page.goto('/ecosystem/');
|
||||
await expect(page.locator('#view').getByRole('link', { name: 'cli' })).toHaveAttribute('href', '#cli');
|
||||
await page.getByLabel('筛选组件').fill('app-harness');
|
||||
await expect(page.getByRole('heading', { name: /app-harness/ })).toBeVisible();
|
||||
await expect(page.getByRole('heading', { name: /^cli ·/ })).toBeHidden();
|
||||
await expect(page.locator('#app-harness')).toBeVisible();
|
||||
await expect(page.locator('#cli')).toBeHidden();
|
||||
await page.getByLabel('分类', { exact: true }).selectOption('tool');
|
||||
await expect(page.getByText('没有符合条件的组件。')).toBeVisible();
|
||||
});
|
||||
|
||||
test('static navigation works without JavaScript; 404 status is real', async ({ browser, request }) => {
|
||||
@@ -113,6 +124,9 @@ test('static navigation works without JavaScript; 404 status is real', async ({
|
||||
await expect(page.getByRole('heading', { name: 'Area of a circle' })).toBeVisible();
|
||||
await page.getByRole('link', { name: 'Download' }).first().click();
|
||||
await expect(page.getByRole('heading', { name: 'Marqdo', exact: true }).first()).toBeVisible();
|
||||
await page.getByRole('link', { name: 'MQDH', exact: true }).click();
|
||||
await expect(page.locator('#mqdh')).toBeVisible();
|
||||
await expect(page.locator('#marqdo')).toBeHidden();
|
||||
const response = await request.get('/missing-route');
|
||||
expect(response.status()).toBe(404);
|
||||
await page.close();
|
||||
@@ -121,7 +135,7 @@ test('static navigation works without JavaScript; 404 status is real', async ({
|
||||
for (const width of [360, 390, 768, 1024, 1440]) {
|
||||
test(`no horizontal overflow at ${width}px`, async ({ page }) => {
|
||||
await page.setViewportSize({ width, height: 900 });
|
||||
for (const route of ['/', '/download/', '/en/', '/ecosystem/']) {
|
||||
for (const route of ['/', '/download/', '/en/', '/ecosystem/', '/research/']) {
|
||||
await page.goto(route);
|
||||
expect(await page.evaluate(() => document.documentElement.scrollWidth)).toBeLessThanOrEqual(width);
|
||||
}
|
||||
@@ -136,3 +150,87 @@ test('reduced motion and 200% text keep navigation and actions usable', async ({
|
||||
await expect(page.getByRole('link', { name: /快速开始/ })).toBeVisible();
|
||||
expect(await page.evaluate(() => document.documentElement.scrollWidth)).toBeLessThanOrEqual(720);
|
||||
});
|
||||
|
||||
test('shared desktop grid aligns homepage sections and preserves the three-pane split', async ({ page }) => {
|
||||
await page.setViewportSize({ width: 1440, height: 900 });
|
||||
await page.emulateMedia({ reducedMotion: 'reduce' });
|
||||
await page.goto('/');
|
||||
for (const selector of ['.site-header__inner', '.hero__grid', '.demo', '.collaboration', '.ecosystem-map', '.cta', '.footer-rule']) {
|
||||
const { x, width } = await page.locator(selector).boundingBox();
|
||||
expect([x, width], selector).toEqual([120, 1200]);
|
||||
}
|
||||
const widths = await page.locator('.demo__pane').evaluateAll(panes => panes.map(pane => pane.getBoundingClientRect().width));
|
||||
const total = widths.reduce((sum, width) => sum + width, 0);
|
||||
expect(widths.map(width => Math.round(100 * width / total))).toEqual([38, 34, 28]);
|
||||
await expect(page.locator('.hero__poster')).toBeVisible();
|
||||
await expect(page.locator('.hero__art canvas')).toHaveCount(0);
|
||||
});
|
||||
|
||||
test('mobile places actions before the static hero art and exposes the reading mode', async ({ page }) => {
|
||||
await page.setViewportSize({ width: 390, height: 844 });
|
||||
await page.goto('/');
|
||||
const actions = await page.locator('.hero__actions').boundingBox();
|
||||
const art = await page.locator('.hero__art').boundingBox();
|
||||
expect(actions.y + actions.height).toBeLessThanOrEqual(art.y);
|
||||
const brand = await page.locator('.brand').boundingBox();
|
||||
const menu = await page.locator('.menu summary').boundingBox();
|
||||
expect(Math.abs(brand.y + brand.height / 2 - menu.y - menu.height / 2)).toBeLessThanOrEqual(1);
|
||||
await expect(page.getByRole('button', { name: '知识阅读' })).toHaveAttribute('aria-pressed', 'true');
|
||||
await expect(page.locator('.demo__modes button')).toHaveCount(4);
|
||||
await expect(page.locator('.hero__poster')).toBeVisible();
|
||||
await expect(page.locator('.hero__art canvas')).toHaveCount(0);
|
||||
await page.locator('.menu summary').click();
|
||||
await page.getByRole('button', { name: '切换深色主题' }).click();
|
||||
await expect(page.locator('html')).toHaveAttribute('data-theme', 'dark');
|
||||
});
|
||||
|
||||
test('research index reaches grouped topics and existing deep links', async ({ page }) => {
|
||||
await page.goto('/research/#guided-execution');
|
||||
await expect(page.locator(':target')).toHaveAttribute('id', 'guided-execution');
|
||||
await page.getByRole('navigation', { name: '主题索引' }).getByRole('link', { name: '验证与复用' }).click();
|
||||
await expect(page.locator(':target')).toHaveAttribute('id', 'verification');
|
||||
await expect(page.getByRole('link', { name: '查看可复现示例' })).toHaveAttribute('href', '/start/#geometry');
|
||||
});
|
||||
|
||||
test('interior mastheads are centered and preserve peer alignment', async ({ page }) => {
|
||||
await page.setViewportSize({ width: 1440, height: 1000 });
|
||||
for (const path of ['/ecosystem/', '/research/', '/download/']) {
|
||||
await page.goto(path);
|
||||
const header = await page.locator('.page-head').boundingBox();
|
||||
const subtitle = await page.locator('.page-head p').boundingBox();
|
||||
expect(subtitle.x + subtitle.width / 2).toBe(header.x + header.width / 2);
|
||||
}
|
||||
const products = await page.locator('.product').evaluateAll(items => items.map(item => {
|
||||
const box = item.getBoundingClientRect();
|
||||
return [box.y, box.width, box.height];
|
||||
}));
|
||||
expect(products[0]).toEqual(products[1]);
|
||||
await page.goto('/ecosystem/');
|
||||
const search = await page.getByLabel('筛选组件').boundingBox();
|
||||
const category = await page.getByLabel('分类', { exact: true }).boundingBox();
|
||||
expect(category.y).toBe(search.y);
|
||||
expect(category.x).toBeGreaterThan(search.x + search.width);
|
||||
});
|
||||
|
||||
test('unavailable WebGL keeps the poster and avoids downloading the scene', async ({ page }) => {
|
||||
await page.setViewportSize({ width: 1440, height: 900 });
|
||||
await page.addInitScript(() => {
|
||||
const getContext = HTMLCanvasElement.prototype.getContext;
|
||||
HTMLCanvasElement.prototype.getContext = function (kind, ...args) {
|
||||
if (kind === 'webgl2') {
|
||||
document.documentElement.dataset.webglProbed = '';
|
||||
return null;
|
||||
}
|
||||
return getContext.call(this, kind, ...args);
|
||||
};
|
||||
});
|
||||
const sceneRequests = [];
|
||||
page.on('request', request => {
|
||||
if (/\/hero-particles\.[\w-]+\.js$/.test(new URL(request.url()).pathname)) sceneRequests.push(request.url());
|
||||
});
|
||||
await page.goto('/');
|
||||
await expect(page.locator('html')).toHaveAttribute('data-webgl-probed', '');
|
||||
await expect(page.locator('.hero__poster')).toBeVisible();
|
||||
await expect(page.locator('.hero__art canvas')).toHaveCount(0);
|
||||
expect(sceneRequests).toHaveLength(0);
|
||||
});
|
||||
Reference in new issue
Block a user