Files
ai-course/node_modules/.cache/babel-loader/121c56112c31a74d872fa824196d96c62f12d5d082d3cc4ce88b7ed522e88ef0.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.9 KiB
JSON

{"ast":null,"code":"const generateLinearEasing = function (easing, duration) {\n let resolution = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;\n let points = \"\";\n const numPoints = Math.max(Math.round(duration / resolution), 2);\n for (let i = 0; i < numPoints; i++) {\n points += Math.round(easing(i / (numPoints - 1)) * 10000) / 10000 + \", \";\n }\n return \"linear(\".concat(points.substring(0, points.length - 2), \")\");\n};\nexport { generateLinearEasing };","map":{"version":3,"names":["generateLinearEasing","easing","duration","resolution","arguments","length","undefined","points","numPoints","Math","max","round","i","concat","substring"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs"],"sourcesContent":["const generateLinearEasing = (easing, duration, // as milliseconds\nresolution = 10 // as milliseconds\n) => {\n let points = \"\";\n const numPoints = Math.max(Math.round(duration / resolution), 2);\n for (let i = 0; i < numPoints; i++) {\n points += Math.round(easing(i / (numPoints - 1)) * 10000) / 10000 + \", \";\n }\n return `linear(${points.substring(0, points.length - 2)})`;\n};\n\nexport { generateLinearEasing };\n"],"mappings":"AAAA,MAAMA,oBAAoB,GAAG,SAAAA,CAACC,MAAM,EAAEC,QAAQ,EAEzC;EAAA,IADLC,UAAU,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAEX,IAAIG,MAAM,GAAG,EAAE;EACf,MAAMC,SAAS,GAAGC,IAAI,CAACC,GAAG,CAACD,IAAI,CAACE,KAAK,CAACT,QAAQ,GAAGC,UAAU,CAAC,EAAE,CAAC,CAAC;EAChE,KAAK,IAAIS,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGJ,SAAS,EAAEI,CAAC,EAAE,EAAE;IAChCL,MAAM,IAAIE,IAAI,CAACE,KAAK,CAACV,MAAM,CAACW,CAAC,IAAIJ,SAAS,GAAG,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,KAAK,GAAG,IAAI;EAC5E;EACA,iBAAAK,MAAA,CAAiBN,MAAM,CAACO,SAAS,CAAC,CAAC,EAAEP,MAAM,CAACF,MAAM,GAAG,CAAC,CAAC;AAC3D,CAAC;AAED,SAASL,oBAAoB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}