From 5626d87bab03540e5d1ecffbe81c8a4a6769beab Mon Sep 17 00:00:00 2001 From: autosubmit Date: Mon, 14 Aug 2023 18:49:28 +0800 Subject: [PATCH] Auto Submit --- 11328.async.js | 2 +- 11383.async.js | 4099 +++++++++++ 12178.async.js | 2 +- 12750.async.js | 748 -- 18117.async.js | 2 +- 22106.async.js | 2 +- 2557.async.js | 2 +- 25674.async.js | 2 +- 31785.async.js | 2 +- 35889.async.js | 2 +- 3650.async.js | 2 +- 42717.async.js | 2 +- 43632.async.js | 2 +- 44776.async.js | 2 +- 51826.async.js | 2 +- 57942.async.js | 2 +- 58447.async.js | 2 +- 72029.async.js | 2 +- 73323.async.js | 2 +- 74493.async.js | 2 +- 75650.async.js | 2 +- 77075.async.js | 2 +- 83668.async.js => 78343.async.js | 5102 ++------------ 79084.async.js | 2 +- 81661.async.js | 2 +- 878.async.js | 2 +- 93691.async.js | 2 +- 94657.async.js | 61 +- 95002.async.js | 2 +- p__Paths__Detail__id.async.js | 6 + ...alSpaces__Lists__Knowledge__index.async.js | 5992 ++++++++++++++++- ...lSpaces__Lists__Knowledge__index.chunk.css | 2759 ++++++++ umi.js | 46 +- 33 files changed, 13403 insertions(+), 5460 deletions(-) create mode 100644 11383.async.js delete mode 100644 12750.async.js rename 83668.async.js => 78343.async.js (87%) diff --git a/11328.async.js b/11328.async.js index 79bfaf5176..7e4e136622 100644 --- a/11328.async.js +++ b/11328.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[11328,59606,93691,58447,77075,94657,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[11328,59606,93691,58447,77075,94657,64649,33893,9277,54682,68282],{ /***/ 85418: /*!************************************************************!*\ diff --git a/11383.async.js b/11383.async.js new file mode 100644 index 0000000000..a9dd587271 --- /dev/null +++ b/11383.async.js @@ -0,0 +1,4099 @@ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[11383,35479,89777],{ + +/***/ 18429: +/*!************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseCircleOutlined.js + 1 modules ***! + \************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CloseCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CloseCircleOutlined.js +// This icon file is generated automatically. +var CloseCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z" } }, { "tag": "path", "attrs": { "d": "M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "close-circle", "theme": "outlined" }; +/* harmony default export */ var asn_CloseCircleOutlined = (CloseCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(74643); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CloseCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CloseCircleOutlined_CloseCircleOutlined = function CloseCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CloseCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_CloseCircleOutlined = (/*#__PURE__*/react.forwardRef(CloseCircleOutlined_CloseCircleOutlined)); + +/***/ }), + +/***/ 11475: +/*!******************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ExclamationCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +// This icon file is generated automatically. +var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; +/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(74643); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ExclamationCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); + +/***/ }), + +/***/ 77123: +/*!*****************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/FormOutlined.js + 1 modules ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_FormOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/FormOutlined.js +// This icon file is generated automatically. +var FormOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z" } }, { "tag": "path", "attrs": { "d": "M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z" } }] }, "name": "form", "theme": "outlined" }; +/* harmony default export */ var asn_FormOutlined = (FormOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(74643); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/FormOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var FormOutlined_FormOutlined = function FormOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_FormOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_FormOutlined = (/*#__PURE__*/react.forwardRef(FormOutlined_FormOutlined)); + +/***/ }), + +/***/ 64082: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js + 1 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_InboxOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/InboxOutlined.js +// This icon file is generated automatically. +var InboxOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z" } }] }, "name": "inbox", "theme": "outlined" }; +/* harmony default export */ var asn_InboxOutlined = (InboxOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(74643); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var InboxOutlined_InboxOutlined = function InboxOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_InboxOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_InboxOutlined = (/*#__PURE__*/react.forwardRef(InboxOutlined_InboxOutlined)); + +/***/ }), + +/***/ 3089: +/*!************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.js + 1 modules ***! + \************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_MinusCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/MinusCircleOutlined.js +// This icon file is generated automatically. +var MinusCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" } }, { "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "minus-circle", "theme": "outlined" }; +/* harmony default export */ var asn_MinusCircleOutlined = (MinusCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(74643); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var MinusCircleOutlined_MinusCircleOutlined = function MinusCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_MinusCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_MinusCircleOutlined = (/*#__PURE__*/react.forwardRef(MinusCircleOutlined_MinusCircleOutlined)); + +/***/ }), + +/***/ 33160: +/*!*******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ReloadOutlined.js + 1 modules ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ReloadOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ReloadOutlined.js +// This icon file is generated automatically. +var ReloadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" } }] }, "name": "reload", "theme": "outlined" }; +/* harmony default export */ var asn_ReloadOutlined = (ReloadOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(74643); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ReloadOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ReloadOutlined_ReloadOutlined = function ReloadOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ReloadOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ReloadOutlined = (/*#__PURE__*/react.forwardRef(ReloadOutlined_ReloadOutlined)); + +/***/ }), + +/***/ 88484: +/*!*******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + 1 modules ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_UploadOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.js +// This icon file is generated automatically. +var UploadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" }; +/* harmony default export */ var asn_UploadOutlined = (UploadOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(74643); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var UploadOutlined_UploadOutlined = function UploadOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_UploadOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_UploadOutlined = (/*#__PURE__*/react.forwardRef(UploadOutlined_UploadOutlined)); + +/***/ }), + +/***/ 49288: +/*!*****************************************************!*\ + !*** ./node_modules/antd/es/auto-complete/index.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/Children/toArray */ 37419); +/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rc-util/es/omit */ 10366); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _util_PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_util/PurePanel */ 8745); +/* harmony import */ var _util_reactNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_util/reactNode */ 96159); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../select */ 79035); +'use client'; + + + + + + + + + + +const { + Option +} = _select__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z; +function isSelectOptionOrSelectOptGroup(child) { + return child && child.type && (child.type.isSelectOption || child.type.isSelectOptGroup); +} +const AutoComplete = (props, ref) => { + const { + prefixCls: customizePrefixCls, + className, + popupClassName, + dropdownClassName, + children, + dataSource + } = props; + const childNodes = (0,rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(children); + // ============================= Input ============================= + let customizeInput; + if (childNodes.length === 1 && (0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(childNodes[0]) && !isSelectOptionOrSelectOptGroup(childNodes[0])) { + [customizeInput] = childNodes; + } + const getInputElement = customizeInput ? () => customizeInput : undefined; + // ============================ Options ============================ + let optionChildren; + // [Legacy] convert `children` or `dataSource` into option children + if (childNodes.length && isSelectOptionOrSelectOptGroup(childNodes[0])) { + optionChildren = children; + } else { + optionChildren = dataSource ? dataSource.map(item => { + if ((0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(item)) { + return item; + } + switch (typeof item) { + case 'string': + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, { + key: item, + value: item + }, item); + case 'object': + { + const { + value: optionValue + } = item; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, { + key: optionValue, + value: optionValue + }, item.text); + } + default: + false ? 0 : void 0; + return undefined; + } + }) : []; + } + if (false) {} + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_5__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('select', customizePrefixCls); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_select__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, Object.assign({ + ref: ref, + showArrow: false + }, (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(props, ['dataSource', 'dropdownClassName']), { + prefixCls: prefixCls, + popupClassName: popupClassName || dropdownClassName, + className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(`${prefixCls}-auto-complete`, className), + mode: _select__WEBPACK_IMPORTED_MODULE_3__/* ["default"].SECRET_COMBOBOX_MODE_DO_NOT_USE */ .Z.SECRET_COMBOBOX_MODE_DO_NOT_USE, + // Internal api + getInputElement + }), optionChildren); +}; +const RefAutoComplete = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(AutoComplete); +// We don't care debug panel +/* istanbul ignore next */ +const PurePanel = (0,_util_PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(RefAutoComplete); +RefAutoComplete.Option = Option; +RefAutoComplete._InternalPanelDoNotUseOrYouWillBeFired = PurePanel; +if (false) {} +/* harmony default export */ __webpack_exports__["Z"] = (RefAutoComplete); + +/***/ }), + +/***/ 35479: +/*!***********************************************************!*\ + !*** ./node_modules/antd/es/drawer/index.js + 16 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ drawer; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/react-dom/index.js +var react_dom = __webpack_require__(73935); +// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/canUseDom.js +var Dom_canUseDom = __webpack_require__(98924); +// EXTERNAL MODULE: ./node_modules/rc-util/es/warning.js +var es_warning = __webpack_require__(80334); +// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(42550); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/Context.js + +var OrderContext = /*#__PURE__*/react.createContext(null); +/* harmony default export */ var Context = (OrderContext); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useLayoutEffect.js +var useLayoutEffect = __webpack_require__(8410); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/useDom.js + + + + + + +var EMPTY_LIST = []; + +/** + * Will add `div` to document. Nest call will keep order + * @param render Render DOM in document + */ +function useDom(render, debug) { + var _React$useState = react.useState(function () { + if (!(0,Dom_canUseDom/* default */.Z)()) { + return null; + } + var defaultEle = document.createElement('div'); + if (false) {} + return defaultEle; + }), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 1), + ele = _React$useState2[0]; + + // ========================== Order ========================== + var appendedRef = react.useRef(false); + var queueCreate = react.useContext(Context); + var _React$useState3 = react.useState(EMPTY_LIST), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + queue = _React$useState4[0], + setQueue = _React$useState4[1]; + var mergedQueueCreate = queueCreate || (appendedRef.current ? undefined : function (appendFn) { + setQueue(function (origin) { + var newQueue = [appendFn].concat((0,toConsumableArray/* default */.Z)(origin)); + return newQueue; + }); + }); + + // =========================== DOM =========================== + function append() { + if (!ele.parentElement) { + document.body.appendChild(ele); + } + appendedRef.current = true; + } + function cleanup() { + var _ele$parentElement; + (_ele$parentElement = ele.parentElement) === null || _ele$parentElement === void 0 ? void 0 : _ele$parentElement.removeChild(ele); + appendedRef.current = false; + } + (0,useLayoutEffect/* default */.Z)(function () { + if (render) { + if (queueCreate) { + queueCreate(append); + } else { + append(); + } + } else { + cleanup(); + } + return cleanup; + }, [render]); + (0,useLayoutEffect/* default */.Z)(function () { + if (queue.length) { + queue.forEach(function (appendFn) { + return appendFn(); + }); + setQueue(EMPTY_LIST); + } + }, [queue]); + return [ele, mergedQueueCreate]; +} +// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/dynamicCSS.js + 1 modules +var dynamicCSS = __webpack_require__(48981); +// EXTERNAL MODULE: ./node_modules/rc-util/es/getScrollBarSize.js +var getScrollBarSize = __webpack_require__(74204); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/util.js +/** + * Test usage export. Do not use in your production + */ +function isBodyOverflowing() { + return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight) && window.innerWidth > document.body.offsetWidth; +} +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/useScrollLocker.js + + + + + + +var UNIQUE_ID = "rc-util-locker-".concat(Date.now()); +var uuid = 0; +function useScrollLocker(lock) { + var mergedLock = !!lock; + var _React$useState = react.useState(function () { + uuid += 1; + return "".concat(UNIQUE_ID, "_").concat(uuid); + }), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 1), + id = _React$useState2[0]; + (0,useLayoutEffect/* default */.Z)(function () { + if (mergedLock) { + var scrollbarSize = (0,getScrollBarSize/* getTargetScrollBarSize */.o)(document.body).width; + var isOverflow = isBodyOverflowing(); + (0,dynamicCSS/* updateCSS */.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(isOverflow ? "width: calc(100% - ".concat(scrollbarSize, "px);") : '', "\n}"), id); + } else { + (0,dynamicCSS/* removeCSS */.jL)(id); + } + return function () { + (0,dynamicCSS/* removeCSS */.jL)(id); + }; + }, [mergedLock, id]); +} +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/mock.js +var inline = false; +function inlineMock(nextInline) { + if (typeof nextInline === 'boolean') { + inline = nextInline; + } + return inline; +} +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/Portal.js + + + + + + + + + + +var getPortalContainer = function getPortalContainer(getContainer) { + if (getContainer === false) { + return false; + } + if (!(0,Dom_canUseDom/* default */.Z)() || !getContainer) { + return null; + } + if (typeof getContainer === 'string') { + return document.querySelector(getContainer); + } + if (typeof getContainer === 'function') { + return getContainer(); + } + return getContainer; +}; +var Portal = /*#__PURE__*/react.forwardRef(function (props, ref) { + var open = props.open, + autoLock = props.autoLock, + getContainer = props.getContainer, + debug = props.debug, + _props$autoDestroy = props.autoDestroy, + autoDestroy = _props$autoDestroy === void 0 ? true : _props$autoDestroy, + children = props.children; + var _React$useState = react.useState(open), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + shouldRender = _React$useState2[0], + setShouldRender = _React$useState2[1]; + var mergedRender = shouldRender || open; + + // ========================= Warning ========================= + if (false) {} + + // ====================== Should Render ====================== + react.useEffect(function () { + if (autoDestroy || open) { + setShouldRender(open); + } + }, [open, autoDestroy]); + + // ======================== Container ======================== + var _React$useState3 = react.useState(function () { + return getPortalContainer(getContainer); + }), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + innerContainer = _React$useState4[0], + setInnerContainer = _React$useState4[1]; + react.useEffect(function () { + var customizeContainer = getPortalContainer(getContainer); + + // Tell component that we check this in effect which is safe to be `null` + setInnerContainer(customizeContainer !== null && customizeContainer !== void 0 ? customizeContainer : null); + }); + var _useDom = useDom(mergedRender && !innerContainer, debug), + _useDom2 = (0,slicedToArray/* default */.Z)(_useDom, 2), + defaultContainer = _useDom2[0], + queueCreate = _useDom2[1]; + var mergedContainer = innerContainer !== null && innerContainer !== void 0 ? innerContainer : defaultContainer; + + // ========================= Locker ========================== + useScrollLocker(autoLock && open && (0,Dom_canUseDom/* default */.Z)() && (mergedContainer === defaultContainer || mergedContainer === document.body)); + + // =========================== Ref =========================== + var childRef = null; + if (children && (0,es_ref/* supportRef */.Yr)(children) && ref) { + var _ref = children; + childRef = _ref.ref; + } + var mergedRef = (0,es_ref/* useComposeRef */.x1)(childRef, ref); + + // ========================= Render ========================== + // Do not render when nothing need render + // When innerContainer is `undefined`, it may not ready since user use ref in the same render + if (!mergedRender || !(0,Dom_canUseDom/* default */.Z)() || innerContainer === undefined) { + return null; + } + + // Render inline + var renderInline = mergedContainer === false || inlineMock(); + var reffedChildren = children; + if (ref) { + reffedChildren = /*#__PURE__*/react.cloneElement(children, { + ref: mergedRef + }); + } + return /*#__PURE__*/react.createElement(Context.Provider, { + value: queueCreate + }, renderInline ? reffedChildren : /*#__PURE__*/(0,react_dom.createPortal)(reffedChildren, mergedContainer)); +}); +if (false) {} +/* harmony default export */ var es_Portal = (Portal); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/index.js + + + +/* harmony default export */ var es = (es_Portal); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/rc-motion/es/index.js + 11 modules +var rc_motion_es = __webpack_require__(62874); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/context.js + +var DrawerContext = /*#__PURE__*/react.createContext(null); +/* harmony default export */ var context = (DrawerContext); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/DrawerPanel.js + + + + +var DrawerPanel = function DrawerPanel(props) { + var prefixCls = props.prefixCls, + className = props.className, + style = props.style, + children = props.children, + containerRef = props.containerRef, + onMouseEnter = props.onMouseEnter, + onMouseOver = props.onMouseOver, + onMouseLeave = props.onMouseLeave, + onClick = props.onClick, + onKeyDown = props.onKeyDown, + onKeyUp = props.onKeyUp; + var eventHandlers = { + onMouseEnter: onMouseEnter, + onMouseOver: onMouseOver, + onMouseLeave: onMouseLeave, + onClick: onClick, + onKeyDown: onKeyDown, + onKeyUp: onKeyUp + }; + // =============================== Render =============================== + return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classnames_default()("".concat(prefixCls, "-content"), className), + style: (0,objectSpread2/* default */.Z)({}, style), + "aria-modal": "true", + role: "dialog", + ref: containerRef + }, eventHandlers), children)); +}; +if (false) {} +/* harmony default export */ var es_DrawerPanel = (DrawerPanel); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/util.js + + +function parseWidthHeight(value) { + if (typeof value === 'string' && String(Number(value)) === value) { + (0,es_warning/* default */.ZP)(false, 'Invalid value type of `width` or `height` which should be number type instead.'); + return Number(value); + } + return value; +} +function warnCheck(props) { + warning(!('wrapperClassName' in props), "'wrapperClassName' is removed. Please use 'rootClassName' instead."); + warning(canUseDom() || !props.open, "Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead."); +} +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/DrawerPopup.js + + + + + + + + + + + + +var sentinelStyle = { + width: 0, + height: 0, + overflow: 'hidden', + outline: 'none', + position: 'absolute' +}; +function DrawerPopup(props, ref) { + var _ref, _pushConfig$distance, _pushConfig, _classNames; + var prefixCls = props.prefixCls, + open = props.open, + placement = props.placement, + inline = props.inline, + push = props.push, + forceRender = props.forceRender, + autoFocus = props.autoFocus, + keyboard = props.keyboard, + rootClassName = props.rootClassName, + rootStyle = props.rootStyle, + zIndex = props.zIndex, + className = props.className, + style = props.style, + motion = props.motion, + width = props.width, + height = props.height, + children = props.children, + contentWrapperStyle = props.contentWrapperStyle, + mask = props.mask, + maskClosable = props.maskClosable, + maskMotion = props.maskMotion, + maskClassName = props.maskClassName, + maskStyle = props.maskStyle, + afterOpenChange = props.afterOpenChange, + onClose = props.onClose, + onMouseEnter = props.onMouseEnter, + onMouseOver = props.onMouseOver, + onMouseLeave = props.onMouseLeave, + onClick = props.onClick, + onKeyDown = props.onKeyDown, + onKeyUp = props.onKeyUp; + // ================================ Refs ================================ + var panelRef = react.useRef(); + var sentinelStartRef = react.useRef(); + var sentinelEndRef = react.useRef(); + react.useImperativeHandle(ref, function () { + return panelRef.current; + }); + var onPanelKeyDown = function onPanelKeyDown(event) { + var keyCode = event.keyCode, + shiftKey = event.shiftKey; + switch (keyCode) { + // Tab active + case KeyCode/* default.TAB */.Z.TAB: + { + if (keyCode === KeyCode/* default.TAB */.Z.TAB) { + if (!shiftKey && document.activeElement === sentinelEndRef.current) { + var _sentinelStartRef$cur; + (_sentinelStartRef$cur = sentinelStartRef.current) === null || _sentinelStartRef$cur === void 0 ? void 0 : _sentinelStartRef$cur.focus({ + preventScroll: true + }); + } else if (shiftKey && document.activeElement === sentinelStartRef.current) { + var _sentinelEndRef$curre; + (_sentinelEndRef$curre = sentinelEndRef.current) === null || _sentinelEndRef$curre === void 0 ? void 0 : _sentinelEndRef$curre.focus({ + preventScroll: true + }); + } + } + break; + } + // Close + case KeyCode/* default.ESC */.Z.ESC: + { + if (onClose && keyboard) { + event.stopPropagation(); + onClose(event); + } + break; + } + } + }; + // ========================== Control =========================== + // Auto Focus + react.useEffect(function () { + if (open && autoFocus) { + var _panelRef$current; + (_panelRef$current = panelRef.current) === null || _panelRef$current === void 0 ? void 0 : _panelRef$current.focus({ + preventScroll: true + }); + } + }, [open]); + // ============================ Push ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + pushed = _React$useState2[0], + setPushed = _React$useState2[1]; + var parentContext = react.useContext(context); + // Merge push distance + var pushConfig; + if (push === false) { + pushConfig = { + distance: 0 + }; + } else if (push === true) { + pushConfig = {}; + } else { + pushConfig = push || {}; + } + var pushDistance = (_ref = (_pushConfig$distance = (_pushConfig = pushConfig) === null || _pushConfig === void 0 ? void 0 : _pushConfig.distance) !== null && _pushConfig$distance !== void 0 ? _pushConfig$distance : parentContext === null || parentContext === void 0 ? void 0 : parentContext.pushDistance) !== null && _ref !== void 0 ? _ref : 180; + var mergedContext = react.useMemo(function () { + return { + pushDistance: pushDistance, + push: function push() { + setPushed(true); + }, + pull: function pull() { + setPushed(false); + } + }; + }, [pushDistance]); + // ========================= ScrollLock ========================= + // Tell parent to push + react.useEffect(function () { + if (open) { + var _parentContext$push; + parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$push = parentContext.push) === null || _parentContext$push === void 0 ? void 0 : _parentContext$push.call(parentContext); + } else { + var _parentContext$pull; + parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$pull = parentContext.pull) === null || _parentContext$pull === void 0 ? void 0 : _parentContext$pull.call(parentContext); + } + }, [open]); + // Clean up + react.useEffect(function () { + return function () { + var _parentContext$pull2; + parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$pull2 = parentContext.pull) === null || _parentContext$pull2 === void 0 ? void 0 : _parentContext$pull2.call(parentContext); + }; + }, []); + // ============================ Mask ============================ + var maskNode = mask && /*#__PURE__*/react.createElement(rc_motion_es/* default */.Z, (0,esm_extends/* default */.Z)({ + key: "mask" + }, maskMotion, { + visible: open + }), function (_ref2, maskRef) { + var motionMaskClassName = _ref2.className, + motionMaskStyle = _ref2.style; + return /*#__PURE__*/react.createElement("div", { + className: classnames_default()("".concat(prefixCls, "-mask"), motionMaskClassName, maskClassName), + style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, motionMaskStyle), maskStyle), + onClick: maskClosable && open ? onClose : undefined, + ref: maskRef + }); + }); + // =========================== Panel ============================ + var motionProps = typeof motion === 'function' ? motion(placement) : motion; + var wrapperStyle = {}; + if (pushed && pushDistance) { + switch (placement) { + case 'top': + wrapperStyle.transform = "translateY(".concat(pushDistance, "px)"); + break; + case 'bottom': + wrapperStyle.transform = "translateY(".concat(-pushDistance, "px)"); + break; + case 'left': + wrapperStyle.transform = "translateX(".concat(pushDistance, "px)"); + break; + default: + wrapperStyle.transform = "translateX(".concat(-pushDistance, "px)"); + break; + } + } + if (placement === 'left' || placement === 'right') { + wrapperStyle.width = parseWidthHeight(width); + } else { + wrapperStyle.height = parseWidthHeight(height); + } + var eventHandlers = { + onMouseEnter: onMouseEnter, + onMouseOver: onMouseOver, + onMouseLeave: onMouseLeave, + onClick: onClick, + onKeyDown: onKeyDown, + onKeyUp: onKeyUp + }; + var panelNode = /*#__PURE__*/react.createElement(rc_motion_es/* default */.Z, (0,esm_extends/* default */.Z)({ + key: "panel" + }, motionProps, { + visible: open, + forceRender: forceRender, + onVisibleChanged: function onVisibleChanged(nextVisible) { + afterOpenChange === null || afterOpenChange === void 0 ? void 0 : afterOpenChange(nextVisible); + }, + removeOnLeave: false, + leavedClassName: "".concat(prefixCls, "-content-wrapper-hidden") + }), function (_ref3, motionRef) { + var motionClassName = _ref3.className, + motionStyle = _ref3.style; + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classnames_default()("".concat(prefixCls, "-content-wrapper"), motionClassName), + style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, wrapperStyle), motionStyle), contentWrapperStyle) + }, (0,pickAttrs/* default */.Z)(props, { + data: true + })), /*#__PURE__*/react.createElement(es_DrawerPanel, (0,esm_extends/* default */.Z)({ + containerRef: motionRef, + prefixCls: prefixCls, + className: className, + style: style + }, eventHandlers), children)); + }); + // =========================== Render =========================== + var containerStyle = (0,objectSpread2/* default */.Z)({}, rootStyle); + if (zIndex) { + containerStyle.zIndex = zIndex; + } + return /*#__PURE__*/react.createElement(context.Provider, { + value: mergedContext + }, /*#__PURE__*/react.createElement("div", { + className: classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(placement), rootClassName, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-open"), open), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-inline"), inline), _classNames)), + style: containerStyle, + tabIndex: -1, + ref: panelRef, + onKeyDown: onPanelKeyDown + }, maskNode, /*#__PURE__*/react.createElement("div", { + tabIndex: 0, + ref: sentinelStartRef, + style: sentinelStyle, + "aria-hidden": "true", + "data-sentinel": "start" + }), panelNode, /*#__PURE__*/react.createElement("div", { + tabIndex: 0, + ref: sentinelEndRef, + style: sentinelStyle, + "aria-hidden": "true", + "data-sentinel": "end" + }))); +} +var RefDrawerPopup = /*#__PURE__*/react.forwardRef(DrawerPopup); +if (false) {} +/* harmony default export */ var es_DrawerPopup = (RefDrawerPopup); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/Drawer.js + + + + + + + +var Drawer = function Drawer(props) { + var _props$open = props.open, + open = _props$open === void 0 ? false : _props$open, + _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-drawer' : _props$prefixCls, + _props$placement = props.placement, + placement = _props$placement === void 0 ? 'right' : _props$placement, + _props$autoFocus = props.autoFocus, + autoFocus = _props$autoFocus === void 0 ? true : _props$autoFocus, + _props$keyboard = props.keyboard, + keyboard = _props$keyboard === void 0 ? true : _props$keyboard, + _props$width = props.width, + width = _props$width === void 0 ? 378 : _props$width, + _props$mask = props.mask, + mask = _props$mask === void 0 ? true : _props$mask, + _props$maskClosable = props.maskClosable, + maskClosable = _props$maskClosable === void 0 ? true : _props$maskClosable, + getContainer = props.getContainer, + forceRender = props.forceRender, + afterOpenChange = props.afterOpenChange, + destroyOnClose = props.destroyOnClose, + onMouseEnter = props.onMouseEnter, + onMouseOver = props.onMouseOver, + onMouseLeave = props.onMouseLeave, + onClick = props.onClick, + onKeyDown = props.onKeyDown, + onKeyUp = props.onKeyUp; + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + animatedVisible = _React$useState2[0], + setAnimatedVisible = _React$useState2[1]; + // ============================= Warn ============================= + if (false) {} + // ============================= Open ============================= + var _React$useState3 = react.useState(false), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + mounted = _React$useState4[0], + setMounted = _React$useState4[1]; + (0,useLayoutEffect/* default */.Z)(function () { + setMounted(true); + }, []); + var mergedOpen = mounted ? open : false; + // ============================ Focus ============================= + var panelRef = react.useRef(); + var lastActiveRef = react.useRef(); + (0,useLayoutEffect/* default */.Z)(function () { + if (mergedOpen) { + lastActiveRef.current = document.activeElement; + } + }, [mergedOpen]); + // ============================= Open ============================= + var internalAfterOpenChange = function internalAfterOpenChange(nextVisible) { + var _panelRef$current; + setAnimatedVisible(nextVisible); + afterOpenChange === null || afterOpenChange === void 0 ? void 0 : afterOpenChange(nextVisible); + if (!nextVisible && lastActiveRef.current && !((_panelRef$current = panelRef.current) === null || _panelRef$current === void 0 ? void 0 : _panelRef$current.contains(lastActiveRef.current))) { + var _lastActiveRef$curren; + (_lastActiveRef$curren = lastActiveRef.current) === null || _lastActiveRef$curren === void 0 ? void 0 : _lastActiveRef$curren.focus({ + preventScroll: true + }); + } + }; + // ============================ Render ============================ + if (!forceRender && !animatedVisible && !mergedOpen && destroyOnClose) { + return null; + } + var eventHandlers = { + onMouseEnter: onMouseEnter, + onMouseOver: onMouseOver, + onMouseLeave: onMouseLeave, + onClick: onClick, + onKeyDown: onKeyDown, + onKeyUp: onKeyUp + }; + var drawerPopupProps = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + open: mergedOpen, + prefixCls: prefixCls, + placement: placement, + autoFocus: autoFocus, + keyboard: keyboard, + width: width, + mask: mask, + maskClosable: maskClosable, + inline: getContainer === false, + afterOpenChange: internalAfterOpenChange, + ref: panelRef + }, eventHandlers); + return /*#__PURE__*/react.createElement(es, { + open: mergedOpen || forceRender || animatedVisible, + autoDestroy: false, + getContainer: getContainer, + autoLock: mask && (mergedOpen || animatedVisible) + }, /*#__PURE__*/react.createElement(es_DrawerPopup, drawerPopupProps)); +}; +if (false) {} +/* harmony default export */ var es_Drawer = (Drawer); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/index.js +// export this package's api + +/* harmony default export */ var rc_drawer_es = (es_Drawer); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/motion.js +var motion = __webpack_require__(33603); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var config_provider_context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/hooks/useClosable.js +var useClosable = __webpack_require__(69760); +;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/DrawerPanel.js + + + +const DrawerPanel_DrawerPanel = props => { + const { + prefixCls, + title, + footer, + extra, + closeIcon, + closable, + onClose, + headerStyle, + drawerStyle, + bodyStyle, + footerStyle, + children + } = props; + const customCloseIconRender = react.useCallback(icon => /*#__PURE__*/react.createElement("button", { + type: "button", + onClick: onClose, + "aria-label": "Close", + className: `${prefixCls}-close` + }, icon), [onClose]); + const [mergedClosable, mergedCloseIcon] = (0,useClosable/* default */.Z)(closable, closeIcon, customCloseIconRender, undefined, true); + const headerNode = react.useMemo(() => { + if (!title && !mergedClosable) { + return null; + } + return /*#__PURE__*/react.createElement("div", { + style: headerStyle, + className: classnames_default()(`${prefixCls}-header`, { + [`${prefixCls}-header-close-only`]: mergedClosable && !title && !extra + }) + }, /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-header-title` + }, mergedCloseIcon, title && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-title` + }, title)), extra && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-extra` + }, extra)); + }, [mergedClosable, mergedCloseIcon, extra, headerStyle, prefixCls, title]); + const footerNode = react.useMemo(() => { + if (!footer) { + return null; + } + const footerClassName = `${prefixCls}-footer`; + return /*#__PURE__*/react.createElement("div", { + className: footerClassName, + style: footerStyle + }, footer); + }, [footer, footerStyle, prefixCls]); + return /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-wrapper-body`, + style: drawerStyle + }, headerNode, /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-body`, + style: bodyStyle + }, children), footerNode); +}; +/* harmony default export */ var drawer_DrawerPanel = (DrawerPanel_DrawerPanel); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/style/motion.js +const genMotionStyle = token => { + const { + componentCls, + motionDurationSlow + } = token; + const sharedPanelMotion = { + '&-enter, &-appear, &-leave': { + '&-start': { + transition: 'none' + }, + '&-active': { + transition: `all ${motionDurationSlow}` + } + } + }; + return { + [componentCls]: { + // ======================== Mask ======================== + [`${componentCls}-mask-motion`]: { + '&-enter, &-appear, &-leave': { + '&-active': { + transition: `all ${motionDurationSlow}` + } + }, + '&-enter, &-appear': { + opacity: 0, + '&-active': { + opacity: 1 + } + }, + '&-leave': { + opacity: 1, + '&-active': { + opacity: 0 + } + } + }, + // ======================= Panel ======================== + [`${componentCls}-panel-motion`]: { + // Left + '&-left': [sharedPanelMotion, { + '&-enter, &-appear': { + '&-start': { + transform: 'translateX(-100%) !important' + }, + '&-active': { + transform: 'translateX(0)' + } + }, + '&-leave': { + transform: 'translateX(0)', + '&-active': { + transform: 'translateX(-100%)' + } + } + }], + // Right + '&-right': [sharedPanelMotion, { + '&-enter, &-appear': { + '&-start': { + transform: 'translateX(100%) !important' + }, + '&-active': { + transform: 'translateX(0)' + } + }, + '&-leave': { + transform: 'translateX(0)', + '&-active': { + transform: 'translateX(100%)' + } + } + }], + // Top + '&-top': [sharedPanelMotion, { + '&-enter, &-appear': { + '&-start': { + transform: 'translateY(-100%) !important' + }, + '&-active': { + transform: 'translateY(0)' + } + }, + '&-leave': { + transform: 'translateY(0)', + '&-active': { + transform: 'translateY(-100%)' + } + } + }], + // Bottom + '&-bottom': [sharedPanelMotion, { + '&-enter, &-appear': { + '&-start': { + transform: 'translateY(100%) !important' + }, + '&-active': { + transform: 'translateY(0)' + } + }, + '&-leave': { + transform: 'translateY(0)', + '&-active': { + transform: 'translateY(100%)' + } + } + }] + } + } + }; +}; +/* harmony default export */ var style_motion = (genMotionStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/style/index.js + + +// =============================== Base =============================== +const genDrawerStyle = token => { + const { + componentCls, + zIndexPopup, + colorBgMask, + colorBgElevated, + motionDurationSlow, + motionDurationMid, + padding, + paddingLG, + fontSizeLG, + lineHeightLG, + lineWidth, + lineType, + colorSplit, + marginSM, + colorIcon, + colorIconHover, + colorText, + fontWeightStrong, + footerPaddingBlock, + footerPaddingInline + } = token; + const wrapperCls = `${componentCls}-content-wrapper`; + return { + [componentCls]: { + position: 'fixed', + inset: 0, + zIndex: zIndexPopup, + pointerEvents: 'none', + '&-pure': { + position: 'relative', + background: colorBgElevated, + [`&${componentCls}-left`]: { + boxShadow: token.boxShadowDrawerLeft + }, + [`&${componentCls}-right`]: { + boxShadow: token.boxShadowDrawerRight + }, + [`&${componentCls}-top`]: { + boxShadow: token.boxShadowDrawerUp + }, + [`&${componentCls}-bottom`]: { + boxShadow: token.boxShadowDrawerDown + } + }, + '&-inline': { + position: 'absolute' + }, + // ====================== Mask ====================== + [`${componentCls}-mask`]: { + position: 'absolute', + inset: 0, + zIndex: zIndexPopup, + background: colorBgMask, + pointerEvents: 'auto' + }, + // ==================== Content ===================== + [wrapperCls]: { + position: 'absolute', + zIndex: zIndexPopup, + maxWidth: '100vw', + transition: `all ${motionDurationSlow}`, + '&-hidden': { + display: 'none' + } + }, + // Placement + [`&-left > ${wrapperCls}`]: { + top: 0, + bottom: 0, + left: { + _skip_check_: true, + value: 0 + }, + boxShadow: token.boxShadowDrawerLeft + }, + [`&-right > ${wrapperCls}`]: { + top: 0, + right: { + _skip_check_: true, + value: 0 + }, + bottom: 0, + boxShadow: token.boxShadowDrawerRight + }, + [`&-top > ${wrapperCls}`]: { + top: 0, + insetInline: 0, + boxShadow: token.boxShadowDrawerUp + }, + [`&-bottom > ${wrapperCls}`]: { + bottom: 0, + insetInline: 0, + boxShadow: token.boxShadowDrawerDown + }, + [`${componentCls}-content`]: { + width: '100%', + height: '100%', + overflow: 'auto', + background: colorBgElevated, + pointerEvents: 'auto' + }, + // ===================== Panel ====================== + [`${componentCls}-wrapper-body`]: { + display: 'flex', + flexDirection: 'column', + width: '100%', + height: '100%' + }, + // Header + [`${componentCls}-header`]: { + display: 'flex', + flex: 0, + alignItems: 'center', + padding: `${padding}px ${paddingLG}px`, + fontSize: fontSizeLG, + lineHeight: lineHeightLG, + borderBottom: `${lineWidth}px ${lineType} ${colorSplit}`, + '&-title': { + display: 'flex', + flex: 1, + alignItems: 'center', + minWidth: 0, + minHeight: 0 + } + }, + [`${componentCls}-extra`]: { + flex: 'none' + }, + [`${componentCls}-close`]: { + display: 'inline-block', + marginInlineEnd: marginSM, + color: colorIcon, + fontWeight: fontWeightStrong, + fontSize: fontSizeLG, + fontStyle: 'normal', + lineHeight: 1, + textAlign: 'center', + textTransform: 'none', + textDecoration: 'none', + background: 'transparent', + border: 0, + outline: 0, + cursor: 'pointer', + transition: `color ${motionDurationMid}`, + textRendering: 'auto', + '&:focus, &:hover': { + color: colorIconHover, + textDecoration: 'none' + } + }, + [`${componentCls}-title`]: { + flex: 1, + margin: 0, + color: colorText, + fontWeight: token.fontWeightStrong, + fontSize: fontSizeLG, + lineHeight: lineHeightLG + }, + // Body + [`${componentCls}-body`]: { + flex: 1, + minWidth: 0, + minHeight: 0, + padding: paddingLG, + overflow: 'auto' + }, + // Footer + [`${componentCls}-footer`]: { + flexShrink: 0, + padding: `${footerPaddingBlock}px ${footerPaddingInline}px`, + borderTop: `${lineWidth}px ${lineType} ${colorSplit}` + }, + // ====================== RTL ======================= + '&-rtl': { + direction: 'rtl' + } + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var drawer_style = ((0,genComponentStyleHook/* default */.Z)('Drawer', token => { + const drawerToken = (0,statistic/* merge */.TS)(token, {}); + return [genDrawerStyle(drawerToken), style_motion(drawerToken)]; +}, token => ({ + zIndexPopup: token.zIndexPopupBase, + footerPaddingBlock: token.paddingXS, + footerPaddingInline: token.padding +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + +// CSSINJS + + +const SizeTypes = (/* unused pure expression or super */ null && (['default', 'large'])); +const defaultPushState = { + distance: 180 +}; +function drawer_Drawer(props) { + var _a; + const { + rootClassName, + width, + height, + size = 'default', + mask = true, + push = defaultPushState, + open, + afterOpenChange, + onClose, + prefixCls: customizePrefixCls, + getContainer: customizeGetContainer, + style, + className, + // Deprecated + visible, + afterVisibleChange + } = props, + rest = __rest(props, ["rootClassName", "width", "height", "size", "mask", "push", "open", "afterOpenChange", "onClose", "prefixCls", "getContainer", "style", "className", "visible", "afterVisibleChange"]); + const { + getPopupContainer, + getPrefixCls, + direction, + drawer + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('drawer', customizePrefixCls); + // Style + const [wrapSSR, hashId] = drawer_style(prefixCls); + const getContainer = + // 有可能为 false,所以不能直接判断 + customizeGetContainer === undefined && getPopupContainer ? () => getPopupContainer(document.body) : customizeGetContainer; + const drawerClassName = classnames_default()({ + 'no-mask': !mask, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, rootClassName, hashId); + // ========================== Warning =========================== + if (false) {} + // ============================ Size ============================ + const mergedWidth = react.useMemo(() => width !== null && width !== void 0 ? width : size === 'large' ? 736 : 378, [width, size]); + const mergedHeight = react.useMemo(() => height !== null && height !== void 0 ? height : size === 'large' ? 736 : 378, [height, size]); + // =========================== Motion =========================== + const maskMotion = { + motionName: (0,motion/* getTransitionName */.mL)(prefixCls, 'mask-motion'), + motionAppear: true, + motionEnter: true, + motionLeave: true, + motionDeadline: 500 + }; + const panelMotion = motionPlacement => ({ + motionName: (0,motion/* getTransitionName */.mL)(prefixCls, `panel-motion-${motionPlacement}`), + motionAppear: true, + motionEnter: true, + motionLeave: true, + motionDeadline: 500 + }); + // =========================== Render =========================== + return wrapSSR( /*#__PURE__*/react.createElement(Compact/* NoCompactStyle */.BR, null, /*#__PURE__*/react.createElement(form_context/* NoFormStyle */.Ux, { + status: true, + override: true + }, /*#__PURE__*/react.createElement(rc_drawer_es, Object.assign({ + prefixCls: prefixCls, + onClose: onClose, + maskMotion: maskMotion, + motion: panelMotion + }, rest, { + open: open !== null && open !== void 0 ? open : visible, + mask: mask, + push: push, + width: mergedWidth, + height: mergedHeight, + style: Object.assign(Object.assign({}, drawer === null || drawer === void 0 ? void 0 : drawer.style), style), + className: classnames_default()(drawer === null || drawer === void 0 ? void 0 : drawer.className, className), + rootClassName: drawerClassName, + getContainer: getContainer, + afterOpenChange: afterOpenChange !== null && afterOpenChange !== void 0 ? afterOpenChange : afterVisibleChange + }), /*#__PURE__*/react.createElement(drawer_DrawerPanel, Object.assign({ + prefixCls: prefixCls + }, rest, { + onClose: onClose + })))))); +} +if (false) {} +function PurePanel(_a) { + var { + prefixCls: customizePrefixCls, + style, + className, + placement = 'right' + } = _a, + restProps = __rest(_a, ["prefixCls", "style", "className", "placement"]); + const { + getPrefixCls + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('drawer', customizePrefixCls); + // Style + const [wrapSSR, hashId] = drawer_style(prefixCls); + return wrapSSR( /*#__PURE__*/react.createElement("div", { + className: classnames_default()(prefixCls, `${prefixCls}-pure`, `${prefixCls}-${placement}`, hashId, className), + style: style + }, /*#__PURE__*/react.createElement(drawer_DrawerPanel, Object.assign({ + prefixCls: prefixCls + }, restProps)))); +} +drawer_Drawer._InternalPanelDoNotUseOrYouWillBeFired = PurePanel; +/* harmony default export */ var drawer = (drawer_Drawer); + +/***/ }), + +/***/ 51904: +/*!*******************************************************!*\ + !*** ./node_modules/antd/es/tag/index.js + 3 modules ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ tag; } +}); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js + 1 modules +var CloseOutlined = __webpack_require__(97937); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/colors.js +var colors = __webpack_require__(98787); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/hooks/useClosable.js +var useClosable = __webpack_require__(69760); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/wave/index.js + 4 modules +var wave = __webpack_require__(45353); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +;// CONCATENATED MODULE: ./node_modules/antd/es/_util/capitalize.js +function capitalize(str) { + if (typeof str !== 'string') { + return str; + } + const ret = str.charAt(0).toUpperCase() + str.slice(1); + return ret; +} +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genPresetColor.js +var genPresetColor = __webpack_require__(98719); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/tag/style/index.js + + + +const genTagStatusStyle = (token, status, cssVariableType) => { + const capitalizedCssVariableType = capitalize(cssVariableType); + return { + [`${token.componentCls}-${status}`]: { + color: token[`color${cssVariableType}`], + background: token[`color${capitalizedCssVariableType}Bg`], + borderColor: token[`color${capitalizedCssVariableType}Border`], + [`&${token.componentCls}-borderless`]: { + borderColor: 'transparent' + } + } + }; +}; +const genPresetStyle = token => (0,genPresetColor/* default */.Z)(token, (colorKey, _ref) => { + let { + textColor, + lightBorderColor, + lightColor, + darkColor + } = _ref; + return { + [`${token.componentCls}-${colorKey}`]: { + color: textColor, + background: lightColor, + borderColor: lightBorderColor, + // Inverse color + '&-inverse': { + color: token.colorTextLightSolid, + background: darkColor, + borderColor: darkColor + }, + [`&${token.componentCls}-borderless`]: { + borderColor: 'transparent' + } + } + }; +}); +const genBaseStyle = token => { + const { + paddingXXS, + lineWidth, + tagPaddingHorizontal, + componentCls + } = token; + const paddingInline = tagPaddingHorizontal - lineWidth; + const iconMarginInline = paddingXXS - lineWidth; + return { + // Result + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + height: 'auto', + marginInlineEnd: token.marginXS, + paddingInline, + fontSize: token.tagFontSize, + lineHeight: token.tagLineHeight, + whiteSpace: 'nowrap', + background: token.defaultBg, + border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`, + borderRadius: token.borderRadiusSM, + opacity: 1, + transition: `all ${token.motionDurationMid}`, + textAlign: 'start', + position: 'relative', + // RTL + [`&${componentCls}-rtl`]: { + direction: 'rtl' + }, + '&, a, a:hover': { + color: token.defaultColor + }, + [`${componentCls}-close-icon`]: { + marginInlineStart: iconMarginInline, + color: token.colorTextDescription, + fontSize: token.tagIconSize, + cursor: 'pointer', + transition: `all ${token.motionDurationMid}`, + '&:hover': { + color: token.colorTextHeading + } + }, + [`&${componentCls}-has-color`]: { + borderColor: 'transparent', + [`&, a, a:hover, ${token.iconCls}-close, ${token.iconCls}-close:hover`]: { + color: token.colorTextLightSolid + } + }, + [`&-checkable`]: { + backgroundColor: 'transparent', + borderColor: 'transparent', + cursor: 'pointer', + [`&:not(${componentCls}-checkable-checked):hover`]: { + color: token.colorPrimary, + backgroundColor: token.colorFillSecondary + }, + '&:active, &-checked': { + color: token.colorTextLightSolid + }, + '&-checked': { + backgroundColor: token.colorPrimary, + '&:hover': { + backgroundColor: token.colorPrimaryHover + } + }, + '&:active': { + backgroundColor: token.colorPrimaryActive + } + }, + [`&-hidden`]: { + display: 'none' + }, + // To ensure that a space will be placed between character and `Icon`. + [`> ${token.iconCls} + span, > span + ${token.iconCls}`]: { + marginInlineStart: paddingInline + } + }), + [`${componentCls}-borderless`]: { + borderColor: 'transparent', + background: token.tagBorderlessBg + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var tag_style = ((0,genComponentStyleHook/* default */.Z)('Tag', token => { + const { + lineWidth, + fontSizeIcon + } = token; + const tagFontSize = token.fontSizeSM; + const tagLineHeight = `${token.lineHeightSM * tagFontSize}px`; + const tagToken = (0,statistic/* merge */.TS)(token, { + tagFontSize, + tagLineHeight, + tagIconSize: fontSizeIcon - 2 * lineWidth, + tagPaddingHorizontal: 8, + tagBorderlessBg: token.colorFillTertiary + }); + return [genBaseStyle(tagToken), genPresetStyle(tagToken), genTagStatusStyle(tagToken, 'success', 'Success'), genTagStatusStyle(tagToken, 'processing', 'Info'), genTagStatusStyle(tagToken, 'error', 'Error'), genTagStatusStyle(tagToken, 'warning', 'Warning')]; +}, token => ({ + defaultBg: token.colorFillQuaternary, + defaultColor: token.colorText +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/tag/CheckableTag.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + +const CheckableTag = props => { + const { + prefixCls: customizePrefixCls, + className, + checked, + onChange, + onClick + } = props, + restProps = __rest(props, ["prefixCls", "className", "checked", "onChange", "onClick"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const handleClick = e => { + onChange === null || onChange === void 0 ? void 0 : onChange(!checked); + onClick === null || onClick === void 0 ? void 0 : onClick(e); + }; + const prefixCls = getPrefixCls('tag', customizePrefixCls); + // Style + const [wrapSSR, hashId] = tag_style(prefixCls); + const cls = classnames_default()(prefixCls, `${prefixCls}-checkable`, { + [`${prefixCls}-checkable-checked`]: checked + }, className, hashId); + return wrapSSR( /*#__PURE__*/react.createElement("span", Object.assign({}, restProps, { + className: cls, + onClick: handleClick + }))); +}; +/* harmony default export */ var tag_CheckableTag = (CheckableTag); +;// CONCATENATED MODULE: ./node_modules/antd/es/tag/index.js +'use client'; + +var tag_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const InternalTag = (tagProps, ref) => { + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + children, + icon, + color, + onClose, + closeIcon, + closable, + bordered = true + } = tagProps, + props = tag_rest(tagProps, ["prefixCls", "className", "rootClassName", "style", "children", "icon", "color", "onClose", "closeIcon", "closable", "bordered"]); + const { + getPrefixCls, + direction, + tag + } = react.useContext(context/* ConfigContext */.E_); + const [visible, setVisible] = react.useState(true); + // Warning for deprecated usage + if (false) {} + react.useEffect(() => { + if ('visible' in props) { + setVisible(props.visible); + } + }, [props.visible]); + const isInternalColor = (0,colors/* isPresetColor */.o2)(color) || (0,colors/* isPresetStatusColor */.yT)(color); + const tagStyle = Object.assign(Object.assign({ + backgroundColor: color && !isInternalColor ? color : undefined + }, tag === null || tag === void 0 ? void 0 : tag.style), style); + const prefixCls = getPrefixCls('tag', customizePrefixCls); + // Style + const [wrapSSR, hashId] = tag_style(prefixCls); + const tagClassName = classnames_default()(prefixCls, tag === null || tag === void 0 ? void 0 : tag.className, { + [`${prefixCls}-${color}`]: isInternalColor, + [`${prefixCls}-has-color`]: color && !isInternalColor, + [`${prefixCls}-hidden`]: !visible, + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-borderless`]: !bordered + }, className, rootClassName, hashId); + const handleCloseClick = e => { + e.stopPropagation(); + onClose === null || onClose === void 0 ? void 0 : onClose(e); + if (e.defaultPrevented) { + return; + } + setVisible(false); + }; + const [, mergedCloseIcon] = (0,useClosable/* default */.Z)(closable, closeIcon, iconNode => iconNode === null ? /*#__PURE__*/react.createElement(CloseOutlined/* default */.Z, { + className: `${prefixCls}-close-icon`, + onClick: handleCloseClick + }) : /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-close-icon`, + onClick: handleCloseClick + }, iconNode), null, false); + const isNeedWave = typeof props.onClick === 'function' || children && children.type === 'a'; + const iconNode = icon || null; + const kids = iconNode ? /*#__PURE__*/react.createElement(react.Fragment, null, iconNode, children && /*#__PURE__*/react.createElement("span", null, children)) : children; + const tagNode = /*#__PURE__*/react.createElement("span", Object.assign({}, props, { + ref: ref, + className: tagClassName, + style: tagStyle + }), kids, mergedCloseIcon); + return wrapSSR(isNeedWave ? /*#__PURE__*/react.createElement(wave/* default */.Z, null, tagNode) : tagNode); +}; +const Tag = /*#__PURE__*/react.forwardRef(InternalTag); +if (false) {} +Tag.CheckableTag = tag_CheckableTag; +/* harmony default export */ var tag = (Tag); + +/***/ }), + +/***/ 20640: +/*!*************************************************!*\ + !*** ./node_modules/copy-to-clipboard/index.js ***! + \*************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + + +var deselectCurrent = __webpack_require__(/*! toggle-selection */ 11742); + +var clipboardToIE11Formatting = { + "text/plain": "Text", + "text/html": "Url", + "default": "Text" +} + +var defaultMessage = "Copy to clipboard: #{key}, Enter"; + +function format(message) { + var copyKey = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C"; + return message.replace(/#{\s*key\s*}/g, copyKey); +} + +function copy(text, options) { + var debug, + message, + reselectPrevious, + range, + selection, + mark, + success = false; + if (!options) { + options = {}; + } + debug = options.debug || false; + try { + reselectPrevious = deselectCurrent(); + + range = document.createRange(); + selection = document.getSelection(); + + mark = document.createElement("span"); + mark.textContent = text; + // avoid screen readers from reading out loud the text + mark.ariaHidden = "true" + // reset user styles for span element + mark.style.all = "unset"; + // prevents scrolling to the end of the page + mark.style.position = "fixed"; + mark.style.top = 0; + mark.style.clip = "rect(0, 0, 0, 0)"; + // used to preserve spaces and line breaks + mark.style.whiteSpace = "pre"; + // do not inherit user-select (it may be `none`) + mark.style.webkitUserSelect = "text"; + mark.style.MozUserSelect = "text"; + mark.style.msUserSelect = "text"; + mark.style.userSelect = "text"; + mark.addEventListener("copy", function(e) { + e.stopPropagation(); + if (options.format) { + e.preventDefault(); + if (typeof e.clipboardData === "undefined") { // IE 11 + debug && console.warn("unable to use e.clipboardData"); + debug && console.warn("trying IE specific stuff"); + window.clipboardData.clearData(); + var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting["default"] + window.clipboardData.setData(format, text); + } else { // all other browsers + e.clipboardData.clearData(); + e.clipboardData.setData(options.format, text); + } + } + if (options.onCopy) { + e.preventDefault(); + options.onCopy(e.clipboardData); + } + }); + + document.body.appendChild(mark); + + range.selectNodeContents(mark); + selection.addRange(range); + + var successful = document.execCommand("copy"); + if (!successful) { + throw new Error("copy command was unsuccessful"); + } + success = true; + } catch (err) { + debug && console.error("unable to copy using execCommand: ", err); + debug && console.warn("trying IE specific stuff"); + try { + window.clipboardData.setData(options.format || "text", text); + options.onCopy && options.onCopy(window.clipboardData); + success = true; + } catch (err) { + debug && console.error("unable to copy using clipboardData: ", err); + debug && console.error("falling back to prompt"); + message = format("message" in options ? options.message : defaultMessage); + window.prompt(message, text); + } + } finally { + if (selection) { + if (typeof selection.removeRange == "function") { + selection.removeRange(range); + } else { + selection.removeAllRanges(); + } + } + + if (mark) { + document.body.removeChild(mark); + } + reselectPrevious(); + } + + return success; +} + +module.exports = copy; + + +/***/ }), + +/***/ 89777: +/*!*************************************************!*\ + !*** ./node_modules/echarts-wordcloud/index.js ***! + \*************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +/* unused reexport */ __webpack_require__(/*! ./src/wordCloud */ 88157); + +/***/ }), + +/***/ 50024: +/*!***************************************************************!*\ + !*** ./node_modules/echarts-wordcloud/src/WordCloudSeries.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +var completeDimensions = __webpack_require__(/*! echarts/lib/data/helper/completeDimensions */ 34380); +var echarts = __webpack_require__(/*! echarts/lib/echarts */ 70492); + +echarts.extendSeriesModel({ + + type: 'series.wordCloud', + + visualColorAccessPath: 'textStyle.normal.color', + + optionUpdated: function () { + var option = this.option; + option.gridSize = Math.max(Math.floor(option.gridSize), 4); + }, + + getInitialData: function (option, ecModel) { + var dimensions = completeDimensions(['value'], option.data); + var list = new echarts.List(dimensions, this); + list.initData(option.data); + return list; + }, + + // Most of options are from https://github.com/timdream/wordcloud2.js/blob/gh-pages/API.md + defaultOption: { + + maskImage: null, + + // Shape can be 'circle', 'cardioid', 'diamond', 'triangle-forward', 'triangle', 'pentagon', 'star' + shape: 'circle', + + left: 'center', + + top: 'center', + + width: '70%', + + height: '80%', + + sizeRange: [12, 60], + + rotationRange: [-90, 90], + + rotationStep: 45, + + gridSize: 8, + + drawOutOfBound: false, + + textStyle: { + normal: { + fontWeight: 'normal' + } + } + } +}); + + +/***/ }), + +/***/ 40885: +/*!*************************************************************!*\ + !*** ./node_modules/echarts-wordcloud/src/WordCloudView.js ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +var echarts = __webpack_require__(/*! echarts/lib/echarts */ 70492); + +function getShallow(model, path) { + return model && model.getShallow(path); +} + +echarts.extendChartView({ + + type: 'wordCloud', + + render: function (seriesModel, ecModel, api) { + var group = this.group; + group.removeAll(); + + var data = seriesModel.getData(); + + var gridSize = seriesModel.get('gridSize'); + + seriesModel.layoutInstance.ondraw = function (text, size, dataIdx, drawn) { + var itemModel = data.getItemModel(dataIdx); + var textStyleModel = itemModel.getModel('textStyle.normal'); + var emphasisTextStyleModel = itemModel.getModel('textStyle.emphasis'); + + var textEl = new echarts.graphic.Text({ + style: echarts.graphic.setTextStyle({}, textStyleModel, { + x: drawn.info.fillTextOffsetX, + y: drawn.info.fillTextOffsetY + size * 0.5, + text: text, + textBaseline: 'middle', + textFill: data.getItemVisual(dataIdx, 'color'), + fontSize: size + }), + scale: [1 / drawn.info.mu, 1 / drawn.info.mu], + position: [ + (drawn.gx + drawn.info.gw / 2) * gridSize, + (drawn.gy + drawn.info.gh / 2) * gridSize + ], + rotation: drawn.rot + }); + + group.add(textEl); + + data.setItemGraphicEl(dataIdx, textEl); + + echarts.graphic.setHoverStyle( + textEl, + echarts.graphic.setTextStyle({}, emphasisTextStyleModel, null, {forMerge: true}, true) + ); + }; + + this._model = seriesModel; + }, + + remove: function () { + this.group.removeAll(); + + this._model.layoutInstance.dispose(); + }, + + dispose: function () { + this._model.layoutInstance.dispose(); + } +}); + + +/***/ }), + +/***/ 62255: +/*!******************************************************!*\ + !*** ./node_modules/echarts-wordcloud/src/layout.js ***! + \******************************************************/ +/***/ (function(module, exports) { + +"use strict"; +var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! + * wordcloud2.js + * http://timdream.org/wordcloud2.js/ + * + * Copyright 2011 - 2013 Tim Chien + * Released under the MIT license + */ + + + +// setImmediate +if (!window.setImmediate) { + window.setImmediate = (function setupSetImmediate() { + return window.msSetImmediate || + window.webkitSetImmediate || + window.mozSetImmediate || + window.oSetImmediate || + (function setupSetZeroTimeout() { + if (!window.postMessage || !window.addEventListener) { + return null; + } + + var callbacks = [undefined]; + var message = 'zero-timeout-message'; + + // Like setTimeout, but only takes a function argument. There's + // no time argument (always zero) and no arguments (you have to + // use a closure). + var setZeroTimeout = function setZeroTimeout(callback) { + var id = callbacks.length; + callbacks.push(callback); + window.postMessage(message + id.toString(36), '*'); + + return id; + }; + + window.addEventListener('message', function setZeroTimeoutMessage(evt) { + // Skipping checking event source, retarded IE confused this window + // object with another in the presence of iframe + if (typeof evt.data !== 'string' || + evt.data.substr(0, message.length) !== message/* || + evt.source !== window */) { + return; + } + + evt.stopImmediatePropagation(); + + var id = parseInt(evt.data.substr(message.length), 36); + if (!callbacks[id]) { + return; + } + + callbacks[id](); + callbacks[id] = undefined; + }, true); + + /* specify clearImmediate() here since we need the scope */ + window.clearImmediate = function clearZeroTimeout(id) { + if (!callbacks[id]) { + return; + } + + callbacks[id] = undefined; + }; + + return setZeroTimeout; + })() || + // fallback + function setImmediateFallback(fn) { + window.setTimeout(fn, 0); + }; + })(); +} + +if (!window.clearImmediate) { + window.clearImmediate = (function setupClearImmediate() { + return window.msClearImmediate || + window.webkitClearImmediate || + window.mozClearImmediate || + window.oClearImmediate || + // "clearZeroTimeout" is implement on the previous block || + // fallback + function clearImmediateFallback(timer) { + window.clearTimeout(timer); + }; + })(); +} + +(function(global) { + + // Check if WordCloud can run on this browser + var isSupported = (function isSupported() { + var canvas = document.createElement('canvas'); + if (!canvas || !canvas.getContext) { + return false; + } + + var ctx = canvas.getContext('2d'); + if (!ctx.getImageData) { + return false; + } + if (!ctx.fillText) { + return false; + } + + if (!Array.prototype.some) { + return false; + } + if (!Array.prototype.push) { + return false; + } + + return true; + }()); + + // Find out if the browser impose minium font size by + // drawing small texts on a canvas and measure it's width. + var minFontSize = (function getMinFontSize() { + if (!isSupported) { + return; + } + + var ctx = document.createElement('canvas').getContext('2d'); + + // start from 20 + var size = 20; + + // two sizes to measure + var hanWidth, mWidth; + + while (size) { + ctx.font = size.toString(10) + 'px sans-serif'; + if ((ctx.measureText('\uFF37').width === hanWidth) && + (ctx.measureText('m').width) === mWidth) { + return (size + 1); + } + + hanWidth = ctx.measureText('\uFF37').width; + mWidth = ctx.measureText('m').width; + + size--; + } + + return 0; + })(); + + // Based on http://jsfromhell.com/array/shuffle + var shuffleArray = function shuffleArray(arr) { + for (var j, x, i = arr.length; i; + j = Math.floor(Math.random() * i), + x = arr[--i], arr[i] = arr[j], + arr[j] = x) {} + return arr; + }; + + var WordCloud = function WordCloud(elements, options) { + if (!isSupported) { + return; + } + + if (!Array.isArray(elements)) { + elements = [elements]; + } + + elements.forEach(function(el, i) { + if (typeof el === 'string') { + elements[i] = document.getElementById(el); + if (!elements[i]) { + throw 'The element id specified is not found.'; + } + } else if (!el.tagName && !el.appendChild) { + throw 'You must pass valid HTML elements, or ID of the element.'; + } + }); + + /* Default values to be overwritten by options object */ + var settings = { + list: [], + fontFamily: '"Trebuchet MS", "Heiti TC", "微軟正黑體", ' + + '"Arial Unicode MS", "Droid Fallback Sans", sans-serif', + fontWeight: 'normal', + color: 'random-dark', + minSize: 0, // 0 to disable + weightFactor: 1, + clearCanvas: true, + backgroundColor: '#fff', // opaque white = rgba(255, 255, 255, 1) + + gridSize: 8, + drawOutOfBound: false, + origin: null, + + drawMask: false, + maskColor: 'rgba(255,0,0,0.3)', + maskGapWidth: 0.3, + + wait: 0, + abortThreshold: 0, // disabled + abort: function noop() {}, + + minRotation: - Math.PI / 2, + maxRotation: Math.PI / 2, + rotationStep: 0.1, + + shuffle: true, + rotateRatio: 0.1, + + shape: 'circle', + ellipticity: 0.65, + + classes: null, + + hover: null, + click: null + }; + + if (options) { + for (var key in options) { + if (key in settings) { + settings[key] = options[key]; + } + } + } + + /* Convert weightFactor into a function */ + if (typeof settings.weightFactor !== 'function') { + var factor = settings.weightFactor; + settings.weightFactor = function weightFactor(pt) { + return pt * factor; //in px + }; + } + + /* Convert shape into a function */ + if (typeof settings.shape !== 'function') { + switch (settings.shape) { + case 'circle': + /* falls through */ + default: + // 'circle' is the default and a shortcut in the code loop. + settings.shape = 'circle'; + break; + + case 'cardioid': + settings.shape = function shapeCardioid(theta) { + return 1 - Math.sin(theta); + }; + break; + + /* + To work out an X-gon, one has to calculate "m", + where 1/(cos(2*PI/X)+m*sin(2*PI/X)) = 1/(cos(0)+m*sin(0)) + http://www.wolframalpha.com/input/?i=1%2F%28cos%282*PI%2FX%29%2Bm*sin%28 + 2*PI%2FX%29%29+%3D+1%2F%28cos%280%29%2Bm*sin%280%29%29 + Copy the solution into polar equation r = 1/(cos(t') + m*sin(t')) + where t' equals to mod(t, 2PI/X); + */ + + case 'diamond': + case 'square': + // http://www.wolframalpha.com/input/?i=plot+r+%3D+1%2F%28cos%28mod+ + // %28t%2C+PI%2F2%29%29%2Bsin%28mod+%28t%2C+PI%2F2%29%29%29%2C+t+%3D + // +0+..+2*PI + settings.shape = function shapeSquare(theta) { + var thetaPrime = theta % (2 * Math.PI / 4); + return 1 / (Math.cos(thetaPrime) + Math.sin(thetaPrime)); + }; + break; + + case 'triangle-forward': + // http://www.wolframalpha.com/input/?i=plot+r+%3D+1%2F%28cos%28mod+ + // %28t%2C+2*PI%2F3%29%29%2Bsqrt%283%29sin%28mod+%28t%2C+2*PI%2F3%29 + // %29%29%2C+t+%3D+0+..+2*PI + settings.shape = function shapeTriangle(theta) { + var thetaPrime = theta % (2 * Math.PI / 3); + return 1 / (Math.cos(thetaPrime) + + Math.sqrt(3) * Math.sin(thetaPrime)); + }; + break; + + case 'triangle': + case 'triangle-upright': + settings.shape = function shapeTriangle(theta) { + var thetaPrime = (theta + Math.PI * 3 / 2) % (2 * Math.PI / 3); + return 1 / (Math.cos(thetaPrime) + + Math.sqrt(3) * Math.sin(thetaPrime)); + }; + break; + + case 'pentagon': + settings.shape = function shapePentagon(theta) { + var thetaPrime = (theta + 0.955) % (2 * Math.PI / 5); + return 1 / (Math.cos(thetaPrime) + + 0.726543 * Math.sin(thetaPrime)); + }; + break; + + case 'star': + settings.shape = function shapeStar(theta) { + var thetaPrime = (theta + 0.955) % (2 * Math.PI / 10); + if ((theta + 0.955) % (2 * Math.PI / 5) - (2 * Math.PI / 10) >= 0) { + return 1 / (Math.cos((2 * Math.PI / 10) - thetaPrime) + + 3.07768 * Math.sin((2 * Math.PI / 10) - thetaPrime)); + } else { + return 1 / (Math.cos(thetaPrime) + + 3.07768 * Math.sin(thetaPrime)); + } + }; + break; + } + } + + /* Make sure gridSize is a whole number and is not smaller than 4px */ + settings.gridSize = Math.max(Math.floor(settings.gridSize), 4); + + /* shorthand */ + var g = settings.gridSize; + var maskRectWidth = g - settings.maskGapWidth; + + /* normalize rotation settings */ + var rotationRange = Math.abs(settings.maxRotation - settings.minRotation); + var minRotation = Math.min(settings.maxRotation, settings.minRotation); + var rotationStep = settings.rotationStep; + + /* information/object available to all functions, set when start() */ + var grid, // 2d array containing filling information + ngx, ngy, // width and height of the grid + center, // position of the center of the cloud + maxRadius; + + /* timestamp for measuring each putWord() action */ + var escapeTime; + + /* function for getting the color of the text */ + var getTextColor; + function random_hsl_color(min, max) { + return 'hsl(' + + (Math.random() * 360).toFixed() + ',' + + (Math.random() * 30 + 70).toFixed() + '%,' + + (Math.random() * (max - min) + min).toFixed() + '%)'; + } + switch (settings.color) { + case 'random-dark': + getTextColor = function getRandomDarkColor() { + return random_hsl_color(10, 50); + }; + break; + + case 'random-light': + getTextColor = function getRandomLightColor() { + return random_hsl_color(50, 90); + }; + break; + + default: + if (typeof settings.color === 'function') { + getTextColor = settings.color; + } + break; + } + + /* function for getting the classes of the text */ + var getTextClasses = null; + if (typeof settings.classes === 'function') { + getTextClasses = settings.classes; + } + + /* Interactive */ + var interactive = false; + var infoGrid = []; + var hovered; + + var getInfoGridFromMouseTouchEvent = + function getInfoGridFromMouseTouchEvent(evt) { + var canvas = evt.currentTarget; + var rect = canvas.getBoundingClientRect(); + var clientX; + var clientY; + /** Detect if touches are available */ + if (evt.touches) { + clientX = evt.touches[0].clientX; + clientY = evt.touches[0].clientY; + } else { + clientX = evt.clientX; + clientY = evt.clientY; + } + var eventX = clientX - rect.left; + var eventY = clientY - rect.top; + + var x = Math.floor(eventX * ((canvas.width / rect.width) || 1) / g); + var y = Math.floor(eventY * ((canvas.height / rect.height) || 1) / g); + + return infoGrid[x][y]; + }; + + var wordcloudhover = function wordcloudhover(evt) { + var info = getInfoGridFromMouseTouchEvent(evt); + + if (hovered === info) { + return; + } + + hovered = info; + if (!info) { + settings.hover(undefined, undefined, evt); + + return; + } + + settings.hover(info.item, info.dimension, evt); + + }; + + var wordcloudclick = function wordcloudclick(evt) { + var info = getInfoGridFromMouseTouchEvent(evt); + if (!info) { + return; + } + + settings.click(info.item, info.dimension, evt); + evt.preventDefault(); + }; + + /* Get points on the grid for a given radius away from the center */ + var pointsAtRadius = []; + var getPointsAtRadius = function getPointsAtRadius(radius) { + if (pointsAtRadius[radius]) { + return pointsAtRadius[radius]; + } + + // Look for these number of points on each radius + var T = radius * 8; + + // Getting all the points at this radius + var t = T; + var points = []; + + if (radius === 0) { + points.push([center[0], center[1], 0]); + } + + while (t--) { + // distort the radius to put the cloud in shape + var rx = 1; + if (settings.shape !== 'circle') { + rx = settings.shape(t / T * 2 * Math.PI); // 0 to 1 + } + + // Push [x, y, t]; t is used solely for getTextColor() + points.push([ + center[0] + radius * rx * Math.cos(-t / T * 2 * Math.PI), + center[1] + radius * rx * Math.sin(-t / T * 2 * Math.PI) * + settings.ellipticity, + t / T * 2 * Math.PI]); + } + + pointsAtRadius[radius] = points; + return points; + }; + + /* Return true if we had spent too much time */ + var exceedTime = function exceedTime() { + return ((settings.abortThreshold > 0) && + ((new Date()).getTime() - escapeTime > settings.abortThreshold)); + }; + + /* Get the deg of rotation according to settings, and luck. */ + var getRotateDeg = function getRotateDeg() { + if (settings.rotateRatio === 0) { + return 0; + } + + if (Math.random() > settings.rotateRatio) { + return 0; + } + + if (rotationRange === 0) { + return minRotation; + } + + return minRotation + Math.round(Math.random() * rotationRange / rotationStep) * rotationStep; + }; + + var getTextInfo = function getTextInfo(word, weight, rotateDeg) { + // calculate the acutal font size + // fontSize === 0 means weightFactor function wants the text skipped, + // and size < minSize means we cannot draw the text. + var debug = false; + var fontSize = settings.weightFactor(weight); + if (fontSize <= settings.minSize) { + return false; + } + + // Scale factor here is to make sure fillText is not limited by + // the minium font size set by browser. + // It will always be 1 or 2n. + var mu = 1; + if (fontSize < minFontSize) { + mu = (function calculateScaleFactor() { + var mu = 2; + while (mu * fontSize < minFontSize) { + mu += 2; + } + return mu; + })(); + } + + var fcanvas = document.createElement('canvas'); + var fctx = fcanvas.getContext('2d', { willReadFrequently: true }); + + fctx.font = settings.fontWeight + ' ' + + (fontSize * mu).toString(10) + 'px ' + settings.fontFamily; + + // Estimate the dimension of the text with measureText(). + var fw = fctx.measureText(word).width / mu; + var fh = Math.max(fontSize * mu, + fctx.measureText('m').width, + fctx.measureText('\uFF37').width) / mu; + + // Create a boundary box that is larger than our estimates, + // so text don't get cut of (it sill might) + var boxWidth = fw + fh * 2; + var boxHeight = fh * 3; + var fgw = Math.ceil(boxWidth / g); + var fgh = Math.ceil(boxHeight / g); + boxWidth = fgw * g; + boxHeight = fgh * g; + + // Calculate the proper offsets to make the text centered at + // the preferred position. + + // This is simply half of the width. + var fillTextOffsetX = - fw / 2; + // Instead of moving the box to the exact middle of the preferred + // position, for Y-offset we move 0.4 instead, so Latin alphabets look + // vertical centered. + var fillTextOffsetY = - fh * 0.4; + + // Calculate the actual dimension of the canvas, considering the rotation. + var cgh = Math.ceil((boxWidth * Math.abs(Math.sin(rotateDeg)) + + boxHeight * Math.abs(Math.cos(rotateDeg))) / g); + var cgw = Math.ceil((boxWidth * Math.abs(Math.cos(rotateDeg)) + + boxHeight * Math.abs(Math.sin(rotateDeg))) / g); + var width = cgw * g; + var height = cgh * g; + + fcanvas.setAttribute('width', width); + fcanvas.setAttribute('height', height); + + if (debug) { + // Attach fcanvas to the DOM + document.body.appendChild(fcanvas); + // Save it's state so that we could restore and draw the grid correctly. + fctx.save(); + } + + // Scale the canvas with |mu|. + fctx.scale(1 / mu, 1 / mu); + fctx.translate(width * mu / 2, height * mu / 2); + fctx.rotate(- rotateDeg); + + // Once the width/height is set, ctx info will be reset. + // Set it again here. + fctx.font = settings.fontWeight + ' ' + + (fontSize * mu).toString(10) + 'px ' + settings.fontFamily; + + // Fill the text into the fcanvas. + // XXX: We cannot because textBaseline = 'top' here because + // Firefox and Chrome uses different default line-height for canvas. + // Please read https://bugzil.la/737852#c6. + // Here, we use textBaseline = 'middle' and draw the text at exactly + // 0.5 * fontSize lower. + fctx.fillStyle = '#000'; + fctx.textBaseline = 'middle'; + fctx.fillText(word, fillTextOffsetX * mu, + (fillTextOffsetY + fontSize * 0.5) * mu); + + // Get the pixels of the text + var imageData = fctx.getImageData(0, 0, width, height).data; + + if (exceedTime()) { + return false; + } + + if (debug) { + // Draw the box of the original estimation + fctx.strokeRect(fillTextOffsetX * mu, + fillTextOffsetY, fw * mu, fh * mu); + fctx.restore(); + } + + // Read the pixels and save the information to the occupied array + var occupied = []; + var gx = cgw, gy, x, y; + var bounds = [cgh / 2, cgw / 2, cgh / 2, cgw / 2]; + while (gx--) { + gy = cgh; + while (gy--) { + y = g; + singleGridLoop: { + while (y--) { + x = g; + while (x--) { + if (imageData[((gy * g + y) * width + + (gx * g + x)) * 4 + 3]) { + occupied.push([gx, gy]); + + if (gx < bounds[3]) { + bounds[3] = gx; + } + if (gx > bounds[1]) { + bounds[1] = gx; + } + if (gy < bounds[0]) { + bounds[0] = gy; + } + if (gy > bounds[2]) { + bounds[2] = gy; + } + + if (debug) { + fctx.fillStyle = 'rgba(255, 0, 0, 0.5)'; + fctx.fillRect(gx * g, gy * g, g - 0.5, g - 0.5); + } + break singleGridLoop; + } + } + } + if (debug) { + fctx.fillStyle = 'rgba(0, 0, 255, 0.5)'; + fctx.fillRect(gx * g, gy * g, g - 0.5, g - 0.5); + } + } + } + } + + if (debug) { + fctx.fillStyle = 'rgba(0, 255, 0, 0.5)'; + fctx.fillRect(bounds[3] * g, + bounds[0] * g, + (bounds[1] - bounds[3] + 1) * g, + (bounds[2] - bounds[0] + 1) * g); + } + + // Return information needed to create the text on the real canvas + return { + mu: mu, + occupied: occupied, + bounds: bounds, + gw: cgw, + gh: cgh, + fillTextOffsetX: fillTextOffsetX, + fillTextOffsetY: fillTextOffsetY, + fillTextWidth: fw, + fillTextHeight: fh, + fontSize: fontSize + }; + }; + + /* Determine if there is room available in the given dimension */ + var canFitText = function canFitText(gx, gy, gw, gh, occupied) { + // Go through the occupied points, + // return false if the space is not available. + var i = occupied.length; + while (i--) { + var px = gx + occupied[i][0]; + var py = gy + occupied[i][1]; + + if (px >= ngx || py >= ngy || px < 0 || py < 0) { + if (!settings.drawOutOfBound) { + return false; + } + continue; + } + + if (!grid[px][py]) { + return false; + } + } + return true; + }; + + /* Actually draw the text on the grid */ + var drawText = function drawText(gx, gy, info, word, weight, + distance, theta, rotateDeg, attributes) { + + var fontSize = info.fontSize; + var color; + if (getTextColor) { + color = getTextColor(word, weight, fontSize, distance, theta); + } else { + color = settings.color; + } + + var classes; + if (getTextClasses) { + classes = getTextClasses(word, weight, fontSize, distance, theta); + } else { + classes = settings.classes; + } + + var dimension; + var bounds = info.bounds; + dimension = { + x: (gx + bounds[3]) * g, + y: (gy + bounds[0]) * g, + w: (bounds[1] - bounds[3] + 1) * g, + h: (bounds[2] - bounds[0] + 1) * g + }; + + elements.forEach(function(el) { + if (el.getContext) { + var ctx = el.getContext('2d'); + var mu = info.mu; + + // Save the current state before messing it + ctx.save(); + ctx.scale(1 / mu, 1 / mu); + + ctx.font = settings.fontWeight + ' ' + + (fontSize * mu).toString(10) + 'px ' + settings.fontFamily; + ctx.fillStyle = color; + + // Translate the canvas position to the origin coordinate of where + // the text should be put. + ctx.translate((gx + info.gw / 2) * g * mu, + (gy + info.gh / 2) * g * mu); + + if (rotateDeg !== 0) { + ctx.rotate(- rotateDeg); + } + + // Finally, fill the text. + + // XXX: We cannot because textBaseline = 'top' here because + // Firefox and Chrome uses different default line-height for canvas. + // Please read https://bugzil.la/737852#c6. + // Here, we use textBaseline = 'middle' and draw the text at exactly + // 0.5 * fontSize lower. + ctx.textBaseline = 'middle'; + ctx.fillText(word, info.fillTextOffsetX * mu, + (info.fillTextOffsetY + fontSize * 0.5) * mu); + + // The below box is always matches how s are positioned + /* ctx.strokeRect(info.fillTextOffsetX, info.fillTextOffsetY, + info.fillTextWidth, info.fillTextHeight); */ + + // Restore the state. + ctx.restore(); + } else { + // drawText on DIV element + var span = document.createElement('span'); + var transformRule = ''; + transformRule = 'rotate(' + (- rotateDeg / Math.PI * 180) + 'deg) '; + if (info.mu !== 1) { + transformRule += + 'translateX(-' + (info.fillTextWidth / 4) + 'px) ' + + 'scale(' + (1 / info.mu) + ')'; + } + var styleRules = { + 'position': 'absolute', + 'display': 'block', + 'font': settings.fontWeight + ' ' + + (fontSize * info.mu) + 'px ' + settings.fontFamily, + 'left': ((gx + info.gw / 2) * g + info.fillTextOffsetX) + 'px', + 'top': ((gy + info.gh / 2) * g + info.fillTextOffsetY) + 'px', + 'width': info.fillTextWidth + 'px', + 'height': info.fillTextHeight + 'px', + 'lineHeight': fontSize + 'px', + 'whiteSpace': 'nowrap', + 'transform': transformRule, + 'webkitTransform': transformRule, + 'msTransform': transformRule, + 'transformOrigin': '50% 40%', + 'webkitTransformOrigin': '50% 40%', + 'msTransformOrigin': '50% 40%' + }; + if (color) { + styleRules.color = color; + } + span.textContent = word; + for (var cssProp in styleRules) { + span.style[cssProp] = styleRules[cssProp]; + } + if (attributes) { + for (var attribute in attributes) { + span.setAttribute(attribute, attributes[attribute]); + } + } + if (classes) { + span.className += classes; + } + el.appendChild(span); + } + }); + }; + + /* Help function to updateGrid */ + var fillGridAt = function fillGridAt(x, y, drawMask, dimension, item) { + if (x >= ngx || y >= ngy || x < 0 || y < 0) { + return; + } + + grid[x][y] = false; + + if (drawMask) { + var ctx = elements[0].getContext('2d'); + ctx.fillRect(x * g, y * g, maskRectWidth, maskRectWidth); + } + + if (interactive) { + infoGrid[x][y] = { item: item, dimension: dimension }; + } + }; + + /* Update the filling information of the given space with occupied points. + Draw the mask on the canvas if necessary. */ + var updateGrid = function updateGrid(gx, gy, gw, gh, info, item) { + var occupied = info.occupied; + var drawMask = settings.drawMask; + var ctx; + if (drawMask) { + ctx = elements[0].getContext('2d'); + ctx.save(); + ctx.fillStyle = settings.maskColor; + } + + var dimension; + if (interactive) { + var bounds = info.bounds; + dimension = { + x: (gx + bounds[3]) * g, + y: (gy + bounds[0]) * g, + w: (bounds[1] - bounds[3] + 1) * g, + h: (bounds[2] - bounds[0] + 1) * g + }; + } + + var i = occupied.length; + while (i--) { + var px = gx + occupied[i][0]; + var py = gy + occupied[i][1]; + + if (px >= ngx || py >= ngy || px < 0 || py < 0) { + continue; + } + + fillGridAt(px, py, drawMask, dimension, item); + } + + if (drawMask) { + ctx.restore(); + } + }; + + /* putWord() processes each item on the list, + calculate it's size and determine it's position, and actually + put it on the canvas. */ + var putWord = function putWord(item) { + var word, weight, attributes; + if (Array.isArray(item)) { + word = item[0]; + weight = item[1]; + } else { + word = item.word; + weight = item.weight; + attributes = item.attributes; + } + var rotateDeg = getRotateDeg(); + + // get info needed to put the text onto the canvas + var info = getTextInfo(word, weight, rotateDeg); + + // not getting the info means we shouldn't be drawing this one. + if (!info) { + return false; + } + + if (exceedTime()) { + return false; + } + + // If drawOutOfBound is set to false, + // skip the loop if we have already know the bounding box of + // word is larger than the canvas. + if (!settings.drawOutOfBound) { + var bounds = info.bounds; + if ((bounds[1] - bounds[3] + 1) > ngx || + (bounds[2] - bounds[0] + 1) > ngy) { + return false; + } + } + + // Determine the position to put the text by + // start looking for the nearest points + var r = maxRadius + 1; + + var tryToPutWordAtPoint = function(gxy) { + var gx = Math.floor(gxy[0] - info.gw / 2); + var gy = Math.floor(gxy[1] - info.gh / 2); + var gw = info.gw; + var gh = info.gh; + + // If we cannot fit the text at this position, return false + // and go to the next position. + if (!canFitText(gx, gy, gw, gh, info.occupied)) { + return false; + } + + // Actually put the text on the canvas + drawText(gx, gy, info, word, weight, + (maxRadius - r), gxy[2], rotateDeg, attributes); + + // Mark the spaces on the grid as filled + updateGrid(gx, gy, gw, gh, info, item); + + return { + gx: gx, + gy: gy, + rot: rotateDeg, + info: info + }; + }; + + while (r--) { + var points = getPointsAtRadius(maxRadius - r); + + if (settings.shuffle) { + points = [].concat(points); + shuffleArray(points); + } + + // Try to fit the words by looking at each point. + // array.some() will stop and return true + // when putWordAtPoint() returns true. + for (var i = 0; i < points.length; i++) { + var res = tryToPutWordAtPoint(points[i]); + if (res) { + return res; + } + } + + // var drawn = points.some(tryToPutWordAtPoint); + // if (drawn) { + // // leave putWord() and return true + // return true; + // } + } + // we tried all distances but text won't fit, return null + return null; + }; + + /* Send DOM event to all elements. Will stop sending event and return + if the previous one is canceled (for cancelable events). */ + var sendEvent = function sendEvent(type, cancelable, detail) { + if (cancelable) { + return !elements.some(function(el) { + var evt = document.createEvent('CustomEvent'); + evt.initCustomEvent(type, true, cancelable, detail || {}); + return !el.dispatchEvent(evt); + }, this); + } else { + elements.forEach(function(el) { + var evt = document.createEvent('CustomEvent'); + evt.initCustomEvent(type, true, cancelable, detail || {}); + el.dispatchEvent(evt); + }, this); + } + }; + + /* Start drawing on a canvas */ + var start = function start() { + // For dimensions, clearCanvas etc., + // we only care about the first element. + var canvas = elements[0]; + + if (canvas.getContext) { + ngx = Math.ceil(canvas.width / g); + ngy = Math.ceil(canvas.height / g); + } else { + var rect = canvas.getBoundingClientRect(); + ngx = Math.ceil(rect.width / g); + ngy = Math.ceil(rect.height / g); + } + + // Sending a wordcloudstart event which cause the previous loop to stop. + // Do nothing if the event is canceled. + if (!sendEvent('wordcloudstart', true)) { + return; + } + + // Determine the center of the word cloud + center = (settings.origin) ? + [settings.origin[0]/g, settings.origin[1]/g] : + [ngx / 2, ngy / 2]; + + // Maxium radius to look for space + maxRadius = Math.floor(Math.sqrt(ngx * ngx + ngy * ngy)); + + /* Clear the canvas only if the clearCanvas is set, + if not, update the grid to the current canvas state */ + grid = []; + + var gx, gy, i; + if (!canvas.getContext || settings.clearCanvas) { + elements.forEach(function(el) { + if (el.getContext) { + var ctx = el.getContext('2d'); + ctx.fillStyle = settings.backgroundColor; + ctx.clearRect(0, 0, ngx * (g + 1), ngy * (g + 1)); + ctx.fillRect(0, 0, ngx * (g + 1), ngy * (g + 1)); + } else { + el.textContent = ''; + el.style.backgroundColor = settings.backgroundColor; + el.style.position = 'relative'; + } + }); + + /* fill the grid with empty state */ + gx = ngx; + while (gx--) { + grid[gx] = []; + gy = ngy; + while (gy--) { + grid[gx][gy] = true; + } + } + } else { + /* Determine bgPixel by creating + another canvas and fill the specified background color. */ + var bctx = document.createElement('canvas').getContext('2d'); + + bctx.fillStyle = settings.backgroundColor; + bctx.fillRect(0, 0, 1, 1); + var bgPixel = bctx.getImageData(0, 0, 1, 1).data; + + /* Read back the pixels of the canvas we got to tell which part of the + canvas is empty. + (no clearCanvas only works with a canvas, not divs) */ + var imageData = + canvas.getContext('2d').getImageData(0, 0, ngx * g, ngy * g).data; + + gx = ngx; + var x, y; + while (gx--) { + grid[gx] = []; + gy = ngy; + while (gy--) { + y = g; + singleGridLoop: while (y--) { + x = g; + while (x--) { + i = 4; + while (i--) { + if (imageData[((gy * g + y) * ngx * g + + (gx * g + x)) * 4 + i] !== bgPixel[i]) { + grid[gx][gy] = false; + break singleGridLoop; + } + } + } + } + if (grid[gx][gy] !== false) { + grid[gx][gy] = true; + } + } + } + + imageData = bctx = bgPixel = undefined; + } + + // fill the infoGrid with empty state if we need it + if (settings.hover || settings.click) { + + interactive = true; + + /* fill the grid with empty state */ + gx = ngx + 1; + while (gx--) { + infoGrid[gx] = []; + } + + if (settings.hover) { + canvas.addEventListener('mousemove', wordcloudhover); + } + + if (settings.click) { + canvas.addEventListener('click', wordcloudclick); + canvas.addEventListener('touchstart', wordcloudclick); + canvas.addEventListener('touchend', function (e) { + e.preventDefault(); + }); + canvas.style.webkitTapHighlightColor = 'rgba(0, 0, 0, 0)'; + } + + canvas.addEventListener('wordcloudstart', function stopInteraction() { + canvas.removeEventListener('wordcloudstart', stopInteraction); + + canvas.removeEventListener('mousemove', wordcloudhover); + canvas.removeEventListener('click', wordcloudclick); + hovered = undefined; + }); + } + + i = 0; + var loopingFunction, stoppingFunction; + if (settings.wait !== 0) { + loopingFunction = window.setTimeout; + stoppingFunction = window.clearTimeout; + } else { + loopingFunction = window.setImmediate; + stoppingFunction = window.clearImmediate; + } + + var addEventListener = function addEventListener(type, listener) { + elements.forEach(function(el) { + el.addEventListener(type, listener); + }, this); + }; + + var removeEventListener = function removeEventListener(type, listener) { + elements.forEach(function(el) { + el.removeEventListener(type, listener); + }, this); + }; + + var anotherWordCloudStart = function anotherWordCloudStart() { + removeEventListener('wordcloudstart', anotherWordCloudStart); + stoppingFunction(timer); + }; + + addEventListener('wordcloudstart', anotherWordCloudStart); + + var timer = loopingFunction(function loop() { + if (i >= settings.list.length) { + stoppingFunction(timer); + sendEvent('wordcloudstop', false); + removeEventListener('wordcloudstart', anotherWordCloudStart); + + return; + } + escapeTime = (new Date()).getTime(); + var drawn = putWord(settings.list[i]); + var canceled = !sendEvent('wordclouddrawn', true, { + item: settings.list[i], drawn: drawn }); + if (exceedTime() || canceled) { + stoppingFunction(timer); + settings.abort(); + sendEvent('wordcloudabort', false); + sendEvent('wordcloudstop', false); + removeEventListener('wordcloudstart', anotherWordCloudStart); + return; + } + i++; + timer = loopingFunction(loop, settings.wait); + }, settings.wait); + }; + + // All set, start the drawing + start(); + }; + + WordCloud.isSupported = isSupported; + WordCloud.minFontSize = minFontSize; + + // Expose the library as an AMD module + if (true) { + !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function() { return WordCloud; }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } else {} + +})(this); //jshint ignore:line + +/***/ }), + +/***/ 88157: +/*!*********************************************************!*\ + !*** ./node_modules/echarts-wordcloud/src/wordCloud.js ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +var echarts = __webpack_require__(/*! echarts/lib/echarts */ 70492); +var layoutUtil = __webpack_require__(/*! echarts/lib/util/layout */ 76172); + +__webpack_require__(/*! ./WordCloudSeries */ 50024); +__webpack_require__(/*! ./WordCloudView */ 40885); + +var wordCloudLayoutHelper = __webpack_require__(/*! ./layout */ 62255); + +if (!wordCloudLayoutHelper.isSupported) { + throw new Error('Sorry your browser not support wordCloud'); +} + +// https://github.com/timdream/wordcloud2.js/blob/c236bee60436e048949f9becc4f0f67bd832dc5c/index.js#L233 +function updateCanvasMask(maskCanvas) { + var ctx = maskCanvas.getContext('2d'); + var imageData = ctx.getImageData( + 0, 0, maskCanvas.width, maskCanvas.height); + var newImageData = ctx.createImageData(imageData); + + var toneSum = 0; + var toneCnt = 0; + for (var i = 0; i < imageData.data.length; i += 4) { + var alpha = imageData.data[i + 3]; + if (alpha > 128) { + var tone = imageData.data[i] + + imageData.data[i + 1] + + imageData.data[i + 2]; + toneSum += tone; + ++toneCnt; + } + } + var threshold = toneSum / toneCnt; + + for (var i = 0; i < imageData.data.length; i += 4) { + var tone = imageData.data[i] + + imageData.data[i + 1] + + imageData.data[i + 2]; + var alpha = imageData.data[i + 3]; + + if (alpha < 128 || tone > threshold) { + // Area not to draw + newImageData.data[i] = 0; + newImageData.data[i + 1] = 0; + newImageData.data[i + 2] = 0; + newImageData.data[i + 3] = 0; + } + else { + // Area to draw + // The color must be same with backgroundColor + newImageData.data[i] = 255; + newImageData.data[i + 1] = 255; + newImageData.data[i + 2] = 255; + newImageData.data[i + 3] = 255; + } + } + + ctx.putImageData(newImageData, 0, 0); +} + +echarts.registerLayout(function (ecModel, api) { + ecModel.eachSeriesByType('wordCloud', function (seriesModel) { + var gridRect = layoutUtil.getLayoutRect( + seriesModel.getBoxLayoutParams(), { + width: api.getWidth(), + height: api.getHeight() + } + ); + var data = seriesModel.getData(); + + var canvas = document.createElement('canvas'); + canvas.width = gridRect.width; + canvas.height = gridRect.height; + + var ctx = canvas.getContext('2d'); + var maskImage = seriesModel.get('maskImage'); + if (maskImage) { + try { + ctx.drawImage(maskImage, 0, 0, canvas.width, canvas.height); + updateCanvasMask(canvas); + } + catch (e) { + console.error('Invalid mask image'); + console.error(e.toString()); + } + } + + var sizeRange = seriesModel.get('sizeRange'); + var rotationRange = seriesModel.get('rotationRange'); + var valueExtent = data.getDataExtent('value'); + + var DEGREE_TO_RAD = Math.PI / 180; + var gridSize = seriesModel.get('gridSize'); + wordCloudLayoutHelper(canvas, { + list: data.mapArray('value', function (value, idx) { + var itemModel = data.getItemModel(idx); + return [ + data.getName(idx), + itemModel.get('textStyle.normal.textSize', true) + || echarts.number.linearMap(value, valueExtent, sizeRange), + idx + ]; + }).sort(function (a, b) { + // Sort from large to small in case there is no more room for more words + return b[1] - a[1]; + }), + fontFamily: seriesModel.get('textStyle.normal.fontFamily') + || seriesModel.get('textStyle.emphasis.fontFamily') + || ecModel.get('textStyle.fontFamily'), + fontWeight: seriesModel.get('textStyle.normal.fontWeight') + || seriesModel.get('textStyle.emphasis.fontWeight') + || ecModel.get('textStyle.fontWeight'), + gridSize: gridSize, + + ellipticity: gridRect.height / gridRect.width, + + minRotation: rotationRange[0] * DEGREE_TO_RAD, + maxRotation: rotationRange[1] * DEGREE_TO_RAD, + + clearCanvas: !maskImage, + + rotateRatio: 1, + + rotationStep: seriesModel.get('rotationStep') * DEGREE_TO_RAD, + + drawOutOfBound: seriesModel.get('drawOutOfBound'), + + shuffle: false, + + shape: seriesModel.get('shape') + }); + + function onWordCloudDrawn(e) { + var item = e.detail.item; + if (e.detail.drawn && seriesModel.layoutInstance.ondraw) { + e.detail.drawn.gx += gridRect.x / gridSize; + e.detail.drawn.gy += gridRect.y / gridSize; + seriesModel.layoutInstance.ondraw( + item[0], item[1], item[2], e.detail.drawn + ); + } + } + + canvas.addEventListener('wordclouddrawn', onWordCloudDrawn); + + if (seriesModel.layoutInstance) { + // Dispose previous + seriesModel.layoutInstance.dispose(); + } + + seriesModel.layoutInstance = { + ondraw: null, + + dispose: function () { + canvas.removeEventListener('wordclouddrawn', onWordCloudDrawn); + // Abort + canvas.addEventListener('wordclouddrawn', function (e) { + // Prevent default to cancle the event and stop the loop + e.preventDefault(); + }); + } + }; + }); +}); + +echarts.registerPreprocessor(function (option) { + var series = (option || {}).series; + !echarts.util.isArray(series) && (series = series ? [series] : []); + + var compats = ['shadowColor', 'shadowBlur', 'shadowOffsetX', 'shadowOffsetY']; + + echarts.util.each(series, function (seriesItem) { + if (seriesItem && seriesItem.type === 'wordCloud') { + var textStyle = seriesItem.textStyle || {}; + + compatTextStyle(textStyle.normal); + compatTextStyle(textStyle.emphasis); + } + }); + + function compatTextStyle(textStyle) { + textStyle && echarts.util.each(compats, function (key) { + if (textStyle.hasOwnProperty(key)) { + textStyle['text' + echarts.format.capitalFirst(key)] = textStyle[key]; + } + }); + } +}); + + +/***/ }), + +/***/ 74300: +/*!***************************************************************!*\ + !*** ./node_modules/react-copy-to-clipboard/lib/Component.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.CopyToClipboard = void 0; + +var _react = _interopRequireDefault(__webpack_require__(/*! react */ 67294)); + +var _copyToClipboard = _interopRequireDefault(__webpack_require__(/*! copy-to-clipboard */ 20640)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } + +function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + +function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } + +function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +var CopyToClipboard = +/*#__PURE__*/ +function (_React$PureComponent) { + _inherits(CopyToClipboard, _React$PureComponent); + + function CopyToClipboard() { + var _getPrototypeOf2; + + var _this; + + _classCallCheck(this, CopyToClipboard); + + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(CopyToClipboard)).call.apply(_getPrototypeOf2, [this].concat(args))); + + _defineProperty(_assertThisInitialized(_this), "onClick", function (event) { + var _this$props = _this.props, + text = _this$props.text, + onCopy = _this$props.onCopy, + children = _this$props.children, + options = _this$props.options; + + var elem = _react["default"].Children.only(children); + + var result = (0, _copyToClipboard["default"])(text, options); + + if (onCopy) { + onCopy(text, result); + } // Bypass onClick if it was present + + + if (elem && elem.props && typeof elem.props.onClick === 'function') { + elem.props.onClick(event); + } + }); + + return _this; + } + + _createClass(CopyToClipboard, [{ + key: "render", + value: function render() { + var _this$props2 = this.props, + _text = _this$props2.text, + _onCopy = _this$props2.onCopy, + _options = _this$props2.options, + children = _this$props2.children, + props = _objectWithoutProperties(_this$props2, ["text", "onCopy", "options", "children"]); + + var elem = _react["default"].Children.only(children); + + return _react["default"].cloneElement(elem, _objectSpread({}, props, { + onClick: this.onClick + })); + } + }]); + + return CopyToClipboard; +}(_react["default"].PureComponent); + +exports.CopyToClipboard = CopyToClipboard; + +_defineProperty(CopyToClipboard, "defaultProps", { + onCopy: undefined, + options: undefined +}); + +/***/ }), + +/***/ 74855: +/*!***********************************************************!*\ + !*** ./node_modules/react-copy-to-clipboard/lib/index.js ***! + \***********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + + +var _require = __webpack_require__(/*! ./Component */ 74300), + CopyToClipboard = _require.CopyToClipboard; + +CopyToClipboard.CopyToClipboard = CopyToClipboard; +module.exports = CopyToClipboard; + +/***/ }), + +/***/ 57761: +/*!*********************************************************************!*\ + !*** ./node_modules/react-infinite-scroller/dist/InfiniteScroll.js ***! + \*********************************************************************/ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _react = __webpack_require__(/*! react */ 67294); + +var _react2 = _interopRequireDefault(_react); + +var _propTypes = __webpack_require__(/*! prop-types */ 45697); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var InfiniteScroll = function (_Component) { + _inherits(InfiniteScroll, _Component); + + function InfiniteScroll(props) { + _classCallCheck(this, InfiniteScroll); + + var _this = _possibleConstructorReturn(this, (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(this, props)); + + _this.scrollListener = _this.scrollListener.bind(_this); + _this.eventListenerOptions = _this.eventListenerOptions.bind(_this); + _this.mousewheelListener = _this.mousewheelListener.bind(_this); + return _this; + } + + _createClass(InfiniteScroll, [{ + key: 'componentDidMount', + value: function componentDidMount() { + this.pageLoaded = this.props.pageStart; + this.options = this.eventListenerOptions(); + this.attachScrollListener(); + } + }, { + key: 'componentDidUpdate', + value: function componentDidUpdate() { + if (this.props.isReverse && this.loadMore) { + var parentElement = this.getParentElement(this.scrollComponent); + parentElement.scrollTop = parentElement.scrollHeight - this.beforeScrollHeight + this.beforeScrollTop; + this.loadMore = false; + } + this.attachScrollListener(); + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + this.detachScrollListener(); + this.detachMousewheelListener(); + } + }, { + key: 'isPassiveSupported', + value: function isPassiveSupported() { + var passive = false; + + var testOptions = { + get passive() { + passive = true; + } + }; + + try { + document.addEventListener('test', null, testOptions); + document.removeEventListener('test', null, testOptions); + } catch (e) { + // ignore + } + return passive; + } + }, { + key: 'eventListenerOptions', + value: function eventListenerOptions() { + var options = this.props.useCapture; + + if (this.isPassiveSupported()) { + options = { + useCapture: this.props.useCapture, + passive: true + }; + } + return options; + } + + // Set a defaut loader for all your `InfiniteScroll` components + + }, { + key: 'setDefaultLoader', + value: function setDefaultLoader(loader) { + this.defaultLoader = loader; + } + }, { + key: 'detachMousewheelListener', + value: function detachMousewheelListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.scrollComponent.parentNode; + } + + scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'detachScrollListener', + value: function detachScrollListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.getParentElement(this.scrollComponent); + } + + scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'getParentElement', + value: function getParentElement(el) { + var scrollParent = this.props.getScrollParent && this.props.getScrollParent(); + if (scrollParent != null) { + return scrollParent; + } + return el && el.parentNode; + } + }, { + key: 'filterProps', + value: function filterProps(props) { + return props; + } + }, { + key: 'attachScrollListener', + value: function attachScrollListener() { + var parentElement = this.getParentElement(this.scrollComponent); + + if (!this.props.hasMore || !parentElement) { + return; + } + + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = parentElement; + } + + scrollEl.addEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + + if (this.props.initialLoad) { + this.scrollListener(); + } + } + }, { + key: 'mousewheelListener', + value: function mousewheelListener(e) { + // Prevents Chrome hangups + // See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257 + if (e.deltaY === 1 && !this.isPassiveSupported()) { + e.preventDefault(); + } + } + }, { + key: 'scrollListener', + value: function scrollListener() { + var el = this.scrollComponent; + var scrollEl = window; + var parentNode = this.getParentElement(el); + + var offset = void 0; + if (this.props.useWindow) { + var doc = document.documentElement || document.body.parentNode || document.body; + var scrollTop = scrollEl.pageYOffset !== undefined ? scrollEl.pageYOffset : doc.scrollTop; + if (this.props.isReverse) { + offset = scrollTop; + } else { + offset = this.calculateOffset(el, scrollTop); + } + } else if (this.props.isReverse) { + offset = parentNode.scrollTop; + } else { + offset = el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight; + } + + // Here we make sure the element is visible as well as checking the offset + if (offset < Number(this.props.threshold) && el && el.offsetParent !== null) { + this.detachScrollListener(); + this.beforeScrollHeight = parentNode.scrollHeight; + this.beforeScrollTop = parentNode.scrollTop; + // Call loadMore after detachScrollListener to allow for non-async loadMore functions + if (typeof this.props.loadMore === 'function') { + this.props.loadMore(this.pageLoaded += 1); + this.loadMore = true; + } + } + } + }, { + key: 'calculateOffset', + value: function calculateOffset(el, scrollTop) { + if (!el) { + return 0; + } + + return this.calculateTopPosition(el) + (el.offsetHeight - scrollTop - window.innerHeight); + } + }, { + key: 'calculateTopPosition', + value: function calculateTopPosition(el) { + if (!el) { + return 0; + } + return el.offsetTop + this.calculateTopPosition(el.offsetParent); + } + }, { + key: 'render', + value: function render() { + var _this2 = this; + + var renderProps = this.filterProps(this.props); + + var children = renderProps.children, + element = renderProps.element, + hasMore = renderProps.hasMore, + initialLoad = renderProps.initialLoad, + isReverse = renderProps.isReverse, + loader = renderProps.loader, + loadMore = renderProps.loadMore, + pageStart = renderProps.pageStart, + ref = renderProps.ref, + threshold = renderProps.threshold, + useCapture = renderProps.useCapture, + useWindow = renderProps.useWindow, + getScrollParent = renderProps.getScrollParent, + props = _objectWithoutProperties(renderProps, ['children', 'element', 'hasMore', 'initialLoad', 'isReverse', 'loader', 'loadMore', 'pageStart', 'ref', 'threshold', 'useCapture', 'useWindow', 'getScrollParent']); + + props.ref = function (node) { + _this2.scrollComponent = node; + if (ref) { + ref(node); + } + }; + + var childrenArray = [children]; + if (hasMore) { + if (loader) { + isReverse ? childrenArray.unshift(loader) : childrenArray.push(loader); + } else if (this.defaultLoader) { + isReverse ? childrenArray.unshift(this.defaultLoader) : childrenArray.push(this.defaultLoader); + } + } + return _react2.default.createElement(element, props, childrenArray); + } + }]); + + return InfiniteScroll; +}(_react.Component); + +InfiniteScroll.propTypes = { + children: _propTypes2.default.node.isRequired, + element: _propTypes2.default.node, + hasMore: _propTypes2.default.bool, + initialLoad: _propTypes2.default.bool, + isReverse: _propTypes2.default.bool, + loader: _propTypes2.default.node, + loadMore: _propTypes2.default.func.isRequired, + pageStart: _propTypes2.default.number, + ref: _propTypes2.default.func, + getScrollParent: _propTypes2.default.func, + threshold: _propTypes2.default.number, + useCapture: _propTypes2.default.bool, + useWindow: _propTypes2.default.bool +}; +InfiniteScroll.defaultProps = { + element: 'div', + hasMore: false, + initialLoad: true, + pageStart: 0, + ref: null, + threshold: 250, + useWindow: true, + isReverse: false, + useCapture: false, + loader: null, + getScrollParent: null +}; +exports["default"] = InfiniteScroll; +module.exports = exports['default']; + + +/***/ }), + +/***/ 246: +/*!*******************************************************!*\ + !*** ./node_modules/react-infinite-scroller/index.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +module.exports = __webpack_require__(/*! ./dist/InfiniteScroll */ 57761) + + +/***/ }), + +/***/ 11742: +/*!************************************************!*\ + !*** ./node_modules/toggle-selection/index.js ***! + \************************************************/ +/***/ (function(module) { + + +module.exports = function () { + var selection = document.getSelection(); + if (!selection.rangeCount) { + return function () {}; + } + var active = document.activeElement; + + var ranges = []; + for (var i = 0; i < selection.rangeCount; i++) { + ranges.push(selection.getRangeAt(i)); + } + + switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML + case 'INPUT': + case 'TEXTAREA': + active.blur(); + break; + + default: + active = null; + break; + } + + selection.removeAllRanges(); + return function () { + selection.type === 'Caret' && + selection.removeAllRanges(); + + if (!selection.rangeCount) { + ranges.forEach(function(range) { + selection.addRange(range); + }); + } + + active && + active.focus(); + }; +}; + + +/***/ }) + +}]); \ No newline at end of file diff --git a/12178.async.js b/12178.async.js index 6725a81d51..3da256850c 100644 --- a/12178.async.js +++ b/12178.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[12178,59606,93691,11328,58447,77075,94657,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[12178,59606,93691,11328,58447,77075,94657,64649,33893,9277,54682,68282],{ /***/ 38780: /*!*****************************************************!*\ diff --git a/12750.async.js b/12750.async.js deleted file mode 100644 index a93905191e..0000000000 --- a/12750.async.js +++ /dev/null @@ -1,748 +0,0 @@ -"use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[12750],{ - -/***/ 85418: -/*!************************************************************!*\ - !*** ./node_modules/antd/es/dropdown/index.js + 1 modules ***! - \************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ es_dropdown; } -}); - -// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules -var dropdown = __webpack_require__(35874); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules -var EllipsisOutlined = __webpack_require__(89705); -// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js -var es_button = __webpack_require__(71577); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/space/index.js + 2 modules -var space = __webpack_require__(42075); -// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js -var Compact = __webpack_require__(4173); -// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules -var style = __webpack_require__(66748); -;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/dropdown-button.js -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - -const DropdownButton = props => { - const { - getPopupContainer: getContextPopupContainer, - getPrefixCls, - direction - } = react.useContext(context/* ConfigContext */.E_); - const { - prefixCls: customizePrefixCls, - type = 'default', - danger, - disabled, - loading, - onClick, - htmlType, - children, - className, - menu, - arrow, - autoFocus, - overlay, - trigger, - align, - open, - onOpenChange, - placement, - getPopupContainer, - href, - icon = /*#__PURE__*/react.createElement(EllipsisOutlined/* default */.Z, null), - title, - buttonsRender = buttons => buttons, - mouseEnterDelay, - mouseLeaveDelay, - overlayClassName, - overlayStyle, - destroyPopupOnHide, - dropdownRender - } = props, - restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]); - const prefixCls = getPrefixCls('dropdown', customizePrefixCls); - const buttonPrefixCls = `${prefixCls}-button`; - const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls); - const dropdownProps = { - menu, - arrow, - autoFocus, - align, - disabled, - trigger: disabled ? [] : trigger, - onOpenChange, - getPopupContainer: getPopupContainer || getContextPopupContainer, - mouseEnterDelay, - mouseLeaveDelay, - overlayClassName, - overlayStyle, - destroyPopupOnHide, - dropdownRender - }; - const { - compactSize, - compactItemClassnames - } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); - const classes = classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId); - if ('overlay' in props) { - dropdownProps.overlay = overlay; - } - if ('open' in props) { - dropdownProps.open = open; - } - if ('placement' in props) { - dropdownProps.placement = placement; - } else { - dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight'; - } - const leftButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { - type: type, - danger: danger, - disabled: disabled, - loading: loading, - onClick: onClick, - htmlType: htmlType, - href: href, - title: title - }, children); - const rightButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { - type: type, - danger: danger, - icon: icon - }); - const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]); - return wrapSSR( /*#__PURE__*/react.createElement(space/* default.Compact */.Z.Compact, Object.assign({ - className: classes, - size: compactSize, - block: true - }, restProps), leftButtonToRender, /*#__PURE__*/react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender))); -}; -DropdownButton.__ANT_BUTTON = true; -/* harmony default export */ var dropdown_button = (DropdownButton); -;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/index.js -'use client'; - - - -const Dropdown = dropdown/* default */.Z; -Dropdown.Button = dropdown_button; -/* harmony default export */ var es_dropdown = (Dropdown); - -/***/ }), - -/***/ 59606: -/*!********************************************************!*\ - !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! - \********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ rate; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/StarFilled.js -// This icon file is generated automatically. -var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; -/* harmony default export */ var asn_StarFilled = (StarFilled); - -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules -var AntdIcon = __webpack_require__(74643); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/StarFilled.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var StarFilled_StarFilled = function StarFilled(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_StarFilled - })); -}; -if (false) {} -/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(97685); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(45987); -// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js -var useMergedState = __webpack_require__(21770); -// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js -var KeyCode = __webpack_require__(15105); -// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js -var pickAttrs = __webpack_require__(64217); -;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js - - - -function Star(props, ref) { - var disabled = props.disabled, - prefixCls = props.prefixCls, - character = props.character, - characterRender = props.characterRender, - index = props.index, - count = props.count, - value = props.value, - allowHalf = props.allowHalf, - focused = props.focused, - onHover = props.onHover, - onClick = props.onClick; - // =========================== Events =========================== - var onInternalHover = function onInternalHover(e) { - onHover(e, index); - }; - var onInternalClick = function onInternalClick(e) { - onClick(e, index); - }; - var onInternalKeyDown = function onInternalKeyDown(e) { - if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { - onClick(e, index); - } - }; - // =========================== Render =========================== - // >>>>> ClassName - var starValue = index + 1; - var classNameList = new Set([prefixCls]); - // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. - if (value === 0 && index === 0 && focused) { - classNameList.add("".concat(prefixCls, "-focused")); - } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { - classNameList.add("".concat(prefixCls, "-half")); - classNameList.add("".concat(prefixCls, "-active")); - if (focused) { - classNameList.add("".concat(prefixCls, "-focused")); - } - } else { - if (starValue <= value) { - classNameList.add("".concat(prefixCls, "-full")); - } else { - classNameList.add("".concat(prefixCls, "-zero")); - } - if (starValue === value && focused) { - classNameList.add("".concat(prefixCls, "-focused")); - } - } - // >>>>> Node - var characterNode = typeof character === 'function' ? character(props) : character; - var start = /*#__PURE__*/react.createElement("li", { - className: classnames_default()(Array.from(classNameList)), - ref: ref - }, /*#__PURE__*/react.createElement("div", { - onClick: disabled ? null : onInternalClick, - onKeyDown: disabled ? null : onInternalKeyDown, - onMouseMove: disabled ? null : onInternalHover, - role: "radio", - "aria-checked": value > index ? 'true' : 'false', - "aria-posinset": index + 1, - "aria-setsize": count, - tabIndex: disabled ? -1 : 0 - }, /*#__PURE__*/react.createElement("div", { - className: "".concat(prefixCls, "-first") - }, characterNode), /*#__PURE__*/react.createElement("div", { - className: "".concat(prefixCls, "-second") - }, characterNode))); - if (characterRender) { - start = characterRender(start, props); - } - return start; -} -/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); -;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js - -function useRefs() { - var nodeRef = react.useRef({}); - function getRef(index) { - return nodeRef.current[index]; - } - function setRef(index) { - return function (node) { - nodeRef.current[index] = node; - }; - } - return [getRef, setRef]; -} -;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js -function getScroll(w) { - var ret = w.pageXOffset; - var method = 'scrollLeft'; - if (typeof ret !== 'number') { - var d = w.document; - // ie6,7,8 standard mode - ret = d.documentElement[method]; - if (typeof ret !== 'number') { - // quirks mode - ret = d.body[method]; - } - } - return ret; -} -function getClientPosition(elem) { - var x; - var y; - var doc = elem.ownerDocument; - var body = doc.body; - var docElem = doc && doc.documentElement; - var box = elem.getBoundingClientRect(); - x = box.left; - y = box.top; - x -= docElem.clientLeft || body.clientLeft || 0; - y -= docElem.clientTop || body.clientTop || 0; - return { - left: x, - top: y - }; -} -function getOffsetLeft(el) { - var pos = getClientPosition(el); - var doc = el.ownerDocument; - // Only IE use `parentWindow` - var w = doc.defaultView || doc.parentWindow; - pos.left += getScroll(w); - return pos.left; -} -;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js - - - - -var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; - - - - - - - - -function Rate(props, ref) { - var _classNames; - var _props$prefixCls = props.prefixCls, - prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, - className = props.className, - defaultValue = props.defaultValue, - propValue = props.value, - _props$count = props.count, - count = _props$count === void 0 ? 5 : _props$count, - _props$allowHalf = props.allowHalf, - allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, - _props$allowClear = props.allowClear, - allowClear = _props$allowClear === void 0 ? true : _props$allowClear, - _props$character = props.character, - character = _props$character === void 0 ? '★' : _props$character, - characterRender = props.characterRender, - disabled = props.disabled, - _props$direction = props.direction, - direction = _props$direction === void 0 ? 'ltr' : _props$direction, - _props$tabIndex = props.tabIndex, - tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, - autoFocus = props.autoFocus, - onHoverChange = props.onHoverChange, - onChange = props.onChange, - onFocus = props.onFocus, - onBlur = props.onBlur, - onKeyDown = props.onKeyDown, - onMouseLeave = props.onMouseLeave, - restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); - var _useRefs = useRefs(), - _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), - getStarRef = _useRefs2[0], - setStarRef = _useRefs2[1]; - var rateRef = react.useRef(null); - // ============================ Ref ============================= - var triggerFocus = function triggerFocus() { - if (!disabled) { - var _rateRef$current; - (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); - } - }; - react.useImperativeHandle(ref, function () { - return { - focus: triggerFocus, - blur: function blur() { - if (!disabled) { - var _rateRef$current2; - (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); - } - } - }; - }); - // =========================== Value ============================ - var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { - value: propValue - }), - _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), - value = _useMergedState2[0], - setValue = _useMergedState2[1]; - var _useMergedState3 = (0,useMergedState/* default */.Z)(null), - _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), - cleanedValue = _useMergedState4[0], - setCleanedValue = _useMergedState4[1]; - var getStarValue = function getStarValue(index, x) { - var reverse = direction === 'rtl'; - var starValue = index + 1; - if (allowHalf) { - var starEle = getStarRef(index); - var leftDis = getOffsetLeft(starEle); - var width = starEle.clientWidth; - if (reverse && x - leftDis > width / 2) { - starValue -= 0.5; - } else if (!reverse && x - leftDis < width / 2) { - starValue -= 0.5; - } - } - return starValue; - }; - // >>>>> Change - var changeValue = function changeValue(nextValue) { - setValue(nextValue); - onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); - }; - // =========================== Focus ============================ - var _React$useState = react.useState(false), - _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), - focused = _React$useState2[0], - setFocused = _React$useState2[1]; - var onInternalFocus = function onInternalFocus() { - setFocused(true); - onFocus === null || onFocus === void 0 ? void 0 : onFocus(); - }; - var onInternalBlur = function onInternalBlur() { - setFocused(false); - onBlur === null || onBlur === void 0 ? void 0 : onBlur(); - }; - // =========================== Hover ============================ - var _React$useState3 = react.useState(null), - _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), - hoverValue = _React$useState4[0], - setHoverValue = _React$useState4[1]; - var onHover = function onHover(event, index) { - var nextHoverValue = getStarValue(index, event.pageX); - if (nextHoverValue !== cleanedValue) { - setHoverValue(nextHoverValue); - setCleanedValue(null); - } - onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); - }; - var onMouseLeaveCallback = function onMouseLeaveCallback(event) { - if (!disabled) { - setHoverValue(null); - setCleanedValue(null); - onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); - } - if (event) { - onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); - } - }; - // =========================== Click ============================ - var onClick = function onClick(event, index) { - var newValue = getStarValue(index, event.pageX); - var isReset = false; - if (allowClear) { - isReset = newValue === value; - } - onMouseLeaveCallback(); - changeValue(isReset ? 0 : newValue); - setCleanedValue(isReset ? newValue : null); - }; - var onInternalKeyDown = function onInternalKeyDown(event) { - var keyCode = event.keyCode; - var reverse = direction === 'rtl'; - var nextValue = value; - if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { - if (allowHalf) { - nextValue += 0.5; - } else { - nextValue += 1; - } - changeValue(nextValue); - event.preventDefault(); - } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { - if (allowHalf) { - nextValue -= 0.5; - } else { - nextValue -= 1; - } - changeValue(nextValue); - event.preventDefault(); - } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { - if (allowHalf) { - nextValue -= 0.5; - } else { - nextValue -= 1; - } - changeValue(nextValue); - event.preventDefault(); - } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { - if (allowHalf) { - nextValue += 0.5; - } else { - nextValue += 1; - } - changeValue(nextValue); - event.preventDefault(); - } - onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); - }; - // =========================== Effect =========================== - react.useEffect(function () { - if (autoFocus && !disabled) { - triggerFocus(); - } - }, []); - // =========================== Render =========================== - // >>> Star - var starNodes = new Array(count).fill(0).map(function (item, index) { - return /*#__PURE__*/react.createElement(es_Star, { - ref: setStarRef(index), - index: index, - count: count, - disabled: disabled, - prefixCls: "".concat(prefixCls, "-star"), - allowHalf: allowHalf, - value: hoverValue === null ? value : hoverValue, - onClick: onClick, - onHover: onHover, - key: item || index, - character: character, - characterRender: characterRender, - focused: focused - }); - }); - var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); - // >>> Node - return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ - className: classString, - onMouseLeave: onMouseLeaveCallback, - tabIndex: disabled ? -1 : tabIndex, - onFocus: disabled ? null : onInternalFocus, - onBlur: disabled ? null : onInternalBlur, - onKeyDown: disabled ? null : onInternalKeyDown, - ref: rateRef, - role: "radiogroup" - }, (0,pickAttrs/* default */.Z)(restProps, { - aria: true, - data: true, - attr: true - })), starNodes); -} -/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); -;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js - -/* harmony default export */ var es = (es_Rate); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules -var tooltip = __webpack_require__(83062); -// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js -var style = __webpack_require__(14747); -// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js -var genComponentStyleHook = __webpack_require__(67968); -// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js -var statistic = __webpack_require__(45503); -;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js - - -const genRateStarStyle = token => { - const { - componentCls - } = token; - return { - [`${componentCls}-star`]: { - position: 'relative', - display: 'inline-block', - color: 'inherit', - cursor: 'pointer', - '&:not(:last-child)': { - marginInlineEnd: token.marginXS - }, - '> div': { - transition: `all ${token.motionDurationMid}, outline 0s`, - '&:hover': { - transform: token.starHoverScale - }, - '&:focus': { - outline: 0 - }, - '&:focus-visible': { - outline: `${token.lineWidth}px dashed ${token.starColor}`, - transform: token.starHoverScale - } - }, - '&-first, &-second': { - color: token.starBg, - transition: `all ${token.motionDurationMid}`, - userSelect: 'none', - [token.iconCls]: { - verticalAlign: 'middle' - } - }, - '&-first': { - position: 'absolute', - top: 0, - insetInlineStart: 0, - width: '50%', - height: '100%', - overflow: 'hidden', - opacity: 0 - }, - [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { - opacity: 1 - }, - [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { - color: 'inherit' - } - } - }; -}; -const genRateRtlStyle = token => ({ - [`&-rtl${token.componentCls}`]: { - direction: 'rtl' - } -}); -const genRateStyle = token => { - const { - componentCls - } = token; - return { - [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { - display: 'inline-block', - margin: 0, - padding: 0, - color: token.starColor, - fontSize: token.starSize, - lineHeight: 'unset', - listStyle: 'none', - outline: 'none', - // disable styles - [`&-disabled${componentCls} ${componentCls}-star`]: { - cursor: 'default', - '> div:hover': { - transform: 'scale(1)' - } - } - }), genRateStarStyle(token)), { - // text styles - [`+ ${componentCls}-text`]: { - display: 'inline-block', - marginInlineStart: token.marginXS, - fontSize: token.fontSize - } - }), genRateRtlStyle(token)) - }; -}; -// ============================== Export ============================== -/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { - const rateToken = (0,statistic/* merge */.TS)(token, {}); - return [genRateStyle(rateToken)]; -}, token => ({ - starColor: token.yellow6, - starSize: token.controlHeightLG * 0.5, - starHoverScale: 'scale(1.1)', - starBg: token.colorFillContent -}))); -;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js -'use client'; - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - -const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { - const { - prefixCls, - className, - rootClassName, - style, - tooltips, - character = /*#__PURE__*/react.createElement(icons_StarFilled, null) - } = props, - rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); - const characterRender = (node, _ref) => { - let { - index - } = _ref; - if (!tooltips) { - return node; - } - return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { - title: tooltips[index] - }, node); - }; - const { - getPrefixCls, - direction, - rate - } = react.useContext(context/* ConfigContext */.E_); - const ratePrefixCls = getPrefixCls('rate', prefixCls); - // Style - const [wrapSSR, hashId] = rate_style(ratePrefixCls); - const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); - return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ - ref: ref, - character: character, - characterRender: characterRender - }, rest, { - className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), - style: mergedStyle, - prefixCls: ratePrefixCls, - direction: direction - }))); -}); -if (false) {} -/* harmony default export */ var rate = (rate_Rate); - -/***/ }) - -}]); \ No newline at end of file diff --git a/18117.async.js b/18117.async.js index bbe90f01f9..8da7ed6cee 100644 --- a/18117.async.js +++ b/18117.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[18117,59606,57942,95002,79084,93691,11328,58447,77075,94657,89494,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[18117,59606,57942,95002,79084,93691,11328,58447,77075,89494,94657,64649,33893,9277,54682,68282],{ /***/ 11475: /*!******************************************************************************************!*\ diff --git a/22106.async.js b/22106.async.js index ca5989e75c..aa8e8234ce 100644 --- a/22106.async.js +++ b/22106.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[22106,59606,36909,18117,57942,95002,79084,93691,11328,58447,77075,94657,89494,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[22106,59606,36909,18117,57942,95002,79084,93691,11328,58447,77075,89494,94657,64649,33893,9277,54682,68282],{ /***/ 11475: /*!******************************************************************************************!*\ diff --git a/2557.async.js b/2557.async.js index 118eb5c43d..e738e17673 100644 --- a/2557.async.js +++ b/2557.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[2557,59606,72029,878,75650,93691,11328,58447,77075,94657,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[2557,59606,72029,878,75650,93691,11328,58447,77075,94657,64649,33893,9277,54682,68282],{ /***/ 77171: /*!**********************************************************************************!*\ diff --git a/25674.async.js b/25674.async.js index 54c02755a0..e316fc28dd 100644 --- a/25674.async.js +++ b/25674.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[25674,59606,2441,75650,93691,11328,58447,77075,94657,12750,64649,33893,9277,54682,68282,14341],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[25674,59606,2441,75650,93691,11328,58447,77075,94657,64649,33893,9277,54682,68282,14341],{ /***/ 8745: /*!*************************************************!*\ diff --git a/31785.async.js b/31785.async.js index 74b56946fd..5b88e91fd6 100644 --- a/31785.async.js +++ b/31785.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[31785,73323,12750],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[31785,73323,94657],{ /***/ 57838: /*!************************************************************!*\ diff --git a/35889.async.js b/35889.async.js index 9174f7a5ce..cb6374b8a2 100644 --- a/35889.async.js +++ b/35889.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[35889,31785,51826,73323,12750],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[35889,31785,51826,73323,94657],{ /***/ 77171: /*!**********************************************************************************!*\ diff --git a/3650.async.js b/3650.async.js index fcd95e7508..b37061b7f6 100644 --- a/3650.async.js +++ b/3650.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[3650,31785,2441,34605,79084,73323,12750],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[3650,31785,2441,34605,79084,73323,94657],{ /***/ 11475: /*!******************************************************************************************!*\ diff --git a/42717.async.js b/42717.async.js index 3156ad6afd..6a217b0c20 100644 --- a/42717.async.js +++ b/42717.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[42717,59606,2441,18117,57942,95002,79084,93691,11328,58447,77075,94657,89494,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[42717,59606,2441,18117,57942,95002,79084,93691,11328,58447,77075,89494,94657,64649,33893,9277,54682,68282],{ /***/ 11475: /*!******************************************************************************************!*\ diff --git a/43632.async.js b/43632.async.js index 4f4fa0f3f8..62f03ba701 100644 --- a/43632.async.js +++ b/43632.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[43632,31785,51826,73323,12750],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[43632,31785,51826,73323,94657],{ /***/ 39398: /*!**********************************************************************************!*\ diff --git a/44776.async.js b/44776.async.js index d9f0861796..3b95ffe1fd 100644 --- a/44776.async.js +++ b/44776.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[44776,2441,12750],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[44776,2441,94657],{ /***/ 84567: /*!************************************************************!*\ diff --git a/51826.async.js b/51826.async.js index f9bf7fefd3..a298746420 100644 --- a/51826.async.js +++ b/51826.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[51826,31785,73323,12750],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[51826,31785,73323,94657],{ /***/ 63606: /*!******************************************************************************!*\ diff --git a/57942.async.js b/57942.async.js index 5f2c0b981f..f07c375fac 100644 --- a/57942.async.js +++ b/57942.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[57942,59606,18117,95002,79084,93691,11328,58447,77075,94657,89494,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[57942,59606,18117,95002,79084,93691,11328,58447,77075,89494,94657,64649,33893,9277,54682,68282],{ /***/ 11475: /*!******************************************************************************************!*\ diff --git a/58447.async.js b/58447.async.js index 575876843b..dda0f18a85 100644 --- a/58447.async.js +++ b/58447.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[58447,59606,93691,11328,77075,94657,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[58447,59606,93691,11328,77075,94657,64649,33893,9277,54682,68282],{ /***/ 85418: /*!************************************************************!*\ diff --git a/72029.async.js b/72029.async.js index 25371a5ba6..0056f24c5c 100644 --- a/72029.async.js +++ b/72029.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[72029,59606,2557,878,75650,93691,11328,58447,77075,94657,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[72029,59606,2557,878,75650,93691,11328,58447,77075,94657,64649,33893,9277,54682,68282],{ /***/ 77171: /*!**********************************************************************************!*\ diff --git a/73323.async.js b/73323.async.js index 614bb1bfff..cce04474ec 100644 --- a/73323.async.js +++ b/73323.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[73323,31785,12750],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[73323,31785,94657],{ /***/ 57838: /*!************************************************************!*\ diff --git a/74493.async.js b/74493.async.js index 962205b648..c5da0f4d24 100644 --- a/74493.async.js +++ b/74493.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[74493,31785,2441,73323,12750],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[74493,31785,2441,73323,94657],{ /***/ 64789: /*!***********************************************************************************!*\ diff --git a/75650.async.js b/75650.async.js index f2dd28837e..6cc7be7c5a 100644 --- a/75650.async.js +++ b/75650.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[75650,59606,93691,11328,58447,77075,94657,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[75650,59606,93691,11328,58447,77075,94657,64649,33893,9277,54682,68282],{ /***/ 8745: /*!*************************************************!*\ diff --git a/77075.async.js b/77075.async.js index 1979a59fcc..0ec6b3db6f 100644 --- a/77075.async.js +++ b/77075.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[77075,59606,93691,11328,58447,94657,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[77075,59606,93691,11328,58447,94657,64649,33893,9277,54682,68282],{ /***/ 85418: /*!************************************************************!*\ diff --git a/83668.async.js b/78343.async.js similarity index 87% rename from 83668.async.js rename to 78343.async.js index f27b86cbe3..c0abb652c7 100644 --- a/83668.async.js +++ b/78343.async.js @@ -1,116 +1,30 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[83668,35479,89777,48512,34605,81745],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[78343],{ -/***/ 18429: -/*!************************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/CloseCircleOutlined.js + 1 modules ***! - \************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_CloseCircleOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CloseCircleOutlined.js -// This icon file is generated automatically. -var CloseCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z" } }, { "tag": "path", "attrs": { "d": "M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "close-circle", "theme": "outlined" }; -/* harmony default export */ var asn_CloseCircleOutlined = (CloseCircleOutlined); - -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules -var AntdIcon = __webpack_require__(74643); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CloseCircleOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var CloseCircleOutlined_CloseCircleOutlined = function CloseCircleOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_CloseCircleOutlined - })); -}; -if (false) {} -/* harmony default export */ var icons_CloseCircleOutlined = (/*#__PURE__*/react.forwardRef(CloseCircleOutlined_CloseCircleOutlined)); - -/***/ }), - -/***/ 11475: -/*!******************************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! - \******************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_ExclamationCircleOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js -// This icon file is generated automatically. -var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; -/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); - -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules -var AntdIcon = __webpack_require__(74643); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_ExclamationCircleOutlined - })); -}; -if (false) {} -/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); - -/***/ }), - -/***/ 77123: -/*!*****************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/FormOutlined.js + 1 modules ***! - \*****************************************************************************/ +/***/ 59606: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! + \********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_FormOutlined; } + "Z": function() { return /* binding */ rate; } }); // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js var esm_extends = __webpack_require__(87462); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/FormOutlined.js +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/StarFilled.js // This icon file is generated automatically. -var FormOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z" } }, { "tag": "path", "attrs": { "d": "M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z" } }] }, "name": "form", "theme": "outlined" }; -/* harmony default export */ var asn_FormOutlined = (FormOutlined); +var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; +/* harmony default export */ var asn_StarFilled = (StarFilled); // EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules var AntdIcon = __webpack_require__(74643); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/FormOutlined.js +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/StarFilled.js // GENERATE BY ./scripts/generate.ts // DON NOT EDIT IT MANUALLY @@ -118,4067 +32,559 @@ var AntdIcon = __webpack_require__(74643); -var FormOutlined_FormOutlined = function FormOutlined(props, ref) { +var StarFilled_StarFilled = function StarFilled(props, ref) { return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { ref: ref, - icon: asn_FormOutlined + icon: asn_StarFilled })); }; if (false) {} -/* harmony default export */ var icons_FormOutlined = (/*#__PURE__*/react.forwardRef(FormOutlined_FormOutlined)); - -/***/ }), - -/***/ 64082: -/*!******************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js + 1 modules ***! - \******************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_InboxOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/InboxOutlined.js -// This icon file is generated automatically. -var InboxOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z" } }] }, "name": "inbox", "theme": "outlined" }; -/* harmony default export */ var asn_InboxOutlined = (InboxOutlined); +/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules -var AntdIcon = __webpack_require__(74643); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY +function Star(props, ref) { + var disabled = props.disabled, + prefixCls = props.prefixCls, + character = props.character, + characterRender = props.characterRender, + index = props.index, + count = props.count, + value = props.value, + allowHalf = props.allowHalf, + focused = props.focused, + onHover = props.onHover, + onClick = props.onClick; + // =========================== Events =========================== + var onInternalHover = function onInternalHover(e) { + onHover(e, index); + }; + var onInternalClick = function onInternalClick(e) { + onClick(e, index); + }; + var onInternalKeyDown = function onInternalKeyDown(e) { + if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + onClick(e, index); + } + }; + // =========================== Render =========================== + // >>>>> ClassName + var starValue = index + 1; + var classNameList = new Set([prefixCls]); + // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. + if (value === 0 && index === 0 && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { + classNameList.add("".concat(prefixCls, "-half")); + classNameList.add("".concat(prefixCls, "-active")); + if (focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } else { + if (starValue <= value) { + classNameList.add("".concat(prefixCls, "-full")); + } else { + classNameList.add("".concat(prefixCls, "-zero")); + } + if (starValue === value && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } + // >>>>> Node + var characterNode = typeof character === 'function' ? character(props) : character; + var start = /*#__PURE__*/react.createElement("li", { + className: classnames_default()(Array.from(classNameList)), + ref: ref + }, /*#__PURE__*/react.createElement("div", { + onClick: disabled ? null : onInternalClick, + onKeyDown: disabled ? null : onInternalKeyDown, + onMouseMove: disabled ? null : onInternalHover, + role: "radio", + "aria-checked": value > index ? 'true' : 'false', + "aria-posinset": index + 1, + "aria-setsize": count, + tabIndex: disabled ? -1 : 0 + }, /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-first") + }, characterNode), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-second") + }, characterNode))); + if (characterRender) { + start = characterRender(start, props); + } + return start; +} +/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js +function useRefs() { + var nodeRef = react.useRef({}); + function getRef(index) { + return nodeRef.current[index]; + } + function setRef(index) { + return function (node) { + nodeRef.current[index] = node; + }; + } + return [getRef, setRef]; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js +function getScroll(w) { + var ret = w.pageXOffset; + var method = 'scrollLeft'; + if (typeof ret !== 'number') { + var d = w.document; + // ie6,7,8 standard mode + ret = d.documentElement[method]; + if (typeof ret !== 'number') { + // quirks mode + ret = d.body[method]; + } + } + return ret; +} +function getClientPosition(elem) { + var x; + var y; + var doc = elem.ownerDocument; + var body = doc.body; + var docElem = doc && doc.documentElement; + var box = elem.getBoundingClientRect(); + x = box.left; + y = box.top; + x -= docElem.clientLeft || body.clientLeft || 0; + y -= docElem.clientTop || body.clientTop || 0; + return { + left: x, + top: y + }; +} +function getOffsetLeft(el) { + var pos = getClientPosition(el); + var doc = el.ownerDocument; + // Only IE use `parentWindow` + var w = doc.defaultView || doc.parentWindow; + pos.left += getScroll(w); + return pos.left; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js -var InboxOutlined_InboxOutlined = function InboxOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_InboxOutlined - })); -}; -if (false) {} -/* harmony default export */ var icons_InboxOutlined = (/*#__PURE__*/react.forwardRef(InboxOutlined_InboxOutlined)); -/***/ }), -/***/ 3089: -/*!************************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.js + 1 modules ***! - \************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; -"use strict"; -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_MinusCircleOutlined; } -}); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/MinusCircleOutlined.js -// This icon file is generated automatically. -var MinusCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" } }, { "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "minus-circle", "theme": "outlined" }; -/* harmony default export */ var asn_MinusCircleOutlined = (MinusCircleOutlined); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules -var AntdIcon = __webpack_require__(74643); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.js -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - -var MinusCircleOutlined_MinusCircleOutlined = function MinusCircleOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_MinusCircleOutlined - })); -}; -if (false) {} -/* harmony default export */ var icons_MinusCircleOutlined = (/*#__PURE__*/react.forwardRef(MinusCircleOutlined_MinusCircleOutlined)); - -/***/ }), - -/***/ 33160: -/*!*******************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/ReloadOutlined.js + 1 modules ***! - \*******************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_ReloadOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ReloadOutlined.js -// This icon file is generated automatically. -var ReloadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" } }] }, "name": "reload", "theme": "outlined" }; -/* harmony default export */ var asn_ReloadOutlined = (ReloadOutlined); - -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules -var AntdIcon = __webpack_require__(74643); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ReloadOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var ReloadOutlined_ReloadOutlined = function ReloadOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_ReloadOutlined - })); -}; -if (false) {} -/* harmony default export */ var icons_ReloadOutlined = (/*#__PURE__*/react.forwardRef(ReloadOutlined_ReloadOutlined)); - -/***/ }), - -/***/ 88484: -/*!*******************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + 1 modules ***! - \*******************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_UploadOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.js -// This icon file is generated automatically. -var UploadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" }; -/* harmony default export */ var asn_UploadOutlined = (UploadOutlined); - -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules -var AntdIcon = __webpack_require__(74643); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var UploadOutlined_UploadOutlined = function UploadOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_UploadOutlined - })); -}; -if (false) {} -/* harmony default export */ var icons_UploadOutlined = (/*#__PURE__*/react.forwardRef(UploadOutlined_UploadOutlined)); - -/***/ }), - -/***/ 49288: -/*!*****************************************************!*\ - !*** ./node_modules/antd/es/auto-complete/index.js ***! - \*****************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/Children/toArray */ 37419); -/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rc-util/es/omit */ 10366); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); -/* harmony import */ var _util_PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_util/PurePanel */ 8745); -/* harmony import */ var _util_reactNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_util/reactNode */ 96159); -/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ 53124); -/* harmony import */ var _select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../select */ 79035); -'use client'; - - - - - - - - - - -const { - Option -} = _select__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z; -function isSelectOptionOrSelectOptGroup(child) { - return child && child.type && (child.type.isSelectOption || child.type.isSelectOptGroup); -} -const AutoComplete = (props, ref) => { - const { - prefixCls: customizePrefixCls, - className, - popupClassName, - dropdownClassName, - children, - dataSource - } = props; - const childNodes = (0,rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(children); - // ============================= Input ============================= - let customizeInput; - if (childNodes.length === 1 && (0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(childNodes[0]) && !isSelectOptionOrSelectOptGroup(childNodes[0])) { - [customizeInput] = childNodes; - } - const getInputElement = customizeInput ? () => customizeInput : undefined; - // ============================ Options ============================ - let optionChildren; - // [Legacy] convert `children` or `dataSource` into option children - if (childNodes.length && isSelectOptionOrSelectOptGroup(childNodes[0])) { - optionChildren = children; - } else { - optionChildren = dataSource ? dataSource.map(item => { - if ((0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(item)) { - return item; - } - switch (typeof item) { - case 'string': - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, { - key: item, - value: item - }, item); - case 'object': - { - const { - value: optionValue - } = item; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, { - key: optionValue, - value: optionValue - }, item.text); - } - default: - false ? 0 : void 0; - return undefined; - } - }) : []; - } - if (false) {} - const { - getPrefixCls - } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_5__/* .ConfigContext */ .E_); - const prefixCls = getPrefixCls('select', customizePrefixCls); - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_select__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, Object.assign({ - ref: ref, - showArrow: false - }, (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(props, ['dataSource', 'dropdownClassName']), { - prefixCls: prefixCls, - popupClassName: popupClassName || dropdownClassName, - className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(`${prefixCls}-auto-complete`, className), - mode: _select__WEBPACK_IMPORTED_MODULE_3__/* ["default"].SECRET_COMBOBOX_MODE_DO_NOT_USE */ .Z.SECRET_COMBOBOX_MODE_DO_NOT_USE, - // Internal api - getInputElement - }), optionChildren); -}; -const RefAutoComplete = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(AutoComplete); -// We don't care debug panel -/* istanbul ignore next */ -const PurePanel = (0,_util_PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(RefAutoComplete); -RefAutoComplete.Option = Option; -RefAutoComplete._InternalPanelDoNotUseOrYouWillBeFired = PurePanel; -if (false) {} -/* harmony default export */ __webpack_exports__["Z"] = (RefAutoComplete); - -/***/ }), - -/***/ 35479: -/*!***********************************************************!*\ - !*** ./node_modules/antd/es/drawer/index.js + 16 modules ***! - \***********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ drawer; } -}); - -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js -var objectSpread2 = __webpack_require__(1413); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(97685); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/react-dom/index.js -var react_dom = __webpack_require__(73935); -// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/canUseDom.js -var Dom_canUseDom = __webpack_require__(98924); -// EXTERNAL MODULE: ./node_modules/rc-util/es/warning.js -var es_warning = __webpack_require__(80334); -// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js -var es_ref = __webpack_require__(42550); -;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/Context.js - -var OrderContext = /*#__PURE__*/react.createContext(null); -/* harmony default export */ var Context = (OrderContext); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(74902); -// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useLayoutEffect.js -var useLayoutEffect = __webpack_require__(8410); -;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/useDom.js - - - - - - -var EMPTY_LIST = []; - -/** - * Will add `div` to document. Nest call will keep order - * @param render Render DOM in document - */ -function useDom(render, debug) { - var _React$useState = react.useState(function () { - if (!(0,Dom_canUseDom/* default */.Z)()) { - return null; - } - var defaultEle = document.createElement('div'); - if (false) {} - return defaultEle; - }), - _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 1), - ele = _React$useState2[0]; - - // ========================== Order ========================== - var appendedRef = react.useRef(false); - var queueCreate = react.useContext(Context); - var _React$useState3 = react.useState(EMPTY_LIST), - _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), - queue = _React$useState4[0], - setQueue = _React$useState4[1]; - var mergedQueueCreate = queueCreate || (appendedRef.current ? undefined : function (appendFn) { - setQueue(function (origin) { - var newQueue = [appendFn].concat((0,toConsumableArray/* default */.Z)(origin)); - return newQueue; - }); - }); - - // =========================== DOM =========================== - function append() { - if (!ele.parentElement) { - document.body.appendChild(ele); - } - appendedRef.current = true; - } - function cleanup() { - var _ele$parentElement; - (_ele$parentElement = ele.parentElement) === null || _ele$parentElement === void 0 ? void 0 : _ele$parentElement.removeChild(ele); - appendedRef.current = false; - } - (0,useLayoutEffect/* default */.Z)(function () { - if (render) { - if (queueCreate) { - queueCreate(append); - } else { - append(); - } - } else { - cleanup(); - } - return cleanup; - }, [render]); - (0,useLayoutEffect/* default */.Z)(function () { - if (queue.length) { - queue.forEach(function (appendFn) { - return appendFn(); - }); - setQueue(EMPTY_LIST); - } - }, [queue]); - return [ele, mergedQueueCreate]; -} -// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/dynamicCSS.js + 1 modules -var dynamicCSS = __webpack_require__(48981); -// EXTERNAL MODULE: ./node_modules/rc-util/es/getScrollBarSize.js -var getScrollBarSize = __webpack_require__(74204); -;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/util.js -/** - * Test usage export. Do not use in your production - */ -function isBodyOverflowing() { - return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight) && window.innerWidth > document.body.offsetWidth; -} -;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/useScrollLocker.js - - - - - - -var UNIQUE_ID = "rc-util-locker-".concat(Date.now()); -var uuid = 0; -function useScrollLocker(lock) { - var mergedLock = !!lock; - var _React$useState = react.useState(function () { - uuid += 1; - return "".concat(UNIQUE_ID, "_").concat(uuid); - }), - _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 1), - id = _React$useState2[0]; - (0,useLayoutEffect/* default */.Z)(function () { - if (mergedLock) { - var scrollbarSize = (0,getScrollBarSize/* getTargetScrollBarSize */.o)(document.body).width; - var isOverflow = isBodyOverflowing(); - (0,dynamicCSS/* updateCSS */.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(isOverflow ? "width: calc(100% - ".concat(scrollbarSize, "px);") : '', "\n}"), id); - } else { - (0,dynamicCSS/* removeCSS */.jL)(id); - } - return function () { - (0,dynamicCSS/* removeCSS */.jL)(id); - }; - }, [mergedLock, id]); -} -;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/mock.js -var inline = false; -function inlineMock(nextInline) { - if (typeof nextInline === 'boolean') { - inline = nextInline; - } - return inline; -} -;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/Portal.js - - - - - - - - - - -var getPortalContainer = function getPortalContainer(getContainer) { - if (getContainer === false) { - return false; - } - if (!(0,Dom_canUseDom/* default */.Z)() || !getContainer) { - return null; - } - if (typeof getContainer === 'string') { - return document.querySelector(getContainer); - } - if (typeof getContainer === 'function') { - return getContainer(); - } - return getContainer; -}; -var Portal = /*#__PURE__*/react.forwardRef(function (props, ref) { - var open = props.open, - autoLock = props.autoLock, - getContainer = props.getContainer, - debug = props.debug, - _props$autoDestroy = props.autoDestroy, - autoDestroy = _props$autoDestroy === void 0 ? true : _props$autoDestroy, - children = props.children; - var _React$useState = react.useState(open), - _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), - shouldRender = _React$useState2[0], - setShouldRender = _React$useState2[1]; - var mergedRender = shouldRender || open; - - // ========================= Warning ========================= - if (false) {} - - // ====================== Should Render ====================== - react.useEffect(function () { - if (autoDestroy || open) { - setShouldRender(open); - } - }, [open, autoDestroy]); - - // ======================== Container ======================== - var _React$useState3 = react.useState(function () { - return getPortalContainer(getContainer); - }), - _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), - innerContainer = _React$useState4[0], - setInnerContainer = _React$useState4[1]; - react.useEffect(function () { - var customizeContainer = getPortalContainer(getContainer); - - // Tell component that we check this in effect which is safe to be `null` - setInnerContainer(customizeContainer !== null && customizeContainer !== void 0 ? customizeContainer : null); - }); - var _useDom = useDom(mergedRender && !innerContainer, debug), - _useDom2 = (0,slicedToArray/* default */.Z)(_useDom, 2), - defaultContainer = _useDom2[0], - queueCreate = _useDom2[1]; - var mergedContainer = innerContainer !== null && innerContainer !== void 0 ? innerContainer : defaultContainer; - - // ========================= Locker ========================== - useScrollLocker(autoLock && open && (0,Dom_canUseDom/* default */.Z)() && (mergedContainer === defaultContainer || mergedContainer === document.body)); - - // =========================== Ref =========================== - var childRef = null; - if (children && (0,es_ref/* supportRef */.Yr)(children) && ref) { - var _ref = children; - childRef = _ref.ref; - } - var mergedRef = (0,es_ref/* useComposeRef */.x1)(childRef, ref); - - // ========================= Render ========================== - // Do not render when nothing need render - // When innerContainer is `undefined`, it may not ready since user use ref in the same render - if (!mergedRender || !(0,Dom_canUseDom/* default */.Z)() || innerContainer === undefined) { - return null; - } - - // Render inline - var renderInline = mergedContainer === false || inlineMock(); - var reffedChildren = children; - if (ref) { - reffedChildren = /*#__PURE__*/react.cloneElement(children, { - ref: mergedRef - }); - } - return /*#__PURE__*/react.createElement(Context.Provider, { - value: queueCreate - }, renderInline ? reffedChildren : /*#__PURE__*/(0,react_dom.createPortal)(reffedChildren, mergedContainer)); -}); -if (false) {} -/* harmony default export */ var es_Portal = (Portal); -;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/index.js - - - -/* harmony default export */ var es = (es_Portal); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/rc-motion/es/index.js + 11 modules -var rc_motion_es = __webpack_require__(62874); -// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js -var KeyCode = __webpack_require__(15105); -// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js -var pickAttrs = __webpack_require__(64217); -;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/context.js - -var DrawerContext = /*#__PURE__*/react.createContext(null); -/* harmony default export */ var context = (DrawerContext); -;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/DrawerPanel.js - - - - -var DrawerPanel = function DrawerPanel(props) { - var prefixCls = props.prefixCls, +function Rate(props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, className = props.className, - style = props.style, - children = props.children, - containerRef = props.containerRef, - onMouseEnter = props.onMouseEnter, - onMouseOver = props.onMouseOver, - onMouseLeave = props.onMouseLeave, - onClick = props.onClick, - onKeyDown = props.onKeyDown, - onKeyUp = props.onKeyUp; - var eventHandlers = { - onMouseEnter: onMouseEnter, - onMouseOver: onMouseOver, - onMouseLeave: onMouseLeave, - onClick: onClick, - onKeyDown: onKeyDown, - onKeyUp: onKeyUp - }; - // =============================== Render =============================== - return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ - className: classnames_default()("".concat(prefixCls, "-content"), className), - style: (0,objectSpread2/* default */.Z)({}, style), - "aria-modal": "true", - role: "dialog", - ref: containerRef - }, eventHandlers), children)); -}; -if (false) {} -/* harmony default export */ var es_DrawerPanel = (DrawerPanel); -;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/util.js - - -function parseWidthHeight(value) { - if (typeof value === 'string' && String(Number(value)) === value) { - (0,es_warning/* default */.ZP)(false, 'Invalid value type of `width` or `height` which should be number type instead.'); - return Number(value); - } - return value; -} -function warnCheck(props) { - warning(!('wrapperClassName' in props), "'wrapperClassName' is removed. Please use 'rootClassName' instead."); - warning(canUseDom() || !props.open, "Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead."); -} -;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/DrawerPopup.js - - - - - - - - - - - - -var sentinelStyle = { - width: 0, - height: 0, - overflow: 'hidden', - outline: 'none', - position: 'absolute' -}; -function DrawerPopup(props, ref) { - var _ref, _pushConfig$distance, _pushConfig, _classNames; - var prefixCls = props.prefixCls, - open = props.open, - placement = props.placement, - inline = props.inline, - push = props.push, - forceRender = props.forceRender, + defaultValue = props.defaultValue, + propValue = props.value, + _props$count = props.count, + count = _props$count === void 0 ? 5 : _props$count, + _props$allowHalf = props.allowHalf, + allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, + _props$allowClear = props.allowClear, + allowClear = _props$allowClear === void 0 ? true : _props$allowClear, + _props$character = props.character, + character = _props$character === void 0 ? '★' : _props$character, + characterRender = props.characterRender, + disabled = props.disabled, + _props$direction = props.direction, + direction = _props$direction === void 0 ? 'ltr' : _props$direction, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, autoFocus = props.autoFocus, - keyboard = props.keyboard, - rootClassName = props.rootClassName, - rootStyle = props.rootStyle, - zIndex = props.zIndex, - className = props.className, - style = props.style, - motion = props.motion, - width = props.width, - height = props.height, - children = props.children, - contentWrapperStyle = props.contentWrapperStyle, - mask = props.mask, - maskClosable = props.maskClosable, - maskMotion = props.maskMotion, - maskClassName = props.maskClassName, - maskStyle = props.maskStyle, - afterOpenChange = props.afterOpenChange, - onClose = props.onClose, - onMouseEnter = props.onMouseEnter, - onMouseOver = props.onMouseOver, - onMouseLeave = props.onMouseLeave, - onClick = props.onClick, - onKeyDown = props.onKeyDown, - onKeyUp = props.onKeyUp; - // ================================ Refs ================================ - var panelRef = react.useRef(); - var sentinelStartRef = react.useRef(); - var sentinelEndRef = react.useRef(); - react.useImperativeHandle(ref, function () { - return panelRef.current; - }); - var onPanelKeyDown = function onPanelKeyDown(event) { - var keyCode = event.keyCode, - shiftKey = event.shiftKey; - switch (keyCode) { - // Tab active - case KeyCode/* default.TAB */.Z.TAB: - { - if (keyCode === KeyCode/* default.TAB */.Z.TAB) { - if (!shiftKey && document.activeElement === sentinelEndRef.current) { - var _sentinelStartRef$cur; - (_sentinelStartRef$cur = sentinelStartRef.current) === null || _sentinelStartRef$cur === void 0 ? void 0 : _sentinelStartRef$cur.focus({ - preventScroll: true - }); - } else if (shiftKey && document.activeElement === sentinelStartRef.current) { - var _sentinelEndRef$curre; - (_sentinelEndRef$curre = sentinelEndRef.current) === null || _sentinelEndRef$curre === void 0 ? void 0 : _sentinelEndRef$curre.focus({ - preventScroll: true - }); - } - } - break; - } - // Close - case KeyCode/* default.ESC */.Z.ESC: - { - if (onClose && keyboard) { - event.stopPropagation(); - onClose(event); - } - break; - } - } - }; - // ========================== Control =========================== - // Auto Focus - react.useEffect(function () { - if (open && autoFocus) { - var _panelRef$current; - (_panelRef$current = panelRef.current) === null || _panelRef$current === void 0 ? void 0 : _panelRef$current.focus({ - preventScroll: true - }); - } - }, [open]); - // ============================ Push ============================ - var _React$useState = react.useState(false), - _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), - pushed = _React$useState2[0], - setPushed = _React$useState2[1]; - var parentContext = react.useContext(context); - // Merge push distance - var pushConfig; - if (push === false) { - pushConfig = { - distance: 0 - }; - } else if (push === true) { - pushConfig = {}; - } else { - pushConfig = push || {}; - } - var pushDistance = (_ref = (_pushConfig$distance = (_pushConfig = pushConfig) === null || _pushConfig === void 0 ? void 0 : _pushConfig.distance) !== null && _pushConfig$distance !== void 0 ? _pushConfig$distance : parentContext === null || parentContext === void 0 ? void 0 : parentContext.pushDistance) !== null && _ref !== void 0 ? _ref : 180; - var mergedContext = react.useMemo(function () { - return { - pushDistance: pushDistance, - push: function push() { - setPushed(true); - }, - pull: function pull() { - setPushed(false); - } - }; - }, [pushDistance]); - // ========================= ScrollLock ========================= - // Tell parent to push - react.useEffect(function () { - if (open) { - var _parentContext$push; - parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$push = parentContext.push) === null || _parentContext$push === void 0 ? void 0 : _parentContext$push.call(parentContext); - } else { - var _parentContext$pull; - parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$pull = parentContext.pull) === null || _parentContext$pull === void 0 ? void 0 : _parentContext$pull.call(parentContext); - } - }, [open]); - // Clean up - react.useEffect(function () { - return function () { - var _parentContext$pull2; - parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$pull2 = parentContext.pull) === null || _parentContext$pull2 === void 0 ? void 0 : _parentContext$pull2.call(parentContext); - }; - }, []); - // ============================ Mask ============================ - var maskNode = mask && /*#__PURE__*/react.createElement(rc_motion_es/* default */.Z, (0,esm_extends/* default */.Z)({ - key: "mask" - }, maskMotion, { - visible: open - }), function (_ref2, maskRef) { - var motionMaskClassName = _ref2.className, - motionMaskStyle = _ref2.style; - return /*#__PURE__*/react.createElement("div", { - className: classnames_default()("".concat(prefixCls, "-mask"), motionMaskClassName, maskClassName), - style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, motionMaskStyle), maskStyle), - onClick: maskClosable && open ? onClose : undefined, - ref: maskRef - }); - }); - // =========================== Panel ============================ - var motionProps = typeof motion === 'function' ? motion(placement) : motion; - var wrapperStyle = {}; - if (pushed && pushDistance) { - switch (placement) { - case 'top': - wrapperStyle.transform = "translateY(".concat(pushDistance, "px)"); - break; - case 'bottom': - wrapperStyle.transform = "translateY(".concat(-pushDistance, "px)"); - break; - case 'left': - wrapperStyle.transform = "translateX(".concat(pushDistance, "px)"); - break; - default: - wrapperStyle.transform = "translateX(".concat(-pushDistance, "px)"); - break; - } - } - if (placement === 'left' || placement === 'right') { - wrapperStyle.width = parseWidthHeight(width); - } else { - wrapperStyle.height = parseWidthHeight(height); - } - var eventHandlers = { - onMouseEnter: onMouseEnter, - onMouseOver: onMouseOver, - onMouseLeave: onMouseLeave, - onClick: onClick, - onKeyDown: onKeyDown, - onKeyUp: onKeyUp - }; - var panelNode = /*#__PURE__*/react.createElement(rc_motion_es/* default */.Z, (0,esm_extends/* default */.Z)({ - key: "panel" - }, motionProps, { - visible: open, - forceRender: forceRender, - onVisibleChanged: function onVisibleChanged(nextVisible) { - afterOpenChange === null || afterOpenChange === void 0 ? void 0 : afterOpenChange(nextVisible); - }, - removeOnLeave: false, - leavedClassName: "".concat(prefixCls, "-content-wrapper-hidden") - }), function (_ref3, motionRef) { - var motionClassName = _ref3.className, - motionStyle = _ref3.style; - return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ - className: classnames_default()("".concat(prefixCls, "-content-wrapper"), motionClassName), - style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, wrapperStyle), motionStyle), contentWrapperStyle) - }, (0,pickAttrs/* default */.Z)(props, { - data: true - })), /*#__PURE__*/react.createElement(es_DrawerPanel, (0,esm_extends/* default */.Z)({ - containerRef: motionRef, - prefixCls: prefixCls, - className: className, - style: style - }, eventHandlers), children)); - }); - // =========================== Render =========================== - var containerStyle = (0,objectSpread2/* default */.Z)({}, rootStyle); - if (zIndex) { - containerStyle.zIndex = zIndex; - } - return /*#__PURE__*/react.createElement(context.Provider, { - value: mergedContext - }, /*#__PURE__*/react.createElement("div", { - className: classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(placement), rootClassName, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-open"), open), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-inline"), inline), _classNames)), - style: containerStyle, - tabIndex: -1, - ref: panelRef, - onKeyDown: onPanelKeyDown - }, maskNode, /*#__PURE__*/react.createElement("div", { - tabIndex: 0, - ref: sentinelStartRef, - style: sentinelStyle, - "aria-hidden": "true", - "data-sentinel": "start" - }), panelNode, /*#__PURE__*/react.createElement("div", { - tabIndex: 0, - ref: sentinelEndRef, - style: sentinelStyle, - "aria-hidden": "true", - "data-sentinel": "end" - }))); -} -var RefDrawerPopup = /*#__PURE__*/react.forwardRef(DrawerPopup); -if (false) {} -/* harmony default export */ var es_DrawerPopup = (RefDrawerPopup); -;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/Drawer.js - - - - - - - -var Drawer = function Drawer(props) { - var _props$open = props.open, - open = _props$open === void 0 ? false : _props$open, - _props$prefixCls = props.prefixCls, - prefixCls = _props$prefixCls === void 0 ? 'rc-drawer' : _props$prefixCls, - _props$placement = props.placement, - placement = _props$placement === void 0 ? 'right' : _props$placement, - _props$autoFocus = props.autoFocus, - autoFocus = _props$autoFocus === void 0 ? true : _props$autoFocus, - _props$keyboard = props.keyboard, - keyboard = _props$keyboard === void 0 ? true : _props$keyboard, - _props$width = props.width, - width = _props$width === void 0 ? 378 : _props$width, - _props$mask = props.mask, - mask = _props$mask === void 0 ? true : _props$mask, - _props$maskClosable = props.maskClosable, - maskClosable = _props$maskClosable === void 0 ? true : _props$maskClosable, - getContainer = props.getContainer, - forceRender = props.forceRender, - afterOpenChange = props.afterOpenChange, - destroyOnClose = props.destroyOnClose, - onMouseEnter = props.onMouseEnter, - onMouseOver = props.onMouseOver, - onMouseLeave = props.onMouseLeave, - onClick = props.onClick, - onKeyDown = props.onKeyDown, - onKeyUp = props.onKeyUp; - var _React$useState = react.useState(false), - _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), - animatedVisible = _React$useState2[0], - setAnimatedVisible = _React$useState2[1]; - // ============================= Warn ============================= - if (false) {} - // ============================= Open ============================= - var _React$useState3 = react.useState(false), - _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), - mounted = _React$useState4[0], - setMounted = _React$useState4[1]; - (0,useLayoutEffect/* default */.Z)(function () { - setMounted(true); - }, []); - var mergedOpen = mounted ? open : false; - // ============================ Focus ============================= - var panelRef = react.useRef(); - var lastActiveRef = react.useRef(); - (0,useLayoutEffect/* default */.Z)(function () { - if (mergedOpen) { - lastActiveRef.current = document.activeElement; - } - }, [mergedOpen]); - // ============================= Open ============================= - var internalAfterOpenChange = function internalAfterOpenChange(nextVisible) { - var _panelRef$current; - setAnimatedVisible(nextVisible); - afterOpenChange === null || afterOpenChange === void 0 ? void 0 : afterOpenChange(nextVisible); - if (!nextVisible && lastActiveRef.current && !((_panelRef$current = panelRef.current) === null || _panelRef$current === void 0 ? void 0 : _panelRef$current.contains(lastActiveRef.current))) { - var _lastActiveRef$curren; - (_lastActiveRef$curren = lastActiveRef.current) === null || _lastActiveRef$curren === void 0 ? void 0 : _lastActiveRef$curren.focus({ - preventScroll: true - }); - } - }; - // ============================ Render ============================ - if (!forceRender && !animatedVisible && !mergedOpen && destroyOnClose) { - return null; - } - var eventHandlers = { - onMouseEnter: onMouseEnter, - onMouseOver: onMouseOver, - onMouseLeave: onMouseLeave, - onClick: onClick, - onKeyDown: onKeyDown, - onKeyUp: onKeyUp - }; - var drawerPopupProps = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { - open: mergedOpen, - prefixCls: prefixCls, - placement: placement, - autoFocus: autoFocus, - keyboard: keyboard, - width: width, - mask: mask, - maskClosable: maskClosable, - inline: getContainer === false, - afterOpenChange: internalAfterOpenChange, - ref: panelRef - }, eventHandlers); - return /*#__PURE__*/react.createElement(es, { - open: mergedOpen || forceRender || animatedVisible, - autoDestroy: false, - getContainer: getContainer, - autoLock: mask && (mergedOpen || animatedVisible) - }, /*#__PURE__*/react.createElement(es_DrawerPopup, drawerPopupProps)); -}; -if (false) {} -/* harmony default export */ var es_Drawer = (Drawer); -;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/index.js -// export this package's api - -/* harmony default export */ var rc_drawer_es = (es_Drawer); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/motion.js -var motion = __webpack_require__(33603); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var config_provider_context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js -var form_context = __webpack_require__(65223); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/hooks/useClosable.js -var useClosable = __webpack_require__(69760); -;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/DrawerPanel.js - - - -const DrawerPanel_DrawerPanel = props => { - const { - prefixCls, - title, - footer, - extra, - closeIcon, - closable, - onClose, - headerStyle, - drawerStyle, - bodyStyle, - footerStyle, - children - } = props; - const customCloseIconRender = react.useCallback(icon => /*#__PURE__*/react.createElement("button", { - type: "button", - onClick: onClose, - "aria-label": "Close", - className: `${prefixCls}-close` - }, icon), [onClose]); - const [mergedClosable, mergedCloseIcon] = (0,useClosable/* default */.Z)(closable, closeIcon, customCloseIconRender, undefined, true); - const headerNode = react.useMemo(() => { - if (!title && !mergedClosable) { - return null; - } - return /*#__PURE__*/react.createElement("div", { - style: headerStyle, - className: classnames_default()(`${prefixCls}-header`, { - [`${prefixCls}-header-close-only`]: mergedClosable && !title && !extra - }) - }, /*#__PURE__*/react.createElement("div", { - className: `${prefixCls}-header-title` - }, mergedCloseIcon, title && /*#__PURE__*/react.createElement("div", { - className: `${prefixCls}-title` - }, title)), extra && /*#__PURE__*/react.createElement("div", { - className: `${prefixCls}-extra` - }, extra)); - }, [mergedClosable, mergedCloseIcon, extra, headerStyle, prefixCls, title]); - const footerNode = react.useMemo(() => { - if (!footer) { - return null; - } - const footerClassName = `${prefixCls}-footer`; - return /*#__PURE__*/react.createElement("div", { - className: footerClassName, - style: footerStyle - }, footer); - }, [footer, footerStyle, prefixCls]); - return /*#__PURE__*/react.createElement("div", { - className: `${prefixCls}-wrapper-body`, - style: drawerStyle - }, headerNode, /*#__PURE__*/react.createElement("div", { - className: `${prefixCls}-body`, - style: bodyStyle - }, children), footerNode); -}; -/* harmony default export */ var drawer_DrawerPanel = (DrawerPanel_DrawerPanel); -// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js -var Compact = __webpack_require__(4173); -// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js -var genComponentStyleHook = __webpack_require__(67968); -// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js -var statistic = __webpack_require__(45503); -;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/style/motion.js -const genMotionStyle = token => { - const { - componentCls, - motionDurationSlow - } = token; - const sharedPanelMotion = { - '&-enter, &-appear, &-leave': { - '&-start': { - transition: 'none' - }, - '&-active': { - transition: `all ${motionDurationSlow}` - } - } - }; - return { - [componentCls]: { - // ======================== Mask ======================== - [`${componentCls}-mask-motion`]: { - '&-enter, &-appear, &-leave': { - '&-active': { - transition: `all ${motionDurationSlow}` - } - }, - '&-enter, &-appear': { - opacity: 0, - '&-active': { - opacity: 1 - } - }, - '&-leave': { - opacity: 1, - '&-active': { - opacity: 0 - } - } - }, - // ======================= Panel ======================== - [`${componentCls}-panel-motion`]: { - // Left - '&-left': [sharedPanelMotion, { - '&-enter, &-appear': { - '&-start': { - transform: 'translateX(-100%) !important' - }, - '&-active': { - transform: 'translateX(0)' - } - }, - '&-leave': { - transform: 'translateX(0)', - '&-active': { - transform: 'translateX(-100%)' - } - } - }], - // Right - '&-right': [sharedPanelMotion, { - '&-enter, &-appear': { - '&-start': { - transform: 'translateX(100%) !important' - }, - '&-active': { - transform: 'translateX(0)' - } - }, - '&-leave': { - transform: 'translateX(0)', - '&-active': { - transform: 'translateX(100%)' - } - } - }], - // Top - '&-top': [sharedPanelMotion, { - '&-enter, &-appear': { - '&-start': { - transform: 'translateY(-100%) !important' - }, - '&-active': { - transform: 'translateY(0)' - } - }, - '&-leave': { - transform: 'translateY(0)', - '&-active': { - transform: 'translateY(-100%)' - } - } - }], - // Bottom - '&-bottom': [sharedPanelMotion, { - '&-enter, &-appear': { - '&-start': { - transform: 'translateY(100%) !important' - }, - '&-active': { - transform: 'translateY(0)' - } - }, - '&-leave': { - transform: 'translateY(0)', - '&-active': { - transform: 'translateY(100%)' - } - } - }] - } - } - }; -}; -/* harmony default export */ var style_motion = (genMotionStyle); -;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/style/index.js - - -// =============================== Base =============================== -const genDrawerStyle = token => { - const { - componentCls, - zIndexPopup, - colorBgMask, - colorBgElevated, - motionDurationSlow, - motionDurationMid, - padding, - paddingLG, - fontSizeLG, - lineHeightLG, - lineWidth, - lineType, - colorSplit, - marginSM, - colorIcon, - colorIconHover, - colorText, - fontWeightStrong, - footerPaddingBlock, - footerPaddingInline - } = token; - const wrapperCls = `${componentCls}-content-wrapper`; - return { - [componentCls]: { - position: 'fixed', - inset: 0, - zIndex: zIndexPopup, - pointerEvents: 'none', - '&-pure': { - position: 'relative', - background: colorBgElevated, - [`&${componentCls}-left`]: { - boxShadow: token.boxShadowDrawerLeft - }, - [`&${componentCls}-right`]: { - boxShadow: token.boxShadowDrawerRight - }, - [`&${componentCls}-top`]: { - boxShadow: token.boxShadowDrawerUp - }, - [`&${componentCls}-bottom`]: { - boxShadow: token.boxShadowDrawerDown - } - }, - '&-inline': { - position: 'absolute' - }, - // ====================== Mask ====================== - [`${componentCls}-mask`]: { - position: 'absolute', - inset: 0, - zIndex: zIndexPopup, - background: colorBgMask, - pointerEvents: 'auto' - }, - // ==================== Content ===================== - [wrapperCls]: { - position: 'absolute', - zIndex: zIndexPopup, - maxWidth: '100vw', - transition: `all ${motionDurationSlow}`, - '&-hidden': { - display: 'none' - } - }, - // Placement - [`&-left > ${wrapperCls}`]: { - top: 0, - bottom: 0, - left: { - _skip_check_: true, - value: 0 - }, - boxShadow: token.boxShadowDrawerLeft - }, - [`&-right > ${wrapperCls}`]: { - top: 0, - right: { - _skip_check_: true, - value: 0 - }, - bottom: 0, - boxShadow: token.boxShadowDrawerRight - }, - [`&-top > ${wrapperCls}`]: { - top: 0, - insetInline: 0, - boxShadow: token.boxShadowDrawerUp - }, - [`&-bottom > ${wrapperCls}`]: { - bottom: 0, - insetInline: 0, - boxShadow: token.boxShadowDrawerDown - }, - [`${componentCls}-content`]: { - width: '100%', - height: '100%', - overflow: 'auto', - background: colorBgElevated, - pointerEvents: 'auto' - }, - // ===================== Panel ====================== - [`${componentCls}-wrapper-body`]: { - display: 'flex', - flexDirection: 'column', - width: '100%', - height: '100%' - }, - // Header - [`${componentCls}-header`]: { - display: 'flex', - flex: 0, - alignItems: 'center', - padding: `${padding}px ${paddingLG}px`, - fontSize: fontSizeLG, - lineHeight: lineHeightLG, - borderBottom: `${lineWidth}px ${lineType} ${colorSplit}`, - '&-title': { - display: 'flex', - flex: 1, - alignItems: 'center', - minWidth: 0, - minHeight: 0 - } - }, - [`${componentCls}-extra`]: { - flex: 'none' - }, - [`${componentCls}-close`]: { - display: 'inline-block', - marginInlineEnd: marginSM, - color: colorIcon, - fontWeight: fontWeightStrong, - fontSize: fontSizeLG, - fontStyle: 'normal', - lineHeight: 1, - textAlign: 'center', - textTransform: 'none', - textDecoration: 'none', - background: 'transparent', - border: 0, - outline: 0, - cursor: 'pointer', - transition: `color ${motionDurationMid}`, - textRendering: 'auto', - '&:focus, &:hover': { - color: colorIconHover, - textDecoration: 'none' - } - }, - [`${componentCls}-title`]: { - flex: 1, - margin: 0, - color: colorText, - fontWeight: token.fontWeightStrong, - fontSize: fontSizeLG, - lineHeight: lineHeightLG - }, - // Body - [`${componentCls}-body`]: { - flex: 1, - minWidth: 0, - minHeight: 0, - padding: paddingLG, - overflow: 'auto' - }, - // Footer - [`${componentCls}-footer`]: { - flexShrink: 0, - padding: `${footerPaddingBlock}px ${footerPaddingInline}px`, - borderTop: `${lineWidth}px ${lineType} ${colorSplit}` - }, - // ====================== RTL ======================= - '&-rtl': { - direction: 'rtl' - } - } - }; -}; -// ============================== Export ============================== -/* harmony default export */ var drawer_style = ((0,genComponentStyleHook/* default */.Z)('Drawer', token => { - const drawerToken = (0,statistic/* merge */.TS)(token, {}); - return [genDrawerStyle(drawerToken), style_motion(drawerToken)]; -}, token => ({ - zIndexPopup: token.zIndexPopupBase, - footerPaddingBlock: token.paddingXS, - footerPaddingInline: token.padding -}))); -;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/index.js -'use client'; - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - -// CSSINJS - - -const SizeTypes = (/* unused pure expression or super */ null && (['default', 'large'])); -const defaultPushState = { - distance: 180 -}; -function drawer_Drawer(props) { - var _a; - const { - rootClassName, - width, - height, - size = 'default', - mask = true, - push = defaultPushState, - open, - afterOpenChange, - onClose, - prefixCls: customizePrefixCls, - getContainer: customizeGetContainer, - style, - className, - // Deprecated - visible, - afterVisibleChange - } = props, - rest = __rest(props, ["rootClassName", "width", "height", "size", "mask", "push", "open", "afterOpenChange", "onClose", "prefixCls", "getContainer", "style", "className", "visible", "afterVisibleChange"]); - const { - getPopupContainer, - getPrefixCls, - direction, - drawer - } = react.useContext(config_provider_context/* ConfigContext */.E_); - const prefixCls = getPrefixCls('drawer', customizePrefixCls); - // Style - const [wrapSSR, hashId] = drawer_style(prefixCls); - const getContainer = - // 有可能为 false,所以不能直接判断 - customizeGetContainer === undefined && getPopupContainer ? () => getPopupContainer(document.body) : customizeGetContainer; - const drawerClassName = classnames_default()({ - 'no-mask': !mask, - [`${prefixCls}-rtl`]: direction === 'rtl' - }, rootClassName, hashId); - // ========================== Warning =========================== - if (false) {} - // ============================ Size ============================ - const mergedWidth = react.useMemo(() => width !== null && width !== void 0 ? width : size === 'large' ? 736 : 378, [width, size]); - const mergedHeight = react.useMemo(() => height !== null && height !== void 0 ? height : size === 'large' ? 736 : 378, [height, size]); - // =========================== Motion =========================== - const maskMotion = { - motionName: (0,motion/* getTransitionName */.mL)(prefixCls, 'mask-motion'), - motionAppear: true, - motionEnter: true, - motionLeave: true, - motionDeadline: 500 - }; - const panelMotion = motionPlacement => ({ - motionName: (0,motion/* getTransitionName */.mL)(prefixCls, `panel-motion-${motionPlacement}`), - motionAppear: true, - motionEnter: true, - motionLeave: true, - motionDeadline: 500 - }); - // =========================== Render =========================== - return wrapSSR( /*#__PURE__*/react.createElement(Compact/* NoCompactStyle */.BR, null, /*#__PURE__*/react.createElement(form_context/* NoFormStyle */.Ux, { - status: true, - override: true - }, /*#__PURE__*/react.createElement(rc_drawer_es, Object.assign({ - prefixCls: prefixCls, - onClose: onClose, - maskMotion: maskMotion, - motion: panelMotion - }, rest, { - open: open !== null && open !== void 0 ? open : visible, - mask: mask, - push: push, - width: mergedWidth, - height: mergedHeight, - style: Object.assign(Object.assign({}, drawer === null || drawer === void 0 ? void 0 : drawer.style), style), - className: classnames_default()(drawer === null || drawer === void 0 ? void 0 : drawer.className, className), - rootClassName: drawerClassName, - getContainer: getContainer, - afterOpenChange: afterOpenChange !== null && afterOpenChange !== void 0 ? afterOpenChange : afterVisibleChange - }), /*#__PURE__*/react.createElement(drawer_DrawerPanel, Object.assign({ - prefixCls: prefixCls - }, rest, { - onClose: onClose - })))))); -} -if (false) {} -function PurePanel(_a) { - var { - prefixCls: customizePrefixCls, - style, - className, - placement = 'right' - } = _a, - restProps = __rest(_a, ["prefixCls", "style", "className", "placement"]); - const { - getPrefixCls - } = react.useContext(config_provider_context/* ConfigContext */.E_); - const prefixCls = getPrefixCls('drawer', customizePrefixCls); - // Style - const [wrapSSR, hashId] = drawer_style(prefixCls); - return wrapSSR( /*#__PURE__*/react.createElement("div", { - className: classnames_default()(prefixCls, `${prefixCls}-pure`, `${prefixCls}-${placement}`, hashId, className), - style: style - }, /*#__PURE__*/react.createElement(drawer_DrawerPanel, Object.assign({ - prefixCls: prefixCls - }, restProps)))); -} -drawer_Drawer._InternalPanelDoNotUseOrYouWillBeFired = PurePanel; -/* harmony default export */ var drawer = (drawer_Drawer); - -/***/ }), - -/***/ 59606: -/*!********************************************************!*\ - !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! - \********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ rate; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/StarFilled.js -// This icon file is generated automatically. -var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; -/* harmony default export */ var asn_StarFilled = (StarFilled); - -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules -var AntdIcon = __webpack_require__(74643); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/StarFilled.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var StarFilled_StarFilled = function StarFilled(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_StarFilled - })); -}; -if (false) {} -/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(4942); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(97685); -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(45987); -// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js -var useMergedState = __webpack_require__(21770); -// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js -var KeyCode = __webpack_require__(15105); -// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js -var pickAttrs = __webpack_require__(64217); -;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js - - - -function Star(props, ref) { - var disabled = props.disabled, - prefixCls = props.prefixCls, - character = props.character, - characterRender = props.characterRender, - index = props.index, - count = props.count, - value = props.value, - allowHalf = props.allowHalf, - focused = props.focused, - onHover = props.onHover, - onClick = props.onClick; - // =========================== Events =========================== - var onInternalHover = function onInternalHover(e) { - onHover(e, index); - }; - var onInternalClick = function onInternalClick(e) { - onClick(e, index); - }; - var onInternalKeyDown = function onInternalKeyDown(e) { - if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { - onClick(e, index); - } - }; - // =========================== Render =========================== - // >>>>> ClassName - var starValue = index + 1; - var classNameList = new Set([prefixCls]); - // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. - if (value === 0 && index === 0 && focused) { - classNameList.add("".concat(prefixCls, "-focused")); - } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { - classNameList.add("".concat(prefixCls, "-half")); - classNameList.add("".concat(prefixCls, "-active")); - if (focused) { - classNameList.add("".concat(prefixCls, "-focused")); - } - } else { - if (starValue <= value) { - classNameList.add("".concat(prefixCls, "-full")); - } else { - classNameList.add("".concat(prefixCls, "-zero")); - } - if (starValue === value && focused) { - classNameList.add("".concat(prefixCls, "-focused")); - } - } - // >>>>> Node - var characterNode = typeof character === 'function' ? character(props) : character; - var start = /*#__PURE__*/react.createElement("li", { - className: classnames_default()(Array.from(classNameList)), - ref: ref - }, /*#__PURE__*/react.createElement("div", { - onClick: disabled ? null : onInternalClick, - onKeyDown: disabled ? null : onInternalKeyDown, - onMouseMove: disabled ? null : onInternalHover, - role: "radio", - "aria-checked": value > index ? 'true' : 'false', - "aria-posinset": index + 1, - "aria-setsize": count, - tabIndex: disabled ? -1 : 0 - }, /*#__PURE__*/react.createElement("div", { - className: "".concat(prefixCls, "-first") - }, characterNode), /*#__PURE__*/react.createElement("div", { - className: "".concat(prefixCls, "-second") - }, characterNode))); - if (characterRender) { - start = characterRender(start, props); - } - return start; -} -/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); -;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js - -function useRefs() { - var nodeRef = react.useRef({}); - function getRef(index) { - return nodeRef.current[index]; - } - function setRef(index) { - return function (node) { - nodeRef.current[index] = node; - }; - } - return [getRef, setRef]; -} -;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js -function getScroll(w) { - var ret = w.pageXOffset; - var method = 'scrollLeft'; - if (typeof ret !== 'number') { - var d = w.document; - // ie6,7,8 standard mode - ret = d.documentElement[method]; - if (typeof ret !== 'number') { - // quirks mode - ret = d.body[method]; - } - } - return ret; -} -function getClientPosition(elem) { - var x; - var y; - var doc = elem.ownerDocument; - var body = doc.body; - var docElem = doc && doc.documentElement; - var box = elem.getBoundingClientRect(); - x = box.left; - y = box.top; - x -= docElem.clientLeft || body.clientLeft || 0; - y -= docElem.clientTop || body.clientTop || 0; - return { - left: x, - top: y - }; -} -function getOffsetLeft(el) { - var pos = getClientPosition(el); - var doc = el.ownerDocument; - // Only IE use `parentWindow` - var w = doc.defaultView || doc.parentWindow; - pos.left += getScroll(w); - return pos.left; -} -;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js - - - - -var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; - - - - - - - - -function Rate(props, ref) { - var _classNames; - var _props$prefixCls = props.prefixCls, - prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, - className = props.className, - defaultValue = props.defaultValue, - propValue = props.value, - _props$count = props.count, - count = _props$count === void 0 ? 5 : _props$count, - _props$allowHalf = props.allowHalf, - allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, - _props$allowClear = props.allowClear, - allowClear = _props$allowClear === void 0 ? true : _props$allowClear, - _props$character = props.character, - character = _props$character === void 0 ? '★' : _props$character, - characterRender = props.characterRender, - disabled = props.disabled, - _props$direction = props.direction, - direction = _props$direction === void 0 ? 'ltr' : _props$direction, - _props$tabIndex = props.tabIndex, - tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, - autoFocus = props.autoFocus, - onHoverChange = props.onHoverChange, - onChange = props.onChange, - onFocus = props.onFocus, - onBlur = props.onBlur, + onHoverChange = props.onHoverChange, + onChange = props.onChange, + onFocus = props.onFocus, + onBlur = props.onBlur, onKeyDown = props.onKeyDown, onMouseLeave = props.onMouseLeave, restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); - var _useRefs = useRefs(), - _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), - getStarRef = _useRefs2[0], - setStarRef = _useRefs2[1]; - var rateRef = react.useRef(null); - // ============================ Ref ============================= - var triggerFocus = function triggerFocus() { - if (!disabled) { - var _rateRef$current; - (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); - } - }; - react.useImperativeHandle(ref, function () { - return { - focus: triggerFocus, - blur: function blur() { - if (!disabled) { - var _rateRef$current2; - (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); - } - } - }; - }); - // =========================== Value ============================ - var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { - value: propValue - }), - _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), - value = _useMergedState2[0], - setValue = _useMergedState2[1]; - var _useMergedState3 = (0,useMergedState/* default */.Z)(null), - _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), - cleanedValue = _useMergedState4[0], - setCleanedValue = _useMergedState4[1]; - var getStarValue = function getStarValue(index, x) { - var reverse = direction === 'rtl'; - var starValue = index + 1; - if (allowHalf) { - var starEle = getStarRef(index); - var leftDis = getOffsetLeft(starEle); - var width = starEle.clientWidth; - if (reverse && x - leftDis > width / 2) { - starValue -= 0.5; - } else if (!reverse && x - leftDis < width / 2) { - starValue -= 0.5; - } - } - return starValue; - }; - // >>>>> Change - var changeValue = function changeValue(nextValue) { - setValue(nextValue); - onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); - }; - // =========================== Focus ============================ - var _React$useState = react.useState(false), - _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), - focused = _React$useState2[0], - setFocused = _React$useState2[1]; - var onInternalFocus = function onInternalFocus() { - setFocused(true); - onFocus === null || onFocus === void 0 ? void 0 : onFocus(); - }; - var onInternalBlur = function onInternalBlur() { - setFocused(false); - onBlur === null || onBlur === void 0 ? void 0 : onBlur(); - }; - // =========================== Hover ============================ - var _React$useState3 = react.useState(null), - _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), - hoverValue = _React$useState4[0], - setHoverValue = _React$useState4[1]; - var onHover = function onHover(event, index) { - var nextHoverValue = getStarValue(index, event.pageX); - if (nextHoverValue !== cleanedValue) { - setHoverValue(nextHoverValue); - setCleanedValue(null); - } - onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); - }; - var onMouseLeaveCallback = function onMouseLeaveCallback(event) { - if (!disabled) { - setHoverValue(null); - setCleanedValue(null); - onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); - } - if (event) { - onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); - } - }; - // =========================== Click ============================ - var onClick = function onClick(event, index) { - var newValue = getStarValue(index, event.pageX); - var isReset = false; - if (allowClear) { - isReset = newValue === value; - } - onMouseLeaveCallback(); - changeValue(isReset ? 0 : newValue); - setCleanedValue(isReset ? newValue : null); - }; - var onInternalKeyDown = function onInternalKeyDown(event) { - var keyCode = event.keyCode; - var reverse = direction === 'rtl'; - var nextValue = value; - if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { - if (allowHalf) { - nextValue += 0.5; - } else { - nextValue += 1; - } - changeValue(nextValue); - event.preventDefault(); - } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { - if (allowHalf) { - nextValue -= 0.5; - } else { - nextValue -= 1; - } - changeValue(nextValue); - event.preventDefault(); - } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { - if (allowHalf) { - nextValue -= 0.5; - } else { - nextValue -= 1; - } - changeValue(nextValue); - event.preventDefault(); - } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { - if (allowHalf) { - nextValue += 0.5; - } else { - nextValue += 1; - } - changeValue(nextValue); - event.preventDefault(); - } - onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); - }; - // =========================== Effect =========================== - react.useEffect(function () { - if (autoFocus && !disabled) { - triggerFocus(); - } - }, []); - // =========================== Render =========================== - // >>> Star - var starNodes = new Array(count).fill(0).map(function (item, index) { - return /*#__PURE__*/react.createElement(es_Star, { - ref: setStarRef(index), - index: index, - count: count, - disabled: disabled, - prefixCls: "".concat(prefixCls, "-star"), - allowHalf: allowHalf, - value: hoverValue === null ? value : hoverValue, - onClick: onClick, - onHover: onHover, - key: item || index, - character: character, - characterRender: characterRender, - focused: focused - }); - }); - var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); - // >>> Node - return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ - className: classString, - onMouseLeave: onMouseLeaveCallback, - tabIndex: disabled ? -1 : tabIndex, - onFocus: disabled ? null : onInternalFocus, - onBlur: disabled ? null : onInternalBlur, - onKeyDown: disabled ? null : onInternalKeyDown, - ref: rateRef, - role: "radiogroup" - }, (0,pickAttrs/* default */.Z)(restProps, { - aria: true, - data: true, - attr: true - })), starNodes); -} -/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); -;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js - -/* harmony default export */ var es = (es_Rate); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules -var tooltip = __webpack_require__(83062); -// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js -var style = __webpack_require__(14747); -// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js -var genComponentStyleHook = __webpack_require__(67968); -// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js -var statistic = __webpack_require__(45503); -;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js - - -const genRateStarStyle = token => { - const { - componentCls - } = token; - return { - [`${componentCls}-star`]: { - position: 'relative', - display: 'inline-block', - color: 'inherit', - cursor: 'pointer', - '&:not(:last-child)': { - marginInlineEnd: token.marginXS - }, - '> div': { - transition: `all ${token.motionDurationMid}, outline 0s`, - '&:hover': { - transform: token.starHoverScale - }, - '&:focus': { - outline: 0 - }, - '&:focus-visible': { - outline: `${token.lineWidth}px dashed ${token.starColor}`, - transform: token.starHoverScale - } - }, - '&-first, &-second': { - color: token.starBg, - transition: `all ${token.motionDurationMid}`, - userSelect: 'none', - [token.iconCls]: { - verticalAlign: 'middle' - } - }, - '&-first': { - position: 'absolute', - top: 0, - insetInlineStart: 0, - width: '50%', - height: '100%', - overflow: 'hidden', - opacity: 0 - }, - [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { - opacity: 1 - }, - [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { - color: 'inherit' - } - } - }; -}; -const genRateRtlStyle = token => ({ - [`&-rtl${token.componentCls}`]: { - direction: 'rtl' - } -}); -const genRateStyle = token => { - const { - componentCls - } = token; - return { - [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { - display: 'inline-block', - margin: 0, - padding: 0, - color: token.starColor, - fontSize: token.starSize, - lineHeight: 'unset', - listStyle: 'none', - outline: 'none', - // disable styles - [`&-disabled${componentCls} ${componentCls}-star`]: { - cursor: 'default', - '> div:hover': { - transform: 'scale(1)' - } - } - }), genRateStarStyle(token)), { - // text styles - [`+ ${componentCls}-text`]: { - display: 'inline-block', - marginInlineStart: token.marginXS, - fontSize: token.fontSize - } - }), genRateRtlStyle(token)) - }; -}; -// ============================== Export ============================== -/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { - const rateToken = (0,statistic/* merge */.TS)(token, {}); - return [genRateStyle(rateToken)]; -}, token => ({ - starColor: token.yellow6, - starSize: token.controlHeightLG * 0.5, - starHoverScale: 'scale(1.1)', - starBg: token.colorFillContent -}))); -;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js -'use client'; - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - -const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { - const { - prefixCls, - className, - rootClassName, - style, - tooltips, - character = /*#__PURE__*/react.createElement(icons_StarFilled, null) - } = props, - rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); - const characterRender = (node, _ref) => { - let { - index - } = _ref; - if (!tooltips) { - return node; - } - return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { - title: tooltips[index] - }, node); - }; - const { - getPrefixCls, - direction, - rate - } = react.useContext(context/* ConfigContext */.E_); - const ratePrefixCls = getPrefixCls('rate', prefixCls); - // Style - const [wrapSSR, hashId] = rate_style(ratePrefixCls); - const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); - return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ - ref: ref, - character: character, - characterRender: characterRender - }, rest, { - className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), - style: mergedStyle, - prefixCls: ratePrefixCls, - direction: direction - }))); -}); -if (false) {} -/* harmony default export */ var rate = (rate_Rate); - -/***/ }), - -/***/ 51904: -/*!*******************************************************!*\ - !*** ./node_modules/antd/es/tag/index.js + 3 modules ***! - \*******************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ tag; } -}); - -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js + 1 modules -var CloseOutlined = __webpack_require__(97937); -// EXTERNAL MODULE: ./node_modules/classnames/index.js -var classnames = __webpack_require__(94184); -var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/colors.js -var colors = __webpack_require__(98787); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/hooks/useClosable.js -var useClosable = __webpack_require__(69760); -// EXTERNAL MODULE: ./node_modules/antd/es/_util/wave/index.js + 4 modules -var wave = __webpack_require__(45353); -// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js -var context = __webpack_require__(53124); -;// CONCATENATED MODULE: ./node_modules/antd/es/_util/capitalize.js -function capitalize(str) { - if (typeof str !== 'string') { - return str; - } - const ret = str.charAt(0).toUpperCase() + str.slice(1); - return ret; -} -// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js -var style = __webpack_require__(14747); -// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genPresetColor.js -var genPresetColor = __webpack_require__(98719); -// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js -var genComponentStyleHook = __webpack_require__(67968); -// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js -var statistic = __webpack_require__(45503); -;// CONCATENATED MODULE: ./node_modules/antd/es/tag/style/index.js - - - -const genTagStatusStyle = (token, status, cssVariableType) => { - const capitalizedCssVariableType = capitalize(cssVariableType); - return { - [`${token.componentCls}-${status}`]: { - color: token[`color${cssVariableType}`], - background: token[`color${capitalizedCssVariableType}Bg`], - borderColor: token[`color${capitalizedCssVariableType}Border`], - [`&${token.componentCls}-borderless`]: { - borderColor: 'transparent' - } - } - }; -}; -const genPresetStyle = token => (0,genPresetColor/* default */.Z)(token, (colorKey, _ref) => { - let { - textColor, - lightBorderColor, - lightColor, - darkColor - } = _ref; - return { - [`${token.componentCls}-${colorKey}`]: { - color: textColor, - background: lightColor, - borderColor: lightBorderColor, - // Inverse color - '&-inverse': { - color: token.colorTextLightSolid, - background: darkColor, - borderColor: darkColor - }, - [`&${token.componentCls}-borderless`]: { - borderColor: 'transparent' - } - } - }; -}); -const genBaseStyle = token => { - const { - paddingXXS, - lineWidth, - tagPaddingHorizontal, - componentCls - } = token; - const paddingInline = tagPaddingHorizontal - lineWidth; - const iconMarginInline = paddingXXS - lineWidth; - return { - // Result - [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { - display: 'inline-block', - height: 'auto', - marginInlineEnd: token.marginXS, - paddingInline, - fontSize: token.tagFontSize, - lineHeight: token.tagLineHeight, - whiteSpace: 'nowrap', - background: token.defaultBg, - border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`, - borderRadius: token.borderRadiusSM, - opacity: 1, - transition: `all ${token.motionDurationMid}`, - textAlign: 'start', - position: 'relative', - // RTL - [`&${componentCls}-rtl`]: { - direction: 'rtl' - }, - '&, a, a:hover': { - color: token.defaultColor - }, - [`${componentCls}-close-icon`]: { - marginInlineStart: iconMarginInline, - color: token.colorTextDescription, - fontSize: token.tagIconSize, - cursor: 'pointer', - transition: `all ${token.motionDurationMid}`, - '&:hover': { - color: token.colorTextHeading - } - }, - [`&${componentCls}-has-color`]: { - borderColor: 'transparent', - [`&, a, a:hover, ${token.iconCls}-close, ${token.iconCls}-close:hover`]: { - color: token.colorTextLightSolid - } - }, - [`&-checkable`]: { - backgroundColor: 'transparent', - borderColor: 'transparent', - cursor: 'pointer', - [`&:not(${componentCls}-checkable-checked):hover`]: { - color: token.colorPrimary, - backgroundColor: token.colorFillSecondary - }, - '&:active, &-checked': { - color: token.colorTextLightSolid - }, - '&-checked': { - backgroundColor: token.colorPrimary, - '&:hover': { - backgroundColor: token.colorPrimaryHover - } - }, - '&:active': { - backgroundColor: token.colorPrimaryActive - } - }, - [`&-hidden`]: { - display: 'none' - }, - // To ensure that a space will be placed between character and `Icon`. - [`> ${token.iconCls} + span, > span + ${token.iconCls}`]: { - marginInlineStart: paddingInline - } - }), - [`${componentCls}-borderless`]: { - borderColor: 'transparent', - background: token.tagBorderlessBg - } - }; -}; -// ============================== Export ============================== -/* harmony default export */ var tag_style = ((0,genComponentStyleHook/* default */.Z)('Tag', token => { - const { - lineWidth, - fontSizeIcon - } = token; - const tagFontSize = token.fontSizeSM; - const tagLineHeight = `${token.lineHeightSM * tagFontSize}px`; - const tagToken = (0,statistic/* merge */.TS)(token, { - tagFontSize, - tagLineHeight, - tagIconSize: fontSizeIcon - 2 * lineWidth, - tagPaddingHorizontal: 8, - tagBorderlessBg: token.colorFillTertiary - }); - return [genBaseStyle(tagToken), genPresetStyle(tagToken), genTagStatusStyle(tagToken, 'success', 'Success'), genTagStatusStyle(tagToken, 'processing', 'Info'), genTagStatusStyle(tagToken, 'error', 'Error'), genTagStatusStyle(tagToken, 'warning', 'Warning')]; -}, token => ({ - defaultBg: token.colorFillQuaternary, - defaultColor: token.colorText -}))); -;// CONCATENATED MODULE: ./node_modules/antd/es/tag/CheckableTag.js -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - -const CheckableTag = props => { - const { - prefixCls: customizePrefixCls, - className, - checked, - onChange, - onClick - } = props, - restProps = __rest(props, ["prefixCls", "className", "checked", "onChange", "onClick"]); - const { - getPrefixCls - } = react.useContext(context/* ConfigContext */.E_); - const handleClick = e => { - onChange === null || onChange === void 0 ? void 0 : onChange(!checked); - onClick === null || onClick === void 0 ? void 0 : onClick(e); - }; - const prefixCls = getPrefixCls('tag', customizePrefixCls); - // Style - const [wrapSSR, hashId] = tag_style(prefixCls); - const cls = classnames_default()(prefixCls, `${prefixCls}-checkable`, { - [`${prefixCls}-checkable-checked`]: checked - }, className, hashId); - return wrapSSR( /*#__PURE__*/react.createElement("span", Object.assign({}, restProps, { - className: cls, - onClick: handleClick - }))); -}; -/* harmony default export */ var tag_CheckableTag = (CheckableTag); -;// CONCATENATED MODULE: ./node_modules/antd/es/tag/index.js -'use client'; - -var tag_rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -const InternalTag = (tagProps, ref) => { - const { - prefixCls: customizePrefixCls, - className, - rootClassName, - style, - children, - icon, - color, - onClose, - closeIcon, - closable, - bordered = true - } = tagProps, - props = tag_rest(tagProps, ["prefixCls", "className", "rootClassName", "style", "children", "icon", "color", "onClose", "closeIcon", "closable", "bordered"]); - const { - getPrefixCls, - direction, - tag - } = react.useContext(context/* ConfigContext */.E_); - const [visible, setVisible] = react.useState(true); - // Warning for deprecated usage - if (false) {} - react.useEffect(() => { - if ('visible' in props) { - setVisible(props.visible); - } - }, [props.visible]); - const isInternalColor = (0,colors/* isPresetColor */.o2)(color) || (0,colors/* isPresetStatusColor */.yT)(color); - const tagStyle = Object.assign(Object.assign({ - backgroundColor: color && !isInternalColor ? color : undefined - }, tag === null || tag === void 0 ? void 0 : tag.style), style); - const prefixCls = getPrefixCls('tag', customizePrefixCls); - // Style - const [wrapSSR, hashId] = tag_style(prefixCls); - const tagClassName = classnames_default()(prefixCls, tag === null || tag === void 0 ? void 0 : tag.className, { - [`${prefixCls}-${color}`]: isInternalColor, - [`${prefixCls}-has-color`]: color && !isInternalColor, - [`${prefixCls}-hidden`]: !visible, - [`${prefixCls}-rtl`]: direction === 'rtl', - [`${prefixCls}-borderless`]: !bordered - }, className, rootClassName, hashId); - const handleCloseClick = e => { - e.stopPropagation(); - onClose === null || onClose === void 0 ? void 0 : onClose(e); - if (e.defaultPrevented) { - return; - } - setVisible(false); - }; - const [, mergedCloseIcon] = (0,useClosable/* default */.Z)(closable, closeIcon, iconNode => iconNode === null ? /*#__PURE__*/react.createElement(CloseOutlined/* default */.Z, { - className: `${prefixCls}-close-icon`, - onClick: handleCloseClick - }) : /*#__PURE__*/react.createElement("span", { - className: `${prefixCls}-close-icon`, - onClick: handleCloseClick - }, iconNode), null, false); - const isNeedWave = typeof props.onClick === 'function' || children && children.type === 'a'; - const iconNode = icon || null; - const kids = iconNode ? /*#__PURE__*/react.createElement(react.Fragment, null, iconNode, children && /*#__PURE__*/react.createElement("span", null, children)) : children; - const tagNode = /*#__PURE__*/react.createElement("span", Object.assign({}, props, { - ref: ref, - className: tagClassName, - style: tagStyle - }), kids, mergedCloseIcon); - return wrapSSR(isNeedWave ? /*#__PURE__*/react.createElement(wave/* default */.Z, null, tagNode) : tagNode); -}; -const Tag = /*#__PURE__*/react.forwardRef(InternalTag); -if (false) {} -Tag.CheckableTag = tag_CheckableTag; -/* harmony default export */ var tag = (Tag); - -/***/ }), - -/***/ 20640: -/*!*************************************************!*\ - !*** ./node_modules/copy-to-clipboard/index.js ***! - \*************************************************/ -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -"use strict"; - - -var deselectCurrent = __webpack_require__(/*! toggle-selection */ 11742); - -var clipboardToIE11Formatting = { - "text/plain": "Text", - "text/html": "Url", - "default": "Text" -} - -var defaultMessage = "Copy to clipboard: #{key}, Enter"; - -function format(message) { - var copyKey = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C"; - return message.replace(/#{\s*key\s*}/g, copyKey); -} - -function copy(text, options) { - var debug, - message, - reselectPrevious, - range, - selection, - mark, - success = false; - if (!options) { - options = {}; - } - debug = options.debug || false; - try { - reselectPrevious = deselectCurrent(); - - range = document.createRange(); - selection = document.getSelection(); - - mark = document.createElement("span"); - mark.textContent = text; - // avoid screen readers from reading out loud the text - mark.ariaHidden = "true" - // reset user styles for span element - mark.style.all = "unset"; - // prevents scrolling to the end of the page - mark.style.position = "fixed"; - mark.style.top = 0; - mark.style.clip = "rect(0, 0, 0, 0)"; - // used to preserve spaces and line breaks - mark.style.whiteSpace = "pre"; - // do not inherit user-select (it may be `none`) - mark.style.webkitUserSelect = "text"; - mark.style.MozUserSelect = "text"; - mark.style.msUserSelect = "text"; - mark.style.userSelect = "text"; - mark.addEventListener("copy", function(e) { - e.stopPropagation(); - if (options.format) { - e.preventDefault(); - if (typeof e.clipboardData === "undefined") { // IE 11 - debug && console.warn("unable to use e.clipboardData"); - debug && console.warn("trying IE specific stuff"); - window.clipboardData.clearData(); - var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting["default"] - window.clipboardData.setData(format, text); - } else { // all other browsers - e.clipboardData.clearData(); - e.clipboardData.setData(options.format, text); - } - } - if (options.onCopy) { - e.preventDefault(); - options.onCopy(e.clipboardData); - } - }); - - document.body.appendChild(mark); - - range.selectNodeContents(mark); - selection.addRange(range); - - var successful = document.execCommand("copy"); - if (!successful) { - throw new Error("copy command was unsuccessful"); - } - success = true; - } catch (err) { - debug && console.error("unable to copy using execCommand: ", err); - debug && console.warn("trying IE specific stuff"); - try { - window.clipboardData.setData(options.format || "text", text); - options.onCopy && options.onCopy(window.clipboardData); - success = true; - } catch (err) { - debug && console.error("unable to copy using clipboardData: ", err); - debug && console.error("falling back to prompt"); - message = format("message" in options ? options.message : defaultMessage); - window.prompt(message, text); - } - } finally { - if (selection) { - if (typeof selection.removeRange == "function") { - selection.removeRange(range); - } else { - selection.removeAllRanges(); - } - } - - if (mark) { - document.body.removeChild(mark); - } - reselectPrevious(); - } - - return success; -} - -module.exports = copy; - - -/***/ }), - -/***/ 89777: -/*!*************************************************!*\ - !*** ./node_modules/echarts-wordcloud/index.js ***! - \*************************************************/ -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -/* unused reexport */ __webpack_require__(/*! ./src/wordCloud */ 88157); - -/***/ }), - -/***/ 50024: -/*!***************************************************************!*\ - !*** ./node_modules/echarts-wordcloud/src/WordCloudSeries.js ***! - \***************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { - -var completeDimensions = __webpack_require__(/*! echarts/lib/data/helper/completeDimensions */ 34380); -var echarts = __webpack_require__(/*! echarts/lib/echarts */ 70492); - -echarts.extendSeriesModel({ - - type: 'series.wordCloud', - - visualColorAccessPath: 'textStyle.normal.color', - - optionUpdated: function () { - var option = this.option; - option.gridSize = Math.max(Math.floor(option.gridSize), 4); - }, - - getInitialData: function (option, ecModel) { - var dimensions = completeDimensions(['value'], option.data); - var list = new echarts.List(dimensions, this); - list.initData(option.data); - return list; - }, - - // Most of options are from https://github.com/timdream/wordcloud2.js/blob/gh-pages/API.md - defaultOption: { - - maskImage: null, - - // Shape can be 'circle', 'cardioid', 'diamond', 'triangle-forward', 'triangle', 'pentagon', 'star' - shape: 'circle', - - left: 'center', - - top: 'center', - - width: '70%', - - height: '80%', - - sizeRange: [12, 60], - - rotationRange: [-90, 90], - - rotationStep: 45, - - gridSize: 8, - - drawOutOfBound: false, - - textStyle: { - normal: { - fontWeight: 'normal' - } - } - } -}); - - -/***/ }), - -/***/ 40885: -/*!*************************************************************!*\ - !*** ./node_modules/echarts-wordcloud/src/WordCloudView.js ***! - \*************************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { - -var echarts = __webpack_require__(/*! echarts/lib/echarts */ 70492); - -function getShallow(model, path) { - return model && model.getShallow(path); -} - -echarts.extendChartView({ - - type: 'wordCloud', - - render: function (seriesModel, ecModel, api) { - var group = this.group; - group.removeAll(); - - var data = seriesModel.getData(); - - var gridSize = seriesModel.get('gridSize'); - - seriesModel.layoutInstance.ondraw = function (text, size, dataIdx, drawn) { - var itemModel = data.getItemModel(dataIdx); - var textStyleModel = itemModel.getModel('textStyle.normal'); - var emphasisTextStyleModel = itemModel.getModel('textStyle.emphasis'); - - var textEl = new echarts.graphic.Text({ - style: echarts.graphic.setTextStyle({}, textStyleModel, { - x: drawn.info.fillTextOffsetX, - y: drawn.info.fillTextOffsetY + size * 0.5, - text: text, - textBaseline: 'middle', - textFill: data.getItemVisual(dataIdx, 'color'), - fontSize: size - }), - scale: [1 / drawn.info.mu, 1 / drawn.info.mu], - position: [ - (drawn.gx + drawn.info.gw / 2) * gridSize, - (drawn.gy + drawn.info.gh / 2) * gridSize - ], - rotation: drawn.rot - }); - - group.add(textEl); - - data.setItemGraphicEl(dataIdx, textEl); - - echarts.graphic.setHoverStyle( - textEl, - echarts.graphic.setTextStyle({}, emphasisTextStyleModel, null, {forMerge: true}, true) - ); - }; - - this._model = seriesModel; - }, - - remove: function () { - this.group.removeAll(); - - this._model.layoutInstance.dispose(); - }, - - dispose: function () { - this._model.layoutInstance.dispose(); - } -}); - - -/***/ }), - -/***/ 62255: -/*!******************************************************!*\ - !*** ./node_modules/echarts-wordcloud/src/layout.js ***! - \******************************************************/ -/***/ (function(module, exports) { - -"use strict"; -var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! - * wordcloud2.js - * http://timdream.org/wordcloud2.js/ - * - * Copyright 2011 - 2013 Tim Chien - * Released under the MIT license - */ - - - -// setImmediate -if (!window.setImmediate) { - window.setImmediate = (function setupSetImmediate() { - return window.msSetImmediate || - window.webkitSetImmediate || - window.mozSetImmediate || - window.oSetImmediate || - (function setupSetZeroTimeout() { - if (!window.postMessage || !window.addEventListener) { - return null; - } - - var callbacks = [undefined]; - var message = 'zero-timeout-message'; - - // Like setTimeout, but only takes a function argument. There's - // no time argument (always zero) and no arguments (you have to - // use a closure). - var setZeroTimeout = function setZeroTimeout(callback) { - var id = callbacks.length; - callbacks.push(callback); - window.postMessage(message + id.toString(36), '*'); - - return id; - }; - - window.addEventListener('message', function setZeroTimeoutMessage(evt) { - // Skipping checking event source, retarded IE confused this window - // object with another in the presence of iframe - if (typeof evt.data !== 'string' || - evt.data.substr(0, message.length) !== message/* || - evt.source !== window */) { - return; - } - - evt.stopImmediatePropagation(); - - var id = parseInt(evt.data.substr(message.length), 36); - if (!callbacks[id]) { - return; - } - - callbacks[id](); - callbacks[id] = undefined; - }, true); - - /* specify clearImmediate() here since we need the scope */ - window.clearImmediate = function clearZeroTimeout(id) { - if (!callbacks[id]) { - return; - } - - callbacks[id] = undefined; - }; - - return setZeroTimeout; - })() || - // fallback - function setImmediateFallback(fn) { - window.setTimeout(fn, 0); - }; - })(); -} - -if (!window.clearImmediate) { - window.clearImmediate = (function setupClearImmediate() { - return window.msClearImmediate || - window.webkitClearImmediate || - window.mozClearImmediate || - window.oClearImmediate || - // "clearZeroTimeout" is implement on the previous block || - // fallback - function clearImmediateFallback(timer) { - window.clearTimeout(timer); - }; - })(); -} - -(function(global) { - - // Check if WordCloud can run on this browser - var isSupported = (function isSupported() { - var canvas = document.createElement('canvas'); - if (!canvas || !canvas.getContext) { - return false; - } - - var ctx = canvas.getContext('2d'); - if (!ctx.getImageData) { - return false; - } - if (!ctx.fillText) { - return false; - } - - if (!Array.prototype.some) { - return false; - } - if (!Array.prototype.push) { - return false; - } - - return true; - }()); - - // Find out if the browser impose minium font size by - // drawing small texts on a canvas and measure it's width. - var minFontSize = (function getMinFontSize() { - if (!isSupported) { - return; - } - - var ctx = document.createElement('canvas').getContext('2d'); - - // start from 20 - var size = 20; - - // two sizes to measure - var hanWidth, mWidth; - - while (size) { - ctx.font = size.toString(10) + 'px sans-serif'; - if ((ctx.measureText('\uFF37').width === hanWidth) && - (ctx.measureText('m').width) === mWidth) { - return (size + 1); - } - - hanWidth = ctx.measureText('\uFF37').width; - mWidth = ctx.measureText('m').width; - - size--; + var _useRefs = useRefs(), + _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), + getStarRef = _useRefs2[0], + setStarRef = _useRefs2[1]; + var rateRef = react.useRef(null); + // ============================ Ref ============================= + var triggerFocus = function triggerFocus() { + if (!disabled) { + var _rateRef$current; + (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); } - - return 0; - })(); - - // Based on http://jsfromhell.com/array/shuffle - var shuffleArray = function shuffleArray(arr) { - for (var j, x, i = arr.length; i; - j = Math.floor(Math.random() * i), - x = arr[--i], arr[i] = arr[j], - arr[j] = x) {} - return arr; }; - - var WordCloud = function WordCloud(elements, options) { - if (!isSupported) { - return; - } - - if (!Array.isArray(elements)) { - elements = [elements]; - } - - elements.forEach(function(el, i) { - if (typeof el === 'string') { - elements[i] = document.getElementById(el); - if (!elements[i]) { - throw 'The element id specified is not found.'; + react.useImperativeHandle(ref, function () { + return { + focus: triggerFocus, + blur: function blur() { + if (!disabled) { + var _rateRef$current2; + (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); } - } else if (!el.tagName && !el.appendChild) { - throw 'You must pass valid HTML elements, or ID of the element.'; } - }); - - /* Default values to be overwritten by options object */ - var settings = { - list: [], - fontFamily: '"Trebuchet MS", "Heiti TC", "微軟正黑體", ' + - '"Arial Unicode MS", "Droid Fallback Sans", sans-serif', - fontWeight: 'normal', - color: 'random-dark', - minSize: 0, // 0 to disable - weightFactor: 1, - clearCanvas: true, - backgroundColor: '#fff', // opaque white = rgba(255, 255, 255, 1) - - gridSize: 8, - drawOutOfBound: false, - origin: null, - - drawMask: false, - maskColor: 'rgba(255,0,0,0.3)', - maskGapWidth: 0.3, - - wait: 0, - abortThreshold: 0, // disabled - abort: function noop() {}, - - minRotation: - Math.PI / 2, - maxRotation: Math.PI / 2, - rotationStep: 0.1, - - shuffle: true, - rotateRatio: 0.1, - - shape: 'circle', - ellipticity: 0.65, - - classes: null, - - hover: null, - click: null }; - - if (options) { - for (var key in options) { - if (key in settings) { - settings[key] = options[key]; - } - } - } - - /* Convert weightFactor into a function */ - if (typeof settings.weightFactor !== 'function') { - var factor = settings.weightFactor; - settings.weightFactor = function weightFactor(pt) { - return pt * factor; //in px - }; - } - - /* Convert shape into a function */ - if (typeof settings.shape !== 'function') { - switch (settings.shape) { - case 'circle': - /* falls through */ - default: - // 'circle' is the default and a shortcut in the code loop. - settings.shape = 'circle'; - break; - - case 'cardioid': - settings.shape = function shapeCardioid(theta) { - return 1 - Math.sin(theta); - }; - break; - - /* - To work out an X-gon, one has to calculate "m", - where 1/(cos(2*PI/X)+m*sin(2*PI/X)) = 1/(cos(0)+m*sin(0)) - http://www.wolframalpha.com/input/?i=1%2F%28cos%282*PI%2FX%29%2Bm*sin%28 - 2*PI%2FX%29%29+%3D+1%2F%28cos%280%29%2Bm*sin%280%29%29 - Copy the solution into polar equation r = 1/(cos(t') + m*sin(t')) - where t' equals to mod(t, 2PI/X); - */ - - case 'diamond': - case 'square': - // http://www.wolframalpha.com/input/?i=plot+r+%3D+1%2F%28cos%28mod+ - // %28t%2C+PI%2F2%29%29%2Bsin%28mod+%28t%2C+PI%2F2%29%29%29%2C+t+%3D - // +0+..+2*PI - settings.shape = function shapeSquare(theta) { - var thetaPrime = theta % (2 * Math.PI / 4); - return 1 / (Math.cos(thetaPrime) + Math.sin(thetaPrime)); - }; - break; - - case 'triangle-forward': - // http://www.wolframalpha.com/input/?i=plot+r+%3D+1%2F%28cos%28mod+ - // %28t%2C+2*PI%2F3%29%29%2Bsqrt%283%29sin%28mod+%28t%2C+2*PI%2F3%29 - // %29%29%2C+t+%3D+0+..+2*PI - settings.shape = function shapeTriangle(theta) { - var thetaPrime = theta % (2 * Math.PI / 3); - return 1 / (Math.cos(thetaPrime) + - Math.sqrt(3) * Math.sin(thetaPrime)); - }; - break; - - case 'triangle': - case 'triangle-upright': - settings.shape = function shapeTriangle(theta) { - var thetaPrime = (theta + Math.PI * 3 / 2) % (2 * Math.PI / 3); - return 1 / (Math.cos(thetaPrime) + - Math.sqrt(3) * Math.sin(thetaPrime)); - }; - break; - - case 'pentagon': - settings.shape = function shapePentagon(theta) { - var thetaPrime = (theta + 0.955) % (2 * Math.PI / 5); - return 1 / (Math.cos(thetaPrime) + - 0.726543 * Math.sin(thetaPrime)); - }; - break; - - case 'star': - settings.shape = function shapeStar(theta) { - var thetaPrime = (theta + 0.955) % (2 * Math.PI / 10); - if ((theta + 0.955) % (2 * Math.PI / 5) - (2 * Math.PI / 10) >= 0) { - return 1 / (Math.cos((2 * Math.PI / 10) - thetaPrime) + - 3.07768 * Math.sin((2 * Math.PI / 10) - thetaPrime)); - } else { - return 1 / (Math.cos(thetaPrime) + - 3.07768 * Math.sin(thetaPrime)); - } - }; - break; + }); + // =========================== Value ============================ + var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { + value: propValue + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var _useMergedState3 = (0,useMergedState/* default */.Z)(null), + _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), + cleanedValue = _useMergedState4[0], + setCleanedValue = _useMergedState4[1]; + var getStarValue = function getStarValue(index, x) { + var reverse = direction === 'rtl'; + var starValue = index + 1; + if (allowHalf) { + var starEle = getStarRef(index); + var leftDis = getOffsetLeft(starEle); + var width = starEle.clientWidth; + if (reverse && x - leftDis > width / 2) { + starValue -= 0.5; + } else if (!reverse && x - leftDis < width / 2) { + starValue -= 0.5; } } - - /* Make sure gridSize is a whole number and is not smaller than 4px */ - settings.gridSize = Math.max(Math.floor(settings.gridSize), 4); - - /* shorthand */ - var g = settings.gridSize; - var maskRectWidth = g - settings.maskGapWidth; - - /* normalize rotation settings */ - var rotationRange = Math.abs(settings.maxRotation - settings.minRotation); - var minRotation = Math.min(settings.maxRotation, settings.minRotation); - var rotationStep = settings.rotationStep; - - /* information/object available to all functions, set when start() */ - var grid, // 2d array containing filling information - ngx, ngy, // width and height of the grid - center, // position of the center of the cloud - maxRadius; - - /* timestamp for measuring each putWord() action */ - var escapeTime; - - /* function for getting the color of the text */ - var getTextColor; - function random_hsl_color(min, max) { - return 'hsl(' + - (Math.random() * 360).toFixed() + ',' + - (Math.random() * 30 + 70).toFixed() + '%,' + - (Math.random() * (max - min) + min).toFixed() + '%)'; - } - switch (settings.color) { - case 'random-dark': - getTextColor = function getRandomDarkColor() { - return random_hsl_color(10, 50); - }; - break; - - case 'random-light': - getTextColor = function getRandomLightColor() { - return random_hsl_color(50, 90); - }; - break; - - default: - if (typeof settings.color === 'function') { - getTextColor = settings.color; - } - break; - } - - /* function for getting the classes of the text */ - var getTextClasses = null; - if (typeof settings.classes === 'function') { - getTextClasses = settings.classes; - } - - /* Interactive */ - var interactive = false; - var infoGrid = []; - var hovered; - - var getInfoGridFromMouseTouchEvent = - function getInfoGridFromMouseTouchEvent(evt) { - var canvas = evt.currentTarget; - var rect = canvas.getBoundingClientRect(); - var clientX; - var clientY; - /** Detect if touches are available */ - if (evt.touches) { - clientX = evt.touches[0].clientX; - clientY = evt.touches[0].clientY; - } else { - clientX = evt.clientX; - clientY = evt.clientY; - } - var eventX = clientX - rect.left; - var eventY = clientY - rect.top; - - var x = Math.floor(eventX * ((canvas.width / rect.width) || 1) / g); - var y = Math.floor(eventY * ((canvas.height / rect.height) || 1) / g); - - return infoGrid[x][y]; - }; - - var wordcloudhover = function wordcloudhover(evt) { - var info = getInfoGridFromMouseTouchEvent(evt); - - if (hovered === info) { - return; - } - - hovered = info; - if (!info) { - settings.hover(undefined, undefined, evt); - - return; - } - - settings.hover(info.item, info.dimension, evt); - - }; - - var wordcloudclick = function wordcloudclick(evt) { - var info = getInfoGridFromMouseTouchEvent(evt); - if (!info) { - return; - } - - settings.click(info.item, info.dimension, evt); - evt.preventDefault(); - }; - - /* Get points on the grid for a given radius away from the center */ - var pointsAtRadius = []; - var getPointsAtRadius = function getPointsAtRadius(radius) { - if (pointsAtRadius[radius]) { - return pointsAtRadius[radius]; - } - - // Look for these number of points on each radius - var T = radius * 8; - - // Getting all the points at this radius - var t = T; - var points = []; - - if (radius === 0) { - points.push([center[0], center[1], 0]); - } - - while (t--) { - // distort the radius to put the cloud in shape - var rx = 1; - if (settings.shape !== 'circle') { - rx = settings.shape(t / T * 2 * Math.PI); // 0 to 1 - } - - // Push [x, y, t]; t is used solely for getTextColor() - points.push([ - center[0] + radius * rx * Math.cos(-t / T * 2 * Math.PI), - center[1] + radius * rx * Math.sin(-t / T * 2 * Math.PI) * - settings.ellipticity, - t / T * 2 * Math.PI]); - } - - pointsAtRadius[radius] = points; - return points; - }; - - /* Return true if we had spent too much time */ - var exceedTime = function exceedTime() { - return ((settings.abortThreshold > 0) && - ((new Date()).getTime() - escapeTime > settings.abortThreshold)); - }; - - /* Get the deg of rotation according to settings, and luck. */ - var getRotateDeg = function getRotateDeg() { - if (settings.rotateRatio === 0) { - return 0; - } - - if (Math.random() > settings.rotateRatio) { - return 0; - } - - if (rotationRange === 0) { - return minRotation; - } - - return minRotation + Math.round(Math.random() * rotationRange / rotationStep) * rotationStep; - }; - - var getTextInfo = function getTextInfo(word, weight, rotateDeg) { - // calculate the acutal font size - // fontSize === 0 means weightFactor function wants the text skipped, - // and size < minSize means we cannot draw the text. - var debug = false; - var fontSize = settings.weightFactor(weight); - if (fontSize <= settings.minSize) { - return false; - } - - // Scale factor here is to make sure fillText is not limited by - // the minium font size set by browser. - // It will always be 1 or 2n. - var mu = 1; - if (fontSize < minFontSize) { - mu = (function calculateScaleFactor() { - var mu = 2; - while (mu * fontSize < minFontSize) { - mu += 2; - } - return mu; - })(); - } - - var fcanvas = document.createElement('canvas'); - var fctx = fcanvas.getContext('2d', { willReadFrequently: true }); - - fctx.font = settings.fontWeight + ' ' + - (fontSize * mu).toString(10) + 'px ' + settings.fontFamily; - - // Estimate the dimension of the text with measureText(). - var fw = fctx.measureText(word).width / mu; - var fh = Math.max(fontSize * mu, - fctx.measureText('m').width, - fctx.measureText('\uFF37').width) / mu; - - // Create a boundary box that is larger than our estimates, - // so text don't get cut of (it sill might) - var boxWidth = fw + fh * 2; - var boxHeight = fh * 3; - var fgw = Math.ceil(boxWidth / g); - var fgh = Math.ceil(boxHeight / g); - boxWidth = fgw * g; - boxHeight = fgh * g; - - // Calculate the proper offsets to make the text centered at - // the preferred position. - - // This is simply half of the width. - var fillTextOffsetX = - fw / 2; - // Instead of moving the box to the exact middle of the preferred - // position, for Y-offset we move 0.4 instead, so Latin alphabets look - // vertical centered. - var fillTextOffsetY = - fh * 0.4; - - // Calculate the actual dimension of the canvas, considering the rotation. - var cgh = Math.ceil((boxWidth * Math.abs(Math.sin(rotateDeg)) + - boxHeight * Math.abs(Math.cos(rotateDeg))) / g); - var cgw = Math.ceil((boxWidth * Math.abs(Math.cos(rotateDeg)) + - boxHeight * Math.abs(Math.sin(rotateDeg))) / g); - var width = cgw * g; - var height = cgh * g; - - fcanvas.setAttribute('width', width); - fcanvas.setAttribute('height', height); - - if (debug) { - // Attach fcanvas to the DOM - document.body.appendChild(fcanvas); - // Save it's state so that we could restore and draw the grid correctly. - fctx.save(); - } - - // Scale the canvas with |mu|. - fctx.scale(1 / mu, 1 / mu); - fctx.translate(width * mu / 2, height * mu / 2); - fctx.rotate(- rotateDeg); - - // Once the width/height is set, ctx info will be reset. - // Set it again here. - fctx.font = settings.fontWeight + ' ' + - (fontSize * mu).toString(10) + 'px ' + settings.fontFamily; - - // Fill the text into the fcanvas. - // XXX: We cannot because textBaseline = 'top' here because - // Firefox and Chrome uses different default line-height for canvas. - // Please read https://bugzil.la/737852#c6. - // Here, we use textBaseline = 'middle' and draw the text at exactly - // 0.5 * fontSize lower. - fctx.fillStyle = '#000'; - fctx.textBaseline = 'middle'; - fctx.fillText(word, fillTextOffsetX * mu, - (fillTextOffsetY + fontSize * 0.5) * mu); - - // Get the pixels of the text - var imageData = fctx.getImageData(0, 0, width, height).data; - - if (exceedTime()) { - return false; - } - - if (debug) { - // Draw the box of the original estimation - fctx.strokeRect(fillTextOffsetX * mu, - fillTextOffsetY, fw * mu, fh * mu); - fctx.restore(); - } - - // Read the pixels and save the information to the occupied array - var occupied = []; - var gx = cgw, gy, x, y; - var bounds = [cgh / 2, cgw / 2, cgh / 2, cgw / 2]; - while (gx--) { - gy = cgh; - while (gy--) { - y = g; - singleGridLoop: { - while (y--) { - x = g; - while (x--) { - if (imageData[((gy * g + y) * width + - (gx * g + x)) * 4 + 3]) { - occupied.push([gx, gy]); - - if (gx < bounds[3]) { - bounds[3] = gx; - } - if (gx > bounds[1]) { - bounds[1] = gx; - } - if (gy < bounds[0]) { - bounds[0] = gy; - } - if (gy > bounds[2]) { - bounds[2] = gy; - } - - if (debug) { - fctx.fillStyle = 'rgba(255, 0, 0, 0.5)'; - fctx.fillRect(gx * g, gy * g, g - 0.5, g - 0.5); - } - break singleGridLoop; - } - } - } - if (debug) { - fctx.fillStyle = 'rgba(0, 0, 255, 0.5)'; - fctx.fillRect(gx * g, gy * g, g - 0.5, g - 0.5); - } - } - } - } - - if (debug) { - fctx.fillStyle = 'rgba(0, 255, 0, 0.5)'; - fctx.fillRect(bounds[3] * g, - bounds[0] * g, - (bounds[1] - bounds[3] + 1) * g, - (bounds[2] - bounds[0] + 1) * g); - } - - // Return information needed to create the text on the real canvas - return { - mu: mu, - occupied: occupied, - bounds: bounds, - gw: cgw, - gh: cgh, - fillTextOffsetX: fillTextOffsetX, - fillTextOffsetY: fillTextOffsetY, - fillTextWidth: fw, - fillTextHeight: fh, - fontSize: fontSize - }; - }; - - /* Determine if there is room available in the given dimension */ - var canFitText = function canFitText(gx, gy, gw, gh, occupied) { - // Go through the occupied points, - // return false if the space is not available. - var i = occupied.length; - while (i--) { - var px = gx + occupied[i][0]; - var py = gy + occupied[i][1]; - - if (px >= ngx || py >= ngy || px < 0 || py < 0) { - if (!settings.drawOutOfBound) { - return false; - } - continue; - } - - if (!grid[px][py]) { - return false; - } - } - return true; - }; - - /* Actually draw the text on the grid */ - var drawText = function drawText(gx, gy, info, word, weight, - distance, theta, rotateDeg, attributes) { - - var fontSize = info.fontSize; - var color; - if (getTextColor) { - color = getTextColor(word, weight, fontSize, distance, theta); - } else { - color = settings.color; - } - - var classes; - if (getTextClasses) { - classes = getTextClasses(word, weight, fontSize, distance, theta); - } else { - classes = settings.classes; - } - - var dimension; - var bounds = info.bounds; - dimension = { - x: (gx + bounds[3]) * g, - y: (gy + bounds[0]) * g, - w: (bounds[1] - bounds[3] + 1) * g, - h: (bounds[2] - bounds[0] + 1) * g - }; - - elements.forEach(function(el) { - if (el.getContext) { - var ctx = el.getContext('2d'); - var mu = info.mu; - - // Save the current state before messing it - ctx.save(); - ctx.scale(1 / mu, 1 / mu); - - ctx.font = settings.fontWeight + ' ' + - (fontSize * mu).toString(10) + 'px ' + settings.fontFamily; - ctx.fillStyle = color; - - // Translate the canvas position to the origin coordinate of where - // the text should be put. - ctx.translate((gx + info.gw / 2) * g * mu, - (gy + info.gh / 2) * g * mu); - - if (rotateDeg !== 0) { - ctx.rotate(- rotateDeg); - } - - // Finally, fill the text. - - // XXX: We cannot because textBaseline = 'top' here because - // Firefox and Chrome uses different default line-height for canvas. - // Please read https://bugzil.la/737852#c6. - // Here, we use textBaseline = 'middle' and draw the text at exactly - // 0.5 * fontSize lower. - ctx.textBaseline = 'middle'; - ctx.fillText(word, info.fillTextOffsetX * mu, - (info.fillTextOffsetY + fontSize * 0.5) * mu); - - // The below box is always matches how s are positioned - /* ctx.strokeRect(info.fillTextOffsetX, info.fillTextOffsetY, - info.fillTextWidth, info.fillTextHeight); */ - - // Restore the state. - ctx.restore(); - } else { - // drawText on DIV element - var span = document.createElement('span'); - var transformRule = ''; - transformRule = 'rotate(' + (- rotateDeg / Math.PI * 180) + 'deg) '; - if (info.mu !== 1) { - transformRule += - 'translateX(-' + (info.fillTextWidth / 4) + 'px) ' + - 'scale(' + (1 / info.mu) + ')'; - } - var styleRules = { - 'position': 'absolute', - 'display': 'block', - 'font': settings.fontWeight + ' ' + - (fontSize * info.mu) + 'px ' + settings.fontFamily, - 'left': ((gx + info.gw / 2) * g + info.fillTextOffsetX) + 'px', - 'top': ((gy + info.gh / 2) * g + info.fillTextOffsetY) + 'px', - 'width': info.fillTextWidth + 'px', - 'height': info.fillTextHeight + 'px', - 'lineHeight': fontSize + 'px', - 'whiteSpace': 'nowrap', - 'transform': transformRule, - 'webkitTransform': transformRule, - 'msTransform': transformRule, - 'transformOrigin': '50% 40%', - 'webkitTransformOrigin': '50% 40%', - 'msTransformOrigin': '50% 40%' - }; - if (color) { - styleRules.color = color; - } - span.textContent = word; - for (var cssProp in styleRules) { - span.style[cssProp] = styleRules[cssProp]; - } - if (attributes) { - for (var attribute in attributes) { - span.setAttribute(attribute, attributes[attribute]); - } - } - if (classes) { - span.className += classes; - } - el.appendChild(span); - } - }); - }; - - /* Help function to updateGrid */ - var fillGridAt = function fillGridAt(x, y, drawMask, dimension, item) { - if (x >= ngx || y >= ngy || x < 0 || y < 0) { - return; - } - - grid[x][y] = false; - - if (drawMask) { - var ctx = elements[0].getContext('2d'); - ctx.fillRect(x * g, y * g, maskRectWidth, maskRectWidth); - } - - if (interactive) { - infoGrid[x][y] = { item: item, dimension: dimension }; - } - }; - - /* Update the filling information of the given space with occupied points. - Draw the mask on the canvas if necessary. */ - var updateGrid = function updateGrid(gx, gy, gw, gh, info, item) { - var occupied = info.occupied; - var drawMask = settings.drawMask; - var ctx; - if (drawMask) { - ctx = elements[0].getContext('2d'); - ctx.save(); - ctx.fillStyle = settings.maskColor; - } - - var dimension; - if (interactive) { - var bounds = info.bounds; - dimension = { - x: (gx + bounds[3]) * g, - y: (gy + bounds[0]) * g, - w: (bounds[1] - bounds[3] + 1) * g, - h: (bounds[2] - bounds[0] + 1) * g - }; - } - - var i = occupied.length; - while (i--) { - var px = gx + occupied[i][0]; - var py = gy + occupied[i][1]; - - if (px >= ngx || py >= ngy || px < 0 || py < 0) { - continue; - } - - fillGridAt(px, py, drawMask, dimension, item); - } - - if (drawMask) { - ctx.restore(); - } - }; - - /* putWord() processes each item on the list, - calculate it's size and determine it's position, and actually - put it on the canvas. */ - var putWord = function putWord(item) { - var word, weight, attributes; - if (Array.isArray(item)) { - word = item[0]; - weight = item[1]; - } else { - word = item.word; - weight = item.weight; - attributes = item.attributes; - } - var rotateDeg = getRotateDeg(); - - // get info needed to put the text onto the canvas - var info = getTextInfo(word, weight, rotateDeg); - - // not getting the info means we shouldn't be drawing this one. - if (!info) { - return false; - } - - if (exceedTime()) { - return false; - } - - // If drawOutOfBound is set to false, - // skip the loop if we have already know the bounding box of - // word is larger than the canvas. - if (!settings.drawOutOfBound) { - var bounds = info.bounds; - if ((bounds[1] - bounds[3] + 1) > ngx || - (bounds[2] - bounds[0] + 1) > ngy) { - return false; - } - } - - // Determine the position to put the text by - // start looking for the nearest points - var r = maxRadius + 1; - - var tryToPutWordAtPoint = function(gxy) { - var gx = Math.floor(gxy[0] - info.gw / 2); - var gy = Math.floor(gxy[1] - info.gh / 2); - var gw = info.gw; - var gh = info.gh; - - // If we cannot fit the text at this position, return false - // and go to the next position. - if (!canFitText(gx, gy, gw, gh, info.occupied)) { - return false; - } - - // Actually put the text on the canvas - drawText(gx, gy, info, word, weight, - (maxRadius - r), gxy[2], rotateDeg, attributes); - - // Mark the spaces on the grid as filled - updateGrid(gx, gy, gw, gh, info, item); - - return { - gx: gx, - gy: gy, - rot: rotateDeg, - info: info - }; - }; - - while (r--) { - var points = getPointsAtRadius(maxRadius - r); - - if (settings.shuffle) { - points = [].concat(points); - shuffleArray(points); - } - - // Try to fit the words by looking at each point. - // array.some() will stop and return true - // when putWordAtPoint() returns true. - for (var i = 0; i < points.length; i++) { - var res = tryToPutWordAtPoint(points[i]); - if (res) { - return res; - } - } - - // var drawn = points.some(tryToPutWordAtPoint); - // if (drawn) { - // // leave putWord() and return true - // return true; - // } - } - // we tried all distances but text won't fit, return null - return null; - }; - - /* Send DOM event to all elements. Will stop sending event and return - if the previous one is canceled (for cancelable events). */ - var sendEvent = function sendEvent(type, cancelable, detail) { - if (cancelable) { - return !elements.some(function(el) { - var evt = document.createEvent('CustomEvent'); - evt.initCustomEvent(type, true, cancelable, detail || {}); - return !el.dispatchEvent(evt); - }, this); + return starValue; + }; + // >>>>> Change + var changeValue = function changeValue(nextValue) { + setValue(nextValue); + onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); + }; + // =========================== Focus ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + focused = _React$useState2[0], + setFocused = _React$useState2[1]; + var onInternalFocus = function onInternalFocus() { + setFocused(true); + onFocus === null || onFocus === void 0 ? void 0 : onFocus(); + }; + var onInternalBlur = function onInternalBlur() { + setFocused(false); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(); + }; + // =========================== Hover ============================ + var _React$useState3 = react.useState(null), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + hoverValue = _React$useState4[0], + setHoverValue = _React$useState4[1]; + var onHover = function onHover(event, index) { + var nextHoverValue = getStarValue(index, event.pageX); + if (nextHoverValue !== cleanedValue) { + setHoverValue(nextHoverValue); + setCleanedValue(null); + } + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); + }; + var onMouseLeaveCallback = function onMouseLeaveCallback(event) { + if (!disabled) { + setHoverValue(null); + setCleanedValue(null); + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); + } + if (event) { + onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); + } + }; + // =========================== Click ============================ + var onClick = function onClick(event, index) { + var newValue = getStarValue(index, event.pageX); + var isReset = false; + if (allowClear) { + isReset = newValue === value; + } + onMouseLeaveCallback(); + changeValue(isReset ? 0 : newValue); + setCleanedValue(isReset ? newValue : null); + }; + var onInternalKeyDown = function onInternalKeyDown(event) { + var keyCode = event.keyCode; + var reverse = direction === 'rtl'; + var nextValue = value; + if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { + if (allowHalf) { + nextValue += 0.5; } else { - elements.forEach(function(el) { - var evt = document.createEvent('CustomEvent'); - evt.initCustomEvent(type, true, cancelable, detail || {}); - el.dispatchEvent(evt); - }, this); + nextValue += 1; } - }; - - /* Start drawing on a canvas */ - var start = function start() { - // For dimensions, clearCanvas etc., - // we only care about the first element. - var canvas = elements[0]; - - if (canvas.getContext) { - ngx = Math.ceil(canvas.width / g); - ngy = Math.ceil(canvas.height / g); + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { + if (allowHalf) { + nextValue -= 0.5; } else { - var rect = canvas.getBoundingClientRect(); - ngx = Math.ceil(rect.width / g); - ngy = Math.ceil(rect.height / g); - } - - // Sending a wordcloudstart event which cause the previous loop to stop. - // Do nothing if the event is canceled. - if (!sendEvent('wordcloudstart', true)) { - return; + nextValue -= 1; } - - // Determine the center of the word cloud - center = (settings.origin) ? - [settings.origin[0]/g, settings.origin[1]/g] : - [ngx / 2, ngy / 2]; - - // Maxium radius to look for space - maxRadius = Math.floor(Math.sqrt(ngx * ngx + ngy * ngy)); - - /* Clear the canvas only if the clearCanvas is set, - if not, update the grid to the current canvas state */ - grid = []; - - var gx, gy, i; - if (!canvas.getContext || settings.clearCanvas) { - elements.forEach(function(el) { - if (el.getContext) { - var ctx = el.getContext('2d'); - ctx.fillStyle = settings.backgroundColor; - ctx.clearRect(0, 0, ngx * (g + 1), ngy * (g + 1)); - ctx.fillRect(0, 0, ngx * (g + 1), ngy * (g + 1)); - } else { - el.textContent = ''; - el.style.backgroundColor = settings.backgroundColor; - el.style.position = 'relative'; - } - }); - - /* fill the grid with empty state */ - gx = ngx; - while (gx--) { - grid[gx] = []; - gy = ngy; - while (gy--) { - grid[gx][gy] = true; - } - } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { + if (allowHalf) { + nextValue -= 0.5; } else { - /* Determine bgPixel by creating - another canvas and fill the specified background color. */ - var bctx = document.createElement('canvas').getContext('2d'); - - bctx.fillStyle = settings.backgroundColor; - bctx.fillRect(0, 0, 1, 1); - var bgPixel = bctx.getImageData(0, 0, 1, 1).data; - - /* Read back the pixels of the canvas we got to tell which part of the - canvas is empty. - (no clearCanvas only works with a canvas, not divs) */ - var imageData = - canvas.getContext('2d').getImageData(0, 0, ngx * g, ngy * g).data; - - gx = ngx; - var x, y; - while (gx--) { - grid[gx] = []; - gy = ngy; - while (gy--) { - y = g; - singleGridLoop: while (y--) { - x = g; - while (x--) { - i = 4; - while (i--) { - if (imageData[((gy * g + y) * ngx * g + - (gx * g + x)) * 4 + i] !== bgPixel[i]) { - grid[gx][gy] = false; - break singleGridLoop; - } - } - } - } - if (grid[gx][gy] !== false) { - grid[gx][gy] = true; - } - } - } - - imageData = bctx = bgPixel = undefined; - } - - // fill the infoGrid with empty state if we need it - if (settings.hover || settings.click) { - - interactive = true; - - /* fill the grid with empty state */ - gx = ngx + 1; - while (gx--) { - infoGrid[gx] = []; - } - - if (settings.hover) { - canvas.addEventListener('mousemove', wordcloudhover); - } - - if (settings.click) { - canvas.addEventListener('click', wordcloudclick); - canvas.addEventListener('touchstart', wordcloudclick); - canvas.addEventListener('touchend', function (e) { - e.preventDefault(); - }); - canvas.style.webkitTapHighlightColor = 'rgba(0, 0, 0, 0)'; - } - - canvas.addEventListener('wordcloudstart', function stopInteraction() { - canvas.removeEventListener('wordcloudstart', stopInteraction); - - canvas.removeEventListener('mousemove', wordcloudhover); - canvas.removeEventListener('click', wordcloudclick); - hovered = undefined; - }); + nextValue -= 1; } - - i = 0; - var loopingFunction, stoppingFunction; - if (settings.wait !== 0) { - loopingFunction = window.setTimeout; - stoppingFunction = window.clearTimeout; + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { + if (allowHalf) { + nextValue += 0.5; } else { - loopingFunction = window.setImmediate; - stoppingFunction = window.clearImmediate; + nextValue += 1; } - - var addEventListener = function addEventListener(type, listener) { - elements.forEach(function(el) { - el.addEventListener(type, listener); - }, this); - }; - - var removeEventListener = function removeEventListener(type, listener) { - elements.forEach(function(el) { - el.removeEventListener(type, listener); - }, this); - }; - - var anotherWordCloudStart = function anotherWordCloudStart() { - removeEventListener('wordcloudstart', anotherWordCloudStart); - stoppingFunction(timer); - }; - - addEventListener('wordcloudstart', anotherWordCloudStart); - - var timer = loopingFunction(function loop() { - if (i >= settings.list.length) { - stoppingFunction(timer); - sendEvent('wordcloudstop', false); - removeEventListener('wordcloudstart', anotherWordCloudStart); - - return; - } - escapeTime = (new Date()).getTime(); - var drawn = putWord(settings.list[i]); - var canceled = !sendEvent('wordclouddrawn', true, { - item: settings.list[i], drawn: drawn }); - if (exceedTime() || canceled) { - stoppingFunction(timer); - settings.abort(); - sendEvent('wordcloudabort', false); - sendEvent('wordcloudstop', false); - removeEventListener('wordcloudstart', anotherWordCloudStart); - return; - } - i++; - timer = loopingFunction(loop, settings.wait); - }, settings.wait); - }; - - // All set, start the drawing - start(); + changeValue(nextValue); + event.preventDefault(); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); }; - - WordCloud.isSupported = isSupported; - WordCloud.minFontSize = minFontSize; - - // Expose the library as an AMD module - if (true) { - !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function() { return WordCloud; }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), - __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); - } else {} - -})(this); //jshint ignore:line - -/***/ }), - -/***/ 88157: -/*!*********************************************************!*\ - !*** ./node_modules/echarts-wordcloud/src/wordCloud.js ***! - \*********************************************************/ -/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { - -var echarts = __webpack_require__(/*! echarts/lib/echarts */ 70492); -var layoutUtil = __webpack_require__(/*! echarts/lib/util/layout */ 76172); - -__webpack_require__(/*! ./WordCloudSeries */ 50024); -__webpack_require__(/*! ./WordCloudView */ 40885); - -var wordCloudLayoutHelper = __webpack_require__(/*! ./layout */ 62255); - -if (!wordCloudLayoutHelper.isSupported) { - throw new Error('Sorry your browser not support wordCloud'); + // =========================== Effect =========================== + react.useEffect(function () { + if (autoFocus && !disabled) { + triggerFocus(); + } + }, []); + // =========================== Render =========================== + // >>> Star + var starNodes = new Array(count).fill(0).map(function (item, index) { + return /*#__PURE__*/react.createElement(es_Star, { + ref: setStarRef(index), + index: index, + count: count, + disabled: disabled, + prefixCls: "".concat(prefixCls, "-star"), + allowHalf: allowHalf, + value: hoverValue === null ? value : hoverValue, + onClick: onClick, + onHover: onHover, + key: item || index, + character: character, + characterRender: characterRender, + focused: focused + }); + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); + // >>> Node + return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ + className: classString, + onMouseLeave: onMouseLeaveCallback, + tabIndex: disabled ? -1 : tabIndex, + onFocus: disabled ? null : onInternalFocus, + onBlur: disabled ? null : onInternalBlur, + onKeyDown: disabled ? null : onInternalKeyDown, + ref: rateRef, + role: "radiogroup" + }, (0,pickAttrs/* default */.Z)(restProps, { + aria: true, + data: true, + attr: true + })), starNodes); } +/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js -// https://github.com/timdream/wordcloud2.js/blob/c236bee60436e048949f9becc4f0f67bd832dc5c/index.js#L233 -function updateCanvasMask(maskCanvas) { - var ctx = maskCanvas.getContext('2d'); - var imageData = ctx.getImageData( - 0, 0, maskCanvas.width, maskCanvas.height); - var newImageData = ctx.createImageData(imageData); - - var toneSum = 0; - var toneCnt = 0; - for (var i = 0; i < imageData.data.length; i += 4) { - var alpha = imageData.data[i + 3]; - if (alpha > 128) { - var tone = imageData.data[i] - + imageData.data[i + 1] - + imageData.data[i + 2]; - toneSum += tone; - ++toneCnt; - } - } - var threshold = toneSum / toneCnt; +/* harmony default export */ var es = (es_Rate); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js - for (var i = 0; i < imageData.data.length; i += 4) { - var tone = imageData.data[i] - + imageData.data[i + 1] - + imageData.data[i + 2]; - var alpha = imageData.data[i + 3]; - if (alpha < 128 || tone > threshold) { - // Area not to draw - newImageData.data[i] = 0; - newImageData.data[i + 1] = 0; - newImageData.data[i + 2] = 0; - newImageData.data[i + 3] = 0; +const genRateStarStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-star`]: { + position: 'relative', + display: 'inline-block', + color: 'inherit', + cursor: 'pointer', + '&:not(:last-child)': { + marginInlineEnd: token.marginXS + }, + '> div': { + transition: `all ${token.motionDurationMid}, outline 0s`, + '&:hover': { + transform: token.starHoverScale + }, + '&:focus': { + outline: 0 + }, + '&:focus-visible': { + outline: `${token.lineWidth}px dashed ${token.starColor}`, + transform: token.starHoverScale } - else { - // Area to draw - // The color must be same with backgroundColor - newImageData.data[i] = 255; - newImageData.data[i + 1] = 255; - newImageData.data[i + 2] = 255; - newImageData.data[i + 3] = 255; + }, + '&-first, &-second': { + color: token.starBg, + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [token.iconCls]: { + verticalAlign: 'middle' } + }, + '&-first': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '50%', + height: '100%', + overflow: 'hidden', + opacity: 0 + }, + [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { + opacity: 1 + }, + [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { + color: 'inherit' + } } - - ctx.putImageData(newImageData, 0, 0); -} - -echarts.registerLayout(function (ecModel, api) { - ecModel.eachSeriesByType('wordCloud', function (seriesModel) { - var gridRect = layoutUtil.getLayoutRect( - seriesModel.getBoxLayoutParams(), { - width: api.getWidth(), - height: api.getHeight() - } - ); - var data = seriesModel.getData(); - - var canvas = document.createElement('canvas'); - canvas.width = gridRect.width; - canvas.height = gridRect.height; - - var ctx = canvas.getContext('2d'); - var maskImage = seriesModel.get('maskImage'); - if (maskImage) { - try { - ctx.drawImage(maskImage, 0, 0, canvas.width, canvas.height); - updateCanvasMask(canvas); - } - catch (e) { - console.error('Invalid mask image'); - console.error(e.toString()); - } - } - - var sizeRange = seriesModel.get('sizeRange'); - var rotationRange = seriesModel.get('rotationRange'); - var valueExtent = data.getDataExtent('value'); - - var DEGREE_TO_RAD = Math.PI / 180; - var gridSize = seriesModel.get('gridSize'); - wordCloudLayoutHelper(canvas, { - list: data.mapArray('value', function (value, idx) { - var itemModel = data.getItemModel(idx); - return [ - data.getName(idx), - itemModel.get('textStyle.normal.textSize', true) - || echarts.number.linearMap(value, valueExtent, sizeRange), - idx - ]; - }).sort(function (a, b) { - // Sort from large to small in case there is no more room for more words - return b[1] - a[1]; - }), - fontFamily: seriesModel.get('textStyle.normal.fontFamily') - || seriesModel.get('textStyle.emphasis.fontFamily') - || ecModel.get('textStyle.fontFamily'), - fontWeight: seriesModel.get('textStyle.normal.fontWeight') - || seriesModel.get('textStyle.emphasis.fontWeight') - || ecModel.get('textStyle.fontWeight'), - gridSize: gridSize, - - ellipticity: gridRect.height / gridRect.width, - - minRotation: rotationRange[0] * DEGREE_TO_RAD, - maxRotation: rotationRange[1] * DEGREE_TO_RAD, - - clearCanvas: !maskImage, - - rotateRatio: 1, - - rotationStep: seriesModel.get('rotationStep') * DEGREE_TO_RAD, - - drawOutOfBound: seriesModel.get('drawOutOfBound'), - - shuffle: false, - - shape: seriesModel.get('shape') - }); - - function onWordCloudDrawn(e) { - var item = e.detail.item; - if (e.detail.drawn && seriesModel.layoutInstance.ondraw) { - e.detail.drawn.gx += gridRect.x / gridSize; - e.detail.drawn.gy += gridRect.y / gridSize; - seriesModel.layoutInstance.ondraw( - item[0], item[1], item[2], e.detail.drawn - ); - } + }; +}; +const genRateRtlStyle = token => ({ + [`&-rtl${token.componentCls}`]: { + direction: 'rtl' + } +}); +const genRateStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + margin: 0, + padding: 0, + color: token.starColor, + fontSize: token.starSize, + lineHeight: 'unset', + listStyle: 'none', + outline: 'none', + // disable styles + [`&-disabled${componentCls} ${componentCls}-star`]: { + cursor: 'default', + '> div:hover': { + transform: 'scale(1)' } + } + }), genRateStarStyle(token)), { + // text styles + [`+ ${componentCls}-text`]: { + display: 'inline-block', + marginInlineStart: token.marginXS, + fontSize: token.fontSize + } + }), genRateRtlStyle(token)) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { + const rateToken = (0,statistic/* merge */.TS)(token, {}); + return [genRateStyle(rateToken)]; +}, token => ({ + starColor: token.yellow6, + starSize: token.controlHeightLG * 0.5, + starHoverScale: 'scale(1.1)', + starBg: token.colorFillContent +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js +'use client'; - canvas.addEventListener('wordclouddrawn', onWordCloudDrawn); - - if (seriesModel.layoutInstance) { - // Dispose previous - seriesModel.layoutInstance.dispose(); - } +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; - seriesModel.layoutInstance = { - ondraw: null, - dispose: function () { - canvas.removeEventListener('wordclouddrawn', onWordCloudDrawn); - // Abort - canvas.addEventListener('wordclouddrawn', function (e) { - // Prevent default to cancle the event and stop the loop - e.preventDefault(); - }); - } - }; - }); -}); -echarts.registerPreprocessor(function (option) { - var series = (option || {}).series; - !echarts.util.isArray(series) && (series = series ? [series] : []); - var compats = ['shadowColor', 'shadowBlur', 'shadowOffsetX', 'shadowOffsetY']; - echarts.util.each(series, function (seriesItem) { - if (seriesItem && seriesItem.type === 'wordCloud') { - var textStyle = seriesItem.textStyle || {}; - compatTextStyle(textStyle.normal); - compatTextStyle(textStyle.emphasis); - } - }); - function compatTextStyle(textStyle) { - textStyle && echarts.util.each(compats, function (key) { - if (textStyle.hasOwnProperty(key)) { - textStyle['text' + echarts.format.capitalFirst(key)] = textStyle[key]; - } - }); +const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls, + className, + rootClassName, + style, + tooltips, + character = /*#__PURE__*/react.createElement(icons_StarFilled, null) + } = props, + rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); + const characterRender = (node, _ref) => { + let { + index + } = _ref; + if (!tooltips) { + return node; } + return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { + title: tooltips[index] + }, node); + }; + const { + getPrefixCls, + direction, + rate + } = react.useContext(context/* ConfigContext */.E_); + const ratePrefixCls = getPrefixCls('rate', prefixCls); + // Style + const [wrapSSR, hashId] = rate_style(ratePrefixCls); + const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ + ref: ref, + character: character, + characterRender: characterRender + }, rest, { + className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), + style: mergedStyle, + prefixCls: ratePrefixCls, + direction: direction + }))); }); - +if (false) {} +/* harmony default export */ var rate = (rate_Rate); /***/ }), @@ -7142,508 +3548,6 @@ const TreeEdge = go.TreeEdge; const version = go.version; -/***/ }), - -/***/ 74300: -/*!***************************************************************!*\ - !*** ./node_modules/react-copy-to-clipboard/lib/Component.js ***! - \***************************************************************/ -/***/ (function(__unused_webpack_module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports.CopyToClipboard = void 0; - -var _react = _interopRequireDefault(__webpack_require__(/*! react */ 67294)); - -var _copyToClipboard = _interopRequireDefault(__webpack_require__(/*! copy-to-clipboard */ 20640)); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } - -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } - -function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } - -function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } - -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } - -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var CopyToClipboard = -/*#__PURE__*/ -function (_React$PureComponent) { - _inherits(CopyToClipboard, _React$PureComponent); - - function CopyToClipboard() { - var _getPrototypeOf2; - - var _this; - - _classCallCheck(this, CopyToClipboard); - - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(CopyToClipboard)).call.apply(_getPrototypeOf2, [this].concat(args))); - - _defineProperty(_assertThisInitialized(_this), "onClick", function (event) { - var _this$props = _this.props, - text = _this$props.text, - onCopy = _this$props.onCopy, - children = _this$props.children, - options = _this$props.options; - - var elem = _react["default"].Children.only(children); - - var result = (0, _copyToClipboard["default"])(text, options); - - if (onCopy) { - onCopy(text, result); - } // Bypass onClick if it was present - - - if (elem && elem.props && typeof elem.props.onClick === 'function') { - elem.props.onClick(event); - } - }); - - return _this; - } - - _createClass(CopyToClipboard, [{ - key: "render", - value: function render() { - var _this$props2 = this.props, - _text = _this$props2.text, - _onCopy = _this$props2.onCopy, - _options = _this$props2.options, - children = _this$props2.children, - props = _objectWithoutProperties(_this$props2, ["text", "onCopy", "options", "children"]); - - var elem = _react["default"].Children.only(children); - - return _react["default"].cloneElement(elem, _objectSpread({}, props, { - onClick: this.onClick - })); - } - }]); - - return CopyToClipboard; -}(_react["default"].PureComponent); - -exports.CopyToClipboard = CopyToClipboard; - -_defineProperty(CopyToClipboard, "defaultProps", { - onCopy: undefined, - options: undefined -}); - -/***/ }), - -/***/ 74855: -/*!***********************************************************!*\ - !*** ./node_modules/react-copy-to-clipboard/lib/index.js ***! - \***********************************************************/ -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -"use strict"; - - -var _require = __webpack_require__(/*! ./Component */ 74300), - CopyToClipboard = _require.CopyToClipboard; - -CopyToClipboard.CopyToClipboard = CopyToClipboard; -module.exports = CopyToClipboard; - -/***/ }), - -/***/ 57761: -/*!*********************************************************************!*\ - !*** ./node_modules/react-infinite-scroller/dist/InfiniteScroll.js ***! - \*********************************************************************/ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", ({ - value: true -})); - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _react = __webpack_require__(/*! react */ 67294); - -var _react2 = _interopRequireDefault(_react); - -var _propTypes = __webpack_require__(/*! prop-types */ 45697); - -var _propTypes2 = _interopRequireDefault(_propTypes); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -var InfiniteScroll = function (_Component) { - _inherits(InfiniteScroll, _Component); - - function InfiniteScroll(props) { - _classCallCheck(this, InfiniteScroll); - - var _this = _possibleConstructorReturn(this, (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(this, props)); - - _this.scrollListener = _this.scrollListener.bind(_this); - _this.eventListenerOptions = _this.eventListenerOptions.bind(_this); - _this.mousewheelListener = _this.mousewheelListener.bind(_this); - return _this; - } - - _createClass(InfiniteScroll, [{ - key: 'componentDidMount', - value: function componentDidMount() { - this.pageLoaded = this.props.pageStart; - this.options = this.eventListenerOptions(); - this.attachScrollListener(); - } - }, { - key: 'componentDidUpdate', - value: function componentDidUpdate() { - if (this.props.isReverse && this.loadMore) { - var parentElement = this.getParentElement(this.scrollComponent); - parentElement.scrollTop = parentElement.scrollHeight - this.beforeScrollHeight + this.beforeScrollTop; - this.loadMore = false; - } - this.attachScrollListener(); - } - }, { - key: 'componentWillUnmount', - value: function componentWillUnmount() { - this.detachScrollListener(); - this.detachMousewheelListener(); - } - }, { - key: 'isPassiveSupported', - value: function isPassiveSupported() { - var passive = false; - - var testOptions = { - get passive() { - passive = true; - } - }; - - try { - document.addEventListener('test', null, testOptions); - document.removeEventListener('test', null, testOptions); - } catch (e) { - // ignore - } - return passive; - } - }, { - key: 'eventListenerOptions', - value: function eventListenerOptions() { - var options = this.props.useCapture; - - if (this.isPassiveSupported()) { - options = { - useCapture: this.props.useCapture, - passive: true - }; - } - return options; - } - - // Set a defaut loader for all your `InfiniteScroll` components - - }, { - key: 'setDefaultLoader', - value: function setDefaultLoader(loader) { - this.defaultLoader = loader; - } - }, { - key: 'detachMousewheelListener', - value: function detachMousewheelListener() { - var scrollEl = window; - if (this.props.useWindow === false) { - scrollEl = this.scrollComponent.parentNode; - } - - scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); - } - }, { - key: 'detachScrollListener', - value: function detachScrollListener() { - var scrollEl = window; - if (this.props.useWindow === false) { - scrollEl = this.getParentElement(this.scrollComponent); - } - - scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); - scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); - } - }, { - key: 'getParentElement', - value: function getParentElement(el) { - var scrollParent = this.props.getScrollParent && this.props.getScrollParent(); - if (scrollParent != null) { - return scrollParent; - } - return el && el.parentNode; - } - }, { - key: 'filterProps', - value: function filterProps(props) { - return props; - } - }, { - key: 'attachScrollListener', - value: function attachScrollListener() { - var parentElement = this.getParentElement(this.scrollComponent); - - if (!this.props.hasMore || !parentElement) { - return; - } - - var scrollEl = window; - if (this.props.useWindow === false) { - scrollEl = parentElement; - } - - scrollEl.addEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); - scrollEl.addEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); - scrollEl.addEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); - - if (this.props.initialLoad) { - this.scrollListener(); - } - } - }, { - key: 'mousewheelListener', - value: function mousewheelListener(e) { - // Prevents Chrome hangups - // See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257 - if (e.deltaY === 1 && !this.isPassiveSupported()) { - e.preventDefault(); - } - } - }, { - key: 'scrollListener', - value: function scrollListener() { - var el = this.scrollComponent; - var scrollEl = window; - var parentNode = this.getParentElement(el); - - var offset = void 0; - if (this.props.useWindow) { - var doc = document.documentElement || document.body.parentNode || document.body; - var scrollTop = scrollEl.pageYOffset !== undefined ? scrollEl.pageYOffset : doc.scrollTop; - if (this.props.isReverse) { - offset = scrollTop; - } else { - offset = this.calculateOffset(el, scrollTop); - } - } else if (this.props.isReverse) { - offset = parentNode.scrollTop; - } else { - offset = el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight; - } - - // Here we make sure the element is visible as well as checking the offset - if (offset < Number(this.props.threshold) && el && el.offsetParent !== null) { - this.detachScrollListener(); - this.beforeScrollHeight = parentNode.scrollHeight; - this.beforeScrollTop = parentNode.scrollTop; - // Call loadMore after detachScrollListener to allow for non-async loadMore functions - if (typeof this.props.loadMore === 'function') { - this.props.loadMore(this.pageLoaded += 1); - this.loadMore = true; - } - } - } - }, { - key: 'calculateOffset', - value: function calculateOffset(el, scrollTop) { - if (!el) { - return 0; - } - - return this.calculateTopPosition(el) + (el.offsetHeight - scrollTop - window.innerHeight); - } - }, { - key: 'calculateTopPosition', - value: function calculateTopPosition(el) { - if (!el) { - return 0; - } - return el.offsetTop + this.calculateTopPosition(el.offsetParent); - } - }, { - key: 'render', - value: function render() { - var _this2 = this; - - var renderProps = this.filterProps(this.props); - - var children = renderProps.children, - element = renderProps.element, - hasMore = renderProps.hasMore, - initialLoad = renderProps.initialLoad, - isReverse = renderProps.isReverse, - loader = renderProps.loader, - loadMore = renderProps.loadMore, - pageStart = renderProps.pageStart, - ref = renderProps.ref, - threshold = renderProps.threshold, - useCapture = renderProps.useCapture, - useWindow = renderProps.useWindow, - getScrollParent = renderProps.getScrollParent, - props = _objectWithoutProperties(renderProps, ['children', 'element', 'hasMore', 'initialLoad', 'isReverse', 'loader', 'loadMore', 'pageStart', 'ref', 'threshold', 'useCapture', 'useWindow', 'getScrollParent']); - - props.ref = function (node) { - _this2.scrollComponent = node; - if (ref) { - ref(node); - } - }; - - var childrenArray = [children]; - if (hasMore) { - if (loader) { - isReverse ? childrenArray.unshift(loader) : childrenArray.push(loader); - } else if (this.defaultLoader) { - isReverse ? childrenArray.unshift(this.defaultLoader) : childrenArray.push(this.defaultLoader); - } - } - return _react2.default.createElement(element, props, childrenArray); - } - }]); - - return InfiniteScroll; -}(_react.Component); - -InfiniteScroll.propTypes = { - children: _propTypes2.default.node.isRequired, - element: _propTypes2.default.node, - hasMore: _propTypes2.default.bool, - initialLoad: _propTypes2.default.bool, - isReverse: _propTypes2.default.bool, - loader: _propTypes2.default.node, - loadMore: _propTypes2.default.func.isRequired, - pageStart: _propTypes2.default.number, - ref: _propTypes2.default.func, - getScrollParent: _propTypes2.default.func, - threshold: _propTypes2.default.number, - useCapture: _propTypes2.default.bool, - useWindow: _propTypes2.default.bool -}; -InfiniteScroll.defaultProps = { - element: 'div', - hasMore: false, - initialLoad: true, - pageStart: 0, - ref: null, - threshold: 250, - useWindow: true, - isReverse: false, - useCapture: false, - loader: null, - getScrollParent: null -}; -exports["default"] = InfiniteScroll; -module.exports = exports['default']; - - -/***/ }), - -/***/ 246: -/*!*******************************************************!*\ - !*** ./node_modules/react-infinite-scroller/index.js ***! - \*******************************************************/ -/***/ (function(module, __unused_webpack_exports, __webpack_require__) { - -module.exports = __webpack_require__(/*! ./dist/InfiniteScroll */ 57761) - - -/***/ }), - -/***/ 11742: -/*!************************************************!*\ - !*** ./node_modules/toggle-selection/index.js ***! - \************************************************/ -/***/ (function(module) { - - -module.exports = function () { - var selection = document.getSelection(); - if (!selection.rangeCount) { - return function () {}; - } - var active = document.activeElement; - - var ranges = []; - for (var i = 0; i < selection.rangeCount; i++) { - ranges.push(selection.getRangeAt(i)); - } - - switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML - case 'INPUT': - case 'TEXTAREA': - active.blur(); - break; - - default: - active = null; - break; - } - - selection.removeAllRanges(); - return function () { - selection.type === 'Caret' && - selection.removeAllRanges(); - - if (!selection.rangeCount) { - ranges.forEach(function(range) { - selection.addRange(range); - }); - } - - active && - active.focus(); - }; -}; - - /***/ }), /***/ 41588: diff --git a/79084.async.js b/79084.async.js index 4851ec14a7..8a018c7180 100644 --- a/79084.async.js +++ b/79084.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[79084,12750],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[79084,94657],{ /***/ 11475: /*!******************************************************************************************!*\ diff --git a/81661.async.js b/81661.async.js index eb96a1aab8..e7eae8e735 100644 --- a/81661.async.js +++ b/81661.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[81661,59606,2441,75650,18117,57942,95002,79084,93691,11328,58447,77075,94657,89494,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[81661,59606,2441,75650,18117,57942,95002,79084,93691,11328,58447,77075,89494,94657,64649,33893,9277,54682,68282],{ /***/ 11475: /*!******************************************************************************************!*\ diff --git a/878.async.js b/878.async.js index 453ec8c7e9..5007881050 100644 --- a/878.async.js +++ b/878.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[878,59606,72029,2557,75650,93691,11328,58447,77075,94657,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[878,59606,72029,2557,75650,93691,11328,58447,77075,94657,64649,33893,9277,54682,68282],{ /***/ 77171: /*!**********************************************************************************!*\ diff --git a/93691.async.js b/93691.async.js index 9d45a4742c..d651097e18 100644 --- a/93691.async.js +++ b/93691.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[93691,59606,11328,58447,77075,94657,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[93691,59606,11328,58447,77075,94657,64649,33893,9277,54682,68282],{ /***/ 85418: /*!************************************************************!*\ diff --git a/94657.async.js b/94657.async.js index a72e587488..44e0e69602 100644 --- a/94657.async.js +++ b/94657.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[94657,59606,93691,11328,58447,77075,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[94657],{ /***/ 85418: /*!************************************************************!*\ @@ -743,65 +743,6 @@ const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { if (false) {} /* harmony default export */ var rate = (rate_Rate); -/***/ }), - -/***/ 64217: -/*!**********************************************!*\ - !*** ./node_modules/rc-util/es/pickAttrs.js ***! - \**********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": function() { return /* binding */ pickAttrs; } -/* harmony export */ }); -/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); - -var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"; -var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError"; -var propList = "".concat(attributes, " ").concat(eventsName).split(/[\s\n]+/); - -/* eslint-enable max-len */ -var ariaPrefix = 'aria-'; -var dataPrefix = 'data-'; -function match(key, prefix) { - return key.indexOf(prefix) === 0; -} -/** - * Picker props from exist props with filter - * @param props Passed props - * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config - */ -function pickAttrs(props) { - var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - var mergedConfig; - if (ariaOnly === false) { - mergedConfig = { - aria: true, - data: true, - attr: true - }; - } else if (ariaOnly === true) { - mergedConfig = { - aria: true - }; - } else { - mergedConfig = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, ariaOnly); - } - var attrs = {}; - Object.keys(props).forEach(function (key) { - if ( - // Aria - mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) || - // Data - mergedConfig.data && match(key, dataPrefix) || - // Attr - mergedConfig.attr && propList.includes(key)) { - attrs[key] = props[key]; - } - }); - return attrs; -} - /***/ }) }]); \ No newline at end of file diff --git a/95002.async.js b/95002.async.js index 056f56e051..1fa2e912ce 100644 --- a/95002.async.js +++ b/95002.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[95002,59606,18117,57942,79084,93691,11328,58447,77075,94657,89494,12750,64649,33893,9277,54682,68282],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[95002,59606,18117,57942,79084,93691,11328,58447,77075,89494,94657,64649,33893,9277,54682,68282],{ /***/ 11475: /*!******************************************************************************************!*\ diff --git a/p__Paths__Detail__id.async.js b/p__Paths__Detail__id.async.js index fded74e024..a08a2a760d 100644 --- a/p__Paths__Detail__id.async.js +++ b/p__Paths__Detail__id.async.js @@ -18883,6 +18883,9 @@ var knowledge_Atlas = function Atlas(_ref) { centered: true, onCancel: function onCancel() { setshowadd(false); + form.setFieldsValue({ + relation: null + }); }, okButtonProps: { loading: buttonloading @@ -18910,6 +18913,9 @@ var knowledge_Atlas = function Atlas(_ref) { res = _context15.sent; setbuttonloading(false); if (res.status === 0) { + form.setFieldsValue({ + relation: null + }); message/* default.info */.ZP.info('关联成功'); getdatas(); setAddModal(''); diff --git a/p__virtualSpaces__Lists__Knowledge__index.async.js b/p__virtualSpaces__Lists__Knowledge__index.async.js index fa42307fa0..b3844af445 100644 --- a/p__virtualSpaces__Lists__Knowledge__index.async.js +++ b/p__virtualSpaces__Lists__Knowledge__index.async.js @@ -1,9 +1,3588 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[38447],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[38447,12768,66390,11030],{ -/***/ 47447: +/***/ 96403: +/*!*********************************!*\ + !*** ./src/pages/tasks/util.js ***! + \*********************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Ax": function() { return /* binding */ processTreeData; }, +/* harmony export */ "Ds": function() { return /* binding */ debounce; }, +/* harmony export */ "KI": function() { return /* binding */ apiPref; }, +/* harmony export */ "SI": function() { return /* binding */ getTreeData; }, +/* harmony export */ "f1": function() { return /* binding */ isCompileOk; } +/* harmony export */ }); +/* unused harmony export isProd */ +/* harmony import */ var _utils_env__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/utils/env */ 59758); + +function isCompileOk(rs) { + var flag = true; + if (rs.length > 0) { + for (var i = 0; i < rs.length; i++) { + if (rs[i].compile_success == 0 || !rs[i].compile_success) { + flag = false; + break; + } + } + } else { + flag = false; + } + return flag; +} +function getTreeData(data) { + var parentKey = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; + var result = []; + for (var i = 0; i < data.length; i++) { + var item = data[i]; + var key = parentKey ? "".concat(parentKey, "/").concat(item.name) : "".concat(item.name); + result.push({ + title: item.name, + isLeaf: item.type === 'tree' ? false : true, + key: key + }); + } + return result; +} +function processTreeData(repos, key, newData) { + for (var i = 0; i < repos.length; i++) { + var item = repos[i]; + if (item.key === key) { + item.children = newData; + break; + } + if (item.children) { + processTreeData(item.children, key, newData); + } + } + return repos; +} +function debounce(func, wait, immediate) { + var timeout; + return function () { + var context = this, + args = arguments; + var later = function later() { + timeout = null; + if (!immediate) func.apply(context, args); + }; + var callNow = immediate && !timeout; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + if (callNow) func.apply(context, args); + }; +} +var isProd = true; +var apiPref = _utils_env__WEBPACK_IMPORTED_MODULE_0__/* ["default"].API_SERVER */ .Z.API_SERVER; +// export const isProd = +// window.location.href.indexOf('test-') > 0 || +// window.location.href.indexOf('localhost') > 0 +// ? false +// : true; + +// export const apiPref = isProd +// ? 'https://www.educoder.net' +// : 'https://test-newweb.educoder.net'; + +/***/ }), + +/***/ 82982: +/*!*****************************************!*\ + !*** ./src/components/NoData/index.tsx ***! + \*****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/assets/images/icons/nodata.png */ 4977); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd */ 71577); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + + + + + + +var noData = function noData(_ref) { + var img = _ref.img, + _ref$buttonProps = _ref.buttonProps, + buttonProps = _ref$buttonProps === void 0 ? {} : _ref$buttonProps, + _ref$styles = _ref.styles, + styles = _ref$styles === void 0 ? {} : _ref$styles, + customText = _ref.customText, + ButtonText = _ref.ButtonText, + ButtonClick = _ref.ButtonClick, + Buttonclass = _ref.Buttonclass, + ButtonTwo = _ref.ButtonTwo, + imgStyles = _ref.imgStyles, + _ref$loading = _ref.loading, + loading = _ref$loading === void 0 ? false : _ref$loading; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("section", { + className: "tc animated fadeIn", + style: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, { + color: '#999', + margin: '100px auto', + visibility: loading ? 'hidden' : 'visible' + }), styles), + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("img", { + src: img || _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_2__, + style: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, imgStyles) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("p", { + className: "mt20 font14", + children: customText || '暂时还没有相关数据哦!' + }), ButtonText && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(antd__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ + className: Buttonclass, + onClick: ButtonClick + }, buttonProps), {}, { + children: ButtonText + })), ButtonTwo && ButtonTwo] + }); +}; +/* harmony default export */ __webpack_exports__["Z"] = (noData); + +/***/ }), + +/***/ 36579: +/*!*********************************************************!*\ + !*** ./src/components/PreviewAll/index.tsx + 1 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ PreviewAll; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(42122); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(17061); +var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(17156); +var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(27424); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./src/components/PreviewAll/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var PreviewAllmodules = ({"wrp":"wrp___dq7YK","bgBlack":"bgBlack___ARIUV","monaco":"monaco___VnZC3","darkBlue":"darkBlue___UprA9","close":"close___LKoWu","embed":"embed___hvpEJ"}); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowDownOutlined.js + 1 modules +var ArrowDownOutlined = __webpack_require__(77171); +// EXTERNAL MODULE: ./src/components/monaco-editor/index.jsx + 3 modules +var monaco_editor = __webpack_require__(8691); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./src/utils/util.tsx +var util = __webpack_require__(29427); +// EXTERNAL MODULE: ./src/service/exercise.ts +var exercise = __webpack_require__(51412); +// EXTERNAL MODULE: ./src/components/NoData/index.tsx +var NoData = __webpack_require__(82982); +// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules +var env = __webpack_require__(59758); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/components/PreviewAll/index.tsx + + + + + + + + + + + + + + + + + +/* harmony default export */ var PreviewAll = (function (_ref) { + var _data, _data2, _data3, _data4, _data5, _data6; + var _ref$editOffice = _ref.editOffice, + editOffice = _ref$editOffice === void 0 ? 'view' : _ref$editOffice, + data = _ref.data, + theme = _ref.theme, + type = _ref.type, + filename = _ref.filename, + monacoEditor = _ref.monacoEditor, + className = _ref.className, + style = _ref.style, + close = _ref.close, + onClose = _ref.onClose, + hasMask = _ref.hasMask, + disabledDownload = _ref.disabledDownload, + onImgDimensions = _ref.onImgDimensions, + showNodata = _ref.showNodata; + var _useState = (0,react.useState)('https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt'), + _useState2 = slicedToArray_default()(_useState, 2), + src = _useState2[0], + setSrc = _useState2[1]; + var _useState3 = (0,react.useState)(""), + _useState4 = slicedToArray_default()(_useState3, 2), + token = _useState4[0], + setToken = _useState4[1]; + var _useState5 = (0,react.useState)(), + _useState6 = slicedToArray_default()(_useState5, 2), + officeData = _useState6[0], + setOfficeData = _useState6[1]; + var officePath = window.ENV === "build" ? "/react/build" : ""; + var apiServer = location.host.startsWith("localhost") ? env/* default.PROXY_SERVER */.Z.PROXY_SERVER : env/* default.API_SERVER */.Z.API_SERVER; + // let size; + var unit = 1024 * 1024; + var maxSize = 10 * unit; + var closeRef = (0,react.useRef)(); + if ((_data = data) !== null && _data !== void 0 && _data.startsWith("/api") && type !== "txt") { + data = env/* default.API_SERVER */.Z.API_SERVER + data; + } + // if (type === "office") { + // size = parseUrl(data).filesize + // if (size > maxSize) { + // type = "other" + // } + // } + if (filename) monacoEditor.filename = filename; + (0,react.useEffect)(function () { + var _document$cookie, _document$cookie$repl; + var cookies = (_document$cookie = document.cookie) === null || _document$cookie === void 0 ? void 0 : (_document$cookie$repl = _document$cookie.replace(/\s/g, "")) === null || _document$cookie$repl === void 0 ? void 0 : _document$cookie$repl.split(";"); + cookies === null || cookies === void 0 ? void 0 : cookies.map(function (item) { + var i = item.split("="); + if (i[0] === '_educoder_session') { + setToken(i[1]); + } + }); + }, []); + (0,react.useEffect)(function () { + if (type === "office") getData(); + }, [type, data]); + var getData = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var _url, _id, res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + console.log("data:", data); + _url = data; + if (!data.startsWith("http")) { + _url = location.origin + _url; + } + _id = new URL(_url).pathname.split("/").pop(); + _context.next = 6; + return (0,exercise/* setEcsAttachment */.gJ)({ + attachment_id: _id + }); + case 6: + res = _context.sent; + setOfficeData(res); + case 8: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function getData() { + return _ref2.apply(this, arguments); + }; + }(); + var handleClick = function handleClick() { + if (data.startsWith("http") || data.startsWith('blob:')) { + handleDown(); + return; + } + (0,util/* downloadFile */.Sv)(filename || 'educoder', data, filename); + }; + var handleDown = function handleDown() { + (0,util/* downLoadLink */.Nd)(filename || 'educoder', decodeURIComponent(data)); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: objectSpread2_default()({}, style || {}), + className: "".concat(hasMask && PreviewAllmodules.bgBlack, " ").concat(!!type ? PreviewAllmodules.wrp : "hide"), + children: [close && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: PreviewAllmodules.close, + ref: closeRef, + children: [!!onImgDimensions && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8", + getPopupContainer: function getPopupContainer() { + return closeRef.current; + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick() { + onClose(); + onImgDimensions(); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "icon-yulanpizhu" + }) + }) + }), !disabledDownload && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6", + getPopupContainer: function getPopupContainer() { + return closeRef.current; + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: handleDown, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "icon-quxiaozhiding" + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5173\u95ED", + getPopupContainer: function getPopupContainer() { + return closeRef.current; + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "", + onClick: onClose, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "icon-guanbi1" + }) + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(PreviewAllmodules[className], " ").concat(className, " ").concat(PreviewAllmodules.monaco, " ").concat(type === "txt" ? "show" : "hide"), + children: type === "txt" && /*#__PURE__*/(0,jsx_runtime.jsx)(monaco_editor/* default */.ZP, objectSpread2_default()({}, monacoEditor)) + }), type === "audio" && /*#__PURE__*/(0,jsx_runtime.jsx)("audio", { + src: "".concat(((_data2 = data) === null || _data2 === void 0 ? void 0 : _data2.indexOf("http://")) > -1 || ((_data3 = data) === null || _data3 === void 0 ? void 0 : _data3.indexOf("https://")) > -1 ? "" : "data:audio/mp3;base64,").concat(data), + autoPlay: true + }), type === "video" && /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: ((_data4 = data) === null || _data4 === void 0 ? void 0 : _data4.indexOf("http")) > -1 ? /*#__PURE__*/(0,jsx_runtime.jsx)("video", { + controls: true, + src: "".concat(data), + autoPlay: true + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("video", { + controls: true, + src: "data:video/mp4;base64,".concat(data), + autoPlay: true + }) + }), type === 'office' && officeData && /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { + src: "".concat(officePath, "/office.html?key=").concat(officeData.key, "&url=").concat(apiServer + officeData.url, "&callbackUrl=").concat(apiServer + officeData.callbackUrl, "&fileType=").concat(officeData.fileType, "&title=").concat(officeData.title, "&model=").concat(editOffice, "&officeServer=").concat(env/* default.ONLYOFFICE */.Z.ONLYOFFICE, "&disabledDownload=").concat(!!disabledDownload) + }), type === 'html' && /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { + src: data + '&disposition=inline' + }), type === 'pdf' && /*#__PURE__*/(0,jsx_runtime.jsx)("iframe", { + src: "".concat(officePath, "/js/pdfview/index.html?url=").concat(data, "&disabledDownload=").concat(!!disabledDownload) + }) // + , type === "image" && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: "".concat(((_data5 = data) === null || _data5 === void 0 ? void 0 : _data5.indexOf("http://")) > -1 || ((_data6 = data) === null || _data6 === void 0 ? void 0 : _data6.indexOf("https://")) > -1 ? "" : "data:image/png;base64,").concat(data) + }), (type === "other" || type === "download") && /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: showNodata ? /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, { + customText: "\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B", + ButtonTwo: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + icon: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-xiazai4 font14" + }), + type: "primary", + size: 'middle', + onClick: handleClick, + children: "\u4E0B\u8F7D" + }) + }) : /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, { + type: "primary", + size: 'middle', + onClick: handleClick, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ArrowDownOutlined/* default */.Z, {}), "\u70B9\u51FB\u4E0B\u8F7D"] + }) + })] + }); +}); + +/***/ }), + +/***/ 12768: +/*!*********************************************************!*\ + !*** ./src/components/RenderHtml/index.tsx + 1 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ RenderHtml; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(42122); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(27424); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/katex/dist/katex.min.css +var katex_min = __webpack_require__(81897); +// EXTERNAL MODULE: ./node_modules/marked/lib/marked.js +var marked = __webpack_require__(47084); +var marked_default = /*#__PURE__*/__webpack_require__.n(marked); +// EXTERNAL MODULE: ./node_modules/marked/src/helpers.js +var helpers = __webpack_require__(90621); +;// CONCATENATED MODULE: ./src/utils/marked.ts + + + +function indentCodeCompensation(raw, text) { + var matchIndentToCode = raw.match(/^(\s+)(?:```)/); + if (matchIndentToCode === null) { + return text; + } + var indentToCode = matchIndentToCode[1]; + return text.split('\n').map(function (node) { + var matchIndentInNode = node.match(/^\s+/); + if (matchIndentInNode === null) { + return node; + } + var _matchIndentInNode = slicedToArray_default()(matchIndentInNode, 1), + indentInNode = _matchIndentInNode[0]; + if (indentInNode.length >= indentToCode.length) { + return node.slice(indentToCode.length); + } + return node; + }).join('\n'); +} +//兼容之前的 ##标题式写法 +var toc = []; +var ctx = ["
    "]; +var renderer = new (marked_default()).Renderer(); +var headingRegex = /^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/; +function cleanToc() { + toc.length = 0; + ctx = ["
      "]; +} +var lines = { + overflow: "hidden", + WebkitBoxOrient: "vertical", + display: "-webkit-box", + WebkitLineClamp: 2 +}; +function buildToc(coll, k, level, ctx) { + if (k >= coll.length || coll[k].level <= level) { + return k; + } + var node = coll[k]; + ctx.push("
    • " + node.text + ""); + k++; + var childCtx = []; + k = buildToc(coll, k, node.level, childCtx); + if (childCtx.length > 0) { + ctx.push("
        "); + childCtx.forEach(function (idm) { + ctx.push(idm); + }); + ctx.push("
      "); + } + ctx.push("
    • "); + k = buildToc(coll, k, level, ctx); + return k; +} +function getTocContent() { + buildToc(toc, 0, 0, ctx); + ctx.push("
    "); + return ctx.join(""); +} +var tokenizer = { + heading: function heading(src) { + var cap = headingRegex.exec(src); + if (cap) { + return { + type: 'heading', + raw: cap[0], + depth: cap[1].length, + text: cap[2] + }; + } + }, + fences: function fences(src) { + var cap = this.rules.block.fences.exec(src); + if (cap) { + var raw = cap[0]; + var text = indentCodeCompensation(raw, cap[3] || ''); + var lang = cap[2] ? cap[2].trim() : cap[2]; + if (['latex', 'katex', 'math'].indexOf(lang) >= 0) { + var id = next_id(); + var expression = text; + text = id; + math_expressions[id] = { + type: 'block', + expression: expression + }; + } + return { + type: 'code', + raw: raw, + lang: lang, + text: text + }; + } + } +}; +var latexRegex = /(?:\${2})([^\n`]+?)(?:\${2})/gi; +var katex_count = 0; +var next_id = function next_id() { + return "__special_katext_id_".concat(katex_count++, "__"); +}; +var math_expressions = {}; +function getMathExpressions() { + return math_expressions; +} +function resetMathExpressions() { + katex_count = 0; + math_expressions = {}; +} +function replace_math_with_ids(text) { + text = text.replace(latexRegex, function (_match, expression) { + var id = next_id(); + math_expressions[id] = { + type: 'inline', + expression: expression + }; + return id; + }); + return text; +} +var original_listitem = renderer.listitem; +renderer.listitem = function (text) { + return original_listitem(replace_math_with_ids(text)); +}; +var original_paragraph = renderer.paragraph; +renderer.paragraph = function (text) { + return original_paragraph(replace_math_with_ids(text)); +}; +var original_tablecell = renderer.tablecell; +renderer.tablecell = function (content, flags) { + return original_tablecell(replace_math_with_ids(content), flags); +}; +renderer.code = function (code, infostring, escaped) { + var lang = (infostring || '').match(/\S*/)[0]; + if (!lang) { + return '
    ' + (escaped ? code : (0,helpers.escape)(code, true)) + '
    '; + } + if (['latex', 'katex', 'math'].indexOf(lang) >= 0) { + return "

    ".concat(code, "

    "); + } else { + return "
    ").concat(escaped ? code : (0,helpers.escape)(code, true), "
    \n"); + } +}; +renderer.heading = function (text, level, raw) { + var anchor = this.options.headerPrefix + raw.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g, '-'); + toc.push({ + anchor: anchor, + level: level, + text: text + }); + return '' + text + ''; +}; +marked_default().setOptions({ + silent: true, + gfm: true, + pedantic: false +}); +marked_default().use({ + tokenizer: tokenizer, + renderer: renderer +}); +/* harmony default export */ var utils_marked = ((marked_default())); +// EXTERNAL MODULE: ./node_modules/code-prettify/src/prettify.js +var prettify = __webpack_require__(11771); +// EXTERNAL MODULE: ./node_modules/hls.js/dist/hls.js +var dist_hls = __webpack_require__(67631); +var hls_default = /*#__PURE__*/__webpack_require__.n(dist_hls); +// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules +var env = __webpack_require__(59758); +// EXTERNAL MODULE: ./node_modules/katex/dist/katex.js +var katex = __webpack_require__(20527); +// EXTERNAL MODULE: ./node_modules/uuid/dist/esm-browser/v4.js + 4 modules +var v4 = __webpack_require__(25934); +// EXTERNAL MODULE: ./src/components/PreviewAll/index.tsx + 1 modules +var PreviewAll = __webpack_require__(36579); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/components/RenderHtml/index.tsx + + + + + + + + + + + + + + +var preRegex = /]*>/g; +function _unescape(str) { + var div = document.createElement('div'); + div.innerHTML = str; + return div.childNodes.length === 0 ? '' : div.childNodes[0].nodeValue; +} +/* harmony default export */ var RenderHtml = (function (_ref) { + var _ref$value = _ref.value, + value = _ref$value === void 0 ? '' : _ref$value, + className = _ref.className, + showTextOnly = _ref.showTextOnly, + showLines = _ref.showLines, + _ref$style = _ref.style, + style = _ref$style === void 0 ? {} : _ref$style, + _ref$stylesPrev = _ref.stylesPrev, + stylesPrev = _ref$stylesPrev === void 0 ? {} : _ref$stylesPrev, + highlightKeywords = _ref.highlightKeywords; + var str = String(value); + var _useState = (0,react.useState)(""), + _useState2 = slicedToArray_default()(_useState, 2), + data = _useState2[0], + setData = _useState2[1]; + var _useState3 = (0,react.useState)("office"), + _useState4 = slicedToArray_default()(_useState3, 2), + type = _useState4[0], + setType = _useState4[1]; + var classNamesRef = (0,react.useRef)("a" + (0,v4/* default */.Z)()); + var html = (0,react.useMemo)(function () { + try { + var reg = /\(\s+\/api\/attachments\/|\(\/api\/attachments\/|\(\/attachments\/download\//g; + var reg2 = /\"\/api\/attachments\/|\"\/attachments\/download\//g; + var reg3 = /\(\s+\/files\/uploads\/|\"\/files\/uploads\//g; + str = str.replace(reg, "(" + env/* default.API_SERVER */.Z.API_SERVER + "/api/attachments/").replace(reg2, '"' + env/* default.API_SERVER */.Z.API_SERVER + "/api/attachments/").replace(reg3, '"' + env/* default.API_SERVER */.Z.API_SERVER + "/files/uploads/").replaceAll("http://video.educoder", "https://video.educoder").replaceAll("http://www.educoder.net/api", "https://data.educoder.net/api").replaceAll("https://www.educoder.net/api", "https://data.educoder.net/api").replace(/\r\n/g, "\n"); + // str = str.replace(new RegExp("(?([\s\S]+?)<\/style>/gim, function (_, css) { + var _css = css.replace(/(\n|\r)/g, "").split("}"); + var arr = []; + _css.map(function (item) { + if (item != '') { + arr.push(".".concat(classNamesRef.current, " ").concat(item)); + } + }); + return ""); + }); + var math_expressions = getMathExpressions(); + if (str.match(/\[TOC\]/)) { + rs = rs.replace('

    [TOC]

    ', getTocContent()); + cleanToc(); + } + rs = rs.replace(/(__special_katext_id_\d+__)/g, function (_match, capture) { + var _math_expressions$cap = math_expressions[capture], + type = _math_expressions$cap.type, + expression = _math_expressions$cap.expression; + return (0,katex.renderToString)(_unescape(expression) || '', { + displayMode: type === 'block', + throwOnError: false, + output: 'html' + }); + }); + rs = rs.replace(/▁/g, '▁▁▁'); + resetMathExpressions(); + // return dompurify.sanitize(rs) + var dom = document.createElement('div'); + dom.innerHTML = rs; + if (highlightKeywords) { + var escapedKeywords = highlightKeywords.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); + findKeyword(dom, escapedKeywords); + return dom.innerHTML; + } + if (showTextOnly) { + return dom.innerText; + } + setTimeout(function () { + return onLoad(); + }, 500); + return dom.innerHTML; + }, [str, highlightKeywords]); + function findKeyword(node, keyword) { + return node.childNodes.forEach(function (childNode) { + if (childNode.childNodes.length > 0) { + findKeyword(childNode, keyword); + } else if (childNode.nodeName !== "IMG") { + if (childNode.innerHTML) { + var _childNode$innerHTML; + childNode.innerHTML = (_childNode$innerHTML = childNode.innerHTML) === null || _childNode$innerHTML === void 0 ? void 0 : _childNode$innerHTML.replace(new RegExp(keyword, "gi"), '$&'); + } else { + var dom = document.createElement("span"); + dom.innerHTML = childNode.textContent.replace(new RegExp(keyword, "gi"), '$&'); + childNode.replaceWith(dom); + } + } + }); + + // return dom.childNodes.forEach((node:any) => { + // console.log("nodeLen:",node.childNodes.length) + // if(node.childNodes.length > 0){ + // debugger + // // findKeyword(dom.childNodes,keyword) + // }else{ + // if(node.nodeName !== "#text"){ + // node.innerHTML = node.innerHTML.replaceAll(keyword,`${keyword}`) + // console.log("node:",node,dom,node.nodeName,node.innerHTML,node.childNodes.length) + // debugger + // } + // } + + // return node + // }); + } + + var el = (0,react.useRef)(); + lines.WebkitLineClamp = showLines; + if (showLines) { + style = objectSpread2_default()(objectSpread2_default()({}, style), lines); + } + function onAncherHandler(e) { + var target = e.target; + if (target.tagName.toUpperCase() === 'A') { + var ancher = target.getAttribute('href'); + if (ancher.indexOf("office") > -1) { + e.preventDefault(); + setData(ancher); + setType("office"); + } else if (ancher.indexOf("application/pdf") > -1) { + e.preventDefault(); + setData(ancher); + setType("pdf"); + } else if (ancher.indexOf("text/html") > -1) { + e.preventDefault(); + setData(ancher); + setType("html"); + } else if (ancher.startsWith('#')) { + e.preventDefault(); + var viewEl = document.getElementById(ancher.replace('#', '')); + if (viewEl) { + viewEl.scrollIntoView(true); + } + } + } + } + var onLoad = function onLoad() { + var _el$current; + var videoElement = (_el$current = el.current) === null || _el$current === void 0 ? void 0 : _el$current.querySelectorAll('video'); + videoElement === null || videoElement === void 0 ? void 0 : videoElement.forEach(function (item) { + item.oncontextmenu = function () { + return false; + }; + if (item.src.indexOf('.m3u8') > -1) { + if (item.canPlayType('application/vnd.apple.mpegurl')) {} else if (hls_default().isSupported()) { + var hls = new (hls_default())(); + hls.loadSource(item.src); + hls.attachMedia(item); + } + } + }); + }; + (0,react.useEffect)(function () { + if (el.current && html) { + if (html.match(preRegex)) { + window.PR.prettyPrint(); + } + } + if (el.current) { + el.current.addEventListener('click', onAncherHandler); + return function () { + var _el$current2; + (_el$current2 = el.current) === null || _el$current2 === void 0 ? void 0 : _el$current2.removeEventListener('click', onAncherHandler); + resetMathExpressions(); + cleanToc(); + }; + } + }, [html, el.current, onAncherHandler]); + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [showTextOnly && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + ref: el, + children: html + }), !showTextOnly && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + ref: el, + style: objectSpread2_default()({}, style), + className: "".concat(className ? className : '', " markdown-body ").concat(classNamesRef.current), + dangerouslySetInnerHTML: { + __html: html + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)(PreviewAll/* default */.Z, { + close: true, + data: data, + type: !!(data !== null && data !== void 0 && data.length) ? type : "", + style: objectSpread2_default()({}, stylesPrev), + onClose: function onClose() { + return setData(""); + } + })] + }); +}); + +/***/ }), + +/***/ 97501: +/*!*************************************************************!*\ + !*** ./src/components/markdown-editor/code-block/index.tsx ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "h": function() { return /* binding */ MyCodeMirror; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd */ 79035); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! antd */ 25159); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! antd */ 71577); +/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! codemirror */ 4631); +/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(codemirror__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var codemirror_lib_codemirror_css__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! codemirror/lib/codemirror.css */ 71749); +/* harmony import */ var codemirror_theme_blackboard_css__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! codemirror/theme/blackboard.css */ 30483); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + + + + + + + + + +var Option = antd__WEBPACK_IMPORTED_MODULE_7__/* ["default"].Option */ .Z.Option; + +//https://github.com/codemirror/CodeMirror/issues/4838 +var formItemLayout = { + labelCol: { + span: 4 + }, + wrapperCol: { + span: 20 + } +}; +var LanguageDesc = { + asp: ['ASP', 'vbscript'], + actionscript: ['ActionScript(3.0)/Flash/Flex', 'clike'], + bash: ['Bash/Bat', 'shell'], + css: ['CSS', 'css'], + c: ['C', 'clike'], + cpp: ['C++', 'clike'], + csharp: ['C#', 'clike'], + coffeescript: ['CoffeeScript', 'coffeescript'], + d: ['D', 'd'], + dart: ['Dart', 'dart'], + delphi: ['Delphi/Pascal', 'pascal'], + erlang: ['Erlang', 'erlang'], + go: ['Golang', 'go'], + groovy: ['Groovy', 'groovy'], + html: ['HTML', 'text/html'], + java: ['Java', 'clike'], + json: ['JSON', 'text/json'], + javascript: ['Javascript', 'javascript'], + lua: ['Lua', 'lua'], + less: ['LESS', 'css'], + markdown: ['Markdown', 'gfm'], + 'objective-c': ['Objective-C', 'clike'], + php: ['PHP', 'php'], + perl: ['Perl', 'perl'], + python: ['Python', 'python'], + r: ['R', 'r'], + rst: ['reStructedText', 'rst'], + ruby: ['Ruby', 'ruby'], + sql: ['SQL', 'sql'], + sass: ['SASS/SCSS', 'sass'], + shell: ['Shell', 'shell'], + scala: ['Scala', 'clike'], + swift: ['Swift', 'clike'], + vb: ['VB/VBScript', 'vb'], + xml: ['XML', 'text/xml'], + yaml: ['YAML', 'yaml'] +}; +/* harmony default export */ __webpack_exports__["Z"] = (function (_ref) { + var callback = _ref.callback, + onCancel = _ref.onCancel; + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)('python'), + _useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default()(_useState, 2), + mode = _useState2[0], + setMode = _useState2[1]; + function onSetMode(value) { + setMode(LanguageDesc[value][1]); + } + function onSubmit(values) { + callback(values); + } + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, formItemLayout), {}, { + className: "code-block-panel", + initialValues: { + language: 'python', + content: '' + }, + onFinish: onSubmit, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_8__/* ["default"].Item */ .Z.Item, { + label: "\u4EE3\u7801\u8BED\u8A00", + name: "language", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, { + getPopupContainer: function getPopupContainer(trigger) { + return trigger.parentNode; + }, + onChange: onSetMode, + children: Object.keys(LanguageDesc).map(function (item) { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(Option, { + value: item, + children: LanguageDesc[item][0] + }, item); + }) + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_8__/* ["default"].Item */ .Z.Item, { + label: "\u4EE3\u7801\u5185\u5BB9", + name: "content", + rules: [{ + required: true, + message: '请输入代码内容' + }], + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(MyCodeMirror, { + mode: mode + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { + className: "flex-container flex-end", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .ZP, { + type: "primary", + htmlType: "submit", + style: { + marginRight: 10 + }, + children: "\u786E\u5B9A" + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .ZP, { + type: "ghost", + onClick: onCancel, + children: "\u53D6\u6D88" + })] + })] + })); +}); +function MyCodeMirror(_ref2) { + var value = _ref2.value, + onChange = _ref2.onChange, + mode = _ref2.mode, + _ref2$options = _ref2.options, + options = _ref2$options === void 0 ? {} : _ref2$options; + var el = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(); + var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(), + _useState4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default()(_useState3, 2), + cm = _useState4[0], + setCm = _useState4[1]; + (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () { + if (cm) { + var onChangeHandler = function onChangeHandler(cm) { + var content = cm.getValue(); + onChange && onChange(content); + }; + cm.on('change', onChangeHandler); + return function () { + cm.off('change', onChangeHandler); + }; + } + }, [cm, onChange]); + (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () { + if (cm) { + cm.setOption('mode', mode); + } + }, [cm, mode]); + (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () { + if (cm) { + if (value !== cm.getValue() || value === '') { + setTimeout(function () { + cm.setValue(value || ''); + }, 300); + } + } + }, [cm, value]); + (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () { + if (el.current && !cm) { + var instance = codemirror__WEBPACK_IMPORTED_MODULE_3___default().fromTextArea(el.current, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ + mode: mode, + lineNumbers: true, + lineWrapping: true, + autoCloseBrackets: true, + tabSize: 4, + autofocus: true, + autoCloseTags: true, + matchBrackets: true, + styleActiveLine: true + }, options)); + setCm(instance); + } + }, [el.current, cm]); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { + className: "my-codemirror-container", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("textarea", { + ref: el + }) + }); +} + +/***/ }), + +/***/ 55373: +/*!***************************************************************!*\ + !*** ./src/components/markdown-editor/index.tsx + 10 modules ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ markdown_editor; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +var createForOfIteratorHelper = __webpack_require__(74704); +var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(27424); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/defineProperty.js +var defineProperty = __webpack_require__(38416); +var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/codemirror/lib/codemirror.js +var codemirror = __webpack_require__(4631); +var codemirror_default = /*#__PURE__*/__webpack_require__.n(codemirror); +// EXTERNAL MODULE: ./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +var ResizeObserver_es = __webpack_require__(91033); +// EXTERNAL MODULE: ./node_modules/codemirror/lib/codemirror.css +var lib_codemirror = __webpack_require__(71749); +// EXTERNAL MODULE: ./node_modules/codemirror/addon/edit/closetag.js +var closetag = __webpack_require__(57341); +// EXTERNAL MODULE: ./node_modules/codemirror/addon/edit/closebrackets.js +var closebrackets = __webpack_require__(82801); +// EXTERNAL MODULE: ./node_modules/codemirror/addon/display/placeholder.js +var placeholder = __webpack_require__(88386); +// EXTERNAL MODULE: ./node_modules/codemirror/mode/markdown/markdown.js +var markdown = __webpack_require__(49047); +// EXTERNAL MODULE: ./node_modules/codemirror/mode/stex/stex.js +var stex = __webpack_require__(80785); +;// CONCATENATED MODULE: ./src/components/markdown-editor/index.less +// extracted by mini-css-extract-plugin + +// EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 1 modules +var RenderHtml = __webpack_require__(12768); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/components/RenderHtml/stex.tsx + +// const latexjs = require('latex-l.js/dist/latex.js'); +// import "latex-l.js/dist/css/base.css" + + +/* harmony default export */ var RenderHtml_stex = (function (_ref) { + var _ref$value = _ref.value, + value = _ref$value === void 0 ? '' : _ref$value, + className = _ref.className, + showTextOnly = _ref.showTextOnly, + showLines = _ref.showLines, + _ref$style = _ref.style, + style = _ref$style === void 0 ? {} : _ref$style; + var html = (0,react.useMemo)(function () { + // try { + // const latex = value || 'This is some text'; + // let generator = new latexjs.default.HtmlGenerator({ hyphenate: true }) + // let doc = latexjs.default.parse(latex, { generator: generator }).htmlDocument() + // return doc.body.innerHTML + // }catch(e){ + // console.log("e:",e) + // return "错误的latex语法,请检查" + // } + return ""; + }, [value]); + return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + dangerouslySetInnerHTML: { + __html: html + } + }) + }); +}); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(42122); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +;// CONCATENATED MODULE: ./src/components/markdown-editor/toolbar/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./src/components/markdown-editor/css/iconfont.css +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./src/components/markdown-editor/toolbar/index.tsx + + + + + + +var DEFAULTICONS = [{ + title: '粗体', + icon: 'icon-bold', + actionName: 'bold' +}, { + title: '斜体', + icon: 'icon-italic', + actionName: 'italic' +}, '|', { + title: '无序列表', + icon: 'icon-unorder-list', + actionName: 'list-ul' +}, { + title: '有序列表', + icon: 'icon-order-list', + actionName: 'list-ol' +}, '|', { + title: '行内代码', + icon: 'icon-code', + actionName: 'code' +}, { + title: '代码块(多语言风格)', + icon: 'icon-file-code', + actionName: 'code-block' +}, { + title: '链接', + icon: 'icon-link', + actionName: 'link' +}, '|', { + title: '行内公式', + icon: 'icon-sum', + actionName: 'inline-latex' +}, { + title: '多行公式', + icon: 'icon-formula', + actionName: 'latex' +}, '|', { + title: '添加图片', + icon: 'icon-picture', + actionName: 'upload-image' +}, { + title: '表格', + icon: 'icon-table', + actionName: 'add-table' +}, '|', { + title: '换行', + icon: 'icon-minus', + actionName: 'line-break' +}, { + title: '清空', + icon: 'icon-eraser', + actionName: 'eraser' +}]; +function AButton(_ref) { + var onActionCallback = _ref.onActionCallback, + title = _ref.title, + icon = _ref.icon, + actionName = _ref.actionName, + _ref$className = _ref.className, + className = _ref$className === void 0 ? '' : _ref$className, + children = _ref.children; + function onAction() { + onActionCallback(actionName); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("a", { + title: title, + className: className, + onClick: onAction, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "md-iconfont ".concat(icon) + }), children] + }); +} +/* harmony default export */ var toolbar = (function (_ref2) { + var watch = _ref2.watch, + showNullButton = _ref2.showNullButton, + onActionCallback = _ref2.onActionCallback, + fullScreen = _ref2.fullScreen, + insertTemp = _ref2.insertTemp, + hidetoolBar = _ref2.hidetoolBar; + var icons = [].concat(DEFAULTICONS, [{ + title: "".concat(watch ? '关闭实时预览' : '开启实时预览'), + icon: "".concat(watch ? 'icon-eye-slash' : 'icon-eye'), + actionName: 'trigger-watch' + }]); + return /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + className: "markdown-toolbar-container", + children: [!hidetoolBar && icons.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("li", { + children: item.actionName ? /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, objectSpread2_default()(objectSpread2_default()({}, item), {}, { + onActionCallback: onActionCallback + })) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "v-line" + }) + }, index); + }), showNullButton ? /*#__PURE__*/(0,jsx_runtime.jsx)("li", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, { + icon: "icon-edit insert-blank", + className: "btn-null", + title: "\u589E\u52A0\u586B\u7A7A", + actionName: "add-null-ch", + onActionCallback: onActionCallback, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "fill-tip", + children: "\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879" + }) + }) + }) : null, insertTemp && /*#__PURE__*/(0,jsx_runtime.jsx)("li", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, { + icon: "icon-edit", + className: "btn-null", + title: "\u63D2\u5165\u6A21\u677F", + actionName: "inster-template-".concat(insertTemp), + onActionCallback: onActionCallback, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "fill-tip", + children: "\u63D2\u5165\u6A21\u677F" + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { + className: "btn-full-screen", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, { + icon: "".concat(fullScreen ? 'icon-shrink' : 'icon-enlarge'), + title: fullScreen ? '关闭全屏' : '开启全屏', + actionName: "trigger-full-screen", + onActionCallback: onActionCallback + }) + })] + }); +}); +// EXTERNAL MODULE: ./src/components/modal.tsx +var modal = __webpack_require__(12264); +// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules +var es_form = __webpack_require__(25159); +// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules +var input = __webpack_require__(79531); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +;// CONCATENATED MODULE: ./src/components/markdown-editor/link/index.tsx + + + + + +var formItemLayout = { + labelCol: { + span: 4 + }, + wrapperCol: { + span: 20 + } +}; +/* harmony default export */ var markdown_editor_link = (function (_ref) { + var callback = _ref.callback, + onCancel = _ref.onCancel; + function onSubmit(values) { + callback(values); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, formItemLayout), {}, { + initialValues: { + link: 'http://', + title: '' + }, + className: "link-panel", + onFinish: onSubmit, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + label: "\u94FE\u63A5\u5730\u5740", + name: "link", + rules: [{ + required: true, + message: '请输入链接地址' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {}) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + label: "\u94FE\u63A5\u6807\u9898", + name: "title", + rules: [{ + required: true, + message: '请输入链接标题' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {}) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "flex-container flex-end", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "primary", + htmlType: "submit", + style: { + marginRight: 10 + }, + children: "\u786E\u5B9A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "ghost", + onClick: onCancel, + children: "\u53D6\u6D88" + })] + })] + })); +}); +// EXTERNAL MODULE: ./src/components/markdown-editor/code-block/index.tsx +var code_block = __webpack_require__(97501); +// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 4 modules +var message = __webpack_require__(2453); +;// CONCATENATED MODULE: ./src/components/markdown-editor/upload-image/index.less +// extracted by mini-css-extract-plugin + +// EXTERNAL MODULE: ./src/pages/tasks/util.js +var util = __webpack_require__(96403); +;// CONCATENATED MODULE: ./src/components/markdown-editor/upload-image/index.tsx + + + + + + + + +var useForm = es_form/* default.useForm */.Z.useForm; +var style = { + width: 280, + marginRight: 10 +}; +var upload_image_formItemLayout = { + labelCol: { + span: 5 + }, + wrapperCol: { + span: 19 + } +}; +/* harmony default export */ var upload_image = (function (_ref) { + var callback = _ref.callback, + onCancel = _ref.onCancel; + var _useForm = useForm(), + _useForm2 = slicedToArray_default()(_useForm, 1), + form = _useForm2[0]; + function onSubmit(values) { + callback(values); + } + function onAddUrl(data, file) { + if (data.status === -1) { + message/* default.error */.ZP.error(data.message); + return; + } + form.setFieldsValue({ + src: "/api/attachments/".concat(data.id), + type: file.type + }); + } + function onFileChange(e) { + var file = e.target.files[0]; + uploadImage(file, onAddUrl); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, objectSpread2_default()(objectSpread2_default()({ + form: form + }, upload_image_formItemLayout), {}, { + className: "upload-image-panel", + onFinish: onSubmit, + style: { + width: 470, + overflow: "hidden" + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + label: "\u56FE\u7247\u5730\u5740", + required: true, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "flex-container", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + noStyle: true, + name: "src", + rules: [{ + required: true, + message: '请输入图片地址' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + style: style + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(UploadButton, { + onFileChange: onFileChange + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + label: "\u56FE\u7247\u63CF\u8FF0", + name: "alt" + // rules={[{ required: true, message: '请输入图片描述' }]} + , + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + style: { + width: 264 + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default.Item */.Z.Item, { + style: { + textAlign: "right" + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "primary", + htmlType: "submit", + style: { + marginRight: 10 + }, + children: "\u786E\u5B9A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "default", + onClick: onCancel, + children: "\u53D6\u6D88" + })] + })] + })); +}); +function UploadButton(_ref2) { + var onFileChange = _ref2.onFileChange; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("label", { + className: "upload-button", + style: { + cursor: "pointer" + }, + children: ["\u672C\u5730\u4E0A\u4F20", /*#__PURE__*/(0,jsx_runtime.jsx)("input", { + type: "file", + onChange: onFileChange + })] + }); +} +function uploadImage(file, callback) { + if (!file) { + throw new String('没有文件'); + return; + } + var formData = new FormData(); + formData.append('editormd-image-file', file); + formData.append('file_param_name', 'editormd-image-file'); + formData.append('byxhr', 'true'); + var xhr = new window.XMLHttpRequest(); + xhr.withCredentials = true; + xhr.addEventListener('load', function (response) { + callback(JSON.parse(response.target.responseText), file); + }, false); + xhr.addEventListener('error', function (error) { + console.error(error); + }, false); + xhr.open('POST', "".concat(util/* apiPref */.KI, "/api/attachments.json")); + xhr.send(formData); +} +// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 5 modules +var es_radio = __webpack_require__(78045); +// EXTERNAL MODULE: ./node_modules/antd/es/input-number/index.js + 21 modules +var input_number = __webpack_require__(31795); +;// CONCATENATED MODULE: ./src/components/markdown-editor/add-table-panel/index.tsx + + + + +var RadioGroup = es_radio/* default.Group */.ZP.Group; +var add_table_panel_style = { + margin: '0 8px' +}; +/* harmony default export */ var add_table_panel = (function (_ref) { + var callback = _ref.callback, + onCancel = _ref.onCancel; + function onSubmit(values) { + callback(values); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + className: "add-table-panel", + initialValues: { + row: 3, + col: 2, + align: 'default' + }, + onFinish: onSubmit, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "flex-container", + style: { + alignItems: "baseline" + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: add_table_panel_style, + children: "\u5355\u5143\u683C\u6570\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: add_table_panel_style, + children: "\u884C\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "row", + rules: [{ + required: true, + message: '请输入行数' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {}) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: add_table_panel_style, + children: "\u5217\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "col", + rules: [{ + required: true, + message: '请输入列数' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {}) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "flex-container", + style: { + marginTop: 12, + alignItems: "baseline" + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: add_table_panel_style, + children: "\u5BF9\u9F50\u65B9\u5F0F\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "align", + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(RadioGroup, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: "default", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "fa fa-align-justify" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: "left", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "fa fa-align-left" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: "center", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "fa fa-align-center" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default */.ZP, { + value: "right", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "fa fa-align-right" + }) + })] + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "flex-container flex-end", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "primary", + htmlType: "submit", + style: { + marginRight: 10 + }, + children: "\u786E\u5B9A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "ghost", + onClick: onCancel, + children: "\u53D6\u6D88" + })] + })] + }); +}); +// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules +var env = __webpack_require__(59758); +// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 39 modules +var es_modal = __webpack_require__(72423); +;// CONCATENATED MODULE: ./src/components/markdown-editor/constant.ts +var LINK = 'link'; +var UPLOAD_IMAGE = 'upload-image'; +var CODE_BLOCK = 'code-block'; +var ADD_TABLE = 'add-table'; +var HRLINE = '------------'; +var ALIGNSIGN = { + "default": HRLINE, + left: ":".concat(HRLINE), + center: ":".concat(HRLINE, ":"), + right: "".concat(HRLINE, ":") +}; +// EXTERNAL MODULE: ./src/components/useInterval.tsx +var useInterval = __webpack_require__(61891); +;// CONCATENATED MODULE: ./src/components/markdown-editor/index.tsx + + + +var _DEFAULTKEYMAP, _TitleDesc; + + + + + + + + + + + + + + + + + + + + + + + + +function noop() {} +var pending = 0; +var StorageTimeTicket = 10000; +var NULL_CH = '▁'; +var TEMP1 = '\n**模板标题**\n模板正文内容,可输入文本内容和粘贴图片等操作'; //课程须知模板 +function processSize(size) { + return !/^\d+$/.test(size) ? size : "".concat(size, "px"); +} +var isMac = navigator.platform.toUpperCase().indexOf('MAC') >= 0; +var key = isMac ? 'Cmd' : 'Ctrl'; +var DEFAULTKEYMAP = (_DEFAULTKEYMAP = {}, defineProperty_default()(_DEFAULTKEYMAP, key + '-B', 'bold'), defineProperty_default()(_DEFAULTKEYMAP, key + '-I', 'italic'), _DEFAULTKEYMAP); +var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '添加链接'), defineProperty_default()(_TitleDesc, CODE_BLOCK, '添加代码块'), defineProperty_default()(_TitleDesc, UPLOAD_IMAGE, '添加图片'), defineProperty_default()(_TitleDesc, ADD_TABLE, '添加表格'), _TitleDesc); + +//https://codemirror.net/demo +//The height can be set through CSS (by giving the .CodeMirror class a height property), or by calling the cm's setSize method. +/* harmony default export */ var markdown_editor = (function (_ref) { + var _ref$defaultValue = _ref.defaultValue, + defaultValue = _ref$defaultValue === void 0 ? '' : _ref$defaultValue, + onChange = _ref.onChange, + _ref$width = _ref.width, + width = _ref$width === void 0 ? '100%' : _ref$width, + _ref$height = _ref.height, + height = _ref$height === void 0 ? 400 : _ref$height, + _ref$miniToolbar = _ref.miniToolbar, + miniToolbar = _ref$miniToolbar === void 0 ? false : _ref$miniToolbar, + _ref$isFocus = _ref.isFocus, + isFocus = _ref$isFocus === void 0 ? false : _ref$isFocus, + watch = _ref.watch, + insertTemp = _ref.insertTemp, + _ref$mode = _ref.mode, + mode = _ref$mode === void 0 ? "markdown" : _ref$mode, + _ref$id = _ref.id, + id = _ref$id === void 0 ? 'markdown-editor-id' : _ref$id, + _ref$showResizeBar = _ref.showResizeBar, + showResizeBar = _ref$showResizeBar === void 0 ? false : _ref$showResizeBar, + _ref$noStorage = _ref.noStorage, + noStorage = _ref$noStorage === void 0 ? false : _ref$noStorage, + _ref$showNullButton = _ref.showNullButton, + showNullButton = _ref$showNullButton === void 0 ? false : _ref$showNullButton, + _ref$hidetoolBar = _ref.hidetoolBar, + hidetoolBar = _ref$hidetoolBar === void 0 ? false : _ref$hidetoolBar, + _ref$fullScreen = _ref.fullScreen, + fullScreen = _ref$fullScreen === void 0 ? false : _ref$fullScreen, + onBlur = _ref.onBlur, + onCMBeforeChange = _ref.onCMBeforeChange, + onFullScreen = _ref.onFullScreen, + _ref$className = _ref.className, + className = _ref$className === void 0 ? '' : _ref$className, + _ref$disablePaste = _ref.disablePaste, + disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste, + _ref$disabled = _ref.disabled, + disabled = _ref$disabled === void 0 ? false : _ref$disabled, + _ref$placeholder = _ref.placeholder, + placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder, + _ref$values = _ref.values, + values = _ref$values === void 0 ? '' : _ref$values; + var _useState = (0,react.useState)(null), + _useState2 = slicedToArray_default()(_useState, 2), + cm = _useState2[0], + setCm = _useState2[1]; + var _useState3 = (0,react.useState)(defaultValue), + _useState4 = slicedToArray_default()(_useState3, 2), + value = _useState4[0], + setValue = _useState4[1]; + var _useState5 = (0,react.useState)(watch), + _useState6 = slicedToArray_default()(_useState5, 2), + preview = _useState6[0], + setPreview = _useState6[1]; + var _useState7 = (0,react.useState)(fullScreen), + _useState8 = slicedToArray_default()(_useState7, 2), + isFull = _useState8[0], + setIsFull = _useState8[1]; + var _useState9 = (0,react.useState)(''), + _useState10 = slicedToArray_default()(_useState9, 2), + action = _useState10[0], + setAction = _useState10[1]; + var _useState11 = (0,react.useState)(0), + _useState12 = slicedToArray_default()(_useState11, 2), + lastedUpdateTime = _useState12[0], + setLastedUpdateTime = _useState12[1]; + var _useState13 = (0,react.useState)(height), + _useState14 = slicedToArray_default()(_useState13, 2), + h = _useState14[0], + setH = _useState14[1]; + var _useState15 = (0,react.useState)(false), + _useState16 = slicedToArray_default()(_useState15, 2), + tip = _useState16[0], + setTip = _useState16[1]; + var cmEl = (0,react.useRef)(); + var containerEl = (0,react.useRef)(); + var resizeBarEl = (0,react.useRef)(); + var previewEl = (0,react.useRef)(); + + // useEffect(() => { + // setValue(defaultValue) + // cm?.setValue(defaultValue) + // },[]) + (0,react.useEffect)(function () { + setValue(values); + cm === null || cm === void 0 ? void 0 : cm.setValue(values); + }, [values]); + (0,react.useEffect)(function () { + onFullScreen === null || onFullScreen === void 0 ? void 0 : onFullScreen(isFull); + }, [isFull]); + (0,react.useEffect)(function () { + if (cmEl.current) { + var onPaste = function onPaste(_, e) { + if (disablePaste) { + e.preventDefault(); + return; + } + var clipboardData = e.clipboardData; + if (clipboardData) { + var types = clipboardData.types.toString(); + var items = clipboardData.items; + var officeSix = ["pptm", "pptx", "ppt", "pot", "pps", "ppa", "potx", "ppsx", "ppam", "pptm", "potm", "ppsm", "doc", "docx", "dot", "dotx", "docm", "dotm", "xls", "xlsx", "csv", "xlt", "xla", "xltx", "xlsm", "xltm", "xlam", "xlsb"]; + if (types === 'Files' || clipboardData.types.indexOf("Files") > -1) { + e.preventDefault(); + if (mode == "stex") return; + try { + var _items$; + var item = items[1]; + if (((_items$ = items[0]) === null || _items$ === void 0 ? void 0 : _items$.kind) === 'file') { + item = items[0]; + } + var file = item.getAsFile(); + var fileSix = file.name.split(".").pop(); + // console.log("item:", item, file, item?.type?.match(/^video\//i)) + uploadImage(file, function (data) { + if (data.id) { + var _file$type, _file$type2, _file$type3; + if ((file === null || file === void 0 ? void 0 : (_file$type = file.type) === null || _file$type === void 0 ? void 0 : _file$type.indexOf("image")) > -1) { + instance.replaceSelection("![,](/api/attachments/".concat(data.id, "?type=").concat(data.content_type, ")")); + } else if ((file === null || file === void 0 ? void 0 : (_file$type2 = file.type) === null || _file$type2 === void 0 ? void 0 : _file$type2.indexOf("video")) > -1) { + instance.replaceSelection("")); + } else if ((file === null || file === void 0 ? void 0 : (_file$type3 = file.type) === null || _file$type3 === void 0 ? void 0 : _file$type3.indexOf("pdf")) > -1) { + instance.replaceSelection("").concat(file.name, "")); + } else if (officeSix.includes(fileSix)) { + instance.replaceSelection("").concat(file.name, "")); + } else { + instance.replaceSelection("[".concat(file.name, "](").concat(env/* default.API_SERVER */.Z.API_SERVER, "/api/attachments/").concat(data.id, "?type=").concat(data.content_type, ")")); + } + } else { + if ((data === null || data === void 0 ? void 0 : data.status) === 401) document.location.href = '/user/login'; + } + }); + } catch (e) { + message/* default.warning */.ZP.warning("请使用chrome浏览器粘贴"); + } + return true; + } else { + //toMarkdown ? + // let html = clipboardData.getData('text/html') + return true; + } + } + return true; + }; + var instance = codemirror_default().fromTextArea(cmEl.current, { + mode: mode, + // inputStyle: 'contenteditable', + lineNumbers: miniToolbar ? false : true, + lineWrapping: true, + value: defaultValue, + autoCloseTags: true, + autoCloseBrackets: true + }); + isFocus && instance.focus(); + instance.on('paste', onPaste); + if (disabled) { + instance.on("beforeChange", function (instances, change) { + if (change.origin === "paste" || change.origin === "+input") { + change.cancel(); + } + }); + } + setCm(instance); + return function () { + instance.off('paste', onPaste); + }; + } + }, []); + var resizeEditorBodyHeight = (0,react.useCallback)(function () { + if (containerEl.current) { + try { + // let toolH = containerEl.current.getElementsByClassName('markdown-toolbar-container')[0].offsetHeight + // let mdBody = containerEl.current.getElementsByClassName('markdown-editor-body')[0] + // if (!isFull) { + // mdBody.style.height = `${h - toolH}px` + // } else { + // mdBody.style.height = `calc(100vh - ${toolH}px)` + // } + } catch (error) { + console.log(error, '---- to set md editor body height'); + } + } + }, [h, containerEl, isFull]); + (0,react.useEffect)(function () { + function onLayout() { + var ro = new ResizeObserver_es/* default */.Z(function (entries) { + var _iterator = createForOfIteratorHelper_default()(entries), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var entry = _step.value; + if (entry.target.offsetHeight > 0 || entry.target.offsetWidth > 0) { + resizeEditorBodyHeight(); + cm.setSize('100%', '100%'); + cm.refresh(); + } + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + }); + ro.observe(cmEl.current.parentElement); + return ro; + } + if (cm) { + var ro = onLayout(); + return function () { + var _cmEl$current, _cmEl$current2; + if ((_cmEl$current = cmEl.current) !== null && _cmEl$current !== void 0 && _cmEl$current.parentElement) ro.unobserve((_cmEl$current2 = cmEl.current) === null || _cmEl$current2 === void 0 ? void 0 : _cmEl$current2.parentElement); + }; + } + }, [cm, resizeEditorBodyHeight]); + + //keymap + (0,react.useEffect)(function () { + if (cm) { + var keymap = []; + var _loop = function _loop() { + var _Object$entries$_i = slicedToArray_default()(_Object$entries[_i], 2), + k = _Object$entries$_i[0], + value = _Object$entries$_i[1]; + var map = defineProperty_default()({}, k, function () { + onActionCallback(value); + }); + keymap.push(map); + cm.addKeyMap(map); + }; + for (var _i = 0, _Object$entries = Object.entries(DEFAULTKEYMAP); _i < _Object$entries.length; _i++) { + _loop(); + } + return function () { + for (var _i2 = 0, _keymap = keymap; _i2 < _keymap.length; _i2++) { + var m = _keymap[_i2]; + cm.removeKeyMap(m); + } + }; + } + }, [cm]); + (0,react.useEffect)(function () { + if (fullScreen !== isFull) { + setIsFull(fullScreen); + } + }, [fullScreen]); + (0,useInterval/* default */.Z)(function () { + if (!noStorage && lastedUpdateTime > 0) { + var currentTime = new Date().getTime(); + var lastedValue = window.sessionStorage.getItem(id); + if (currentTime >= lastedUpdateTime + StorageTimeTicket && (!lastedValue || lastedValue !== value)) { + window.sessionStorage.setItem(id, value); + setTip(true); + } + } + }, StorageTimeTicket); + (0,react.useEffect)(function () { + setPreview(watch); + }, [cm, watch]); + (0,react.useEffect)(function () { + if (cm) { + isFocus && cm.focus(); + } + }, [cm, isFocus]); + (0,react.useEffect)(function () { + if (preview && cm) { + var syncScroll = function syncScroll(e) { + var target = e.target; + if (previewEl.current) { + var ratio = target.scrollTop / target.scrollHeight; + previewEl.current.scrollTop = previewEl.current.scrollHeight * ratio; + } + }; + var scrollEl = cm.getScrollerElement(); + scrollEl.addEventListener('scroll', syncScroll); + return function () { + scrollEl.removeEventListener('scroll', syncScroll); + }; + } + }, [cm, preview]); + (0,react.useEffect)(function () { + if (cm && onCMBeforeChange) { + var onChangeHandler = function onChangeHandler(cm, change) { + onCMBeforeChange(cm, change); + }; + cm.on('beforeChange', onChangeHandler); + return function () { + cm.off('beforeChange', onChangeHandler); + }; + } + }, [cm, onCMBeforeChange]); + (0,react.useEffect)(function () { + if (cm && onBlur) { + var onBlurHandler = function onBlurHandler() { + onBlur(cm.getValue()); + }; + cm.on('blur', onBlurHandler); + return function () { + cm.off('blur', onBlurHandler); + }; + } + }, [cm, onBlur]); + (0,react.useEffect)(function () { + if (cm) { + var onChangeHandler = function onChangeHandler(cm) { + var content = cm.getValue(); + setValue(content); + setLastedUpdateTime(new Date().getTime()); + cm.getScrollerElement().dispatchEvent(new CustomEvent('scroll')); + onChange && onChange(content); + }; + cm.on('change', onChangeHandler); + return function () { + cm.off('change', onChangeHandler); + }; + } + }, [cm, onChange]); + (0,react.useEffect)(function () { + if (cm) { + // isFocus && cm.focus() + if (defaultValue === null || defaultValue === undefined) { + cm.setValue(''); + setValue(''); + } else { + if (defaultValue !== cm.getValue()) { + cm.setValue(defaultValue); + setValue(defaultValue); + cm.setCursor(disabled ? 1 : cm.lineCount(), 0); + } + } + } + }, [cm, defaultValue]); + var onActionCallback = (0,react.useCallback)(function (actionName) { + var cursor = cm.getCursor(); + var selection = cm.getSelection(); + var selectionText = selection.split('\n'); + switch (actionName) { + case 'bold': + cm.replaceSelection('**' + selection + '**'); + if (selection === '') { + cm.setCursor(cursor.line, cursor.ch + 2); + } + return cm.focus(); + case 'italic': + cm.replaceSelection('*' + selection + '*'); + if (selection === '') { + cm.setCursor(cursor.line, cursor.ch + 1); + } + return cm.focus(); + case 'code': + cm.replaceSelection('`' + selection + '`'); + if (selection === '') { + cm.setCursor(cursor.line, cursor.ch + 1); + } + return cm.focus(); + case 'inline-latex': + cm.replaceSelection('`$$' + selection + '$$`'); + if (selection === '') { + cm.setCursor(cursor.line, cursor.ch + 3); + } + return cm.focus(); + case 'latex': + cm.replaceSelection("```latex\n" + selection + "\n```"); + cm.setCursor(cursor.line + 1, selection.length + 1); + return cm.focus(); + case 'line-break': + cm.replaceSelection('
    \n'); + return cm.focus(); + case 'list-ul': + if (selection === '') { + cm.replaceSelection('- ' + selection); + } else { + cm.replaceSelection(selectionText.map(function (item) { + return item === '' ? '' : "- ".concat(item); + }).join('\n')); + } + return cm.focus(); + case 'list-ol': + if (selection === '') { + cm.replaceSelection('1. ' + selection); + } else { + cm.replaceSelection(selectionText.map(function (item, index) { + return item === '' ? '' : "".concat(index + 1, ". ").concat(item); + }).join('\n')); + } + return cm.focus(); + case 'add-null-ch': + if (selection === '') { + cm.setCursor(cursor.line, cursor.ch); + } + cm.replaceSelection(NULL_CH); + return cm.focus(); + case 'inster-template-1': + if (selection === '') { + cm.setCursor(cursor.line, cursor.ch); + } + cm.replaceSelection(TEMP1); + return cm.focus(); + case 'eraser': + cm.setValue(''); + return cm.focus(); + case 'trigger-watch': + setPreview(!preview); + return cm.focus(); + case 'trigger-full-screen': + setIsFull(!isFull); + return cm.focus(); + case LINK: + setAction(LINK); + return; + case CODE_BLOCK: + setAction(CODE_BLOCK); + return; + case UPLOAD_IMAGE: + setAction(UPLOAD_IMAGE); + return; + case ADD_TABLE: + setAction(ADD_TABLE); + return; + default: + throw new Error(); + } + }, [cm, preview, isFull]); + var ExecutePluginAction = (0,react.useCallback)(function (values) { + setAction(''); + switch (action) { + case LINK: + var title = values.title, + link = values.link; + cm.replaceSelection("[".concat(title, "](").concat(link, ")")); + return cm.focus(); + case CODE_BLOCK: + var language = values.language, + content = values.content; + cm.replaceSelection(['```' + language, content, '```'].join('\n')); + return cm.focus(); + case UPLOAD_IMAGE: + var src = values.src, + alt = values.alt; + if (alt) { + cm.replaceSelection("![ ".concat(alt, " ]( ").concat(src, " \"").concat(alt, "\" )")); + } else { + cm.replaceSelection("![,](".concat(src, ")")); + } + return cm.focus(); + case ADD_TABLE: + var row = values.row, + col = values.col, + align = values.align; + var table = '\n'; + for (var r = 0; r < row; r++) { + var rows = []; + var heads = []; + for (var c = 0; c < col; c++) { + if (r === 1) { + heads.push(ALIGNSIGN[align]); + } + rows.push(' '); + } + if (r === 1) { + table += "| ".concat(heads.join(' | '), " |\n"); + } + table += "| ".concat(rows.join(col === 1 ? '' : ' | '), " |\n"); + } + cm.replaceSelection(table + '\n'); + return cm.focus(); + default: + throw new Error(); + } + }, [cm, action]); + var PluginEl = (0,react.useMemo)(function () { + switch (action) { + case LINK: + return /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor_link, { + callback: ExecutePluginAction, + onCancel: onCancel + }); + case CODE_BLOCK: + return /*#__PURE__*/(0,jsx_runtime.jsx)(code_block/* default */.Z, { + callback: ExecutePluginAction, + onCancel: onCancel + }); + case UPLOAD_IMAGE: + return /*#__PURE__*/(0,jsx_runtime.jsx)(upload_image, { + callback: ExecutePluginAction, + onCancel: onCancel + }); + case ADD_TABLE: + return /*#__PURE__*/(0,jsx_runtime.jsx)(add_table_panel, { + callback: ExecutePluginAction, + onCancel: onCancel + }); + default: + return null; + } + }, [action]); + function onCancel() { + setAction(''); + } + (0,react.useEffect)(function () { + if (resizeBarEl.current) { + var onMouseDown = function onMouseDown(e) { + dragging = true; + startY = e.pageY; + }; + var onMouseUp = function onMouseUp() { + dragging = false; + }; + var onMouseMove = function onMouseMove(e) { + if (dragging) { + var delta = e.pageY - startY; + if (delta < 0) { + delta = 0; + } + if (delta > 300) { + delta = 300; + } + var resizeH = height + delta + 'px'; + setH(resizeH); + } + }; + var resizeBar = resizeBarEl.current; + var dragging = false; + var startY = 0; + resizeBar.addEventListener('mousedown', onMouseDown); + document.addEventListener('mousemove', onMouseMove); + document.addEventListener('mouseup', onMouseUp); + return function () { + resizeBar.removeEventListener('mousedown', onMouseDown); + document.removeEventListener('mousemove', onMouseMove); + document.removeEventListener('mouseup', onMouseUp); + }; + } + }, [cm, resizeBarEl]); + (0,react.useEffect)(function () { + setH(height); + }, [height]); + var fixedWidth = processSize(width); + var fixedHeight = processSize(h); + var style = { + width: fixedWidth, + height: fixedHeight + }; + var saveTime = (0,react.useMemo)(function () { + if (lastedUpdateTime) { + var d = new Date(lastedUpdateTime); + var _h = d.getHours(); + var m = d.getMinutes(); + var s = d.getSeconds(); + _h = _h < 10 ? '0' + _h : _h; + m = m < 10 ? '0' + m : m; + s = s < 10 ? '0' + s : s; + return "".concat(_h, ":").concat(m, ":").concat(s); + } + return 0; + }, [lastedUpdateTime]); + function onCancelStorage() { + window.sessionStorage.removeItem(id); + setTip(false); + setLastedUpdateTime(0); + } + function onReset() { + setTip(false); + setLastedUpdateTime(0); + cm.setValue(window.sessionStorage.getItem(id)); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "markdown-editor-wrapper", + ref: containerEl, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "markdown-editor-container ".concat(className, " ").concat(preview ? 'on-preview' : '', " ").concat(miniToolbar ? 'mini' : '', " ").concat(isFull ? 'full-screen' : ''), + style: style, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(toolbar, { + insertTemp: insertTemp, + watch: preview, + fullScreen: isFull, + showNullButton: showNullButton, + onActionCallback: onActionCallback, + hidetoolBar: hidetoolBar + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "markdown-editor-body", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "codemirror-container", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("textarea", { + ref: cmEl, + placeholder: placeholder + }) + }), preview ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + ref: previewEl, + className: "preview-container", + children: [mode === "stex" && /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml_stex, { + value: value + }), mode !== "stex" && /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: value + })] + }) : null] + })] + }) + }), showResizeBar ? /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + ref: resizeBarEl, + className: "editor-resize" + }) : null, /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + children: TitleDesc[action] ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, { + centered: true, + title: TitleDesc[action], + open: true, + onCancel: onCancel, + footer: null, + className: "markdown-popup-form", + children: PluginEl + }) : null + })] + }); +}); + +/***/ }), + +/***/ 12264: +/*!**********************************!*\ + !*** ./src/components/modal.tsx ***! + \**********************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ Dialog; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/classCallCheck.js */ 56690); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createClass.js */ 89728); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/inherits.js */ 61655); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createSuper.js */ 26389); +/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-dom */ 73935); + + + + + + +var Dialog = /*#__PURE__*/function (_React$Component) { + _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_2___default()(Dialog, _React$Component); + var _super = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_3___default()(Dialog); + function Dialog(props) { + var _this; + _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0___default()(this, Dialog); + _this = _super.call(this, props); + var doc = window.document; + _this.node = doc.createElement('div'); + doc.body.appendChild(_this.node); + return _this; + } + _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_1___default()(Dialog, [{ + key: "render", + value: function render() { + var children = this.props.children; + return /*#__PURE__*/(0,react_dom__WEBPACK_IMPORTED_MODULE_5__.createPortal)(children, this.node); + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + window.document.body.removeChild(this.node); + } + }]); + return Dialog; +}(react__WEBPACK_IMPORTED_MODULE_4__.Component); + + +/***/ }), + +/***/ 11030: +/*!****************************************************************!*\ + !*** ./src/components/ui-customization/index.tsx + 36 modules ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "jL": function() { return /* reexport */ ui_customization_Banner; }, + "w9": function() { return /* reexport */ Cards_ClassroomList; }, + "QD": function() { return /* reexport */ ui_customization_ConfirmAndCancel; }, + "cQ": function() { return /* reexport */ Cards_CourseList; }, + "op": function() { return /* reexport */ ui_customization_CustomButton; }, + "_b": function() { return /* reexport */ CustomCrumbs; }, + "t7": function() { return /* reexport */ ui_customization_CustomInput; }, + "Gi": function() { return /* reexport */ ui_customization_CustomTable; }, + "YG": function() { return /* reexport */ CustomTabs; }, + "qp": function() { return /* reexport */ ui_customization_CustomTags; }, + "vr": function() { return /* reexport */ ui_customization_FixedBottom; }, + "qE": function() { return /* reexport */ HeadBack; }, + "Je": function() { return /* reexport */ QuickPager; }, + "wb": function() { return /* reexport */ Cards_ShixunList; }, + "cq": function() { return /* reexport */ ui_customization_SuperiorSort; }, + "tp": function() { return /* reexport */ ui_customization_SuperiorTabs; } +}); + +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./src/components/ui-customization/Banner/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var Bannermodules = ({"flex_box_center":"flex_box_center___NeSU8","flex_space_between":"flex_space_between___ImTGl","flex_box_vertical_center":"flex_box_vertical_center___BtRd9","flex_box_center_end":"flex_box_center_end___qcLe3","flex_box_column":"flex_box_column___Ze_3q","banner":"banner___PoUBO","content":"content___XoDjy","btns":"btns___Pb35j"}); +;// CONCATENATED MODULE: ./src/components/ui-customization/Banner/robot.png +var robot_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNk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4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg=="; +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/components/ui-customization/Banner/index.tsx + + + + + +var Banner = function Banner(_ref) { + var _ref$dataSource = _ref.dataSource, + dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource, + img = _ref.img, + _ref$imgWidth = _ref.imgWidth, + imgWidth = _ref$imgWidth === void 0 ? 346 : _ref$imgWidth, + title = _ref.title, + sunTitle = _ref.sunTitle, + bannerExtraContent = _ref.bannerExtraContent; + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Bannermodules.banner, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Bannermodules.content, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", { + children: title + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: sunTitle + })] + }), dataSource.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Bannermodules.btns, + children: dataSource.map(function (e, i) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: e.click, + children: [e.name, e.sign ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: robot_namespaceObject, + width: 39 + }) : null] + }, i); + }) + }), bannerExtraContent] + }), img && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + style: { + marginTop: 33, + marginRight: 38 + }, + src: img, + width: imgWidth + })] + }) + }); +}; +/* harmony default export */ var ui_customization_Banner = (Banner); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(27424); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +;// CONCATENATED MODULE: ./src/components/ui-customization/CustomTags/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var CustomTagsmodules = ({"flex_box_center":"flex_box_center___hG6RI","flex_space_between":"flex_space_between___ss3Fh","flex_box_vertical_center":"flex_box_vertical_center___K80p9","flex_box_center_end":"flex_box_center_end___qmXX3","flex_box_column":"flex_box_column___GFV8F","row":"row___aXJjm","title":"title___HUKL0","tagsWrap":"tagsWrap___XB2W3","action":"action___VdHb1","bar":"bar___t1kKC","tag":"tag___V7Eft","name":"name___Hk1Ip","num":"num___xQpcH","active":"active___XryTX","tagsBorderWrap":"tagsBorderWrap___OMxjs"}); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/lodash/lodash.js +var lodash = __webpack_require__(96486); +;// CONCATENATED MODULE: ./src/components/ui-customization/CustomTags/index.tsx + + + + + + + +var CustomTags = function CustomTags(_ref) { + var _ref$dataSource = _ref.dataSource, + dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource, + value = _ref.value, + onChange = _ref.onChange, + onTitleChange = _ref.onTitleChange, + className = _ref.className, + title = _ref.title, + _ref$titleWidth = _ref.titleWidth, + titleWidth = _ref$titleWidth === void 0 ? 41 : _ref$titleWidth, + _ref$style = _ref.style, + style = _ref$style === void 0 ? {} : _ref$style, + _ref$fontColor = _ref.fontColor, + fontColor = _ref$fontColor === void 0 ? '#6A7283' : _ref$fontColor, + showCount = _ref.showCount; + var _useState = (0,react.useState)(0), + _useState2 = slicedToArray_default()(_useState, 2), + show = _useState2[0], + setShow = _useState2[1]; + var _useState3 = (0,react.useState)(false), + _useState4 = slicedToArray_default()(_useState3, 2), + showBorder = _useState4[0], + setShowBorder = _useState4[1]; + var tagsRef = (0,react.useRef)(null); + var scrollRef = (0,react.useRef)(null); + (0,react.useEffect)(function () { + if (dataSource.length !== 0) { + var _tagsRef$current; + if ((tagsRef === null || tagsRef === void 0 ? void 0 : (_tagsRef$current = tagsRef.current) === null || _tagsRef$current === void 0 ? void 0 : _tagsRef$current.clientHeight) > 97) { + setShow(1); + } else { + setShow(0); + } + } + if (dataSource.length === 0) { + setShow(0); + } + setShowBorder(false); + }, [dataSource]); + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: classnames_default()(CustomTagsmodules.row, className), + style: style, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + onClick: (0,lodash.throttle)(function () { + return onTitleChange === null || onTitleChange === void 0 ? void 0 : onTitleChange(); + }, 2000), + style: { + width: titleWidth, + marginTop: showBorder ? 12 : 4 + }, + className: "".concat(CustomTagsmodules.title, " ").concat(onTitleChange ? "current" : ""), + children: title + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: showBorder ? "".concat(CustomTagsmodules.tagsWrap, " ").concat(CustomTagsmodules.tagsBorderWrap) : CustomTagsmodules.tagsWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: CustomTagsmodules.bar, + ref: scrollRef, + style: show > 0 ? { + height: show === 1 ? 97 : 'auto', + overflow: show === 1 ? 'hidden' : 'auto', + paddingRight: 55 + } : { + paddingRight: 0 + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: CustomTagsmodules.tag, + ref: tagsRef, + children: dataSource === null || dataSource === void 0 ? void 0 : dataSource.map(function (e) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + onClick: function onClick() { + return onChange(e.id); + }, + style: { + color: fontColor + }, + className: value === e.id ? CustomTagsmodules.active : '', + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + title: e.name, + className: CustomTagsmodules.name, + children: e.name + }), !!showCount && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: CustomTagsmodules.num, + children: e.count + })] + }, e.id); + }) + }) + }), !!show && /*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment, { + children: show === 1 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: function onClick() { + var _tagsRef$current2; + setShow(2); + if ((tagsRef === null || tagsRef === void 0 ? void 0 : (_tagsRef$current2 = tagsRef.current) === null || _tagsRef$current2 === void 0 ? void 0 : _tagsRef$current2.clientHeight) > 245) { + setShowBorder(true); + } else { + setShowBorder(false); + } + }, + className: CustomTagsmodules.action, + children: ["\u5C55\u5F00", /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + style: { + transform: 'translateY(1px) scale(0.6)' + }, + className: "iconfont icon-zhankai4" + })] + }) : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: function onClick() { + scrollRef.current.scrollTop = 0; + setShow(1); + setShowBorder(false); + }, + className: CustomTagsmodules.action, + children: ["\u6536\u8D77", /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + style: { + transform: 'translateY(0px) scale(0.6)' + }, + className: "iconfont icon-shouqi3" + })] + }) + })] + })] + }); +}; +/* harmony default export */ var ui_customization_CustomTags = (CustomTags); +;// CONCATENATED MODULE: ./src/components/ui-customization/SuperiorTabs/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var SuperiorTabsmodules = ({"flex_box_center":"flex_box_center___aK2n3","flex_space_between":"flex_space_between___HX0Oh","flex_box_vertical_center":"flex_box_vertical_center___LJOJr","flex_box_center_end":"flex_box_center_end___SCakF","flex_box_column":"flex_box_column___AYv4m","tabs":"tabs___GTqPV","active":"active___F26E8"}); +;// CONCATENATED MODULE: ./src/components/ui-customization/SuperiorTabs/index.tsx + + + + +var SuperiorTabs = function SuperiorTabs(_ref) { + var _ref$dataSource = _ref.dataSource, + dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource, + value = _ref.value, + onChange = _ref.onChange, + className = _ref.className, + _ref$style = _ref.style, + style = _ref$style === void 0 ? {} : _ref$style; + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: style, + className: classnames_default()(SuperiorTabsmodules.tabs, className), + children: dataSource.map(function (e) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick() { + return onChange(e.id); + }, + className: value === e.id ? SuperiorTabsmodules.active : '', + children: e.name + }, e.id); + }) + }); +}; +/* harmony default export */ var ui_customization_SuperiorTabs = (SuperiorTabs); +;// CONCATENATED MODULE: ./src/components/ui-customization/CustomInput/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var CustomInputmodules = ({"flex_box_center":"flex_box_center___yX6Oa","flex_space_between":"flex_space_between___t7oqF","flex_box_vertical_center":"flex_box_vertical_center___dEIHy","flex_box_center_end":"flex_box_center_end___taQDF","flex_box_column":"flex_box_column___xY_Lr","input":"input___PW2zI","dropdown":"dropdown___vSy8B","menu":"menu___NiyBu","text":"text___Grueu","b1":"b1___ZKryM","b2":"b2___aKyGa"}); +// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules +var input = __webpack_require__(79531); +;// CONCATENATED MODULE: ./src/components/ui-customization/CustomInput/index.tsx + + + + + + + +var CustomInput = function CustomInput(_ref) { + var _dataSource$find; + var _ref$dataSource = _ref.dataSource, + dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource, + value = _ref.value, + onChange = _ref.onChange, + className = _ref.className, + _ref$style = _ref.style, + style = _ref$style === void 0 ? {} : _ref$style, + placeholder = _ref.placeholder; + var _useState = (0,react.useState)(''), + _useState2 = slicedToArray_default()(_useState, 2), + dropValue = _useState2[0], + setDropValue = _useState2[1]; + var _useState3 = (0,react.useState)(''), + _useState4 = slicedToArray_default()(_useState3, 2), + inputValue = _useState4[0], + setInputValue = _useState4[1]; + (0,react.useEffect)(function () { + var _JSON$stringify; + if ((_JSON$stringify = JSON.stringify(value)) !== null && _JSON$stringify !== void 0 && _JSON$stringify.includes('{')) { + setDropValue(value.id); + setInputValue(value.value); + } else { + setInputValue(value); + } + }, [value]); + var handleChange = function handleChange() { + onChange(inputValue, dropValue || null); + }; + var handleDropValue = function handleDropValue(id) { + if (id === dropValue) return; + setDropValue(id); + onChange(inputValue, id); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: classnames_default()(CustomInputmodules.input, className), + style: style, + children: [!!dataSource.length && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: CustomInputmodules.dropdown, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: CustomInputmodules.text, + children: [(_dataSource$find = dataSource.find(function (e) { + return e.id === dropValue; + })) === null || _dataSource$find === void 0 ? void 0 : _dataSource$find.name, /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-zhankai4" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("b", { + className: CustomInputmodules.b1 + }), /*#__PURE__*/(0,jsx_runtime.jsx)("b", { + className: CustomInputmodules.b2 + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: CustomInputmodules.menu, + children: dataSource.map(function (e, i) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + onClick: function onClick() { + return handleDropValue(e.id); + }, + children: e.name + }, i); + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + onPressEnter: handleChange, + value: decodeURIComponent(inputValue || ""), + onChange: function onChange(e) { + return setInputValue(e.target.value); + }, + bordered: false, + placeholder: placeholder + }), /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: handleChange, + className: "iconfont icon-sousuo9 font14 pl10 current" + })] + }); +}; +/* harmony default export */ var ui_customization_CustomInput = (CustomInput); +;// CONCATENATED MODULE: ./src/components/ui-customization/QuickPager/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var QuickPagermodules = ({"flex_box_center":"flex_box_center___tol8o","flex_space_between":"flex_space_between___Z235C","flex_box_vertical_center":"flex_box_vertical_center___Wq1sZ","flex_box_center_end":"flex_box_center_end___LLxom","flex_box_column":"flex_box_column___DbMSN","quickPager":"quickPager___GM30J","disabled":"disabled___Ozc8I"}); +;// CONCATENATED MODULE: ./src/components/ui-customization/QuickPager/index.tsx + + + + + + +var QuickPager_SuperiorTabs = function SuperiorTabs(_ref) { + var value = _ref.value, + onChange = _ref.onChange, + className = _ref.className, + total = _ref.total, + pageSize = _ref.pageSize, + _ref$style = _ref.style, + style = _ref$style === void 0 ? {} : _ref$style; + var prevPageDisabled = value < 2; + var nextPageDisabled = value >= Math.ceil(total / pageSize); + if (total <= pageSize) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {}); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: classnames_default()(QuickPagermodules.quickPager, className), + style: style, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + onClick: function onClick() { + if (!prevPageDisabled) { + onChange(value - 1, 'prev'); + } + }, + className: prevPageDisabled ? QuickPagermodules.disabled : '', + children: "\u4E0A\u4E00\u9875" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + onClick: function onClick() { + if (!nextPageDisabled) { + onChange(value + 1, 'next'); + } + }, + className: nextPageDisabled ? QuickPagermodules.disabled : '', + children: "\u4E0B\u4E00\u9875" + })] + }); +}; +/* harmony default export */ var QuickPager = (QuickPager_SuperiorTabs); +;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/ShixunList/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var ShixunListmodules = ({"flex_box_center":"flex_box_center___FO7TP","flex_space_between":"flex_space_between___LotYx","flex_box_vertical_center":"flex_box_vertical_center___bWdaw","flex_box_center_end":"flex_box_center_end___mVJ1o","flex_box_column":"flex_box_column___M83Mm","list":"list___oOsiS","wrap":"wrap___G6T7F","lockWrap":"lockWrap___Rl79E","li":"li___oZZ7l","cover":"cover___b2bYW","img":"img___IQX7w","sign":"sign___HkT6C","name":"name___SsJx8","e":"e___TMqq0","tags":"tags___bcjyo","rate":"rate___YACg7"}); +// EXTERNAL MODULE: ./node_modules/antd/es/spin/index.js + 1 modules +var spin = __webpack_require__(57953); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/rate/index.js + 8 modules +var rate = __webpack_require__(59606); +// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules +var env = __webpack_require__(59758); +// EXTERNAL MODULE: ./src/utils/util.tsx +var util = __webpack_require__(29427); +// EXTERNAL MODULE: ./src/components/ui-customization/Cards/ShixunList/img/Jupyter.png +var Jupyter = __webpack_require__(96908); +// EXTERNAL MODULE: ./src/components/ui-customization/Cards/ShixunList/img/JupyterLab.png +var JupyterLab = __webpack_require__(57177); +// EXTERNAL MODULE: ./src/components/ui-customization/Cards/ShixunList/img/unity.png +var unity = __webpack_require__(81378); +// EXTERNAL MODULE: ./src/components/NoData/index.tsx +var NoData = __webpack_require__(82982); +;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/ShixunList/index.tsx + + + + + + + + + + + + +var ShixunList = function ShixunList(_ref) { + var className = _ref.className, + _ref$dataSource = _ref.dataSource, + dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource, + _ref$col = _ref.col, + col = _ref$col === void 0 ? 4 : _ref$col, + right = _ref.right, + _ref$bottom = _ref.bottom, + bottom = _ref$bottom === void 0 ? 23 : _ref$bottom, + _ref$precision = _ref.precision, + precision = _ref$precision === void 0 ? 0 : _ref$precision, + _ref$wrapWidth = _ref.wrapWidth, + wrapWidth = _ref$wrapWidth === void 0 ? 1200 : _ref$wrapWidth, + trackEventItems = _ref.trackEventItems, + loading = _ref.loading; + var width = Math.floor((wrapWidth - (col - 1) * right) / col); + return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, { + spinning: loading, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: classnames_default()(ShixunListmodules.list, className), + children: [!!dataSource.length && dataSource.map(function (item, index) { + var name = item.name, + id = item.id, + identifier = item.identifier, + power = item.power, + cover_image_id = item.cover_image_id, + pic = item.pic; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ShixunListmodules.wrap, + style: { + width: width, + marginRight: (1 + index) % col === 0 ? 0 : right + precision, + marginBottom: bottom + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("a", { + target: "_blank", + href: "/shixuns/".concat(identifier, "/challenges"), + className: ShixunListmodules.li, + onClick: function onClick(e) { + e.preventDefault(); + if (trackEventItems) { + (0,util/* trackEvent */.L9)([trackEventItems]); + } + power && (0,util/* openNewWindow */.xg)("/shixuns/".concat(identifier, "/challenges")); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ShixunListmodules.img, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: ShixunListmodules.cover, + src: cover_image_id ? "".concat(env/* default.API_SERVER */.Z.API_SERVER, "/api/attachments/").concat(cover_image_id) : "".concat(env/* default.IMG_SERVER */.Z.IMG_SERVER, "/").concat(pic) + }), item.is_jupyter && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: ShixunListmodules.sign, + src: Jupyter + }), item.is_jupyter_lab && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: ShixunListmodules.sign, + src: JupyterLab + }), item.is_unity_3d && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: ShixunListmodules.sign, + src: unity + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ShixunListmodules.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: name || '实践项目名称-未填写', + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ShixunListmodules.e, + children: name || '实践项目名称-未填写' + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ShixunListmodules.tags, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "bottom", + title: "\u5173\u5361\u6570", + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-shixunguanqia font14 mr2" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: item.challenges_count + })] + }) + }), !!item.myshixuns_count && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "bottom", + title: "\u5B66\u4E60\u4EBA\u6570", + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-chengyuan font14 mr2" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: item.myshixuns_count + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "bottom", + title: "\u96BE\u5EA6\u7B49\u7EA7", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: item.level + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ShixunListmodules.rate, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(rate/* default */.Z, { + allowHalf: true, + disabled: true, + defaultValue: item.score_info + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: ["\xA0", item.score_info ? "".concat(item.score_info, "\u5206") : '5分'] + })] + })] + })] + }), !power && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ShixunListmodules.lockWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: "".concat(env/* default.IMG_SERVER */.Z.IMG_SERVER, "/images/educoder/icon/lockclose.svg") + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "mt15 font16 c-white", + children: "\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743" + })] + })] + }, id); + }), !dataSource.length && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {})] + }) + }); +}; +/* harmony default export */ var Cards_ShixunList = (ShixunList); +;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var CourseListmodules = ({"flex_box_center":"flex_box_center___AQ53o","flex_space_between":"flex_space_between___i2aIa","flex_box_vertical_center":"flex_box_vertical_center___sPEKB","flex_box_center_end":"flex_box_center_end___GhSSH","flex_box_column":"flex_box_column___R9_Hb","list":"list___jb2Ay","wrap":"wrap___VsQDr","lockWrap":"lockWrap___g1k1T","li":"li___IxCLC","cover":"cover___Mu8wr","img":"img___IpFLA","sign":"sign___DXJ4d","name":"name___l7FoJ","e":"e___pXQUG","unit":"unit___wCIFR","tags":"tags___w_Mil","tag":"tag___y1ZGO"}); +;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/img/gg.png +var gg_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAAA4CAYAAAAB3jHPAAAAAXNSR0IArs4c6QAAIABJREFUeF7dXQd4FdeV/ucJid5MMRgjRAeBBDZg0zFG9NiwMbis635O2WQ32WyS3Q1J1glxId6NU522ceLEsZMYMM1U0wWmG0RRo4MkRC+mCklv9rvn3nPLvHlPT5RsvM9F0nsz86b885///OfcOx5u8cv3/RQcX3pvtDo6zPf8HhGgh+957eH7jQE09oG0sK/0oj48AD7959Mv9Lcv3uGfPnw/av6mhcV7wWXE21H9mbuO2LbcPvwoLecuq7bn+/Cs7YvvCC7H+yW/3wfoK+X2ffkHomrf6DvlCnp/5d9R2hVP/ONX0++IelBffouvzl9/c+Ia3vTL97elVpccm+B73lOe748G0NSPyE2L/4sLxX8n+jIGmVhGnOqIvibxQCYvWHyQic8EgBRs1QX31Dp0NaPiAjPQzLYYKLTvBFb5UwPIArUEHwNW/pRYksvLRRnY7rHQGSKQiRtMgEwC7v8LyG4KYH7JhvrR6Kmv+PC/Bngt6Bx7HiIKRRpkgo3EeRT/q+EViSpUWUwmrw/xmgSUuBzMGvrimgtHF1WxoASEYilx3RRYQIzpw4/ythIzmQGZzWSGgSSQGKAMNrOv4jPNyAHG1cymcBgRgFe/S6r95L5qvuIhxybCYOWRec/5iE73/Eg7zxOXCpCk5SEaBjLeTg0gE+xCoYnDpbowElvhIKOLR9fWDZcmdAoGYiazlhPrKYDJC1odw1KGyWRYNaxkMafar8Qgk+smBBndOPLYI5oFxRqSET+Jr1oD7Nr+WeM9Dz+A52USvXsRGQYVcPjnXwdkHLI4BBnwxOoyBoQLNGIyBUy5ThQ+hc2wcGmzVOB3ZlmHyezwLZdPlsmktFChljTZJxNkSQPM933v2v7ZL8Hzvym0Av1LoKJfpH6wQOaESys86i+8ZUxmAMPiPT6TmXBpL2ODTIbfBJqMQrhkmjA2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BUTcsis+jMT3KtYObKJBHL17+iudFvub7vm71CdoRXAqyB5FwyIwZRKJNWTZ4GWQiXIZPrW48MFF6d2uR8ntMW4+ueyrrRfK4ZL5guFRv6pNS6+xSXQTWIbYnpZmsxq7YZEGWYBCJGp1kP+QrmF0ym9oT4unaZByQKelkgUyFRdKhMjFIWoMlgh71k507NcGLek/7ES/HA5qyEWo3LPJFDDr0oSCzqgLGVJVD4uKGS0JwLMgkhhRz2vrNCo/2k3vt+ftjQeaOIwg7L/bD7YNM5j6JxB0O5zwWWgFPhzMKm8Exlypr1UzGIHMHDLOfJrNc9ZzyQCi1GSom49T6y2SadNx2eJVmlHwmOrn9svX6lgDMPskifJauOtTP86uHep4nRnZ29zyvPeA1RsRrDHhpklCs+fUT9fcrLSVByRMSJwKZAZIxZE1xnLNQw2TMeGpsp8p+7eySGZCPMxkms9t8SCWJefaVWtFyzOpy5a6HuM8eVywSD2QGFAZkzDBB4Z8syOJZGDo7DQMZyT0GmY//BTPiWWsfFEpDAAAAAElFTkSuQmCC"; +;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/img/sg.png +var sg_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAAA4CAYAAAAB3jHPAAAAAXNSR0IArs4c6QAAIABJREFUeF7VXQm4VVXZfvc+5yKzMqiAgpggqGihoBI4Zz+iQA7VX2Fa+GeFmjnmjAZmDlnmDGaDY5KzJmmWAiKIoCihmAN/ySTDvRcF4e691v+s4VvrW2vvcwFB8r/lcy/n7LP32nu9+/3e7/2+tU+CLfwjpaw0NmJfIcRBSYK+Uoq+QNIdEu0AtJMSLaSUABJzZPWn+iUlEiRQb6l37MvsfbOdfs+9qf5htnav6ffsvoP9+mPSsej4+iM0Jr5vPR4aIF0o9po6ziccPx1GnbWQZvzqNfef/rd9j7+uXhPmIqn36XN6H+rf+n/+dTV+2o/6kNq/39YfT72m3le7Vj/Cnq76tx4TGx9tS2Olz5RByc/EZgBNSlm3enU+TAi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zEtbrP14LLpR/o/JBqhquSiLD0AAAAASUVORK5CYII="; +;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/img/jg.png +var jg_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAAA4CAYAAAAB3jHPAAAAAXNSR0IArs4c6QAAIABJREFUeF61XQl4VdW1/m9GIAlhDGEIBATB2aetvCfYwYoDqKioVZGi4vxq9VlHVNSqtCA+obaKoBat4gRiHVBQBH2aiG3VKgIhYQhhyEQIhAwkuee8b49n7X32ubkRe7+PL3c4e5999vr3v/619jqHGH7gl+/7qdhSdAI8nAJgFHx/FHwUwPdyAOQAfgZ8X55V/mWf2b8YxF/+Ir/xj+R7/V4ed6jt2blUn3ocpG91fjU+dQwdl++RmWT9qWug79Wl0WPJ5fL+AcTYG/aKyXlhf8VH4zt1jB4faWfblfZL+1LHGedVX6r+aGd6kMEYla1CWIqJIR/qy/f/kY6y9vGAdzmAcfC83BBAFGgMoBAj6AtVxrYARo2r+yJANABJjGqDIQRkBV4FYPbZ08MXb+hY1Htybn5NtH1UG8cxDEzqawUs/Vl1G5OLT9lUmk0BRYNDfS87UH0rYKohG1anHxxwMPqmA3Oghp+PXKNaE98XYH5FUVe04BYg9lv4fm8+UzYD8YsiKzaKiZSROgIA/Z1eTKg9WZr2OUNglTOvgaJWqQSfcU0EYOq6ovpTzKIRROdHAdsCDycpxVgWkCij0bUVAqYFGj5nDiDp7+n1WgxqgEP2QQ5PjJ3vyWDcDW4tvgLx2IPw/YHBSeTKDRneYgn1u3aJFkNo9xLlGhOxheNctmtzAVODgYJN9tVhe6uNa6FRluPvCbC065NLnjKaAoHxHXGXDrekCF5IDgIY7Ro5iknLKEcW5SJVU4o0N+o67SL9suKz4GMOfP9IE1jyUxRbUQMaLsW1qi33aOsx24AuQCvXRsFK+0nEpGpWlLbTFiPjss8Zs8dsu16q81y+ygE44zDLVFGAc7GSC0yU1ZwgtKHRSahId5l0K9/3Yyj7/GHAnx6sCqV1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EXJS0ig0AZSBbn6l+FDCN/qzVqNtGBAhUX2lbWy7JYC+apVe6jQQB3EuoabV0Fk2gGkDsSK8p12OD0aW7KHxsBpKfkxbth94+aYBpNvtuBXvM+Rz4sJKxNKtuswYBENVDTlZyaLdI9rMy8LYbVS4xkv1IukIZnM6p1l7B3T6h/yxU29MCiQJapGtUoIkCiUtX2d8lAlMkT5EfjItNoMui+uq4facBJtksFetWXgE//iBgPTQ42ac9O8GgDE7YRgl9Gyyu9gZ4HTcJG25bnYMgy3Zpap24XBr/LcF/KhraH9SdC2tpXFlukALSBV5jIzqB+X6geq4AWsnoMYpdcV3fC2CazdjpYOl4AAABHElEQVQGef2+WwD8Fl5c1jrTUh/rf9igUacerzJ0xH8LE3Kn7HgHQ7rcq/P/a1TAkwMwojsJGjvi0yC3/tsXDZQIkITYS/VvJ2Uj0hTUNRtgs1kvEZNEASOqTYRbDJFYcu0PCWAaaKye7Nva8fDbpsCPnQYkU36trEMBScEToZlCbs/qx45mXdEnZTI7TWCwkmubJoFeoqykJ0ftCthTbTGarc94e/sY9V0y7i8Zt/Z9+ukck/0gAKPD5Bvm371zItoxFr5/BGIeq20ugOfnIIYcePIxBQYz2WCKqG4Q/lmczsVsdjRKE7b204I0Li02sMtsFIsYwYC6ZY3sZ9Jcmcr869k168GE35A/0tOHGCsBKP8NEV+n3GGS5/9/aODhUXT7opcAAAAASUVORK5CYII="; +;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/CourseList/index.tsx + + + + + + + + + + + + +var CourseList = function CourseList(_ref) { + var className = _ref.className, + _ref$dataSource = _ref.dataSource, + dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource, + _ref$col = _ref.col, + col = _ref$col === void 0 ? 4 : _ref$col, + right = _ref.right, + _ref$bottom = _ref.bottom, + bottom = _ref$bottom === void 0 ? 23 : _ref$bottom, + _ref$precision = _ref.precision, + precision = _ref$precision === void 0 ? 0 : _ref$precision, + _ref$wrapWidth = _ref.wrapWidth, + wrapWidth = _ref$wrapWidth === void 0 ? 1200 : _ref$wrapWidth, + trackEventItems = _ref.trackEventItems, + loading = _ref.loading; + var width = Math.floor((wrapWidth - (col - 1) * right) / col); + return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, { + spinning: loading, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: classnames_default()(CourseListmodules.list, className), + children: [!!dataSource.length && dataSource.map(function (item, index) { + var name = item.name, + id = item.id, + identifier = item.identifier, + featured = item.featured, + school_name = item.school_name, + image_url = item.image_url, + excellent = item.excellent; + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: CourseListmodules.wrap, + style: { + width: width, + marginRight: (1 + index) % col === 0 ? 0 : right + precision, + marginBottom: bottom + }, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("a", { + target: "_blank", + href: "/paths/".concat(identifier), + className: CourseListmodules.li, + onClick: function onClick(e) { + e.preventDefault(); + if (trackEventItems) { + (0,util/* trackEvent */.L9)([trackEventItems]); + } + (0,util/* openNewWindow */.xg)("/paths/".concat(identifier)); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: CourseListmodules.img, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: CourseListmodules.cover, + src: "".concat(env/* default.IMG_SERVER */.Z.IMG_SERVER, "/").concat(image_url) + }), featured === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: CourseListmodules.sign, + src: gg_namespaceObject + }), featured === 2 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: CourseListmodules.sign, + src: '' + }), featured === 3 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: CourseListmodules.sign, + src: sg_namespaceObject + }), featured === 4 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: CourseListmodules.sign, + src: '' + }), featured === 5 && /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: CourseListmodules.sign, + src: jg_namespaceObject + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: CourseListmodules.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: CourseListmodules.e, + children: name + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(school_name), + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: CourseListmodules.unit, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-danwei1 font14 mr3" + }), school_name] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: CourseListmodules.tags, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "bottom", + title: "\u7AE0\u8282\u6570", + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-zhangjie1 font14 mr3" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: item.stages_count + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "bottom", + title: "\u5B66\u4E60\u4EBA\u6570", + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-chengyuan font14 mr3" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: item.members_count + })] + }) + }), excellent && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: CourseListmodules.tag, + children: "\u5F00\u653E\u8BFE\u7A0B" + })] + })] + }) + }, id); + }), !dataSource.length && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {})] + }) + }); +}; +/* harmony default export */ var Cards_CourseList = (CourseList); +;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/ClassroomList/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var ClassroomListmodules = ({"flex_box_center":"flex_box_center___eMcr7","flex_space_between":"flex_space_between___HcNca","flex_box_vertical_center":"flex_box_vertical_center___ZnvVN","flex_box_center_end":"flex_box_center_end___fdgDf","flex_box_column":"flex_box_column___SEKvd","list":"list___L1hmU","wrap":"wrap___pKgcW","lockWrap":"lockWrap___SMhkK","top":"top___udHSB","sign":"sign___uwRpq","name":"name___Fpf90","img":"img___AMLhL","text":"text___KiTb7","btns":"btns___i6IuZ","bottom":"bottom____k2sh"}); +;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/ClassroomList/img/privately.png +var privately_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BB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332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC"; +;// CONCATENATED MODULE: ./src/components/ui-customization/Cards/ClassroomList/index.tsx + + + + + + + + + + +var ClassroomList = function ClassroomList(_ref) { + var className = _ref.className, + _ref$dataSource = _ref.dataSource, + dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource, + _ref$col = _ref.col, + col = _ref$col === void 0 ? 4 : _ref$col, + right = _ref.right, + _ref$bottom = _ref.bottom, + bottom = _ref$bottom === void 0 ? 23 : _ref$bottom, + _ref$precision = _ref.precision, + precision = _ref$precision === void 0 ? 0 : _ref$precision, + _ref$wrapWidth = _ref.wrapWidth, + wrapWidth = _ref$wrapWidth === void 0 ? 1200 : _ref$wrapWidth, + trackEventItems = _ref.trackEventItems, + loading = _ref.loading; + var width = Math.floor((wrapWidth - (col - 1) * right) / col); + return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, { + spinning: loading, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: classnames_default()(ClassroomListmodules.list, className), + children: [!!dataSource.length && dataSource.map(function (item, index) { + var subject_identifier = item.subject_identifier, + id = item.id, + identifier = item.identifier, + power = item.power; + var is_public = item.is_public != 0 && item.is_public; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ClassroomListmodules.wrap, + style: { + width: width, + marginRight: (1 + index) % col === 0 ? 0 : right + precision, + marginBottom: bottom + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("a", { + className: ClassroomListmodules.li, + onClick: function onClick(e) { + e.preventDefault(); + if (trackEventItems) { + (0,util/* trackEvent */.L9)([trackEventItems]); + } + (0,util/* openNewWindow */.xg)(item.first_category_url); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ClassroomListmodules.top, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: item.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ClassroomListmodules.name, + children: item.name + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: ClassroomListmodules.img, + src: true ? env/* default.IMG_SERVER */.Z.IMG_SERVER + '/images/' + item.avatar_url : 0 + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ClassroomListmodules.text, + title: item.creator, + children: item.creator + }), subject_identifier && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ClassroomListmodules.btns, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u5F00\u653E\u8BFE\u7A0B" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + children: "\u5F00\u653E\u8BFE\u5802" + })] + }), is_public && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ClassroomListmodules.sign, + children: "\u516C\u5F00" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ClassroomListmodules.bottom, + children: [item.visits > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u8BBF\u95EE\u91CF", + placement: "bottom", + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-liulanyan" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: item.visits + })] + }) + }), item.course_members_count > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u6210\u5458", + placement: "bottom", + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-chengyuan" + }), item.course_members_count] + }) + }), item.tasks_count > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u4F5C\u4E1A", + placement: "bottom", + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-zuoye" + }), item.tasks_count] + }) + }), item.is_end ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + color: '#6B758B' + }, + children: "\u5DF2\u7ED3\u675F" + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + color: '#00B187' + }, + children: "\u8FDB\u884C\u4E2D" + })] + })] + }), !item.is_accessible && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ClassroomListmodules.lockWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: "".concat(env/* default.IMG_SERVER */.Z.IMG_SERVER, "/images/educoder/icon/lockclose.svg") + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "mt15 font16 c-white", + children: "\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165" + })] + })] + }, id); + }), !dataSource.length && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {})] + }) + }); +}; +/* harmony default export */ var Cards_ClassroomList = (ClassroomList); +;// CONCATENATED MODULE: ./src/components/ui-customization/CustomTabs/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var CustomTabsmodules = ({"flex_box_center":"flex_box_center___d27mZ","flex_space_between":"flex_space_between___qfRU9","flex_box_vertical_center":"flex_box_vertical_center___fCRld","flex_box_center_end":"flex_box_center_end___ORMV8","flex_box_column":"flex_box_column___PNKtZ","tabs":"tabs___alpa7","tabsWrap":"tabsWrap___aCQjw","tab":"tab___MKLr4","active":"active___nl_4v"}); +;// CONCATENATED MODULE: ./src/components/ui-customization/CustomTabs/index.tsx + + + + + +var FixedBottom = function FixedBottom(_ref) { + var _ref$dataSource = _ref.dataSource, + dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource, + value = _ref.value, + onChange = _ref.onChange, + className = _ref.className, + _ref$style = _ref.style, + style = _ref$style === void 0 ? {} : _ref$style, + tabBarExtraContent = _ref.tabBarExtraContent; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: classnames_default()(CustomTabsmodules.tabs, className), + style: style, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: CustomTabsmodules.tabsWrap, + children: dataSource.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + className: CustomTabsmodules.tab, + onClick: function onClick() { + onChange(item.id); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: value === item.id ? CustomTabsmodules.active : '', + children: item.name + }), (item === null || item === void 0 ? void 0 : item.total) !== undefined && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: ["\uFF08", item === null || item === void 0 ? void 0 : item.total, "\uFF09"] + })] + }, index); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: CustomTabsmodules.tabBar, + children: tabBarExtraContent + })] + }); +}; +/* harmony default export */ var CustomTabs = (FixedBottom); +;// CONCATENATED MODULE: ./src/components/ui-customization/CustomTable/index.tsx + + + +var CustomTable = function CustomTable(_ref) { + var className = _ref.className, + _ref$style = _ref.style, + style = _ref$style === void 0 ? {} : _ref$style, + children = _ref.children; + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: classnames_default()(className), + style: style, + children: children + }); +}; +/* harmony default export */ var ui_customization_CustomTable = (CustomTable); +;// CONCATENATED MODULE: ./src/components/ui-customization/SuperiorSort/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var SuperiorSortmodules = ({"flex_box_center":"flex_box_center___e6HxQ","flex_space_between":"flex_space_between___RnXYe","flex_box_vertical_center":"flex_box_vertical_center___lVxPk","flex_box_center_end":"flex_box_center_end___bu8yv","flex_box_column":"flex_box_column___JczGj","orderWrap":"orderWrap___ZfyGX","orderIconWrap":"orderIconWrap___XTB_O","orderAsc":"orderAsc___KWHmA","orderDesc":"orderDesc___rHdbB","active":"active___a7eSP","cursorPointer":"cursorPointer___gs9kL","orderTextWrap":"orderTextWrap___teAKn"}); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/index.js + 1 modules +var dropdown = __webpack_require__(85418); +// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 11 modules +var menu = __webpack_require__(68508); +;// CONCATENATED MODULE: ./src/components/ui-customization/SuperiorSort/index.tsx + + + + + + +var dropItem = [{ + id: 'updated_at', + name: '最新动态' +}, { + id: 'created_at', + name: '最新创建' +}, { + id: 'name', + name: '名称排序' +}]; +var SuperiorSort = function SuperiorSort(_ref) { + var _dataSource$find; + var sortValue = _ref.sortValue, + dropValue = _ref.dropValue, + className = _ref.className, + onSort = _ref.onSort, + onDrop = _ref.onDrop, + _ref$dataSource = _ref.dataSource, + dataSource = _ref$dataSource === void 0 ? dropItem : _ref$dataSource; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: classnames_default()(SuperiorSortmodules.orderWrap, className), + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, { + dropdownRender: function dropdownRender() { + return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, { + children: dataSource.map(function (e, i) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default.Item */.Z.Item, { + onClick: function onClick() { + return onDrop(e.id); + }, + children: e.name + }, i); + }) + }); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: SuperiorSortmodules.orderTextWrap, + children: (_dataSource$find = dataSource.find(function (e) { + return dropValue === e.id; + })) === null || _dataSource$find === void 0 ? void 0 : _dataSource$find.name + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: SuperiorSortmodules.orderIconWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: SuperiorSortmodules.orderAsc, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: sortValue === 'asc' ? "iconfont icon-sanjiaoxing-up font12 ".concat(SuperiorSortmodules.cursorPointer, " ").concat(SuperiorSortmodules.active) : "iconfont icon-sanjiaoxing-up font12 ".concat(SuperiorSortmodules.cursorPointer), + onClick: function onClick() { + return onSort(sortValue === 'asc' ? 'desc' : 'asc'); + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: SuperiorSortmodules.orderDesc, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: sortValue === 'desc' ? "iconfont icon-sanjiaoxing-down font12 ".concat(SuperiorSortmodules.cursorPointer, " ").concat(SuperiorSortmodules.active) : "iconfont icon-sanjiaoxing-down font12 ".concat(SuperiorSortmodules.cursorPointer), + onClick: function onClick() { + return onSort(sortValue === 'asc' ? 'desc' : 'asc'); + } + }) + })] + })] + }); +}; +/* harmony default export */ var ui_customization_SuperiorSort = (SuperiorSort); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(42122); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(17061); +var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(17156); +var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(70215); +var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); +;// CONCATENATED MODULE: ./src/components/ui-customization/CustomButton/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var CustomButtonmodules = ({"flex_box_center":"flex_box_center___LCi0B","flex_space_between":"flex_space_between___hzONe","flex_box_vertical_center":"flex_box_vertical_center___ZyQRE","flex_box_center_end":"flex_box_center_end___XKM74","flex_box_column":"flex_box_column___p8LCU","btn":"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd","default":"default___K791v"}); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +;// CONCATENATED MODULE: ./src/components/ui-customization/CustomButton/index.tsx + + + + + +var _excluded = ["className", "style", "children", "loading", "openLoading", "onClick", "size", "shape"]; + + + + + + +var CustomButton = function CustomButton(_ref) { + var className = _ref.className, + style = _ref.style, + children = _ref.children, + _ref$loading = _ref.loading, + loading = _ref$loading === void 0 ? false : _ref$loading, + openLoading = _ref.openLoading, + _ref$onClick = _ref.onClick, + onClick = _ref$onClick === void 0 ? function () {} : _ref$onClick, + _ref$size = _ref.size, + size = _ref$size === void 0 ? 'middle' : _ref$size, + _ref$shape = _ref.shape, + shape = _ref$shape === void 0 ? 'round' : _ref$shape, + props = objectWithoutProperties_default()(_ref, _excluded); + var _useState = (0,react.useState)(false), + _useState2 = slicedToArray_default()(_useState, 2), + btnLoading = _useState2[0], + setBtnLoading = _useState2[1]; + return /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, objectSpread2_default()(objectSpread2_default()({ + onClick: (0,lodash.throttle)( /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(e) { + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + openLoading && setBtnLoading(true); + _context.prev = 1; + _context.next = 4; + return onClick(e); + case 4: + _context.next = 9; + break; + case 6: + _context.prev = 6; + _context.t0 = _context["catch"](1); + console.log("error", _context.t0); + case 9: + openLoading && setBtnLoading(false); + case 10: + case "end": + return _context.stop(); + } + }, _callee, null, [[1, 6]]); + })); + return function (_x) { + return _ref2.apply(this, arguments); + }; + }(), 2000, { + leading: true, + trailing: false + }), + className: classnames_default()(CustomButtonmodules.btn, CustomButtonmodules["".concat(size, "-").concat(shape)], className), + style: style, + size: size, + shape: shape, + loading: btnLoading || loading + }, props), {}, { + children: children + })); +}; +/* harmony default export */ var ui_customization_CustomButton = (CustomButton); +;// CONCATENATED MODULE: ./src/components/ui-customization/HeadBack/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var HeadBackmodules = ({"flex_box_center":"flex_box_center___TB7bQ","flex_space_between":"flex_space_between___oBlTb","flex_box_vertical_center":"flex_box_vertical_center___b5XbB","flex_box_center_end":"flex_box_center_end___CNhe7","flex_box_column":"flex_box_column___yHXKW","head":"head___ghH72","node":"node___mjPEy"}); +;// CONCATENATED MODULE: ./src/components/ui-customization/HeadBack/index.tsx + + + + + +var HeadBack_CustomButton = function CustomButton(_ref) { + var className = _ref.className, + style = _ref.style, + _ref$children = _ref.children, + children = _ref$children === void 0 ? null : _ref$children, + onClick = _ref.onClick, + title = _ref.title; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: classnames_default()(HeadBackmodules.head, className), + style: style, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "primary-hover", + onClick: onClick, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-fanhui2 font12" + }), "\u8FD4\u56DE"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("b", { + title: title, + children: title + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: HeadBackmodules.node, + children: children + })] + }); +}; +/* harmony default export */ var HeadBack = (HeadBack_CustomButton); +;// CONCATENATED MODULE: ./src/components/ui-customization/ConfirmAndCancel/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var ConfirmAndCancelmodules = ({"flex_box_center":"flex_box_center___AlHuF","flex_space_between":"flex_space_between___vN2LW","flex_box_vertical_center":"flex_box_vertical_center___Ac7D2","flex_box_center_end":"flex_box_center_end___y38I7","flex_box_column":"flex_box_column___iQE6P","btns":"btns___sNgTb","confirm":"confirm___Ozirl","cancel":"cancel___aiq1I"}); +;// CONCATENATED MODULE: ./src/components/ui-customization/ConfirmAndCancel/index.tsx + + + + + + +var ConfirmAndCancel = function ConfirmAndCancel(_ref) { + var _ref$confirmShow = _ref.confirmShow, + confirmShow = _ref$confirmShow === void 0 ? true : _ref$confirmShow, + confirmTitle = _ref.confirmTitle, + confirmClick = _ref.confirmClick, + _ref$cancelShow = _ref.cancelShow, + cancelShow = _ref$cancelShow === void 0 ? true : _ref$cancelShow, + cancelTitle = _ref.cancelTitle, + cancelClick = _ref.cancelClick, + className = _ref.className, + style = _ref.style, + _ref$confirmLoading = _ref.confirmLoading, + confirmLoading = _ref$confirmLoading === void 0 ? false : _ref$confirmLoading; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: classnames_default()(ConfirmAndCancelmodules.btns, className), + style: style, + children: [confirmShow && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + loading: confirmLoading, + onClick: confirmClick, + type: "primary", + className: ConfirmAndCancelmodules.confirm, + children: confirmTitle + }), cancelShow && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + onClick: cancelClick, + className: ConfirmAndCancelmodules.cancel, + children: cancelTitle + })] + }); +}; +/* harmony default export */ var ui_customization_ConfirmAndCancel = (ConfirmAndCancel); +;// CONCATENATED MODULE: ./src/components/ui-customization/FixedBottom/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var FixedBottommodules = ({"flex_box_center":"flex_box_center___jkpdr","flex_space_between":"flex_space_between___OtsL8","flex_box_vertical_center":"flex_box_vertical_center___rbcb_","flex_box_center_end":"flex_box_center_end___zBR21","flex_box_column":"flex_box_column___nS_eP","fixedBottom":"fixedBottom___oJl7m","wrap":"wrap___A3Oq1","center":"center____VL1y"}); +;// CONCATENATED MODULE: ./src/components/ui-customization/FixedBottom/index.tsx + + + + + +var FixedBottom_CustomTabs = function CustomTabs(_ref) { + var className = _ref.className, + _ref$style = _ref.style, + style = _ref$style === void 0 ? {} : _ref$style, + LeftContent = _ref.LeftContent, + children = _ref.children, + RightContent = _ref.RightContent; + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: classnames_default()(FixedBottommodules.fixedBottom, className), + style: style, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: FixedBottommodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: FixedBottommodules.left, + children: LeftContent + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: FixedBottommodules.center, + children: children + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: FixedBottommodules.right, + children: RightContent + })] + }) + }); +}; +/* harmony default export */ var ui_customization_FixedBottom = (FixedBottom_CustomTabs); +;// CONCATENATED MODULE: ./src/components/ui-customization/CustomCrumbs/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var CustomCrumbsmodules = ({"flex_box_center":"flex_box_center___tY8Yn","flex_space_between":"flex_space_between___vHdYA","flex_box_vertical_center":"flex_box_vertical_center___pa61F","flex_box_center_end":"flex_box_center_end___HyDXt","flex_box_column":"flex_box_column___UjZek","crumbs":"crumbs___V41Oe","hover":"hover___bEIVd"}); +// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules +var _umi_production_exports = __webpack_require__(89214); +;// CONCATENATED MODULE: ./src/components/ui-customization/CustomCrumbs/index.tsx + + + + + + +var CustomCrumbs_CustomTabs = function CustomTabs(_ref) { + var className = _ref.className, + _ref$style = _ref.style, + style = _ref$style === void 0 ? {} : _ref$style, + _ref$dataSource = _ref.dataSource, + dataSource = _ref$dataSource === void 0 ? [] : _ref$dataSource; + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: classnames_default()(CustomCrumbsmodules.crumbs, className), + style: style, + children: dataSource.map(function (e, i) { + if (i < dataSource.length - 1) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment, { + children: [e.path ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: CustomCrumbsmodules.hover, + onClick: function onClick() { + return _umi_production_exports.history.push(e.path); + }, + children: e.name + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: e.name + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: ["\xA0", '>', "\xA0"] + })] + }, i); + } + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#5F6368' + }, + children: e.name + }, i); + }) + }); +}; +/* harmony default export */ var CustomCrumbs = (CustomCrumbs_CustomTabs); +;// CONCATENATED MODULE: ./src/components/ui-customization/index.tsx + + + + + + + + + + + + + + + + + + +/***/ }), + +/***/ 61891: +/*!****************************************!*\ + !*** ./src/components/useInterval.tsx ***! + \****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ useInterval; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); + +function useInterval(callback, delay) { + var savedCallback = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(); + + // 保存新回调 + (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () { + savedCallback.current = callback; + }); + + // 建立 interval + (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () { + function tick() { + savedCallback.current(); + } + if (delay !== null) { + var id = setInterval(tick, delay); + return function () { + return clearInterval(id); + }; + } + }, [delay]); +} + +/***/ }), + +/***/ 12790: /*!***********************************************************************!*\ - !*** ./src/pages/virtualSpaces/Lists/Knowledge/index.tsx + 1 modules ***! + !*** ./src/pages/virtualSpaces/Lists/Knowledge/index.tsx + 3 modules ***! \***********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -54,8 +3633,2098 @@ var resetmodules = __webpack_require__(39132); var authority = __webpack_require__(7); // EXTERNAL MODULE: ./src/utils/util.tsx var util = __webpack_require__(29427); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/classCallCheck.js +var classCallCheck = __webpack_require__(56690); +var classCallCheck_default = /*#__PURE__*/__webpack_require__.n(classCallCheck); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createClass.js +var createClass = __webpack_require__(89728); +var createClass_default = /*#__PURE__*/__webpack_require__.n(createClass); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/get.js +var get = __webpack_require__(41588); +var get_default = /*#__PURE__*/__webpack_require__.n(get); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/getPrototypeOf.js +var getPrototypeOf = __webpack_require__(73808); +var getPrototypeOf_default = /*#__PURE__*/__webpack_require__.n(getPrototypeOf); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/inherits.js +var inherits = __webpack_require__(61655); +var inherits_default = /*#__PURE__*/__webpack_require__.n(inherits); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/createSuper.js +var createSuper = __webpack_require__(26389); +var createSuper_default = /*#__PURE__*/__webpack_require__.n(createSuper); +// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules +var es_form = __webpack_require__(25159); +// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 4 modules +var message = __webpack_require__(2453); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/index.js + 1 modules +var dropdown = __webpack_require__(85418); +// EXTERNAL MODULE: ./node_modules/antd/es/select/index.js + 42 modules +var es_select = __webpack_require__(79035); +// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules +var input = __webpack_require__(79531); +// EXTERNAL MODULE: ./node_modules/antd/es/tree/index.js + 35 modules +var tree = __webpack_require__(282); +// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js +var col = __webpack_require__(15746); +// EXTERNAL MODULE: ./node_modules/antd/es/upload/index.js + 24 modules +var upload = __webpack_require__(31365); +// EXTERNAL MODULE: ./node_modules/gojs-react/lib/esm/gojsreact.js + 1 modules +var gojsreact = __webpack_require__(80500); +// EXTERNAL MODULE: ./node_modules/gojs3/release/go-module.js +var go_module = __webpack_require__(23495); +// EXTERNAL MODULE: ./src/utils/fullscreen.ts +var fullscreen = __webpack_require__(15994); +;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Knowledge/knowledge/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var knowledgemodules = ({"flex_box_center":"flex_box_center___dw6yv","flex_space_between":"flex_space_between___bkc32","flex_box_vertical_center":"flex_box_vertical_center___jDpm2","flex_box_center_end":"flex_box_center_end___g9JOB","flex_box_column":"flex_box_column___ngIjI","diagram-component":"diagram-component___fHDp0","rightmodal":"rightmodal___Fwj_F","title":"title___YZZgl","button":"button___yQKxh","linetitles":"linetitles___CFVw5","line":"line___hSEjG","additem":"additem___cy1wv","lebels":"lebels___E2znG","describe":"describe___emw2X","describetitle":"describetitle___bgNOs","ehover":"ehover____RCDx","dhover":"dhover___IP_3b","header":"header___PCDQg","headeractivite":"headeractivite___x56tJ"}); +// EXTERNAL MODULE: ./src/components/NoData/index.tsx +var NoData = __webpack_require__(82982); +// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules +var env = __webpack_require__(59758); +// EXTERNAL MODULE: ./node_modules/react-draggable/build/cjs/cjs.js +var cjs = __webpack_require__(61193); +var cjs_default = /*#__PURE__*/__webpack_require__.n(cjs); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Knowledge/knowledge/index.tsx + + + + + + + + + + + + + + + + + + + + + + + + + + +var ContinuousForceDirectedLayout = /*#__PURE__*/function (_go$ForceDirectedLayo) { + inherits_default()(ContinuousForceDirectedLayout, _go$ForceDirectedLayo); + var _super = createSuper_default()(ContinuousForceDirectedLayout); + function ContinuousForceDirectedLayout() { + classCallCheck_default()(this, ContinuousForceDirectedLayout); + return _super.apply(this, arguments); + } + createClass_default()(ContinuousForceDirectedLayout, [{ + key: "isFixed", + value: function isFixed(v) { + return v.node.isSelected; + } + }, { + key: "doLayout", + value: function doLayout(coll) { + var _this = this; + if (!this._isObserving) { + this._isObserving = true; + this.diagram.addModelChangedListener(function (e) { + if (e.modelChange !== "" || e.change === go_module/* ChangedEvent.Transaction */.Vk.Transaction && e.propertyName === "StartingFirstTransaction") { + _this.network = null; + } + }); + } + var net = this.network; + if (net === null) { + this.network = net = this.makeNetwork(coll); + } else { + this.diagram.nodes.each(function (n) { + var v = net.findVertex(n); + if (v !== null) v.bounds = n.actualBounds; + }); + } + get_default()(getPrototypeOf_default()(ContinuousForceDirectedLayout.prototype), "doLayout", this).call(this, coll); + this.network = net; + } + }]); + return ContinuousForceDirectedLayout; +}(go_module/* ForceDirectedLayout */.hD); +var colors = ['#3CDAA3', '#9C41DE', '#F84F90', '#30A7F1', '#6656FF']; +var textcolor = ['根节点', '课件知识单元', '实训知识单元', '文本知识单元', '知识点']; +var Atlas = function Atlas(_ref) { + var _items$descriptions; + var globalSetting = _ref.globalSetting, + dispatch = _ref.dispatch, + virtualSpaces = _ref.virtualSpaces; + var params = (0,_umi_production_exports.useParams)(); + var diagramRef = (0,react.useRef)(); + var _useState = (0,react.useState)(false), + _useState2 = slicedToArray_default()(_useState, 2), + upname = _useState2[0], + setupname = _useState2[1]; + var _useState3 = (0,react.useState)(false), + _useState4 = slicedToArray_default()(_useState3, 2), + buttonloading = _useState4[0], + setbuttonloading = _useState4[1]; + var _useState5 = (0,react.useState)(false), + _useState6 = slicedToArray_default()(_useState5, 2), + additem = _useState6[0], + setadditem = _useState6[1]; + var _useState7 = (0,react.useState)(false), + _useState8 = slicedToArray_default()(_useState7, 2), + addunit = _useState8[0], + setaddunit = _useState8[1]; + var _useState9 = (0,react.useState)(true), + _useState10 = slicedToArray_default()(_useState9, 2), + ismind = _useState10[0], + setismind = _useState10[1]; + var _useState11 = (0,react.useState)(false), + _useState12 = slicedToArray_default()(_useState11, 2), + sploading = _useState12[0], + setsploading = _useState12[1]; + var _useState13 = (0,react.useState)({}), + _useState14 = slicedToArray_default()(_useState13, 2), + items = _useState14[0], + setitems = _useState14[1]; + var _Form$useForm = es_form/* default.useForm */.Z.useForm(), + _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), + form = _Form$useForm2[0]; + var _useState15 = (0,react.useState)(false), + _useState16 = slicedToArray_default()(_useState15, 2), + relation = _useState16[0], + setrelation = _useState16[1]; + var _useState17 = (0,react.useState)(true), + _useState18 = slicedToArray_default()(_useState17, 2), + urldisabled = _useState18[0], + seturldisabled = _useState18[1]; + var _useState19 = (0,react.useState)({ + index: '', + name: '', + add: false + }), + _useState20 = slicedToArray_default()(_useState19, 2), + describe = _useState20[0], + setdescribe = _useState20[1]; + var _useState21 = (0,react.useState)({}), + _useState22 = slicedToArray_default()(_useState21, 2), + datas = _useState22[0], + setdatas = _useState22[1]; + var containerRef = (0,react.useRef)(null); + var _useState23 = (0,react.useState)(false), + _useState24 = slicedToArray_default()(_useState23, 2), + IsFulls = _useState24[0], + setIsFull = _useState24[1]; + var _useState25 = (0,react.useState)(false), + _useState26 = slicedToArray_default()(_useState25, 2), + exportshow = _useState26[0], + setexport = _useState26[1]; + var _useState27 = (0,react.useState)([]), + _useState28 = slicedToArray_default()(_useState27, 2), + fileList = _useState28[0], + setFileList = _useState28[1]; + var _useState29 = (0,react.useState)([]), + _useState30 = slicedToArray_default()(_useState29, 2), + three = _useState30[0], + setthree = _useState30[1]; + var _useState31 = (0,react.useState)([]), + _useState32 = slicedToArray_default()(_useState31, 2), + expandedKeys = _useState32[0], + setExpandedKeys = _useState32[1]; + var _useState33 = (0,react.useState)(''), + _useState34 = slicedToArray_default()(_useState33, 2), + searchValue = _useState34[0], + setSearchValue = _useState34[1]; + var _useState35 = (0,react.useState)(true), + _useState36 = slicedToArray_default()(_useState35, 2), + autoExpandParent = _useState36[0], + setAutoExpandParent = _useState36[1]; + var _useState37 = (0,react.useState)(), + _useState38 = slicedToArray_default()(_useState37, 2), + AddModal = _useState38[0], + setAddModal = _useState38[1]; + var _useState39 = (0,react.useState)([]), + _useState40 = slicedToArray_default()(_useState39, 2), + threelist = _useState40[0], + setthreelist = _useState40[1]; + var _useState41 = (0,react.useState)(false), + _useState42 = slicedToArray_default()(_useState41, 2), + showadd = _useState42[0], + setshowadd = _useState42[1]; + var _useState43 = (0,react.useState)(false), + _useState44 = slicedToArray_default()(_useState43, 2), + selectmodal = _useState44[0], + setselectmodal = _useState44[1]; + var relationshipDiagramRef = (0,react.useRef)(); + var treeDiagramRef = (0,react.useRef)(); + var _useState45 = (0,react.useState)(false), + _useState46 = slicedToArray_default()(_useState45, 2), + disabled = _useState46[0], + setDisabled = _useState46[1]; + var _useState47 = (0,react.useState)({ + left: 0, + top: 0, + bottom: 0, + right: 0 + }), + _useState48 = slicedToArray_default()(_useState47, 2), + bounds = _useState48[0], + setBounds = _useState48[1]; + var draggleRef = (0,react.useRef)(null); + var virtualSpacesDetails = virtualSpaces.virtualSpacesDetails; + var permission = (virtualSpacesDetails === null || virtualSpacesDetails === void 0 ? void 0 : virtualSpacesDetails.is_member) || (0,authority/* isSuperAdmins */.Ny)(); + var _onStart = function onStart(_event, uiData) { + var _draggleRef$current; + var _window$document$docu = window.document.documentElement, + clientWidth = _window$document$docu.clientWidth, + clientHeight = _window$document$docu.clientHeight; + var targetRect = (_draggleRef$current = draggleRef.current) === null || _draggleRef$current === void 0 ? void 0 : _draggleRef$current.getBoundingClientRect(); + setBounds({ + left: -targetRect.left + uiData.x, + right: clientWidth - (targetRect.right - uiData.x), + top: -targetRect.top + uiData.y, + bottom: clientHeight - (targetRect.bottom - uiData.y) - 70 + }); + }; + var _useState49 = (0,react.useState)(600), + _useState50 = slicedToArray_default()(_useState49, 2), + widths = _useState50[0], + setwidths = _useState50[1]; + (0,react.useEffect)(function () { + setdatas({}); + getdatas(); + }, [params, ismind]); + (0,react.useEffect)(function () { + treeChart(); + message/* default.config */.ZP.config({ + getContainer: function getContainer() { + return containerRef.current; + }, + top: 100 + }); + }, []); + var treeChart = function treeChart() { + if (treeDiagramRef.current) return; + var $ = go_module/* GraphObject.make */.bx.make; + var myDiagram = new go_module/* Diagram */.S0("myDiagramDiv", { + // when the user drags a node, also move/copy/delete the whole subtree starting with that node + "commandHandler.copiesTree": false, + "commandHandler.copiesParentKey": false, + "commandHandler.deletesTree": false, + "draggingTool.dragsTree": false, + "undoManager.isEnabled": false, + "doubleClick": false + }); + treeDiagramRef.current = myDiagram; + var layout = go_module/* GraphObject.make */.bx.make(go_module/* TreeLayout */.FF); + layout.angle = 0; + layout.arrangement = go_module/* TreeLayout.ArrangementFixedRoots */.FF.ArrangementFixedRoots; + myDiagram.layout = layout; + myDiagram.nodeTemplate = $(go_module/* Node */.NB, "Vertical", { + selectionObjectName: "TEXT" + }, $(go_module/* TextBlock */.al, { + name: "TEXT", + minSize: new go_module/* Size */.$u(30, 15) + }, + // remember not only the text string but the scale and the font in the node data + new go_module/* Binding */.KX("text", "text").makeTwoWay(), new go_module/* Binding */.KX("scale", "scale").makeTwoWay(), new go_module/* Binding */.KX("font", "font").makeTwoWay()), $(go_module/* Shape */.bn, "LineH", { + stretch: go_module/* GraphObject.Horizontal */.bx.Horizontal, + strokeWidth: 3, + height: 3, + // this line shape is the port -- what links connect with + portId: "", + fromSpot: go_module/* Spot.LeftRightSides */.z6.LeftRightSides, + toSpot: go_module/* Spot.LeftRightSides */.z6.LeftRightSides + }, new go_module/* Binding */.KX("stroke", "brush"), + // make sure links come in from the proper direction and go out appropriately + new go_module/* Binding */.KX("fromSpot", "dir", function (d) { + return spotConverter(d, true); + }), new go_module/* Binding */.KX("toSpot", "dir", function (d) { + return spotConverter(d, false); + })), + // remember the locations of each node in the node data + new go_module/* Binding */.KX("location", "loc", go_module/* Point.parse */.E9.parse).makeTwoWay(go_module/* Point.stringify */.E9.stringify), + // make sure text "grows" in the desired direction + new go_module/* Binding */.KX("locationSpot", "dir", function (d) { + return spotConverter(d, false); + }), { + click: function click(e, thisObj) { + if (permission) { + setitems(thisObj === null || thisObj === void 0 ? void 0 : thisObj.data); + setBounds({ + left: 0, + top: 0, + bottom: 0, + right: 0 + }); + } else { + var _thisObj$data, _thisObj$data2; + if (!(thisObj !== null && thisObj !== void 0 && (_thisObj$data = thisObj.data) !== null && _thisObj$data !== void 0 && _thisObj$data.url)) { + return; + } + window.open(thisObj === null || thisObj === void 0 ? void 0 : (_thisObj$data2 = thisObj.data) === null || _thisObj$data2 === void 0 ? void 0 : _thisObj$data2.url); + } + // setitems(thisObj?.data) + } + }); + + myDiagram.allowDoubleClick = false; + myDiagram.allowSelect = "single"; + myDiagram.commandHandler.canDeleteSelection = false; + myDiagram.commandHandler.canUndo = false; + var clickSelectingTool = myDiagram.toolManager.clickSelectingTool; + clickSelectingTool.canStartMulti = false; + myDiagram.linkTemplate = $(go_module/* Link */.rU, { + curve: go_module/* Link.Bezier */.rU.Bezier, + fromShortLength: -2, + toShortLength: -2, + selectable: false + }, $(go_module/* Shape */.bn, { + strokeWidth: 3 + }, new go_module/* Binding */.KX("stroke", "toNode", function (n) { + if (n.data.brush) return n.data.brush; + return "black"; + }).ofObject())); + }; + function loadTreeChart(nodeData) { + treeDiagramRef.current.model = go_module/* Model.fromJson */.Hn.fromJson(JSON.stringify({ + "class": "go.TreeModel", + "nodeDataArray": nodeData.map(function (item) { + item.brush = colors[item.unit_type]; + return item; + }) + })); + } + function getdatas() { + return _getdatas.apply(this, arguments); + } + function _getdatas() { + _getdatas = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee15() { + var url, res, _res$nodeData, _items; + return regeneratorRuntime_default()().wrap(function _callee15$(_context15) { + while (1) switch (_context15.prev = _context15.next) { + case 0: + url = ismind ? "/api/knowledge_graphs/tree.json" : "/api/knowledge_graphs/map.json"; + _context15.next = 3; + return (0,fetch/* default */.ZP)(url, { + method: 'get', + params: { + type: 2, + identifier: params.virtual_spacesId + } + }); + case 3: + res = _context15.sent; + if (res.status === 0) { + _items = res === null || res === void 0 ? void 0 : (_res$nodeData = res.nodeData) === null || _res$nodeData === void 0 ? void 0 : _res$nodeData.map(function (item, index) { + return objectSpread2_default()(objectSpread2_default()({}, item), {}, { + bgcolor: colors[item.unit_type], + parent: item.parent_id + }); + }); + setdatas(objectSpread2_default()(objectSpread2_default()({}, res), {}, { + nodeData: _items + })); + if (ismind) { + loadTreeChart(_items); + setTimeout(function () { + zoomToFit(); + }, 300); + } else { + zoomToFit(); + } + } + case 5: + case "end": + return _context15.stop(); + } + }, _callee15); + })); + return _getdatas.apply(this, arguments); + } + var Draggers = { + onRemove: function onRemove() { + setFileList([]); + }, + beforeUpload: function beforeUpload(file) { + console.log(file); + if ((file === null || file === void 0 ? void 0 : file.size) > 1024 * 1024 * 50) { + message/* default.info */.ZP.info('文件超过50M,不符合上传要求'); + return false; + } + var filelist = []; + filelist.push(file); + setFileList([].concat(filelist)); + return false; + }, + fileList: fileList, + accept: ".xls,.xlsx" + }; + var treeData = (0,react.useMemo)(function () { + var loop = function loop(data) { + return data.map(function (item) { + var strTitle = item.title; + var index = strTitle.indexOf(searchValue); + var beforeStr = strTitle.substring(0, index); + var afterStr = strTitle.slice(index + searchValue.length); + var title = index > -1 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [beforeStr, /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#f50' + }, + children: searchValue + }), afterStr] + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: strTitle + }); + if (item.children) { + return { + title: title, + key: item.key, + children: loop(item.children) + }; + } + return { + title: title, + key: item.key + }; + }); + }; + return loop(three); + }, [searchValue, three]); + function initDiagram() { + var $ = go_module/* GraphObject.make */.bx.make; + var myDiagram = $(go_module/* Diagram */.S0, { + allowSelect: false, + 'undoManager.isEnabled': true, + // 'clickCreatingTool.archetypeNodeData': { text: 'new node', color: 'lightblue' }, + initialAutoScale: go_module/* Diagram.Uniform */.S0.Uniform, + contentAlignment: go_module/* Spot.Center */.z6.Center, + layout: $(ContinuousForceDirectedLayout, { + defaultSpringLength: 30, + defaultElectricalCharge: 100 + }), + "SelectionMoved": function SelectionMoved(e) { + return e.diagram.layout.invalidateLayout(); + }, + model: $(go_module/* GraphLinksModel */.FJ, { + linkKeyProperty: 'key', + makeUniqueKeyFunction: function makeUniqueKeyFunction(m, data) { + var k = data.key || 1; + while (m.findNodeDataForKey(k)) k++; + data.key = k; + return k; + }, + makeUniqueLinkKeyFunction: function makeUniqueLinkKeyFunction(m, data) { + var k = data.key || -1; + while (m.findLinkDataForKey(k)) k--; + data.key = k; + return k; + } + }) + }); + myDiagram.toolManager.draggingTool.doMouseMove = function () { + // method override must be function, not => + go_module/* DraggingTool.prototype.doMouseMove.call */.h1.prototype.doMouseMove.call(this); + if (this.isActive) this.diagram.layout.doLayout(true); + }; + myDiagram.nodeTemplate = $(go_module/* Node */.NB, "Auto", { + minSize: new go_module/* Size */.$u(100, 100) + }, $(go_module/* Shape */.bn, "Circle", { + stroke: "white", + spot1: new go_module/* Spot */.z6(0, 0, 5, 5), + spot2: new go_module/* Spot */.z6(1, 1, -5, -5) + }, new go_module/* Binding */.KX('fill', 'bgcolor')), $(go_module/* TextBlock */.al, { + font: "bold 10pt helvetica, bold arial, sans-serif", + stroke: 'white', + textAlign: "center", + maxSize: new go_module/* Size */.$u(100, NaN) + }, new go_module/* Binding */.KX('text', 'text')), { + click: function click(e, thisObj) { + if (permission) { + setitems(thisObj === null || thisObj === void 0 ? void 0 : thisObj.data); + setBounds({ + left: 0, + top: 0, + bottom: 0, + right: 0 + }); + } else { + var _thisObj$data3, _thisObj$data4; + if (!(thisObj !== null && thisObj !== void 0 && (_thisObj$data3 = thisObj.data) !== null && _thisObj$data3 !== void 0 && _thisObj$data3.url)) { + return; + } + window.open(thisObj === null || thisObj === void 0 ? void 0 : (_thisObj$data4 = thisObj.data) === null || _thisObj$data4 === void 0 ? void 0 : _thisObj$data4.url); + } + } + }); + myDiagram.linkTemplate = $(go_module/* Link */.rU, + // the whole link panel + { + layerName: 'Background' + }, $(go_module/* Shape */.bn, + // the link shape + { + stroke: "black" + }), $(go_module/* Shape */.bn, + // the arrowhead + { + toArrow: "standard", + stroke: null + }), $(go_module/* Panel */.s_, "Auto", $(go_module/* Shape */.bn, { + fill: $(go_module/* Brush */.BD, "Radial", { + 0: "rgb(240, 240, 240)", + 0.3: "rgb(240, 240, 240)", + 1: "rgba(240, 240, 240, 0)" + }), + stroke: null + }), $(go_module/* TextBlock */.al, + // the label text + { + textAlign: "center", + font: "10pt helvetica, arial, sans-serif", + stroke: "#555555", + margin: 4 + }, new go_module/* Binding */.KX("text", "text")))); + myDiagram.doubleClick = false; + myDiagram.allowDoubleClick = false; + myDiagram.allowSelect = "single"; + myDiagram.commandHandler.canDeleteSelection = false; + myDiagram.commandHandler.canUndo = false; + myDiagram.allowInsert = false; + var clickSelectingTool = myDiagram.toolManager.clickSelectingTool; + clickSelectingTool.canStartMulti = false; + relationshipDiagramRef.current = myDiagram; + return myDiagram; + } + function spotConverter(dir, from) { + if (dir === "left") { + return from ? go_module/* Spot.Left */.z6.Left : go_module/* Spot.Right */.z6.Right; + } else { + return from ? go_module/* Spot.Right */.z6.Right : go_module/* Spot.Left */.z6.Left; + } + } + function zoomToFit() { + var _treeDiagramRef$curre, _treeDiagramRef$curre2, _relationshipDiagramR, _relationshipDiagramR2; + setwidths(600); + (_treeDiagramRef$curre = treeDiagramRef.current) === null || _treeDiagramRef$curre === void 0 ? void 0 : (_treeDiagramRef$curre2 = _treeDiagramRef$curre.zoomToFit) === null || _treeDiagramRef$curre2 === void 0 ? void 0 : _treeDiagramRef$curre2.call(_treeDiagramRef$curre); + (_relationshipDiagramR = relationshipDiagramRef.current) === null || _relationshipDiagramR === void 0 ? void 0 : (_relationshipDiagramR2 = _relationshipDiagramR.zoomToFit) === null || _relationshipDiagramR2 === void 0 ? void 0 : _relationshipDiagramR2.call(_relationshipDiagramR); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + ref: containerRef, + style: { + paddingBottom: 20, + background: "#FFF", + position: 'relative', + height: '100vh' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, { + spinning: sploading, + children: [(datas === null || datas === void 0 ? void 0 : datas.is_root) && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, { + ButtonClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + setsploading(true); + _context.next = 3; + return (0,fetch/* default */.ZP)("/api/knowledge_graphs/set_root.json", { + method: 'post', + body: { + type: 2, + identifier: params.virtual_spacesId + } + }); + case 3: + res = _context.sent; + setsploading(false); + if (res.status === 0) { + getdatas(); + } + case 6: + case "end": + return _context.stop(); + } + }, _callee); + })), + buttonProps: { + type: 'primary' + }, + ButtonText: permission && '新增节点', + ButtonTwo: permission && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + style: { + marginLeft: 20 + }, + onClick: function onClick() { + setexport(true); + }, + type: "primary", + children: "\u6587\u4EF6\u5BFC\u5165" + }), + styles: { + margin: 'auto', + paddingTop: 100 + } + }), !(datas !== null && datas !== void 0 && datas.is_root) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + height: 60, + border: '1px solid #e7e7e7', + display: 'flex' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: function onClick() { + setismind(true); + setitems({}); + }, + className: ismind ? knowledgemodules.headeractivite : knowledgemodules.header, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-zhishishu" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u77E5\u8BC6\u6811" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: function onClick() { + setismind(false); + setitems({}); + }, + className: ismind ? knowledgemodules.header : knowledgemodules.headeractivite, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-guanxitu" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u5173\u7CFB\u56FE" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: function onClick() { + var _treeDiagramRef$curre3, _treeDiagramRef$curre4, _relationshipDiagramR3, _relationshipDiagramR4; + var viewportWidth = ismind ? treeDiagramRef.current.viewportBounds.width : relationshipDiagramRef.current.viewportBounds.width; + var viewportHeight = ismind ? treeDiagramRef.current.viewportBounds.height : relationshipDiagramRef.current.viewportBounds.height; + (_treeDiagramRef$curre3 = treeDiagramRef.current) === null || _treeDiagramRef$curre3 === void 0 ? void 0 : (_treeDiagramRef$curre4 = _treeDiagramRef$curre3.zoomToRect) === null || _treeDiagramRef$curre4 === void 0 ? void 0 : _treeDiagramRef$curre4.call(_treeDiagramRef$curre3, new go_module/* Rect */.UL(1, 1, viewportWidth / 1.1, viewportHeight / 1.1)); + (_relationshipDiagramR3 = relationshipDiagramRef.current) === null || _relationshipDiagramR3 === void 0 ? void 0 : (_relationshipDiagramR4 = _relationshipDiagramR3.zoomToRect) === null || _relationshipDiagramR4 === void 0 ? void 0 : _relationshipDiagramR4.call(_relationshipDiagramR3, new go_module/* Rect */.UL(1, 1, viewportWidth / 1.1, viewportHeight / 1.1)); + }, + className: knowledgemodules.header, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-fangda3" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u653E\u5927" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: function onClick() { + var _treeDiagramRef$curre5, _treeDiagramRef$curre6, _relationshipDiagramR5, _relationshipDiagramR6; + var viewportWidth = ismind ? treeDiagramRef.current.viewportBounds.width : relationshipDiagramRef.current.viewportBounds.width; + var viewportHeight = ismind ? treeDiagramRef.current.viewportBounds.height : relationshipDiagramRef.current.viewportBounds.height; + (_treeDiagramRef$curre5 = treeDiagramRef.current) === null || _treeDiagramRef$curre5 === void 0 ? void 0 : (_treeDiagramRef$curre6 = _treeDiagramRef$curre5.zoomToRect) === null || _treeDiagramRef$curre6 === void 0 ? void 0 : _treeDiagramRef$curre6.call(_treeDiagramRef$curre5, new go_module/* Rect */.UL(1, 1, viewportWidth * 1.1, viewportHeight * 1.1)); + (_relationshipDiagramR5 = relationshipDiagramRef.current) === null || _relationshipDiagramR5 === void 0 ? void 0 : (_relationshipDiagramR6 = _relationshipDiagramR5.zoomToRect) === null || _relationshipDiagramR6 === void 0 ? void 0 : _relationshipDiagramR6.call(_relationshipDiagramR5, new go_module/* Rect */.UL(1, 1, viewportWidth * 1.1, viewportHeight * 1.1)); + }, + className: knowledgemodules.header, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-suoxiao3" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u7F29\u5C0F" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: function onClick() { + var _treeDiagramRef$curre7, _treeDiagramRef$curre8, _relationshipDiagramR7, _relationshipDiagramR8; + setwidths(600); + (_treeDiagramRef$curre7 = treeDiagramRef.current) === null || _treeDiagramRef$curre7 === void 0 ? void 0 : (_treeDiagramRef$curre8 = _treeDiagramRef$curre7.zoomToFit) === null || _treeDiagramRef$curre8 === void 0 ? void 0 : _treeDiagramRef$curre8.call(_treeDiagramRef$curre7); + (_relationshipDiagramR7 = relationshipDiagramRef.current) === null || _relationshipDiagramR7 === void 0 ? void 0 : (_relationshipDiagramR8 = _relationshipDiagramR7.zoomToFit) === null || _relationshipDiagramR8 === void 0 ? void 0 : _relationshipDiagramR8.call(_relationshipDiagramR7); + }, + className: knowledgemodules.header, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-zishiying" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u6700\u4F73\u9002\u5E94" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var res, _res$list; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + setselectmodal(true); + _context2.next = 3; + return (0,fetch/* default */.ZP)("/api/knowledge_graphs.json", { + method: 'get', + params: { + type: 2, + identifier: params.virtual_spacesId + } + }); + case 3: + res = _context2.sent; + if (res.status === 0) { + setthreelist(res === null || res === void 0 ? void 0 : res.list); + setthree(res === null || res === void 0 ? void 0 : res.knowledge_graphs); + setExpandedKeys(res === null || res === void 0 ? void 0 : (_res$list = res.list) === null || _res$list === void 0 ? void 0 : _res$list.map(function (item) { + return item.key; + })); + } + case 5: + case "end": + return _context2.stop(); + } + }, _callee2); + })), + className: knowledgemodules.header, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-chazhao" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u67E5\u627E" + })] + }), permission && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: function onClick() { + setexport(true); + }, + className: knowledgemodules.header, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-daoru" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u5BFC\u5165" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + flex: 1, + textAlign: 'end', + lineHeight: '60px' + }, + children: [permission && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u6E05\u7A7A\u6240\u6709\u6570\u636E", + getPopupContainer: function getPopupContainer() { + return containerRef.current; + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: function onClick() { + modal/* default.confirm */.Z.confirm({ + title: '提示', + icon: null, + centered: true, + getContainer: function getContainer() { + return containerRef.current; + }, + content: '请确定是否将知识图谱所有的数据清空,恢复空状态,清空后数据不可恢复!本次清空不会影响到课程章节内容,仅作用于知识图谱的数据。', + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + var res; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return (0,fetch/* default */.ZP)("/api/knowledge_graphs/delete_all.json", { + method: 'DELETE', + body: { + type: 2, + identifier: params.virtual_spacesId + } + }); + case 2: + res = _context3.sent; + if (res.status === 0) { + getdatas(); + setitems({}); + } + case 4: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }() + }); + }, + className: "iconfont icon-shanchu14 ".concat(knowledgemodules.dhover) + }) + }), permission && /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, { + getPopupContainer: function getPopupContainer() { + return containerRef.current; + }, + menu: { + items: [{ + key: '1', + style: { + width: 100 + }, + label: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + href: "".concat(env/* default.API_SERVER */.Z.API_SERVER, "/api/knowledge_graphs/export.xlsx?identifier=").concat(params.virtual_spacesId, "&type=2"), + children: "\u5BFC\u51FAExcel" + }) + }, { + key: '2', + label: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + href: "".concat(env/* default.API_SERVER */.Z.API_SERVER, "/api/knowledge_graphs/export.json?identifier=").concat(params.virtual_spacesId, "&type=2"), + children: "\u5BFC\u51FAWord" + }) + }] + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + style: { + marginLeft: 30 + }, + className: "iconfont icon-xiazai6 ".concat(knowledgemodules.ehover) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: function onClick() { + if ((0,fullscreen/* IsFull */.vp)()) { + setIsFull(false); + (0,fullscreen/* exitFull */.BU)(); + } else { + setIsFull(true); + (0,fullscreen/* requestFullScreen */.Dj)(containerRef.current); + } + zoomToFit(); + }, + style: { + marginLeft: 30, + marginRight: 20 + }, + className: "iconfont ".concat(IsFulls ? 'icon-tuichuquanping3' : 'icon-quanping4', " ").concat(knowledgemodules.ehover) + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "relative", + children: [!ismind && /*#__PURE__*/(0,jsx_runtime.jsx)(gojsreact/* ReactDiagram */.FI, { + ref: diagramRef, + divClassName: "diagram-component", + style: { + backgroundColor: '#fff', + height: IsFulls ? "calc(100vh - 100px)" : 540, + visibility: datas !== null && datas !== void 0 && datas.is_root ? 'hidden' : 'visible' + }, + initDiagram: initDiagram, + nodeDataArray: datas === null || datas === void 0 ? void 0 : datas.nodeData, + linkDataArray: datas === null || datas === void 0 ? void 0 : datas.linkData + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + id: "myDiagramDiv", + style: { + height: IsFulls ? "calc(100vh - 100px)" : 540, + width: "100%", + visibility: datas !== null && datas !== void 0 && datas.is_root ? 'hidden' : ismind ? "visible" : "hidden", + position: ismind ? "relative" : "absolute" + } + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: !(datas !== null && datas !== void 0 && datas.is_root) && textcolor.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + marginLeft: index === 0 && 20, + marginRight: 30 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginRight: 6, + width: 16, + height: 8, + background: colors[index], + display: 'inline-flex', + borderRadius: 4 + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#9096A3' + }, + children: item + })] + }); + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + zIndex: 1000 + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)((cjs_default()), { + disabled: disabled, + bounds: bounds, + onStart: function onStart(event, uiData) { + return _onStart(event, uiData); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + ref: draggleRef, + style: { + position: 'fixed', + cursor: 'move', + right: IsFulls ? 0 : 0, + top: IsFulls ? 60 : 260, + zIndex: 12 + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + onMouseOver: function onMouseOver() { + if (disabled) { + if (!urldisabled) { + setDisabled(true); + } else { + setDisabled(false); + } + } + }, + onMouseOut: function onMouseOut() { + setDisabled(true); + }, + children: items.id && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: knowledgemodules.rightmodal, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, { + spinning: sploading, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: knowledgemodules.title, + children: [items.text, " ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: function onClick() { + setupname(true); + form.setFieldsValue({ + name: items.text + }); + }, + className: "iconfont icon-bianji3", + style: { + marginLeft: 14, + color: '#666666', + cursor: 'pointer' + } + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + style: { + cursor: 'pointer' + }, + onClick: function onClick() { + var _treeDiagramRef$curre9, _relationshipDiagramR9; + setitems({}); + (_treeDiagramRef$curre9 = treeDiagramRef.current) === null || _treeDiagramRef$curre9 === void 0 ? void 0 : _treeDiagramRef$curre9.clearSelection(); + (_relationshipDiagramR9 = relationshipDiagramRef.current) === null || _relationshipDiagramR9 === void 0 ? void 0 : _relationshipDiagramR9.clearSelection(); + }, + className: "iconfont icon-danchuangguanbi" + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + marginTop: 25 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: knowledgemodules.button, + onClick: function onClick() { + if (items.unit_type >= 4 || items.unit_type === 0) { + if (items.unit_type === 0) { + message/* default.info */.ZP.info('根节点暂不支持插入知识点'); + } else { + message/* default.info */.ZP.info('知识点为最小单位暂不支持插入知识点'); + } + return; + } + form.setFieldsValue({ + name: '' + }); + setadditem(true); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + style: { + marginRight: 8 + }, + className: "iconfont icon-charuzhishidian1" + }), " \u63D2\u5165\u77E5\u8BC6\u70B9"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: knowledgemodules.button, + onClick: function onClick() { + if (items.unit_type >= 4) { + message/* default.info */.ZP.info('知识点为最小单位暂不支持插入知识单元'); + return; + } + form.setFieldsValue({ + name: '', + unit_type: 3, + url: '' + }); + setaddunit(true); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + style: { + marginRight: 8 + }, + className: "iconfont icon-charuzhishidanyuan" + }), " \u63D2\u5165\u77E5\u8BC6\u5355\u5143"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: knowledgemodules.button, + onClick: function onClick() { + modal/* default.confirm */.Z.confirm({ + icon: null, + title: '提示', + centered: true, + getContainer: function getContainer() { + return containerRef.current; + }, + content: '删除该节点会导致它的子节点一并删除,删除节点不会影响到课程章节内容,删除后,数据不可恢复请确认是否删除', + onOk: function () { + var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { + var res; + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + setsploading(true); + _context4.next = 3; + return (0,fetch/* default */.ZP)("/api/knowledge_graphs/".concat(items.id, ".json"), { + method: 'DELETE' + }); + case 3: + res = _context4.sent; + setsploading(false); + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + setitems({}); + getdatas(); + } + case 6: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + function onOk() { + return _onOk2.apply(this, arguments); + } + return onOk; + }() + }); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + style: { + marginRight: 8 + }, + className: "iconfont icon-shanchujiedian" + }), " \u5220\u9664\u8282\u70B9"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: knowledgemodules.button, + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { + var res, _res$list2; + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { + case 0: + setrelation(true); + _context5.next = 3; + return (0,fetch/* default */.ZP)("/api/knowledge_graphs.json", { + method: 'get', + params: { + type: 2, + identifier: params.virtual_spacesId + } + }); + case 3: + res = _context5.sent; + if (res.status === 0) { + setthreelist(res === null || res === void 0 ? void 0 : res.list); + setthree(res === null || res === void 0 ? void 0 : res.knowledge_graphs); + setExpandedKeys(res === null || res === void 0 ? void 0 : (_res$list2 = res.list) === null || _res$list2 === void 0 ? void 0 : _res$list2.map(function (item) { + return item.key; + })); + } + case 5: + case "end": + return _context5.stop(); + } + }, _callee5); + })), + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + style: { + marginRight: 8 + }, + className: "iconfont icon-guanxi" + }), " \u5173\u7CFB"] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + marginTop: 20 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: knowledgemodules.linetitles, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: knowledgemodules.line + }), "\u5C5E\u6027"] + }), items.unit_type != 4 && items.unit_type > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + paddingLeft: 8 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { + className: knowledgemodules.lebels, + children: "\u7C7B\u578B" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select/* default */.Z, { + size: "large", + getPopupContainer: function getPopupContainer() { + return containerRef.current; + }, + style: { + width: '100%', + marginTop: 6 + }, + value: items.unit_type, + onChange: /*#__PURE__*/function () { + var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(e) { + var res; + return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { + case 0: + items.unit_type = e; + setitems(objectSpread2_default()({}, items)); + setsploading(true); + _context6.next = 5; + return (0,fetch/* default */.ZP)("/api/knowledge_graphs/".concat(items.id, ".json"), { + method: 'put', + body: { + type: 2, + unit_type: e + } + }); + case 5: + res = _context6.sent; + setsploading(false); + if (res.status === 0) { + setupname(false); + getdatas(); + } + case 8: + case "end": + return _context6.stop(); + } + }, _callee6); + })); + return function (_x) { + return _ref5.apply(this, arguments); + }; + }(), + placeholder: "\u8BF7\u9009\u62E9\u7C7B\u578B", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { + value: 1, + children: "\u8BFE\u4EF6" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { + value: 3, + children: "\u6587\u672C" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { + value: 2, + children: "\u5B9E\u8BAD" + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + paddingLeft: 8, + marginTop: 15 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("label", { + className: knowledgemodules.lebels, + style: { + display: 'flex' + }, + children: "\u8DF3\u8F6C\u5730\u5740" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + size: "large", + value: items.url, + onChange: function onChange(e) { + items.url = e.target.value; + setitems(objectSpread2_default()({}, items)); + }, + disabled: urldisabled, + onBlur: /*#__PURE__*/function () { + var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7(e) { + var reg, res; + return regeneratorRuntime_default()().wrap(function _callee7$(_context7) { + while (1) switch (_context7.prev = _context7.next) { + case 0: + setDisabled(false); + if (!e.target.value) { + _context7.next = 6; + break; + } + reg = new RegExp(/^(https?:\/\/)?([\w.-]+)\.([a-z]{2,})(\/\S*)?$/, "i"); + if (reg.test(e.target.value)) { + _context7.next = 6; + break; + } + message/* default.info */.ZP.info('请输入正确的跳转地址'); + return _context7.abrupt("return"); + case 6: + setsploading(true); + _context7.next = 9; + return (0,fetch/* default */.ZP)("/api/knowledge_graphs/".concat(items.id, ".json"), { + method: 'put', + body: { + type: 2, + url: e.target.value + } + }); + case 9: + res = _context7.sent; + setsploading(false); + seturldisabled(true); + if (res.status === 0) { + setupname(false); + getdatas(); + } + case 13: + case "end": + return _context7.stop(); + } + }, _callee7); + })); + return function (_x2) { + return _ref6.apply(this, arguments); + }; + }(), + style: { + width: '81%', + marginTop: 6 + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: function onClick() { + seturldisabled(false); + }, + className: "iconfont icon-bianji3", + style: { + marginLeft: 12, + marginRight: 20, + color: '#666666', + cursor: 'pointer' + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: knowledgemodules.button, + style: { + marginRight: 0 + }, + onClick: function onClick() { + if (!items.url) { + message/* default.info */.ZP.info('链接不能为空'); + return; + } + window.open(items.url); + }, + children: "\u8DF3\u8F6C" + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + marginTop: 20 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: knowledgemodules.linetitles, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: knowledgemodules.line + }), "\u63CF\u8FF0", /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + flex: 1, + textAlign: 'end' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + onClick: function onClick() { + setdescribe({ + add: true, + name: '' + }); + form.setFieldsValue({ + describe: '' + }); + }, + className: knowledgemodules.additem, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + style: { + fontSize: 12 + }, + className: "iconfont icon-tianjiashitixiaojiahao" + }), " \u6DFB\u52A0"] + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + height: 200, + overflow: 'auto' + }, + children: (_items$descriptions = items.descriptions) === null || _items$descriptions === void 0 ? void 0 : _items$descriptions.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: knowledgemodules.describe, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: knowledgemodules.describetitle, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + fontSize: 14, + color: '#000000', + fontWeight: 500 + }, + children: ["\u63CF\u8FF0", index + 1] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: function onClick() { + setdescribe({ + index: index, + name: item + }); + form.setFieldsValue({ + describe: item + }); + }, + style: { + marginRight: 10 + }, + className: "iconfont icon-bianji-moren ".concat(knowledgemodules.ehover) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: function onClick() { + modal/* default.confirm */.Z.confirm({ + icon: null, + title: '提示', + getContainer: function getContainer() { + return containerRef.current; + }, + centered: true, + content: '删除描述后,数据不可恢复,请确认是否删除', + onOk: function () { + var _onOk3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() { + var _items$descriptions2; + var res; + return regeneratorRuntime_default()().wrap(function _callee8$(_context8) { + while (1) switch (_context8.prev = _context8.next) { + case 0: + (_items$descriptions2 = items.descriptions) === null || _items$descriptions2 === void 0 ? void 0 : _items$descriptions2.splice(index, 1); + setitems(objectSpread2_default()({}, items)); + setsploading(true); + _context8.next = 5; + return (0,fetch/* default */.ZP)("/api/knowledge_graphs/".concat(items.id, ".json"), { + method: 'put', + body: { + type: 2, + descriptions: items.descriptions + } + }); + case 5: + res = _context8.sent; + setsploading(false); + if (res.status === 0) { + setupname(false); + getdatas(); + } + case 8: + case "end": + return _context8.stop(); + } + }, _callee8); + })); + function onOk() { + return _onOk3.apply(this, arguments); + } + return onOk; + }() + }); + }, + className: "iconfont icon-shanchutimu ".concat(knowledgemodules.dhover) + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item || '' + })] + }); + }) + })] + })] + }) + }) + }) + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + open: upname, + centered: true, + title: '编辑', + getContainer: function getContainer() { + return containerRef.current; + }, + onCancel: function onCancel() { + return setupname(false); + }, + okButtonProps: { + loading: buttonloading + }, + onOk: function onOk() { + form.submit(); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { + size: "large", + form: form, + onFinish: /*#__PURE__*/function () { + var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9(values) { + var res; + return regeneratorRuntime_default()().wrap(function _callee9$(_context9) { + while (1) switch (_context9.prev = _context9.next) { + case 0: + setbuttonloading(true); + _context9.next = 3; + return (0,fetch/* default */.ZP)("/api/knowledge_graphs/".concat(items.id, ".json"), { + method: 'put', + body: { + type: 2, + name: values.name + } + }); + case 3: + res = _context9.sent; + setbuttonloading(false); + if (res.status === 0) { + if (ismind) { + items.text = values.name; + setitems(items); + } else {} + setupname(false); + message/* default.info */.ZP.info('修改成功'); + getdatas(); + } + case 6: + case "end": + return _context9.stop(); + } + }, _callee9); + })); + return function (_x3) { + return _ref7.apply(this, arguments); + }; + }(), + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "name", + label: "\u540D\u79F0", + rules: [{ + required: true, + validator: function validator(_, value) { + var _value$replaceAll; + return (value === null || value === void 0 ? void 0 : (_value$replaceAll = value.replaceAll(' ', '')) === null || _value$replaceAll === void 0 ? void 0 : _value$replaceAll.length) > 0 ? Promise.resolve() : Promise.reject('请输入名称'); + } + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + maxLength: 30 + }) + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + open: additem, + centered: true, + title: '插入知识点', + getContainer: function getContainer() { + return containerRef.current; + }, + onCancel: function onCancel() { + return setadditem(false); + }, + okButtonProps: { + loading: buttonloading + }, + onOk: function onOk() { + form.submit(); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { + size: "large", + form: form, + onFinish: /*#__PURE__*/function () { + var _ref8 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10(value) { + var res; + return regeneratorRuntime_default()().wrap(function _callee10$(_context10) { + while (1) switch (_context10.prev = _context10.next) { + case 0: + setbuttonloading(true); + _context10.next = 3; + return (0,fetch/* default */.ZP)("/api/knowledge_graphs.json", { + method: 'post', + body: objectSpread2_default()(objectSpread2_default()({}, value), {}, { + unit_type: 4, + type: 2, + identifier: params.virtual_spacesId, + parent_id: items.id + }) + }); + case 3: + res = _context10.sent; + setbuttonloading(false); + if (res.status === 0) { + setadditem(false); + getdatas(); + message/* default.info */.ZP.info('插入知识点成功'); + } + case 6: + case "end": + return _context10.stop(); + } + }, _callee10); + })); + return function (_x4) { + return _ref8.apply(this, arguments); + }; + }(), + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "name", + label: "\u77E5\u8BC6\u70B9\u540D\u79F0", + rules: [{ + required: true, + validator: function validator(_, value) { + var _value$replaceAll2; + return (value === null || value === void 0 ? void 0 : (_value$replaceAll2 = value.replaceAll(' ', '')) === null || _value$replaceAll2 === void 0 ? void 0 : _value$replaceAll2.length) > 0 ? Promise.resolve() : Promise.reject('请输入知识点名称'); + } + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + maxLength: 20 + }) + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + open: addunit, + centered: true, + width: 550, + title: '插入知识单元', + getContainer: function getContainer() { + return containerRef.current; + }, + onCancel: function onCancel() { + return setaddunit(false); + }, + okButtonProps: { + loading: buttonloading + }, + onOk: function onOk() { + form.submit(); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + size: "large", + form: form, + labelCol: { + span: 5 + }, + onFinish: /*#__PURE__*/function () { + var _ref9 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11(value) { + var res; + return regeneratorRuntime_default()().wrap(function _callee11$(_context11) { + while (1) switch (_context11.prev = _context11.next) { + case 0: + _context11.next = 2; + return (0,fetch/* default */.ZP)("/api/knowledge_graphs.json", { + method: 'post', + body: objectSpread2_default()(objectSpread2_default()({}, value), {}, { + type: 2, + identifier: params.virtual_spacesId, + parent_id: items.id + }) + }); + case 2: + res = _context11.sent; + setbuttonloading(false); + if (res.status === 0) { + setaddunit(false); + getdatas(); + message/* default.info */.ZP.info('插入知识单元成功'); + } + case 5: + case "end": + return _context11.stop(); + } + }, _callee11); + })); + return function (_x5) { + return _ref9.apply(this, arguments); + }; + }(), + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "name", + label: "\u77E5\u8BC6\u5355\u5143\u540D\u79F0", + rules: [{ + required: true, + validator: function validator(_, value) { + var _value$replaceAll3; + return (value === null || value === void 0 ? void 0 : (_value$replaceAll3 = value.replaceAll(' ', '')) === null || _value$replaceAll3 === void 0 ? void 0 : _value$replaceAll3.length) > 0 ? Promise.resolve() : Promise.reject('请输入知识单元名称'); + } + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + placeholder: "\u8BF7\u8F93\u5165\u77E5\u8BC6\u5355\u5143\u540D\u79F0", + maxLength: 20 + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "unit_type", + label: "\u7C7B\u578B", + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select/* default */.Z, { + getPopupContainer: function getPopupContainer() { + return containerRef.current; + }, + placeholder: "\u8BF7\u9009\u62E9\u7C7B\u578B", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { + value: 1, + children: "\u8BFE\u4EF6" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { + value: 3, + children: "\u6587\u672C" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { + value: 2, + children: "\u5B9E\u8BAD" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "url", + label: "\u8DF3\u8F6C\u5730\u5740", + rules: [{ + pattern: new RegExp(/^(https?:\/\/)?([\w.-]+)\.([a-z]{2,})(\/\S*)?$/, "i"), + message: '请输入正确的地址' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + placeholder: "\u8BF7\u8F93\u5165\u70B9\u51FB\u8BE5\u8282\u70B9\u8DF3\u8F6C\u7684\u94FE\u63A5\u5730\u5740" + }) + })] + }) + }), relation && /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, { + open: relation, + centered: true, + width: 550, + title: '添加关系', + getContainer: function getContainer() { + return containerRef.current; + }, + onCancel: function onCancel() { + setAddModal(''); + setrelation(false); + }, + okButtonProps: { + loading: buttonloading + }, + onOk: function onOk() { + if (!AddModal) { + message/* default.info */.ZP.info('请先选择节点'); + return; + } + setrelation(false); + setshowadd(true); + form.setFieldsValue({ + relation: 1 + }); + setSearchValue(''); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input/* default.Search */.Z.Search, { + size: "large", + onChange: function onChange(e) { + var value = e.target.value; + var newExpandedKeys = threelist.filter(function (item) { + return item.title.indexOf(value) > -1; + }).map(function (item) { + return item.key; + }); + setExpandedKeys(newExpandedKeys); + setAutoExpandParent(true); + setSearchValue(e.target.value); + // console.log(newExpandedKeys); + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tree/* default */.Z, { + onExpand: function onExpand(newExpandedKeys) { + setExpandedKeys(newExpandedKeys); + setAutoExpandParent(false); + }, + style: { + maxHeight: 300, + height: 300, + marginTop: 20, + overflow: 'auto' + }, + onSelect: function onSelect(e) { + console.log('---', e); + setAddModal(e === null || e === void 0 ? void 0 : e[0]); + }, + expandedKeys: expandedKeys, + defaultExpandAll: true, + autoExpandParent: autoExpandParent, + treeData: treeData + })] + }), (describe.name || describe.add) && /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + open: describe.name || describe.add, + title: "\u63CF\u8FF0", + width: 900, + getContainer: function getContainer() { + return containerRef.current; + }, + centered: true, + onCancel: function onCancel() { + setdescribe(''); + }, + okButtonProps: { + loading: buttonloading + }, + onOk: function onOk() { + form.submit(); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { + form: form, + onFinish: /*#__PURE__*/function () { + var _ref10 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee12(values) { + var res; + return regeneratorRuntime_default()().wrap(function _callee12$(_context12) { + while (1) switch (_context12.prev = _context12.next) { + case 0: + setbuttonloading(true); + if (describe.add) { + items.descriptions.push(values.describe); + setitems(objectSpread2_default()({}, items)); + } else { + items.descriptions[describe.index] = values.describe; + setitems(objectSpread2_default()({}, items)); + } + _context12.next = 4; + return (0,fetch/* default */.ZP)("/api/knowledge_graphs/".concat(items.id, ".json"), { + method: 'put', + body: { + type: 2, + descriptions: items.descriptions + } + }); + case 4: + res = _context12.sent; + setbuttonloading(false); + setdescribe(''); + if (res.status === 0) { + setupname(false); + getdatas(); + } + case 8: + case "end": + return _context12.stop(); + } + }, _callee12); + })); + return function (_x6) { + return _ref10.apply(this, arguments); + }; + }(), + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "describe", + style: { + marginBottom: -10 + }, + rules: [{ + required: true, + validator: function validator(_, value) { + var _value$replaceAll4; + return (value === null || value === void 0 ? void 0 : (_value$replaceAll4 = value.replaceAll(' ', '')) === null || _value$replaceAll4 === void 0 ? void 0 : _value$replaceAll4.length) > 0 ? Promise.resolve() : Promise.reject('请输入描述内容'); + } + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + placeholder: "\u8BF7\u5728\u6B64\u8F93\u5165\u5185\u5BB9\uFF0C\u6700\u5927\u9650\u5236\u4E3A65000\u4E2A\u5B57\u7B26", + watch: true, + defaultValue: describe.name + }) + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, { + title: "\u6587\u4EF6\u5BFC\u5165", + open: exportshow, + centered: true, + okButtonProps: { + loading: buttonloading + }, + onCancel: function onCancel() { + setexport(false); + setFileList([]); + }, + onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee13() { + var formData, res, _res$fail; + return regeneratorRuntime_default()().wrap(function _callee13$(_context13) { + while (1) switch (_context13.prev = _context13.next) { + case 0: + formData = new FormData(); + if (!(fileList.length > 0)) { + _context13.next = 5; + break; + } + formData.append('file', fileList[0]); + _context13.next = 7; + break; + case 5: + message/* default.warning */.ZP.warning("请选择文件"); + return _context13.abrupt("return"); + case 7: + setbuttonloading(true); + formData.append('ec_year_id', params.ec_year_id); + formData.append('identifier', params.virtual_spacesId); + formData.append('type', '2'); + _context13.next = 13; + return (0,fetch/* default */.ZP)("/api/knowledge_graphs/import.json", { + method: 'post', + body: formData + }, true); + case 13: + res = _context13.sent; + setbuttonloading(false); + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + if ((res === null || res === void 0 ? void 0 : (_res$fail = res.fail) === null || _res$fail === void 0 ? void 0 : _res$fail.length) > 0) { + modal/* default.confirm */.Z.confirm({ + icon: null, + title: '导入失败', + content: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: ["\u68C0\u6D4B\u5230\u672C\u6B21\u5BFC\u5165\u5B58\u5728\u4E0D\u7B26\u5408\u8981\u6C42\u7684\u6570\u636E\uFF0C\u70B9\u51FB\u4E0B\u8F7D", /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + href: "".concat(env/* default.API_SERVER */.Z.API_SERVER).concat(res === null || res === void 0 ? void 0 : res.url), + download: "\u5931\u8D25\u6570\u636E.xlsx", + children: "\u5BFC\u5165\u5931\u8D25\u7684\u6570\u636E" + }), "\u67E5\u770B"] + }) + }); + } + setFileList([]); + if ((res === null || res === void 0 ? void 0 : res.success) > 0) { + message/* default.info */.ZP.info('添加成功'); + } + getdatas(); + setexport(false); + } + case 16: + case "end": + return _context13.stop(); + } + }, _callee13); + })), + children: [!(datas !== null && datas !== void 0 && datas.is_root) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + marginBottom: 30, + color: '#333333' + }, + children: "\u68C0\u6D4B\u5F53\u524D\u5DF2\u5B58\u6570\u636E\uFF0C\u5BFC\u5165\u540E\u539F\u6570\u636E\u5C06\u4F1A\u88AB\u5220\u9664\uFF0C\u6309\u7167\u6700\u65B0\u5BFC\u5165\u7684 \u4E3A\u4E3B\uFF0C\u5982\u7EE7\u7EED\u5BFC\u5165\uFF0C\u8BF7\u6309\u7167\u4E0B\u65B9\u6B65\u9AA4\u8FDB\u884C" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + style: { + color: '#5F6368' + }, + children: ["\u6B65\u9AA41\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#000000' + }, + children: "\u4E0B\u8F7D" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + href: "".concat(env/* default.API_SERVER */.Z.API_SERVER, "/api/knowledge_graphs/down_template.json"), + download: "\u6A21\u7248.xlsx", + children: "\u77E5\u8BC6\u56FE\u8C31\u5BFC\u5165\u6A21\u7248" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + style: { + color: '#5F6368' + }, + children: ["\u6B65\u9AA42\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#000000' + }, + children: "\u4E0A\u4F20\u586B\u5199\u597D\u7684\u300A\u77E5\u8BC6\u56FE\u8C31\u5BFC\u5165\u6A21\u7248\u300B" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + style: { + marginTop: 10, + marginLeft: 50 + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(upload/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, Draggers), {}, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + padding: '0px 16px', + color: '#3061D0', + cursor: 'pointer', + height: 32, + alignItems: 'center', + display: 'inline-flex', + borderRadius: 2, + border: '1px solid #BACFFE', + background: '#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)', + boxShadow: '0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + style: { + fontSize: 12, + marginRight: 6 + }, + className: "iconfont icon-tianjiashitixiaojiahao" + }), " \u9009\u62E9\u6587\u4EF6"] + }) + })) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + open: showadd, + title: "\u6DFB\u52A0\u5173\u7CFB", + width: 500, + getContainer: function getContainer() { + return containerRef.current; + }, + centered: true, + onCancel: function onCancel() { + setshowadd(false); + form.setFieldsValue({ + relation: null + }); + }, + okButtonProps: { + loading: buttonloading + }, + onOk: function onOk() { + form.submit(); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { + form: form, + onFinish: /*#__PURE__*/function () { + var _ref12 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee14(values) { + var res; + return regeneratorRuntime_default()().wrap(function _callee14$(_context14) { + while (1) switch (_context14.prev = _context14.next) { + case 0: + setbuttonloading(true); + _context14.next = 3; + return (0,fetch/* default */.ZP)("/api/knowledge_graphs/".concat(items.id, "/relation.json"), { + method: 'post', + body: objectSpread2_default()({ + type: 2, + parent_id: AddModal + }, values) + }); + case 3: + res = _context14.sent; + setbuttonloading(false); + if (res.status === 0) { + message/* default.info */.ZP.info('关联成功'); + getdatas(); + setAddModal(''); + setshowadd(false); + form.setFieldsValue({ + relation: null + }); + } + case 6: + case "end": + return _context14.stop(); + } + }, _callee14); + })); + return function (_x7) { + return _ref12.apply(this, arguments); + }; + }(), + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "relation", + label: "\u7C7B\u578B", + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select/* default */.Z, { + getPopupContainer: function getPopupContainer() { + return containerRef.current; + }, + placeholder: "\u8BF7\u9009\u62E9\u7C7B\u578B", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { + value: 1, + children: "\u5173\u8054" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, { + value: 2, + children: "\u540E\u5E8F" + })] + }) + }) + }) + }), selectmodal && /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, { + open: selectmodal, + centered: true, + width: 550, + title: '查找', + getContainer: function getContainer() { + return containerRef.current; + }, + onCancel: function onCancel() { + setAddModal(''); + setselectmodal(false); + }, + okButtonProps: { + loading: buttonloading + }, + onOk: function onOk() { + var _treeDiagramRef$curre10, _relationshipDiagramR10, _relationshipDiagramR11, _relationshipDiagramR12, _treeDiagramRef$curre11, _treeDiagramRef$curre12, _treeDiagramRef$curre13, _treeDiagramRef$curre14, _relationshipDiagramR13, _relationshipDiagramR14; + setselectmodal(false); + (_treeDiagramRef$curre10 = treeDiagramRef.current) === null || _treeDiagramRef$curre10 === void 0 ? void 0 : _treeDiagramRef$curre10.clearSelection(); + (_relationshipDiagramR10 = relationshipDiagramRef.current) === null || _relationshipDiagramR10 === void 0 ? void 0 : _relationshipDiagramR10.clearSelection(); + var node = (_relationshipDiagramR11 = relationshipDiagramRef.current) === null || _relationshipDiagramR11 === void 0 ? void 0 : (_relationshipDiagramR12 = _relationshipDiagramR11.findNodeForKey) === null || _relationshipDiagramR12 === void 0 ? void 0 : _relationshipDiagramR12.call(_relationshipDiagramR11, AddModal); + var node2 = (_treeDiagramRef$curre11 = treeDiagramRef.current) === null || _treeDiagramRef$curre11 === void 0 ? void 0 : (_treeDiagramRef$curre12 = _treeDiagramRef$curre11.findNodeForKey) === null || _treeDiagramRef$curre12 === void 0 ? void 0 : _treeDiagramRef$curre12.call(_treeDiagramRef$curre11, AddModal); + (_treeDiagramRef$curre13 = treeDiagramRef.current) === null || _treeDiagramRef$curre13 === void 0 ? void 0 : (_treeDiagramRef$curre14 = _treeDiagramRef$curre13.commandHandler) === null || _treeDiagramRef$curre14 === void 0 ? void 0 : _treeDiagramRef$curre14.scrollToPart(node2); + (_relationshipDiagramR13 = relationshipDiagramRef.current) === null || _relationshipDiagramR13 === void 0 ? void 0 : (_relationshipDiagramR14 = _relationshipDiagramR13.commandHandler) === null || _relationshipDiagramR14 === void 0 ? void 0 : _relationshipDiagramR14.scrollToPart(node); + if (node) { + node.isSelected = true; + if (permission) { + setBounds({ + left: 0, + top: 0, + bottom: 0, + right: 0 + }); + setitems(node.data); + } + } + if (node2) { + node2.isSelected = true; + if (permission) { + setBounds({ + left: 0, + top: 0, + bottom: 0, + right: 0 + }); + setitems(node2.data); + } + } + setAddModal(''); + setSearchValue(''); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input/* default.Search */.Z.Search, { + size: "large", + allowClear: true, + onChange: function onChange(e) { + var value = e.target.value; + var newExpandedKeys = threelist.filter(function (item) { + return item.title.indexOf(value) > -1; + }).map(function (item) { + return item.key; + }); + setExpandedKeys(newExpandedKeys); + setAutoExpandParent(true); + setSearchValue(e.target.value); + // console.log(newExpandedKeys); + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tree/* default */.Z, { + onExpand: function onExpand(newExpandedKeys) { + setExpandedKeys(newExpandedKeys); + setAutoExpandParent(false); + }, + style: { + maxHeight: 300, + height: 300, + marginTop: 20, + overflow: 'auto' + }, + onSelect: function onSelect(e) { + setAddModal(e === null || e === void 0 ? void 0 : e[0]); + }, + expandedKeys: expandedKeys, + defaultExpandAll: true, + autoExpandParent: autoExpandParent, + treeData: treeData + })] + })] + }); +}; +/* harmony default export */ var knowledge = ((0,_umi_production_exports.connect)(function (_ref13) { + var virtualSpaces = _ref13.virtualSpaces, + globalSetting = _ref13.globalSetting; + return { + globalSetting: globalSetting, + virtualSpaces: virtualSpaces + }; +})(Atlas)); ;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Knowledge/index.tsx @@ -75,6 +5744,7 @@ var jsx_runtime = __webpack_require__(85893); + var Page = function Page(_ref) { var _data$subject_modules; var globalSetting = _ref.globalSetting, @@ -152,6 +5822,9 @@ var Page = function Page(_ref) { name: '课程知识点' }, { id: 'knowledge_graph', + name: '知识图谱描述' + }, { + id: 'knowledge', name: '知识图谱' }]; var handleEdit = /*#__PURE__*/function () { @@ -281,7 +5954,7 @@ var Page = function Page(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, { spinning: loading, children: [active !== 'desc' && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt20", + className: active !== 'knowledge' && 'mt20', children: edit ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [/*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { onChange: function onChange(v) { @@ -303,7 +5976,7 @@ var Page = function Page(_ref) { }) : /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { value: description }) - }), active === 'desc' && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + }), active === 'knowledge' && /*#__PURE__*/(0,jsx_runtime.jsx)(knowledge, {}), active === 'desc' && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Knowledgemodules.content, children: [!!description && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Knowledgemodules.name, @@ -433,6 +6106,110 @@ var Page = function Page(_ref) { /***/ }), +/***/ 15994: +/*!*********************************!*\ + !*** ./src/utils/fullscreen.ts ***! + \*********************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "BU": function() { return /* binding */ exitFull; }, +/* harmony export */ "Dj": function() { return /* binding */ requestFullScreen; }, +/* harmony export */ "gH": function() { return /* binding */ fullscreenChange; }, +/* harmony export */ "vp": function() { return /* binding */ IsFull; } +/* harmony export */ }); +function requestFullScreen(element) { + try { + if (element.mozRequestFullScreen) { + element.mozRequestFullScreen(); + } else if (element.webkitRequestFullScreen) { + element.webkitRequestFullScreen(); + } + } catch (e) { + console.log(e, ":e"); + } +} +function exitFull() { + if (window.top.document.webkitExitFullscreen) { + window.top.document.webkitExitFullscreen(); + } else if (document.exitFullscreen) { + window.top.document.exitFullscreen(); + } else if (document.msExitFullscreen) { + window.top.document.msExitFullscreen(); + } else if (document.mozCancelFullScreen) { + window.top.document.mozCancelFullScreen(); + } +} + +// esliint disabled +var fullscreenChange = function fullscreenChange() { + //['fullscreenchange','msfullscreenchange','webkitfullscreenchange', 'mozfullscreenchange'] + if (document.webkitExitFullscreen) { + // document.webkitExitFullscreen() + return 'webkitfullscreenchange'; + } else if (document.exitFullscreen) { + // document.exitFullscreen() + return 'fullscreenchange'; + } else if (document.msExitFullscreen) { + // document.msExitFullscreen() + return 'msfullscreenchange'; + } else if (document.mozCancelFullScreen) { + // document.mozCancelFullScreen() + return 'mozfullscreenchange'; + } +}; + +//判断是否全屏 +function IsFull() { + var fullscreenElement = window.top.document.fullscreenElement || window.top.document.mozFullscreenElement || window.top.document.webkitFullscreenElement; + var fullscreenEnabled = document.fullscreenEnabled || document.mozFullscreenEnabled || document.webkitFullscreenEnabled; + console.log("fullscreenElement", fullscreenElement); + if (fullscreenElement == null) { + return false; + } else { + return true; + } +} + +// document.addEventListener("mozfullscreenchange", function (event) { +// console.log("mozfullscreenchange ", event); +// if (IsFull()) { +// console.log('进入全屏') +// $("#closescreen").show(); +// $("#openscreen").hide(); +// } else { +// console.log('退出全屏') +// $("#closescreen").hide(); +// $("#openscreen").show(); +// } +// }); +// document.addEventListener("webkitfullscreenchange", function (event) { +// console.log("webkitfullscreenchange", event); +// if (IsFull()) { +// console.log('进入全屏') +// $("#closescreen").show(); +// $("#openscreen").hide(); +// } else { +// console.log('退出全屏') +// $("#closescreen").hide(); +// $("#openscreen").show(); +// } +// }); +// document.addEventListener("msfullscreenchange", function (event) { +// console.log("msfullscreenchange", event); +// if (IsFull()) { +// console.log('进入全屏') +// $("#closescreen").show(); +// $("#openscreen").hide(); +// } else { +// console.log('退出全屏') +// $("#closescreen").hide(); +// $("#openscreen").show(); +// } +// }); + +/***/ }), + /***/ 39132: /*!************************************************************!*\ !*** ./src/components/ui-customization/reset.less?modules ***! @@ -442,6 +6219,211 @@ var Page = function Page(_ref) { // extracted by mini-css-extract-plugin /* harmony default export */ __webpack_exports__["Z"] = ({"flex_box_center":"flex_box_center___vG4eV","flex_space_between":"flex_space_between___qVVxe","flex_box_vertical_center":"flex_box_vertical_center___P8Z8s","flex_box_center_end":"flex_box_center_end___VMme3","flex_box_column":"flex_box_column___VMHwm","dropdownmenus":"dropdownmenus___oVzoj","popupClassNames":"popupClassNames___OcZq7","selectdown":"selectdown___mmcA8"}); +/***/ }), + +/***/ 57838: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/_util/hooks/useForceUpdate.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ useForceUpdate; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); + +function useForceUpdate() { + const [, forceUpdate] = react__WEBPACK_IMPORTED_MODULE_0__.useReducer(x => x + 1, 0); + return forceUpdate; +} + +/***/ }), + +/***/ 85418: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/dropdown/index.js + 1 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_dropdown; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules +var dropdown = __webpack_require__(35874); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules +var EllipsisOutlined = __webpack_require__(89705); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/space/index.js + 2 modules +var space = __webpack_require__(42075); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules +var style = __webpack_require__(66748); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/dropdown-button.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const DropdownButton = props => { + const { + getPopupContainer: getContextPopupContainer, + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'default', + danger, + disabled, + loading, + onClick, + htmlType, + children, + className, + menu, + arrow, + autoFocus, + overlay, + trigger, + align, + open, + onOpenChange, + placement, + getPopupContainer, + href, + icon = /*#__PURE__*/react.createElement(EllipsisOutlined/* default */.Z, null), + title, + buttonsRender = buttons => buttons, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + } = props, + restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]); + const prefixCls = getPrefixCls('dropdown', customizePrefixCls); + const buttonPrefixCls = `${prefixCls}-button`; + const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls); + const dropdownProps = { + menu, + arrow, + autoFocus, + align, + disabled, + trigger: disabled ? [] : trigger, + onOpenChange, + getPopupContainer: getPopupContainer || getContextPopupContainer, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + }; + const { + compactSize, + compactItemClassnames + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const classes = classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId); + if ('overlay' in props) { + dropdownProps.overlay = overlay; + } + if ('open' in props) { + dropdownProps.open = open; + } + if ('placement' in props) { + dropdownProps.placement = placement; + } else { + dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight'; + } + const leftButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + disabled: disabled, + loading: loading, + onClick: onClick, + htmlType: htmlType, + href: href, + title: title + }, children); + const rightButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + icon: icon + }); + const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]); + return wrapSSR( /*#__PURE__*/react.createElement(space/* default.Compact */.Z.Compact, Object.assign({ + className: classes, + size: compactSize, + block: true + }, restProps), leftButtonToRender, /*#__PURE__*/react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender))); +}; +DropdownButton.__ANT_BUTTON = true; +/* harmony default export */ var dropdown_button = (DropdownButton); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/index.js +'use client'; + + + +const Dropdown = dropdown/* default */.Z; +Dropdown.Button = dropdown_button; +/* harmony default export */ var es_dropdown = (Dropdown); + +/***/ }), + +/***/ 96908: +/*!**************************************************************************!*\ + !*** ./src/components/ui-customization/Cards/ShixunList/img/Jupyter.png ***! + \**************************************************************************/ +/***/ (function(module) { + +module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8R52KxpLB6v86KWjTvuetmswAGkTUN1W7aDBsHIieiHjkVDlhpuavbkU7ThE9wtjQLMbTosyFzGc5pGoD/RyQ13ANnJBk9YdSm9YVg6+tB0NC2ZtqZ6dn/1P+rKirwqaRqrknVuSM9mZ8J0FD2CetmJ1MipO74WkPXn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Qdizs8Ni2gIyL8icxSbeNnZv9go0wkANI26Z2GKOxwJ56D+VRODdmGMgBZDRWdnhtW6C6WWeX/Zjk/jDQ/wHkSLPJ/mcrgQAAAABJRU5ErkJggg=="; + +/***/ }), + +/***/ 57177: +/*!*****************************************************************************!*\ + !*** ./src/components/ui-customization/Cards/ShixunList/img/JupyterLab.png ***! + \*****************************************************************************/ +/***/ (function(module) { + +module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANQAAAA8CAYAAAAeyZT3AAAAAXNSR0IArs4c6QAAEpJJREFUeF7tXQeYFdUV/mcbS1F6UUEsoLC7IGKNJWpERbEgSoxGo7HEQFDRWCAGgdASNBbEhglqsC1rAxVBNGg0qNgLsJRddmFhe3vby3uT7393ZmfeezOv7M57W3LP9/EtM3Pn3DPn3n/uvf85c58CKdID0gOOeUBxTJNUJD0gPQAJKNkJpAcc9EALoNRpCaqt3rh4QIkDvH/jxV/zuZZjrVy8uRzvSzDdrx3HxWnnEnz1eevhOf/79HpNdrAs6wrQr9VvtiMc+/kc0HSan9Nrq8Uzt9hquuZjv8kPev26r8x16X5VPYDHDYT7Vy/L8vo94d7P8u5mcV+w+1U34GEZ7a+5Tg/vV31tbrmu36ff23JcB9VdBo9a5v2rekq14/1wN30GNXGzctPKKgf7eExVKUGBpJsSEkgWYPMHXEuH0sHlB5iW8jrAtE6sd9AW8GidVD9mR/fvxDrAzJ3Yp/ObAGL3srC1XweJnf0awHUQWgGJ52i3P+D9OyOP/QHSAjYT8Lwd3gRGH3Bp5dza34D7LUDsD04vmPzuN9cZGkSAF3xm4JttNoFWdasNlRVNta4SV21l6YHakvyPGurrNivA12kZ2B1TdLSisvAA1QrF8hbpAUsP8EWVkAwkdgMSugHxiUB8EpDcC+g1AOjeG+BciSBWPXA3NaA8Pxel+7LRXF+bCwXpShxeTX0V33ZED0tAdcRW+X+2iaN3j35Ar/7iX/e+XnCpbg9cZfkozctBrauci/9tioIlKSpeUTLg7iguk4DqKC0h7bD2Q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K+WWjS0B1hlaWNsbUA9mVbtQ2hWb7TKPU7anp8Eb9JaBi2lSyss7ggQjJCZ+90SWgOkMLSxtj5gGOS/zHmJQ7jMyJFsM0Gl0CKmZNJSvqTB4oqPGgJAJyQqfRJaA6UytLW2PmgcoGFfvCj0m10Oj/A9jGm+feuyEMAAAAAElFTkSuQmCC"; + +/***/ }), + +/***/ 81378: +/*!************************************************************************!*\ + !*** ./src/components/ui-customization/Cards/ShixunList/img/unity.png ***! + \************************************************************************/ +/***/ (function(module) { + +module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAAA8CAYAAADGxTD9AAAAAXNSR0IArs4c6QAAFoFJREFUeF7tXQl4k1W6fv8sTbqvlJa2tJSy74ugsiMqq4AKIlDUueNwR2dGHR0XdLwixW3uuF6Xq3O9o15nxuUiIIsCsijK1pa20NJ937eke5tmmec7f/40TfInaUNK6+R7nj5Jk7Of93z/t55w8JBnBYbwCnBDeOyeoXtWAB4Ae0AwpFeA+1SWbbA1A07KQSID6JWT0ivAyThIpBwgBSQy4+fCq0T4jANnrEdlWFkpjK/0ndAetd/znpMaTO0LZcz74tsxti0xjqVXfeNYZcZyxvHSuK3GbDYX03iMbbLy5nOz+pzGbGDrwpfj52DQG2DQAwad8Gcwvudf9ToDQN/pDdBrDYBFWfqMry/UAytP9fjPjJ/rYVHf2L7Qph4GaA0tOj1UnBYqvd6gMugMKr0OKoOOq+UMhhQ5DGfHPRNWMaSRaxy8bQBzPGAZAI3AFMAoAIJtnBnA2WaagdlU39iOAKKeje85FKY2TYDkwWh+APi2ebD0AJ8HMn/AzAHFA4x9Jxwss7bN5yXUpbnwB4SvY3Nu9LmwLr36NIKWAEhA1BlMgOUBCAZYBtJe761Byx+A3vV54Av1efDrtUawm4G+N+D5MfUcHH5s7H890KnqNjRWNGkaqlXqhgp1VV1JwxkOSJUAqUB0xk4s0Q4FgIty4KEweM8Yba+ARCmBzBuQeksgVXKQKugVkAdIoRwhhU+EHJycg0GrNz01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0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="; + /***/ }) }]); \ No newline at end of file diff --git a/p__virtualSpaces__Lists__Knowledge__index.chunk.css b/p__virtualSpaces__Lists__Knowledge__index.chunk.css index 4fba658eae..b605405703 100644 --- a/p__virtualSpaces__Lists__Knowledge__index.chunk.css +++ b/p__virtualSpaces__Lists__Knowledge__index.chunk.css @@ -128,6 +128,2601 @@ flex-grow: 0; } +/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/Banner/index.less?modules ***! + \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___NeSU8 { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___ImTGl { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___BtRd9 { + align-items: center; + box-align: center; +} +.flex_box_center_end___qcLe3 { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___Ze_3q { + flex-direction: column; + box-orient: block-axis; +} +.banner___PoUBO { + display: flex; + align-items: center; + justify-content: center; +} +.banner___PoUBO .content___XoDjy { + width: 1200px; + height: 212px; + display: flex; + align-items: flex-start; + justify-content: space-between; +} +.banner___PoUBO .content___XoDjy aside { + margin-top: 56px; +} +.banner___PoUBO .content___XoDjy aside p { + display: flex; + align-items: center; +} +.banner___PoUBO .content___XoDjy aside p b { + font-size: 30px; + font-weight: 500; + color: #000000; + letter-spacing: 4px; + margin-right: 20px; +} +.banner___PoUBO .content___XoDjy aside p span { + font-size: 16px; + color: #000000; + letter-spacing: 4px; +} +.banner___PoUBO .content___XoDjy aside .btns___Pb35j { + margin-top: 35px; +} +.banner___PoUBO .content___XoDjy aside .btns___Pb35j > div { + display: inline-block; + height: 32px; + background: #f6f7f9; + box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 4px; + border: 1px solid #dadbde; + font-size: 14px; + color: #3b3e47; + line-height: 30px; + margin-right: 23px; + padding: 0 16px; + position: relative; + cursor: pointer; +} +.banner___PoUBO .content___XoDjy aside .btns___Pb35j > div:hover { + color: #165dff; + border: 1px solid #bacffe; +} +.banner___PoUBO .content___XoDjy aside .btns___Pb35j > div img { + position: absolute; + z-index: 1; + top: -21px; + right: 22px; +} + +/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/CustomTags/index.less?modules ***! + \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___hG6RI { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___ss3Fh { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___K80p9 { + align-items: center; + box-align: center; +} +.flex_box_center_end___qmXX3 { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___GFV8F { + flex-direction: column; + box-orient: block-axis; +} +.row___aXJjm { + display: flex; + align-items: flex-start; + justify-content: flex-start; +} +.row___aXJjm .title___HUKL0 { + font-size: 14px; + color: #9096a3; + flex-shrink: 0; + width: 41px; + text-align-last: justify; + margin-top: 4px; + margin-right: 12px; +} +.row___aXJjm .tagsWrap___XB2W3 { + flex: 1 1; + position: relative; +} +.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1 { + font-size: 14px; + color: #82a8ff; + width: 55px; + position: absolute; + z-index: 2; + bottom: 20px; + right: 0px; + cursor: pointer; +} +.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1 i { + display: inline-block; + font-size: 12px; +} +.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC { + max-height: 245px; + overflow: hidden; +} +.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft > span { + display: inline-flex; + align-items: center; + margin-left: 8px; + margin-bottom: 17px; + font-size: 14px; + cursor: pointer; + padding: 4px 12px; +} +.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft > span .name___Hk1Ip { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + max-width: 600px; + display: inline-block; +} +.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft > span .num___xQpcH { + margin-left: 3px; +} +.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft > span:hover { + color: #165dff !important; +} +.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft .active___XryTX { + color: #165dff !important; + border-radius: 2px; + background: #f6f7f9; +} +.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-thumb { + background: rgba(0, 0, 0, 0.05) !important; + border-radius: 3px; +} +.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-track { + background-color: #f6f7f9 !important; + box-shadow: none !important; + box-shadow: initial !important; +} +.row___aXJjm .tagsBorderWrap___OMxjs .bar___t1kKC { + padding-top: 8px; + border-radius: 4px; + border: 1px solid rgba(219, 220, 224, 0.5); +} + +/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/SuperiorTabs/index.less?modules ***! + \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___aK2n3 { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___HX0Oh { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___LJOJr { + align-items: center; + box-align: center; +} +.flex_box_center_end___SCakF { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___AYv4m { + flex-direction: column; + box-orient: block-axis; +} +.tabs___GTqPV { + height: 32px; + background: #f6f7f9; + box-shadow: inset 0px 1px 3px 0px #d7d8d9; + border-radius: 16px; + display: inline-block; +} +.tabs___GTqPV span { + display: inline-block; + padding: 0 20px; + line-height: 32px; + font-size: 14px; + font-weight: 400; + color: #9096a3; + position: relative; + cursor: pointer; +} +.tabs___GTqPV span:hover { + color: #165dff; +} +.tabs___GTqPV span::after { + content: ''; + position: absolute; + width: 1px; + height: calc(100% - 2px); + background: #e2e2e2; + border-radius: 4px; + z-index: 1; + left: 0; + top: 1px; + background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #e2e2e2 50%, rgba(255, 255, 255, 0) 100%); +} +.tabs___GTqPV span:first-child::after, +.tabs___GTqPV .active___F26E8 + span::after { + display: none; +} +.tabs___GTqPV .active___F26E8 { + background: linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%); + box-shadow: 0px 0px 2px 0px #e8effb; + border-radius: 16px; + border: 1px solid #c8d2ea; + color: #165dff; + line-height: 30px; +} +.tabs___GTqPV .active___F26E8::after { + display: none; +} + +/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/CustomInput/index.less?modules ***! + \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___yX6Oa { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___t7oqF { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___dEIHy { + align-items: center; + box-align: center; +} +.flex_box_center_end___taQDF { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___xY_Lr { + flex-direction: column; + box-orient: block-axis; +} +.input___PW2zI { + width: 507px; + height: 38px; + background: #f6f7f9; + border-radius: 19px; + display: flex; + align-items: center; + padding: 0 20px; +} +.input___PW2zI .dropdown___vSy8B { + position: relative; + flex-shrink: 0; +} +.input___PW2zI .dropdown___vSy8B:hover .menu___NiyBu { + display: block; +} +.input___PW2zI .dropdown___vSy8B .text___Grueu { + color: #000000; + font-size: 14px; + cursor: default; + height: 38px; + display: flex; + align-items: center; +} +.input___PW2zI .dropdown___vSy8B .text___Grueu i { + font-size: 12px; + display: inline-block; + transform: translateY(1px) scale(0.6); + color: #979797; +} +.input___PW2zI .dropdown___vSy8B .text___Grueu .b1___ZKryM { + display: inline-block; + width: 1px; + height: 38px; + margin-left: 15px; + margin-right: 0px; + background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 50%, rgba(255, 255, 255, 0) 100%); +} +.input___PW2zI .dropdown___vSy8B .text___Grueu .b2___aKyGa { + display: inline-block; + width: 1px; + height: 38px; + margin-left: 0px; + margin-right: 8px; + background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #e2e2e2 50%, rgba(255, 255, 255, 0) 100%); +} +.input___PW2zI .dropdown___vSy8B .menu___NiyBu { + display: none; + position: absolute; + z-index: 999; + width: auto; + left: -16px; + top: 35px; + padding: 4px; + background-color: #fff; + border-radius: 8px; + box-shadow: 0px 10px 16px 0px #cecece; +} +.input___PW2zI .dropdown___vSy8B .menu___NiyBu div { + clear: both; + margin: 0; + padding: 5px 12px; + color: rgba(0, 0, 0, 0.88); + font-weight: 400; + font-size: 14px; + text-align: left; + line-height: 1.57142857; + cursor: pointer; + transition: all 0.2s; + white-space: nowrap; +} +.input___PW2zI .dropdown___vSy8B .menu___NiyBu div:hover { + background-color: #f5f5f5; +} +.input___PW2zI > input { + flex: 1 1; + padding: 4px 0; +} + +/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/QuickPager/index.less?modules ***! + \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___tol8o { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___Z235C { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___Wq1sZ { + align-items: center; + box-align: center; +} +.flex_box_center_end___LLxom { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___DbMSN { + flex-direction: column; + box-orient: block-axis; +} +.quickPager___GM30J { + display: flex; + align-items: center; + justify-content: center; +} +.quickPager___GM30J > div { + width: 60px; + height: 28px; + line-height: 26px; + text-align: center; + background: #f8f9fc; + border-radius: 2px; + border: 1px solid rgba(195, 207, 224, 0.5); + font-size: 12px; + color: #464f66; + margin: 0 10px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; +} +.quickPager___GM30J > div:hover { + color: #165dff; +} +.quickPager___GM30J .disabled___Ozc8I { + background: #f3f3f5; + border: 0; + line-height: 28px; + cursor: not-allowed; + color: #cecece; +} + +/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/Cards/ShixunList/index.less?modules ***! + \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___FO7TP { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___LotYx { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___bWdaw { + align-items: center; + box-align: center; +} +.flex_box_center_end___mVJ1o { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___M83Mm { + flex-direction: column; + box-orient: block-axis; +} +.list___oOsiS { + display: flex; + justify-content: flex-start; + align-items: center; + flex-wrap: wrap; + padding: 0; +} +.list___oOsiS .wrap___G6T7F { + height: 277px; + background: #ffffff; + box-shadow: 0px 2px 4px 0px #d6dae1; + border-radius: 8px; + position: relative; +} +.list___oOsiS .wrap___G6T7F .lockWrap___Rl79E { + position: absolute; + width: 100%; + left: 0px; + top: 0px; + background-color: rgba(0, 0, 0, 0.5); + height: 100%; + z-index: 10; + display: flex; + cursor: default; + justify-content: center; + align-items: center; + flex-direction: column; + border-radius: 8px; +} +.list___oOsiS .wrap___G6T7F .li___oZZ7l:hover .cover___b2bYW { + transform: scale(1.1); +} +.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w { + overflow: hidden; + height: calc(100% - 100px); + border-radius: 8px 8px 0 0; + position: relative; +} +.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .cover___b2bYW { + width: 100%; + transition: all 0.5s; +} +.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .sign___HkT6C { + position: absolute; + z-index: 1; + left: 0; + bottom: 0; + height: 30px; +} +.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8 { + height: 52px; + font-size: 16px; + font-weight: 600; + color: #000000; + padding: 0 12px; + width: 100%; + display: flex; + align-items: center; + padding-top: 30px; +} +.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8 .e___TMqq0 { + display: inline-block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + max-width: 100%; +} +.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo { + height: 45px; + display: flex; + align-items: center; + color: #000f37; + padding: 0 12px; +} +.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo i { + color: #7d8592; +} +.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo > span { + margin-right: 5px; + font-size: 12px; +} +.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 { + display: flex; + align-items: center; + margin-left: auto; +} +.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~='ant-rate-star'] { + font-size: 13px; +} +.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~='ant-rate'] { + font-size: 12px; + margin-top: -3px; + color: #ffa100; +} +.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~='ant-rate-star']:not(:last-child) { + margin-right: 2px; +} + +/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/Cards/CourseList/index.less?modules ***! + \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___AQ53o { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___i2aIa { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___sPEKB { + align-items: center; + box-align: center; +} +.flex_box_center_end___GhSSH { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___R9_Hb { + flex-direction: column; + box-orient: block-axis; +} +.list___jb2Ay { + display: flex; + justify-content: flex-start; + align-items: center; + flex-wrap: wrap; + padding: 0; +} +.list___jb2Ay .wrap___VsQDr { + height: 308px; + background: #ffffff; + box-shadow: 0px 2px 4px 0px #d6dae1; + border-radius: 8px; + position: relative; +} +.list___jb2Ay .wrap___VsQDr .lockWrap___g1k1T { + position: absolute; + width: 100%; + left: 0px; + top: 0px; + background-color: rgba(0, 0, 0, 0.5); + height: 100%; + z-index: 10; + display: flex; + cursor: default; + justify-content: center; + align-items: center; + border-radius: 8px; +} +.list___jb2Ay .wrap___VsQDr .li___IxCLC:hover .cover___Mu8wr { + transform: scale(1.1); +} +.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA { + overflow: hidden; + height: calc(100% - 131px); + border-radius: 8px 8px 0 0; + position: relative; +} +.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .cover___Mu8wr { + width: 100%; + transition: all 0.5s; +} +.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .sign___DXJ4d { + position: absolute; + z-index: 1; + right: 0; + top: 10px; + height: 30px; +} +.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ { + height: 52px; + font-size: 16px; + font-weight: 600; + color: #000000; + padding: 0 12px; + width: 100%; + display: flex; + align-items: center; + padding-top: 30px; +} +.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ .e___pXQUG { + display: inline-block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + max-width: 100%; +} +.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR { + font-size: 14px; + color: #000f37; + padding: 0px 12px; + margin-top: 8px; + display: inline-block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + max-width: 100%; +} +.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR i { + color: #7d8592; +} +.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil { + height: 34px; + display: flex; + align-items: center; + color: #000f37; + padding: 0px 12px; +} +.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil i { + color: #7d8592; +} +.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil > span { + margin-right: 15px; + font-size: 12px; +} +.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag___y1ZGO { + width: 76px; + height: 26px; + border-radius: 13px; + border: 1px solid #d6f7ef; + font-size: 14px; + color: #01795d; + line-height: 24px; + text-align: center; + margin-left: auto; +} + +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/Cards/ClassroomList/index.less?modules ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___eMcr7 { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___HcNca { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___ZnvVN { + align-items: center; + box-align: center; +} +.flex_box_center_end___fdgDf { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___SEKvd { + flex-direction: column; + box-orient: block-axis; +} +.list___L1hmU { + display: flex; + justify-content: flex-start; + align-items: center; + flex-wrap: wrap; + padding: 0; +} +.list___L1hmU .wrap___pKgcW { + height: 270px; + background: #ffffff; + box-shadow: 0px 1px 4px 0px #d6dae1; + border-radius: 8px; + position: relative; +} +.list___L1hmU .wrap___pKgcW:hover .lockWrap___SMhkK { + display: flex; +} +.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK { + position: absolute; + z-index: 10; + left: 0; + top: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.6); + box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05); + border-radius: 8px; + display: none; + flex-direction: column; + justify-content: center; + align-items: center; +} +.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div { + width: 116px; + height: 36px; + border-radius: 18px; + border: 1px solid #ffffff; + font-size: 14px; + font-weight: 600; + color: #ffffff; + line-height: 34px; + text-align: center; + margin: 10px 0; + cursor: pointer; +} +.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div:hover { + box-shadow: 0px 0px 4px 0px #4f85ff; + border: 1px solid #c2d3f8; +} +.list___L1hmU .wrap___pKgcW .top___udHSB { + height: calc(100% - 50px); + display: flex; + flex-direction: column; + align-items: center; + justify-content: flex-start; + padding: 0 24px; + position: relative; +} +.list___L1hmU .wrap___pKgcW .top___udHSB .sign___uwRpq { + position: absolute; + z-index: 1; + width: 44px; + height: 22px; + background: #ffe9c1; + border-radius: 8px 0px 13px 0px; + left: 0; + top: 0; + color: #a45204; + text-align: center; + line-height: 22px; +} +.list___L1hmU .wrap___pKgcW .top___udHSB .name___Fpf90 { + font-weight: 600; + color: #333333; + margin-top: 25px; + font-size: 16px; + white-space: normal; + text-align: center; + -webkit-box-orient: vertical; + display: -webkit-box; + -webkit-line-clamp: 2; + overflow: hidden; + line-height: 26px; + height: 48px; +} +.list___L1hmU .wrap___pKgcW .top___udHSB .img___AMLhL { + width: 60px; + height: 60px; + border-radius: 30px; + margin-top: 14px; +} +.list___L1hmU .wrap___pKgcW .top___udHSB .text___KiTb7 { + font-size: 14px; + color: #333333; + margin-top: 8px; + width: 98%; + text-align: center; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} +.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ { + display: flex; + align-items: center; + margin-top: 12px; +} +.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ div { + width: 76px; + background: #ffffff; + height: 26px; + border-radius: 13px; + border: 1px solid #d6f7ef; + font-size: 14px; + color: #01795d; + line-height: 24px; + text-align: center; + margin: 0 10px; +} +.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ aside { + width: 76px; + background: #ffffff; + height: 26px; + border-radius: 13px; + border: 1px solid #ffe9c1; + font-size: 14px; + color: #a45204; + line-height: 24px; + text-align: center; + margin: 0 10px; +} +.list___L1hmU .wrap___pKgcW .bottom____k2sh { + height: 50px; + border-top: 1px solid #f5f5f5; + display: flex; + align-items: center; + padding: 0 12px; +} +.list___L1hmU .wrap___pKgcW .bottom____k2sh > div { + margin-left: auto; +} +.list___L1hmU .wrap___pKgcW .bottom____k2sh > span { + display: flex; + align-items: center; + margin-right: 12px; + color: #999999; +} +.list___L1hmU .wrap___pKgcW .bottom____k2sh > span i { + font-size: 14px; + font-size: 12px; + color: #999999; + margin-right: 6px; +} + +/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/CustomTabs/index.less?modules ***! + \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___d27mZ { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___qfRU9 { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___fCRld { + align-items: center; + box-align: center; +} +.flex_box_center_end___ORMV8 { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___PNKtZ { + flex-direction: column; + box-orient: block-axis; +} +.tabs___alpa7 { + display: flex; + justify-content: space-between; + align-items: center; + border-bottom: 1px solid #dbdce0; + height: 54px; +} +.tabs___alpa7 .tabsWrap___aCQjw { + display: flex; + align-items: center; + height: 100%; +} +.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 { + display: flex; + align-items: center; + margin-right: 40px; + height: 100%; + cursor: pointer; +} +.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 > div { + position: relative; + font-size: 14px; + font-weight: 400; + color: #5f6368; + display: flex; + align-items: center; + height: 100%; +} +.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v { + font-weight: 500; + color: #202124; +} +.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v:after { + position: absolute; + content: ''; + width: 100%; + z-index: 4; + border-radius: 2px; + left: 0px; + bottom: 0px; + height: 3px; + background: #202124; + border-radius: 100px 100px 0px 0px; +} + +/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/SuperiorSort/index.less?modules ***! + \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___e6HxQ { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___RnXYe { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___lVxPk { + align-items: center; + box-align: center; +} +.flex_box_center_end___bu8yv { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___JczGj { + flex-direction: column; + box-orient: block-axis; +} +.orderWrap___ZfyGX { + display: box; + display: flex; + align-items: center; +} +.orderIconWrap___XTB_O { + display: box; + display: flex; + flex-direction: column; + height: 40px; + line-height: 40px; + color: #999999; +} +.orderAsc___KWHmA { + flex-direction: column; + text-align: center; + height: 10px; + line-height: 10px; + display: inline-block; + margin-top: 9px; + transform: translateY(2px); +} +.orderDesc___rHdbB { + flex-direction: column; + text-align: center; + height: 10px; + line-height: 10px; + display: table; +} +.active___a7eSP { + color: #232b40 !important; +} +.cursorPointer___gs9kL { + cursor: pointer; + color: #d8d8d8; + height: 10px; +} +.orderTextWrap___teAKn { + font-size: 14px; + color: #3b3e47; + cursor: pointer; + margin-right: 5px; +} + +/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/CustomButton/index.less?modules ***! + \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___LCi0B { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___hzONe { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___ZyQRE { + align-items: center; + box-align: center; +} +.flex_box_center_end___XKM74 { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___p8LCU { + flex-direction: column; + box-orient: block-axis; +} +.btn___In02G.mediacy-round___uveEv { + height: 36px; + border-radius: 36px; +} +.btn___In02G.mediacy-default___dDxsd { + height: 36px; + border-radius: 4px; +} +.btn___In02G .default___K791v { + background: #f6f7f9 linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%); + box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border: 1px solid #bacffe; + font-size: 14px; + padding: 0 15px; + color: #3061d0; + text-align: center; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +button[class~='ant-btn-default']:not(:disabled).btn___In02G { + background: #f6f7f9 linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%); + box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border: 1px solid #bacffe; + font-size: 14px; + padding: 0 15px; + color: #3061d0; + text-align: center; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +button[class~='ant-btn-default']:not(:disabled).btn___In02G:hover { + color: #165dff; + border: 1px solid #165dff; +} +button[class~='ant-btn-default']:disabled.btn___In02G { + background: #f6f7f9 linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%); + box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border: 1px solid #bacffe; + font-size: 14px; + padding: 0 15px; + color: #3061d0; + text-align: center; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + opacity: 50%; + cursor: not-allowed; +} + +/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/HeadBack/index.less?modules ***! + \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___TB7bQ { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___oBlTb { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___b5XbB { + align-items: center; + box-align: center; +} +.flex_box_center_end___CNhe7 { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___yHXKW { + flex-direction: column; + box-orient: block-axis; +} +.head___ghH72 { + height: 54px; + border-bottom: 1px solid #DBDCE0; + display: flex; + align-items: center; +} +.head___ghH72 > span { + color: #999999; + font-size: 12px; + cursor: pointer; + flex-shrink: 0; +} +.head___ghH72 > b { + font-weight: 500; + color: #232B40; + margin-left: 30px; + font-size: 14px; + flex: 1 1; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.head___ghH72 .node___mjPEy { + margin-left: auto; + flex-shrink: 0; +} + +/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/ConfirmAndCancel/index.less?modules ***! + \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___AlHuF { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___vN2LW { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___Ac7D2 { + align-items: center; + box-align: center; +} +.flex_box_center_end___y38I7 { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___iQE6P { + flex-direction: column; + box-orient: block-axis; +} +.btns___sNgTb { + display: flex; + align-items: center; +} +.btns___sNgTb .confirm___Ozirl { + height: 38px; + background: #3061D0; + border-radius: 2px; + color: #FFFFFF; + padding: 0 34px; +} +.btns___sNgTb .cancel___aiq1I { + height: 38px; + background: #F8F9FC; + border-radius: 2px; + opacity: 0.5; + border: 1px solid #C3CFE0; + font-size: 14px; + color: #464F66; + margin-left: 20px; +} + +/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/FixedBottom/index.less?modules ***! + \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___jkpdr { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___OtsL8 { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___rbcb_ { + align-items: center; + box-align: center; +} +.flex_box_center_end___zBR21 { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___nS_eP { + flex-direction: column; + box-orient: block-axis; +} +.fixedBottom___oJl7m { + width: 100%; + height: 70px; + background: #FFFFFF; + box-shadow: 0px -3px 16px 0px rgba(219, 219, 219, 0.5); + position: fixed; + z-index: 1000; + bottom: 0; + left: 0; +} +.fixedBottom___oJl7m .wrap___A3Oq1 { + width: 1200px; + height: 100%; + margin: auto; + display: flex; + align-items: center; + justify-content: space-between; +} +.fixedBottom___oJl7m .wrap___A3Oq1 .center____VL1y { + flex: 1 1; +} + +/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/CustomCrumbs/index.less?modules ***! + \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___tY8Yn { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___vHdYA { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___pa61F { + align-items: center; + box-align: center; +} +.flex_box_center_end___HyDXt { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___UjZek { + flex-direction: column; + box-orient: block-axis; +} +.crumbs___V41Oe { + margin: 15px auto 25px auto; + width: 1200px; + cursor: default; +} +.crumbs___V41Oe span { + font-size: 12px; + color: #C5C5C5; +} +.crumbs___V41Oe .hover___bEIVd { + cursor: pointer; +} +.crumbs___V41Oe .hover___bEIVd:hover { + color: #5F6368; +} + +/*!***********************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./node_modules/codemirror/lib/codemirror.css ***! + \***********************************************************************************************************************************************************************************************************************************************/ +/* BASICS */ + +.CodeMirror { + /* Set height, width, borders, and global font properties here */ + font-family: monospace; + height: 300px; + color: black; + direction: ltr; +} + +/* PADDING */ + +.CodeMirror-lines { + padding: 4px 0; /* Vertical padding around content */ +} +.CodeMirror pre.CodeMirror-line, +.CodeMirror pre.CodeMirror-line-like { + padding: 0 4px; /* Horizontal padding of content */ +} + +.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { + background-color: white; /* The little square between H and V scrollbars */ +} + +/* GUTTER */ + +.CodeMirror-gutters { + border-right: 1px solid #ddd; + background-color: #f7f7f7; + white-space: nowrap; +} +.CodeMirror-linenumbers {} +.CodeMirror-linenumber { + padding: 0 3px 0 5px; + min-width: 20px; + text-align: right; + color: #999; + white-space: nowrap; +} + +.CodeMirror-guttermarker { color: black; } +.CodeMirror-guttermarker-subtle { color: #999; } + +/* CURSOR */ + +.CodeMirror-cursor { + border-left: 1px solid black; + border-right: none; + width: 0; +} +/* Shown when moving in bi-directional text */ +.CodeMirror div.CodeMirror-secondarycursor { + border-left: 1px solid silver; +} +.cm-fat-cursor .CodeMirror-cursor { + width: auto; + border: 0 !important; + background: #7e7; +} +.cm-fat-cursor div.CodeMirror-cursors { + z-index: 1; +} +.cm-fat-cursor-mark { + background-color: rgba(20, 255, 20, 0.5); + animation: blink 1.06s steps(1) infinite; +} +.cm-animate-fat-cursor { + width: auto; + border: 0; + animation: blink 1.06s steps(1) infinite; + background-color: #7e7; +} +@keyframes blink { + 0% {} + 50% { background-color: transparent; } + 100% {} +} + +/* Can style cursor different in overwrite (non-insert) mode */ +.CodeMirror-overwrite .CodeMirror-cursor {} + +.cm-tab { display: inline-block; text-decoration: inherit; } + +.CodeMirror-rulers { + position: absolute; + left: 0; right: 0; top: -50px; bottom: 0; + overflow: hidden; +} +.CodeMirror-ruler { + border-left: 1px solid #ccc; + top: 0; bottom: 0; + position: absolute; +} + +/* DEFAULT THEME */ + +.cm-s-default .cm-header {color: blue;} +.cm-s-default .cm-quote {color: #090;} +.cm-negative {color: #d44;} +.cm-positive {color: #292;} +.cm-header, .cm-strong {font-weight: bold;} +.cm-em {font-style: italic;} +.cm-link {text-decoration: underline;} +.cm-strikethrough {text-decoration: line-through;} + +.cm-s-default .cm-keyword {color: #708;} +.cm-s-default .cm-atom {color: #219;} +.cm-s-default .cm-number {color: #164;} +.cm-s-default .cm-def {color: #00f;} +.cm-s-default .cm-variable, +.cm-s-default .cm-punctuation, +.cm-s-default .cm-property, +.cm-s-default .cm-operator {} +.cm-s-default .cm-variable-2 {color: #05a;} +.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;} +.cm-s-default .cm-comment {color: #a50;} +.cm-s-default .cm-string {color: #a11;} +.cm-s-default .cm-string-2 {color: #f50;} +.cm-s-default .cm-meta {color: #555;} +.cm-s-default .cm-qualifier {color: #555;} +.cm-s-default .cm-builtin {color: #30a;} +.cm-s-default .cm-bracket {color: #997;} +.cm-s-default .cm-tag {color: #170;} +.cm-s-default .cm-attribute {color: #00c;} +.cm-s-default .cm-hr {color: #999;} +.cm-s-default .cm-link {color: #00c;} + +.cm-s-default .cm-error {color: #f00;} +.cm-invalidchar {color: #f00;} + +.CodeMirror-composing { border-bottom: 2px solid; } + +/* Default styles for common addons */ + +div.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;} +div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;} +.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); } +.CodeMirror-activeline-background {background: #e8f2ff;} + +/* STOP */ + +/* The rest of this file contains styles related to the mechanics of + the editor. You probably shouldn't touch them. */ + +.CodeMirror { + position: relative; + overflow: hidden; + background: white; +} + +.CodeMirror-scroll { + overflow: scroll !important; /* Things will break if this is overridden */ + /* 50px is the magic margin used to hide the element's real scrollbars */ + /* See overflow: hidden in .CodeMirror */ + margin-bottom: -50px; margin-right: -50px; + padding-bottom: 50px; + height: 100%; + outline: none; /* Prevent dragging from highlighting the element */ + position: relative; +} +.CodeMirror-sizer { + position: relative; + border-right: 50px solid transparent; +} + +/* The fake, visible scrollbars. Used to force redraw during scrolling + before actual scrolling happens, thus preventing shaking and + flickering artifacts. */ +.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { + position: absolute; + z-index: 6; + display: none; + outline: none; +} +.CodeMirror-vscrollbar { + right: 0; top: 0; + overflow-x: hidden; + overflow-y: scroll; +} +.CodeMirror-hscrollbar { + bottom: 0; left: 0; + overflow-y: hidden; + overflow-x: scroll; +} +.CodeMirror-scrollbar-filler { + right: 0; bottom: 0; +} +.CodeMirror-gutter-filler { + left: 0; bottom: 0; +} + +.CodeMirror-gutters { + position: absolute; left: 0; top: 0; + min-height: 100%; + z-index: 3; +} +.CodeMirror-gutter { + white-space: normal; + height: 100%; + display: inline-block; + vertical-align: top; + margin-bottom: -50px; +} +.CodeMirror-gutter-wrapper { + position: absolute; + z-index: 4; + background: none !important; + border: none !important; +} +.CodeMirror-gutter-background { + position: absolute; + top: 0; bottom: 0; + z-index: 4; +} +.CodeMirror-gutter-elt { + position: absolute; + cursor: default; + z-index: 4; +} +.CodeMirror-gutter-wrapper ::selection { background-color: transparent } +.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent } + +.CodeMirror-lines { + cursor: text; + min-height: 1px; /* prevents collapsing before first draw */ +} +.CodeMirror pre.CodeMirror-line, +.CodeMirror pre.CodeMirror-line-like { + /* Reset some styles that the rest of the page might have set */ border-radius: 0; + border-width: 0; + background: transparent; + font-family: inherit; + font-size: inherit; + margin: 0; + white-space: pre; + word-wrap: normal; + line-height: inherit; + color: inherit; + z-index: 2; + position: relative; + overflow: visible; + -webkit-tap-highlight-color: transparent; + -webkit-font-variant-ligatures: contextual; + font-feature-settings: "calt"; + font-variant-ligatures: contextual; +} +.CodeMirror-wrap pre.CodeMirror-line, +.CodeMirror-wrap pre.CodeMirror-line-like { + word-wrap: break-word; + white-space: pre-wrap; + word-break: normal; +} + +.CodeMirror-linebackground { + position: absolute; + left: 0; right: 0; top: 0; bottom: 0; + z-index: 0; +} + +.CodeMirror-linewidget { + position: relative; + z-index: 2; + padding: 0.1px; /* Force widget margins to stay inside of the container */ +} + +.CodeMirror-widget {} + +.CodeMirror-rtl pre { direction: rtl; } + +.CodeMirror-code { + outline: none; +} + +/* Force content-box sizing for the elements where we expect it */ +.CodeMirror-scroll, +.CodeMirror-sizer, +.CodeMirror-gutter, +.CodeMirror-gutters, +.CodeMirror-linenumber { + box-sizing: content-box; +} + +.CodeMirror-measure { + position: absolute; + width: 100%; + height: 0; + overflow: hidden; + visibility: hidden; +} + +.CodeMirror-cursor { + position: absolute; + pointer-events: none; +} +.CodeMirror-measure pre { position: static; } + +div.CodeMirror-cursors { + visibility: hidden; + position: relative; + z-index: 3; +} +div.CodeMirror-dragcursors { + visibility: visible; +} + +.CodeMirror-focused div.CodeMirror-cursors { + visibility: visible; +} + +.CodeMirror-selected { background: #d9d9d9; } +.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; } +.CodeMirror-crosshair { cursor: crosshair; } +.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; } +.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; } + +.cm-searching { + background-color: #ffa; + background-color: rgba(255, 255, 0, .4); +} + +/* Used to force a border model for a node */ +.cm-force-border { padding-right: .1px; } + +@media print { + /* Hide the cursor when printing */ + .CodeMirror div.CodeMirror-cursors { + visibility: hidden; + } +} + +/* See issue #2901 */ +.cm-tab-wrap-hack:after { content: ''; } + +/* Help users use markselection to safely style text background */ +span.CodeMirror-selectedtext { background: none; } + +/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/index.less ***! + \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.markdown-editor-wrapper { + position: relative; +} +.markdown-editor-body { + display: flex; + flex-flow: row nowrap; + width: 100%; + height: calc(100% - 38px); + align-items: center; +} +.markdown-editor-body .codemirror-container { + flex: 1 0; + height: 100%; + width: 100%; + overflow: hidden; +} +.markdown-editor-body .CodeMirror-wrap { + padding-bottom: 15px; +} +.markdown-editor-body .preview-container { + flex: 1 0; + height: 100%; + margin: 10px 0px; + padding: 8px 8px 50px 8px; + background: #fff; + overflow-y: auto; + box-sizing: border-box; + border-left: 1px solid #ccc; + word-wrap: break-word; + word-break: break-word; + white-space: normal; + font-size: 16px; +} +.markdown-editor-container { + border: 1px solid #ccc; + overflow: hidden; + border-radius: 4px; + margin-bottom: 12px; + font-size: 16px; +} +.markdown-editor-container.full-screen { + position: fixed; + left: 0; + right: 0; + top: 0; + bottom: 0; + height: 100vh !important; + z-index: 1010; +} +.markdown-editor-container.full-screen .preview-container > div { + padding-bottom: 180px !important; +} +.markdown-editor-container.full-screen .CodeMirror-sizer > div { + margin-bottom: 90px; +} +.markdown-editor-container.on-preview .codemirror-container, +.markdown-editor-container.on-preview .preview-container { + width: 50%; +} +.mini .markdown-editor-body { + height: calc(100% - 28px); +} +.flex-end { + justify-content: flex-end; +} +.my-codemirror-container { + border: 1px solid #ccc; + width: 100%; + margin-bottom: 24px; +} +.markdown-tip { + color: #cdcdcd; + font-size: 12px; + position: absolute; + right: 0; + bottom: -28px; + margin-bottom: 7px; +} +/* PADDING */ +.CodeMirror-lines { + padding: 4px 0; + /* Vertical padding around content */ +} +.CodeMirror pre.CodeMirror-line, +.CodeMirror pre.CodeMirror-line-like { + padding: 0 4px; + /* Horizontal padding of content */ +} +.CodeMirror-scrollbar-filler, +.CodeMirror-gutter-filler { + background-color: white; + /* The little square between H and V scrollbars */ +} +/* GUTTER */ +.CodeMirror-gutters { + border-right: 1px solid #ddd; + background-color: #f7f7f7; + white-space: nowrap; +} +.CodeMirror-linenumber { + padding: 0 3px 0 5px; + min-width: 20px; + text-align: right; + color: #999; + white-space: nowrap; +} +.CodeMirror-guttermarker { + color: black; +} +.CodeMirror-guttermarker-subtle { + color: #999; +} +/* CURSOR */ +.CodeMirror-cursor { + border-left: 1px solid black; + border-right: none; + width: 0; +} +/* Shown when moving in bi-directional text */ +.CodeMirror div.CodeMirror-secondarycursor { + border-left: 1px solid silver; +} +.cm-fat-cursor .CodeMirror-cursor { + width: auto; + border: 0 !important; + background: #7e7; +} +.cm-fat-cursor div.CodeMirror-cursors { + z-index: 1; +} +.cm-fat-cursor-mark { + background-color: rgba(20, 255, 20, 0.5); + animation: blink 1.06s steps(1) infinite; +} +.cm-animate-fat-cursor { + width: auto; + border: 0; + animation: blink 1.06s steps(1) infinite; + background-color: #7e7; +} +@keyframes blink { + 50% { + background-color: transparent; + } +} +.cm-tab { + display: inline-block; + text-decoration: inherit; +} +.CodeMirror-rulers { + position: absolute; + left: 0; + right: 0; + top: -50px; + bottom: 0; + overflow: hidden; +} +.CodeMirror-ruler { + border-left: 1px solid #ccc; + top: 0; + bottom: 0; + position: absolute; +} +/* DEFAULT THEME */ +.cm-s-default .cm-header { + color: blue; +} +.cm-s-default .cm-quote { + color: #090; +} +.cm-negative { + color: #d44; +} +.cm-positive { + color: #292; +} +.cm-header, +.cm-strong { + font-weight: bold; +} +.cm-em { + font-style: italic; +} +.cm-link { + text-decoration: underline; +} +.cm-strikethrough { + text-decoration: line-through; +} +.cm-s-default .cm-keyword { + color: #708; +} +.cm-s-default .cm-atom { + color: #219; +} +.cm-s-default .cm-number { + color: #164; +} +.cm-s-default .cm-def { + color: #00f; +} +.cm-s-default .cm-variable-2 { + color: #05a; +} +.cm-s-default .cm-variable-3, +.cm-s-default .cm-type { + color: #085; +} +.cm-s-default .cm-comment { + color: #a50; +} +.cm-s-default .cm-string { + color: #a11; +} +.cm-s-default .cm-string-2 { + color: #f50; +} +.cm-s-default .cm-meta { + color: #555; +} +.cm-s-default .cm-qualifier { + color: #555; +} +.cm-s-default .cm-builtin { + color: #30a; +} +.cm-s-default .cm-bracket { + color: #997; +} +.cm-s-default .cm-tag { + color: #170; +} +.cm-s-default .cm-attribute { + color: #00c; +} +.cm-s-default .cm-hr { + color: #999; +} +.cm-s-default .cm-link { + color: #00c; +} +.cm-s-default .cm-error { + color: #f00; +} +.cm-invalidchar { + color: #f00; +} +.CodeMirror-composing { + border-bottom: 2px solid; +} +/* Default styles for common addons */ +div.CodeMirror span.CodeMirror-matchingbracket { + color: #0b0; +} +div.CodeMirror span.CodeMirror-nonmatchingbracket { + color: #a22; +} +.CodeMirror-matchingtag { + background: rgba(255, 150, 0, 0.3); +} +.CodeMirror-activeline-background { + background: #e8f2ff; +} +/* STOP */ +/* The rest of this file contains styles related to the mechanics of + the editor. You probably shouldn't touch them. */ +.CodeMirror { + position: relative; + overflow: hidden; + background: white; +} +.CodeMirror-scroll { + overflow: scroll !important; + /* Things will break if this is overridden */ + /* 50px is the magic margin used to hide the element's real scrollbars */ + /* See overflow: hidden in .CodeMirror */ + margin-bottom: -50px; + margin-right: -50px; + padding-bottom: 50px; + height: 100%; + outline: none; + /* Prevent dragging from highlighting the element */ + position: relative; +} +.CodeMirror-sizer { + position: relative; + border-right: 50px solid transparent; +} +/* The fake, visible scrollbars. Used to force redraw during scrolling + before actual scrolling happens, thus preventing shaking and + flickering artifacts. */ +.CodeMirror-vscrollbar, +.CodeMirror-hscrollbar, +.CodeMirror-scrollbar-filler, +.CodeMirror-gutter-filler { + position: absolute; + z-index: 6; + display: none; +} +.CodeMirror-vscrollbar { + right: 0; + top: 0; + overflow-x: hidden; + overflow-y: scroll; +} +.CodeMirror-hscrollbar { + bottom: 0; + left: 0; + overflow-y: hidden; + overflow-x: scroll; +} +.CodeMirror-scrollbar-filler { + right: 0; + bottom: 0; +} +.CodeMirror-gutter-filler { + left: 0; + bottom: 0; +} +.CodeMirror-gutters { + position: absolute; + left: 0; + top: 0; + min-height: 100%; + z-index: 3; +} +.CodeMirror-gutter { + white-space: normal; + height: 100%; + display: inline-block; + vertical-align: top; + margin-bottom: -50px; +} +.CodeMirror-gutter-wrapper { + position: absolute; + z-index: 4; + background: none !important; + border: none !important; +} +.CodeMirror-gutter-background { + position: absolute; + top: 0; + bottom: 0; + z-index: 4; +} +.CodeMirror-gutter-elt { + position: absolute; + cursor: default; + z-index: 4; +} +.CodeMirror-gutter-wrapper ::selection { + background-color: transparent; +} +.CodeMirror-gutter-wrapper ::-moz-selection { + background-color: transparent; +} +.CodeMirror-lines { + cursor: text; + min-height: 1px; + /* prevents collapsing before first draw */ +} +.CodeMirror pre.CodeMirror-line, +.CodeMirror pre.CodeMirror-line-like { + /* Reset some styles that the rest of the page might have set */ + border-radius: 0; + border-width: 0; + background: transparent; + font-family: inherit; + font-size: inherit; + margin: 0; + white-space: pre; + word-wrap: normal; + line-height: inherit; + color: inherit; + z-index: 2; + position: relative; + overflow: visible; + -webkit-tap-highlight-color: transparent; + -webkit-font-variant-ligatures: contextual; + font-feature-settings: "calt"; + font-variant-ligatures: contextual; +} +.CodeMirror-wrap pre.CodeMirror-line, +.CodeMirror-wrap pre.CodeMirror-line-like { + word-wrap: break-word; + white-space: pre-wrap; + word-break: normal; +} +.CodeMirror-linebackground { + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + z-index: 0; +} +.CodeMirror-linewidget { + position: relative; + z-index: 2; + padding: 0.1px; + /* Force widget margins to stay inside of the container */ +} +.CodeMirror-rtl pre { + direction: rtl; +} +.CodeMirror-code { + outline: none; +} +/* Force content-box sizing for the elements where we expect it */ +.CodeMirror-scroll, +.CodeMirror-sizer, +.CodeMirror-gutter, +.CodeMirror-gutters, +.CodeMirror-linenumber { + box-sizing: content-box; +} +.CodeMirror-measure { + position: absolute; + width: 100%; + height: 0; + overflow: hidden; + visibility: hidden; +} +.CodeMirror-cursor { + position: absolute; + pointer-events: none; +} +.CodeMirror-measure pre { + position: static; +} +div.CodeMirror-cursors { + visibility: hidden; + position: relative; + z-index: 3; +} +div.CodeMirror-dragcursors { + visibility: visible; +} +.CodeMirror-focused div.CodeMirror-cursors { + visibility: visible; +} +.CodeMirror-selected { + background: #d9d9d9; +} +.CodeMirror-focused .CodeMirror-selected { + background: #d7d4f0; +} +.CodeMirror-crosshair { + cursor: crosshair; +} +.CodeMirror-line::selection, +.CodeMirror-line > span::selection, +.CodeMirror-line > span > span::selection { + background: #d7d4f0; +} +.CodeMirror-line::-moz-selection, +.CodeMirror-line > span::-moz-selection, +.CodeMirror-line > span > span::-moz-selection { + background: #d7d4f0; +} +.cm-searching { + background-color: #ffa; + background-color: rgba(255, 255, 0, 0.4); +} +/* Used to force a border model for a node */ +.cm-force-border { + padding-right: 0.1px; +} +@media print { + /* Hide the cursor when printing */ + .CodeMirror div.CodeMirror-cursors { + visibility: hidden; + } +} +/* See issue #2901 */ +.cm-tab-wrap-hack:after { + content: ''; +} +/* Help users use markselection to safely style text background */ +span.CodeMirror-selectedtext { + background: none; +} +.CodeMirror-sizer { + padding-top: 10px; + padding-bottom: 10px !important; +} +.CodeMirror-empty.CodeMirror-focused { + outline: none; +} +.CodeMirror pre.CodeMirror-placeholder { + color: #999; +} +.CodeMirror { + position: relative; + overflow: hidden; + background: white; + word-break: break-word; +} +.CodeMirror pre.CodeMirror-line, +.CodeMirror pre.CodeMirror-line-like { + word-wrap: break-word; + word-break: break-word; + white-space: pre-wrap; + line-height: 1.6; +} + +/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/PreviewAll/index.less?modules ***! + \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.wrp___dq7YK { + display: flex; + justify-content: center; + align-items: center; + position: fixed; + width: 100%; + height: 100%; + left: 0; + top: 0; + z-index: 108; +} +.wrp___dq7YK.bgBlack___ARIUV { + background: rgba(0, 0, 0, 0.5); +} +.wrp___dq7YK img, +.wrp___dq7YK video { + max-width: 100%; + max-height: 80%; + text-align: center; +} +.wrp___dq7YK iframe { + width: 100%; + height: 100%; + position: absolute; + left: 0; + top: 0; + background: #fff; + border: none; +} +.monaco___VnZC3 { + position: absolute; + height: 100%; + width: 100%; +} +.darkBlue___UprA9 * { + font-size: 14px; +} +.darkBlue___UprA9 [class~='margin'], +.darkBlue___UprA9 [class~='monaco-editor-background'] { + background: #0a0e2d !important; +} +.darkBlue___UprA9 [class~='line-numbers'] { + color: white !important; +} +.close___LKoWu { + position: absolute; + right: 40px; + top: 40px; + z-index: 10; + display: flex; +} +.close___LKoWu > span { + background: #4a4a4a; + color: #fff; + width: 40px; + height: 40px; + border-radius: 4px; + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + margin-left: 10px; +} +.embed___hvpEJ { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; +} + +/*!*******************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./src/components/monaco-editor/index.css ***! + \*******************************************************************************************************************************************************************************************************************************************/ +.my-monaco-editor div, +.my-diff-editor div { + font-size: inherit; +} + +.my-error-line-wrp { + width: calc(100% - 20px) !important; + background: rgba(245, 0, 0, 0.2) !important; + height: auto !important; + color: rgba(245, 0, 0, 1); +} + + +.noCopyPaste .quick-input-widget { + display: none !important; +} + +.breakpoints-select { + + background: #FF0000; + width: 8px !important; + height: 8px !important; + left: 7px !important; + top: 7px; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + pointer-events: none; +} + +.breakpoints-fake { + background: rgba(255, 0, 0, 0.5); + width: 8px !important; + height: 8px !important; + left: 7px !important; + top: 7px; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + pointer-events: none; +} + +.highlighted-line { + background: #4B4B18; +} +/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/toolbar/index.less ***! + \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.markdown-toolbar-container { + display: flex; + flex-flow: row wrap; + align-items: center; + padding: 0 5px; + margin: 0; + position: relative; + list-style: none; + background: #fff; + border-bottom: 1px solid #ccc; + box-sizing: border-box; + line-height: 20px; + width: 100%; + min-height: 30px; +} +.markdown-toolbar-container .fill-tip { + cursor: pointer; + font-size: 12px; + display: inline-block; + padding: 5px; + border: 1px solid #E99237; + border-radius: 5px; + box-sizing: border-box; + line-height: 16px; + height: auto; + color: #A65500; + background-color: #FFF1E2; + position: relative; + margin-left: 10px; +} +.markdown-toolbar-container .fill-tip::before { + content: ' '; + width: 0; + height: 0; + border-top: 6px solid transparent; + border-bottom: 6px solid transparent; + border-right: 6px solid #FFF1E2; + position: absolute; + left: -6px; + top: 6px; + z-index: 10; +} +.markdown-toolbar-container .fill-tip::after { + content: ' '; + width: 0; + height: 0; + border-top: 6px solid transparent; + border-bottom: 6px solid transparent; + border-right: 6px solid #E99237; + position: absolute; + left: -7px; + top: 6px; +} +.markdown-toolbar-container li { + color: #666; + padding: 0 1px; + height: 100%; + display: flex; + height: 38px; + flex-flow: column nowrap; + justify-content: center; +} +.markdown-toolbar-container a, +.markdown-toolbar-container span { + display: block; +} +.markdown-toolbar-container a { + width: 28px; + color: #666; + cursor: pointer; + text-align: center; + font-size: 18px; +} +.markdown-toolbar-container .btn-null { + width: auto; + display: flex; + flex-flow: row nowrap; + align-items: center; +} +.markdown-toolbar-container .insert-blank { + color: #E99237; + font-size: 18px; +} +.markdown-toolbar-container span.v-line { + margin: 0 5px; + height: 65%; + border-right: 1px solid #ccc; +} +.mini .markdown-toolbar-container li { + height: 28px; +} +.editor-resize { + display: block; + width: 120px; + height: 4px; + left: 54%; + margin-top: 2px; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; + cursor: row-resize; + white-space: nowrap; + overflow: hidden; + text-transform: capitalize; + box-sizing: border-box; + margin: 0 auto; +} +.btn-full-screen { + position: absolute; + right: 5px; +} + +/*!****************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./src/components/markdown-editor/css/iconfont.css ***! + \****************************************************************************************************************************************************************************************************************************************************/ +@font-face { + font-family: "md-iconfont"; + src: url(./static/iconfont.498a2e20.eot); + /* IE9 */ + src: url(./static/iconfont.498a2e20.eot#iefix) format('embedded-opentype'), + /* IE6-IE8 */ + url(data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAArkAAsAAAAAFGQAAAqUAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCFTgqYEJMCATYCJANMCygABCAFhG0HgUwb5hCjooZyUthkf4mpyEh3pV0O3eNzjDeMPcxWAACWBR8hkIIUVSIBAABgBAAACrx/wAkAfPHw39iv+2bmqzZUIt1PJ5FJeCMRibbSgsVNdRP+A23z391RKZiNY99ZzVmNklbCKpCtz0WxCnCVhUtkySLj37772YjcCVNhPk1OHZFC37UprJD/0ozsDfr3lrQ9Ja2fjpzpmcEJypq3QpVe3mEqOf/v+doc8Dx9AQTUAMH8r7l6h4jEycc0pD1SorTNT/f4+MQxO0wsRBKPkEy8VKiUQkiNRAgFe/ZbMVsJqPuMwq6/O48n0DSrO+To+fNnsFBwIlDuxls5WHgSlBjXUJdXFduW9T9hiXp6QK0GftDXx6ftOkkl4yc6PnvSg9sX5F9YZK7lf7DLU+CyExnbQCFelKr/MLbwbSKbKubEL8C8+KkUXjBVS7qLlkVFb9ncJpntxd2Xna/ekiQvSGwMutYjdpgX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p8rw8KlFR4XTdw8Ko2tvAmLrB6NJ5rIHXVsx509enr2J52LGDiBwKRLrSeRWD721sVqUYVNuXzAvODPp3at2cYY3DJeb8udMPDz4sqDhlkW94SGlunIZ/WOLLCpszsK7GPypJL5XLpfokwCEtvfpI0RGZ7G7RXZJkVY8dOzjgPMvBkh/W9cPNQuGEic+XLYO4jMPr1ik7mxf//sz0Vl+z2QNLwPGr2MaIq/iQZ3iiyFLysoJUx7hBvXVEhWRhQai0ksJtOOvSxyixBtNubwhcuzfC9qpSrsxhzHqYBeeFYRT5EADZ7n9sNLGWuoapWKMrCDaWYcjB6BPgRuweJZFFgSKxcBGMACAn+o0NB8ueN2FS1vKAnbLu5AIskPURO4ahfGPhPAwn/wJKQY+T/5dtjuLHy0DTIUFI9i7LQeme1K11/JRvDPZ/nIy7ezlLKI38Sxry5QADiqsRsC+BVIhB/sre0mOiiPIUaT1TnSEkGd8MBOVpgfzfKyqZI+rKVDg7oSkGsR/RDd2vn56kFu/G6IkDkpoZkNUto8VyG1S07ICqul3QtCV355aRQcaiNLBpAgOhbxtIuv7hWWXZiRdYOkDF1DusCscZNJ3EzT5bVl+uHggkgxb7q/AKs5HJvDLLf4E9RkkH6Wm1P6DiMYuubr8FL5CBytignOyW2QhDmMQzWwdiRNETHkBx7ZDf75rG3DasFabByiECJDYCa0Kja/SeFJSZ6dkq8PlfgHUUSRTT7Cv6H0AKP3chUriIFOgLmVM125aqg51YW0MOCkNo2QQli845KkAUuUgYoF7qACisps+R3dvpceiuNS1Z10+n5U9afC3yrUdT5ChRiWrUoh6Nv2UXakcnutGL/sHh0THarSOfwxzy5D2yhYlCDTPPMno12WPU894rPhJMk8/HskLSQFX0hScxi8EgpWmfvDlm5UFAe56y3EcYl2MawxWWGrMqURY3m3qsoNjS+AhVRfGDAQAAAA==) format('woff2'), + url(./static/iconfont.09806494.woff) format('woff'), + url(./static/iconfont.f5a4e17c.ttf) format('truetype'), + /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url(./static/iconfont.c0c6fa27.svg#iconfont) format('svg'); + /* iOS 4.1- */ +} + +.md-iconfont { + font-family: "md-iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-shrink:before { + content: "\e728"; +} + +.icon-enlarge:before { + content: "\e623"; +} + +.icon-code:before { + content: "\e602"; +} + +.icon-italic:before { + content: "\e718"; +} + +.icon-bold:before { + content: "\e644"; +} + +.icon-picture:before { + content: "\e606"; +} + +.icon-minus:before { + content: "\e62c"; +} + +.icon-order-list:before { + content: "\e655"; +} + +.icon-link:before { + content: "\e7d4"; +} + +.icon-formula:before { + content: "\e633"; +} + +.icon-unorder-list:before { + content: "\e668"; +} + +.icon-edit:before { + content: "\e603"; +} + +.icon-table:before { + content: "\e7db"; +} + +.icon-sum:before { + content: "\e667"; +} + +.icon-eye:before { + content: "\e69f"; +} + +.icon-eye-slash:before { + content: "\e601"; +} + +.icon-eraser:before { + content: "\e8cd"; +} + +.icon-file-code:before { + content: "\e9ec"; +} +/*!*************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./node_modules/codemirror/theme/blackboard.css ***! + \*************************************************************************************************************************************************************************************************************************************************/ +/* Port of TextMate's Blackboard theme */ + +.cm-s-blackboard.CodeMirror { background: #0C1021; color: #F8F8F8; } +.cm-s-blackboard div.CodeMirror-selected { background: #253B76; } +.cm-s-blackboard .CodeMirror-line::selection, .cm-s-blackboard .CodeMirror-line > span::selection, .cm-s-blackboard .CodeMirror-line > span > span::selection { background: rgba(37, 59, 118, .99); } +.cm-s-blackboard .CodeMirror-line::-moz-selection, .cm-s-blackboard .CodeMirror-line > span::-moz-selection, .cm-s-blackboard .CodeMirror-line > span > span::-moz-selection { background: rgba(37, 59, 118, .99); } +.cm-s-blackboard .CodeMirror-gutters { background: #0C1021; border-right: 0; } +.cm-s-blackboard .CodeMirror-guttermarker { color: #FBDE2D; } +.cm-s-blackboard .CodeMirror-guttermarker-subtle { color: #888; } +.cm-s-blackboard .CodeMirror-linenumber { color: #888; } +.cm-s-blackboard .CodeMirror-cursor { border-left: 1px solid #A7A7A7; } + +.cm-s-blackboard .cm-keyword { color: #FBDE2D; } +.cm-s-blackboard .cm-atom { color: #D8FA3C; } +.cm-s-blackboard .cm-number { color: #D8FA3C; } +.cm-s-blackboard .cm-def { color: #8DA6CE; } +.cm-s-blackboard .cm-variable { color: #FF6400; } +.cm-s-blackboard .cm-operator { color: #FBDE2D; } +.cm-s-blackboard .cm-comment { color: #AEAEAE; } +.cm-s-blackboard .cm-string { color: #61CE3C; } +.cm-s-blackboard .cm-string-2 { color: #61CE3C; } +.cm-s-blackboard .cm-meta { color: #D8FA3C; } +.cm-s-blackboard .cm-builtin { color: #8DA6CE; } +.cm-s-blackboard .cm-tag { color: #8DA6CE; } +.cm-s-blackboard .cm-attribute { color: #8DA6CE; } +.cm-s-blackboard .cm-header { color: #FF6400; } +.cm-s-blackboard .cm-hr { color: #AEAEAE; } +.cm-s-blackboard .cm-link { color: #8DA6CE; } +.cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; } + +.cm-s-blackboard .CodeMirror-activeline-background { background: #3C3636; } +.cm-s-blackboard .CodeMirror-matchingbracket { outline:1px solid grey;color:white !important; } + +/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/markdown-editor/upload-image/index.less ***! + \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.upload-button { + width: 106px; + height: 32px; + line-height: 32px; + font-size: 12px; + display: block; + position: relative; + color: #0152d9; +} +.upload-button input { + opacity: 0; + width: 160px; + height: 32px; + position: absolute; + top: 0; + left: 0; + z-index: -1; +} + /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/ui-customization/reset.less?modules ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -187,3 +2782,167 @@ padding: 10px 24px; } +/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/virtualSpaces/Lists/Knowledge/knowledge/index.less?modules ***! + \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___dw6yv { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___bkc32 { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___jDpm2 { + align-items: center; + box-align: center; +} +.flex_box_center_end___g9JOB { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___ngIjI { + flex-direction: column; + box-orient: block-axis; +} +.diagram-component___fHDp0 { + width: 400px; + height: 400px; + border: 1px solid black; +} +.rightmodal___Fwj_F { + min-height: 600px; + max-height: 600px; + overflow: auto; + box-shadow: #8393ba 0px 2px 8px 0px; + width: 600px; + min-width: 600px; + border-radius: 4px; + z-index: 10; + background: #ffffff; + padding: 25px; + overflow: hidden; +} +.rightmodal___Fwj_F .title___YZZgl { + color: #000; + font-size: 16px; + font-weight: 600; + flex: 1 1; +} +.rightmodal___Fwj_F .button___yQKxh { + padding: 0px 12px; + display: inline-flex; + align-items: center; + justify-content: center; + background: #F6F7F9; + height: 38px; + font-size: 14px; + color: #000; + cursor: pointer; + border-radius: 2px; + border: 1px solid #E7E7E7; + margin-right: 16px; +} +.rightmodal___Fwj_F .button___yQKxh:hover { + color: #3061D0; + background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + border: 1px solid #BACFFE; + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); +} +.rightmodal___Fwj_F .linetitles___CFVw5 { + color: #333; + font-size: 14px; + font-weight: 500; + display: flex; + align-items: center; + margin-bottom: 15px; +} +.rightmodal___Fwj_F .linetitles___CFVw5 .line___hSEjG { + background: #000; + width: 2px; + height: 14px; + margin-right: 6px; + display: inline-block; +} +.rightmodal___Fwj_F .linetitles___CFVw5 .additem___cy1wv { + height: 30px; + background: #F3F7FF; + border-radius: 2px; + padding: 0px 12px; + display: inline-block; + line-height: 30px; + color: #3061D0; + font-size: 12px; + cursor: pointer; +} +.rightmodal___Fwj_F .lebels___E2znG { + color: #5f6368; + font-size: 14px; + font-weight: 400; +} +.rightmodal___Fwj_F .describe___emw2X { + background: #F6F7F9; + padding: 12px; + margin-top: 10px; +} +.rightmodal___Fwj_F .describe___emw2X .describetitle___bgNOs { + display: flex; + justify-content: space-between; +} +.rightmodal___Fwj_F .describe___emw2X .ehover____RCDx { + color: #8E94A0; + cursor: pointer; +} +.rightmodal___Fwj_F .describe___emw2X .ehover____RCDx:hover { + color: #3061D0; +} +.rightmodal___Fwj_F .describe___emw2X .dhover___IP_3b { + color: #8E94A0; + cursor: pointer; +} +.rightmodal___Fwj_F .describe___emw2X .dhover___IP_3b:hover { + color: red; +} +.header___PCDQg { + padding: 12px 20px; + text-align: center; + font-size: 12px; + cursor: pointer; + border: 1px solid white; +} +.header___PCDQg:hover { + background: rgba(48, 97, 208, 0.1); + border: 1px solid rgba(48, 97, 208, 0.4); +} +.headeractivite___x56tJ { + padding: 12px 20px; + text-align: center; + max-width: 78px; + font-size: 12px; + background: rgba(48, 97, 208, 0.1); + border: 1px solid rgba(48, 97, 208, 0.4); + color: #3061D0; +} +.dhover___IP_3b { + color: #8E94A0; + cursor: pointer; +} +.dhover___IP_3b:hover { + color: red; +} +.ehover____RCDx { + color: #8E94A0; + cursor: pointer; +} +.ehover____RCDx:hover { + color: #3061D0; +} + diff --git a/umi.js b/umi.js index 8b653c8587..57ff3c0e33 100644 --- a/umi.js +++ b/umi.js @@ -74223,7 +74223,7 @@ __webpack_require__.d(__webpack_exports__, { ;// CONCATENATED MODULE: ./src/utils/env/dev.ts var DEV = { // PROXY_SERVER: 'https://data.educoder.net', - PROXY_SERVER: 'https://pre-data.educoder.net', + PROXY_SERVER: 'https://test3-data.educoder.net', API_SERVER: '', REPORT_SERVER: 'http://192.168.1.57:3001', IMG_SERVER: 'https://new-testali-cdn.educoder.net', @@ -130757,7 +130757,7 @@ function _getRoutes() { return Promise.all(/*! import() | p__Guidance__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(21687), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(50869)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Guidance/index.tsx */ 62744)); }), '14': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Paths__Detail__id */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(67390), __webpack_require__.e(50976), __webpack_require__.e(80316), __webpack_require__.e(80599), __webpack_require__.e(69548), __webpack_require__.e(87246), __webpack_require__.e(61193), __webpack_require__.e(83668), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(91229), __webpack_require__.e(23332)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Detail/[id].tsx */ 17319)); + return Promise.all(/*! import() | p__Paths__Detail__id */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(67390), __webpack_require__.e(50976), __webpack_require__.e(80316), __webpack_require__.e(80599), __webpack_require__.e(69548), __webpack_require__.e(61193), __webpack_require__.e(87246), __webpack_require__.e(78343), __webpack_require__.e(11383), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(91229), __webpack_require__.e(23332)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Detail/[id].tsx */ 17319)); }), '15': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Paths__Detail__Statistics__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(21687), __webpack_require__.e(34755), __webpack_require__.e(71628), __webpack_require__.e(50976), __webpack_require__.e(4977), __webpack_require__.e(34601)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paths/Detail/Statistics/index.tsx */ 31921)); @@ -131408,10 +131408,10 @@ function _getRoutes() { return Promise.all(/*! import() | p__User__Detail__Certificate__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(21687), __webpack_require__.e(80599), __webpack_require__.e(96341), __webpack_require__.e(4977), __webpack_require__.e(11030), __webpack_require__.e(91229), __webpack_require__.e(65191)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Certificate/index.tsx */ 22246)); }), '231': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__OtherResources__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(54682), __webpack_require__.e(4977), __webpack_require__.e(11030), __webpack_require__.e(93496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/OtherResources/index.tsx */ 65571)); + return Promise.all(/*! import() | p__User__Detail__OtherResources__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(68282), __webpack_require__.e(4977), __webpack_require__.e(11030), __webpack_require__.e(93496)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/OtherResources/index.tsx */ 65571)); }), '232': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Paths__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(21687), __webpack_require__.e(9277), __webpack_require__.e(4977), __webpack_require__.e(11030), __webpack_require__.e(94662)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Paths/index.tsx */ 91805)); + return Promise.all(/*! import() | p__User__Detail__Paths__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(63889), __webpack_require__.e(21687), __webpack_require__.e(54682), __webpack_require__.e(4977), __webpack_require__.e(11030), __webpack_require__.e(94662)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Paths/index.tsx */ 91805)); }), '233': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__User__Detail__Projects__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(21687), __webpack_require__.e(34755), __webpack_require__.e(22106), __webpack_require__.e(4977), __webpack_require__.e(11030), __webpack_require__.e(3482), __webpack_require__.e(4736)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Projects/index.tsx */ 2187)); @@ -131435,7 +131435,7 @@ function _getRoutes() { return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(91978), __webpack_require__.e(39231), __webpack_require__.e(49017), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '240': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__Question__Index__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(34755), __webpack_require__.e(91978), __webpack_require__.e(68282), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(11030), __webpack_require__.e(29647)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/Index/index.tsx */ 83453)); + return Promise.all(/*! import() | p__Question__Index__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(34755), __webpack_require__.e(91978), __webpack_require__.e(9277), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(11030), __webpack_require__.e(29647)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/Index/index.tsx */ 83453)); }), '241': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__Question__AddOrEdit__BatchAdd__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(69814), __webpack_require__.e(31365), __webpack_require__.e(10485)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Question/AddOrEdit/BatchAdd/index.tsx */ 78298)); @@ -131612,19 +131612,19 @@ function _getRoutes() { return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); }), '299': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(40542), __webpack_require__.e(28510), __webpack_require__.e(31794), __webpack_require__.e(61193), __webpack_require__.e(52005), __webpack_require__.e(3157), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(99566), __webpack_require__.e(41794), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 63304)); + return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(40542), __webpack_require__.e(28510), __webpack_require__.e(61193), __webpack_require__.e(31794), __webpack_require__.e(52005), __webpack_require__.e(3157), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(99566), __webpack_require__.e(41794), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 63304)); }), '300': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__tasks__Jupyter__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(35479), __webpack_require__.e(52005), __webpack_require__.e(3219), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(64768), __webpack_require__.e(41794), __webpack_require__.e(20700)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/Jupyter/index.tsx */ 80133)); }), '301': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(40542), __webpack_require__.e(28510), __webpack_require__.e(31794), __webpack_require__.e(61193), __webpack_require__.e(52005), __webpack_require__.e(3157), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(99566), __webpack_require__.e(41794), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 63304)); + return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(40542), __webpack_require__.e(28510), __webpack_require__.e(61193), __webpack_require__.e(31794), __webpack_require__.e(52005), __webpack_require__.e(3157), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(99566), __webpack_require__.e(41794), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 63304)); }), '302': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__tasks__Jupyter__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(35479), __webpack_require__.e(52005), __webpack_require__.e(3219), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(64768), __webpack_require__.e(41794), __webpack_require__.e(20700)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/Jupyter/index.tsx */ 80133)); }), '303': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(40542), __webpack_require__.e(28510), __webpack_require__.e(31794), __webpack_require__.e(61193), __webpack_require__.e(52005), __webpack_require__.e(3157), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(99566), __webpack_require__.e(41794), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 63304)); + return Promise.all(/*! import() | p__tasks__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(63889), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(34755), __webpack_require__.e(40542), __webpack_require__.e(28510), __webpack_require__.e(61193), __webpack_require__.e(31794), __webpack_require__.e(52005), __webpack_require__.e(3157), __webpack_require__.e(8691), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(99566), __webpack_require__.e(41794), __webpack_require__.e(93665)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/tasks/index.jsx */ 63304)); }), '304': /*#__PURE__*/react.lazy(function () { return __webpack_require__.e(/*! import() */ 96390).then(__webpack_require__.bind(__webpack_require__, /*! ./EmptyRoute */ 96390)); @@ -131675,7 +131675,7 @@ function _getRoutes() { return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(91978), __webpack_require__.e(39231), __webpack_require__.e(49017), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(3482), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(4476), __webpack_require__.e(92026), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 51432)); }), '320': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Order__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(21687), __webpack_require__.e(34755), __webpack_require__.e(93691), __webpack_require__.e(4977), __webpack_require__.e(11030), __webpack_require__.e(21939)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/index.tsx */ 21101)); + return Promise.all(/*! import() | p__User__Detail__Order__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(21687), __webpack_require__.e(34755), __webpack_require__.e(77075), __webpack_require__.e(4977), __webpack_require__.e(11030), __webpack_require__.e(21939)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/index.tsx */ 21101)); }), '321': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__User__Detail__Order__pages__invoice__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(21687), __webpack_require__.e(25674), __webpack_require__.e(4977), __webpack_require__.e(11030), __webpack_require__.e(556)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/invoice/index.tsx */ 58985)); @@ -131717,19 +131717,19 @@ function _getRoutes() { return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(17845), __webpack_require__.e(78045), __webpack_require__.e(25159), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(66012), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(27829), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 96073)); }), '334': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(11328), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(93691), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); }), '335': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(35479), __webpack_require__.e(9170), __webpack_require__.e(12750), __webpack_require__.e(4977), __webpack_require__.e(11030), __webpack_require__.e(3482), __webpack_require__.e(59267), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 45335)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(35479), __webpack_require__.e(9170), __webpack_require__.e(94657), __webpack_require__.e(4977), __webpack_require__.e(11030), __webpack_require__.e(3482), __webpack_require__.e(59267), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 45335)); }), '336': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(77075), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(11030), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 5563)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(11328), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(11030), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 5563)); }), '337': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(94657), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(58447), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); }), '338': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(94657), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(58447), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); }), '339': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__Detail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(75650), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(11030), __webpack_require__.e(46796)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/Detail/index.tsx */ 22619)); @@ -131741,7 +131741,7 @@ function _getRoutes() { return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__Detail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(878), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(11030), __webpack_require__.e(87058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/Detail/index.tsx */ 95888)); }), '342': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(58447), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(38447)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/index.tsx */ 47447)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(61193), __webpack_require__.e(78343), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(38447)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/index.tsx */ 12790)); }), '343': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(73323), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); @@ -131771,7 +131771,7 @@ function _getRoutes() { return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__Detail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(72029), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(11030), __webpack_require__.e(82339)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/Detail/index.tsx */ 70190)); }), '352': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(11328), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(93691), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); }), '353': /*#__PURE__*/react.lazy(function () { return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 4492)); @@ -131783,19 +131783,19 @@ function _getRoutes() { return Promise.all(/*! import() | layouts__virtualDetail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(17845), __webpack_require__.e(78045), __webpack_require__.e(25159), __webpack_require__.e(69814), __webpack_require__.e(21687), __webpack_require__.e(31365), __webpack_require__.e(66012), __webpack_require__.e(3482), __webpack_require__.e(97642), __webpack_require__.e(27829), __webpack_require__.e(40559)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/virtualDetail/index.tsx */ 96073)); }), '356': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(11328), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(93691), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); }), '357': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(35479), __webpack_require__.e(9170), __webpack_require__.e(12750), __webpack_require__.e(4977), __webpack_require__.e(11030), __webpack_require__.e(3482), __webpack_require__.e(59267), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 45335)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(35479), __webpack_require__.e(9170), __webpack_require__.e(94657), __webpack_require__.e(4977), __webpack_require__.e(11030), __webpack_require__.e(3482), __webpack_require__.e(59267), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 45335)); }), '358': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(77075), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(11030), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 5563)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(83338), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(11328), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(11030), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 5563)); }), '359': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(94657), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(58447), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); }), '360': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(94657), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(58447), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 31853)); }), '361': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__Detail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(75650), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(11030), __webpack_require__.e(46796)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/Detail/index.tsx */ 22619)); @@ -131807,7 +131807,7 @@ function _getRoutes() { return Promise.all(/*! import() | p__virtualSpaces__Lists__Survey__Detail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(878), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(11030), __webpack_require__.e(87058)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Survey/Detail/index.tsx */ 95888)); }), '364': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(58447), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(38447)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/index.tsx */ 47447)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(14533), __webpack_require__.e(282), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(61193), __webpack_require__.e(78343), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(38447)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/index.tsx */ 12790)); }), '365': /*#__PURE__*/react.lazy(function () { return Promise.all(/*! import() | p__virtualSpaces__Lists__Knowledge__AddAndEdit__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(69814), __webpack_require__.e(31365), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(73323), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(91045)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Knowledge/AddAndEdit/index.tsx */ 15649)); @@ -131837,7 +131837,7 @@ function _getRoutes() { return Promise.all(/*! import() | p__virtualSpaces__Lists__Plan__Detail__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(35874), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(72029), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(11030), __webpack_require__.e(82339)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Plan/Detail/index.tsx */ 70190)); }), '374': /*#__PURE__*/react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(11328), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Homepage__index */[__webpack_require__.e(48555), __webpack_require__.e(62709), __webpack_require__.e(83062), __webpack_require__.e(90026), __webpack_require__.e(37402), __webpack_require__.e(73358), __webpack_require__.e(15804), __webpack_require__.e(79035), __webpack_require__.e(79169), __webpack_require__.e(17845), __webpack_require__.e(68508), __webpack_require__.e(78045), __webpack_require__.e(35874), __webpack_require__.e(25159), __webpack_require__.e(42339), __webpack_require__.e(46744), __webpack_require__.e(67631), __webpack_require__.e(85410), __webpack_require__.e(31795), __webpack_require__.e(53254), __webpack_require__.e(40477), __webpack_require__.e(93691), __webpack_require__.e(4977), __webpack_require__.e(8691), __webpack_require__.e(12768), __webpack_require__.e(66390), __webpack_require__.e(11030), __webpack_require__.e(33747)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Homepage/index.tsx */ 18335)); }), '375': /*#__PURE__*/react.lazy(function () { return __webpack_require__.e(/*! import() | p__virtualSpaces__Lists__Construction__index */ 25705).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Construction/index.tsx */ 4492));