Compare commits
16 Commits
v0.0.1-dev
...
v0.0.9-dev
| Author | SHA1 | Date | |
|---|---|---|---|
| 36f94e7697 | |||
| 44a518bad1 | |||
| c3b86d8f89 | |||
| 1384554361 | |||
| 76168b6927 | |||
| d7b89b6d46 | |||
| 6454a51fd0 | |||
| 2cd0e007e4 | |||
| 9c86ecc338 | |||
| a2936fb39c | |||
| 884357e677 | |||
| 605058c39e | |||
| 1cc36cb9f7 | |||
| 27ed0fbf79 | |||
| 15b138cdd7 | |||
| cdd1c03edb |
@@ -42,6 +42,11 @@ export default function RootLayout({
|
|||||||
return (
|
return (
|
||||||
<html
|
<html
|
||||||
lang="zh-CN"
|
lang="zh-CN"
|
||||||
|
// 浏览器插件(沉浸式翻译等)会在 hydration 前往 <html> 注入
|
||||||
|
// data-immersive-translate-page-theme 等属性,触发属性级 hydration
|
||||||
|
// 告警;suppressHydrationWarning 只忽略该元素的属性差异,
|
||||||
|
// 不影响子树的正常 mismatch 检测。
|
||||||
|
suppressHydrationWarning
|
||||||
className={`${tiktokSans.variable} ${geistMono.variable} ${departureMono.variable}`}
|
className={`${tiktokSans.variable} ${geistMono.variable} ${departureMono.variable}`}
|
||||||
>
|
>
|
||||||
<head>
|
<head>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { useEffect, useMemo, useRef, useState } from "react";
|
import { useEffect, useMemo, useRef } from "react";
|
||||||
import { useFrame, useLoader, useThree } from "@react-three/fiber";
|
import { useFrame, useLoader, useThree } from "@react-three/fiber";
|
||||||
import * as THREE from "three";
|
import * as THREE from "three";
|
||||||
import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader.js";
|
import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader.js";
|
||||||
@@ -213,11 +213,14 @@ void main() {
|
|||||||
float tintK_hard = clamp(uTintEnabled, 0.0, 1.0) * clamp(uTintMix, 0.0, 1.0) * tintAlpha;
|
float tintK_hard = clamp(uTintEnabled, 0.0, 1.0) * clamp(uTintMix, 0.0, 1.0) * tintAlpha;
|
||||||
vec3 baseClamped = clamp(color, 0.0, 1.0);
|
vec3 baseClamped = clamp(color, 0.0, 1.0);
|
||||||
vec3 blendClamped = clamp(tintColorGradient.rgb, 0.0, 1.0);
|
vec3 blendClamped = clamp(tintColorGradient.rgb, 0.0, 1.0);
|
||||||
// Hard Light blend: 2*blend*base where base < 0.5, screen elsewhere
|
// Hard Light blend(原版逐通道):blend 通道 > 0.5 → screen,否则 multiply。
|
||||||
|
// 注意选择器是 blend(tint 色)而非 base —— 暗色主题的 #64c3ff/#8e9dc4
|
||||||
|
// 各通道跨 0.5,选错变量会导致 Dark 下模型颜色整体偏差。
|
||||||
|
vec3 h = step(vec3(0.5), blendClamped);
|
||||||
vec3 hard = mix(
|
vec3 hard = mix(
|
||||||
2.0 * blendClamped * baseClamped,
|
2.0 * baseClamped * blendClamped,
|
||||||
1.0 - 2.0 * (1.0 - blendClamped) * (1.0 - baseClamped),
|
1.0 - 2.0 * (1.0 - blendClamped) * (1.0 - baseClamped),
|
||||||
step(0.5, baseClamped)
|
h
|
||||||
);
|
);
|
||||||
vec3 hardColor = mix(color, hard, tintK_hard);
|
vec3 hardColor = mix(color, hard, tintK_hard);
|
||||||
|
|
||||||
@@ -307,6 +310,16 @@ type GlassModelProps = {
|
|||||||
*/
|
*/
|
||||||
sectionTopDocY?: number;
|
sectionTopDocY?: number;
|
||||||
sectionHeightPx?: number;
|
sectionHeightPx?: number;
|
||||||
|
/**
|
||||||
|
* Live-read the section's document geometry by element id EVERY frame
|
||||||
|
* (original sX readSectionContentLayout: getBoundingClientRect +
|
||||||
|
* scrollTop). Required on mobile: dvh shrinks/grows as the URL bar
|
||||||
|
* collapses/expands, every h-dvh section (hero, footer) reflows, and some
|
||||||
|
* browsers never fire window resize for it — one-shot offsetTop
|
||||||
|
* measurements go stale and the model drifts off its section. Falls back
|
||||||
|
* to the static props above while the element is missing.
|
||||||
|
*/
|
||||||
|
sectionElId?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
function useFloatOffset(enabled: boolean) {
|
function useFloatOffset(enabled: boolean) {
|
||||||
@@ -381,6 +394,7 @@ function GlassModel({
|
|||||||
isMobile = false,
|
isMobile = false,
|
||||||
sectionTopDocY = 0,
|
sectionTopDocY = 0,
|
||||||
sectionHeightPx,
|
sectionHeightPx,
|
||||||
|
sectionElId,
|
||||||
}: GlassModelProps) {
|
}: GlassModelProps) {
|
||||||
const gltf = useLoader(GLTFLoader, url);
|
const gltf = useLoader(GLTFLoader, url);
|
||||||
const groupRef = useRef<THREE.Group>(null!);
|
const groupRef = useRef<THREE.Group>(null!);
|
||||||
@@ -449,11 +463,18 @@ function GlassModel({
|
|||||||
// Scene-texture FBO: render layer 0 (background + stickers) at half res.
|
// Scene-texture FBO: render layer 0 (background + stickers) at half res.
|
||||||
// Same as the original GlassSystem: one shared pass, camera mask forced to
|
// Same as the original GlassSystem: one shared pass, camera mask forced to
|
||||||
// layer 0 so glass meshes (layer 10) are excluded from their own refraction.
|
// layer 0 so glass meshes (layer 10) are excluded from their own refraction.
|
||||||
|
// ⚠ type: HalfFloatType —— 原版 sb() 工厂创建的所有 RT 均为 HalfFloat
|
||||||
|
// (4d3f3b68 @200877: {minFilter,magFilter,type:HalfFloatType,...})。
|
||||||
|
// UnsignedByte 的默认 RT 会让折射纹理的暗部量化/截断,Dark 主题下
|
||||||
|
// Hard-Light 着色的底色因此偏灰(模型"发透明感"而非饱和蓝)。
|
||||||
const fbo = useMemo(() => {
|
const fbo = useMemo(() => {
|
||||||
const dpr = gl.getPixelRatio();
|
const dpr = gl.getPixelRatio();
|
||||||
const w = Math.max(2, Math.floor((size.width * dpr) / 2));
|
const w = Math.max(2, Math.floor((size.width * dpr) / 2));
|
||||||
const h = Math.max(2, Math.floor((size.height * dpr) / 2));
|
const h = Math.max(2, Math.floor((size.height * dpr) / 2));
|
||||||
const target = new THREE.WebGLRenderTarget(w, h, {
|
const target = new THREE.WebGLRenderTarget(w, h, {
|
||||||
|
minFilter: THREE.LinearFilter,
|
||||||
|
magFilter: THREE.LinearFilter,
|
||||||
|
type: THREE.HalfFloatType,
|
||||||
stencilBuffer: false,
|
stencilBuffer: false,
|
||||||
depthBuffer: true,
|
depthBuffer: true,
|
||||||
samples: 0,
|
samples: 0,
|
||||||
@@ -520,37 +541,59 @@ function GlassModel({
|
|||||||
// flips. Per-model tingColor overrides: m[0]/m[1] light A/B,
|
// flips. Per-model tingColor overrides: m[0]/m[1] light A/B,
|
||||||
// m[2]/m[3] dark A/B, missing entries fall back to the theme defaults.
|
// m[2]/m[3] dark A/B, missing entries fall back to the theme defaults.
|
||||||
const isDark = useResolvedTheme() === "dark";
|
const isDark = useResolvedTheme() === "dark";
|
||||||
|
// ⚠ R3F 对 ShaderMaterial 的 `uniforms` prop 做的是「按键浅合并」:
|
||||||
|
// material.uniforms 是独立容器,标量按值拷贝、Vector4/Texture 共享引用,
|
||||||
|
// 且仅在 prop 引用变化时重新合并。材质创建后再改 memo 对象,标量
|
||||||
|
// (uDark、brightness、thickness alpha、loop…)永远到不了 GPU —— Dark
|
||||||
|
// 主题下 uDark 卡在 0、参数卡在 light 值,模型因此失色。原版所有
|
||||||
|
// apply 都写 T.current.uniforms(材质 ref);这里同样穿透到材质,
|
||||||
|
// 材质未挂载时回落到 memo(创建时会被拷贝进去),并以 mergedGeometry
|
||||||
|
// 作为「材质已存在」信号重跑(原版靠 tintYRange Y 的变化触发同一效果)。
|
||||||
|
const matUniforms = () =>
|
||||||
|
(materialRef.current?.uniforms ?? uniforms) as typeof uniforms;
|
||||||
|
// 原版移动端钳制 loop(apply effect: t=O?Math.min(B.loop,2):B.loop)——
|
||||||
|
// 折射采样少一轮,色散/亮度观感随设备宽度变化;桌面 3、移动 2。
|
||||||
|
const loop = isMobile ? Math.min(LIGHT_PARAMS.loop, 2) : LIGHT_PARAMS.loop;
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
const u = matUniforms();
|
||||||
|
u.uLoop.value = loop;
|
||||||
|
u.uRgbRefraction.value = +(loop <= 3);
|
||||||
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
}, [loop, uniforms, mergedGeometry]);
|
||||||
|
useEffect(() => {
|
||||||
|
const u = matUniforms();
|
||||||
const P = isDark ? DARK_PARAMS : LIGHT_PARAMS;
|
const P = isDark ? DARK_PARAMS : LIGHT_PARAMS;
|
||||||
uniforms.uShininess.value = P.shininess;
|
u.uShininess.value = P.shininess;
|
||||||
uniforms.uDiffuseness.value = P.diffuseness;
|
u.uDiffuseness.value = P.diffuseness;
|
||||||
uniforms.uFresnelPower.value = P.fresnelPower;
|
u.uFresnelPower.value = P.fresnelPower;
|
||||||
uniforms.uFresnelStrength.value = P.fresnelStrength;
|
u.uFresnelStrength.value = P.fresnelStrength;
|
||||||
uniforms.uBrightness.value = P.brightness;
|
u.uBrightness.value = P.brightness;
|
||||||
uniforms.uContrast.value = P.contrast;
|
u.uContrast.value = P.contrast;
|
||||||
uniforms.uGamma.value = P.gamma;
|
u.uGamma.value = P.gamma;
|
||||||
uniforms.uSaturation.value = P.saturation;
|
u.uSaturation.value = P.saturation;
|
||||||
uniforms.uTintMix.value = P.tintMix;
|
u.uTintMix.value = P.tintMix;
|
||||||
uniforms.uTintThicknessMinAlpha.value = P.tintThicknessMinAlpha;
|
u.uTintThicknessMinAlpha.value = P.tintThicknessMinAlpha;
|
||||||
uniforms.uTintThicknessMaxAlpha.value = P.tintThicknessMaxAlpha;
|
u.uTintThicknessMaxAlpha.value = P.tintThicknessMaxAlpha;
|
||||||
const tintA = isDark
|
const tintA = isDark
|
||||||
? (tintColors?.[2] ?? DARK_PARAMS.tintColorA)
|
? (tintColors?.[2] ?? DARK_PARAMS.tintColorA)
|
||||||
: (tintColors?.[0] ?? LIGHT_PARAMS.tintColorA);
|
: (tintColors?.[0] ?? LIGHT_PARAMS.tintColorA);
|
||||||
const tintB = isDark
|
const tintB = isDark
|
||||||
? (tintColors?.[3] ?? DARK_PARAMS.tintColorB)
|
? (tintColors?.[3] ?? DARK_PARAMS.tintColorB)
|
||||||
: (tintColors?.[1] ?? LIGHT_PARAMS.tintColorB);
|
: (tintColors?.[1] ?? LIGHT_PARAMS.tintColorB);
|
||||||
uniforms.uTintColorA.value.copy(hexToVec4(tintA));
|
u.uTintColorA.value.copy(hexToVec4(tintA));
|
||||||
uniforms.uTintColorB.value.copy(hexToVec4(tintB));
|
u.uTintColorB.value.copy(hexToVec4(tintB));
|
||||||
uniforms.uDark.value = isDark ? 1 : 0;
|
u.uDark.value = isDark ? 1 : 0;
|
||||||
}, [isDark, tintColors, uniforms]);
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
}, [isDark, tintColors, uniforms, mergedGeometry]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const drawingBufferSize = gl.getDrawingBufferSize(new THREE.Vector2());
|
const drawingBufferSize = gl.getDrawingBufferSize(new THREE.Vector2());
|
||||||
uniforms.uScreenResolutionPx.value.set(
|
matUniforms().uScreenResolutionPx.value.set(
|
||||||
drawingBufferSize.x,
|
drawingBufferSize.x,
|
||||||
drawingBufferSize.y
|
drawingBufferSize.y
|
||||||
);
|
);
|
||||||
}, [gl, size, uniforms]);
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
}, [gl, size, uniforms, mergedGeometry]);
|
||||||
|
|
||||||
// Float bob: desktop only in the original (floatingMotion && !isMobileWidth)
|
// Float bob: desktop only in the original (floatingMotion && !isMobileWidth)
|
||||||
const floatEnabled = floating && !isMobile;
|
const floatEnabled = floating && !isMobile;
|
||||||
@@ -598,13 +641,31 @@ function GlassModel({
|
|||||||
const spin = spinRef.current;
|
const spin = spinRef.current;
|
||||||
if (!g) return;
|
if (!g) return;
|
||||||
|
|
||||||
|
// --- Section geometry: live DOM read (original sX
|
||||||
|
// readSectionContentLayout) ---
|
||||||
|
// 原版每帧 getBoundingClientRect + scrollTop 重算 section 文档坐标。
|
||||||
|
// 移动端 dvh 随地址栏收起/展开变化,hero/footer 均为 h-dvh,布局随之
|
||||||
|
// 平移;部分浏览器不为此派发 window resize,一次性 offsetTop 测量会
|
||||||
|
// 过期导致锚点漂移(真机偏移、PC 模拟正常的根源)。元素缺失时回落
|
||||||
|
// 到静态测量值。
|
||||||
|
let secTop = sectionTopDocY;
|
||||||
|
let secHeight = sectionHeightPx;
|
||||||
|
if (sectionElId) {
|
||||||
|
const el = document.getElementById(sectionElId);
|
||||||
|
if (el) {
|
||||||
|
const rect = el.getBoundingClientRect();
|
||||||
|
secTop = rect.top + window.scrollY;
|
||||||
|
secHeight = rect.height;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// --- Section-anchored scroll state (banner: top 0, h-dvh) ---
|
// --- Section-anchored scroll state (banner: top 0, h-dvh) ---
|
||||||
const vh = Math.max(1, state.size.height);
|
const vh = Math.max(1, state.size.height);
|
||||||
const sectionH = Math.max(1, sectionHeightPx ?? vh);
|
const sectionH = Math.max(1, secHeight ?? vh);
|
||||||
const scrollTop = Math.max(0, scrollBus.current);
|
const scrollTop = Math.max(0, scrollBus.current);
|
||||||
|
|
||||||
// Original X(): hide the model once its section leaves the viewport.
|
// Original X(): hide the model once its section leaves the viewport.
|
||||||
const deltaTop = sectionTopDocY - scrollTop;
|
const deltaTop = secTop - scrollTop;
|
||||||
g.visible = deltaTop + sectionH > 0 && deltaTop < vh;
|
g.visible = deltaTop + sectionH > 0 && deltaTop < vh;
|
||||||
|
|
||||||
// Original position sync:
|
// Original position sync:
|
||||||
@@ -617,7 +678,7 @@ function GlassModel({
|
|||||||
camera,
|
camera,
|
||||||
new THREE.Vector3(0, 0, position[2])
|
new THREE.Vector3(0, 0, position[2])
|
||||||
).height;
|
).height;
|
||||||
const anchorDocY = sectionTopDocY + sectionH / 2;
|
const anchorDocY = secTop + sectionH / 2;
|
||||||
const syncWorldY =
|
const syncWorldY =
|
||||||
(0.5 - anchorDocY / vh) * viewportWorldHeight +
|
(0.5 - anchorDocY / vh) * viewportWorldHeight +
|
||||||
(scrollTop / vh) * viewportWorldHeight * scrollSyncFactor;
|
(scrollTop / vh) * viewportWorldHeight * scrollSyncFactor;
|
||||||
@@ -634,7 +695,7 @@ function GlassModel({
|
|||||||
let entry = 1;
|
let entry = 1;
|
||||||
let after = afterRotation ? 1 : 0;
|
let after = afterRotation ? 1 : 0;
|
||||||
if (vh > 0) {
|
if (vh > 0) {
|
||||||
const i = (scrollTop + vh - sectionTopDocY) / vh;
|
const i = (scrollTop + vh - secTop) / vh;
|
||||||
entry = THREE.MathUtils.clamp(i, 0, 1);
|
entry = THREE.MathUtils.clamp(i, 0, 1);
|
||||||
after = THREE.MathUtils.clamp(i - 1, 0, 1);
|
after = THREE.MathUtils.clamp(i - 1, 0, 1);
|
||||||
}
|
}
|
||||||
@@ -701,7 +762,7 @@ function GlassModel({
|
|||||||
export function HelloModel({ isMobile = false }: { isMobile?: boolean }) {
|
export function HelloModel({ isMobile = false }: { isMobile?: boolean }) {
|
||||||
return (
|
return (
|
||||||
<GlassModel
|
<GlassModel
|
||||||
url="/model/hello.gltf"
|
url="/model/hello.glb"
|
||||||
position={[-0.1, 0, 2]}
|
position={[-0.1, 0, 2]}
|
||||||
beforeRotation={[0, 240, 0]}
|
beforeRotation={[0, 240, 0]}
|
||||||
afterRotation={[0, 90, 0]}
|
afterRotation={[0, 90, 0]}
|
||||||
@@ -738,35 +799,20 @@ export function CursorStar({ isMobile = false }: { isMobile?: boolean }) {
|
|||||||
* #contact footer model (original cp call: model/cnt.gltf, scale 19,
|
* #contact footer model (original cp call: model/cnt.gltf, scale 19,
|
||||||
* beforeRotation [-180,0,0], scrollSyncFactor 1 — the cp default — and
|
* beforeRotation [-180,0,0], scrollSyncFactor 1 — the cp default — and
|
||||||
* light-theme tingColor m[0]/m[1] = #FFFFFF/#009dff). Anchored to the
|
* light-theme tingColor m[0]/m[1] = #FFFFFF/#009dff). Anchored to the
|
||||||
* footer section's document geometry, measured live so it tracks layout.
|
* footer section via live per-frame DOM reads (original sX), so mobile
|
||||||
|
* URL-bar dvh reflows can't drift the anchor.
|
||||||
*/
|
*/
|
||||||
export function FooterModel() {
|
export function FooterModel() {
|
||||||
const [geom, setGeom] = useState({ top: 0, height: 0 });
|
|
||||||
useEffect(() => {
|
|
||||||
const measure = () => {
|
|
||||||
const el = document.getElementById("contact");
|
|
||||||
if (el) setGeom({ top: el.offsetTop, height: el.offsetHeight });
|
|
||||||
};
|
|
||||||
measure();
|
|
||||||
window.addEventListener("resize", measure);
|
|
||||||
document.fonts?.ready?.then(measure).catch(() => {});
|
|
||||||
const t = window.setTimeout(measure, 500);
|
|
||||||
return () => {
|
|
||||||
window.removeEventListener("resize", measure);
|
|
||||||
window.clearTimeout(t);
|
|
||||||
};
|
|
||||||
}, []);
|
|
||||||
return (
|
return (
|
||||||
<GlassModel
|
<GlassModel
|
||||||
url="/model/cnt.gltf"
|
url="/model/cnt.glb"
|
||||||
position={[0, 0, 0]}
|
position={[0, 0, 0]}
|
||||||
beforeRotation={[-180, 0, 0]}
|
beforeRotation={[-180, 0, 0]}
|
||||||
rotation={[0, 0, 0]}
|
rotation={[0, 0, 0]}
|
||||||
scale={19}
|
scale={19}
|
||||||
tintColors={["#FFFFFF", "#009dff", "#8e9dc4", "#64c3ff"]}
|
tintColors={["#FFFFFF", "#009dff", "#8e9dc4", "#64c3ff"]}
|
||||||
tintEnabled
|
tintEnabled
|
||||||
sectionTopDocY={geom.top}
|
sectionElId="contact"
|
||||||
sectionHeightPx={geom.height}
|
|
||||||
scrollSyncFactor={1}
|
scrollSyncFactor={1}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -423,7 +423,11 @@ export function LoadingCurtain({
|
|||||||
// dedicated fullscreen fixed wrapper gives the container a real viewport
|
// dedicated fullscreen fixed wrapper gives the container a real viewport
|
||||||
// box; pointer-events:none inherits to the whole subtree.
|
// box; pointer-events:none inherits to the whole subtree.
|
||||||
return (
|
return (
|
||||||
<div className="fixed inset-0 z-[60] pointer-events-none">
|
// 原版这块幕布 Canvas 是 "z-30 fixed inset-0 pointer-events-none":
|
||||||
|
// 盖住页面内容(≤z-20),但必须低于移动端全屏菜单(z-40)、
|
||||||
|
// 进度条(z-40)与 Header(z-50)——曾写成 z-[60] 会把菜单整个
|
||||||
|
// 压在幕布下面,移动端打开菜单只剩一片背景色。
|
||||||
|
<div className="fixed inset-0 z-30 pointer-events-none">
|
||||||
<Canvas
|
<Canvas
|
||||||
dpr={[1, 2]}
|
dpr={[1, 2]}
|
||||||
frameloop="demand"
|
frameloop="demand"
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import { useFrame, useThree } from "@react-three/fiber";
|
|||||||
import { EffectComposer } from "@react-three/postprocessing";
|
import { EffectComposer } from "@react-three/postprocessing";
|
||||||
import { UnsignedByteType, Vector2 } from "three";
|
import { UnsignedByteType, Vector2 } from "three";
|
||||||
import { usePointer } from "@/lib/pointer";
|
import { usePointer } from "@/lib/pointer";
|
||||||
|
import { useResolvedTheme } from "@/lib/shellMedia";
|
||||||
import { scrollBus } from "@/lib/scrollBus";
|
import { scrollBus } from "@/lib/scrollBus";
|
||||||
import {
|
import {
|
||||||
FluidPushPass,
|
FluidPushPass,
|
||||||
@@ -30,10 +31,15 @@ import {
|
|||||||
* lime trail acts as a pointer indicator over the dot curtain
|
* lime trail acts as a pointer indicator over the dot curtain
|
||||||
* - params: starRays 6, intensity .7, threshold .99, streakScale
|
* - params: starRays 6, intensity .7, threshold .99, streakScale
|
||||||
* 8·(w/1920)·(mobile?2:1), hotspotPower 32, gate .88,
|
* 8·(w/1920)·(mobile?2:1), hotspotPower 32, gate .88,
|
||||||
* tailColorLight #ffa300
|
* tailColor 随主题: light #ffa300 / dark #1600ff(原 lensFlare 控制
|
||||||
|
* tailColorLight/tailColorDark,resolvedTheme 切换)。
|
||||||
|
* ⚠ 尾迹色叠在玻璃高光热点上:Dark 下用橙色会把模型区域的
|
||||||
|
* r/g 抬高、显得"发灰发透明"而非原版的饱和蓝。
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const BRIGHT_SOURCE_SECTIONS = ["banner", "footer"];
|
const BRIGHT_SOURCE_SECTIONS = ["banner", "footer"];
|
||||||
|
const TAIL_COLOR_LIGHT = "#ffa300";
|
||||||
|
const TAIL_COLOR_DARK = "#1600ff";
|
||||||
const clamp01 = (v: number) => Math.min(1, Math.max(0, v));
|
const clamp01 = (v: number) => Math.min(1, Math.max(0, v));
|
||||||
const sT = (e?: number) => (e === undefined ? 0 : clamp01(e > 1 ? e / 100 : e));
|
const sT = (e?: number) => (e === undefined ? 0 : clamp01(e > 1 ? e / 100 : e));
|
||||||
|
|
||||||
@@ -81,6 +87,9 @@ export function PostFX() {
|
|||||||
const { uv: pointerUv, insideRef } = usePointer();
|
const { uv: pointerUv, insideRef } = usePointer();
|
||||||
const isMobile = size.width < 1024;
|
const isMobile = size.width < 1024;
|
||||||
const reducedMotion = useReducedMotion();
|
const reducedMotion = useReducedMotion();
|
||||||
|
// 尾迹色随主题(原版: resolvedTheme → tailColorDark / tailColorLight)
|
||||||
|
const isDark = useResolvedTheme() === "dark";
|
||||||
|
const tailColor = isDark ? TAIL_COLOR_DARK : TAIL_COLOR_LIGHT;
|
||||||
|
|
||||||
const composerRef = useRef<any>(null);
|
const composerRef = useRef<any>(null);
|
||||||
|
|
||||||
@@ -95,9 +104,11 @@ export function PostFX() {
|
|||||||
streakScale: 8,
|
streakScale: 8,
|
||||||
hotspotPower: 32,
|
hotspotPower: 32,
|
||||||
gate: 0.88,
|
gate: 0.88,
|
||||||
tailColor: "#ffa300",
|
tailColor,
|
||||||
}),
|
}),
|
||||||
[]
|
// 尾迹色随主题切换时需重建材质 uniform —— tailColor 进依赖
|
||||||
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
[tailColor]
|
||||||
);
|
);
|
||||||
const fluidPass = useMemo(() => new FluidPushPass(), []);
|
const fluidPass = useMemo(() => new FluidPushPass(), []);
|
||||||
|
|
||||||
@@ -124,9 +135,9 @@ export function PostFX() {
|
|||||||
streakScale,
|
streakScale,
|
||||||
hotspotPower: 32,
|
hotspotPower: 32,
|
||||||
gate: 0.88,
|
gate: 0.88,
|
||||||
tailColor: "#ffa300",
|
tailColor,
|
||||||
});
|
});
|
||||||
}, [flarePass, streakScale]);
|
}, [flarePass, streakScale, tailColor]);
|
||||||
|
|
||||||
const dprRef = useRef(1);
|
const dprRef = useRef(1);
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
@@ -6,7 +6,12 @@ import { useShellMedia, type ThemeSetting } from "@/lib/shellMedia";
|
|||||||
import { useBgm } from "@/lib/useBgm";
|
import { useBgm } from "@/lib/useBgm";
|
||||||
import { scrollEnv, PENDING_SCROLL_ANCHOR_SESSION_KEY } from "@/lib/scrollEnv";
|
import { scrollEnv, PENDING_SCROLL_ANCHOR_SESSION_KEY } from "@/lib/scrollEnv";
|
||||||
import { usePathname } from "next/navigation";
|
import { usePathname } from "next/navigation";
|
||||||
import { useRouteTransitionController } from "@/lib/routeTransition";
|
import {
|
||||||
|
useRouteTransitionController,
|
||||||
|
useFullscreenTransitionController,
|
||||||
|
} from "@/lib/routeTransition";
|
||||||
|
import { loadingBus } from "@/lib/loadingBus";
|
||||||
|
import { useIsMobile } from "@/lib/useIsMobile";
|
||||||
import {
|
import {
|
||||||
useArrowFullscreenPastThreshold,
|
useArrowFullscreenPastThreshold,
|
||||||
ARROW_FULLSCREEN_DOM_COLOR_TRANSITION,
|
ARROW_FULLSCREEN_DOM_COLOR_TRANSITION,
|
||||||
@@ -25,6 +30,14 @@ import {
|
|||||||
* nav-hint panel (top-24): keyboard help + browser name + viewport
|
* nav-hint panel (top-24): keyboard help + browser name + viewport
|
||||||
* size. Pointer-down or any shortcut key resets it; changing
|
* size. Pointer-down or any shortcut key resets it; changing
|
||||||
* theme/sound also hides it (original P counter logic).
|
* theme/sound also hides it (original P counter logic).
|
||||||
|
* - Mobile (<1024px): hamburger button top-right (two bars ↔ X,
|
||||||
|
* 1200ms ease-66 morph) toggles the fullscreen menu overlay —
|
||||||
|
* Home / Work / Contact at text-[10svw] on the dark WebGL curtain
|
||||||
|
* (menuOpen drives RouteTransitionOverlay's open prop); the bottom
|
||||||
|
* row gains THEME/SOUND toggles while open. Menu items get the
|
||||||
|
* white dotted tone when it was opened past the arrow-fullscreen
|
||||||
|
* threshold (original k.current snapshot); the menu auto-closes on
|
||||||
|
* the home loading gate and when resizing back to desktop.
|
||||||
* - Bottom row: live clock, pointer coordinate readout (click → scroll
|
* - Bottom row: live clock, pointer coordinate readout (click → scroll
|
||||||
* to top), and — replacing the original RotatingGlobe — the
|
* to top), and — replacing the original RotatingGlobe — the
|
||||||
* VIRTHEART copyright line.
|
* VIRTHEART copyright line.
|
||||||
@@ -33,9 +46,12 @@ import {
|
|||||||
|
|
||||||
const SPINNER = ["|", "/", "-", "\\"];
|
const SPINNER = ["|", "/", "-", "\\"];
|
||||||
|
|
||||||
const dotted =
|
const DOTTED_BASE =
|
||||||
"relative before:content-[''] before:absolute before:inset-0 before:border-2 before:border-dotted before:border-transparent before:pointer-events-none before:transition-colors before:duration-200 lg:hover:before:border-l1";
|
"relative before:content-[''] before:absolute before:inset-0 before:border-2 before:border-dotted before:border-transparent before:pointer-events-none before:transition-colors before:duration-200 lg:hover:before:border-l1";
|
||||||
|
|
||||||
|
const DOTTED_BASE_WHITE =
|
||||||
|
"relative before:content-[''] before:absolute before:inset-0 before:border-2 before:border-dotted before:border-white before:pointer-events-none before:transition-colors before:duration-200 lg:hover:before:border-white";
|
||||||
|
|
||||||
function useBrowserName(): string {
|
function useBrowserName(): string {
|
||||||
const [name, setName] = useState("未知");
|
const [name, setName] = useState("未知");
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -61,7 +77,9 @@ export default function Header({
|
|||||||
const { theme, setTheme, soundEnabled, setSoundEnabled } = useShellMedia();
|
const { theme, setTheme, soundEnabled, setSoundEnabled } = useShellMedia();
|
||||||
useBgm(soundEnabled);
|
useBgm(soundEnabled);
|
||||||
const { startNavigation } = useRouteTransitionController();
|
const { startNavigation } = useRouteTransitionController();
|
||||||
|
const { menuOpen, setMenuOpen } = useFullscreenTransitionController();
|
||||||
const pathname = usePathname();
|
const pathname = usePathname();
|
||||||
|
const isMobile = useIsMobile();
|
||||||
|
|
||||||
// 首页内锚点直达;其它页面(/services、/work/...)则写入跨页锚点后
|
// 首页内锚点直达;其它页面(/services、/work/...)则写入跨页锚点后
|
||||||
// 走路由过渡回首页,由 SmoothScroller 消费并平滑滚动到位。
|
// 走路由过渡回首页,由 SmoothScroller 消费并平滑滚动到位。
|
||||||
@@ -80,6 +98,10 @@ export default function Header({
|
|||||||
// (and the hyper-space section) turn white over the black stripe base
|
// (and the hyper-space section) turn white over the black stripe base
|
||||||
// (original X = useArrowFullscreenPastThreshold()).
|
// (original X = useArrowFullscreenPastThreshold()).
|
||||||
const arrowWhite = useArrowFullscreenPastThreshold();
|
const arrowWhite = useArrowFullscreenPastThreshold();
|
||||||
|
// Whether the menu was opened while past the arrow-fullscreen threshold —
|
||||||
|
// snapshot at open time (original k.current), drives the white dotted tone
|
||||||
|
// of the fullscreen menu items.
|
||||||
|
const arrowWhiteAtOpenRef = useRef(false);
|
||||||
|
|
||||||
const [time, setTime] = useState("--:--");
|
const [time, setTime] = useState("--:--");
|
||||||
const [coords, setCoords] = useState({ x: "0001", y: "0001" });
|
const [coords, setCoords] = useState({ x: "0001", y: "0001" });
|
||||||
@@ -144,6 +166,40 @@ export default function Header({
|
|||||||
const sinkHint = useCallback(() => setHintCount((c) => Math.max(0, c - 1)), []);
|
const sinkHint = useCallback(() => setHintCount((c) => Math.max(0, c - 1)), []);
|
||||||
const resetHint = useCallback(() => setHintCount(0), []);
|
const resetHint = useCallback(() => setHintCount(0), []);
|
||||||
|
|
||||||
|
// ---- 移动端全屏菜单(原版 R/O 状态)----
|
||||||
|
// 打开快照复位(原版 R||(k.current=!1))。
|
||||||
|
useEffect(() => {
|
||||||
|
if (!menuOpen) arrowWhiteAtOpenRef.current = false;
|
||||||
|
}, [menuOpen]);
|
||||||
|
|
||||||
|
// 首页加载门未就绪时关闭菜单(原版 B&&O(!1);本移植的 heavy-ready
|
||||||
|
// 等价信号是 loadingBus 首屏加载幕布,与 BackgroundGrid 相同)。
|
||||||
|
const [heavyReady, setHeavyReady] = useState(true);
|
||||||
|
useEffect(() => {
|
||||||
|
setHeavyReady(loadingBus.getSnapshot().ready);
|
||||||
|
return loadingBus.subscribe(() =>
|
||||||
|
setHeavyReady(loadingBus.getSnapshot().ready)
|
||||||
|
);
|
||||||
|
}, []);
|
||||||
|
const homeLoadingGate = pathname === "/" && !heavyReady;
|
||||||
|
useEffect(() => {
|
||||||
|
if (homeLoadingGate) setMenuOpen(false);
|
||||||
|
}, [homeLoadingGate, setMenuOpen]);
|
||||||
|
|
||||||
|
// 切回桌面宽度时收起菜单(原版 H||O(!1))。
|
||||||
|
useEffect(() => {
|
||||||
|
if (!isMobile) setMenuOpen(false);
|
||||||
|
}, [isMobile, setMenuOpen]);
|
||||||
|
|
||||||
|
const toggleMenu = useCallback(() => {
|
||||||
|
const next = !menuOpen;
|
||||||
|
if (next) {
|
||||||
|
// 打开瞬间快照箭头全屏状态(原版 k.current = readArro...Threshold())
|
||||||
|
arrowWhiteAtOpenRef.current = arrowWhite;
|
||||||
|
}
|
||||||
|
setMenuOpen(next);
|
||||||
|
}, [menuOpen, arrowWhite, setMenuOpen]);
|
||||||
|
|
||||||
// Changing theme/sound hides the hint panel (original effect).
|
// Changing theme/sound hides the hint panel (original effect).
|
||||||
const prevRef = useRef({ theme, soundEnabled });
|
const prevRef = useRef({ theme, soundEnabled });
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -211,15 +267,44 @@ export default function Header({
|
|||||||
const toggleCommon =
|
const toggleCommon =
|
||||||
"inline-flex shrink-0 items-baseline gap-0 normal-case";
|
"inline-flex shrink-0 items-baseline gap-0 normal-case";
|
||||||
|
|
||||||
|
// 品牌链接点线底色(原版 dottedTone: R ? "default" : X ? "white" : "default")
|
||||||
|
const brandDottedTone = menuOpen
|
||||||
|
? DOTTED_BASE
|
||||||
|
: arrowWhite
|
||||||
|
? DOTTED_BASE_WHITE
|
||||||
|
: DOTTED_BASE;
|
||||||
|
|
||||||
|
// 桌面导航项/底部坐标点线底色(原版 $ = X ? white : default)
|
||||||
|
const dottedTone = arrowWhite ? DOTTED_BASE_WHITE : DOTTED_BASE;
|
||||||
|
|
||||||
|
// 移动端汉堡按钮(lg:hidden,原版两条横线 ↔ X,1200ms ease-66 变形);
|
||||||
|
// 条色(原版 Y = R ? "bg-l1" : X ? "bg-white" : "bg-l1"):打开时亮色条盖在深色幕布上
|
||||||
|
const hamburgerBarBase = `h-0.5 absolute transition-all duration-[1200ms] ease-66 ${
|
||||||
|
menuOpen
|
||||||
|
? "bg-l1"
|
||||||
|
: arrowWhite
|
||||||
|
? "bg-white"
|
||||||
|
: "bg-l1"
|
||||||
|
}`;
|
||||||
|
|
||||||
|
// 全屏菜单项的点线底色(原版 Q:按打开瞬间快照取色)
|
||||||
|
const menuItemDotted = arrowWhiteAtOpenRef.current
|
||||||
|
? DOTTED_BASE_WHITE
|
||||||
|
: DOTTED_BASE;
|
||||||
|
|
||||||
|
// 菜单打开时底部追加的主题/音效切换(原版 tt 类)
|
||||||
|
const menuToggleClass = `${DOTTED_BASE} p-2 text-l1 uppercase cursor-pointer pointer-events-auto ${ARROW_FULLSCREEN_DOM_COLOR_TRANSITION}`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<>
|
||||||
<header
|
<header
|
||||||
className={`z-50 fixed inset-0 flex flex-col justify-between font-mono-2 pointer-events-none ${ARROW_FULLSCREEN_DOM_COLOR_TRANSITION} ${
|
className={`z-50 fixed inset-0 flex flex-col justify-between font-mono-2 pointer-events-none ${ARROW_FULLSCREEN_DOM_COLOR_TRANSITION} ${
|
||||||
arrowWhite ? "text-white" : "text-l1"
|
menuOpen ? "text-l1" : arrowWhite ? "text-white" : "text-l1"
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<div className="flex justify-between items-center px-4 lg:px-14 py-4 lg:py-7 text-base">
|
<div className="flex justify-between items-center px-4 lg:px-14 py-4 lg:py-7 text-base">
|
||||||
<a
|
<a
|
||||||
className={`${dotted} p-2 font-sans font-bold uppercase pointer-events-auto transition-colors duration-300 ease-out`}
|
className={`${brandDottedTone} p-2 font-sans font-bold uppercase pointer-events-auto transition-colors duration-300 ease-out`}
|
||||||
style={{ fontVariationSettings: '"wght" 700, "wdth" 120' }}
|
style={{ fontVariationSettings: '"wght" 700, "wdth" 120' }}
|
||||||
href="/"
|
href="/"
|
||||||
>
|
>
|
||||||
@@ -228,21 +313,21 @@ export default function Header({
|
|||||||
<div className="hidden lg:flex flex-wrap justify-between items-center gap-x-3 gap-y-2 pointer-events-auto basis-1/2 xl:basis-1/3">
|
<div className="hidden lg:flex flex-wrap justify-between items-center gap-x-3 gap-y-2 pointer-events-auto basis-1/2 xl:basis-1/3">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className={`${dotted} p-2 uppercase cursor-pointer`}
|
className={`${dottedTone} p-2 uppercase cursor-pointer`}
|
||||||
onClick={() => goToSection("#selected-work")}
|
onClick={() => goToSection("#selected-work")}
|
||||||
>
|
>
|
||||||
<ScrambleReveal text="作品" startDelayMs={300} scrambleColors={false} />
|
<ScrambleReveal text="作品" startDelayMs={300} scrambleColors={false} />
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className={`${dotted} p-2 uppercase cursor-pointer`}
|
className={`${dottedTone} p-2 uppercase cursor-pointer`}
|
||||||
onClick={() => pathname !== "/services" && startNavigation("/services")}
|
onClick={() => pathname !== "/services" && startNavigation("/services")}
|
||||||
>
|
>
|
||||||
<ScrambleReveal text="服务" startDelayMs={300} scrambleColors={false} />
|
<ScrambleReveal text="服务" startDelayMs={300} scrambleColors={false} />
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className={`${dotted} p-2 uppercase cursor-pointer`}
|
className={`${dottedTone} p-2 uppercase cursor-pointer`}
|
||||||
onClick={() => goToSection("#contact")}
|
onClick={() => goToSection("#contact")}
|
||||||
>
|
>
|
||||||
<ScrambleReveal text="联系" startDelayMs={300} scrambleColors={false} />
|
<ScrambleReveal text="联系" startDelayMs={300} scrambleColors={false} />
|
||||||
@@ -251,7 +336,7 @@ export default function Header({
|
|||||||
role="button"
|
role="button"
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
aria-label={`主题:${theme === "light" ? "浅色" : theme === "dark" ? "深色" : "跟随系统"}`}
|
aria-label={`主题:${theme === "light" ? "浅色" : theme === "dark" ? "深色" : "跟随系统"}`}
|
||||||
className={`${dotted} ${toggleCommon} p-2 uppercase cursor-pointer pointer-events-auto`}
|
className={`${dottedTone} ${toggleCommon} p-2 uppercase cursor-pointer pointer-events-auto`}
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
cycleTheme();
|
cycleTheme();
|
||||||
@@ -280,7 +365,7 @@ export default function Header({
|
|||||||
soundEnabled ? "音效播放中,点击暂停" : "音效已暂停,点击播放"
|
soundEnabled ? "音效播放中,点击暂停" : "音效已暂停,点击播放"
|
||||||
}
|
}
|
||||||
aria-pressed={soundEnabled}
|
aria-pressed={soundEnabled}
|
||||||
className={`${dotted} ${toggleCommon} p-2 uppercase cursor-pointer pointer-events-auto`}
|
className={`${dottedTone} ${toggleCommon} p-2 uppercase cursor-pointer pointer-events-auto`}
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
toggleSound();
|
toggleSound();
|
||||||
@@ -304,6 +389,35 @@ export default function Header({
|
|||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
{/* 移动端右上角菜单按钮(原版 !B && hamburger;本移植首页加载门
|
||||||
|
极短,直接常驻)。两条横线 ↔ X,1200ms ease-66 变形。 */}
|
||||||
|
<div
|
||||||
|
className="lg:hidden flex flex-row justify-end items-center gap-4 col-span-6 p-2 cursor-pointer pointer-events-auto"
|
||||||
|
onClick={toggleMenu}
|
||||||
|
>
|
||||||
|
<div className="relative w-6 h-6">
|
||||||
|
<div
|
||||||
|
className={`${
|
||||||
|
menuOpen ? "w-0 delay-150 opacity-0" : "w-6"
|
||||||
|
} top-1.5 ${hamburgerBarBase}`}
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
className={`${
|
||||||
|
menuOpen ? "w-0 opacity-0" : "w-6 delay-150"
|
||||||
|
} bottom-1.5 ${hamburgerBarBase}`}
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
className={`${
|
||||||
|
menuOpen ? "w-6 delay-150" : "w-0 opacity-0"
|
||||||
|
} right-0 rotate-45 top-2.75 ${hamburgerBarBase}`}
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
className={`${
|
||||||
|
menuOpen ? "w-6" : "w-0 opacity-0 delay-150"
|
||||||
|
} right-0 -rotate-45 bottom-2.75 ${hamburgerBarBase}`}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Nav hint panel — revealed by hovering THEME/SOUND (original P>0,
|
{/* Nav hint panel — revealed by hovering THEME/SOUND (original P>0,
|
||||||
@@ -360,7 +474,7 @@ export default function Header({
|
|||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
className={`${dotted} hidden lg:inline lg:bottom-7 lg:left-1/2 lg:fixed p-2 lg:-translate-x-1/2 cursor-pointer pointer-events-auto`}
|
className={`${dottedTone} hidden lg:inline lg:bottom-7 lg:left-1/2 lg:fixed p-2 lg:-translate-x-1/2 cursor-pointer pointer-events-auto`}
|
||||||
onClick={() => scrollEnv.scrollToTop("smooth")}
|
onClick={() => scrollEnv.scrollToTop("smooth")}
|
||||||
>
|
>
|
||||||
<ScrambleReveal
|
<ScrambleReveal
|
||||||
@@ -379,7 +493,84 @@ export default function Header({
|
|||||||
scrambleColors={false}
|
scrambleColors={false}
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
|
{/* 菜单打开时底部追加的主题/音效切换(原版 tt 类,移动端可见) */}
|
||||||
|
{menuOpen && (
|
||||||
|
<>
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
aria-label={`主题:${theme === "light" ? "浅色" : theme === "dark" ? "深色" : "跟随系统"}`}
|
||||||
|
className={`${menuToggleClass} ${toggleCommon}`}
|
||||||
|
onClick={() => cycleTheme()}
|
||||||
|
>
|
||||||
|
<ScrambleReveal
|
||||||
|
key={`menu-theme-${theme}-${toggleEpoch}`}
|
||||||
|
text={themeLabel}
|
||||||
|
startDelayMs={300}
|
||||||
|
scrambleColors={false}
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
aria-label={soundEnabled ? "音效播放中,点击暂停" : "音效已暂停,点击播放"}
|
||||||
|
aria-pressed={soundEnabled}
|
||||||
|
className={`${menuToggleClass} ${toggleCommon}`}
|
||||||
|
onClick={() => toggleSound()}
|
||||||
|
>
|
||||||
|
<ScrambleReveal
|
||||||
|
key={`menu-sound-${soundEnabled}-${toggleEpoch}`}
|
||||||
|
text={soundLabel}
|
||||||
|
startDelayMs={300}
|
||||||
|
scrambleColors={false}
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
{/* 移动端全屏菜单(原版 R && overlay):z-40 位于 WebGL 幕布(z-30)
|
||||||
|
之上、Header(z-50)之下;首页/作品/服务/联系,text-[10svw] 大字。 */}
|
||||||
|
{menuOpen && (
|
||||||
|
<div className="lg:hidden z-40 fixed inset-0 flex flex-col justify-center items-start px-6 lg:px-16 py-6 lg:py-8 font-mono-2 text-[10svw] text-l1">
|
||||||
|
<a
|
||||||
|
href="/"
|
||||||
|
className={`${menuItemDotted} uppercase`}
|
||||||
|
onClick={() => setMenuOpen(false)}
|
||||||
|
>
|
||||||
|
<ScrambleReveal text="首页" startDelayMs={300} />
|
||||||
|
</a>
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
className={`${menuItemDotted} uppercase text-left cursor-pointer`}
|
||||||
|
onClick={() => {
|
||||||
|
setMenuOpen(false);
|
||||||
|
goToSection("#selected-work");
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<ScrambleReveal text="作品" startDelayMs={400} />
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
className={`${menuItemDotted} uppercase text-left cursor-pointer`}
|
||||||
|
onClick={() => {
|
||||||
|
setMenuOpen(false);
|
||||||
|
if (pathname !== "/services") startNavigation("/services");
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<ScrambleReveal text="服务" startDelayMs={450} />
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
className={`${menuItemDotted} uppercase text-left cursor-pointer`}
|
||||||
|
onClick={() => {
|
||||||
|
setMenuOpen(false);
|
||||||
|
goToSection("#contact");
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<ScrambleReveal text="联系" startDelayMs={500} />
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -153,10 +153,20 @@ export default function RouteTransitionOverlay() {
|
|||||||
// Intent → cover (original effect 1).
|
// Intent → cover (original effect 1).
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (targetHref && mode === "idle") {
|
if (targetHref && mode === "idle") {
|
||||||
|
// startNavigation() resets readyToLoadHeavy, but the bus only notifies
|
||||||
|
// on NEW marks. When every REQUIRED key is already done (any visit to
|
||||||
|
// "/" after the first), no notification ever fires again, so the
|
||||||
|
// route:wait reveal gate for a "/" target would never pass — the
|
||||||
|
// curtain stays covering the page (dots background + header only).
|
||||||
|
// Restore the gate immediately when the snapshot is already ready;
|
||||||
|
// genuinely-pending assets still notify through the subscription.
|
||||||
|
if (loadingBus.getSnapshot().ready) {
|
||||||
|
setReadyToLoadHeavy(true);
|
||||||
|
}
|
||||||
routeFrom.current = { path: pathname, coverDone: false };
|
routeFrom.current = { path: pathname, coverDone: false };
|
||||||
setTransition({ mode: "route", phase: "cover" });
|
setTransition({ mode: "route", phase: "cover" });
|
||||||
}
|
}
|
||||||
}, [targetHref, mode, pathname]);
|
}, [targetHref, mode, pathname, setReadyToLoadHeavy]);
|
||||||
|
|
||||||
// Entry wait → reveal (original effect 2): fires as soon as the gates
|
// Entry wait → reveal (original effect 2): fires as soon as the gates
|
||||||
// pass — the reveal is NOT held for the progress-bar fade timers.
|
// pass — the reveal is NOT held for the progress-bar fade timers.
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|---|---|
|
|---|---|
|
||||||
| `CanvasSizeGuard` | 修复 R3F 首测竞态(见 §7 坑) |
|
| `CanvasSizeGuard` | 修复 R3F 首测竞态(见 §7 坑) |
|
||||||
| `BackgroundFX` | 背景微噪点/渐变平面 |
|
| `BackgroundFX` | 背景微噪点/渐变平面 |
|
||||||
| `GlassModels` | hello.gltf 玻璃字 + cursor.glb 星标 + footer 模型,随 `scrollBus.sP` 分段入场 |
|
| `GlassModels` | hello.glb 玻璃字 + cursor.glb 星标 + footer 模型,随 `scrollBus.sP` 分段入场 |
|
||||||
| `ImageLayers` | 把 DOM 注册表里的图片投影成 3D 平面(作品图 + about 头像) |
|
| `ImageLayers` | 把 DOM 注册表里的图片投影成 3D 平面(作品图 + about 头像) |
|
||||||
| `StickerDrop` | 贴纸雨(sticker_img 图集),滚动触发掉落 |
|
| `StickerDrop` | 贴纸雨(sticker_img 图集),滚动触发掉落 |
|
||||||
| `HyperspaceModel` | hyper-space 区块的隧道箭头(cursor.glb 条纹拉伸) |
|
| `HyperspaceModel` | hyper-space 区块的隧道箭头(cursor.glb 条纹拉伸) |
|
||||||
@@ -51,7 +51,7 @@ const defs = new Map<string, ImageLayerDef>([
|
|||||||
## 6. 加载门(lib/loadingBus.ts + LoadingOverlay)
|
## 6. 加载门(lib/loadingBus.ts + LoadingOverlay)
|
||||||
|
|
||||||
```
|
```
|
||||||
REQUIRED = ["model:hello.gltf", "model:cursor.glb", "stickers", "img:about"]
|
REQUIRED = ["model:hello.glb", "model:cursor.glb", "stickers", "img:about"]
|
||||||
loadingBus.mark(key) → progress = done/4 → ready = 全齐
|
loadingBus.mark(key) → progress = done/4 → ready = 全齐
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -71,8 +71,8 @@ loadingBus.mark(key) → progress = done/4 → ready = 全齐
|
|||||||
|
|
||||||
> 我在克隆 haoqi.design 的 WebGL 层(React Three Fiber + drei,Next.js)。请实现:
|
> 我在克隆 haoqi.design 的 WebGL 层(React Three Fiber + drei,Next.js)。请实现:
|
||||||
> 1. 单一全屏 Canvas 挂在 `top-0 left-0 -z-1 fixed w-full h-dvh lg:h-screen pointer-events-none` 容器里,`gl={{alpha:true, antialias:true}}`,dpr [1,2],容器 style 强制 pointerEvents:"none"(R3F 会强制改回 auto,必须覆盖,否则吞掉 DOM hover)。Canvas 只在首页挂载(usePathname 门控,非首页 return null——注意早退要放在所有 hooks 之后)。
|
> 1. 单一全屏 Canvas 挂在 `top-0 left-0 -z-1 fixed w-full h-dvh lg:h-screen pointer-events-none` 容器里,`gl={{alpha:true, antialias:true}}`,dpr [1,2],容器 style 强制 pointerEvents:"none"(R3F 会强制改回 auto,必须覆盖,否则吞掉 DOM hover)。Canvas 只在首页挂载(usePathname 门控,非首页 return null——注意早退要放在所有 hooks 之后)。
|
||||||
> 2. 场景含:两枚玻璃质感模型(hello.gltf 大字 + cursor.glb 星标)、作品图片层、贴纸雨、hyper-space 隧道模型、背景微噪平面、轻后期。相机进度用一个全局 scrollBus(0=页面顶,1=footer 顶,公式 clamp01((vh-bannerRect.bottom)/(vh*0.75)) * clamp01(footerRect.top/vh))每帧读取。
|
> 2. 场景含:两枚玻璃质感模型(hello.glb 大字 + cursor.glb 星标)、作品图片层、贴纸雨、hyper-space 隧道模型、背景微噪平面、轻后期。相机进度用一个全局 scrollBus(0=页面顶,1=footer 顶,公式 clamp01((vh-bannerRect.bottom)/(vh*0.75)) * clamp01(footerRect.top/vh))每帧读取。
|
||||||
> 3. 图片层用"DOM 注册表"模式:模块级 Map<key,{imageUrl,hoverImageUrl}>,DOM 组件(作品卡/头像占位 div)渲染后 touch 版本号;Canvas 端订阅并每帧把目标元素 getBoundingClientRect() 投影成带视差的 3D 平面。头像区 DOM 端只是 aspect-square 空占位,图片完全由 WebGL 画。
|
> 3. 图片层用"DOM 注册表"模式:模块级 Map<key,{imageUrl,hoverImageUrl}>,DOM 组件(作品卡/头像占位 div)渲染后 touch 版本号;Canvas 端订阅并每帧把目标元素 getBoundingClientRect() 投影成带视差的 3D 平面。头像区 DOM 端只是 aspect-square 空占位,图片完全由 WebGL 画。
|
||||||
> 4. 加载门:模块级 loadingBus,REQUIRED=["model:hello.gltf","model:cursor.glb","stickers","img:about"],mark() 计数,LoadingOverlay 显示 0→100 进度,ready 后揭幕;揭幕同时才显示十字网格(原站 useHomeLoadingGate)。
|
> 4. 加载门:模块级 loadingBus,REQUIRED=["model:hello.glb","model:cursor.glb","stickers","img:about"],mark() 计数,LoadingOverlay 显示 0→100 进度,ready 后揭幕;揭幕同时才显示十字网格(原站 useHomeLoadingGate)。
|
||||||
> 5. 必须处理 R3F 首测竞态:挂载后 40 帧内持续比对 canvas.style 与父容器尺寸,mismatch 时 gl.setSize + setSize 重跑尺寸管线,否则 canvas 会卡在 1440×150。
|
> 5. 必须处理 R3F 首测竞态:挂载后 40 帧内持续比对 canvas.style 与父容器尺寸,mismatch 时 gl.setSize + setSize 重跑尺寸管线,否则 canvas 会卡在 1440×150。
|
||||||
> 验证:截图后用 PIL 断言场景区域平均色 ≠ 页面底色(251,250,244)、canvas width/height 等于视口、离开首页后 canvas 数量为 0。
|
> 验证:截图后用 PIL 断言场景区域平均色 ≠ 页面底色(251,250,244)、canvas width/height 等于视口、离开首页后 canvas 数量为 0。
|
||||||
|
|||||||
@@ -99,16 +99,17 @@ export function verifyCaptcha(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 轨迹基础校验
|
// 轨迹基础校验
|
||||||
if (!Array.isArray(track) || track.length < 6) {
|
if (!Array.isArray(track) || track.length < 4) {
|
||||||
return { ok: false, error: "验证失败,请重试" };
|
return { ok: false, error: "验证失败,请重试" };
|
||||||
}
|
}
|
||||||
const t0 = track[0].t;
|
const t0 = track[0].t;
|
||||||
const tN = track[track.length - 1].t;
|
const tN = track[track.length - 1].t;
|
||||||
const duration = tN - t0;
|
const duration = tN - t0;
|
||||||
if (duration < 1200) {
|
// 真人慢拖可能 0.8s 左右;低于 600ms 基本只有脚本做得到
|
||||||
|
if (duration < 600) {
|
||||||
return { ok: false, error: "验证失败,请重试" };
|
return { ok: false, error: "验证失败,请重试" };
|
||||||
}
|
}
|
||||||
if (duration > 10_000) {
|
if (duration > 15_000) {
|
||||||
return { ok: false, error: "验证已过期,请刷新重试" };
|
return { ok: false, error: "验证已过期,请刷新重试" };
|
||||||
}
|
}
|
||||||
// 时间戳必须单调递增且合理(防止伪造负值/乱序)
|
// 时间戳必须单调递增且合理(防止伪造负值/乱序)
|
||||||
@@ -117,7 +118,9 @@ export function verifyCaptcha(
|
|||||||
return { ok: false, error: "验证失败,请重试" };
|
return { ok: false, error: "验证失败,请重试" };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 速度波动:真人拖动有加减速,匀速直线 = 脚本特征
|
// 速度波动:真人拖动有加减速。均匀度 = max(speed)/avg(speed),
|
||||||
|
// 完美匀速(脚本 linear tween)= 1.0;真人通常 > 2。阈值 1.25:
|
||||||
|
// 只拦截教科书式匀速直线,不再误伤慢而稳的真人拖动。
|
||||||
let maxSpeed = 0;
|
let maxSpeed = 0;
|
||||||
let totalDist = 0;
|
let totalDist = 0;
|
||||||
for (let i = 1; i < track.length; i++) {
|
for (let i = 1; i < track.length; i++) {
|
||||||
@@ -129,7 +132,8 @@ export function verifyCaptcha(
|
|||||||
if (speed > maxSpeed) maxSpeed = speed;
|
if (speed > maxSpeed) maxSpeed = speed;
|
||||||
}
|
}
|
||||||
if (totalDist <= 0) return { ok: false, error: "验证失败,请重试" };
|
if (totalDist <= 0) return { ok: false, error: "验证失败,请重试" };
|
||||||
if (maxSpeed < (totalDist / duration) * 1.8) {
|
const avgSpeed = totalDist / duration;
|
||||||
|
if (maxSpeed < avgSpeed * 1.25) {
|
||||||
return { ok: false, error: "验证失败,请重试" };
|
return { ok: false, error: "验证失败,请重试" };
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -159,9 +163,9 @@ export function verifyCaptcha(
|
|||||||
return { ok: false, error: "位置不对,再试一次" };
|
return { ok: false, error: "位置不对,再试一次" };
|
||||||
}
|
}
|
||||||
|
|
||||||
// 末样本应接近提交的 x(轨迹与答案一致性)
|
// 末样本应接近提交的 x(轨迹与答案一致性;客户端缓释/掉帧留 20px)
|
||||||
const lastSample = track[track.length - 1].x;
|
const lastSample = track[track.length - 1].x;
|
||||||
if (Math.abs(lastSample - x) > 14) {
|
if (Math.abs(lastSample - x) > 20) {
|
||||||
db.prepare(
|
db.prepare(
|
||||||
"UPDATE captcha_challenges SET attempts = attempts + 1 WHERE id = ?"
|
"UPDATE captcha_challenges SET attempts = attempts + 1 WHERE id = ?"
|
||||||
).run(row.id);
|
).run(row.id);
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ function seed() {
|
|||||||
about_p2: "我相信工程塑造可靠的产品,设计赋予它们灵魂;",
|
about_p2: "我相信工程塑造可靠的产品,设计赋予它们灵魂;",
|
||||||
about_p2_link_label: "我的作品",
|
about_p2_link_label: "我的作品",
|
||||||
intro_prefix:
|
intro_prefix:
|
||||||
"我是北极新一,一名横跨设计与工程的全栈开发者:Web 前端与后端、Flutter 客户端、AI 应用开发都有实践,也从产品设计一路做到工程落地。工作之外,我常在 ",
|
"我是北极新一,一名横跨设计与工程的全栈开发者:Web 前端与后端、移动端、AI 应用开发都有实践,也从产品设计一路做到工程落地。工作之外,我常在 ",
|
||||||
intro_suffix: " 上记录与分享这些探索。",
|
intro_suffix: " 上记录与分享这些探索。",
|
||||||
intro_brand: "小红书",
|
intro_brand: "小红书",
|
||||||
footer_headline: "让我们|创造|一些不凡的|数字作品",
|
footer_headline: "让我们|创造|一些不凡的|数字作品",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const REQUIRED = [
|
const REQUIRED = [
|
||||||
"model:hello.gltf",
|
"model:hello.glb",
|
||||||
"model:cursor.glb",
|
"model:cursor.glb",
|
||||||
"stickers",
|
"stickers",
|
||||||
"img:about",
|
"img:about",
|
||||||
|
|||||||
@@ -8,7 +8,8 @@ import { useEffect, useSyncExternalStore } from "react";
|
|||||||
* sound store (module 23525):
|
* sound store (module 23525):
|
||||||
*
|
*
|
||||||
* - theme ∈ {light, dark, system}, persisted to localStorage "theme"
|
* - theme ∈ {light, dark, system}, persisted to localStorage "theme"
|
||||||
* (original key, kept verbatim for parity); default "light".
|
* (original key, kept verbatim for parity); default "system" — follow the
|
||||||
|
* device (auto), per product decision (original defaulted to "light").
|
||||||
* - resolvedTheme = theme === "system"
|
* - resolvedTheme = theme === "system"
|
||||||
* ? (matchMedia("(prefers-color-scheme: dark)").matches ? dark : light)
|
* ? (matchMedia("(prefers-color-scheme: dark)").matches ? dark : light)
|
||||||
* : theme;
|
* : theme;
|
||||||
@@ -16,7 +17,8 @@ import { useEffect, useSyncExternalStore } from "react";
|
|||||||
* CSS tokens flip via the .dark block in globals.css.
|
* CSS tokens flip via the .dark block in globals.css.
|
||||||
* - "system" follows OS changes live (original matchMedia change listener).
|
* - "system" follows OS changes live (original matchMedia change listener).
|
||||||
* - soundEnabled persisted to localStorage "sound" ("on"/"off", original
|
* - soundEnabled persisted to localStorage "sound" ("on"/"off", original
|
||||||
* keys).
|
* keys); default ON — BGM starts (autoplay policies defer actual playback
|
||||||
|
* to the first user gesture, handled in useBgm's recovery effect).
|
||||||
*
|
*
|
||||||
* Implemented as a module-singleton external store (useSyncExternalStore)
|
* Implemented as a module-singleton external store (useSyncExternalStore)
|
||||||
* instead of the original context: the header and the canvas components
|
* instead of the original context: the header and the canvas components
|
||||||
@@ -38,9 +40,9 @@ type ShellMediaState = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
let state: ShellMediaState = {
|
let state: ShellMediaState = {
|
||||||
theme: "light",
|
theme: "system",
|
||||||
resolvedTheme: "light",
|
resolvedTheme: "light",
|
||||||
soundEnabled: false,
|
soundEnabled: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
const listeners = new Set<() => void>();
|
const listeners = new Set<() => void>();
|
||||||
@@ -90,16 +92,18 @@ function hydrate() {
|
|||||||
if (hydrated || typeof window === "undefined") return;
|
if (hydrated || typeof window === "undefined") return;
|
||||||
hydrated = true;
|
hydrated = true;
|
||||||
const stored = readStored(THEME_KEY);
|
const stored = readStored(THEME_KEY);
|
||||||
|
// 无有效存储 → 默认 system(自动跟随设备)
|
||||||
const theme: ThemeSetting = SETTINGS.includes(stored as ThemeSetting)
|
const theme: ThemeSetting = SETTINGS.includes(stored as ThemeSetting)
|
||||||
? (stored as ThemeSetting)
|
? (stored as ThemeSetting)
|
||||||
: "light";
|
: "system";
|
||||||
mediaQuery = window.matchMedia("(prefers-color-scheme: dark)");
|
mediaQuery = window.matchMedia("(prefers-color-scheme: dark)");
|
||||||
mediaQuery.addEventListener("change", onSystemChange);
|
mediaQuery.addEventListener("change", onSystemChange);
|
||||||
state = { ...state, theme, resolvedTheme: resolve(theme) };
|
state = { ...state, theme, resolvedTheme: resolve(theme) };
|
||||||
applyDocument(theme);
|
applyDocument(theme);
|
||||||
state = {
|
state = {
|
||||||
...state,
|
...state,
|
||||||
soundEnabled: readStored(SOUND_KEY) === "on",
|
// 无有效存储 → 默认开启 BGM;显式 "off" 才关闭
|
||||||
|
soundEnabled: readStored(SOUND_KEY) !== "off",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -142,12 +146,14 @@ function subscribe(listener: () => void) {
|
|||||||
const getSnapshot = () => state;
|
const getSnapshot = () => state;
|
||||||
|
|
||||||
// Hydration-safe SSR snapshot: must equal what the server rendered
|
// Hydration-safe SSR snapshot: must equal what the server rendered
|
||||||
// (light/paused defaults). React uses this for the hydration render, then
|
// (system/light defaults per product decision; sound defaults ON — the
|
||||||
// re-renders with the live snapshot once the client store hydrates.
|
// audio only starts after the first user gesture, see useBgm). React uses
|
||||||
|
// this for the hydration render, then re-renders with the live snapshot
|
||||||
|
// once the client store hydrates.
|
||||||
const SERVER_SNAPSHOT: ShellMediaState = {
|
const SERVER_SNAPSHOT: ShellMediaState = {
|
||||||
theme: "light",
|
theme: "system",
|
||||||
resolvedTheme: "light",
|
resolvedTheme: "light",
|
||||||
soundEnabled: false,
|
soundEnabled: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
function getServerSnapshot(): ShellMediaState {
|
function getServerSnapshot(): ShellMediaState {
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
"eslint": "^9",
|
"eslint": "^9",
|
||||||
"eslint-config-next": "16.3.3",
|
"eslint-config-next": "16.3.3",
|
||||||
"tailwindcss": "^4",
|
"tailwindcss": "^4",
|
||||||
"typescript": "^5"
|
"typescript": "^5.9.2"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@11.18.0"
|
"packageManager": "pnpm@11.18.0"
|
||||||
}
|
}
|
||||||
@@ -77,13 +77,13 @@ importers:
|
|||||||
version: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
version: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
||||||
eslint-config-next:
|
eslint-config-next:
|
||||||
specifier: 16.3.3
|
specifier: 16.3.3
|
||||||
version: 16.3.3(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2))(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2)
|
version: 16.3.3(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2))(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
tailwindcss:
|
tailwindcss:
|
||||||
specifier: ^4
|
specifier: ^4
|
||||||
version: 4.3.3
|
version: 4.3.3
|
||||||
typescript:
|
typescript:
|
||||||
specifier: ^5
|
specifier: ^5.9.2
|
||||||
version: 5.0.2
|
version: 5.9.2
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
@@ -2341,9 +2341,9 @@ packages:
|
|||||||
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
|
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
|
||||||
typescript: '>=4.8.4 <6.1.0'
|
typescript: '>=4.8.4 <6.1.0'
|
||||||
|
|
||||||
typescript@5.0.2:
|
typescript@5.9.2:
|
||||||
resolution: {integrity: sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw==}
|
resolution: {integrity: sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==}
|
||||||
engines: {node: '>=12.20'}
|
engines: {node: '>=14.17'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
unbox-primitive@1.1.0:
|
unbox-primitive@1.1.0:
|
||||||
@@ -3060,40 +3060,40 @@ snapshots:
|
|||||||
|
|
||||||
'@types/webxr@0.5.24': {}
|
'@types/webxr@0.5.24': {}
|
||||||
|
|
||||||
'@typescript-eslint/eslint-plugin@8.68.0(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2))(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2)':
|
'@typescript-eslint/eslint-plugin@8.68.0(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2))(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@eslint-community/regexpp': 4.12.2
|
'@eslint-community/regexpp': 4.12.2
|
||||||
'@typescript-eslint/parser': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2)
|
'@typescript-eslint/parser': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
'@typescript-eslint/scope-manager': 8.68.0
|
'@typescript-eslint/scope-manager': 8.68.0
|
||||||
'@typescript-eslint/type-utils': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2)
|
'@typescript-eslint/type-utils': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
'@typescript-eslint/utils': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2)
|
'@typescript-eslint/utils': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
'@typescript-eslint/visitor-keys': 8.68.0
|
'@typescript-eslint/visitor-keys': 8.68.0
|
||||||
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
||||||
ignore: 7.0.6
|
ignore: 7.0.6
|
||||||
natural-compare: 1.4.0
|
natural-compare: 1.4.0
|
||||||
ts-api-utils: 2.5.0(typescript@5.0.2)
|
ts-api-utils: 2.5.0(typescript@5.9.2)
|
||||||
typescript: 5.0.2
|
typescript: 5.9.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2)':
|
'@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/scope-manager': 8.68.0
|
'@typescript-eslint/scope-manager': 8.68.0
|
||||||
'@typescript-eslint/types': 8.68.0
|
'@typescript-eslint/types': 8.68.0
|
||||||
'@typescript-eslint/typescript-estree': 8.68.0(supports-color@7.1.0)(typescript@5.0.2)
|
'@typescript-eslint/typescript-estree': 8.68.0(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
'@typescript-eslint/visitor-keys': 8.68.0
|
'@typescript-eslint/visitor-keys': 8.68.0
|
||||||
debug: 4.4.3(supports-color@7.1.0)
|
debug: 4.4.3(supports-color@7.1.0)
|
||||||
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
||||||
typescript: 5.0.2
|
typescript: 5.9.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@typescript-eslint/project-service@8.68.0(supports-color@7.1.0)(typescript@5.0.2)':
|
'@typescript-eslint/project-service@8.68.0(supports-color@7.1.0)(typescript@5.9.2)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/tsconfig-utils': 8.68.0(typescript@5.0.2)
|
'@typescript-eslint/tsconfig-utils': 8.68.0(typescript@5.9.2)
|
||||||
'@typescript-eslint/types': 8.68.0
|
'@typescript-eslint/types': 8.68.0
|
||||||
debug: 4.4.3(supports-color@7.1.0)
|
debug: 4.4.3(supports-color@7.1.0)
|
||||||
typescript: 5.0.2
|
typescript: 5.9.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
@@ -3102,47 +3102,47 @@ snapshots:
|
|||||||
'@typescript-eslint/types': 8.68.0
|
'@typescript-eslint/types': 8.68.0
|
||||||
'@typescript-eslint/visitor-keys': 8.68.0
|
'@typescript-eslint/visitor-keys': 8.68.0
|
||||||
|
|
||||||
'@typescript-eslint/tsconfig-utils@8.68.0(typescript@5.0.2)':
|
'@typescript-eslint/tsconfig-utils@8.68.0(typescript@5.9.2)':
|
||||||
dependencies:
|
dependencies:
|
||||||
typescript: 5.0.2
|
typescript: 5.9.2
|
||||||
|
|
||||||
'@typescript-eslint/type-utils@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2)':
|
'@typescript-eslint/type-utils@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/types': 8.68.0
|
'@typescript-eslint/types': 8.68.0
|
||||||
'@typescript-eslint/typescript-estree': 8.68.0(supports-color@7.1.0)(typescript@5.0.2)
|
'@typescript-eslint/typescript-estree': 8.68.0(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
'@typescript-eslint/utils': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2)
|
'@typescript-eslint/utils': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
debug: 4.4.3(supports-color@7.1.0)
|
debug: 4.4.3(supports-color@7.1.0)
|
||||||
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
||||||
ts-api-utils: 2.5.0(typescript@5.0.2)
|
ts-api-utils: 2.5.0(typescript@5.9.2)
|
||||||
typescript: 5.0.2
|
typescript: 5.9.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@typescript-eslint/types@8.68.0': {}
|
'@typescript-eslint/types@8.68.0': {}
|
||||||
|
|
||||||
'@typescript-eslint/typescript-estree@8.68.0(supports-color@7.1.0)(typescript@5.0.2)':
|
'@typescript-eslint/typescript-estree@8.68.0(supports-color@7.1.0)(typescript@5.9.2)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/project-service': 8.68.0(supports-color@7.1.0)(typescript@5.0.2)
|
'@typescript-eslint/project-service': 8.68.0(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
'@typescript-eslint/tsconfig-utils': 8.68.0(typescript@5.0.2)
|
'@typescript-eslint/tsconfig-utils': 8.68.0(typescript@5.9.2)
|
||||||
'@typescript-eslint/types': 8.68.0
|
'@typescript-eslint/types': 8.68.0
|
||||||
'@typescript-eslint/visitor-keys': 8.68.0
|
'@typescript-eslint/visitor-keys': 8.68.0
|
||||||
debug: 4.4.3(supports-color@7.1.0)
|
debug: 4.4.3(supports-color@7.1.0)
|
||||||
minimatch: 10.2.6
|
minimatch: 10.2.6
|
||||||
semver: 7.8.5
|
semver: 7.8.5
|
||||||
tinyglobby: 0.2.17
|
tinyglobby: 0.2.17
|
||||||
ts-api-utils: 2.5.0(typescript@5.0.2)
|
ts-api-utils: 2.5.0(typescript@5.9.2)
|
||||||
typescript: 5.0.2
|
typescript: 5.9.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@typescript-eslint/utils@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2)':
|
'@typescript-eslint/utils@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@eslint-community/eslint-utils': 4.10.1(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))
|
'@eslint-community/eslint-utils': 4.10.1(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))
|
||||||
'@typescript-eslint/scope-manager': 8.68.0
|
'@typescript-eslint/scope-manager': 8.68.0
|
||||||
'@typescript-eslint/types': 8.68.0
|
'@typescript-eslint/types': 8.68.0
|
||||||
'@typescript-eslint/typescript-estree': 8.68.0(supports-color@7.1.0)(typescript@5.0.2)
|
'@typescript-eslint/typescript-estree': 8.68.0(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
||||||
typescript: 5.0.2
|
typescript: 5.9.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
@@ -3580,20 +3580,20 @@ snapshots:
|
|||||||
|
|
||||||
escape-string-regexp@4.0.0: {}
|
escape-string-regexp@4.0.0: {}
|
||||||
|
|
||||||
eslint-config-next@16.3.3(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2))(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2):
|
eslint-config-next@16.3.3(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2))(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@next/eslint-plugin-next': 16.3.3(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))
|
'@next/eslint-plugin-next': 16.3.3(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))
|
||||||
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
||||||
eslint-import-resolver-node: 0.3.10(supports-color@7.1.0)
|
eslint-import-resolver-node: 0.3.10(supports-color@7.1.0)
|
||||||
eslint-import-resolver-typescript: 3.5.2(eslint-plugin-import@2.32.0)(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)
|
eslint-import-resolver-typescript: 3.5.2(eslint-plugin-import@2.32.0)(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)
|
||||||
eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2))(eslint-import-resolver-typescript@3.5.2)(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)
|
eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2))(eslint-import-resolver-typescript@3.5.2)(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)
|
||||||
eslint-plugin-jsx-a11y: 6.10.2(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))
|
eslint-plugin-jsx-a11y: 6.10.2(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))
|
||||||
eslint-plugin-react: 7.37.5(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))
|
eslint-plugin-react: 7.37.5(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))
|
||||||
eslint-plugin-react-hooks: 7.1.1(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)
|
eslint-plugin-react-hooks: 7.1.1(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)
|
||||||
globals: 16.4.0
|
globals: 16.4.0
|
||||||
typescript-eslint: 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2)
|
typescript-eslint: 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
typescript: 5.0.2
|
typescript: 5.9.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@typescript-eslint/parser'
|
- '@typescript-eslint/parser'
|
||||||
- eslint-import-resolver-webpack
|
- eslint-import-resolver-webpack
|
||||||
@@ -3612,7 +3612,7 @@ snapshots:
|
|||||||
debug: 4.4.3(supports-color@7.1.0)
|
debug: 4.4.3(supports-color@7.1.0)
|
||||||
enhanced-resolve: 5.24.5
|
enhanced-resolve: 5.24.5
|
||||||
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
||||||
eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2))(eslint-import-resolver-typescript@3.5.2)(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)
|
eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2))(eslint-import-resolver-typescript@3.5.2)(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)
|
||||||
get-tsconfig: 4.14.3
|
get-tsconfig: 4.14.3
|
||||||
globby: 13.1.2
|
globby: 13.1.2
|
||||||
is-core-module: 2.16.2
|
is-core-module: 2.16.2
|
||||||
@@ -3621,18 +3621,18 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
eslint-module-utils@2.14.0(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2))(eslint-import-resolver-node@0.3.10(supports-color@7.1.0))(eslint-import-resolver-typescript@3.5.2)(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0):
|
eslint-module-utils@2.14.0(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2))(eslint-import-resolver-node@0.3.10(supports-color@7.1.0))(eslint-import-resolver-typescript@3.5.2)(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
debug: 3.2.7(supports-color@7.1.0)
|
debug: 3.2.7(supports-color@7.1.0)
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@typescript-eslint/parser': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2)
|
'@typescript-eslint/parser': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
||||||
eslint-import-resolver-node: 0.3.10(supports-color@7.1.0)
|
eslint-import-resolver-node: 0.3.10(supports-color@7.1.0)
|
||||||
eslint-import-resolver-typescript: 3.5.2(eslint-plugin-import@2.32.0)(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)
|
eslint-import-resolver-typescript: 3.5.2(eslint-plugin-import@2.32.0)(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2))(eslint-import-resolver-typescript@3.5.2)(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0):
|
eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2))(eslint-import-resolver-typescript@3.5.2)(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@rtsao/scc': 1.1.0
|
'@rtsao/scc': 1.1.0
|
||||||
array-includes: 3.1.9
|
array-includes: 3.1.9
|
||||||
@@ -3643,7 +3643,7 @@ snapshots:
|
|||||||
doctrine: 2.1.0
|
doctrine: 2.1.0
|
||||||
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
||||||
eslint-import-resolver-node: 0.3.10(supports-color@7.1.0)
|
eslint-import-resolver-node: 0.3.10(supports-color@7.1.0)
|
||||||
eslint-module-utils: 2.14.0(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2))(eslint-import-resolver-node@0.3.10(supports-color@7.1.0))(eslint-import-resolver-typescript@3.5.2)(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)
|
eslint-module-utils: 2.14.0(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2))(eslint-import-resolver-node@0.3.10(supports-color@7.1.0))(eslint-import-resolver-typescript@3.5.2)(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)
|
||||||
hasown: 2.0.4
|
hasown: 2.0.4
|
||||||
is-core-module: 2.16.2
|
is-core-module: 2.16.2
|
||||||
is-glob: 4.0.3
|
is-glob: 4.0.3
|
||||||
@@ -3655,7 +3655,7 @@ snapshots:
|
|||||||
string.prototype.trimend: 1.0.10
|
string.prototype.trimend: 1.0.10
|
||||||
tsconfig-paths: 3.15.0
|
tsconfig-paths: 3.15.0
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@typescript-eslint/parser': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2)
|
'@typescript-eslint/parser': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- eslint-import-resolver-typescript
|
- eslint-import-resolver-typescript
|
||||||
- eslint-import-resolver-webpack
|
- eslint-import-resolver-webpack
|
||||||
@@ -4879,9 +4879,9 @@ snapshots:
|
|||||||
|
|
||||||
troika-worker-utils@0.52.0: {}
|
troika-worker-utils@0.52.0: {}
|
||||||
|
|
||||||
ts-api-utils@2.5.0(typescript@5.0.2):
|
ts-api-utils@2.5.0(typescript@5.9.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
typescript: 5.0.2
|
typescript: 5.9.2
|
||||||
|
|
||||||
tsconfig-paths@3.15.0:
|
tsconfig-paths@3.15.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -4936,18 +4936,18 @@ snapshots:
|
|||||||
possible-typed-array-names: 1.1.0
|
possible-typed-array-names: 1.1.0
|
||||||
reflect.getprototypeof: 1.0.10
|
reflect.getprototypeof: 1.0.10
|
||||||
|
|
||||||
typescript-eslint@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2):
|
typescript-eslint@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/eslint-plugin': 8.68.0(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2))(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2)
|
'@typescript-eslint/eslint-plugin': 8.68.0(@typescript-eslint/parser@8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2))(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
'@typescript-eslint/parser': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2)
|
'@typescript-eslint/parser': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
'@typescript-eslint/typescript-estree': 8.68.0(supports-color@7.1.0)(typescript@5.0.2)
|
'@typescript-eslint/typescript-estree': 8.68.0(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
'@typescript-eslint/utils': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.0.2)
|
'@typescript-eslint/utils': 8.68.0(eslint@9.39.5(jiti@2.7.0)(supports-color@7.1.0))(supports-color@7.1.0)(typescript@5.9.2)
|
||||||
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
eslint: 9.39.5(jiti@2.7.0)(supports-color@7.1.0)
|
||||||
typescript: 5.0.2
|
typescript: 5.9.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
typescript@5.0.2: {}
|
typescript@5.9.2: {}
|
||||||
|
|
||||||
unbox-primitive@1.1.0:
|
unbox-primitive@1.1.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 438 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 173 KiB After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 250 KiB After Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 180 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 256 KiB After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 516 KiB After Width: | Height: | Size: 158 KiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 261 KiB After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 287 KiB After Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 212 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 115 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 171 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 487 KiB After Width: | Height: | Size: 161 KiB |
|
Before Width: | Height: | Size: 316 KiB After Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 279 KiB After Width: | Height: | Size: 109 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 6.3 KiB |
|
Before Width: | Height: | Size: 828 KiB After Width: | Height: | Size: 212 KiB |
|
Before Width: | Height: | Size: 248 KiB After Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 382 KiB After Width: | Height: | Size: 123 KiB |
|
Before Width: | Height: | Size: 202 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 351 KiB After Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 592 KiB After Width: | Height: | Size: 244 KiB |
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 911 KiB After Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 9.4 KiB |