PromoCursed/node_modules/.cache/babel-loader/b3fbc379511ea49ce3c99d30cba99774306ee922b39df88ddf80878246ba0e9b.json
2024-08-20 23:25:37 +04:00

1 line
2.0 KiB
JSON

{"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/Аришина)/Desktop/promo/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":[]}