Auto Submit

dev_local_v9_test1
autosubmit 1 year ago
parent f7c2e78f01
commit a20f6ab546

@ -1,578 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67896],{
/***/ 44000:
/*!**********************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/layout/index.js ***!
\**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./layout */ 84966);
/* harmony import */ var _Sider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Sider */ 99580);
"use client";
const Layout = _layout__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP;
Layout.Header = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Header */ .h4;
Layout.Footer = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Footer */ .$_;
Layout.Content = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Content */ .VY;
Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z;
/* harmony default export */ __webpack_exports__.Z = (Layout);
/***/ }),
/***/ 25769:
/*!**************************************************************************!*\
!*** ./node_modules/_copy-to-clipboard@3.3.3@copy-to-clipboard/index.js ***!
\**************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var deselectCurrent = __webpack_require__(/*! toggle-selection */ 98040);
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;
/***/ }),
/***/ 24334:
/*!***********************************************************!*\
!*** ./node_modules/_js-base64@2.6.4@js-base64/base64.js ***!
\***********************************************************/
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
* base64.js
*
* Licensed under the BSD 3-Clause License.
* http://opensource.org/licenses/BSD-3-Clause
*
* References:
* http://en.wikipedia.org/wiki/Base64
*/
;(function (global, factory) {
true
? module.exports = factory(global)
: 0
}((
typeof self !== 'undefined' ? self
: typeof window !== 'undefined' ? window
: typeof __webpack_require__.g !== 'undefined' ? __webpack_require__.g
: this
), function(global) {
'use strict';
// existing version for noConflict()
global = global || {};
var _Base64 = global.Base64;
var version = "2.6.4";
// constants
var b64chars
= 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
var b64tab = function(bin) {
var t = {};
for (var i = 0, l = bin.length; i < l; i++) t[bin.charAt(i)] = i;
return t;
}(b64chars);
var fromCharCode = String.fromCharCode;
// encoder stuff
var cb_utob = function(c) {
if (c.length < 2) {
var cc = c.charCodeAt(0);
return cc < 0x80 ? c
: cc < 0x800 ? (fromCharCode(0xc0 | (cc >>> 6))
+ fromCharCode(0x80 | (cc & 0x3f)))
: (fromCharCode(0xe0 | ((cc >>> 12) & 0x0f))
+ fromCharCode(0x80 | ((cc >>> 6) & 0x3f))
+ fromCharCode(0x80 | ( cc & 0x3f)));
} else {
var cc = 0x10000
+ (c.charCodeAt(0) - 0xD800) * 0x400
+ (c.charCodeAt(1) - 0xDC00);
return (fromCharCode(0xf0 | ((cc >>> 18) & 0x07))
+ fromCharCode(0x80 | ((cc >>> 12) & 0x3f))
+ fromCharCode(0x80 | ((cc >>> 6) & 0x3f))
+ fromCharCode(0x80 | ( cc & 0x3f)));
}
};
var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g;
var utob = function(u) {
return u.replace(re_utob, cb_utob);
};
var cb_encode = function(ccc) {
var padlen = [0, 2, 1][ccc.length % 3],
ord = ccc.charCodeAt(0) << 16
| ((ccc.length > 1 ? ccc.charCodeAt(1) : 0) << 8)
| ((ccc.length > 2 ? ccc.charCodeAt(2) : 0)),
chars = [
b64chars.charAt( ord >>> 18),
b64chars.charAt((ord >>> 12) & 63),
padlen >= 2 ? '=' : b64chars.charAt((ord >>> 6) & 63),
padlen >= 1 ? '=' : b64chars.charAt(ord & 63)
];
return chars.join('');
};
var btoa = global.btoa && typeof global.btoa == 'function'
? function(b){ return global.btoa(b) } : function(b) {
if (b.match(/[^\x00-\xFF]/)) throw new RangeError(
'The string contains invalid characters.'
);
return b.replace(/[\s\S]{1,3}/g, cb_encode);
};
var _encode = function(u) {
return btoa(utob(String(u)));
};
var mkUriSafe = function (b64) {
return b64.replace(/[+\/]/g, function(m0) {
return m0 == '+' ? '-' : '_';
}).replace(/=/g, '');
};
var encode = function(u, urisafe) {
return urisafe ? mkUriSafe(_encode(u)) : _encode(u);
};
var encodeURI = function(u) { return encode(u, true) };
var fromUint8Array;
if (global.Uint8Array) fromUint8Array = function(a, urisafe) {
// return btoa(fromCharCode.apply(null, a));
var b64 = '';
for (var i = 0, l = a.length; i < l; i += 3) {
var a0 = a[i], a1 = a[i+1], a2 = a[i+2];
var ord = a0 << 16 | a1 << 8 | a2;
b64 += b64chars.charAt( ord >>> 18)
+ b64chars.charAt((ord >>> 12) & 63)
+ ( typeof a1 != 'undefined'
? b64chars.charAt((ord >>> 6) & 63) : '=')
+ ( typeof a2 != 'undefined'
? b64chars.charAt( ord & 63) : '=');
}
return urisafe ? mkUriSafe(b64) : b64;
};
// decoder stuff
var re_btou = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g;
var cb_btou = function(cccc) {
switch(cccc.length) {
case 4:
var cp = ((0x07 & cccc.charCodeAt(0)) << 18)
| ((0x3f & cccc.charCodeAt(1)) << 12)
| ((0x3f & cccc.charCodeAt(2)) << 6)
| (0x3f & cccc.charCodeAt(3)),
offset = cp - 0x10000;
return (fromCharCode((offset >>> 10) + 0xD800)
+ fromCharCode((offset & 0x3FF) + 0xDC00));
case 3:
return fromCharCode(
((0x0f & cccc.charCodeAt(0)) << 12)
| ((0x3f & cccc.charCodeAt(1)) << 6)
| (0x3f & cccc.charCodeAt(2))
);
default:
return fromCharCode(
((0x1f & cccc.charCodeAt(0)) << 6)
| (0x3f & cccc.charCodeAt(1))
);
}
};
var btou = function(b) {
return b.replace(re_btou, cb_btou);
};
var cb_decode = function(cccc) {
var len = cccc.length,
padlen = len % 4,
n = (len > 0 ? b64tab[cccc.charAt(0)] << 18 : 0)
| (len > 1 ? b64tab[cccc.charAt(1)] << 12 : 0)
| (len > 2 ? b64tab[cccc.charAt(2)] << 6 : 0)
| (len > 3 ? b64tab[cccc.charAt(3)] : 0),
chars = [
fromCharCode( n >>> 16),
fromCharCode((n >>> 8) & 0xff),
fromCharCode( n & 0xff)
];
chars.length -= [0, 0, 2, 1][padlen];
return chars.join('');
};
var _atob = global.atob && typeof global.atob == 'function'
? function(a){ return global.atob(a) } : function(a){
return a.replace(/\S{1,4}/g, cb_decode);
};
var atob = function(a) {
return _atob(String(a).replace(/[^A-Za-z0-9\+\/]/g, ''));
};
var _decode = function(a) { return btou(_atob(a)) };
var _fromURI = function(a) {
return String(a).replace(/[-_]/g, function(m0) {
return m0 == '-' ? '+' : '/'
}).replace(/[^A-Za-z0-9\+\/]/g, '');
};
var decode = function(a){
return _decode(_fromURI(a));
};
var toUint8Array;
if (global.Uint8Array) toUint8Array = function(a) {
return Uint8Array.from(atob(_fromURI(a)), function(c) {
return c.charCodeAt(0);
});
};
var noConflict = function() {
var Base64 = global.Base64;
global.Base64 = _Base64;
return Base64;
};
// export Base64
global.Base64 = {
VERSION: version,
atob: atob,
btoa: btoa,
fromBase64: decode,
toBase64: encode,
utob: utob,
encode: encode,
encodeURI: encodeURI,
btou: btou,
decode: decode,
noConflict: noConflict,
fromUint8Array: fromUint8Array,
toUint8Array: toUint8Array
};
// if ES5 is available, make Base64.extendString() available
if (typeof Object.defineProperty === 'function') {
var noEnum = function(v){
return {value:v,enumerable:false,writable:true,configurable:true};
};
global.Base64.extendString = function () {
Object.defineProperty(
String.prototype, 'fromBase64', noEnum(function () {
return decode(this)
}));
Object.defineProperty(
String.prototype, 'toBase64', noEnum(function (urisafe) {
return encode(this, urisafe)
}));
Object.defineProperty(
String.prototype, 'toBase64URI', noEnum(function () {
return encode(this, true)
}));
};
}
//
// export Base64 to the namespace
//
if (global['Meteor']) { // Meteor.js
Base64 = global.Base64;
}
// module.exports and AMD are mutually exclusive.
// module.exports has precedence.
if ( true && module.exports) {
module.exports.Base64 = global.Base64;
}
else if (true) {
// AMD. Register as an anonymous module.
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function(){ return global.Base64 }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
}
// that's it!
return {Base64: global.Base64}
}));
/***/ }),
/***/ 83145:
/*!**********************************************************************************************!*\
!*** ./node_modules/_react-copy-to-clipboard@5.0.2@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 */ 59301));
var _copyToClipboard = _interopRequireDefault(__webpack_require__(/*! copy-to-clipboard */ 25769));
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
});
/***/ }),
/***/ 56102:
/*!******************************************************************************************!*\
!*** ./node_modules/_react-copy-to-clipboard@5.0.2@react-copy-to-clipboard/lib/index.js ***!
\******************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
var _require = __webpack_require__(/*! ./Component */ 83145),
CopyToClipboard = _require.CopyToClipboard;
CopyToClipboard.CopyToClipboard = CopyToClipboard;
module.exports = CopyToClipboard;
/***/ }),
/***/ 98040:
/*!************************************************************************!*\
!*** ./node_modules/_toggle-selection@1.0.6@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();
};
};
/***/ }),
(self["webpackChunk"] = self["webpackChunk"] || []).push([[10355],{
/***/ 61445:
/*!*********************************************************************************!*\
@ -601,6 +27,33 @@ module.exports = _construct, module.exports.__esModule = true, module.exports["d
/***/ }),
/***/ 4811:
/*!***************************************************************************!*\
!*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/get.js ***!
\***************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
var superPropBase = __webpack_require__(/*! ./superPropBase.js */ 22652);
function _get() {
if (typeof Reflect !== "undefined" && Reflect.get) {
module.exports = _get = Reflect.get.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports;
} else {
module.exports = _get = function _get(target, property, receiver) {
var base = superPropBase(target, property);
if (!base) return;
var desc = Object.getOwnPropertyDescriptor(base, property);
if (desc.get) {
return desc.get.call(arguments.length < 3 ? target : receiver);
}
return desc.value;
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
}
return _get.apply(this, arguments);
}
module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ 92866:
/*!****************************************************************************************!*\
!*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/isNativeFunction.js ***!
@ -618,6 +71,24 @@ module.exports = _isNativeFunction, module.exports.__esModule = true, module.exp
/***/ }),
/***/ 22652:
/*!*************************************************************************************!*\
!*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/superPropBase.js ***!
\*************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ 34577);
function _superPropBase(object, property) {
while (!Object.prototype.hasOwnProperty.call(object, property)) {
object = getPrototypeOf(object);
if (object === null) break;
}
return object;
}
module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ 9464:
/*!***************************************************************************************!*\
!*** ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/wrapNativeSuper.js ***!

@ -5503,7 +5503,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
params.sub_discipline_id = subId || '';
params.tag_discipline_id = '';
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
delete params.id;
setKnowledgeValue(-1);
// setKnowledgeValue(id === null ? -1 : null)
@ -5527,7 +5527,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
var handleTypeChange = function handleTypeChange(value) {
params.item_type = value || '';
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
setParams(params);
getItemBanks(params);
if (activeTabsKey === "3" || activeTabsKey === "0") {
@ -5540,7 +5540,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
var handleDifficultyChange = function handleDifficultyChange(value) {
params.difficulty = value || '';
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
delete params.id;
setParams(params);
getItemBanks(params);
@ -5554,7 +5554,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
var handleKnowledgeChange = function handleKnowledgeChange(value) {
params.tag_discipline_id = value;
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
delete params.id;
if (value === -1) {
params.discipline_id = '';
@ -5612,7 +5612,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
setShowTeachGroup(false);
}
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
delete params.id;
setKnowledgeValue(-1);
setActiveTabsKey(activeKey);
@ -5639,6 +5639,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
// }
// params.sort_by = sort_direction ? field : null;
// params.sort_direction = sort_direction;
debugger;
params.page = page;
params.per_page = pagesize;
setParams(params);
@ -5673,7 +5674,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
// 加入试题蓝触发的回调
var handleReloadData = function handleReloadData() {
params.per_page = 20;
// params.per_page = 20;
setParams(params);
getItemBanks(params);
setIsPiliangRevoke(false);
@ -5682,7 +5683,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
var handleDeleteData = function handleDeleteData(deleteId) {
var page = deleteId.length === problemsetList.length && params.page > 1 ? params.page - 1 : params.page;
params.page = page;
params.per_page = 20;
// params.per_page = 20;
getBasketList();
setParams(params);
getItemBanks(params);
@ -6088,7 +6089,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
params.sub_discipline_id = '';
params.tag_discipline_id = '';
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
params.group_id = Math.abs(id);
setKnowledgeValue(-1);
setParams(params);
@ -6121,7 +6122,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
}
});
getItemBanks(params);
case 14:
case 13:
case "end":
return _context13.stop();
}
@ -7435,7 +7436,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
params.sort_by = item.type;
params.sort_direction = item.direction;
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
setSortMenuName(item.name);
setParams(params);
getItemBanks(params);
@ -7476,7 +7477,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
params.item_type = null;
params.difficulty = null;
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
params.group_id = id;
setKnowledgeValue(-1);
setParams(params);

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[26486,67689,31671,81665,47644,4286,946,50370,10728,65267,54991,82404],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[39761,67689,31671,81665,47644,4286,946,50370,10728,65267,54991,82404],{
/***/ 2377:
/*!*************************************************************************************************************!*\
@ -136,6 +136,391 @@ if (false) {}
/***/ }),
/***/ 13845:
/*!*************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/_util/getScroll.js ***!
\*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ F: function() { return /* binding */ isWindow; },
/* harmony export */ Z: function() { return /* binding */ getScroll; }
/* harmony export */ });
function isWindow(obj) {
return obj !== null && obj !== undefined && obj === obj.window;
}
function getScroll(target, top) {
var _a, _b;
if (typeof window === 'undefined') {
return 0;
}
const method = top ? 'scrollTop' : 'scrollLeft';
let result = 0;
if (isWindow(target)) {
result = target[top ? 'pageYOffset' : 'pageXOffset'];
} else if (target instanceof Document) {
result = target.documentElement[method];
} else if (target instanceof HTMLElement) {
result = target[method];
} else if (target) {
// According to the type inference, the `target` is `never` type.
// Since we configured the loose mode type checking, and supports mocking the target with such shape below::
// `{ documentElement: { scrollLeft: 200, scrollTop: 400 } }`,
// the program may falls into this branch.
// Check the corresponding tests for details. Don't sure what is the real scenario this happens.
result = target[method];
}
if (target && !isWindow(target) && typeof result !== 'number') {
result = (_b = ((_a = target.ownerDocument) !== null && _a !== void 0 ? _a : target).documentElement) === null || _b === void 0 ? void 0 : _b[method];
}
return result;
}
/***/ }),
/***/ 68031:
/*!************************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/_util/scrollTo.js + 1 modules ***!
\************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ scrollTo; }
});
// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.1@rc-util/es/raf.js
var raf = __webpack_require__(42429);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/easings.js
// eslint-disable-next-line import/prefer-default-export
function easeInOutCubic(t, b, c, d) {
const cc = c - b;
t /= d / 2;
if (t < 1) {
return cc / 2 * t * t * t + b;
}
// eslint-disable-next-line no-return-assign
return cc / 2 * ((t -= 2) * t * t + 2) + b;
}
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/getScroll.js
var getScroll = __webpack_require__(13845);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/scrollTo.js
function scrollTo(y) {
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
const {
getContainer = () => window,
callback,
duration = 450
} = options;
const container = getContainer();
const scrollTop = (0,getScroll/* default */.Z)(container, true);
const startTime = Date.now();
const frameFunc = () => {
const timestamp = Date.now();
const time = timestamp - startTime;
const nextScrollTop = easeInOutCubic(time > duration ? duration : time, scrollTop, y, duration);
if ((0,getScroll/* isWindow */.F)(container)) {
container.scrollTo(window.pageXOffset, nextScrollTop);
} else if (container instanceof Document || container.constructor.name === 'HTMLDocument') {
container.documentElement.scrollTop = nextScrollTop;
} else {
container.scrollTop = nextScrollTop;
}
if (time < duration) {
(0,raf/* default */.Z)(frameFunc);
} else if (typeof callback === 'function') {
callback();
}
};
(0,raf/* default */.Z)(frameFunc);
}
/***/ }),
/***/ 27666:
/*!****************************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/_util/throttleByAnimationFrame.js ***!
\****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 26390);
/* harmony import */ var rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/raf */ 42429);
function throttleByAnimationFrame(fn) {
let requestId;
const later = args => () => {
requestId = null;
fn.apply(void 0, (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(args));
};
const throttled = function () {
if (requestId == null) {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
requestId = (0,rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(later(args));
}
};
throttled.cancel = () => {
rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z.cancel(requestId);
requestId = null;
};
return throttled;
}
/* harmony default export */ __webpack_exports__.Z = (throttleByAnimationFrame);
/***/ }),
/***/ 77808:
/*!************************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/back-top/index.js + 3 modules ***!
\************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ back_top; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(5891);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/VerticalAlignTopOutlined.js
// This icon file is generated automatically.
var VerticalAlignTopOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z" } }] }, "name": "vertical-align-top", "theme": "outlined" };
/* harmony default export */ var asn_VerticalAlignTopOutlined = (VerticalAlignTopOutlined);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.2@@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(88853);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.2@@ant-design/icons/es/icons/VerticalAlignTopOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var VerticalAlignTopOutlined_VerticalAlignTopOutlined = function VerticalAlignTopOutlined(props, ref) {
return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_VerticalAlignTopOutlined
}));
};
/**![vertical-align-top](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg1OS45IDE2OEgxNjQuMWMtNC41IDAtOC4xIDMuNi04LjEgOHY2MGMwIDQuNCAzLjYgOCA4LjEgOGg2OTUuOGM0LjUgMCA4LjEtMy42IDguMS04di02MGMwLTQuNC0zLjYtOC04LjEtOHpNNTE4LjMgMzU1YTggOCAwIDAwLTEyLjYgMGwtMTEyIDE0MS43YTcuOTggNy45OCAwIDAwNi4zIDEyLjloNzMuOVY4NDhjMCA0LjQgMy42IDggOCA4aDYwYzQuNCAwIDgtMy42IDgtOFY1MDkuN0g2MjRjNi43IDAgMTAuNC03LjcgNi4zLTEyLjlMNTE4LjMgMzU1eiIgLz48L3N2Zz4=) */
var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(VerticalAlignTopOutlined_VerticalAlignTopOutlined);
if (false) {}
/* harmony default export */ var icons_VerticalAlignTopOutlined = (RefIcon);
// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
var _classnames_2_5_1_classnames = __webpack_require__(92310);
var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
// EXTERNAL MODULE: ./node_modules/_rc-motion@2.9.4@rc-motion/es/index.js + 13 modules
var es = __webpack_require__(49204);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.1@rc-util/es/omit.js
var omit = __webpack_require__(7305);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/getScroll.js
var getScroll = __webpack_require__(13845);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/reactNode.js
var reactNode = __webpack_require__(92343);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/scrollTo.js + 1 modules
var scrollTo = __webpack_require__(68031);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/throttleByAnimationFrame.js
var throttleByAnimationFrame = __webpack_require__(27666);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js
var genComponentStyleHook = __webpack_require__(83116);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js
var statistic = __webpack_require__(37613);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
var style = __webpack_require__(17313);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/back-top/style/index.js
// ============================== Shared ==============================
const genSharedBackTopStyle = token => {
const {
componentCls,
backTopFontSize,
backTopSize,
zIndexPopup
} = token;
return {
[componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
position: 'fixed',
insetInlineEnd: token.backTopInlineEnd,
insetBlockEnd: token.backTopBlockEnd,
zIndex: zIndexPopup,
width: 40,
height: 40,
cursor: 'pointer',
'&:empty': {
display: 'none'
},
[`${componentCls}-content`]: {
width: backTopSize,
height: backTopSize,
overflow: 'hidden',
color: token.backTopColor,
textAlign: 'center',
backgroundColor: token.backTopBackground,
borderRadius: backTopSize,
transition: `all ${token.motionDurationMid}`,
'&:hover': {
backgroundColor: token.backTopHoverBackground,
transition: `all ${token.motionDurationMid}`
}
},
// change to .backtop .backtop-icon
[`${componentCls}-icon`]: {
fontSize: backTopFontSize,
lineHeight: `${backTopSize}px`
}
})
};
};
const genMediaBackTopStyle = token => {
const {
componentCls
} = token;
return {
[`@media (max-width: ${token.screenMD}px)`]: {
[componentCls]: {
insetInlineEnd: token.backTopInlineEndMD
}
},
[`@media (max-width: ${token.screenXS}px)`]: {
[componentCls]: {
insetInlineEnd: token.backTopInlineEndXS
}
}
};
};
// ============================== Export ==============================
/* harmony default export */ var back_top_style = ((0,genComponentStyleHook/* default */.Z)('BackTop', token => {
const {
fontSizeHeading3,
colorTextDescription,
colorTextLightSolid,
colorText,
controlHeightLG
} = token;
const backTopToken = (0,statistic/* merge */.TS)(token, {
backTopBackground: colorTextDescription,
backTopColor: colorTextLightSolid,
backTopHoverBackground: colorText,
backTopFontSize: fontSizeHeading3,
backTopSize: controlHeightLG,
backTopBlockEnd: controlHeightLG * 1.25,
backTopInlineEnd: controlHeightLG * 2.5,
backTopInlineEndMD: controlHeightLG * 1.5,
backTopInlineEndXS: controlHeightLG * 0.5
});
return [genSharedBackTopStyle(backTopToken), genMediaBackTopStyle(backTopToken)];
}, token => ({
zIndexPopup: token.zIndexBase + 10
})));
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/back-top/index.js
"use client";
const BackTop = props => {
const {
prefixCls: customizePrefixCls,
className,
rootClassName,
visibilityHeight = 400,
target,
onClick,
duration = 450
} = props;
const [visible, setVisible] = _react_17_0_2_react.useState(visibilityHeight === 0);
const ref = _react_17_0_2_react.useRef(null);
const getDefaultTarget = () => ref.current && ref.current.ownerDocument ? ref.current.ownerDocument : window;
const handleScroll = (0,throttleByAnimationFrame/* default */.Z)(e => {
const scrollTop = (0,getScroll/* default */.Z)(e.target, true);
setVisible(scrollTop >= visibilityHeight);
});
if (false) {}
_react_17_0_2_react.useEffect(() => {
const getTarget = target || getDefaultTarget;
const container = getTarget();
handleScroll({
target: container
});
container === null || container === void 0 ? void 0 : container.addEventListener('scroll', handleScroll);
return () => {
handleScroll.cancel();
container === null || container === void 0 ? void 0 : container.removeEventListener('scroll', handleScroll);
};
}, [target]);
const scrollToTop = e => {
(0,scrollTo/* default */.Z)(0, {
getContainer: target || getDefaultTarget,
duration
});
onClick === null || onClick === void 0 ? void 0 : onClick(e);
};
const {
getPrefixCls,
direction
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
const prefixCls = getPrefixCls('back-top', customizePrefixCls);
const rootPrefixCls = getPrefixCls();
const [wrapSSR, hashId] = back_top_style(prefixCls);
const classString = _classnames_2_5_1_classnames_default()(hashId, prefixCls, {
[`${prefixCls}-rtl`]: direction === 'rtl'
}, className, rootClassName);
// fix https://fb.me/react-unknown-prop
const divProps = (0,omit/* default */.Z)(props, ['prefixCls', 'className', 'rootClassName', 'children', 'visibilityHeight', 'target']);
const defaultElement = /*#__PURE__*/_react_17_0_2_react.createElement("div", {
className: `${prefixCls}-content`
}, /*#__PURE__*/_react_17_0_2_react.createElement("div", {
className: `${prefixCls}-icon`
}, /*#__PURE__*/_react_17_0_2_react.createElement(icons_VerticalAlignTopOutlined, null)));
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({}, divProps, {
className: classString,
onClick: scrollToTop,
ref: ref
}), /*#__PURE__*/_react_17_0_2_react.createElement(es["default"], {
visible: visible,
motionName: `${rootPrefixCls}-fade`
}, _ref => {
let {
className: motionClassName
} = _ref;
return (0,reactNode/* cloneElement */.Tm)(props.children || defaultElement, _ref2 => {
let {
className: cloneCls
} = _ref2;
return {
className: _classnames_2_5_1_classnames_default()(motionClassName, cloneCls)
};
});
})));
};
if (false) {}
/* harmony default export */ var back_top = (BackTop);
/***/ }),
/***/ 24905:
/*!************************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules ***!

File diff suppressed because one or more lines are too long

@ -2305,7 +2305,7 @@ var EditAttendance = function EditAttendance(_ref) {
var Header_excluded = ["homePage", "user", "globalSetting", "loading", "dispatch", "isLogin", "shixunHomeworks"];
var Header_excluded = ["homePage", "user", "globalSetting", "loading", "dispatch", "shixunHomeworks"];
@ -2356,8 +2356,6 @@ var HeaderComponents = function HeaderComponents(_ref) {
globalSetting = _ref.globalSetting,
loading = _ref.loading,
dispatch = _ref.dispatch,
_ref$isLogin = _ref.isLogin,
isLogin = _ref$isLogin === void 0 ? false : _ref$isLogin,
shixunHomeworks = _ref.shixunHomeworks,
props = objectWithoutProperties_default()(_ref, Header_excluded);
var location = (0,_umi_production_exports.useLocation)();
@ -2542,6 +2540,19 @@ var HeaderComponents = function HeaderComponents(_ref) {
}
return _context.abrupt("return");
case 9:
// if (v?.name === '项目协同管理平台') {
// if (!isLogins()) {
// dispatch({
// type: 'user/showPopLogin',
// payload: {
// showPopLogin: true,
// showClosable: true
// },
// })
// }
// return
// }
// if (!v.link || v?.subitem?.length) return
if (v !== null && v !== void 0 && (_v$link = v.link) !== null && _v$link !== void 0 && _v$link.includes("http")) {
(0,util/* openNewWindow */.xg)(v === null || v === void 0 ? void 0 : v.link);
@ -2691,14 +2702,14 @@ var HeaderComponents = function HeaderComponents(_ref) {
flex: globalSetting.isIlearning ? "initial" : "1 0 auto"
},
children: [!(0,util/* checkIsClientExam */.Ll)() && !(globalSetting !== null && globalSetting !== void 0 && globalSetting.isIlearning) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(SearchInput, {}), !isLogin && /*#__PURE__*/(0,jsx_runtime.jsx)(components_Join, {}), !isLogin && !!(user !== null && user !== void 0 && (_user$userInfo = user.userInfo) !== null && _user$userInfo !== void 0 && _user$userInfo.login) && /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(SearchInput, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(components_Join, {}), !!(user !== null && user !== void 0 && (_user$userInfo = user.userInfo) !== null && _user$userInfo !== void 0 && _user$userInfo.login) && /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
className: "iconfont icon-xiaoxilingdang c-white ml15 mr15 font18 relative",
to: "/messages/".concat(user === null || user === void 0 || (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.login, "/user_tidings"),
children: (user === null || user === void 0 || (_user$navigationInfo = user.navigationInfo) === null || _user$navigationInfo === void 0 || (_user$navigationInfo = _user$navigationInfo.top) === null || _user$navigationInfo === void 0 ? void 0 : _user$navigationInfo.new_message) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Headermodules.newslight
})
})]
}), !isLogin && /*#__PURE__*/(0,jsx_runtime.jsx)(components_User, {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(components_User, {
payload: payload
})]
})]

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67689,26486,31671,81665,47644,4286,946,50370,10728,65267,54991,82404],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67689,31671,81665,47644,4286,946,50370,10728,65267,54991,82404],{
/***/ 2377:
/*!*************************************************************************************************************!*\

@ -11,7 +11,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9">
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
<meta http-equiv="Cache-Control" content="no-transform">
<link rel="stylesheet" href="/react/build/umi.a4ae7b42.css">
<link rel="stylesheet" href="/react/build/umi.13d81c70.css">
<script src="/react/build/js/polyfill.min.js"></script>
</head>
<body>
@ -26,7 +26,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.d1f67248.js"></script>
<script src="/react/build/umi.052ee7b9.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

@ -455,7 +455,7 @@ var LoginForm_inputStyle = {
borderRadius: 4
};
var LoginForm_LoginPopComponents = function LoginPopComponents(_ref) {
var _globalSetting$settin;
var _globalSetting$settin3;
var dispatch = _ref.dispatch,
setType = _ref.setType,
user = _ref.user,
@ -615,6 +615,41 @@ var LoginForm_LoginPopComponents = function LoginPopComponents(_ref) {
}
});
};
// 校验登录前是否需要确认承诺书
var commitmentLetter = function commitmentLetter(values) {
var _globalSetting$settin;
if (globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin = globalSetting.setting) !== null && _globalSetting$settin !== void 0 && _globalSetting$settin.open_secrecy_promise) {
var _globalSetting$settin2;
modal/* default */.Z.confirm({
width: 500,
title: null,
centered: true,
icon: null,
content: /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("h1", {
style: {
textAlign: 'center',
marginTop: 10,
fontSize: '18px'
},
children: "\u4FDD\u5BC6\u627F\u8BFA"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
dangerouslySetInnerHTML: {
__html: globalSetting === null || globalSetting === void 0 || (_globalSetting$settin2 = globalSetting.setting) === null || _globalSetting$settin2 === void 0 ? void 0 : _globalSetting$settin2.secrecy_promise
}
})]
}),
okText: '我承诺',
cancelText: '退出',
onOk: function onOk() {
return onFinish(values);
}
});
} else {
onFinish(values);
}
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
layout: "vertical",
@ -623,7 +658,7 @@ var LoginForm_LoginPopComponents = function LoginPopComponents(_ref) {
autologin: true,
login: user.actionTabs.phone
},
onFinish: onFinish,
onFinish: commitmentLetter,
onValuesChange: function onValuesChange(changedValues) {
setErrorValue('');
var chineseRegex = /[\u4e00-\u9fa5]/g; // 中文字符的正则表达式
@ -688,7 +723,7 @@ var LoginForm_LoginPopComponents = function LoginPopComponents(_ref) {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
children: "\u4E0B\u6B21\u81EA\u52A8\u767B\u5F55"
})
}), (globalSetting === null || globalSetting === void 0 || (_globalSetting$settin = globalSetting.setting) === null || _globalSetting$settin === void 0 ? void 0 : _globalSetting$settin.enable_forgot_password) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), (globalSetting === null || globalSetting === void 0 || (_globalSetting$settin3 = globalSetting.setting) === null || _globalSetting$settin3 === void 0 ? void 0 : _globalSetting$settin3.enable_forgot_password) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "current font14 c-blue",
onClick: function onClick() {
@ -2324,6 +2359,8 @@ var PopLogin_LoginPopComponents = function LoginPopComponents(_ref) {
ishidden = _useState2[0],
setIsHidden = _useState2[1];
(0,_react_17_0_2_react.useEffect)(function () {
console.log(globalSetting.setting);
console.log(user.showPopLogin);
if (globalSetting.setting) {
var _globalSetting$settin3;
// window.location.href = globalSetting?.setting?.sso_login_url
@ -3242,6 +3279,8 @@ var SimpleLayouts = function SimpleLayouts(_ref) {
window.location.href = "https://kepukehuan.educoder.net/classrooms/c5q9bsp2/exercise";
return;
}
console.log(location.pathname);
console.log(searchParams.get('admin_login'));
dispatch({
type: 'globalSetting/query',
payload: {

@ -147,7 +147,7 @@ var DataType = /*#__PURE__*/function (DataType) {
return DataType;
}(DataType || {});
var Secure = function Secure(_ref) {
var _account$basicInfo4, _account$basicInfo5, _account$basicInfo6, _account$basicInfo7, _account$basicInfo9, _account$basicInfo10, _account$basicInfo11, _globalSetting$settin, _account$basicInfo12, _account$basicInfo13, _globalSetting$settin2, _account$basicInfo14, _account$basicInfo15, _account$basicInfo16, _globalSetting$settin3, _account$basicInfo17, _account$basicInfo18;
var _account$basicInfo4, _account$basicInfo5, _account$basicInfo6, _account$basicInfo7, _account$basicInfo9, _account$basicInfo10, _account$basicInfo11, _globalSetting$settin, _globalSetting$settin2, _account$basicInfo12, _account$basicInfo13, _globalSetting$settin3, _account$basicInfo14, _account$basicInfo15, _account$basicInfo16, _globalSetting$settin4, _globalSetting$settin5, _account$basicInfo17, _account$basicInfo18;
var user = _ref.user,
account = _ref.account,
globalSetting = _ref.globalSetting,
@ -571,7 +571,7 @@ var Secure = function Secure(_ref) {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
placeholder: "\u8BF7\u8F93\u5165\u8981".concat((_account$basicInfo11 = account.basicInfo) !== null && _account$basicInfo11 !== void 0 && _account$basicInfo11.phone ? '更换' : '绑定', "\u7684\u624B\u673A\u53F7\u7801")
})
}), !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin = globalSetting.setting) !== null && _globalSetting$settin !== void 0 && _globalSetting$settin.is_local) && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
}), (!(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin = globalSetting.setting) !== null && _globalSetting$settin !== void 0 && _globalSetting$settin.is_local) || (globalSetting === null || globalSetting === void 0 || (_globalSetting$settin2 = globalSetting.setting) === null || _globalSetting$settin2 === void 0 ? void 0 : _globalSetting$settin2.is_need_code) == 'true') && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
label: "\u624B\u673A\u9A8C\u8BC1\u7801",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "phoneValidateCode",
@ -625,7 +625,7 @@ var Secure = function Secure(_ref) {
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "".concat(Securemodules.status, " ").concat(Securemodules.colorRed, " mr20"),
children: "\u672A\u7ED1\u5B9A"
}), "\u90AE\u7BB1\u8D26\u53F7\u4EC5\u81EA\u5DF1\u53EF\u89C1\uFF0C\u53EF\u7528\u4E8E\u90AE\u7BB1\u8D26\u53F7\u767B\u5F55", !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin2 = globalSetting.setting) !== null && _globalSetting$settin2 !== void 0 && _globalSetting$settin2.is_local) && 'EduCoder']
}), "\u90AE\u7BB1\u8D26\u53F7\u4EC5\u81EA\u5DF1\u53EF\u89C1\uFF0C\u53EF\u7528\u4E8E\u90AE\u7BB1\u8D26\u53F7\u767B\u5F55", !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin3 = globalSetting.setting) !== null && _globalSetting$settin3 !== void 0 && _globalSetting$settin3.is_local) && 'EduCoder']
}), active !== ActiveType.Email && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Securemodules.active,
onClick: function onClick() {
@ -644,7 +644,7 @@ var Secure = function Secure(_ref) {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
placeholder: (_account$basicInfo16 = account.basicInfo) !== null && _account$basicInfo16 !== void 0 && _account$basicInfo16.mail ? '请输入要更换的新邮箱地址' : '请输入邮箱地址'
})
}), !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin3 = globalSetting.setting) !== null && _globalSetting$settin3 !== void 0 && _globalSetting$settin3.is_local) && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
}), (!(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin4 = globalSetting.setting) !== null && _globalSetting$settin4 !== void 0 && _globalSetting$settin4.is_local) || (globalSetting === null || globalSetting === void 0 || (_globalSetting$settin5 = globalSetting.setting) === null || _globalSetting$settin5 === void 0 ? void 0 : _globalSetting$settin5.is_need_code) == 'true') && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
label: "\u90AE\u7BB1\u9A8C\u8BC1\u7801",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "emailValidateCode",

