PromoCursed/node_modules/.cache/babel-loader/914d572f764f60a4f54b26a49df3aa1bb69bc91db63857886963da5994c3e9c5.json

1 line
2.0 KiB
JSON
Raw Normal View History

2024-08-20 23:25:37 +04:00
{"ast":null,"code":"import genRadius from './genRadius';\nexport default function genCommonMapToken(token) {\n const {\n motionUnit,\n motionBase,\n borderRadius,\n lineWidth\n } = token;\n return Object.assign({\n // motion\n motionDurationFast: `${(motionBase + motionUnit).toFixed(1)}s`,\n motionDurationMid: `${(motionBase + motionUnit * 2).toFixed(1)}s`,\n motionDurationSlow: `${(motionBase + motionUnit * 3).toFixed(1)}s`,\n // line\n lineWidthBold: lineWidth + 1\n }, genRadius(borderRadius));\n}","map":{"version":3,"names":["genRadius","genCommonMapToken","token","motionUnit","motionBase","borderRadius","lineWidth","Object","assign","motionDurationFast","toFixed","motionDurationMid","motionDurationSlow","lineWidthBold"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/theme/themes/shared/genCommonMapToken.js"],"sourcesContent":["import genRadius from './genRadius';\nexport default function genCommonMapToken(token) {\n const {\n motionUnit,\n motionBase,\n borderRadius,\n lineWidth\n } = token;\n return Object.assign({\n // motion\n motionDurationFast: `${(motionBase + motionUnit).toFixed(1)}s`,\n motionDurationMid: `${(motionBase + motionUnit * 2).toFixed(1)}s`,\n motionDurationSlow: `${(motionBase + motionUnit * 3).toFixed(1)}s`,\n // line\n lineWidthBold: lineWidth + 1\n }, genRadius(borderRadius));\n}"],"mappings":"AAAA,OAAOA,SAAS,MAAM,aAAa;AACnC,eAAe,SAASC,iBAAiBA,CAACC,KAAK,EAAE;EAC/C,MAAM;IACJC,UAAU;IACVC,UAAU;IACVC,YAAY;IACZC;EACF,CAAC,GAAGJ,KAAK;EACT,OAAOK,MAAM,CAACC,MAAM,CAAC;IACnB;IACAC,kBAAkB,EAAE,GAAG,CAACL,UAAU,GAAGD,UAAU,EAAEO,OAAO,CAAC,CAAC,CAAC,GAAG;IAC9DC,iBAAiB,EAAE,GAAG,CAACP,UAAU,GAAGD,UAAU,GAAG,CAAC,EAAEO,OAAO,CAAC,CAAC,CAAC,GAAG;IACjEE,kBAAkB,EAAE,GAAG,CAACR,UAAU,GAAGD,UAAU,GAAG,CAAC,EAAEO,OAAO,CAAC,CAAC,CAAC,GAAG;IAClE;IACAG,aAAa,EAAEP,SAAS,GAAG;EAC7B,CAAC,EAAEN,SAAS,CAACK,YAAY,CAAC,CAAC;AAC7B","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}