Files
ai-course/node_modules/.cache/babel-loader/197b48e56ecc8c05cf789533899bca9fda9ac228271820f2e6c50ca8fc92bca0.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
3.3 KiB
JSON

{"ast":null,"code":"import _objectSpread from \"/Users/apple/Documents/cursor/Web\\u8BFE\\u4EF6/AI\\u8BFE/education_web_\\u591AAgent\\u534F\\u4F5C\\u7CFB\\u7EDF/node_modules/@babel/runtime/helpers/esm/objectSpread2.js\";\nimport { useMemo } from 'react';\nimport { copyRawValuesOnly } from '../html/use-props.mjs';\nimport { buildSVGAttrs } from './utils/build-attrs.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\nimport { isSVGTag } from './utils/is-svg-tag.mjs';\nfunction useSVGProps(props, visualState, _isStatic, Component) {\n const visualProps = useMemo(() => {\n const state = createSvgRenderState();\n buildSVGAttrs(state, visualState, isSVGTag(Component), props.transformTemplate, props.style);\n return _objectSpread(_objectSpread({}, state.attrs), {}, {\n style: _objectSpread({}, state.style)\n });\n }, [visualState]);\n if (props.style) {\n const rawStyles = {};\n copyRawValuesOnly(rawStyles, props.style, props);\n visualProps.style = _objectSpread(_objectSpread({}, rawStyles), visualProps.style);\n }\n return visualProps;\n}\nexport { useSVGProps };","map":{"version":3,"names":["useMemo","copyRawValuesOnly","buildSVGAttrs","createSvgRenderState","isSVGTag","useSVGProps","props","visualState","_isStatic","Component","visualProps","state","transformTemplate","style","_objectSpread","attrs","rawStyles"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/framer-motion/dist/es/render/svg/use-props.mjs"],"sourcesContent":["import { useMemo } from 'react';\nimport { copyRawValuesOnly } from '../html/use-props.mjs';\nimport { buildSVGAttrs } from './utils/build-attrs.mjs';\nimport { createSvgRenderState } from './utils/create-render-state.mjs';\nimport { isSVGTag } from './utils/is-svg-tag.mjs';\n\nfunction useSVGProps(props, visualState, _isStatic, Component) {\n const visualProps = useMemo(() => {\n const state = createSvgRenderState();\n buildSVGAttrs(state, visualState, isSVGTag(Component), props.transformTemplate, props.style);\n return {\n ...state.attrs,\n style: { ...state.style },\n };\n }, [visualState]);\n if (props.style) {\n const rawStyles = {};\n copyRawValuesOnly(rawStyles, props.style, props);\n visualProps.style = { ...rawStyles, ...visualProps.style };\n }\n return visualProps;\n}\n\nexport { useSVGProps };\n"],"mappings":";AAAA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAASC,iBAAiB,QAAQ,uBAAuB;AACzD,SAASC,aAAa,QAAQ,yBAAyB;AACvD,SAASC,oBAAoB,QAAQ,iCAAiC;AACtE,SAASC,QAAQ,QAAQ,wBAAwB;AAEjD,SAASC,WAAWA,CAACC,KAAK,EAAEC,WAAW,EAAEC,SAAS,EAAEC,SAAS,EAAE;EAC3D,MAAMC,WAAW,GAAGV,OAAO,CAAC,MAAM;IAC9B,MAAMW,KAAK,GAAGR,oBAAoB,CAAC,CAAC;IACpCD,aAAa,CAACS,KAAK,EAAEJ,WAAW,EAAEH,QAAQ,CAACK,SAAS,CAAC,EAAEH,KAAK,CAACM,iBAAiB,EAAEN,KAAK,CAACO,KAAK,CAAC;IAC5F,OAAAC,aAAA,CAAAA,aAAA,KACOH,KAAK,CAACI,KAAK;MACdF,KAAK,EAAAC,aAAA,KAAOH,KAAK,CAACE,KAAK;IAAE;EAEjC,CAAC,EAAE,CAACN,WAAW,CAAC,CAAC;EACjB,IAAID,KAAK,CAACO,KAAK,EAAE;IACb,MAAMG,SAAS,GAAG,CAAC,CAAC;IACpBf,iBAAiB,CAACe,SAAS,EAAEV,KAAK,CAACO,KAAK,EAAEP,KAAK,CAAC;IAChDI,WAAW,CAACG,KAAK,GAAAC,aAAA,CAAAA,aAAA,KAAQE,SAAS,GAAKN,WAAW,CAACG,KAAK,CAAE;EAC9D;EACA,OAAOH,WAAW;AACtB;AAEA,SAASL,WAAW","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}