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

1 line
3.2 KiB
JSON
Raw Normal View History

2024-08-20 23:25:37 +04:00
{"ast":null,"code":"\"use client\";\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Progress from './Progress';\nexport default function Looper(props) {\n const {\n prefixCls,\n percent = 0\n } = props;\n const dotClassName = `${prefixCls}-dot`;\n const holderClassName = `${dotClassName}-holder`;\n const hideClassName = `${holderClassName}-hidden`;\n // ===================== Render =====================\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(holderClassName, percent > 0 && hideClassName)\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(dotClassName, `${prefixCls}-dot-spin`)\n }, [1, 2, 3, 4].map(i => ( /*#__PURE__*/React.createElement(\"i\", {\n className: `${prefixCls}-dot-item`,\n key: i\n }))))), /*#__PURE__*/React.createElement(Progress, {\n prefixCls: prefixCls,\n percent: percent\n }));\n}","map":{"version":3,"names":["React","classNames","Progress","Looper","props","prefixCls","percent","dotClassName","holderClassName","hideClassName","createElement","Fragment","className","map","i","key"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/spin/Indicator/Looper.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Progress from './Progress';\nexport default function Looper(props) {\n const {\n prefixCls,\n percent = 0\n } = props;\n const dotClassName = `${prefixCls}-dot`;\n const holderClassName = `${dotClassName}-holder`;\n const hideClassName = `${holderClassName}-hidden`;\n // ===================== Render =====================\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(holderClassName, percent > 0 && hideClassName)\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(dotClassName, `${prefixCls}-dot-spin`)\n }, [1, 2, 3, 4].map(i => ( /*#__PURE__*/React.createElement(\"i\", {\n className: `${prefixCls}-dot-item`,\n key: i\n }))))), /*#__PURE__*/React.createElement(Progress, {\n prefixCls: prefixCls,\n percent: percent\n }));\n}"],"mappings":"AAAA,YAAY;;AAEZ,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,QAAQ,MAAM,YAAY;AACjC,eAAe,SAASC,MAAMA,CAACC,KAAK,EAAE;EACpC,MAAM;IACJC,SAAS;IACTC,OAAO,GAAG;EACZ,CAAC,GAAGF,KAAK;EACT,MAAMG,YAAY,GAAG,GAAGF,SAAS,MAAM;EACvC,MAAMG,eAAe,GAAG,GAAGD,YAAY,SAAS;EAChD,MAAME,aAAa,GAAG,GAAGD,eAAe,SAAS;EACjD;EACA,OAAO,aAAaR,KAAK,CAACU,aAAa,CAACV,KAAK,CAACW,QAAQ,EAAE,IAAI,EAAE,aAAaX,KAAK,CAACU,aAAa,CAAC,MAAM,EAAE;IACrGE,SAAS,EAAEX,UAAU,CAACO,eAAe,EAAEF,OAAO,GAAG,CAAC,IAAIG,aAAa;EACrE,CAAC,EAAE,aAAaT,KAAK,CAACU,aAAa,CAAC,MAAM,EAAE;IAC1CE,SAAS,EAAEX,UAAU,CAACM,YAAY,EAAE,GAAGF,SAAS,WAAW;EAC7D,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAACQ,GAAG,CAACC,CAAC,MAAM,aAAad,KAAK,CAACU,aAAa,CAAC,GAAG,EAAE;IAC/DE,SAAS,EAAE,GAAGP,SAAS,WAAW;IAClCU,GAAG,EAAED;EACP,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,aAAad,KAAK,CAACU,aAAa,CAACR,QAAQ,EAAE;IACjDG,SAAS,EAAEA,SAAS;IACpBC,OAAO,EAAEA;EACX,CAAC,CAAC,CAAC;AACL","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}