Files
ai-course/node_modules/.cache/babel-loader/173aedaef14542501391348e18beb4cdfa776bd95006b2c10fbf9936bf18cc37.json
KQL ce6aa207e9 fix: 修复图片路径以适配GitHub Pages base path
- 将所有图片路径从绝对路径改为使用 process.env.PUBLIC_URL
- 修复 HomePage.tsx 中所有图片引用
- 修复 CoursePage.tsx 中所有图片引用
- 确保图片在 GitHub Pages 上正确加载

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 09:24:45 +08:00

1 line
1.4 KiB
JSON

{"ast":null,"code":"import { velocityPerSecond } from 'motion-utils';\nconst velocitySampleDuration = 5; // ms\nfunction calcGeneratorVelocity(resolveValue, t, current) {\n const prevT = Math.max(t - velocitySampleDuration, 0);\n return velocityPerSecond(current - resolveValue(prevT), t - prevT);\n}\nexport { calcGeneratorVelocity };","map":{"version":3,"names":["velocityPerSecond","velocitySampleDuration","calcGeneratorVelocity","resolveValue","t","current","prevT","Math","max"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs"],"sourcesContent":["import { velocityPerSecond } from 'motion-utils';\n\nconst velocitySampleDuration = 5; // ms\nfunction calcGeneratorVelocity(resolveValue, t, current) {\n const prevT = Math.max(t - velocitySampleDuration, 0);\n return velocityPerSecond(current - resolveValue(prevT), t - prevT);\n}\n\nexport { calcGeneratorVelocity };\n"],"mappings":"AAAA,SAASA,iBAAiB,QAAQ,cAAc;AAEhD,MAAMC,sBAAsB,GAAG,CAAC,CAAC,CAAC;AAClC,SAASC,qBAAqBA,CAACC,YAAY,EAAEC,CAAC,EAAEC,OAAO,EAAE;EACrD,MAAMC,KAAK,GAAGC,IAAI,CAACC,GAAG,CAACJ,CAAC,GAAGH,sBAAsB,EAAE,CAAC,CAAC;EACrD,OAAOD,iBAAiB,CAACK,OAAO,GAAGF,YAAY,CAACG,KAAK,CAAC,EAAEF,CAAC,GAAGE,KAAK,CAAC;AACtE;AAEA,SAASJ,qBAAqB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}