Files
ai-course/node_modules/.cache/babel-loader/f46eeb7f839477bbdfccd7b6285a94c0478e32e17ebe69019dc0bad88831d732.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
2.6 KiB
JSON

{"ast":null,"code":"import { isMotionValue, transformPropOrder } from 'motion-dom';\nimport { scrapeMotionValuesFromProps as scrapeMotionValuesFromProps$1 } from '../../html/utils/scrape-motion-values.mjs';\nfunction scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n const newValues = scrapeMotionValuesFromProps$1(props, prevProps, visualElement);\n for (const key in props) {\n if (isMotionValue(props[key]) || isMotionValue(prevProps[key])) {\n const targetKey = transformPropOrder.indexOf(key) !== -1 ? \"attr\" + key.charAt(0).toUpperCase() + key.substring(1) : key;\n newValues[targetKey] = props[key];\n }\n }\n return newValues;\n}\nexport { scrapeMotionValuesFromProps };","map":{"version":3,"names":["isMotionValue","transformPropOrder","scrapeMotionValuesFromProps","scrapeMotionValuesFromProps$1","props","prevProps","visualElement","newValues","key","targetKey","indexOf","charAt","toUpperCase","substring"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs"],"sourcesContent":["import { isMotionValue, transformPropOrder } from 'motion-dom';\nimport { scrapeMotionValuesFromProps as scrapeMotionValuesFromProps$1 } from '../../html/utils/scrape-motion-values.mjs';\n\nfunction scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n const newValues = scrapeMotionValuesFromProps$1(props, prevProps, visualElement);\n for (const key in props) {\n if (isMotionValue(props[key]) ||\n isMotionValue(prevProps[key])) {\n const targetKey = transformPropOrder.indexOf(key) !== -1\n ? \"attr\" + key.charAt(0).toUpperCase() + key.substring(1)\n : key;\n newValues[targetKey] = props[key];\n }\n }\n return newValues;\n}\n\nexport { scrapeMotionValuesFromProps };\n"],"mappings":"AAAA,SAASA,aAAa,EAAEC,kBAAkB,QAAQ,YAAY;AAC9D,SAASC,2BAA2B,IAAIC,6BAA6B,QAAQ,2CAA2C;AAExH,SAASD,2BAA2BA,CAACE,KAAK,EAAEC,SAAS,EAAEC,aAAa,EAAE;EAClE,MAAMC,SAAS,GAAGJ,6BAA6B,CAACC,KAAK,EAAEC,SAAS,EAAEC,aAAa,CAAC;EAChF,KAAK,MAAME,GAAG,IAAIJ,KAAK,EAAE;IACrB,IAAIJ,aAAa,CAACI,KAAK,CAACI,GAAG,CAAC,CAAC,IACzBR,aAAa,CAACK,SAAS,CAACG,GAAG,CAAC,CAAC,EAAE;MAC/B,MAAMC,SAAS,GAAGR,kBAAkB,CAACS,OAAO,CAACF,GAAG,CAAC,KAAK,CAAC,CAAC,GAClD,MAAM,GAAGA,GAAG,CAACG,MAAM,CAAC,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,GAAGJ,GAAG,CAACK,SAAS,CAAC,CAAC,CAAC,GACvDL,GAAG;MACTD,SAAS,CAACE,SAAS,CAAC,GAAGL,KAAK,CAACI,GAAG,CAAC;IACrC;EACJ;EACA,OAAOD,SAAS;AACpB;AAEA,SAASL,2BAA2B","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}