PromoCursed/node_modules/.cache/babel-loader/3a4aa1a998964dba39ad0ca6544d59995e2485f4fcd5105ea66b9292130cad65.json

1 line
3.8 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 DotChartOutlined from \"@ant-design/icons/es/icons/DotChartOutlined\";\nimport classNames from 'classnames';\nimport { ConfigContext } from '../config-provider';\nimport useStyle from './style';\nconst SkeletonNode = props => {\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n style,\n active,\n children\n } = props;\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls);\n const cls = classNames(prefixCls, `${prefixCls}-element`, {\n [`${prefixCls}-active`]: active\n }, hashId, className, rootClassName, cssVarCls);\n const content = children !== null && children !== void 0 ? children : /*#__PURE__*/React.createElement(DotChartOutlined, null);\n return wrapCSSVar( /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(`${prefixCls}-image`, className),\n style: style\n }, content)));\n};\nexport default SkeletonNode;","map":{"version":3,"names":["React","DotChartOutlined","classNames","ConfigContext","useStyle","SkeletonNode","props","prefixCls","customizePrefixCls","className","rootClassName","style","active","children","getPrefixCls","useContext","wrapCSSVar","hashId","cssVarCls","cls","content","createElement"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/skeleton/Node.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport DotChartOutlined from \"@ant-design/icons/es/icons/DotChartOutlined\";\nimport classNames from 'classnames';\nimport { ConfigContext } from '../config-provider';\nimport useStyle from './style';\nconst SkeletonNode = props => {\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n style,\n active,\n children\n } = props;\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls);\n const cls = classNames(prefixCls, `${prefixCls}-element`, {\n [`${prefixCls}-active`]: active\n }, hashId, className, rootClassName, cssVarCls);\n const content = children !== null && children !== void 0 ? children : /*#__PURE__*/React.createElement(DotChartOutlined, null);\n return wrapCSSVar( /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(`${prefixCls}-image`, className),\n style: style\n }, content)));\n};\nexport default SkeletonNode;"],"mappings":"AAAA,YAAY;;AAEZ,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,gBAAgB,MAAM,6CAA6C;AAC1E,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,aAAa,QAAQ,oBAAoB;AAClD,OAAOC,QAAQ,MAAM,SAAS;AAC9B,MAAMC,YAAY,GAAGC,KAAK,IAAI;EAC5B,MAAM;IACJC,SAAS,EAAEC,kBAAkB;IAC7BC,SAAS;IACTC,aAAa;IACbC,KAAK;IACLC,MAAM;IACNC;EACF,CAAC,GAAGP,KAAK;EACT,MAAM;IACJQ;EACF,CAAC,GAAGd,KAAK,CAACe,UAAU,CAACZ,aAAa,CAAC;EACnC,MAAMI,SAAS,GAAGO,YAAY,CAAC,UAAU,EAAEN,kBAAkB,CAAC;EAC9D,MAAM,CAACQ,UAAU,EAAEC,MAAM,EAAEC,SAAS,CAAC,GAAGd,QAAQ,CAACG,SAAS,CAAC;EAC3D,MAAMY,GAAG,GAAGjB,UAAU,CAACK,SAAS,EAAE,GAAGA,SAAS,UAAU,EAAE;IACxD,CAAC,GAAGA,SAAS,SAAS,GAAGK;EAC3B,CAAC,EAAEK,MAAM,EAAER,SAAS,EAAEC,aAAa,EAAEQ,SAAS,CAAC;EAC/C,MAAME,OAAO,GAAGP,QAAQ,KAAK,IAAI,IAAIA,QAAQ,KAAK,KAAK,CAAC,GAAGA,QAAQ,GAAG,aAAab,KAAK,CAACqB,aAAa,C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