@ -2522,6 +2522,7 @@ var WorkList = function WorkList(_ref) {
_useState44 = slicedToArray_default()(_useState43, 2),
backGroupContnet = _useState44[0],
setbackGroupContnet = _useState44[1];
console.log(globalSetting === null || globalSetting === void 0 ? void 0 : globalSetting.setting);
(0,_react_17_0_2_react.useEffect)(function () {
getData(true);
return function () {

@ -1,9 +1,9 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[3509],{
/***/ 50199:
/***/ 64483:
/*!*************************************************************!*\
!*** ./src/pages/HttpStatus/SixActivities.tsx + 49 modules ***!
!*** ./src/pages/HttpStatus/SixActivities.tsx + 45 modules ***!
\*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
@ -21,235 +21,8 @@ var _react_17_0_2_react = __webpack_require__(59301);
var es_anchor = __webpack_require__(79817);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
var menu = __webpack_require__(20834);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(5891);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/VerticalAlignTopOutlined.js
// This icon file is generated automatically.
var VerticalAlignTopOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z" } }] }, "name": "vertical-align-top", "theme": "outlined" };
/* harmony default export */ var asn_VerticalAlignTopOutlined = (VerticalAlignTopOutlined);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.2@@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(88853);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.2@@ant-design/icons/es/icons/VerticalAlignTopOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var VerticalAlignTopOutlined_VerticalAlignTopOutlined = function VerticalAlignTopOutlined(props, ref) {
return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_VerticalAlignTopOutlined
}));
};
/**![vertical-align-top](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg1OS45IDE2OEgxNjQuMWMtNC41IDAtOC4xIDMuNi04LjEgOHY2MGMwIDQuNCAzLjYgOCA4LjEgOGg2OTUuOGM0LjUgMCA4LjEtMy42IDguMS04di02MGMwLTQuNC0zLjYtOC04LjEtOHpNNTE4LjMgMzU1YTggOCAwIDAwLTEyLjYgMGwtMTEyIDE0MS43YTcuOTggNy45OCAwIDAwNi4zIDEyLjloNzMuOVY4NDhjMCA0LjQgMy42IDggOCA4aDYwYzQuNCAwIDgtMy42IDgtOFY1MDkuN0g2MjRjNi43IDAgMTAuNC03LjcgNi4zLTEyLjlMNTE4LjMgMzU1eiIgLz48L3N2Zz4=) */
var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(VerticalAlignTopOutlined_VerticalAlignTopOutlined);
if (false) {}
/* harmony default export */ var icons_VerticalAlignTopOutlined = (RefIcon);
// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
var _classnames_2_5_1_classnames = __webpack_require__(92310);
var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
// EXTERNAL MODULE: ./node_modules/_rc-motion@2.9.4@rc-motion/es/index.js + 13 modules
var es = __webpack_require__(49204);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.1@rc-util/es/omit.js
var omit = __webpack_require__(7305);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/getScroll.js
var getScroll = __webpack_require__(13845);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/reactNode.js
var reactNode = __webpack_require__(92343);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/scrollTo.js + 1 modules
var scrollTo = __webpack_require__(68031);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/throttleByAnimationFrame.js
var throttleByAnimationFrame = __webpack_require__(27666);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js
var genComponentStyleHook = __webpack_require__(83116);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js
var statistic = __webpack_require__(37613);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
var style = __webpack_require__(17313);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/back-top/style/index.js
// ============================== Shared ==============================
const genSharedBackTopStyle = token => {
const {
componentCls,
backTopFontSize,
backTopSize,
zIndexPopup
} = token;
return {
[componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
position: 'fixed',
insetInlineEnd: token.backTopInlineEnd,
insetBlockEnd: token.backTopBlockEnd,
zIndex: zIndexPopup,
width: 40,
height: 40,
cursor: 'pointer',
'&:empty': {
display: 'none'
},
[`${componentCls}-content`]: {
width: backTopSize,
height: backTopSize,
overflow: 'hidden',
color: token.backTopColor,
textAlign: 'center',
backgroundColor: token.backTopBackground,
borderRadius: backTopSize,
transition: `all ${token.motionDurationMid}`,
'&:hover': {
backgroundColor: token.backTopHoverBackground,
transition: `all ${token.motionDurationMid}`
}
},
// change to .backtop .backtop-icon
[`${componentCls}-icon`]: {
fontSize: backTopFontSize,
lineHeight: `${backTopSize}px`
}
})
};
};
const genMediaBackTopStyle = token => {
const {
componentCls
} = token;
return {
[`@media (max-width: ${token.screenMD}px)`]: {
[componentCls]: {
insetInlineEnd: token.backTopInlineEndMD
}
},
[`@media (max-width: ${token.screenXS}px)`]: {
[componentCls]: {
insetInlineEnd: token.backTopInlineEndXS
}
}
};
};
// ============================== Export ==============================
/* harmony default export */ var back_top_style = ((0,genComponentStyleHook/* default */.Z)('BackTop', token => {
const {
fontSizeHeading3,
colorTextDescription,
colorTextLightSolid,
colorText,
controlHeightLG
} = token;
const backTopToken = (0,statistic/* merge */.TS)(token, {
backTopBackground: colorTextDescription,
backTopColor: colorTextLightSolid,
backTopHoverBackground: colorText,
backTopFontSize: fontSizeHeading3,
backTopSize: controlHeightLG,
backTopBlockEnd: controlHeightLG * 1.25,
backTopInlineEnd: controlHeightLG * 2.5,
backTopInlineEndMD: controlHeightLG * 1.5,
backTopInlineEndXS: controlHeightLG * 0.5
});
return [genSharedBackTopStyle(backTopToken), genMediaBackTopStyle(backTopToken)];
}, token => ({
zIndexPopup: token.zIndexBase + 10
})));
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/back-top/index.js
"use client";
const BackTop = props => {
const {
prefixCls: customizePrefixCls,
className,
rootClassName,
visibilityHeight = 400,
target,
onClick,
duration = 450
} = props;
const [visible, setVisible] = _react_17_0_2_react.useState(visibilityHeight === 0);
const ref = _react_17_0_2_react.useRef(null);
const getDefaultTarget = () => ref.current && ref.current.ownerDocument ? ref.current.ownerDocument : window;
const handleScroll = (0,throttleByAnimationFrame/* default */.Z)(e => {
const scrollTop = (0,getScroll/* default */.Z)(e.target, true);
setVisible(scrollTop >= visibilityHeight);
});
if (false) {}
_react_17_0_2_react.useEffect(() => {
const getTarget = target || getDefaultTarget;
const container = getTarget();
handleScroll({
target: container
});
container === null || container === void 0 ? void 0 : container.addEventListener('scroll', handleScroll);
return () => {
handleScroll.cancel();
container === null || container === void 0 ? void 0 : container.removeEventListener('scroll', handleScroll);
};
}, [target]);
const scrollToTop = e => {
(0,scrollTo/* default */.Z)(0, {
getContainer: target || getDefaultTarget,
duration
});
onClick === null || onClick === void 0 ? void 0 : onClick(e);
};
const {
getPrefixCls,
direction
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
const prefixCls = getPrefixCls('back-top', customizePrefixCls);
const rootPrefixCls = getPrefixCls();
const [wrapSSR, hashId] = back_top_style(prefixCls);
const classString = _classnames_2_5_1_classnames_default()(hashId, prefixCls, {
[`${prefixCls}-rtl`]: direction === 'rtl'
}, className, rootClassName);
// fix https://fb.me/react-unknown-prop
const divProps = (0,omit/* default */.Z)(props, ['prefixCls', 'className', 'rootClassName', 'children', 'visibilityHeight', 'target']);
const defaultElement = /*#__PURE__*/_react_17_0_2_react.createElement("div", {
className: `${prefixCls}-content`
}, /*#__PURE__*/_react_17_0_2_react.createElement("div", {
className: `${prefixCls}-icon`
}, /*#__PURE__*/_react_17_0_2_react.createElement(icons_VerticalAlignTopOutlined, null)));
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({}, divProps, {
className: classString,
onClick: scrollToTop,
ref: ref
}), /*#__PURE__*/_react_17_0_2_react.createElement(es["default"], {
visible: visible,
motionName: `${rootPrefixCls}-fade`
}, _ref => {
let {
className: motionClassName
} = _ref;
return (0,reactNode/* cloneElement */.Tm)(props.children || defaultElement, _ref2 => {
let {
className: cloneCls
} = _ref2;
return {
className: _classnames_2_5_1_classnames_default()(motionClassName, cloneCls)
};
});
})));
};
if (false) {}
/* harmony default export */ var back_top = (BackTop);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/back-top/index.js + 3 modules
var back_top = __webpack_require__(77808);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js
var row = __webpack_require__(95237);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/col/index.js
@ -612,7 +385,7 @@ function hpccourse(_ref) {
})
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(back_top, {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(back_top/* default */.Z, {
className: "".concat(Sixindexmodules.backTop),
visibilityHeight: 0,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@ -983,6 +756,252 @@ function scrollTo(y) {
/***/ }),
/***/ 77808:
/*!************************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/back-top/index.js + 3 modules ***!
\************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ back_top; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(5891);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/VerticalAlignTopOutlined.js
// This icon file is generated automatically.
var VerticalAlignTopOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z" } }] }, "name": "vertical-align-top", "theme": "outlined" };
/* harmony default export */ var asn_VerticalAlignTopOutlined = (VerticalAlignTopOutlined);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.2@@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(88853);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.2@@ant-design/icons/es/icons/VerticalAlignTopOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var VerticalAlignTopOutlined_VerticalAlignTopOutlined = function VerticalAlignTopOutlined(props, ref) {
return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
icon: asn_VerticalAlignTopOutlined
}));
};
/**![vertical-align-top](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg1OS45IDE2OEgxNjQuMWMtNC41IDAtOC4xIDMuNi04LjEgOHY2MGMwIDQuNCAzLjYgOCA4LjEgOGg2OTUuOGM0LjUgMCA4LjEtMy42IDguMS04di02MGMwLTQuNC0zLjYtOC04LjEtOHpNNTE4LjMgMzU1YTggOCAwIDAwLTEyLjYgMGwtMTEyIDE0MS43YTcuOTggNy45OCAwIDAwNi4zIDEyLjloNzMuOVY4NDhjMCA0LjQgMy42IDggOCA4aDYwYzQuNCAwIDgtMy42IDgtOFY1MDkuN0g2MjRjNi43IDAgMTAuNC03LjcgNi4zLTEyLjlMNTE4LjMgMzU1eiIgLz48L3N2Zz4=) */
var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(VerticalAlignTopOutlined_VerticalAlignTopOutlined);
if (false) {}
/* harmony default export */ var icons_VerticalAlignTopOutlined = (RefIcon);
// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
var _classnames_2_5_1_classnames = __webpack_require__(92310);
var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
// EXTERNAL MODULE: ./node_modules/_rc-motion@2.9.4@rc-motion/es/index.js + 13 modules
var es = __webpack_require__(49204);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.1@rc-util/es/omit.js
var omit = __webpack_require__(7305);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/getScroll.js
var getScroll = __webpack_require__(13845);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/reactNode.js
var reactNode = __webpack_require__(92343);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/scrollTo.js + 1 modules
var scrollTo = __webpack_require__(68031);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/throttleByAnimationFrame.js
var throttleByAnimationFrame = __webpack_require__(27666);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js
var genComponentStyleHook = __webpack_require__(83116);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js
var statistic = __webpack_require__(37613);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
var style = __webpack_require__(17313);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/back-top/style/index.js
// ============================== Shared ==============================
const genSharedBackTopStyle = token => {
const {
componentCls,
backTopFontSize,
backTopSize,
zIndexPopup
} = token;
return {
[componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
position: 'fixed',
insetInlineEnd: token.backTopInlineEnd,
insetBlockEnd: token.backTopBlockEnd,
zIndex: zIndexPopup,
width: 40,
height: 40,
cursor: 'pointer',
'&:empty': {
display: 'none'
},
[`${componentCls}-content`]: {
width: backTopSize,
height: backTopSize,
overflow: 'hidden',
color: token.backTopColor,
textAlign: 'center',
backgroundColor: token.backTopBackground,
borderRadius: backTopSize,
transition: `all ${token.motionDurationMid}`,
'&:hover': {
backgroundColor: token.backTopHoverBackground,
transition: `all ${token.motionDurationMid}`
}
},
// change to .backtop .backtop-icon
[`${componentCls}-icon`]: {
fontSize: backTopFontSize,
lineHeight: `${backTopSize}px`
}
})
};
};
const genMediaBackTopStyle = token => {
const {
componentCls
} = token;
return {
[`@media (max-width: ${token.screenMD}px)`]: {
[componentCls]: {
insetInlineEnd: token.backTopInlineEndMD
}
},
[`@media (max-width: ${token.screenXS}px)`]: {
[componentCls]: {
insetInlineEnd: token.backTopInlineEndXS
}
}
};
};
// ============================== Export ==============================
/* harmony default export */ var back_top_style = ((0,genComponentStyleHook/* default */.Z)('BackTop', token => {
const {
fontSizeHeading3,
colorTextDescription,
colorTextLightSolid,
colorText,
controlHeightLG
} = token;
const backTopToken = (0,statistic/* merge */.TS)(token, {
backTopBackground: colorTextDescription,
backTopColor: colorTextLightSolid,
backTopHoverBackground: colorText,
backTopFontSize: fontSizeHeading3,
backTopSize: controlHeightLG,
backTopBlockEnd: controlHeightLG * 1.25,
backTopInlineEnd: controlHeightLG * 2.5,
backTopInlineEndMD: controlHeightLG * 1.5,
backTopInlineEndXS: controlHeightLG * 0.5
});
return [genSharedBackTopStyle(backTopToken), genMediaBackTopStyle(backTopToken)];
}, token => ({
zIndexPopup: token.zIndexBase + 10
})));
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/back-top/index.js
"use client";
const BackTop = props => {
const {
prefixCls: customizePrefixCls,
className,
rootClassName,
visibilityHeight = 400,
target,
onClick,
duration = 450
} = props;
const [visible, setVisible] = _react_17_0_2_react.useState(visibilityHeight === 0);
const ref = _react_17_0_2_react.useRef(null);
const getDefaultTarget = () => ref.current && ref.current.ownerDocument ? ref.current.ownerDocument : window;
const handleScroll = (0,throttleByAnimationFrame/* default */.Z)(e => {
const scrollTop = (0,getScroll/* default */.Z)(e.target, true);
setVisible(scrollTop >= visibilityHeight);
});
if (false) {}
_react_17_0_2_react.useEffect(() => {
const getTarget = target || getDefaultTarget;
const container = getTarget();
handleScroll({
target: container
});
container === null || container === void 0 ? void 0 : container.addEventListener('scroll', handleScroll);
return () => {
handleScroll.cancel();
container === null || container === void 0 ? void 0 : container.removeEventListener('scroll', handleScroll);
};
}, [target]);
const scrollToTop = e => {
(0,scrollTo/* default */.Z)(0, {
getContainer: target || getDefaultTarget,
duration
});
onClick === null || onClick === void 0 ? void 0 : onClick(e);
};
const {
getPrefixCls,
direction
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
const prefixCls = getPrefixCls('back-top', customizePrefixCls);
const rootPrefixCls = getPrefixCls();
const [wrapSSR, hashId] = back_top_style(prefixCls);
const classString = _classnames_2_5_1_classnames_default()(hashId, prefixCls, {
[`${prefixCls}-rtl`]: direction === 'rtl'
}, className, rootClassName);
// fix https://fb.me/react-unknown-prop
const divProps = (0,omit/* default */.Z)(props, ['prefixCls', 'className', 'rootClassName', 'children', 'visibilityHeight', 'target']);
const defaultElement = /*#__PURE__*/_react_17_0_2_react.createElement("div", {
className: `${prefixCls}-content`
}, /*#__PURE__*/_react_17_0_2_react.createElement("div", {
className: `${prefixCls}-icon`
}, /*#__PURE__*/_react_17_0_2_react.createElement(icons_VerticalAlignTopOutlined, null)));
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({}, divProps, {
className: classString,
onClick: scrollToTop,
ref: ref
}), /*#__PURE__*/_react_17_0_2_react.createElement(es["default"], {
visible: visible,
motionName: `${rootPrefixCls}-fade`
}, _ref => {
let {
className: motionClassName
} = _ref;
return (0,reactNode/* cloneElement */.Tm)(props.children || defaultElement, _ref2 => {
let {
className: cloneCls
} = _ref2;
return {
className: _classnames_2_5_1_classnames_default()(motionClassName, cloneCls)
};
});
})));
};
if (false) {}
/* harmony default export */ var back_top = (BackTop);
/***/ }),
/***/ 6774:
/*!*************************************************************************************************************!*\
!*** ./node_modules/_scroll-into-view-if-needed@3.1.0@scroll-into-view-if-needed/dist/index.js + 1 modules ***!

@ -129,6 +129,7 @@ var UploadFile = function UploadFile(_ref) {
shixunHomeworks = _ref.shixunHomeworks,
globalSetting = _ref.globalSetting,
props = objectWithoutProperties_default()(_ref, _excluded);
console.log(globalSetting, 'globalSetting');
(0,_react_17_0_2_react.useEffect)(function () {
if (shixunHomeworks.actionTabs.key === '分片专用504') {
dispatch({

@ -84,6 +84,7 @@ var UploadFile = function UploadFile(_ref) {
shixunHomeworks = _ref.shixunHomeworks,
globalSetting = _ref.globalSetting,
props = objectWithoutProperties_default()(_ref, _excluded);
console.log(globalSetting, 'globalSetting');
(0,_react_17_0_2_react.useEffect)(function () {
if (shixunHomeworks.actionTabs.key === '分片专用504') {
dispatch({

@ -84,6 +84,7 @@ var UploadFile = function UploadFile(_ref) {
shixunHomeworks = _ref.shixunHomeworks,
globalSetting = _ref.globalSetting,
props = objectWithoutProperties_default()(_ref, _excluded);
console.log(globalSetting, 'globalSetting');
(0,_react_17_0_2_react.useEffect)(function () {
if (shixunHomeworks.actionTabs.key === '分片专用504') {
dispatch({

@ -84,6 +84,7 @@ var UploadFile = function UploadFile(_ref) {
shixunHomeworks = _ref.shixunHomeworks,
globalSetting = _ref.globalSetting,
props = objectWithoutProperties_default()(_ref, _excluded);
console.log(globalSetting, 'globalSetting');
(0,_react_17_0_2_react.useEffect)(function () {
if (shixunHomeworks.actionTabs.key === '分片专用504') {
dispatch({

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -5503,7 +5503,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
params.sub_discipline_id = subId || '';
params.tag_discipline_id = '';
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
delete params.id;
setKnowledgeValue(-1);
// setKnowledgeValue(id === null ? -1 : null)
@ -5527,7 +5527,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
var handleTypeChange = function handleTypeChange(value) {
params.item_type = value || '';
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
setParams(params);
getItemBanks(params);
if (activeTabsKey === "3" || activeTabsKey === "0") {
@ -5540,7 +5540,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
var handleDifficultyChange = function handleDifficultyChange(value) {
params.difficulty = value || '';
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
delete params.id;
setParams(params);
getItemBanks(params);
@ -5554,7 +5554,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
var handleKnowledgeChange = function handleKnowledgeChange(value) {
params.tag_discipline_id = value;
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
delete params.id;
if (value === -1) {
params.discipline_id = '';
@ -5612,7 +5612,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
setShowTeachGroup(false);
}
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
delete params.id;
setKnowledgeValue(-1);
setActiveTabsKey(activeKey);
@ -5639,6 +5639,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
// }
// params.sort_by = sort_direction ? field : null;
// params.sort_direction = sort_direction;
debugger;
params.page = page;
params.per_page = pagesize;
setParams(params);
@ -5673,7 +5674,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
// 加入试题蓝触发的回调
var handleReloadData = function handleReloadData() {
params.per_page = 20;
// params.per_page = 20;
setParams(params);
getItemBanks(params);
setIsPiliangRevoke(false);
@ -5682,7 +5683,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
var handleDeleteData = function handleDeleteData(deleteId) {
var page = deleteId.length === problemsetList.length && params.page > 1 ? params.page - 1 : params.page;
params.page = page;
params.per_page = 20;
// params.per_page = 20;
getBasketList();
setParams(params);
getItemBanks(params);
@ -6088,7 +6089,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
params.sub_discipline_id = '';
params.tag_discipline_id = '';
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
params.group_id = Math.abs(id);
setKnowledgeValue(-1);
setParams(params);
@ -6121,7 +6122,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
}
});
getItemBanks(params);
case 14:
case 13:
case "end":
return _context13.stop();
}
@ -7435,7 +7436,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
params.sort_by = item.type;
params.sort_direction = item.direction;
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
setSortMenuName(item.name);
setParams(params);
getItemBanks(params);
@ -7476,7 +7477,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
params.item_type = null;
params.difficulty = null;
params.page = 1;
params.per_page = 20;
// params.per_page = 20;
params.group_id = id;
setKnowledgeValue(-1);
setParams(params);

@ -4883,7 +4883,7 @@ function OjProblem_reducer(state, action) {
}
}
/* harmony default export */ var OjProblem = (function (_ref) {
var _data$test_case, _window$location;
var _data$test_case, _saveData$current3, _window$location;
var children = _ref.children;
var _useReducer = (0,_react_17_0_2_react.useReducer)(OjProblem_reducer, initalilState),
_useReducer2 = slicedToArray_default()(_useReducer, 2),
@ -5620,7 +5620,7 @@ function OjProblem_reducer(state, action) {
}
var rightPanelOption = {
input: data === null || data === void 0 || (_data$test_case = data.test_case) === null || _data$test_case === void 0 ? void 0 : _data$test_case.input,
language: hack === null || hack === void 0 ? void 0 : hack.language,
language: ((_saveData$current3 = saveData.current) === null || _saveData$current3 === void 0 ? void 0 : _saveData$current3.language) || (hack === null || hack === void 0 ? void 0 : hack.language),
code: hack === null || hack === void 0 ? void 0 : hack.code,
title: 'main.' + LanguageSuf[hack === null || hack === void 0 ? void 0 : hack.language],
modify_code: hack === null || hack === void 0 ? void 0 : hack.modify_code,

@ -309,7 +309,7 @@ function reducer(state, action) {
}
}
var RegisterComponent = function RegisterComponent(_ref) {
var _globalSetting$settin2, _globalSetting$settin3, _globalSetting$settin4;
var _globalSetting$settin2, _globalSetting$settin3, _globalSetting$settin4, _globalSetting$settin5, _globalSetting$settin6;
var validateName = _ref.validateName,
getCode = _ref.getCode,
register = _ref.register,
@ -566,7 +566,7 @@ var RegisterComponent = function RegisterComponent(_ref) {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(unlock/* default */.Z, {
onValidate: onValidateName
})
}), !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin3 = globalSetting.setting) !== null && _globalSetting$settin3 !== void 0 && _globalSetting$settin3.is_local) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (!(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin3 = globalSetting.setting) !== null && _globalSetting$settin3 !== void 0 && _globalSetting$settin3.is_local) || (globalSetting === null || globalSetting === void 0 || (_globalSetting$settin4 = globalSetting.setting) === null || _globalSetting$settin4 === void 0 ? void 0 : _globalSetting$settin4.is_need_code) == 'true') && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "code",
rules: [{
required: true,
@ -587,7 +587,7 @@ var RegisterComponent = function RegisterComponent(_ref) {
placeholder: "\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",
size: "large"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin5 = globalSetting.setting) !== null && _globalSetting$settin5 !== void 0 && _globalSetting$settin5.is_need_code) == 'true' && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "code",
rules: [{
required: true,
@ -631,7 +631,7 @@ var RegisterComponent = function RegisterComponent(_ref) {
placeholder: "\u8F93\u51658\uFF5E16\u4F4D\u5BC6\u7801\uFF0C\u533A\u5206\u5927\u5C0F\u5199",
visibilityToggle: false
})
}), !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin4 = globalSetting.setting) !== null && _globalSetting$settin4 !== void 0 && _globalSetting$settin4.is_local) && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
}), !(globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin6 = globalSetting.setting) !== null && _globalSetting$settin6 !== void 0 && _globalSetting$settin6.is_local) && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
className: "service-terms",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
noStyle: true,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -16974,6 +16974,7 @@ var tasks_excluded = ["gold", "experience", "next_game", "next_shixun", "subject
var tasks_DirectoryTree = tree/* default */.Z.DirectoryTree;
@ -17458,6 +17459,21 @@ function tasks_reducer(state, action) {
} else if ((data === null || data === void 0 ? void 0 : data.status) === 0) {
//特殊意义 status为0为错误情况
message/* default */.ZP.warning(data === null || data === void 0 ? void 0 : data.message);
} else {
// 特殊处理请求被vpn拦截
message/* default */.ZP.warning({
content: /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u4EE3\u7801\u5185\u5BB9\u83B7\u53D6\u5F02\u5E38\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u662F\u5426\u5F02\u5E38\u3002"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "tc",
children: "\u4E0B\u9762\u662F\u7F51\u7EDC\u8FD4\u56DE\u7684\u9519\u8BEF\u63D0\u793A\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: (0,util/* parseArrayBufferAsText */.gT)(data)
})]
}),
duration: 7
});
}
//断网情况下
dealError(data);
@ -18131,9 +18147,36 @@ function tasks_reducer(state, action) {
return onUpdateCode(1);
case 4:
response = _context16.sent;
if (!(!(response !== null && response !== void 0 && response.content) && !(response !== null && response !== void 0 && response.sec_key))) {
_context16.next = 10;
break;
}
// 特殊处理请求被vpn拦截
message/* default */.ZP.warning({
content: /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u4EE3\u7801\u5185\u5BB9\u66F4\u65B0\u5F02\u5E38\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u662F\u5426\u5F02\u5E38\u3002"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "tc",
children: "\u4E0B\u9762\u662F\u7F51\u7EDC\u8FD4\u56DE\u7684\u9519\u8BEF\u63D0\u793A\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: (0,util/* parseArrayBufferAsText */.gT)(response)
})]
}),
duration: 7
});
mediator/* default */.Z.publish('eval-code-finish');
dispatch({
type: constant/* UPDATE_TASK_DATA */.z2,
payload: {
evaluateLoading: false
}
});
return _context16.abrupt("return");
case 10:
resubmit = response.resubmit, sec_key = response.sec_key, content_modified = response.content_modified;
if (!(response.status === -5 && typeof_default()(response === null || response === void 0 ? void 0 : response.message) === "object")) {
_context16.next = 9;
_context16.next = 14;
break;
}
(0,_umi_production_exports.getDvaApp)()._store.dispatch({
@ -18148,9 +18191,9 @@ function tasks_reducer(state, action) {
}
});
return _context16.abrupt("return");
case 9:
case 14:
if (!(response.status && response.status < 0)) {
_context16.next = 13;
_context16.next = 18;
break;
}
mediator/* default */.Z.publish('eval-code-finish');
@ -18161,7 +18204,7 @@ function tasks_reducer(state, action) {
}
});
return _context16.abrupt("return");
case 13:
case 18:
params = {
sec_key: sec_key,
resubmit: resubmit,
@ -18195,12 +18238,12 @@ function tasks_reducer(state, action) {
commitID: response === null || response === void 0 || (_response$content3 = response.content) === null || _response$content3 === void 0 ? void 0 : _response$content3.commitID
};
}
_context16.next = 17;
_context16.next = 22;
return (0,service/* codeGameBuild */.Xy)(taskId, params);
case 17:
case 22:
rs = _context16.sent;
if (!(rs !== null && rs !== void 0 && (_rs$data = rs.data) !== null && _rs$data !== void 0 && (_rs$data = _rs$data.data_list) !== null && _rs$data !== void 0 && _rs$data.length)) {
_context16.next = 21;
_context16.next = 26;
break;
}
mediator/* default */.Z.publish('pod-restrict-data', {
@ -18208,16 +18251,16 @@ function tasks_reducer(state, action) {
data_list: rs === null || rs === void 0 || (_rs$data3 = rs.data) === null || _rs$data3 === void 0 ? void 0 : _rs$data3.data_list
});
return _context16.abrupt("return");
case 21:
case 26:
if (!(rs.status === -1 && searchParams.get("type") === 'exercises')) {
_context16.next = 24;
_context16.next = 29;
break;
}
window.parent.location.href = "/classrooms/".concat(searchParams.get("coursesId"), "/exercise/").concat(searchParams.get("exercisesId"), "/detail");
return _context16.abrupt("return");
case 24:
case 29:
if (!(rs.status === -2)) {
_context16.next = 28;
_context16.next = 33;
break;
}
dispatch({
@ -18225,7 +18268,7 @@ function tasks_reducer(state, action) {
});
mediator/* default */.Z.publish('eval-code-finish');
return _context16.abrupt("return");
case 28:
case 33:
if (rs.status === 1) {
getGameStatus = /*#__PURE__*/function () {
var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee15(intervalTime, finalTime, count) {
@ -18346,15 +18389,15 @@ function tasks_reducer(state, action) {
getGameStatus(intervalTime, challenge.exec_time + 11, count++);
}
return _context16.abrupt("return", res);
case 32:
_context16.prev = 32;
case 37:
_context16.prev = 37;
_context16.t0 = _context16["catch"](0);
console.log('-------eval code', _context16.t0);
case 35:
case 40:
case "end":
return _context16.stop();
}
}, _callee16, null, [[0, 32]]);
}, _callee16, null, [[0, 37]]);
}));
return _onEvalCode.apply(this, arguments);
}

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 712 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 877 KiB

File diff suppressed because one or more lines are too long

@ -10376,18 +10376,6 @@ to {
font-weight:900
}
@font-face {
font-family:AlimamaShuHeiTi;
font-style:normal;
src:url(./static/alimamashuheiti.0ac727c9.ttf);
}
@font-face {
font-family:Digital;
font-style:normal;
src:url(./static/Digital.93baae4f.ttf);
}
/*!*****************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[4].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.36@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[4].oneOf[1].use[2]!./src/styles/markdown.css ***!
\*****************************************************************************************************************************************************************************************************************************************************************************/
Loading…
Cancel
Save