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/scorm-again.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
|
|
|
@@ -2392,7 +2392,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
2392
2392
|
|
|
2393
2393
|
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); }
|
|
2394
2394
|
|
|
2395
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
2395
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
2396
2396
|
|
|
2397
2397
|
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); }; }
|
|
2398
2398
|
|
|
@@ -2402,7 +2402,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
2402
2402
|
|
|
2403
2403
|
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; } }
|
|
2404
2404
|
|
|
2405
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
2405
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
2406
2406
|
|
|
2407
2407
|
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; }
|
|
2408
2408
|
|
|
@@ -3057,14 +3057,14 @@ var Scorm2004API = /*#__PURE__*/function (_BaseAPI) {
|
|
|
3057
3057
|
__webpack_require__.r(__webpack_exports__);
|
|
3058
3058
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3059
3059
|
/* harmony export */ "CMI": function() { return /* binding */ CMI; },
|
|
3060
|
-
/* harmony export */ "
|
|
3060
|
+
/* harmony export */ "CMIAttemptRecords": function() { return /* binding */ CMIAttemptRecords; },
|
|
3061
|
+
/* harmony export */ "CMIAttemptRecordsObject": function() { return /* binding */ CMIAttemptRecordsObject; },
|
|
3062
|
+
/* harmony export */ "CMIEvaluationCommentsObject": function() { return /* binding */ CMIEvaluationCommentsObject; },
|
|
3061
3063
|
/* harmony export */ "CMIPaths": function() { return /* binding */ CMIPaths; },
|
|
3062
3064
|
/* harmony export */ "CMIPathsObject": function() { return /* binding */ CMIPathsObject; },
|
|
3065
|
+
/* harmony export */ "CMIStudentDemographics": function() { return /* binding */ CMIStudentDemographics; },
|
|
3063
3066
|
/* harmony export */ "CMITries": function() { return /* binding */ CMITries; },
|
|
3064
|
-
/* harmony export */ "CMITriesObject": function() { return /* binding */ CMITriesObject; }
|
|
3065
|
-
/* harmony export */ "CMIAttemptRecords": function() { return /* binding */ CMIAttemptRecords; },
|
|
3066
|
-
/* harmony export */ "CMIAttemptRecordsObject": function() { return /* binding */ CMIAttemptRecordsObject; },
|
|
3067
|
-
/* harmony export */ "CMIEvaluationCommentsObject": function() { return /* binding */ CMIEvaluationCommentsObject; }
|
|
3067
|
+
/* harmony export */ "CMITriesObject": function() { return /* binding */ CMITriesObject; }
|
|
3068
3068
|
/* harmony export */ });
|
|
3069
3069
|
/* harmony import */ var _scorm12_cmi__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./scorm12_cmi */ "./src/cmi/scorm12_cmi.js");
|
|
3070
3070
|
/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./common */ "./src/cmi/common.js");
|
|
@@ -3094,13 +3094,13 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
3094
3094
|
|
|
3095
3095
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
3096
3096
|
|
|
3097
|
-
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); }
|
|
3097
|
+
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); }
|
|
3098
3098
|
|
|
3099
3099
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
3100
3100
|
|
|
3101
3101
|
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); }
|
|
3102
3102
|
|
|
3103
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
3103
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
3104
3104
|
|
|
3105
3105
|
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); }; }
|
|
3106
3106
|
|
|
@@ -3110,7 +3110,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
3110
3110
|
|
|
3111
3111
|
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; } }
|
|
3112
3112
|
|
|
3113
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
3113
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
3114
3114
|
|
|
3115
3115
|
|
|
3116
3116
|
|
|
@@ -4683,11 +4683,11 @@ var CMIEvaluationCommentsObject = /*#__PURE__*/function (_BaseCMI6) {
|
|
|
4683
4683
|
"use strict";
|
|
4684
4684
|
__webpack_require__.r(__webpack_exports__);
|
|
4685
4685
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4686
|
-
/* harmony export */ "checkValidFormat": function() { return /* binding */ checkValidFormat; },
|
|
4687
|
-
/* harmony export */ "checkValidRange": function() { return /* binding */ checkValidRange; },
|
|
4688
4686
|
/* harmony export */ "BaseCMI": function() { return /* binding */ BaseCMI; },
|
|
4687
|
+
/* harmony export */ "CMIArray": function() { return /* binding */ CMIArray; },
|
|
4689
4688
|
/* harmony export */ "CMIScore": function() { return /* binding */ CMIScore; },
|
|
4690
|
-
/* harmony export */ "
|
|
4689
|
+
/* harmony export */ "checkValidFormat": function() { return /* binding */ checkValidFormat; },
|
|
4690
|
+
/* harmony export */ "checkValidRange": function() { return /* binding */ checkValidRange; }
|
|
4691
4691
|
/* harmony export */ });
|
|
4692
4692
|
/* harmony import */ var _constants_api_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants/api_constants */ "./src/constants/api_constants.js");
|
|
4693
4693
|
/* harmony import */ var _constants_error_codes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants/error_codes */ "./src/constants/error_codes.js");
|
|
@@ -4696,7 +4696,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4696
4696
|
|
|
4697
4697
|
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); }
|
|
4698
4698
|
|
|
4699
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
4699
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
4700
4700
|
|
|
4701
4701
|
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); }; }
|
|
4702
4702
|
|
|
@@ -4706,7 +4706,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
4706
4706
|
|
|
4707
4707
|
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; } }
|
|
4708
4708
|
|
|
4709
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
4709
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
4710
4710
|
|
|
4711
4711
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
4712
4712
|
|
|
@@ -5213,18 +5213,18 @@ var CMIArray = /*#__PURE__*/function (_BaseCMI2) {
|
|
|
5213
5213
|
"use strict";
|
|
5214
5214
|
__webpack_require__.r(__webpack_exports__);
|
|
5215
5215
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5216
|
-
/* harmony export */ "throwReadOnlyError": function() { return /* binding */ throwReadOnlyError; },
|
|
5217
|
-
/* harmony export */ "throwWriteOnlyError": function() { return /* binding */ throwWriteOnlyError; },
|
|
5218
|
-
/* harmony export */ "check12ValidFormat": function() { return /* binding */ check12ValidFormat; },
|
|
5219
|
-
/* harmony export */ "check12ValidRange": function() { return /* binding */ check12ValidRange; },
|
|
5220
5216
|
/* harmony export */ "CMI": function() { return /* binding */ CMI; },
|
|
5221
|
-
/* harmony export */ "
|
|
5222
|
-
/* harmony export */ "CMIStudentPreference": function() { return /* binding */ CMIStudentPreference; },
|
|
5217
|
+
/* harmony export */ "CMIInteractionsCorrectResponsesObject": function() { return /* binding */ CMIInteractionsCorrectResponsesObject; },
|
|
5223
5218
|
/* harmony export */ "CMIInteractionsObject": function() { return /* binding */ CMIInteractionsObject; },
|
|
5224
|
-
/* harmony export */ "CMIObjectivesObject": function() { return /* binding */ CMIObjectivesObject; },
|
|
5225
5219
|
/* harmony export */ "CMIInteractionsObjectivesObject": function() { return /* binding */ CMIInteractionsObjectivesObject; },
|
|
5226
|
-
/* harmony export */ "
|
|
5227
|
-
/* harmony export */ "
|
|
5220
|
+
/* harmony export */ "CMIObjectivesObject": function() { return /* binding */ CMIObjectivesObject; },
|
|
5221
|
+
/* harmony export */ "CMIStudentData": function() { return /* binding */ CMIStudentData; },
|
|
5222
|
+
/* harmony export */ "CMIStudentPreference": function() { return /* binding */ CMIStudentPreference; },
|
|
5223
|
+
/* harmony export */ "NAV": function() { return /* binding */ NAV; },
|
|
5224
|
+
/* harmony export */ "check12ValidFormat": function() { return /* binding */ check12ValidFormat; },
|
|
5225
|
+
/* harmony export */ "check12ValidRange": function() { return /* binding */ check12ValidRange; },
|
|
5226
|
+
/* harmony export */ "throwReadOnlyError": function() { return /* binding */ throwReadOnlyError; },
|
|
5227
|
+
/* harmony export */ "throwWriteOnlyError": function() { return /* binding */ throwWriteOnlyError; }
|
|
5228
5228
|
/* harmony export */ });
|
|
5229
5229
|
/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common */ "./src/cmi/common.js");
|
|
5230
5230
|
/* harmony import */ var _constants_api_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants/api_constants */ "./src/constants/api_constants.js");
|
|
@@ -5240,13 +5240,13 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
5240
5240
|
|
|
5241
5241
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
5242
5242
|
|
|
5243
|
-
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); }
|
|
5243
|
+
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); }
|
|
5244
5244
|
|
|
5245
5245
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
5246
5246
|
|
|
5247
5247
|
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); }
|
|
5248
5248
|
|
|
5249
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
5249
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
5250
5250
|
|
|
5251
5251
|
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); }; }
|
|
5252
5252
|
|
|
@@ -5256,7 +5256,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
5256
5256
|
|
|
5257
5257
|
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; } }
|
|
5258
5258
|
|
|
5259
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
5259
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
5260
5260
|
|
|
5261
5261
|
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; }
|
|
5262
5262
|
|
|
@@ -7023,13 +7023,13 @@ var NAV = /*#__PURE__*/function (_BaseCMI9) {
|
|
|
7023
7023
|
"use strict";
|
|
7024
7024
|
__webpack_require__.r(__webpack_exports__);
|
|
7025
7025
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
7026
|
+
/* harmony export */ "ADL": function() { return /* binding */ ADL; },
|
|
7026
7027
|
/* harmony export */ "CMI": function() { return /* binding */ CMI; },
|
|
7027
|
-
/* harmony export */ "CMIInteractionsObject": function() { return /* binding */ CMIInteractionsObject; },
|
|
7028
|
-
/* harmony export */ "CMIObjectivesObject": function() { return /* binding */ CMIObjectivesObject; },
|
|
7029
7028
|
/* harmony export */ "CMICommentsObject": function() { return /* binding */ CMICommentsObject; },
|
|
7030
|
-
/* harmony export */ "CMIInteractionsObjectivesObject": function() { return /* binding */ CMIInteractionsObjectivesObject; },
|
|
7031
7029
|
/* harmony export */ "CMIInteractionsCorrectResponsesObject": function() { return /* binding */ CMIInteractionsCorrectResponsesObject; },
|
|
7032
|
-
/* harmony export */ "
|
|
7030
|
+
/* harmony export */ "CMIInteractionsObject": function() { return /* binding */ CMIInteractionsObject; },
|
|
7031
|
+
/* harmony export */ "CMIInteractionsObjectivesObject": function() { return /* binding */ CMIInteractionsObjectivesObject; },
|
|
7032
|
+
/* harmony export */ "CMIObjectivesObject": function() { return /* binding */ CMIObjectivesObject; }
|
|
7033
7033
|
/* harmony export */ });
|
|
7034
7034
|
/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common */ "./src/cmi/common.js");
|
|
7035
7035
|
/* harmony import */ var _constants_api_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants/api_constants */ "./src/constants/api_constants.js");
|
|
@@ -7048,13 +7048,13 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
7048
7048
|
|
|
7049
7049
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
7050
7050
|
|
|
7051
|
-
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); }
|
|
7051
|
+
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); }
|
|
7052
7052
|
|
|
7053
7053
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
7054
7054
|
|
|
7055
7055
|
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); }
|
|
7056
7056
|
|
|
7057
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
7057
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
7058
7058
|
|
|
7059
7059
|
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); }; }
|
|
7060
7060
|
|
|
@@ -7064,7 +7064,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
7064
7064
|
|
|
7065
7065
|
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; } }
|
|
7066
7066
|
|
|
7067
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
7067
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
7068
7068
|
|
|
7069
7069
|
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
7070
7070
|
|
|
@@ -10366,10 +10366,10 @@ var Responses = {
|
|
|
10366
10366
|
"use strict";
|
|
10367
10367
|
__webpack_require__.r(__webpack_exports__);
|
|
10368
10368
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10369
|
-
/* harmony export */ "ValidationError": function() { return /* binding */ ValidationError; },
|
|
10370
|
-
/* harmony export */ "Scorm12ValidationError": function() { return /* binding */ Scorm12ValidationError; },
|
|
10371
10369
|
/* harmony export */ "AICCValidationError": function() { return /* binding */ AICCValidationError; },
|
|
10372
|
-
/* harmony export */ "
|
|
10370
|
+
/* harmony export */ "Scorm12ValidationError": function() { return /* binding */ Scorm12ValidationError; },
|
|
10371
|
+
/* harmony export */ "Scorm2004ValidationError": function() { return /* binding */ Scorm2004ValidationError; },
|
|
10372
|
+
/* harmony export */ "ValidationError": function() { return /* binding */ ValidationError; }
|
|
10373
10373
|
/* harmony export */ });
|
|
10374
10374
|
/* harmony import */ var _constants_api_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants/api_constants */ "./src/constants/api_constants.js");
|
|
10375
10375
|
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); }
|
|
@@ -10390,15 +10390,15 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
10390
10390
|
|
|
10391
10391
|
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); }
|
|
10392
10392
|
|
|
10393
|
-
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); }
|
|
10393
|
+
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); }
|
|
10394
10394
|
|
|
10395
10395
|
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; } }
|
|
10396
10396
|
|
|
10397
10397
|
function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; }
|
|
10398
10398
|
|
|
10399
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
10399
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
10400
10400
|
|
|
10401
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10401
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
10402
10402
|
|
|
10403
10403
|
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
10404
10404
|
|
|
@@ -10603,19 +10603,19 @@ var Scorm2004ValidationError = /*#__PURE__*/function (_ValidationError3) {
|
|
|
10603
10603
|
"use strict";
|
|
10604
10604
|
__webpack_require__.r(__webpack_exports__);
|
|
10605
10605
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10606
|
-
/* harmony export */ "SECONDS_PER_SECOND": function() { return /* binding */ SECONDS_PER_SECOND; },
|
|
10607
|
-
/* harmony export */ "SECONDS_PER_MINUTE": function() { return /* binding */ SECONDS_PER_MINUTE; },
|
|
10608
|
-
/* harmony export */ "SECONDS_PER_HOUR": function() { return /* binding */ SECONDS_PER_HOUR; },
|
|
10609
10606
|
/* harmony export */ "SECONDS_PER_DAY": function() { return /* binding */ SECONDS_PER_DAY; },
|
|
10607
|
+
/* harmony export */ "SECONDS_PER_HOUR": function() { return /* binding */ SECONDS_PER_HOUR; },
|
|
10608
|
+
/* harmony export */ "SECONDS_PER_MINUTE": function() { return /* binding */ SECONDS_PER_MINUTE; },
|
|
10609
|
+
/* harmony export */ "SECONDS_PER_SECOND": function() { return /* binding */ SECONDS_PER_SECOND; },
|
|
10610
|
+
/* harmony export */ "addHHMMSSTimeStrings": function() { return /* binding */ addHHMMSSTimeStrings; },
|
|
10611
|
+
/* harmony export */ "addTwoDurations": function() { return /* binding */ addTwoDurations; },
|
|
10612
|
+
/* harmony export */ "countDecimals": function() { return /* binding */ countDecimals; },
|
|
10613
|
+
/* harmony export */ "flatten": function() { return /* binding */ flatten; },
|
|
10614
|
+
/* harmony export */ "getDurationAsSeconds": function() { return /* binding */ getDurationAsSeconds; },
|
|
10610
10615
|
/* harmony export */ "getSecondsAsHHMMSS": function() { return /* binding */ getSecondsAsHHMMSS; },
|
|
10611
10616
|
/* harmony export */ "getSecondsAsISODuration": function() { return /* binding */ getSecondsAsISODuration; },
|
|
10612
10617
|
/* harmony export */ "getTimeAsSeconds": function() { return /* binding */ getTimeAsSeconds; },
|
|
10613
|
-
/* harmony export */ "
|
|
10614
|
-
/* harmony export */ "addTwoDurations": function() { return /* binding */ addTwoDurations; },
|
|
10615
|
-
/* harmony export */ "addHHMMSSTimeStrings": function() { return /* binding */ addHHMMSSTimeStrings; },
|
|
10616
|
-
/* harmony export */ "flatten": function() { return /* binding */ flatten; },
|
|
10617
|
-
/* harmony export */ "unflatten": function() { return /* binding */ unflatten; },
|
|
10618
|
-
/* harmony export */ "countDecimals": function() { return /* binding */ countDecimals; }
|
|
10618
|
+
/* harmony export */ "unflatten": function() { return /* binding */ unflatten; }
|
|
10619
10619
|
/* harmony export */ });
|
|
10620
10620
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
10621
10621
|
|