scorm-again 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aicc.js +45 -45
- package/dist/aicc.js.map +1 -1
- package/dist/aicc.min.js +7 -7
- package/dist/scorm-again.js +54 -54
- package/dist/scorm-again.js.map +1 -1
- package/dist/scorm-again.min.js +10 -10
- package/dist/scorm12.js +34 -34
- package/dist/scorm12.js.map +1 -1
- package/dist/scorm12.min.js +7 -7
- package/dist/scorm2004.js +29 -29
- package/dist/scorm2004.js.map +1 -1
- package/dist/scorm2004.min.js +7 -7
- package/package.json +20 -20
package/dist/aicc.js
CHANGED
|
@@ -428,13 +428,13 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
428
428
|
|
|
429
429
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
430
430
|
|
|
431
|
-
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _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; }; } return _get.apply(this, arguments); }
|
|
431
|
+
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _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; }; } return _get.apply(this, arguments); }
|
|
432
432
|
|
|
433
433
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
434
434
|
|
|
435
435
|
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
436
436
|
|
|
437
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
437
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
438
438
|
|
|
439
439
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
440
440
|
|
|
@@ -444,7 +444,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
444
444
|
|
|
445
445
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
446
446
|
|
|
447
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
447
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
448
448
|
|
|
449
449
|
|
|
450
450
|
|
|
@@ -2000,7 +2000,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
2000
2000
|
|
|
2001
2001
|
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
2002
2002
|
|
|
2003
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
2003
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
2004
2004
|
|
|
2005
2005
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2006
2006
|
|
|
@@ -2010,7 +2010,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
2010
2010
|
|
|
2011
2011
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
2012
2012
|
|
|
2013
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
2013
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
2014
2014
|
|
|
2015
2015
|
|
|
2016
2016
|
|
|
@@ -2369,14 +2369,14 @@ var Scorm12API = /*#__PURE__*/function (_BaseAPI) {
|
|
|
2369
2369
|
__webpack_require__.r(__webpack_exports__);
|
|
2370
2370
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2371
2371
|
/* harmony export */ "CMI": function() { return /* binding */ CMI; },
|
|
2372
|
-
/* harmony export */ "
|
|
2372
|
+
/* harmony export */ "CMIAttemptRecords": function() { return /* binding */ CMIAttemptRecords; },
|
|
2373
|
+
/* harmony export */ "CMIAttemptRecordsObject": function() { return /* binding */ CMIAttemptRecordsObject; },
|
|
2374
|
+
/* harmony export */ "CMIEvaluationCommentsObject": function() { return /* binding */ CMIEvaluationCommentsObject; },
|
|
2373
2375
|
/* harmony export */ "CMIPaths": function() { return /* binding */ CMIPaths; },
|
|
2374
2376
|
/* harmony export */ "CMIPathsObject": function() { return /* binding */ CMIPathsObject; },
|
|
2377
|
+
/* harmony export */ "CMIStudentDemographics": function() { return /* binding */ CMIStudentDemographics; },
|
|
2375
2378
|
/* harmony export */ "CMITries": function() { return /* binding */ CMITries; },
|
|
2376
|
-
/* harmony export */ "CMITriesObject": function() { return /* binding */ CMITriesObject; }
|
|
2377
|
-
/* harmony export */ "CMIAttemptRecords": function() { return /* binding */ CMIAttemptRecords; },
|
|
2378
|
-
/* harmony export */ "CMIAttemptRecordsObject": function() { return /* binding */ CMIAttemptRecordsObject; },
|
|
2379
|
-
/* harmony export */ "CMIEvaluationCommentsObject": function() { return /* binding */ CMIEvaluationCommentsObject; }
|
|
2379
|
+
/* harmony export */ "CMITriesObject": function() { return /* binding */ CMITriesObject; }
|
|
2380
2380
|
/* harmony export */ });
|
|
2381
2381
|
/* harmony import */ var _scorm12_cmi__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./scorm12_cmi */ "./src/cmi/scorm12_cmi.js");
|
|
2382
2382
|
/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./common */ "./src/cmi/common.js");
|
|
@@ -2406,13 +2406,13 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
2406
2406
|
|
|
2407
2407
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
2408
2408
|
|
|
2409
|
-
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _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; }; } return _get.apply(this, arguments); }
|
|
2409
|
+
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _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; }; } return _get.apply(this, arguments); }
|
|
2410
2410
|
|
|
2411
2411
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
2412
2412
|
|
|
2413
2413
|
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
2414
2414
|
|
|
2415
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
2415
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
2416
2416
|
|
|
2417
2417
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2418
2418
|
|
|
@@ -2422,7 +2422,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
2422
2422
|
|
|
2423
2423
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
2424
2424
|
|
|
2425
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
2425
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
2426
2426
|
|
|
2427
2427
|
|
|
2428
2428
|
|
|
@@ -3995,11 +3995,11 @@ var CMIEvaluationCommentsObject = /*#__PURE__*/function (_BaseCMI6) {
|
|
|
3995
3995
|
"use strict";
|
|
3996
3996
|
__webpack_require__.r(__webpack_exports__);
|
|
3997
3997
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3998
|
-
/* harmony export */ "checkValidFormat": function() { return /* binding */ checkValidFormat; },
|
|
3999
|
-
/* harmony export */ "checkValidRange": function() { return /* binding */ checkValidRange; },
|
|
4000
3998
|
/* harmony export */ "BaseCMI": function() { return /* binding */ BaseCMI; },
|
|
3999
|
+
/* harmony export */ "CMIArray": function() { return /* binding */ CMIArray; },
|
|
4001
4000
|
/* harmony export */ "CMIScore": function() { return /* binding */ CMIScore; },
|
|
4002
|
-
/* harmony export */ "
|
|
4001
|
+
/* harmony export */ "checkValidFormat": function() { return /* binding */ checkValidFormat; },
|
|
4002
|
+
/* harmony export */ "checkValidRange": function() { return /* binding */ checkValidRange; }
|
|
4003
4003
|
/* harmony export */ });
|
|
4004
4004
|
/* harmony import */ var _constants_api_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants/api_constants */ "./src/constants/api_constants.js");
|
|
4005
4005
|
/* harmony import */ var _constants_error_codes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants/error_codes */ "./src/constants/error_codes.js");
|
|
@@ -4008,7 +4008,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4008
4008
|
|
|
4009
4009
|
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
4010
4010
|
|
|
4011
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
4011
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
4012
4012
|
|
|
4013
4013
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
4014
4014
|
|
|
@@ -4018,7 +4018,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
4018
4018
|
|
|
4019
4019
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
4020
4020
|
|
|
4021
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
4021
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
4022
4022
|
|
|
4023
4023
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
4024
4024
|
|
|
@@ -4525,18 +4525,18 @@ var CMIArray = /*#__PURE__*/function (_BaseCMI2) {
|
|
|
4525
4525
|
"use strict";
|
|
4526
4526
|
__webpack_require__.r(__webpack_exports__);
|
|
4527
4527
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4528
|
-
/* harmony export */ "throwReadOnlyError": function() { return /* binding */ throwReadOnlyError; },
|
|
4529
|
-
/* harmony export */ "throwWriteOnlyError": function() { return /* binding */ throwWriteOnlyError; },
|
|
4530
|
-
/* harmony export */ "check12ValidFormat": function() { return /* binding */ check12ValidFormat; },
|
|
4531
|
-
/* harmony export */ "check12ValidRange": function() { return /* binding */ check12ValidRange; },
|
|
4532
4528
|
/* harmony export */ "CMI": function() { return /* binding */ CMI; },
|
|
4533
|
-
/* harmony export */ "
|
|
4534
|
-
/* harmony export */ "CMIStudentPreference": function() { return /* binding */ CMIStudentPreference; },
|
|
4529
|
+
/* harmony export */ "CMIInteractionsCorrectResponsesObject": function() { return /* binding */ CMIInteractionsCorrectResponsesObject; },
|
|
4535
4530
|
/* harmony export */ "CMIInteractionsObject": function() { return /* binding */ CMIInteractionsObject; },
|
|
4536
|
-
/* harmony export */ "CMIObjectivesObject": function() { return /* binding */ CMIObjectivesObject; },
|
|
4537
4531
|
/* harmony export */ "CMIInteractionsObjectivesObject": function() { return /* binding */ CMIInteractionsObjectivesObject; },
|
|
4538
|
-
/* harmony export */ "
|
|
4539
|
-
/* harmony export */ "
|
|
4532
|
+
/* harmony export */ "CMIObjectivesObject": function() { return /* binding */ CMIObjectivesObject; },
|
|
4533
|
+
/* harmony export */ "CMIStudentData": function() { return /* binding */ CMIStudentData; },
|
|
4534
|
+
/* harmony export */ "CMIStudentPreference": function() { return /* binding */ CMIStudentPreference; },
|
|
4535
|
+
/* harmony export */ "NAV": function() { return /* binding */ NAV; },
|
|
4536
|
+
/* harmony export */ "check12ValidFormat": function() { return /* binding */ check12ValidFormat; },
|
|
4537
|
+
/* harmony export */ "check12ValidRange": function() { return /* binding */ check12ValidRange; },
|
|
4538
|
+
/* harmony export */ "throwReadOnlyError": function() { return /* binding */ throwReadOnlyError; },
|
|
4539
|
+
/* harmony export */ "throwWriteOnlyError": function() { return /* binding */ throwWriteOnlyError; }
|
|
4540
4540
|
/* harmony export */ });
|
|
4541
4541
|
/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common */ "./src/cmi/common.js");
|
|
4542
4542
|
/* harmony import */ var _constants_api_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants/api_constants */ "./src/constants/api_constants.js");
|
|
@@ -4552,13 +4552,13 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
4552
4552
|
|
|
4553
4553
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
4554
4554
|
|
|
4555
|
-
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _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; }; } return _get.apply(this, arguments); }
|
|
4555
|
+
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _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; }; } return _get.apply(this, arguments); }
|
|
4556
4556
|
|
|
4557
4557
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
4558
4558
|
|
|
4559
4559
|
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 } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
4560
4560
|
|
|
4561
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
4561
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
4562
4562
|
|
|
4563
4563
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
4564
4564
|
|
|
@@ -4568,7 +4568,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
4568
4568
|
|
|
4569
4569
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
4570
4570
|
|
|
4571
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
4571
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
4572
4572
|
|
|
4573
4573
|
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; }
|
|
4574
4574
|
|
|
@@ -6764,10 +6764,10 @@ var Regex = {
|
|
|
6764
6764
|
"use strict";
|
|
6765
6765
|
__webpack_require__.r(__webpack_exports__);
|
|
6766
6766
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6767
|
-
/* harmony export */ "ValidationError": function() { return /* binding */ ValidationError; },
|
|
6768
|
-
/* harmony export */ "Scorm12ValidationError": function() { return /* binding */ Scorm12ValidationError; },
|
|
6769
6767
|
/* harmony export */ "AICCValidationError": function() { return /* binding */ AICCValidationError; },
|
|
6770
|
-
/* harmony export */ "
|
|
6768
|
+
/* harmony export */ "Scorm12ValidationError": function() { return /* binding */ Scorm12ValidationError; },
|
|
6769
|
+
/* harmony export */ "Scorm2004ValidationError": function() { return /* binding */ Scorm2004ValidationError; },
|
|
6770
|
+
/* harmony export */ "ValidationError": function() { return /* binding */ ValidationError; }
|
|
6771
6771
|
/* harmony export */ });
|
|
6772
6772
|
/* harmony import */ var _constants_api_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants/api_constants */ "./src/constants/api_constants.js");
|
|
6773
6773
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
@@ -6788,15 +6788,15 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
6788
6788
|
|
|
6789
6789
|
function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }
|
|
6790
6790
|
|
|
6791
|
-
function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }
|
|
6791
|
+
function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct.bind(); } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }
|
|
6792
6792
|
|
|
6793
6793
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
6794
6794
|
|
|
6795
6795
|
function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; }
|
|
6796
6796
|
|
|
6797
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
6797
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
6798
6798
|
|
|
6799
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
6799
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
6800
6800
|
|
|
6801
6801
|
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
6802
6802
|
|
|
@@ -7001,19 +7001,19 @@ var Scorm2004ValidationError = /*#__PURE__*/function (_ValidationError3) {
|
|
|
7001
7001
|
"use strict";
|
|
7002
7002
|
__webpack_require__.r(__webpack_exports__);
|
|
7003
7003
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7004
|
-
/* harmony export */ "SECONDS_PER_SECOND": function() { return /* binding */ SECONDS_PER_SECOND; },
|
|
7005
|
-
/* harmony export */ "SECONDS_PER_MINUTE": function() { return /* binding */ SECONDS_PER_MINUTE; },
|
|
7006
|
-
/* harmony export */ "SECONDS_PER_HOUR": function() { return /* binding */ SECONDS_PER_HOUR; },
|
|
7007
7004
|
/* harmony export */ "SECONDS_PER_DAY": function() { return /* binding */ SECONDS_PER_DAY; },
|
|
7005
|
+
/* harmony export */ "SECONDS_PER_HOUR": function() { return /* binding */ SECONDS_PER_HOUR; },
|
|
7006
|
+
/* harmony export */ "SECONDS_PER_MINUTE": function() { return /* binding */ SECONDS_PER_MINUTE; },
|
|
7007
|
+
/* harmony export */ "SECONDS_PER_SECOND": function() { return /* binding */ SECONDS_PER_SECOND; },
|
|
7008
|
+
/* harmony export */ "addHHMMSSTimeStrings": function() { return /* binding */ addHHMMSSTimeStrings; },
|
|
7009
|
+
/* harmony export */ "addTwoDurations": function() { return /* binding */ addTwoDurations; },
|
|
7010
|
+
/* harmony export */ "countDecimals": function() { return /* binding */ countDecimals; },
|
|
7011
|
+
/* harmony export */ "flatten": function() { return /* binding */ flatten; },
|
|
7012
|
+
/* harmony export */ "getDurationAsSeconds": function() { return /* binding */ getDurationAsSeconds; },
|
|
7008
7013
|
/* harmony export */ "getSecondsAsHHMMSS": function() { return /* binding */ getSecondsAsHHMMSS; },
|
|
7009
7014
|
/* harmony export */ "getSecondsAsISODuration": function() { return /* binding */ getSecondsAsISODuration; },
|
|
7010
7015
|
/* harmony export */ "getTimeAsSeconds": function() { return /* binding */ getTimeAsSeconds; },
|
|
7011
|
-
/* harmony export */ "
|
|
7012
|
-
/* harmony export */ "addTwoDurations": function() { return /* binding */ addTwoDurations; },
|
|
7013
|
-
/* harmony export */ "addHHMMSSTimeStrings": function() { return /* binding */ addHHMMSSTimeStrings; },
|
|
7014
|
-
/* harmony export */ "flatten": function() { return /* binding */ flatten; },
|
|
7015
|
-
/* harmony export */ "unflatten": function() { return /* binding */ unflatten; },
|
|
7016
|
-
/* harmony export */ "countDecimals": function() { return /* binding */ countDecimals; }
|
|
7016
|
+
/* harmony export */ "unflatten": function() { return /* binding */ unflatten; }
|
|
7017
7017
|
/* harmony export */ });
|
|
7018
7018
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
7019
7019
|
|