scorm-again 3.1.5 → 3.2.0
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/README.md +3 -1
- package/dist/cross-frame-api.js +6 -13
- package/dist/cross-frame-api.js.map +1 -1
- package/dist/cross-frame-api.min.js +1 -1
- package/dist/cross-frame-lms.js +2 -6
- package/dist/cross-frame-lms.js.map +1 -1
- package/dist/esm/scorm-again.js +48 -11
- package/dist/esm/scorm-again.js.map +1 -1
- package/dist/esm/scorm-again.min.js +1 -1
- package/dist/esm/scorm-again.min.js.map +1 -1
- package/dist/esm/scorm12.js +46 -10
- package/dist/esm/scorm12.js.map +1 -1
- package/dist/esm/scorm12.min.js +1 -1
- package/dist/esm/scorm12.min.js.map +1 -1
- package/dist/esm/scorm2004.js +48 -11
- package/dist/esm/scorm2004.js.map +1 -1
- package/dist/esm/scorm2004.min.js +1 -1
- package/dist/esm/scorm2004.min.js.map +1 -1
- package/dist/scorm-again.js +697 -1070
- package/dist/scorm-again.js.map +1 -1
- package/dist/scorm-again.min.js +1 -1
- package/dist/scorm12.js +293 -406
- package/dist/scorm12.js.map +1 -1
- package/dist/scorm12.min.js +1 -1
- package/dist/scorm2004.js +597 -911
- package/dist/scorm2004.js.map +1 -1
- package/dist/scorm2004.min.js +1 -1
- package/dist/types/BaseAPI.d.ts +1 -1
- package/dist/types/interfaces/services.d.ts +1 -1
- package/dist/types/services/AsynchronousHttpService.d.ts +1 -0
- package/dist/types/services/ErrorHandlingService.d.ts +4 -4
- package/dist/types/services/SynchronousHttpService.d.ts +1 -0
- package/dist/types/types/api_types.d.ts +4 -0
- package/dist/types/utilities/core.d.ts +2 -0
- package/package.json +4 -4
package/dist/scorm-again.js
CHANGED
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
if (Array.isArray(arr)) return _array_like_to_array$h(arr);
|
|
14
14
|
}
|
|
15
15
|
function _iterable_to_array$b(iter) {
|
|
16
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
16
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
17
|
+
return Array.from(iter);
|
|
18
|
+
}
|
|
17
19
|
}
|
|
18
20
|
function _iterable_to_array_limit$7(arr, i) {
|
|
19
21
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
@@ -40,10 +42,10 @@
|
|
|
40
42
|
return _arr;
|
|
41
43
|
}
|
|
42
44
|
function _non_iterable_rest$7() {
|
|
43
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
45
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
44
46
|
}
|
|
45
47
|
function _non_iterable_spread$b() {
|
|
46
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
48
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
47
49
|
}
|
|
48
50
|
function _sliced_to_array$7(arr, i) {
|
|
49
51
|
return _array_with_holes$7(arr) || _iterable_to_array_limit$7(arr, i) || _unsupported_iterable_to_array$h(arr, i) || _non_iterable_rest$7();
|
|
@@ -63,6 +65,24 @@
|
|
|
63
65
|
var SECONDS_PER_MINUTE = 60;
|
|
64
66
|
var SECONDS_PER_HOUR = 60 * SECONDS_PER_MINUTE;
|
|
65
67
|
var SECONDS_PER_DAY = 24 * SECONDS_PER_HOUR;
|
|
68
|
+
var CORS_SAFELISTED_CONTENT_TYPES = [
|
|
69
|
+
"text/plain",
|
|
70
|
+
"application/x-www-form-urlencoded",
|
|
71
|
+
"multipart/form-data"
|
|
72
|
+
];
|
|
73
|
+
function isCorsSafelistedContentType(contentType) {
|
|
74
|
+
var _split_;
|
|
75
|
+
var essence = ((_split_ = (contentType || "").split(";")[0]) !== null && _split_ !== void 0 ? _split_ : "").trim().toLowerCase();
|
|
76
|
+
return CORS_SAFELISTED_CONTENT_TYPES.includes(essence);
|
|
77
|
+
}
|
|
78
|
+
function isCrossOriginUrl(url) {
|
|
79
|
+
if (typeof location === "undefined" || !location || !location.origin) return false;
|
|
80
|
+
try {
|
|
81
|
+
return new URL(url, location.href).origin !== location.origin;
|
|
82
|
+
} catch (unused) {
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
66
86
|
var designations = {
|
|
67
87
|
D: SECONDS_PER_DAY,
|
|
68
88
|
H: SECONDS_PER_HOUR,
|
|
@@ -357,9 +377,7 @@
|
|
|
357
377
|
};
|
|
358
378
|
|
|
359
379
|
function _assert_this_initialized$y(self) {
|
|
360
|
-
if (self === void 0)
|
|
361
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
362
|
-
}
|
|
380
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
363
381
|
return self;
|
|
364
382
|
}
|
|
365
383
|
function _call_super$y(_this, derived, args) {
|
|
@@ -367,9 +385,7 @@
|
|
|
367
385
|
return _possible_constructor_return$y(_this, _is_native_reflect_construct$y() ? Reflect.construct(derived, args || [], _get_prototype_of$y(_this).constructor) : derived.apply(_this, args));
|
|
368
386
|
}
|
|
369
387
|
function _class_call_check$1k(instance, Constructor) {
|
|
370
|
-
if (!(instance instanceof Constructor))
|
|
371
|
-
throw new TypeError("Cannot call a class as a function");
|
|
372
|
-
}
|
|
388
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
373
389
|
}
|
|
374
390
|
function _defineProperties$1h(target, props) {
|
|
375
391
|
for(var i = 0; i < props.length; i++){
|
|
@@ -403,10 +419,16 @@
|
|
|
403
419
|
});
|
|
404
420
|
if (superClass) _set_prototype_of$y(subClass, superClass);
|
|
405
421
|
}
|
|
422
|
+
function _is_native_reflect_construct$y() {
|
|
423
|
+
try {
|
|
424
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
425
|
+
} catch (_) {}
|
|
426
|
+
return (_is_native_reflect_construct$y = function() {
|
|
427
|
+
return !!result;
|
|
428
|
+
})();
|
|
429
|
+
}
|
|
406
430
|
function _possible_constructor_return$y(self, call) {
|
|
407
|
-
if (call && (_type_of$1g(call) === "object" || typeof call === "function"))
|
|
408
|
-
return call;
|
|
409
|
-
}
|
|
431
|
+
if (call && (_type_of$1g(call) === "object" || typeof call === "function")) return call;
|
|
410
432
|
return _assert_this_initialized$y(self);
|
|
411
433
|
}
|
|
412
434
|
function _set_prototype_of$y(o, p) {
|
|
@@ -420,14 +442,6 @@
|
|
|
420
442
|
"@swc/helpers - typeof";
|
|
421
443
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
422
444
|
}
|
|
423
|
-
function _is_native_reflect_construct$y() {
|
|
424
|
-
try {
|
|
425
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
426
|
-
} catch (_) {}
|
|
427
|
-
return (_is_native_reflect_construct$y = function() {
|
|
428
|
-
return !!result;
|
|
429
|
-
})();
|
|
430
|
-
}
|
|
431
445
|
var __defProp$1d = Object.defineProperty;
|
|
432
446
|
var __defNormalProp$1d = function __defNormalProp(obj, key, value) {
|
|
433
447
|
return key in obj ? __defProp$1d(obj, key, {
|
|
@@ -499,7 +513,7 @@
|
|
|
499
513
|
*/ key: "setStartTime",
|
|
500
514
|
value: function setStartTime() {
|
|
501
515
|
if (this._start_time === void 0) {
|
|
502
|
-
this._start_time = /* @__PURE__ */ new Date().getTime();
|
|
516
|
+
this._start_time = (/* @__PURE__ */ new Date()).getTime();
|
|
503
517
|
} else {
|
|
504
518
|
throw new Error("Start time has already been set.");
|
|
505
519
|
}
|
|
@@ -510,9 +524,7 @@
|
|
|
510
524
|
}(BaseCMI);
|
|
511
525
|
|
|
512
526
|
function _assert_this_initialized$x(self) {
|
|
513
|
-
if (self === void 0)
|
|
514
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
515
|
-
}
|
|
527
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
516
528
|
return self;
|
|
517
529
|
}
|
|
518
530
|
function _call_super$x(_this, derived, args) {
|
|
@@ -520,14 +532,11 @@
|
|
|
520
532
|
return _possible_constructor_return$x(_this, _is_native_reflect_construct$x() ? Reflect.construct(derived, args || [], _get_prototype_of$x(_this).constructor) : derived.apply(_this, args));
|
|
521
533
|
}
|
|
522
534
|
function _class_call_check$1j(instance, Constructor) {
|
|
523
|
-
if (!(instance instanceof Constructor))
|
|
524
|
-
throw new TypeError("Cannot call a class as a function");
|
|
525
|
-
}
|
|
535
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
526
536
|
}
|
|
527
537
|
function _construct(Parent, args, Class) {
|
|
528
|
-
if (_is_native_reflect_construct$x())
|
|
529
|
-
|
|
530
|
-
} else {
|
|
538
|
+
if (_is_native_reflect_construct$x()) _construct = Reflect.construct;
|
|
539
|
+
else {
|
|
531
540
|
_construct = function construct(Parent, args, Class) {
|
|
532
541
|
var a = [
|
|
533
542
|
null
|
|
@@ -576,10 +585,16 @@
|
|
|
576
585
|
function _is_native_function(fn) {
|
|
577
586
|
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
578
587
|
}
|
|
588
|
+
function _is_native_reflect_construct$x() {
|
|
589
|
+
try {
|
|
590
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
591
|
+
} catch (_) {}
|
|
592
|
+
return (_is_native_reflect_construct$x = function() {
|
|
593
|
+
return !!result;
|
|
594
|
+
})();
|
|
595
|
+
}
|
|
579
596
|
function _possible_constructor_return$x(self, call) {
|
|
580
|
-
if (call && (_type_of$1f(call) === "object" || typeof call === "function"))
|
|
581
|
-
return call;
|
|
582
|
-
}
|
|
597
|
+
if (call && (_type_of$1f(call) === "object" || typeof call === "function")) return call;
|
|
583
598
|
return _assert_this_initialized$x(self);
|
|
584
599
|
}
|
|
585
600
|
function _set_prototype_of$x(o, p) {
|
|
@@ -595,11 +610,9 @@
|
|
|
595
610
|
}
|
|
596
611
|
function _wrap_native_super(Class) {
|
|
597
612
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
598
|
-
_wrap_native_super = function
|
|
613
|
+
_wrap_native_super = function(Class) {
|
|
599
614
|
if (Class === null || !_is_native_function(Class)) return Class;
|
|
600
|
-
if (typeof Class !== "function")
|
|
601
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
602
|
-
}
|
|
615
|
+
if (typeof Class !== "function") throw new TypeError("Super expression must either be null or a function");
|
|
603
616
|
if (typeof _cache !== "undefined") {
|
|
604
617
|
if (_cache.has(Class)) return _cache.get(Class);
|
|
605
618
|
_cache.set(Class, Wrapper);
|
|
@@ -619,14 +632,6 @@
|
|
|
619
632
|
};
|
|
620
633
|
return _wrap_native_super(Class);
|
|
621
634
|
}
|
|
622
|
-
function _is_native_reflect_construct$x() {
|
|
623
|
-
try {
|
|
624
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
625
|
-
} catch (_) {}
|
|
626
|
-
return (_is_native_reflect_construct$x = function() {
|
|
627
|
-
return !!result;
|
|
628
|
-
})();
|
|
629
|
-
}
|
|
630
635
|
var __defProp$1c = Object.defineProperty;
|
|
631
636
|
var __defNormalProp$1c = function __defNormalProp(obj, key, value) {
|
|
632
637
|
return key in obj ? __defProp$1c(obj, key, {
|
|
@@ -898,9 +903,7 @@
|
|
|
898
903
|
};
|
|
899
904
|
|
|
900
905
|
function _assert_this_initialized$w(self) {
|
|
901
|
-
if (self === void 0)
|
|
902
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
903
|
-
}
|
|
906
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
904
907
|
return self;
|
|
905
908
|
}
|
|
906
909
|
function _call_super$w(_this, derived, args) {
|
|
@@ -908,9 +911,7 @@
|
|
|
908
911
|
return _possible_constructor_return$w(_this, _is_native_reflect_construct$w() ? Reflect.construct(derived, args || [], _get_prototype_of$w(_this).constructor) : derived.apply(_this, args));
|
|
909
912
|
}
|
|
910
913
|
function _class_call_check$1i(instance, Constructor) {
|
|
911
|
-
if (!(instance instanceof Constructor))
|
|
912
|
-
throw new TypeError("Cannot call a class as a function");
|
|
913
|
-
}
|
|
914
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
914
915
|
}
|
|
915
916
|
function _get_prototype_of$w(o) {
|
|
916
917
|
_get_prototype_of$w = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
@@ -931,10 +932,16 @@
|
|
|
931
932
|
});
|
|
932
933
|
if (superClass) _set_prototype_of$w(subClass, superClass);
|
|
933
934
|
}
|
|
935
|
+
function _is_native_reflect_construct$w() {
|
|
936
|
+
try {
|
|
937
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
938
|
+
} catch (_) {}
|
|
939
|
+
return (_is_native_reflect_construct$w = function() {
|
|
940
|
+
return !!result;
|
|
941
|
+
})();
|
|
942
|
+
}
|
|
934
943
|
function _possible_constructor_return$w(self, call) {
|
|
935
|
-
if (call && (_type_of$1e(call) === "object" || typeof call === "function"))
|
|
936
|
-
return call;
|
|
937
|
-
}
|
|
944
|
+
if (call && (_type_of$1e(call) === "object" || typeof call === "function")) return call;
|
|
938
945
|
return _assert_this_initialized$w(self);
|
|
939
946
|
}
|
|
940
947
|
function _set_prototype_of$w(o, p) {
|
|
@@ -948,14 +955,6 @@
|
|
|
948
955
|
"@swc/helpers - typeof";
|
|
949
956
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
950
957
|
}
|
|
951
|
-
function _is_native_reflect_construct$w() {
|
|
952
|
-
try {
|
|
953
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
954
|
-
} catch (_) {}
|
|
955
|
-
return (_is_native_reflect_construct$w = function() {
|
|
956
|
-
return !!result;
|
|
957
|
-
})();
|
|
958
|
-
}
|
|
959
958
|
var scorm12_errors$1 = scorm12_constants.error_descriptions;
|
|
960
959
|
var Scorm12ValidationError = /*#__PURE__*/ function(ValidationError) {
|
|
961
960
|
_inherits$w(Scorm12ValidationError, ValidationError);
|
|
@@ -987,9 +986,7 @@
|
|
|
987
986
|
}(ValidationError);
|
|
988
987
|
|
|
989
988
|
function _assert_this_initialized$v(self) {
|
|
990
|
-
if (self === void 0)
|
|
991
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
992
|
-
}
|
|
989
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
993
990
|
return self;
|
|
994
991
|
}
|
|
995
992
|
function _call_super$v(_this, derived, args) {
|
|
@@ -997,9 +994,7 @@
|
|
|
997
994
|
return _possible_constructor_return$v(_this, _is_native_reflect_construct$v() ? Reflect.construct(derived, args || [], _get_prototype_of$v(_this).constructor) : derived.apply(_this, args));
|
|
998
995
|
}
|
|
999
996
|
function _class_call_check$1h(instance, Constructor) {
|
|
1000
|
-
if (!(instance instanceof Constructor))
|
|
1001
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1002
|
-
}
|
|
997
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
1003
998
|
}
|
|
1004
999
|
function _get_prototype_of$v(o) {
|
|
1005
1000
|
_get_prototype_of$v = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
@@ -1020,10 +1015,16 @@
|
|
|
1020
1015
|
});
|
|
1021
1016
|
if (superClass) _set_prototype_of$v(subClass, superClass);
|
|
1022
1017
|
}
|
|
1018
|
+
function _is_native_reflect_construct$v() {
|
|
1019
|
+
try {
|
|
1020
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
1021
|
+
} catch (_) {}
|
|
1022
|
+
return (_is_native_reflect_construct$v = function() {
|
|
1023
|
+
return !!result;
|
|
1024
|
+
})();
|
|
1025
|
+
}
|
|
1023
1026
|
function _possible_constructor_return$v(self, call) {
|
|
1024
|
-
if (call && (_type_of$1d(call) === "object" || typeof call === "function"))
|
|
1025
|
-
return call;
|
|
1026
|
-
}
|
|
1027
|
+
if (call && (_type_of$1d(call) === "object" || typeof call === "function")) return call;
|
|
1027
1028
|
return _assert_this_initialized$v(self);
|
|
1028
1029
|
}
|
|
1029
1030
|
function _set_prototype_of$v(o, p) {
|
|
@@ -1037,14 +1038,6 @@
|
|
|
1037
1038
|
"@swc/helpers - typeof";
|
|
1038
1039
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1039
1040
|
}
|
|
1040
|
-
function _is_native_reflect_construct$v() {
|
|
1041
|
-
try {
|
|
1042
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
1043
|
-
} catch (_) {}
|
|
1044
|
-
return (_is_native_reflect_construct$v = function() {
|
|
1045
|
-
return !!result;
|
|
1046
|
-
})();
|
|
1047
|
-
}
|
|
1048
1041
|
var scorm2004_errors$1 = scorm2004_constants.error_descriptions;
|
|
1049
1042
|
var Scorm2004ValidationError = /*#__PURE__*/ function(ValidationError) {
|
|
1050
1043
|
_inherits$v(Scorm2004ValidationError, ValidationError);
|
|
@@ -1082,9 +1075,7 @@
|
|
|
1082
1075
|
configurable: true,
|
|
1083
1076
|
writable: true
|
|
1084
1077
|
});
|
|
1085
|
-
} else
|
|
1086
|
-
obj[key] = value;
|
|
1087
|
-
}
|
|
1078
|
+
} else obj[key] = value;
|
|
1088
1079
|
return obj;
|
|
1089
1080
|
}
|
|
1090
1081
|
function _object_spread$g(target) {
|
|
@@ -1112,9 +1103,8 @@
|
|
|
1112
1103
|
}
|
|
1113
1104
|
function _object_spread_props$5(target, source) {
|
|
1114
1105
|
source = source != null ? source : {};
|
|
1115
|
-
if (Object.getOwnPropertyDescriptors)
|
|
1116
|
-
|
|
1117
|
-
} else {
|
|
1106
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1107
|
+
else {
|
|
1118
1108
|
ownKeys$5(Object(source)).forEach(function(key) {
|
|
1119
1109
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1120
1110
|
});
|
|
@@ -1200,9 +1190,7 @@
|
|
|
1200
1190
|
});
|
|
1201
1191
|
|
|
1202
1192
|
function _assert_this_initialized$u(self) {
|
|
1203
|
-
if (self === void 0)
|
|
1204
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1205
|
-
}
|
|
1193
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1206
1194
|
return self;
|
|
1207
1195
|
}
|
|
1208
1196
|
function _call_super$u(_this, derived, args) {
|
|
@@ -1210,9 +1198,7 @@
|
|
|
1210
1198
|
return _possible_constructor_return$u(_this, _is_native_reflect_construct$u() ? Reflect.construct(derived, args || [], _get_prototype_of$u(_this).constructor) : derived.apply(_this, args));
|
|
1211
1199
|
}
|
|
1212
1200
|
function _class_call_check$1g(instance, Constructor) {
|
|
1213
|
-
if (!(instance instanceof Constructor))
|
|
1214
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1215
|
-
}
|
|
1201
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
1216
1202
|
}
|
|
1217
1203
|
function _defineProperties$1f(target, props) {
|
|
1218
1204
|
for(var i = 0; i < props.length; i++){
|
|
@@ -1246,10 +1232,16 @@
|
|
|
1246
1232
|
});
|
|
1247
1233
|
if (superClass) _set_prototype_of$u(subClass, superClass);
|
|
1248
1234
|
}
|
|
1235
|
+
function _is_native_reflect_construct$u() {
|
|
1236
|
+
try {
|
|
1237
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
1238
|
+
} catch (_) {}
|
|
1239
|
+
return (_is_native_reflect_construct$u = function() {
|
|
1240
|
+
return !!result;
|
|
1241
|
+
})();
|
|
1242
|
+
}
|
|
1249
1243
|
function _possible_constructor_return$u(self, call) {
|
|
1250
|
-
if (call && (_type_of$1c(call) === "object" || typeof call === "function"))
|
|
1251
|
-
return call;
|
|
1252
|
-
}
|
|
1244
|
+
if (call && (_type_of$1c(call) === "object" || typeof call === "function")) return call;
|
|
1253
1245
|
return _assert_this_initialized$u(self);
|
|
1254
1246
|
}
|
|
1255
1247
|
function _set_prototype_of$u(o, p) {
|
|
@@ -1263,14 +1255,6 @@
|
|
|
1263
1255
|
"@swc/helpers - typeof";
|
|
1264
1256
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1265
1257
|
}
|
|
1266
|
-
function _is_native_reflect_construct$u() {
|
|
1267
|
-
try {
|
|
1268
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
1269
|
-
} catch (_) {}
|
|
1270
|
-
return (_is_native_reflect_construct$u = function() {
|
|
1271
|
-
return !!result;
|
|
1272
|
-
})();
|
|
1273
|
-
}
|
|
1274
1258
|
var __defProp$1b = Object.defineProperty;
|
|
1275
1259
|
var __defNormalProp$1b = function __defNormalProp(obj, key, value) {
|
|
1276
1260
|
return key in obj ? __defProp$1b(obj, key, {
|
|
@@ -1401,11 +1385,8 @@
|
|
|
1401
1385
|
reject(error);
|
|
1402
1386
|
return;
|
|
1403
1387
|
}
|
|
1404
|
-
if (info.done)
|
|
1405
|
-
|
|
1406
|
-
} else {
|
|
1407
|
-
Promise.resolve(value).then(_next, _throw);
|
|
1408
|
-
}
|
|
1388
|
+
if (info.done) resolve(value);
|
|
1389
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
1409
1390
|
}
|
|
1410
1391
|
function _async_to_generator$5(fn) {
|
|
1411
1392
|
return function() {
|
|
@@ -1530,8 +1511,10 @@
|
|
|
1530
1511
|
lmsCommitUrl: false,
|
|
1531
1512
|
dataCommitFormat: "json",
|
|
1532
1513
|
commitRequestDataType: "application/json;charset=UTF-8",
|
|
1514
|
+
terminationCommitContentType: "text/plain;charset=UTF-8",
|
|
1533
1515
|
autoProgress: false,
|
|
1534
1516
|
logLevel: LogLevelEnum.ERROR,
|
|
1517
|
+
uninitializedGetLogLevel: LogLevelEnum.WARN,
|
|
1535
1518
|
selfReportSessionTime: false,
|
|
1536
1519
|
alwaysSendTotalTime: false,
|
|
1537
1520
|
renderCommonCommitFields: false,
|
|
@@ -2067,9 +2050,7 @@
|
|
|
2067
2050
|
configurable: true,
|
|
2068
2051
|
writable: true
|
|
2069
2052
|
});
|
|
2070
|
-
} else
|
|
2071
|
-
obj[key] = value;
|
|
2072
|
-
}
|
|
2053
|
+
} else obj[key] = value;
|
|
2073
2054
|
return obj;
|
|
2074
2055
|
}
|
|
2075
2056
|
function _object_spread$f(target) {
|
|
@@ -2583,11 +2564,8 @@
|
|
|
2583
2564
|
reject(error);
|
|
2584
2565
|
return;
|
|
2585
2566
|
}
|
|
2586
|
-
if (info.done)
|
|
2587
|
-
|
|
2588
|
-
} else {
|
|
2589
|
-
Promise.resolve(value).then(_next, _throw);
|
|
2590
|
-
}
|
|
2567
|
+
if (info.done) resolve(value);
|
|
2568
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
2591
2569
|
}
|
|
2592
2570
|
function _async_to_generator$4(fn) {
|
|
2593
2571
|
return function() {
|
|
@@ -2605,9 +2583,7 @@
|
|
|
2605
2583
|
};
|
|
2606
2584
|
}
|
|
2607
2585
|
function _class_call_check$1f(instance, Constructor) {
|
|
2608
|
-
if (!(instance instanceof Constructor))
|
|
2609
|
-
throw new TypeError("Cannot call a class as a function");
|
|
2610
|
-
}
|
|
2586
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
2611
2587
|
}
|
|
2612
2588
|
function _defineProperties$1e(target, props) {
|
|
2613
2589
|
for(var i = 0; i < props.length; i++){
|
|
@@ -2622,10 +2598,6 @@
|
|
|
2622
2598
|
if (protoProps) _defineProperties$1e(Constructor.prototype, protoProps);
|
|
2623
2599
|
return Constructor;
|
|
2624
2600
|
}
|
|
2625
|
-
function _type_of$1b(obj) {
|
|
2626
|
-
"@swc/helpers - typeof";
|
|
2627
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
2628
|
-
}
|
|
2629
2601
|
function _ts_generator$4(thisArg, body) {
|
|
2630
2602
|
var f, y, t, _ = {
|
|
2631
2603
|
label: 0,
|
|
@@ -2725,6 +2697,10 @@
|
|
|
2725
2697
|
};
|
|
2726
2698
|
}
|
|
2727
2699
|
}
|
|
2700
|
+
function _type_of$1b(obj) {
|
|
2701
|
+
"@swc/helpers - typeof";
|
|
2702
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
2703
|
+
}
|
|
2728
2704
|
var __defProp$1a = Object.defineProperty;
|
|
2729
2705
|
var __defNormalProp$1a = function __defNormalProp(obj, key, value) {
|
|
2730
2706
|
return key in obj ? __defProp$1a(obj, key, {
|
|
@@ -2805,9 +2781,7 @@
|
|
|
2805
2781
|
];
|
|
2806
2782
|
|
|
2807
2783
|
function _assert_this_initialized$t(self) {
|
|
2808
|
-
if (self === void 0)
|
|
2809
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2810
|
-
}
|
|
2784
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2811
2785
|
return self;
|
|
2812
2786
|
}
|
|
2813
2787
|
function _call_super$t(_this, derived, args) {
|
|
@@ -2815,9 +2789,7 @@
|
|
|
2815
2789
|
return _possible_constructor_return$t(_this, _is_native_reflect_construct$t() ? Reflect.construct(derived, args || [], _get_prototype_of$t(_this).constructor) : derived.apply(_this, args));
|
|
2816
2790
|
}
|
|
2817
2791
|
function _class_call_check$1e(instance, Constructor) {
|
|
2818
|
-
if (!(instance instanceof Constructor))
|
|
2819
|
-
throw new TypeError("Cannot call a class as a function");
|
|
2820
|
-
}
|
|
2792
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
2821
2793
|
}
|
|
2822
2794
|
function _defineProperties$1d(target, props) {
|
|
2823
2795
|
for(var i = 0; i < props.length; i++){
|
|
@@ -2856,14 +2828,18 @@
|
|
|
2856
2828
|
"@swc/helpers - instanceof";
|
|
2857
2829
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
2858
2830
|
return !!right[Symbol.hasInstance](left);
|
|
2859
|
-
} else
|
|
2860
|
-
|
|
2861
|
-
|
|
2831
|
+
} else return left instanceof right;
|
|
2832
|
+
}
|
|
2833
|
+
function _is_native_reflect_construct$t() {
|
|
2834
|
+
try {
|
|
2835
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
2836
|
+
} catch (_) {}
|
|
2837
|
+
return (_is_native_reflect_construct$t = function() {
|
|
2838
|
+
return !!result;
|
|
2839
|
+
})();
|
|
2862
2840
|
}
|
|
2863
2841
|
function _possible_constructor_return$t(self, call) {
|
|
2864
|
-
if (call && (_type_of$1a(call) === "object" || typeof call === "function"))
|
|
2865
|
-
return call;
|
|
2866
|
-
}
|
|
2842
|
+
if (call && (_type_of$1a(call) === "object" || typeof call === "function")) return call;
|
|
2867
2843
|
return _assert_this_initialized$t(self);
|
|
2868
2844
|
}
|
|
2869
2845
|
function _set_prototype_of$t(o, p) {
|
|
@@ -2877,14 +2853,6 @@
|
|
|
2877
2853
|
"@swc/helpers - typeof";
|
|
2878
2854
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
2879
2855
|
}
|
|
2880
|
-
function _is_native_reflect_construct$t() {
|
|
2881
|
-
try {
|
|
2882
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
2883
|
-
} catch (_) {}
|
|
2884
|
-
return (_is_native_reflect_construct$t = function() {
|
|
2885
|
-
return !!result;
|
|
2886
|
-
})();
|
|
2887
|
-
}
|
|
2888
2856
|
var __defProp$19 = Object.defineProperty;
|
|
2889
2857
|
var __defNormalProp$19 = function __defNormalProp(obj, key, value) {
|
|
2890
2858
|
return key in obj ? __defProp$19(obj, key, {
|
|
@@ -3666,9 +3634,7 @@
|
|
|
3666
3634
|
}(BaseCMI);
|
|
3667
3635
|
|
|
3668
3636
|
function _class_call_check$1d(instance, Constructor) {
|
|
3669
|
-
if (!(instance instanceof Constructor))
|
|
3670
|
-
throw new TypeError("Cannot call a class as a function");
|
|
3671
|
-
}
|
|
3637
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
3672
3638
|
}
|
|
3673
3639
|
function _defineProperties$1c(target, props) {
|
|
3674
3640
|
for(var i = 0; i < props.length; i++){
|
|
@@ -3966,9 +3932,7 @@
|
|
|
3966
3932
|
}();
|
|
3967
3933
|
|
|
3968
3934
|
function _class_call_check$1c(instance, Constructor) {
|
|
3969
|
-
if (!(instance instanceof Constructor))
|
|
3970
|
-
throw new TypeError("Cannot call a class as a function");
|
|
3971
|
-
}
|
|
3935
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
3972
3936
|
}
|
|
3973
3937
|
function _defineProperties$1b(target, props) {
|
|
3974
3938
|
for(var i = 0; i < props.length; i++){
|
|
@@ -4507,9 +4471,7 @@
|
|
|
4507
4471
|
}();
|
|
4508
4472
|
|
|
4509
4473
|
function _class_call_check$1b(instance, Constructor) {
|
|
4510
|
-
if (!(instance instanceof Constructor))
|
|
4511
|
-
throw new TypeError("Cannot call a class as a function");
|
|
4512
|
-
}
|
|
4474
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
4513
4475
|
}
|
|
4514
4476
|
function _type_of$17(obj) {
|
|
4515
4477
|
"@swc/helpers - typeof";
|
|
@@ -4588,9 +4550,7 @@
|
|
|
4588
4550
|
}(FlowSubprocessMode || {});
|
|
4589
4551
|
|
|
4590
4552
|
function _class_call_check$1a(instance, Constructor) {
|
|
4591
|
-
if (!(instance instanceof Constructor))
|
|
4592
|
-
throw new TypeError("Cannot call a class as a function");
|
|
4593
|
-
}
|
|
4553
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
4594
4554
|
}
|
|
4595
4555
|
function _defineProperties$1a(target, props) {
|
|
4596
4556
|
for(var i = 0; i < props.length; i++){
|
|
@@ -4941,9 +4901,7 @@
|
|
|
4941
4901
|
}();
|
|
4942
4902
|
|
|
4943
4903
|
function _assert_this_initialized$s(self) {
|
|
4944
|
-
if (self === void 0)
|
|
4945
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4946
|
-
}
|
|
4904
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4947
4905
|
return self;
|
|
4948
4906
|
}
|
|
4949
4907
|
function _call_super$s(_this, derived, args) {
|
|
@@ -4951,9 +4909,7 @@
|
|
|
4951
4909
|
return _possible_constructor_return$s(_this, _is_native_reflect_construct$s() ? Reflect.construct(derived, args || [], _get_prototype_of$s(_this).constructor) : derived.apply(_this, args));
|
|
4952
4910
|
}
|
|
4953
4911
|
function _class_call_check$19(instance, Constructor) {
|
|
4954
|
-
if (!(instance instanceof Constructor))
|
|
4955
|
-
throw new TypeError("Cannot call a class as a function");
|
|
4956
|
-
}
|
|
4912
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
4957
4913
|
}
|
|
4958
4914
|
function _defineProperties$19(target, props) {
|
|
4959
4915
|
for(var i = 0; i < props.length; i++){
|
|
@@ -4987,10 +4943,16 @@
|
|
|
4987
4943
|
});
|
|
4988
4944
|
if (superClass) _set_prototype_of$s(subClass, superClass);
|
|
4989
4945
|
}
|
|
4946
|
+
function _is_native_reflect_construct$s() {
|
|
4947
|
+
try {
|
|
4948
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
4949
|
+
} catch (_) {}
|
|
4950
|
+
return (_is_native_reflect_construct$s = function() {
|
|
4951
|
+
return !!result;
|
|
4952
|
+
})();
|
|
4953
|
+
}
|
|
4990
4954
|
function _possible_constructor_return$s(self, call) {
|
|
4991
|
-
if (call && (_type_of$15(call) === "object" || typeof call === "function"))
|
|
4992
|
-
return call;
|
|
4993
|
-
}
|
|
4955
|
+
if (call && (_type_of$15(call) === "object" || typeof call === "function")) return call;
|
|
4994
4956
|
return _assert_this_initialized$s(self);
|
|
4995
4957
|
}
|
|
4996
4958
|
function _set_prototype_of$s(o, p) {
|
|
@@ -5004,14 +4966,6 @@
|
|
|
5004
4966
|
"@swc/helpers - typeof";
|
|
5005
4967
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
5006
4968
|
}
|
|
5007
|
-
function _is_native_reflect_construct$s() {
|
|
5008
|
-
try {
|
|
5009
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
5010
|
-
} catch (_) {}
|
|
5011
|
-
return (_is_native_reflect_construct$s = function() {
|
|
5012
|
-
return !!result;
|
|
5013
|
-
})();
|
|
5014
|
-
}
|
|
5015
4969
|
var __defProp$14 = Object.defineProperty;
|
|
5016
4970
|
var __defNormalProp$14 = function __defNormalProp(obj, key, value) {
|
|
5017
4971
|
return key in obj ? __defProp$14(obj, key, {
|
|
@@ -5526,9 +5480,7 @@
|
|
|
5526
5480
|
if (Array.isArray(arr)) return _array_like_to_array$g(arr);
|
|
5527
5481
|
}
|
|
5528
5482
|
function _class_call_check$18(instance, Constructor) {
|
|
5529
|
-
if (!(instance instanceof Constructor))
|
|
5530
|
-
throw new TypeError("Cannot call a class as a function");
|
|
5531
|
-
}
|
|
5483
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
5532
5484
|
}
|
|
5533
5485
|
function _defineProperties$18(target, props) {
|
|
5534
5486
|
for(var i = 0; i < props.length; i++){
|
|
@@ -5544,10 +5496,12 @@
|
|
|
5544
5496
|
return Constructor;
|
|
5545
5497
|
}
|
|
5546
5498
|
function _iterable_to_array$a(iter) {
|
|
5547
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
5499
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
5500
|
+
return Array.from(iter);
|
|
5501
|
+
}
|
|
5548
5502
|
}
|
|
5549
5503
|
function _non_iterable_spread$a() {
|
|
5550
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
5504
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
5551
5505
|
}
|
|
5552
5506
|
function _to_consumable_array$a(arr) {
|
|
5553
5507
|
return _array_without_holes$a(arr) || _iterable_to_array$a(arr) || _unsupported_iterable_to_array$g(arr) || _non_iterable_spread$a();
|
|
@@ -5755,9 +5709,7 @@
|
|
|
5755
5709
|
}();
|
|
5756
5710
|
|
|
5757
5711
|
function _class_call_check$17(instance, Constructor) {
|
|
5758
|
-
if (!(instance instanceof Constructor))
|
|
5759
|
-
throw new TypeError("Cannot call a class as a function");
|
|
5760
|
-
}
|
|
5712
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
5761
5713
|
}
|
|
5762
5714
|
function _defineProperties$17(target, props) {
|
|
5763
5715
|
for(var i = 0; i < props.length; i++){
|
|
@@ -6214,9 +6166,7 @@
|
|
|
6214
6166
|
}();
|
|
6215
6167
|
|
|
6216
6168
|
function _class_call_check$16(instance, Constructor) {
|
|
6217
|
-
if (!(instance instanceof Constructor))
|
|
6218
|
-
throw new TypeError("Cannot call a class as a function");
|
|
6219
|
-
}
|
|
6169
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
6220
6170
|
}
|
|
6221
6171
|
function _defineProperties$16(target, props) {
|
|
6222
6172
|
for(var i = 0; i < props.length; i++){
|
|
@@ -6383,9 +6333,7 @@
|
|
|
6383
6333
|
}();
|
|
6384
6334
|
|
|
6385
6335
|
function _class_call_check$15(instance, Constructor) {
|
|
6386
|
-
if (!(instance instanceof Constructor))
|
|
6387
|
-
throw new TypeError("Cannot call a class as a function");
|
|
6388
|
-
}
|
|
6336
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
6389
6337
|
}
|
|
6390
6338
|
function _defineProperties$15(target, props) {
|
|
6391
6339
|
for(var i = 0; i < props.length; i++){
|
|
@@ -6712,9 +6660,7 @@
|
|
|
6712
6660
|
}();
|
|
6713
6661
|
|
|
6714
6662
|
function _class_call_check$14(instance, Constructor) {
|
|
6715
|
-
if (!(instance instanceof Constructor))
|
|
6716
|
-
throw new TypeError("Cannot call a class as a function");
|
|
6717
|
-
}
|
|
6663
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
6718
6664
|
}
|
|
6719
6665
|
function _defineProperties$14(target, props) {
|
|
6720
6666
|
for(var i = 0; i < props.length; i++){
|
|
@@ -6899,9 +6845,7 @@
|
|
|
6899
6845
|
}();
|
|
6900
6846
|
|
|
6901
6847
|
function _class_call_check$13(instance, Constructor) {
|
|
6902
|
-
if (!(instance instanceof Constructor))
|
|
6903
|
-
throw new TypeError("Cannot call a class as a function");
|
|
6904
|
-
}
|
|
6848
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
6905
6849
|
}
|
|
6906
6850
|
function _defineProperties$13(target, props) {
|
|
6907
6851
|
for(var i = 0; i < props.length; i++){
|
|
@@ -7050,9 +6994,7 @@
|
|
|
7050
6994
|
}();
|
|
7051
6995
|
|
|
7052
6996
|
function _class_call_check$12(instance, Constructor) {
|
|
7053
|
-
if (!(instance instanceof Constructor))
|
|
7054
|
-
throw new TypeError("Cannot call a class as a function");
|
|
7055
|
-
}
|
|
6997
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
7056
6998
|
}
|
|
7057
6999
|
function _defineProperties$12(target, props) {
|
|
7058
7000
|
for(var i = 0; i < props.length; i++){
|
|
@@ -7398,9 +7340,7 @@
|
|
|
7398
7340
|
}();
|
|
7399
7341
|
|
|
7400
7342
|
function _class_call_check$11(instance, Constructor) {
|
|
7401
|
-
if (!(instance instanceof Constructor))
|
|
7402
|
-
throw new TypeError("Cannot call a class as a function");
|
|
7403
|
-
}
|
|
7343
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
7404
7344
|
}
|
|
7405
7345
|
function _defineProperties$11(target, props) {
|
|
7406
7346
|
for(var i = 0; i < props.length; i++){
|
|
@@ -7423,9 +7363,7 @@
|
|
|
7423
7363
|
configurable: true,
|
|
7424
7364
|
writable: true
|
|
7425
7365
|
});
|
|
7426
|
-
} else
|
|
7427
|
-
obj[key] = value;
|
|
7428
|
-
}
|
|
7366
|
+
} else obj[key] = value;
|
|
7429
7367
|
return obj;
|
|
7430
7368
|
}
|
|
7431
7369
|
function _object_spread$e(target) {
|
|
@@ -7581,11 +7519,8 @@
|
|
|
7581
7519
|
reject(error);
|
|
7582
7520
|
return;
|
|
7583
7521
|
}
|
|
7584
|
-
if (info.done)
|
|
7585
|
-
|
|
7586
|
-
} else {
|
|
7587
|
-
Promise.resolve(value).then(_next, _throw);
|
|
7588
|
-
}
|
|
7522
|
+
if (info.done) resolve(value);
|
|
7523
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
7589
7524
|
}
|
|
7590
7525
|
function _async_to_generator$3(fn) {
|
|
7591
7526
|
return function() {
|
|
@@ -7603,9 +7538,7 @@
|
|
|
7603
7538
|
};
|
|
7604
7539
|
}
|
|
7605
7540
|
function _class_call_check$10(instance, Constructor) {
|
|
7606
|
-
if (!(instance instanceof Constructor))
|
|
7607
|
-
throw new TypeError("Cannot call a class as a function");
|
|
7608
|
-
}
|
|
7541
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
7609
7542
|
}
|
|
7610
7543
|
function _defineProperties$10(target, props) {
|
|
7611
7544
|
for(var i = 0; i < props.length; i++){
|
|
@@ -7628,18 +7561,14 @@
|
|
|
7628
7561
|
configurable: true,
|
|
7629
7562
|
writable: true
|
|
7630
7563
|
});
|
|
7631
|
-
} else
|
|
7632
|
-
obj[key] = value;
|
|
7633
|
-
}
|
|
7564
|
+
} else obj[key] = value;
|
|
7634
7565
|
return obj;
|
|
7635
7566
|
}
|
|
7636
7567
|
function _instanceof$g(left, right) {
|
|
7637
7568
|
"@swc/helpers - instanceof";
|
|
7638
7569
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
7639
7570
|
return !!right[Symbol.hasInstance](left);
|
|
7640
|
-
} else
|
|
7641
|
-
return left instanceof right;
|
|
7642
|
-
}
|
|
7571
|
+
} else return left instanceof right;
|
|
7643
7572
|
}
|
|
7644
7573
|
function _object_spread$d(target) {
|
|
7645
7574
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -7666,19 +7595,14 @@
|
|
|
7666
7595
|
}
|
|
7667
7596
|
function _object_spread_props$4(target, source) {
|
|
7668
7597
|
source = source != null ? source : {};
|
|
7669
|
-
if (Object.getOwnPropertyDescriptors)
|
|
7670
|
-
|
|
7671
|
-
} else {
|
|
7598
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
7599
|
+
else {
|
|
7672
7600
|
ownKeys$4(Object(source)).forEach(function(key) {
|
|
7673
7601
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
7674
7602
|
});
|
|
7675
7603
|
}
|
|
7676
7604
|
return target;
|
|
7677
7605
|
}
|
|
7678
|
-
function _type_of$Z(obj) {
|
|
7679
|
-
"@swc/helpers - typeof";
|
|
7680
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
7681
|
-
}
|
|
7682
7606
|
function _ts_generator$3(thisArg, body) {
|
|
7683
7607
|
var f, y, t, _ = {
|
|
7684
7608
|
label: 0,
|
|
@@ -7778,6 +7702,10 @@
|
|
|
7778
7702
|
};
|
|
7779
7703
|
}
|
|
7780
7704
|
}
|
|
7705
|
+
function _type_of$Z(obj) {
|
|
7706
|
+
"@swc/helpers - typeof";
|
|
7707
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
7708
|
+
}
|
|
7781
7709
|
var __defProp$Y = Object.defineProperty;
|
|
7782
7710
|
var __defNormalProp$Y = function __defNormalProp(obj, key, value) {
|
|
7783
7711
|
return key in obj ? __defProp$Y(obj, key, {
|
|
@@ -7979,14 +7907,16 @@
|
|
|
7979
7907
|
* @private
|
|
7980
7908
|
*/ function performBeacon(url, params) {
|
|
7981
7909
|
return _async_to_generator$3(function() {
|
|
7982
|
-
var _this, _this__prepareRequestBody, body, contentType, beaconSuccess;
|
|
7910
|
+
var _this, _this__prepareRequestBody, body, contentType, beaconContentType, beaconSuccess;
|
|
7983
7911
|
return _ts_generator$3(this, function(_state) {
|
|
7984
7912
|
_this = this;
|
|
7985
7913
|
_this__prepareRequestBody = this._prepareRequestBody(params), body = _this__prepareRequestBody.body, contentType = _this__prepareRequestBody.contentType;
|
|
7914
|
+
beaconContentType = Array.isArray(params) ? contentType : this.settings.terminationCommitContentType;
|
|
7915
|
+
this._warnIfBeaconContentTypeUnsafe(url, beaconContentType);
|
|
7986
7916
|
beaconSuccess = navigator.sendBeacon(url, new Blob([
|
|
7987
7917
|
body
|
|
7988
7918
|
], {
|
|
7989
|
-
type:
|
|
7919
|
+
type: beaconContentType
|
|
7990
7920
|
}));
|
|
7991
7921
|
return [
|
|
7992
7922
|
2,
|
|
@@ -8025,6 +7955,15 @@
|
|
|
8025
7955
|
}).call(this);
|
|
8026
7956
|
}
|
|
8027
7957
|
},
|
|
7958
|
+
{
|
|
7959
|
+
key: "_warnIfBeaconContentTypeUnsafe",
|
|
7960
|
+
value: function _warnIfBeaconContentTypeUnsafe(url, contentType) {
|
|
7961
|
+
if (isCrossOriginUrl(url) && !isCorsSafelistedContentType(contentType)) {
|
|
7962
|
+
var _this_settings_onLogMessage, _this_settings;
|
|
7963
|
+
(_this_settings_onLogMessage = (_this_settings = this.settings).onLogMessage) === null || _this_settings_onLogMessage === void 0 ? void 0 : _this_settings_onLogMessage.call(_this_settings, LogLevelEnum.WARN, 'sendBeacon to cross-origin URL with non-CORS-safelisted Content-Type "'.concat(contentType, '" may be silently dropped by the browser (Beacon cannot preflight). Use fetch (useAsynchronousCommits + asyncModeBeaconBehavior:"never") for cross-origin JSON/auth on terminate.'));
|
|
7964
|
+
}
|
|
7965
|
+
}
|
|
7966
|
+
},
|
|
8028
7967
|
{
|
|
8029
7968
|
key: "transformResponse",
|
|
8030
7969
|
value: /**
|
|
@@ -8146,9 +8085,7 @@
|
|
|
8146
8085
|
}();
|
|
8147
8086
|
|
|
8148
8087
|
function _class_call_check$$(instance, Constructor) {
|
|
8149
|
-
if (!(instance instanceof Constructor))
|
|
8150
|
-
throw new TypeError("Cannot call a class as a function");
|
|
8151
|
-
}
|
|
8088
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
8152
8089
|
}
|
|
8153
8090
|
function _defineProperties$$(target, props) {
|
|
8154
8091
|
for(var i = 0; i < props.length; i++){
|
|
@@ -8167,9 +8104,7 @@
|
|
|
8167
8104
|
"@swc/helpers - instanceof";
|
|
8168
8105
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
8169
8106
|
return !!right[Symbol.hasInstance](left);
|
|
8170
|
-
} else
|
|
8171
|
-
return left instanceof right;
|
|
8172
|
-
}
|
|
8107
|
+
} else return left instanceof right;
|
|
8173
8108
|
}
|
|
8174
8109
|
function _type_of$Y(obj) {
|
|
8175
8110
|
"@swc/helpers - typeof";
|
|
@@ -8560,9 +8495,7 @@
|
|
|
8560
8495
|
}();
|
|
8561
8496
|
|
|
8562
8497
|
function _class_call_check$_(instance, Constructor) {
|
|
8563
|
-
if (!(instance instanceof Constructor))
|
|
8564
|
-
throw new TypeError("Cannot call a class as a function");
|
|
8565
|
-
}
|
|
8498
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
8566
8499
|
}
|
|
8567
8500
|
function _defineProperties$_(target, props) {
|
|
8568
8501
|
for(var i = 0; i < props.length; i++){
|
|
@@ -8781,9 +8714,7 @@
|
|
|
8781
8714
|
}
|
|
8782
8715
|
|
|
8783
8716
|
function _class_call_check$Z(instance, Constructor) {
|
|
8784
|
-
if (!(instance instanceof Constructor))
|
|
8785
|
-
throw new TypeError("Cannot call a class as a function");
|
|
8786
|
-
}
|
|
8717
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
8787
8718
|
}
|
|
8788
8719
|
function _defineProperties$Z(target, props) {
|
|
8789
8720
|
for(var i = 0; i < props.length; i++){
|
|
@@ -8802,9 +8733,7 @@
|
|
|
8802
8733
|
"@swc/helpers - instanceof";
|
|
8803
8734
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
8804
8735
|
return !!right[Symbol.hasInstance](left);
|
|
8805
|
-
} else
|
|
8806
|
-
return left instanceof right;
|
|
8807
|
-
}
|
|
8736
|
+
} else return left instanceof right;
|
|
8808
8737
|
}
|
|
8809
8738
|
function _type_of$W(obj) {
|
|
8810
8739
|
"@swc/helpers - typeof";
|
|
@@ -8874,13 +8803,14 @@
|
|
|
8874
8803
|
* @throws {ValidationError} - If throwException is true, throws a ValidationError
|
|
8875
8804
|
*/ key: "throwSCORMError",
|
|
8876
8805
|
value: function throwSCORMError(CMIElement, errorNumber, message) {
|
|
8806
|
+
var messageLevel = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : LogLevelEnum.ERROR;
|
|
8877
8807
|
this._lastDiagnostic = message || "";
|
|
8878
8808
|
if (!message) {
|
|
8879
8809
|
message = this._getLmsErrorMessageDetails(errorNumber, true);
|
|
8880
8810
|
}
|
|
8881
8811
|
var formattedMessage = "SCORM Error ".concat(errorNumber, ": ").concat(message).concat(CMIElement ? " [Element: ".concat(CMIElement, "]") : "");
|
|
8882
|
-
this._apiLog("throwSCORMError", errorNumber + ": " + message,
|
|
8883
|
-
this._loggingService.
|
|
8812
|
+
this._apiLog("throwSCORMError", errorNumber + ": " + message, messageLevel, CMIElement);
|
|
8813
|
+
this._loggingService.log(messageLevel, formattedMessage);
|
|
8884
8814
|
this._lastErrorCode = String(errorNumber);
|
|
8885
8815
|
}
|
|
8886
8816
|
},
|
|
@@ -8986,9 +8916,7 @@
|
|
|
8986
8916
|
}
|
|
8987
8917
|
|
|
8988
8918
|
function _class_call_check$Y(instance, Constructor) {
|
|
8989
|
-
if (!(instance instanceof Constructor))
|
|
8990
|
-
throw new TypeError("Cannot call a class as a function");
|
|
8991
|
-
}
|
|
8919
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
8992
8920
|
}
|
|
8993
8921
|
function _defineProperties$Y(target, props) {
|
|
8994
8922
|
for(var i = 0; i < props.length; i++){
|
|
@@ -9279,11 +9207,8 @@
|
|
|
9279
9207
|
reject(error);
|
|
9280
9208
|
return;
|
|
9281
9209
|
}
|
|
9282
|
-
if (info.done)
|
|
9283
|
-
|
|
9284
|
-
} else {
|
|
9285
|
-
Promise.resolve(value).then(_next, _throw);
|
|
9286
|
-
}
|
|
9210
|
+
if (info.done) resolve(value);
|
|
9211
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
9287
9212
|
}
|
|
9288
9213
|
function _async_to_generator$2(fn) {
|
|
9289
9214
|
return function() {
|
|
@@ -9301,9 +9226,7 @@
|
|
|
9301
9226
|
};
|
|
9302
9227
|
}
|
|
9303
9228
|
function _class_call_check$X(instance, Constructor) {
|
|
9304
|
-
if (!(instance instanceof Constructor))
|
|
9305
|
-
throw new TypeError("Cannot call a class as a function");
|
|
9306
|
-
}
|
|
9229
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
9307
9230
|
}
|
|
9308
9231
|
function _defineProperties$X(target, props) {
|
|
9309
9232
|
for(var i = 0; i < props.length; i++){
|
|
@@ -9326,18 +9249,14 @@
|
|
|
9326
9249
|
configurable: true,
|
|
9327
9250
|
writable: true
|
|
9328
9251
|
});
|
|
9329
|
-
} else
|
|
9330
|
-
obj[key] = value;
|
|
9331
|
-
}
|
|
9252
|
+
} else obj[key] = value;
|
|
9332
9253
|
return obj;
|
|
9333
9254
|
}
|
|
9334
9255
|
function _instanceof$d(left, right) {
|
|
9335
9256
|
"@swc/helpers - instanceof";
|
|
9336
9257
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
9337
9258
|
return !!right[Symbol.hasInstance](left);
|
|
9338
|
-
} else
|
|
9339
|
-
return left instanceof right;
|
|
9340
|
-
}
|
|
9259
|
+
} else return left instanceof right;
|
|
9341
9260
|
}
|
|
9342
9261
|
function _object_spread$c(target) {
|
|
9343
9262
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -9364,19 +9283,14 @@
|
|
|
9364
9283
|
}
|
|
9365
9284
|
function _object_spread_props$3(target, source) {
|
|
9366
9285
|
source = source != null ? source : {};
|
|
9367
|
-
if (Object.getOwnPropertyDescriptors)
|
|
9368
|
-
|
|
9369
|
-
} else {
|
|
9286
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
9287
|
+
else {
|
|
9370
9288
|
ownKeys$3(Object(source)).forEach(function(key) {
|
|
9371
9289
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
9372
9290
|
});
|
|
9373
9291
|
}
|
|
9374
9292
|
return target;
|
|
9375
9293
|
}
|
|
9376
|
-
function _type_of$U(obj) {
|
|
9377
|
-
"@swc/helpers - typeof";
|
|
9378
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
9379
|
-
}
|
|
9380
9294
|
function _ts_generator$2(thisArg, body) {
|
|
9381
9295
|
var f, y, t, _ = {
|
|
9382
9296
|
label: 0,
|
|
@@ -9476,6 +9390,10 @@
|
|
|
9476
9390
|
};
|
|
9477
9391
|
}
|
|
9478
9392
|
}
|
|
9393
|
+
function _type_of$U(obj) {
|
|
9394
|
+
"@swc/helpers - typeof";
|
|
9395
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
9396
|
+
}
|
|
9479
9397
|
var __defProp$T = Object.defineProperty;
|
|
9480
9398
|
var __defNormalProp$T = function __defNormalProp(obj, key, value) {
|
|
9481
9399
|
return key in obj ? __defProp$T(obj, key, {
|
|
@@ -10067,9 +9985,7 @@
|
|
|
10067
9985
|
}
|
|
10068
9986
|
|
|
10069
9987
|
function _assert_this_initialized$r(self) {
|
|
10070
|
-
if (self === void 0)
|
|
10071
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
10072
|
-
}
|
|
9988
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
10073
9989
|
return self;
|
|
10074
9990
|
}
|
|
10075
9991
|
function _call_super$r(_this, derived, args) {
|
|
@@ -10077,9 +9993,7 @@
|
|
|
10077
9993
|
return _possible_constructor_return$r(_this, _is_native_reflect_construct$r() ? Reflect.construct(derived, args || [], _get_prototype_of$r(_this).constructor) : derived.apply(_this, args));
|
|
10078
9994
|
}
|
|
10079
9995
|
function _class_call_check$W(instance, Constructor) {
|
|
10080
|
-
if (!(instance instanceof Constructor))
|
|
10081
|
-
throw new TypeError("Cannot call a class as a function");
|
|
10082
|
-
}
|
|
9996
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
10083
9997
|
}
|
|
10084
9998
|
function _defineProperties$W(target, props) {
|
|
10085
9999
|
for(var i = 0; i < props.length; i++){
|
|
@@ -10117,14 +10031,18 @@
|
|
|
10117
10031
|
"@swc/helpers - instanceof";
|
|
10118
10032
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
10119
10033
|
return !!right[Symbol.hasInstance](left);
|
|
10120
|
-
} else
|
|
10121
|
-
|
|
10122
|
-
|
|
10034
|
+
} else return left instanceof right;
|
|
10035
|
+
}
|
|
10036
|
+
function _is_native_reflect_construct$r() {
|
|
10037
|
+
try {
|
|
10038
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
10039
|
+
} catch (_) {}
|
|
10040
|
+
return (_is_native_reflect_construct$r = function() {
|
|
10041
|
+
return !!result;
|
|
10042
|
+
})();
|
|
10123
10043
|
}
|
|
10124
10044
|
function _possible_constructor_return$r(self, call) {
|
|
10125
|
-
if (call && (_type_of$S(call) === "object" || typeof call === "function"))
|
|
10126
|
-
return call;
|
|
10127
|
-
}
|
|
10045
|
+
if (call && (_type_of$S(call) === "object" || typeof call === "function")) return call;
|
|
10128
10046
|
return _assert_this_initialized$r(self);
|
|
10129
10047
|
}
|
|
10130
10048
|
function _set_prototype_of$r(o, p) {
|
|
@@ -10138,14 +10056,6 @@
|
|
|
10138
10056
|
"@swc/helpers - typeof";
|
|
10139
10057
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
10140
10058
|
}
|
|
10141
|
-
function _is_native_reflect_construct$r() {
|
|
10142
|
-
try {
|
|
10143
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
10144
|
-
} catch (_) {}
|
|
10145
|
-
return (_is_native_reflect_construct$r = function() {
|
|
10146
|
-
return !!result;
|
|
10147
|
-
})();
|
|
10148
|
-
}
|
|
10149
10059
|
var __defProp$S = Object.defineProperty;
|
|
10150
10060
|
var __defNormalProp$S = function __defNormalProp(obj, key, value) {
|
|
10151
10061
|
return key in obj ? __defProp$S(obj, key, {
|
|
@@ -10734,9 +10644,7 @@
|
|
|
10734
10644
|
if (Array.isArray(arr)) return _array_like_to_array$f(arr);
|
|
10735
10645
|
}
|
|
10736
10646
|
function _assert_this_initialized$q(self) {
|
|
10737
|
-
if (self === void 0)
|
|
10738
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
10739
|
-
}
|
|
10647
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
10740
10648
|
return self;
|
|
10741
10649
|
}
|
|
10742
10650
|
function _call_super$q(_this, derived, args) {
|
|
@@ -10744,9 +10652,7 @@
|
|
|
10744
10652
|
return _possible_constructor_return$q(_this, _is_native_reflect_construct$q() ? Reflect.construct(derived, args || [], _get_prototype_of$q(_this).constructor) : derived.apply(_this, args));
|
|
10745
10653
|
}
|
|
10746
10654
|
function _class_call_check$V(instance, Constructor) {
|
|
10747
|
-
if (!(instance instanceof Constructor))
|
|
10748
|
-
throw new TypeError("Cannot call a class as a function");
|
|
10749
|
-
}
|
|
10655
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
10750
10656
|
}
|
|
10751
10657
|
function _defineProperties$V(target, props) {
|
|
10752
10658
|
for(var i = 0; i < props.length; i++){
|
|
@@ -10770,22 +10676,17 @@
|
|
|
10770
10676
|
configurable: true,
|
|
10771
10677
|
writable: true
|
|
10772
10678
|
});
|
|
10773
|
-
} else
|
|
10774
|
-
obj[key] = value;
|
|
10775
|
-
}
|
|
10679
|
+
} else obj[key] = value;
|
|
10776
10680
|
return obj;
|
|
10777
10681
|
}
|
|
10778
10682
|
function _get$a(target, property, receiver) {
|
|
10779
|
-
if (typeof Reflect !== "undefined" && Reflect.get)
|
|
10780
|
-
|
|
10781
|
-
} else {
|
|
10683
|
+
if (typeof Reflect !== "undefined" && Reflect.get) _get$a = Reflect.get;
|
|
10684
|
+
else {
|
|
10782
10685
|
_get$a = function get(target, property, receiver) {
|
|
10783
10686
|
var base = _super_prop_base$a(target, property);
|
|
10784
10687
|
if (!base) return;
|
|
10785
10688
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
10786
|
-
if (desc.get)
|
|
10787
|
-
return desc.get.call(receiver || target);
|
|
10788
|
-
}
|
|
10689
|
+
if (desc.get) return desc.get.call(receiver || target);
|
|
10789
10690
|
return desc.value;
|
|
10790
10691
|
};
|
|
10791
10692
|
}
|
|
@@ -10814,15 +10715,23 @@
|
|
|
10814
10715
|
"@swc/helpers - instanceof";
|
|
10815
10716
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
10816
10717
|
return !!right[Symbol.hasInstance](left);
|
|
10817
|
-
} else
|
|
10818
|
-
|
|
10819
|
-
|
|
10718
|
+
} else return left instanceof right;
|
|
10719
|
+
}
|
|
10720
|
+
function _is_native_reflect_construct$q() {
|
|
10721
|
+
try {
|
|
10722
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
10723
|
+
} catch (_) {}
|
|
10724
|
+
return (_is_native_reflect_construct$q = function() {
|
|
10725
|
+
return !!result;
|
|
10726
|
+
})();
|
|
10820
10727
|
}
|
|
10821
10728
|
function _iterable_to_array$9(iter) {
|
|
10822
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
10729
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
10730
|
+
return Array.from(iter);
|
|
10731
|
+
}
|
|
10823
10732
|
}
|
|
10824
10733
|
function _non_iterable_spread$9() {
|
|
10825
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
10734
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
10826
10735
|
}
|
|
10827
10736
|
function _object_spread$b(target) {
|
|
10828
10737
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -10840,9 +10749,7 @@
|
|
|
10840
10749
|
return target;
|
|
10841
10750
|
}
|
|
10842
10751
|
function _possible_constructor_return$q(self, call) {
|
|
10843
|
-
if (call && (_type_of$R(call) === "object" || typeof call === "function"))
|
|
10844
|
-
return call;
|
|
10845
|
-
}
|
|
10752
|
+
if (call && (_type_of$R(call) === "object" || typeof call === "function")) return call;
|
|
10846
10753
|
return _assert_this_initialized$q(self);
|
|
10847
10754
|
}
|
|
10848
10755
|
function _set_prototype_of$q(o, p) {
|
|
@@ -10874,14 +10781,6 @@
|
|
|
10874
10781
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
10875
10782
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$f(o, minLen);
|
|
10876
10783
|
}
|
|
10877
|
-
function _is_native_reflect_construct$q() {
|
|
10878
|
-
try {
|
|
10879
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
10880
|
-
} catch (_) {}
|
|
10881
|
-
return (_is_native_reflect_construct$q = function() {
|
|
10882
|
-
return !!result;
|
|
10883
|
-
})();
|
|
10884
|
-
}
|
|
10885
10784
|
var __defProp$R = Object.defineProperty;
|
|
10886
10785
|
var __defNormalProp$R = function __defNormalProp(obj, key, value) {
|
|
10887
10786
|
return key in obj ? __defProp$R(obj, key, {
|
|
@@ -13463,9 +13362,7 @@
|
|
|
13463
13362
|
}(BaseCMI);
|
|
13464
13363
|
|
|
13465
13364
|
function _class_call_check$U(instance, Constructor) {
|
|
13466
|
-
if (!(instance instanceof Constructor))
|
|
13467
|
-
throw new TypeError("Cannot call a class as a function");
|
|
13468
|
-
}
|
|
13365
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
13469
13366
|
}
|
|
13470
13367
|
function _defineProperties$U(target, props) {
|
|
13471
13368
|
for(var i = 0; i < props.length; i++){
|
|
@@ -13645,9 +13542,7 @@
|
|
|
13645
13542
|
}();
|
|
13646
13543
|
|
|
13647
13544
|
function _class_call_check$T(instance, Constructor) {
|
|
13648
|
-
if (!(instance instanceof Constructor))
|
|
13649
|
-
throw new TypeError("Cannot call a class as a function");
|
|
13650
|
-
}
|
|
13545
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
13651
13546
|
}
|
|
13652
13547
|
function _defineProperties$T(target, props) {
|
|
13653
13548
|
for(var i = 0; i < props.length; i++){
|
|
@@ -13834,9 +13729,7 @@
|
|
|
13834
13729
|
}();
|
|
13835
13730
|
|
|
13836
13731
|
function _class_call_check$S(instance, Constructor) {
|
|
13837
|
-
if (!(instance instanceof Constructor))
|
|
13838
|
-
throw new TypeError("Cannot call a class as a function");
|
|
13839
|
-
}
|
|
13732
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
13840
13733
|
}
|
|
13841
13734
|
function _defineProperties$S(target, props) {
|
|
13842
13735
|
for(var i = 0; i < props.length; i++){
|
|
@@ -14108,9 +14001,7 @@
|
|
|
14108
14001
|
}();
|
|
14109
14002
|
|
|
14110
14003
|
function _class_call_check$R(instance, Constructor) {
|
|
14111
|
-
if (!(instance instanceof Constructor))
|
|
14112
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14113
|
-
}
|
|
14004
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
14114
14005
|
}
|
|
14115
14006
|
function _defineProperties$R(target, props) {
|
|
14116
14007
|
for(var i = 0; i < props.length; i++){
|
|
@@ -14327,9 +14218,7 @@
|
|
|
14327
14218
|
}();
|
|
14328
14219
|
|
|
14329
14220
|
function _class_call_check$Q(instance, Constructor) {
|
|
14330
|
-
if (!(instance instanceof Constructor))
|
|
14331
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14332
|
-
}
|
|
14221
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
14333
14222
|
}
|
|
14334
14223
|
function _defineProperties$Q(target, props) {
|
|
14335
14224
|
for(var i = 0; i < props.length; i++){
|
|
@@ -14495,9 +14384,7 @@
|
|
|
14495
14384
|
}();
|
|
14496
14385
|
|
|
14497
14386
|
function _class_call_check$P(instance, Constructor) {
|
|
14498
|
-
if (!(instance instanceof Constructor))
|
|
14499
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14500
|
-
}
|
|
14387
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
14501
14388
|
}
|
|
14502
14389
|
function _defineProperties$P(target, props) {
|
|
14503
14390
|
for(var i = 0; i < props.length; i++){
|
|
@@ -14646,9 +14533,7 @@
|
|
|
14646
14533
|
}();
|
|
14647
14534
|
|
|
14648
14535
|
function _class_call_check$O(instance, Constructor) {
|
|
14649
|
-
if (!(instance instanceof Constructor))
|
|
14650
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14651
|
-
}
|
|
14536
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
14652
14537
|
}
|
|
14653
14538
|
function _defineProperties$O(target, props) {
|
|
14654
14539
|
for(var i = 0; i < props.length; i++){
|
|
@@ -14667,9 +14552,7 @@
|
|
|
14667
14552
|
"@swc/helpers - instanceof";
|
|
14668
14553
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
14669
14554
|
return !!right[Symbol.hasInstance](left);
|
|
14670
|
-
} else
|
|
14671
|
-
return left instanceof right;
|
|
14672
|
-
}
|
|
14555
|
+
} else return left instanceof right;
|
|
14673
14556
|
}
|
|
14674
14557
|
function _type_of$L(obj) {
|
|
14675
14558
|
"@swc/helpers - typeof";
|
|
@@ -14947,9 +14830,7 @@
|
|
|
14947
14830
|
}();
|
|
14948
14831
|
|
|
14949
14832
|
function _class_call_check$N(instance, Constructor) {
|
|
14950
|
-
if (!(instance instanceof Constructor))
|
|
14951
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14952
|
-
}
|
|
14833
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
14953
14834
|
}
|
|
14954
14835
|
function _defineProperties$N(target, props) {
|
|
14955
14836
|
for(var i = 0; i < props.length; i++){
|
|
@@ -14969,9 +14850,7 @@
|
|
|
14969
14850
|
"@swc/helpers - instanceof";
|
|
14970
14851
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
14971
14852
|
return !!right[Symbol.hasInstance](left);
|
|
14972
|
-
} else
|
|
14973
|
-
return left instanceof right;
|
|
14974
|
-
}
|
|
14853
|
+
} else return left instanceof right;
|
|
14975
14854
|
}
|
|
14976
14855
|
function _type_of$K(obj) {
|
|
14977
14856
|
"@swc/helpers - typeof";
|
|
@@ -15267,7 +15146,7 @@
|
|
|
15267
15146
|
activityId: activity.id,
|
|
15268
15147
|
objectiveId: objective.id,
|
|
15269
15148
|
globalState: globalObjective,
|
|
15270
|
-
synchronizationTime: /* @__PURE__ */ new Date().toISOString()
|
|
15149
|
+
synchronizationTime: (/* @__PURE__ */ new Date()).toISOString()
|
|
15271
15150
|
});
|
|
15272
15151
|
}
|
|
15273
15152
|
} catch (err) {
|
|
@@ -15424,7 +15303,7 @@
|
|
|
15424
15303
|
objectiveId: objective.id,
|
|
15425
15304
|
localState: localObjective,
|
|
15426
15305
|
globalState: globalObjective,
|
|
15427
|
-
synchronizationTime: /* @__PURE__ */ new Date().toISOString()
|
|
15306
|
+
synchronizationTime: (/* @__PURE__ */ new Date()).toISOString()
|
|
15428
15307
|
});
|
|
15429
15308
|
} catch (error) {
|
|
15430
15309
|
var _this_eventCallback1, _this1;
|
|
@@ -15432,7 +15311,7 @@
|
|
|
15432
15311
|
activityId: activity.id,
|
|
15433
15312
|
objectiveId: objective.id,
|
|
15434
15313
|
error: _instanceof$9(error, Error) ? error.message : String(error),
|
|
15435
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
15314
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
15436
15315
|
});
|
|
15437
15316
|
}
|
|
15438
15317
|
}
|
|
@@ -15646,7 +15525,7 @@
|
|
|
15646
15525
|
(_this_eventCallback = (_this = this).eventCallback) === null || _this_eventCallback === void 0 ? void 0 : _this_eventCallback.call(_this, "attempt_data_update_error", {
|
|
15647
15526
|
activityId: activity.id,
|
|
15648
15527
|
error: _instanceof$9(error, Error) ? error.message : String(error),
|
|
15649
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
15528
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
15650
15529
|
});
|
|
15651
15530
|
}
|
|
15652
15531
|
}
|
|
@@ -15703,9 +15582,7 @@
|
|
|
15703
15582
|
if (Array.isArray(arr)) return _array_like_to_array$e(arr);
|
|
15704
15583
|
}
|
|
15705
15584
|
function _class_call_check$M(instance, Constructor) {
|
|
15706
|
-
if (!(instance instanceof Constructor))
|
|
15707
|
-
throw new TypeError("Cannot call a class as a function");
|
|
15708
|
-
}
|
|
15585
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15709
15586
|
}
|
|
15710
15587
|
function _defineProperties$M(target, props) {
|
|
15711
15588
|
for(var i = 0; i < props.length; i++){
|
|
@@ -15724,15 +15601,15 @@
|
|
|
15724
15601
|
"@swc/helpers - instanceof";
|
|
15725
15602
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
15726
15603
|
return !!right[Symbol.hasInstance](left);
|
|
15727
|
-
} else
|
|
15728
|
-
return left instanceof right;
|
|
15729
|
-
}
|
|
15604
|
+
} else return left instanceof right;
|
|
15730
15605
|
}
|
|
15731
15606
|
function _iterable_to_array$8(iter) {
|
|
15732
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
15607
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
15608
|
+
return Array.from(iter);
|
|
15609
|
+
}
|
|
15733
15610
|
}
|
|
15734
15611
|
function _non_iterable_spread$8() {
|
|
15735
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
15612
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15736
15613
|
}
|
|
15737
15614
|
function _to_consumable_array$8(arr) {
|
|
15738
15615
|
return _array_without_holes$8(arr) || _iterable_to_array$8(arr) || _unsupported_iterable_to_array$e(arr) || _non_iterable_spread$8();
|
|
@@ -15784,7 +15661,7 @@
|
|
|
15784
15661
|
var _this_eventCallback, _this, _this_eventCallback1, _this1;
|
|
15785
15662
|
(_this_eventCallback = (_this = this).eventCallback) === null || _this_eventCallback === void 0 ? void 0 : _this_eventCallback.call(_this, "rollup_validation_started", {
|
|
15786
15663
|
activityId: rootActivity.id,
|
|
15787
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
15664
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
15788
15665
|
});
|
|
15789
15666
|
var inconsistencies = [];
|
|
15790
15667
|
this.validateActivityRollupState(rootActivity, inconsistencies);
|
|
@@ -15881,7 +15758,7 @@
|
|
|
15881
15758
|
}
|
|
15882
15759
|
this.rollupStateLog.push({
|
|
15883
15760
|
activity: activityId,
|
|
15884
|
-
timestamp: /* @__PURE__ */ new Date().toISOString(),
|
|
15761
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
15885
15762
|
state: {
|
|
15886
15763
|
measureStatus: activity.objectiveMeasureStatus,
|
|
15887
15764
|
measure: activity.objectiveNormalizedMeasure,
|
|
@@ -15914,9 +15791,7 @@
|
|
|
15914
15791
|
}();
|
|
15915
15792
|
|
|
15916
15793
|
function _class_call_check$L(instance, Constructor) {
|
|
15917
|
-
if (!(instance instanceof Constructor))
|
|
15918
|
-
throw new TypeError("Cannot call a class as a function");
|
|
15919
|
-
}
|
|
15794
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15920
15795
|
}
|
|
15921
15796
|
function _defineProperties$L(target, props) {
|
|
15922
15797
|
for(var i = 0; i < props.length; i++){
|
|
@@ -16176,9 +16051,7 @@
|
|
|
16176
16051
|
}
|
|
16177
16052
|
|
|
16178
16053
|
function _class_call_check$K(instance, Constructor) {
|
|
16179
|
-
if (!(instance instanceof Constructor))
|
|
16180
|
-
throw new TypeError("Cannot call a class as a function");
|
|
16181
|
-
}
|
|
16054
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
16182
16055
|
}
|
|
16183
16056
|
function _defineProperties$K(target, props) {
|
|
16184
16057
|
for(var i = 0; i < props.length; i++){
|
|
@@ -16257,7 +16130,7 @@
|
|
|
16257
16130
|
this.transferNonPrimaryObjectives(activity, cmiData);
|
|
16258
16131
|
this.context.fireEvent("onRteDataTransfer", {
|
|
16259
16132
|
activityId: activity.id,
|
|
16260
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
16133
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
16261
16134
|
});
|
|
16262
16135
|
}
|
|
16263
16136
|
},
|
|
@@ -16493,9 +16366,7 @@
|
|
|
16493
16366
|
}();
|
|
16494
16367
|
|
|
16495
16368
|
function _class_call_check$J(instance, Constructor) {
|
|
16496
|
-
if (!(instance instanceof Constructor))
|
|
16497
|
-
throw new TypeError("Cannot call a class as a function");
|
|
16498
|
-
}
|
|
16369
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
16499
16370
|
}
|
|
16500
16371
|
function _defineProperties$J(target, props) {
|
|
16501
16372
|
for(var i = 0; i < props.length; i++){
|
|
@@ -16924,7 +16795,7 @@
|
|
|
16924
16795
|
return a.id;
|
|
16925
16796
|
}),
|
|
16926
16797
|
pathLength: activityPath.length,
|
|
16927
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
16798
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
16928
16799
|
});
|
|
16929
16800
|
return {
|
|
16930
16801
|
terminationRequest: SequencingRequestType.SUSPEND_ALL,
|
|
@@ -17001,7 +16872,7 @@
|
|
|
17001
16872
|
activity: activity.id,
|
|
17002
16873
|
sequencingRequest: postResult.sequencingRequest,
|
|
17003
16874
|
terminationRequest: postResult.terminationRequest,
|
|
17004
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
16875
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
17005
16876
|
});
|
|
17006
16877
|
}
|
|
17007
16878
|
return postResult;
|
|
@@ -17311,7 +17182,7 @@
|
|
|
17311
17182
|
activity.wasAutoCompleted = true;
|
|
17312
17183
|
this.fireEvent("onAutoCompletion", {
|
|
17313
17184
|
activityId: activity.id,
|
|
17314
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
17185
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
17315
17186
|
});
|
|
17316
17187
|
}
|
|
17317
17188
|
}
|
|
@@ -17326,7 +17197,7 @@
|
|
|
17326
17197
|
activity.wasAutoSatisfied = true;
|
|
17327
17198
|
this.fireEvent("onAutoSatisfaction", {
|
|
17328
17199
|
activityId: activity.id,
|
|
17329
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
17200
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
17330
17201
|
});
|
|
17331
17202
|
}
|
|
17332
17203
|
}
|
|
@@ -17386,9 +17257,7 @@
|
|
|
17386
17257
|
if (Array.isArray(arr)) return _array_like_to_array$d(arr);
|
|
17387
17258
|
}
|
|
17388
17259
|
function _class_call_check$I(instance, Constructor) {
|
|
17389
|
-
if (!(instance instanceof Constructor))
|
|
17390
|
-
throw new TypeError("Cannot call a class as a function");
|
|
17391
|
-
}
|
|
17260
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
17392
17261
|
}
|
|
17393
17262
|
function _defineProperties$I(target, props) {
|
|
17394
17263
|
for(var i = 0; i < props.length; i++){
|
|
@@ -17411,16 +17280,16 @@
|
|
|
17411
17280
|
configurable: true,
|
|
17412
17281
|
writable: true
|
|
17413
17282
|
});
|
|
17414
|
-
} else
|
|
17415
|
-
obj[key] = value;
|
|
17416
|
-
}
|
|
17283
|
+
} else obj[key] = value;
|
|
17417
17284
|
return obj;
|
|
17418
17285
|
}
|
|
17419
17286
|
function _iterable_to_array$7(iter) {
|
|
17420
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
17287
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
17288
|
+
return Array.from(iter);
|
|
17289
|
+
}
|
|
17421
17290
|
}
|
|
17422
17291
|
function _non_iterable_spread$7() {
|
|
17423
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
17292
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
17424
17293
|
}
|
|
17425
17294
|
function _object_spread$a(target) {
|
|
17426
17295
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -17583,7 +17452,7 @@
|
|
|
17583
17452
|
value: function processDeliveryRequest(activity) {
|
|
17584
17453
|
this.fireEvent("onDeliveryRequestProcessing", {
|
|
17585
17454
|
activity: activity.id,
|
|
17586
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
17455
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
17587
17456
|
});
|
|
17588
17457
|
if (activity.children.length > 0) {
|
|
17589
17458
|
return new DeliveryRequest(false, null, "DB.1.1-1");
|
|
@@ -17948,9 +17817,7 @@
|
|
|
17948
17817
|
var DeliveryHandler = _DeliveryHandler;
|
|
17949
17818
|
|
|
17950
17819
|
function _class_call_check$H(instance, Constructor) {
|
|
17951
|
-
if (!(instance instanceof Constructor))
|
|
17952
|
-
throw new TypeError("Cannot call a class as a function");
|
|
17953
|
-
}
|
|
17820
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
17954
17821
|
}
|
|
17955
17822
|
function _defineProperties$H(target, props) {
|
|
17956
17823
|
for(var i = 0; i < props.length; i++){
|
|
@@ -18443,9 +18310,7 @@
|
|
|
18443
18310
|
}();
|
|
18444
18311
|
|
|
18445
18312
|
function _class_call_check$G(instance, Constructor) {
|
|
18446
|
-
if (!(instance instanceof Constructor))
|
|
18447
|
-
throw new TypeError("Cannot call a class as a function");
|
|
18448
|
-
}
|
|
18313
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
18449
18314
|
}
|
|
18450
18315
|
function _defineProperties$G(target, props) {
|
|
18451
18316
|
for(var i = 0; i < props.length; i++){
|
|
@@ -19324,9 +19189,7 @@
|
|
|
19324
19189
|
if (Array.isArray(arr)) return arr;
|
|
19325
19190
|
}
|
|
19326
19191
|
function _class_call_check$F(instance, Constructor) {
|
|
19327
|
-
if (!(instance instanceof Constructor))
|
|
19328
|
-
throw new TypeError("Cannot call a class as a function");
|
|
19329
|
-
}
|
|
19192
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
19330
19193
|
}
|
|
19331
19194
|
function _defineProperties$F(target, props) {
|
|
19332
19195
|
for(var i = 0; i < props.length; i++){
|
|
@@ -19349,18 +19212,14 @@
|
|
|
19349
19212
|
configurable: true,
|
|
19350
19213
|
writable: true
|
|
19351
19214
|
});
|
|
19352
|
-
} else
|
|
19353
|
-
obj[key] = value;
|
|
19354
|
-
}
|
|
19215
|
+
} else obj[key] = value;
|
|
19355
19216
|
return obj;
|
|
19356
19217
|
}
|
|
19357
19218
|
function _instanceof$7(left, right) {
|
|
19358
19219
|
"@swc/helpers - instanceof";
|
|
19359
19220
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
19360
19221
|
return !!right[Symbol.hasInstance](left);
|
|
19361
|
-
} else
|
|
19362
|
-
return left instanceof right;
|
|
19363
|
-
}
|
|
19222
|
+
} else return left instanceof right;
|
|
19364
19223
|
}
|
|
19365
19224
|
function _iterable_to_array_limit$6(arr, i) {
|
|
19366
19225
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
@@ -19387,7 +19246,7 @@
|
|
|
19387
19246
|
return _arr;
|
|
19388
19247
|
}
|
|
19389
19248
|
function _non_iterable_rest$6() {
|
|
19390
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
19249
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
19391
19250
|
}
|
|
19392
19251
|
function _object_spread$9(target) {
|
|
19393
19252
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -19414,9 +19273,8 @@
|
|
|
19414
19273
|
}
|
|
19415
19274
|
function _object_spread_props$2(target, source) {
|
|
19416
19275
|
source = source != null ? source : {};
|
|
19417
|
-
if (Object.getOwnPropertyDescriptors)
|
|
19418
|
-
|
|
19419
|
-
} else {
|
|
19276
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
19277
|
+
else {
|
|
19420
19278
|
ownKeys$2(Object(source)).forEach(function(key) {
|
|
19421
19279
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
19422
19280
|
});
|
|
@@ -19472,12 +19330,12 @@
|
|
|
19472
19330
|
}
|
|
19473
19331
|
this.fireEvent("onGlobalObjectiveMapInitialized", {
|
|
19474
19332
|
objectiveCount: this.globalObjectiveMap.size,
|
|
19475
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
19333
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
19476
19334
|
});
|
|
19477
19335
|
} catch (error) {
|
|
19478
19336
|
this.fireEvent("onGlobalObjectiveMapError", {
|
|
19479
19337
|
error: _instanceof$7(error, Error) ? error.message : String(error),
|
|
19480
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
19338
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
19481
19339
|
});
|
|
19482
19340
|
}
|
|
19483
19341
|
}
|
|
@@ -19684,18 +19542,18 @@
|
|
|
19684
19542
|
value: function updateObjective(objectiveId, objectiveData) {
|
|
19685
19543
|
try {
|
|
19686
19544
|
this.globalObjectiveMap.set(objectiveId, _object_spread_props$2(_object_spread$9({}, this.globalObjectiveMap.get(objectiveId), objectiveData), {
|
|
19687
|
-
lastUpdated: /* @__PURE__ */ new Date().toISOString()
|
|
19545
|
+
lastUpdated: (/* @__PURE__ */ new Date()).toISOString()
|
|
19688
19546
|
}));
|
|
19689
19547
|
this.fireEvent("onGlobalObjectiveUpdated", {
|
|
19690
19548
|
objectiveId: objectiveId,
|
|
19691
19549
|
data: objectiveData,
|
|
19692
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
19550
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
19693
19551
|
});
|
|
19694
19552
|
} catch (error) {
|
|
19695
19553
|
this.fireEvent("onGlobalObjectiveUpdateError", {
|
|
19696
19554
|
objectiveId: objectiveId,
|
|
19697
19555
|
error: _instanceof$7(error, Error) ? error.message : String(error),
|
|
19698
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
19556
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
19699
19557
|
});
|
|
19700
19558
|
}
|
|
19701
19559
|
}
|
|
@@ -19760,7 +19618,7 @@
|
|
|
19760
19618
|
value: function clear() {
|
|
19761
19619
|
this.globalObjectiveMap.clear();
|
|
19762
19620
|
this.fireEvent("onGlobalObjectiveMapCleared", {
|
|
19763
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
19621
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
19764
19622
|
});
|
|
19765
19623
|
}
|
|
19766
19624
|
},
|
|
@@ -19809,7 +19667,7 @@
|
|
|
19809
19667
|
}
|
|
19810
19668
|
this.fireEvent("onGlobalObjectiveMapRestored", {
|
|
19811
19669
|
objectiveCount: this.globalObjectiveMap.size,
|
|
19812
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
19670
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
19813
19671
|
});
|
|
19814
19672
|
}
|
|
19815
19673
|
},
|
|
@@ -19834,9 +19692,7 @@
|
|
|
19834
19692
|
}();
|
|
19835
19693
|
|
|
19836
19694
|
function _class_call_check$E(instance, Constructor) {
|
|
19837
|
-
if (!(instance instanceof Constructor))
|
|
19838
|
-
throw new TypeError("Cannot call a class as a function");
|
|
19839
|
-
}
|
|
19695
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
19840
19696
|
}
|
|
19841
19697
|
function _defineProperties$E(target, props) {
|
|
19842
19698
|
for(var i = 0; i < props.length; i++){
|
|
@@ -19855,9 +19711,7 @@
|
|
|
19855
19711
|
"@swc/helpers - instanceof";
|
|
19856
19712
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
19857
19713
|
return !!right[Symbol.hasInstance](left);
|
|
19858
|
-
} else
|
|
19859
|
-
return left instanceof right;
|
|
19860
|
-
}
|
|
19714
|
+
} else return left instanceof right;
|
|
19861
19715
|
}
|
|
19862
19716
|
function _type_of$B(obj) {
|
|
19863
19717
|
"@swc/helpers - typeof";
|
|
@@ -19930,7 +19784,7 @@
|
|
|
19930
19784
|
var _this_activityTree_currentActivity, _this_activityTree_suspendedActivity;
|
|
19931
19785
|
return {
|
|
19932
19786
|
version: "1.0",
|
|
19933
|
-
timestamp: /* @__PURE__ */ new Date().toISOString(),
|
|
19787
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
19934
19788
|
contentDelivered: this.contentDeliveredGetter ? this.contentDeliveredGetter() : false,
|
|
19935
19789
|
currentActivity: ((_this_activityTree_currentActivity = this.activityTree.currentActivity) === null || _this_activityTree_currentActivity === void 0 ? void 0 : _this_activityTree_currentActivity.id) || null,
|
|
19936
19790
|
suspendedActivity: ((_this_activityTree_suspendedActivity = this.activityTree.suspendedActivity) === null || _this_activityTree_suspendedActivity === void 0 ? void 0 : _this_activityTree_suspendedActivity.id) || null,
|
|
@@ -20255,7 +20109,7 @@
|
|
|
20255
20109
|
currentActivityId: ((_this_activityTree_currentActivity = this.activityTree.currentActivity) === null || _this_activityTree_currentActivity === void 0 ? void 0 : _this_activityTree_currentActivity.id) || null,
|
|
20256
20110
|
suspendedActivityId: ((_this_activityTree_suspendedActivity = this.activityTree.suspendedActivity) === null || _this_activityTree_suspendedActivity === void 0 ? void 0 : _this_activityTree_suspendedActivity.id) || null,
|
|
20257
20111
|
globalObjectives: this.globalObjectiveService.getSnapshot(),
|
|
20258
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
20112
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
20259
20113
|
};
|
|
20260
20114
|
this.fireEvent("onSuspensionStateCaptured", {
|
|
20261
20115
|
hasActivityTree: !!state.activityTree,
|
|
@@ -20277,7 +20131,7 @@
|
|
|
20277
20131
|
if (!state) {
|
|
20278
20132
|
this.fireEvent("onSuspensionStateRestoreError", {
|
|
20279
20133
|
error: "No suspension state provided",
|
|
20280
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
20134
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
20281
20135
|
});
|
|
20282
20136
|
return;
|
|
20283
20137
|
}
|
|
@@ -20305,12 +20159,12 @@
|
|
|
20305
20159
|
suspendedActivityId: state.suspendedActivityId,
|
|
20306
20160
|
globalObjectiveCount: state.globalObjectives ? Object.keys(state.globalObjectives).length : 0,
|
|
20307
20161
|
originalTimestamp: state.timestamp,
|
|
20308
|
-
restoreTimestamp: /* @__PURE__ */ new Date().toISOString()
|
|
20162
|
+
restoreTimestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
20309
20163
|
});
|
|
20310
20164
|
} catch (error) {
|
|
20311
20165
|
this.fireEvent("onSuspensionStateRestoreError", {
|
|
20312
20166
|
error: _instanceof$6(error, Error) ? error.message : String(error),
|
|
20313
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
20167
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
20314
20168
|
});
|
|
20315
20169
|
throw error;
|
|
20316
20170
|
}
|
|
@@ -20345,9 +20199,7 @@
|
|
|
20345
20199
|
if (Array.isArray(arr)) return _array_like_to_array$b(arr);
|
|
20346
20200
|
}
|
|
20347
20201
|
function _class_call_check$D(instance, Constructor) {
|
|
20348
|
-
if (!(instance instanceof Constructor))
|
|
20349
|
-
throw new TypeError("Cannot call a class as a function");
|
|
20350
|
-
}
|
|
20202
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
20351
20203
|
}
|
|
20352
20204
|
function _defineProperties$D(target, props) {
|
|
20353
20205
|
for(var i = 0; i < props.length; i++){
|
|
@@ -20363,10 +20215,12 @@
|
|
|
20363
20215
|
return Constructor;
|
|
20364
20216
|
}
|
|
20365
20217
|
function _iterable_to_array$6(iter) {
|
|
20366
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
20218
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
20219
|
+
return Array.from(iter);
|
|
20220
|
+
}
|
|
20367
20221
|
}
|
|
20368
20222
|
function _non_iterable_spread$6() {
|
|
20369
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
20223
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
20370
20224
|
}
|
|
20371
20225
|
function _to_consumable_array$6(arr) {
|
|
20372
20226
|
return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$b(arr) || _non_iterable_spread$6();
|
|
@@ -21314,9 +21168,7 @@
|
|
|
21314
21168
|
}();
|
|
21315
21169
|
|
|
21316
21170
|
function _class_call_check$C(instance, Constructor) {
|
|
21317
|
-
if (!(instance instanceof Constructor))
|
|
21318
|
-
throw new TypeError("Cannot call a class as a function");
|
|
21319
|
-
}
|
|
21171
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
21320
21172
|
}
|
|
21321
21173
|
function _defineProperties$C(target, props) {
|
|
21322
21174
|
for(var i = 0; i < props.length; i++){
|
|
@@ -21857,9 +21709,7 @@
|
|
|
21857
21709
|
if (Array.isArray(arr)) return _array_like_to_array$a(arr);
|
|
21858
21710
|
}
|
|
21859
21711
|
function _class_call_check$B(instance, Constructor) {
|
|
21860
|
-
if (!(instance instanceof Constructor))
|
|
21861
|
-
throw new TypeError("Cannot call a class as a function");
|
|
21862
|
-
}
|
|
21712
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
21863
21713
|
}
|
|
21864
21714
|
function _defineProperties$B(target, props) {
|
|
21865
21715
|
for(var i = 0; i < props.length; i++){
|
|
@@ -21882,16 +21732,16 @@
|
|
|
21882
21732
|
configurable: true,
|
|
21883
21733
|
writable: true
|
|
21884
21734
|
});
|
|
21885
|
-
} else
|
|
21886
|
-
obj[key] = value;
|
|
21887
|
-
}
|
|
21735
|
+
} else obj[key] = value;
|
|
21888
21736
|
return obj;
|
|
21889
21737
|
}
|
|
21890
21738
|
function _iterable_to_array$5(iter) {
|
|
21891
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
21739
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
21740
|
+
return Array.from(iter);
|
|
21741
|
+
}
|
|
21892
21742
|
}
|
|
21893
21743
|
function _non_iterable_spread$5() {
|
|
21894
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
21744
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
21895
21745
|
}
|
|
21896
21746
|
function _object_spread$8(target) {
|
|
21897
21747
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -22583,12 +22433,12 @@
|
|
|
22583
22433
|
var listener = this.eventListeners["onSequencingDebug"];
|
|
22584
22434
|
if (listener && typeof listener === "function") {
|
|
22585
22435
|
listener(event, _object_spread$8({
|
|
22586
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
22436
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
22587
22437
|
}, data));
|
|
22588
22438
|
}
|
|
22589
22439
|
try {
|
|
22590
22440
|
this.eventService.processListeners("Sequencing.onSequencingDebug", event, _object_spread$8({
|
|
22591
|
-
timestamp: /* @__PURE__ */ new Date().toISOString()
|
|
22441
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
22592
22442
|
}, data));
|
|
22593
22443
|
} catch (eventServiceError) {}
|
|
22594
22444
|
} catch (error) {
|
|
@@ -22727,9 +22577,7 @@
|
|
|
22727
22577
|
}();
|
|
22728
22578
|
|
|
22729
22579
|
function _class_call_check$A(instance, Constructor) {
|
|
22730
|
-
if (!(instance instanceof Constructor))
|
|
22731
|
-
throw new TypeError("Cannot call a class as a function");
|
|
22732
|
-
}
|
|
22580
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
22733
22581
|
}
|
|
22734
22582
|
function _defineProperties$A(target, props) {
|
|
22735
22583
|
for(var i = 0; i < props.length; i++){
|
|
@@ -23009,9 +22857,7 @@
|
|
|
23009
22857
|
if (Array.isArray(arr)) return arr;
|
|
23010
22858
|
}
|
|
23011
22859
|
function _class_call_check$z(instance, Constructor) {
|
|
23012
|
-
if (!(instance instanceof Constructor))
|
|
23013
|
-
throw new TypeError("Cannot call a class as a function");
|
|
23014
|
-
}
|
|
22860
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
23015
22861
|
}
|
|
23016
22862
|
function _defineProperties$z(target, props) {
|
|
23017
22863
|
for(var i = 0; i < props.length; i++){
|
|
@@ -23030,9 +22876,7 @@
|
|
|
23030
22876
|
"@swc/helpers - instanceof";
|
|
23031
22877
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
23032
22878
|
return !!right[Symbol.hasInstance](left);
|
|
23033
|
-
} else
|
|
23034
|
-
return left instanceof right;
|
|
23035
|
-
}
|
|
22879
|
+
} else return left instanceof right;
|
|
23036
22880
|
}
|
|
23037
22881
|
function _iterable_to_array_limit$5(arr, i) {
|
|
23038
22882
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
@@ -23059,7 +22903,7 @@
|
|
|
23059
22903
|
return _arr;
|
|
23060
22904
|
}
|
|
23061
22905
|
function _non_iterable_rest$5() {
|
|
23062
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
22906
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
23063
22907
|
}
|
|
23064
22908
|
function _sliced_to_array$5(arr, i) {
|
|
23065
22909
|
return _array_with_holes$5(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$9(arr, i) || _non_iterable_rest$5();
|
|
@@ -23137,10 +22981,12 @@
|
|
|
23137
22981
|
var handledPayload = metadata === void 0 ? this.settings.requestHandler(params) : this.settings.requestHandler(params, metadata);
|
|
23138
22982
|
var requestPayload = handledPayload !== null && handledPayload !== void 0 ? handledPayload : params;
|
|
23139
22983
|
var body = this._prepareRequestBody(requestPayload).body;
|
|
22984
|
+
var beaconContentType = this.settings.terminationCommitContentType;
|
|
22985
|
+
this._warnIfBeaconContentTypeUnsafe(url, beaconContentType);
|
|
23140
22986
|
var beaconSuccess = navigator.sendBeacon(url, new Blob([
|
|
23141
22987
|
body
|
|
23142
22988
|
], {
|
|
23143
|
-
type:
|
|
22989
|
+
type: beaconContentType
|
|
23144
22990
|
}));
|
|
23145
22991
|
return {
|
|
23146
22992
|
result: beaconSuccess ? "true" : "false",
|
|
@@ -23148,6 +22994,15 @@
|
|
|
23148
22994
|
};
|
|
23149
22995
|
}
|
|
23150
22996
|
},
|
|
22997
|
+
{
|
|
22998
|
+
key: "_warnIfBeaconContentTypeUnsafe",
|
|
22999
|
+
value: function _warnIfBeaconContentTypeUnsafe(url, contentType) {
|
|
23000
|
+
if (isCrossOriginUrl(url) && !isCorsSafelistedContentType(contentType)) {
|
|
23001
|
+
var _this_settings_onLogMessage, _this_settings;
|
|
23002
|
+
(_this_settings_onLogMessage = (_this_settings = this.settings).onLogMessage) === null || _this_settings_onLogMessage === void 0 ? void 0 : _this_settings_onLogMessage.call(_this_settings, LogLevelEnum.WARN, 'sendBeacon to cross-origin URL with non-CORS-safelisted Content-Type "'.concat(contentType, '" may be silently dropped by the browser (Beacon cannot preflight). Use fetch (useAsynchronousCommits + asyncModeBeaconBehavior:"never") for cross-origin JSON/auth on terminate.'));
|
|
23003
|
+
}
|
|
23004
|
+
}
|
|
23005
|
+
},
|
|
23151
23006
|
{
|
|
23152
23007
|
/**
|
|
23153
23008
|
* Performs a synchronous XMLHttpRequest
|
|
@@ -23226,9 +23081,7 @@
|
|
|
23226
23081
|
}
|
|
23227
23082
|
|
|
23228
23083
|
function _class_call_check$y(instance, Constructor) {
|
|
23229
|
-
if (!(instance instanceof Constructor))
|
|
23230
|
-
throw new TypeError("Cannot call a class as a function");
|
|
23231
|
-
}
|
|
23084
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
23232
23085
|
}
|
|
23233
23086
|
function _defineProperties$y(target, props) {
|
|
23234
23087
|
for(var i = 0; i < props.length; i++){
|
|
@@ -23352,9 +23205,7 @@
|
|
|
23352
23205
|
if (Array.isArray(arr)) return _array_like_to_array$8(arr);
|
|
23353
23206
|
}
|
|
23354
23207
|
function _class_call_check$x(instance, Constructor) {
|
|
23355
|
-
if (!(instance instanceof Constructor))
|
|
23356
|
-
throw new TypeError("Cannot call a class as a function");
|
|
23357
|
-
}
|
|
23208
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
23358
23209
|
}
|
|
23359
23210
|
function _defineProperties$x(target, props) {
|
|
23360
23211
|
for(var i = 0; i < props.length; i++){
|
|
@@ -23377,24 +23228,22 @@
|
|
|
23377
23228
|
configurable: true,
|
|
23378
23229
|
writable: true
|
|
23379
23230
|
});
|
|
23380
|
-
} else
|
|
23381
|
-
obj[key] = value;
|
|
23382
|
-
}
|
|
23231
|
+
} else obj[key] = value;
|
|
23383
23232
|
return obj;
|
|
23384
23233
|
}
|
|
23385
23234
|
function _instanceof$4(left, right) {
|
|
23386
23235
|
"@swc/helpers - instanceof";
|
|
23387
23236
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
23388
23237
|
return !!right[Symbol.hasInstance](left);
|
|
23389
|
-
} else
|
|
23390
|
-
return left instanceof right;
|
|
23391
|
-
}
|
|
23238
|
+
} else return left instanceof right;
|
|
23392
23239
|
}
|
|
23393
23240
|
function _iterable_to_array$4(iter) {
|
|
23394
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
23241
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
23242
|
+
return Array.from(iter);
|
|
23243
|
+
}
|
|
23395
23244
|
}
|
|
23396
23245
|
function _non_iterable_spread$4() {
|
|
23397
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
23246
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
23398
23247
|
}
|
|
23399
23248
|
function _object_spread$7(target) {
|
|
23400
23249
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -23421,9 +23270,8 @@
|
|
|
23421
23270
|
}
|
|
23422
23271
|
function _object_spread_props$1(target, source) {
|
|
23423
23272
|
source = source != null ? source : {};
|
|
23424
|
-
if (Object.getOwnPropertyDescriptors)
|
|
23425
|
-
|
|
23426
|
-
} else {
|
|
23273
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
23274
|
+
else {
|
|
23427
23275
|
ownKeys$1(Object(source)).forEach(function(key) {
|
|
23428
23276
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
23429
23277
|
});
|
|
@@ -24371,8 +24219,8 @@
|
|
|
24371
24219
|
* // Throw a "not initialized" error
|
|
24372
24220
|
* this.throwSCORMError(301, "The API must be initialized before calling GetValue");
|
|
24373
24221
|
*/ key: "throwSCORMError",
|
|
24374
|
-
value: function throwSCORMError(CMIElement, errorNumber, message) {
|
|
24375
|
-
this._errorHandlingService.throwSCORMError(CMIElement, errorNumber !== null && errorNumber !== void 0 ? errorNumber : 0, message);
|
|
24222
|
+
value: function throwSCORMError(CMIElement, errorNumber, message, messageLevel) {
|
|
24223
|
+
this._errorHandlingService.throwSCORMError(CMIElement, errorNumber !== null && errorNumber !== void 0 ? errorNumber : 0, message, messageLevel);
|
|
24376
24224
|
}
|
|
24377
24225
|
},
|
|
24378
24226
|
{
|
|
@@ -24755,9 +24603,7 @@
|
|
|
24755
24603
|
}();
|
|
24756
24604
|
|
|
24757
24605
|
function _assert_this_initialized$p(self) {
|
|
24758
|
-
if (self === void 0)
|
|
24759
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
24760
|
-
}
|
|
24606
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
24761
24607
|
return self;
|
|
24762
24608
|
}
|
|
24763
24609
|
function _call_super$p(_this, derived, args) {
|
|
@@ -24765,9 +24611,7 @@
|
|
|
24765
24611
|
return _possible_constructor_return$p(_this, _is_native_reflect_construct$p() ? Reflect.construct(derived, args || [], _get_prototype_of$p(_this).constructor) : derived.apply(_this, args));
|
|
24766
24612
|
}
|
|
24767
24613
|
function _class_call_check$w(instance, Constructor) {
|
|
24768
|
-
if (!(instance instanceof Constructor))
|
|
24769
|
-
throw new TypeError("Cannot call a class as a function");
|
|
24770
|
-
}
|
|
24614
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
24771
24615
|
}
|
|
24772
24616
|
function _defineProperties$w(target, props) {
|
|
24773
24617
|
for(var i = 0; i < props.length; i++){
|
|
@@ -24801,10 +24645,16 @@
|
|
|
24801
24645
|
});
|
|
24802
24646
|
if (superClass) _set_prototype_of$p(subClass, superClass);
|
|
24803
24647
|
}
|
|
24648
|
+
function _is_native_reflect_construct$p() {
|
|
24649
|
+
try {
|
|
24650
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
24651
|
+
} catch (_) {}
|
|
24652
|
+
return (_is_native_reflect_construct$p = function() {
|
|
24653
|
+
return !!result;
|
|
24654
|
+
})();
|
|
24655
|
+
}
|
|
24804
24656
|
function _possible_constructor_return$p(self, call) {
|
|
24805
|
-
if (call && (_type_of$v(call) === "object" || typeof call === "function"))
|
|
24806
|
-
return call;
|
|
24807
|
-
}
|
|
24657
|
+
if (call && (_type_of$v(call) === "object" || typeof call === "function")) return call;
|
|
24808
24658
|
return _assert_this_initialized$p(self);
|
|
24809
24659
|
}
|
|
24810
24660
|
function _set_prototype_of$p(o, p) {
|
|
@@ -24818,14 +24668,6 @@
|
|
|
24818
24668
|
"@swc/helpers - typeof";
|
|
24819
24669
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
24820
24670
|
}
|
|
24821
|
-
function _is_native_reflect_construct$p() {
|
|
24822
|
-
try {
|
|
24823
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
24824
|
-
} catch (_) {}
|
|
24825
|
-
return (_is_native_reflect_construct$p = function() {
|
|
24826
|
-
return !!result;
|
|
24827
|
-
})();
|
|
24828
|
-
}
|
|
24829
24671
|
var __defProp$v = Object.defineProperty;
|
|
24830
24672
|
var __defNormalProp$v = function __defNormalProp(obj, key, value) {
|
|
24831
24673
|
return key in obj ? __defProp$v(obj, key, {
|
|
@@ -25003,9 +24845,7 @@
|
|
|
25003
24845
|
}(BaseCMI);
|
|
25004
24846
|
|
|
25005
24847
|
function _assert_this_initialized$o(self) {
|
|
25006
|
-
if (self === void 0)
|
|
25007
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
25008
|
-
}
|
|
24848
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
25009
24849
|
return self;
|
|
25010
24850
|
}
|
|
25011
24851
|
function _call_super$o(_this, derived, args) {
|
|
@@ -25013,9 +24853,7 @@
|
|
|
25013
24853
|
return _possible_constructor_return$o(_this, _is_native_reflect_construct$o() ? Reflect.construct(derived, args || [], _get_prototype_of$o(_this).constructor) : derived.apply(_this, args));
|
|
25014
24854
|
}
|
|
25015
24855
|
function _class_call_check$v(instance, Constructor) {
|
|
25016
|
-
if (!(instance instanceof Constructor))
|
|
25017
|
-
throw new TypeError("Cannot call a class as a function");
|
|
25018
|
-
}
|
|
24856
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
25019
24857
|
}
|
|
25020
24858
|
function _defineProperties$v(target, props) {
|
|
25021
24859
|
for(var i = 0; i < props.length; i++){
|
|
@@ -25031,16 +24869,13 @@
|
|
|
25031
24869
|
return Constructor;
|
|
25032
24870
|
}
|
|
25033
24871
|
function _get$9(target, property, receiver) {
|
|
25034
|
-
if (typeof Reflect !== "undefined" && Reflect.get)
|
|
25035
|
-
|
|
25036
|
-
} else {
|
|
24872
|
+
if (typeof Reflect !== "undefined" && Reflect.get) _get$9 = Reflect.get;
|
|
24873
|
+
else {
|
|
25037
24874
|
_get$9 = function get(target, property, receiver) {
|
|
25038
24875
|
var base = _super_prop_base$9(target, property);
|
|
25039
24876
|
if (!base) return;
|
|
25040
24877
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
25041
|
-
if (desc.get)
|
|
25042
|
-
return desc.get.call(receiver || target);
|
|
25043
|
-
}
|
|
24878
|
+
if (desc.get) return desc.get.call(receiver || target);
|
|
25044
24879
|
return desc.value;
|
|
25045
24880
|
};
|
|
25046
24881
|
}
|
|
@@ -25065,10 +24900,16 @@
|
|
|
25065
24900
|
});
|
|
25066
24901
|
if (superClass) _set_prototype_of$o(subClass, superClass);
|
|
25067
24902
|
}
|
|
24903
|
+
function _is_native_reflect_construct$o() {
|
|
24904
|
+
try {
|
|
24905
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
24906
|
+
} catch (_) {}
|
|
24907
|
+
return (_is_native_reflect_construct$o = function() {
|
|
24908
|
+
return !!result;
|
|
24909
|
+
})();
|
|
24910
|
+
}
|
|
25068
24911
|
function _possible_constructor_return$o(self, call) {
|
|
25069
|
-
if (call && (_type_of$u(call) === "object" || typeof call === "function"))
|
|
25070
|
-
return call;
|
|
25071
|
-
}
|
|
24912
|
+
if (call && (_type_of$u(call) === "object" || typeof call === "function")) return call;
|
|
25072
24913
|
return _assert_this_initialized$o(self);
|
|
25073
24914
|
}
|
|
25074
24915
|
function _set_prototype_of$o(o, p) {
|
|
@@ -25089,14 +24930,6 @@
|
|
|
25089
24930
|
"@swc/helpers - typeof";
|
|
25090
24931
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
25091
24932
|
}
|
|
25092
|
-
function _is_native_reflect_construct$o() {
|
|
25093
|
-
try {
|
|
25094
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
25095
|
-
} catch (_) {}
|
|
25096
|
-
return (_is_native_reflect_construct$o = function() {
|
|
25097
|
-
return !!result;
|
|
25098
|
-
})();
|
|
25099
|
-
}
|
|
25100
24933
|
var __defProp$u = Object.defineProperty;
|
|
25101
24934
|
var __defNormalProp$u = function __defNormalProp(obj, key, value) {
|
|
25102
24935
|
return key in obj ? __defProp$u(obj, key, {
|
|
@@ -25449,7 +25282,7 @@
|
|
|
25449
25282
|
value: function getCurrentTotalTime(start_time) {
|
|
25450
25283
|
var sessionTime = this._session_time;
|
|
25451
25284
|
if (typeof start_time !== "undefined") {
|
|
25452
|
-
var seconds = /* @__PURE__ */ new Date().getTime() - start_time;
|
|
25285
|
+
var seconds = (/* @__PURE__ */ new Date()).getTime() - start_time;
|
|
25453
25286
|
sessionTime = getSecondsAsHHMMSS(seconds / 1e3);
|
|
25454
25287
|
}
|
|
25455
25288
|
return addHHMMSSTimeStrings(this._total_time, sessionTime, new RegExp(scorm12_regex.CMITimespan));
|
|
@@ -25497,9 +25330,7 @@
|
|
|
25497
25330
|
}(BaseCMI);
|
|
25498
25331
|
|
|
25499
25332
|
function _assert_this_initialized$n(self) {
|
|
25500
|
-
if (self === void 0)
|
|
25501
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
25502
|
-
}
|
|
25333
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
25503
25334
|
return self;
|
|
25504
25335
|
}
|
|
25505
25336
|
function _call_super$n(_this, derived, args) {
|
|
@@ -25507,9 +25338,7 @@
|
|
|
25507
25338
|
return _possible_constructor_return$n(_this, _is_native_reflect_construct$n() ? Reflect.construct(derived, args || [], _get_prototype_of$n(_this).constructor) : derived.apply(_this, args));
|
|
25508
25339
|
}
|
|
25509
25340
|
function _class_call_check$u(instance, Constructor) {
|
|
25510
|
-
if (!(instance instanceof Constructor))
|
|
25511
|
-
throw new TypeError("Cannot call a class as a function");
|
|
25512
|
-
}
|
|
25341
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
25513
25342
|
}
|
|
25514
25343
|
function _defineProperties$u(target, props) {
|
|
25515
25344
|
for(var i = 0; i < props.length; i++){
|
|
@@ -25543,10 +25372,16 @@
|
|
|
25543
25372
|
});
|
|
25544
25373
|
if (superClass) _set_prototype_of$n(subClass, superClass);
|
|
25545
25374
|
}
|
|
25375
|
+
function _is_native_reflect_construct$n() {
|
|
25376
|
+
try {
|
|
25377
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
25378
|
+
} catch (_) {}
|
|
25379
|
+
return (_is_native_reflect_construct$n = function() {
|
|
25380
|
+
return !!result;
|
|
25381
|
+
})();
|
|
25382
|
+
}
|
|
25546
25383
|
function _possible_constructor_return$n(self, call) {
|
|
25547
|
-
if (call && (_type_of$t(call) === "object" || typeof call === "function"))
|
|
25548
|
-
return call;
|
|
25549
|
-
}
|
|
25384
|
+
if (call && (_type_of$t(call) === "object" || typeof call === "function")) return call;
|
|
25550
25385
|
return _assert_this_initialized$n(self);
|
|
25551
25386
|
}
|
|
25552
25387
|
function _set_prototype_of$n(o, p) {
|
|
@@ -25560,14 +25395,6 @@
|
|
|
25560
25395
|
"@swc/helpers - typeof";
|
|
25561
25396
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
25562
25397
|
}
|
|
25563
|
-
function _is_native_reflect_construct$n() {
|
|
25564
|
-
try {
|
|
25565
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
25566
|
-
} catch (_) {}
|
|
25567
|
-
return (_is_native_reflect_construct$n = function() {
|
|
25568
|
-
return !!result;
|
|
25569
|
-
})();
|
|
25570
|
-
}
|
|
25571
25398
|
var __defProp$t = Object.defineProperty;
|
|
25572
25399
|
var __defNormalProp$t = function __defNormalProp(obj, key, value) {
|
|
25573
25400
|
return key in obj ? __defProp$t(obj, key, {
|
|
@@ -25705,9 +25532,7 @@
|
|
|
25705
25532
|
}(BaseCMI);
|
|
25706
25533
|
|
|
25707
25534
|
function _assert_this_initialized$m(self) {
|
|
25708
|
-
if (self === void 0)
|
|
25709
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
25710
|
-
}
|
|
25535
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
25711
25536
|
return self;
|
|
25712
25537
|
}
|
|
25713
25538
|
function _call_super$m(_this, derived, args) {
|
|
@@ -25715,9 +25540,7 @@
|
|
|
25715
25540
|
return _possible_constructor_return$m(_this, _is_native_reflect_construct$m() ? Reflect.construct(derived, args || [], _get_prototype_of$m(_this).constructor) : derived.apply(_this, args));
|
|
25716
25541
|
}
|
|
25717
25542
|
function _class_call_check$t(instance, Constructor) {
|
|
25718
|
-
if (!(instance instanceof Constructor))
|
|
25719
|
-
throw new TypeError("Cannot call a class as a function");
|
|
25720
|
-
}
|
|
25543
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
25721
25544
|
}
|
|
25722
25545
|
function _defineProperties$t(target, props) {
|
|
25723
25546
|
for(var i = 0; i < props.length; i++){
|
|
@@ -25751,10 +25574,16 @@
|
|
|
25751
25574
|
});
|
|
25752
25575
|
if (superClass) _set_prototype_of$m(subClass, superClass);
|
|
25753
25576
|
}
|
|
25577
|
+
function _is_native_reflect_construct$m() {
|
|
25578
|
+
try {
|
|
25579
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
25580
|
+
} catch (_) {}
|
|
25581
|
+
return (_is_native_reflect_construct$m = function() {
|
|
25582
|
+
return !!result;
|
|
25583
|
+
})();
|
|
25584
|
+
}
|
|
25754
25585
|
function _possible_constructor_return$m(self, call) {
|
|
25755
|
-
if (call && (_type_of$s(call) === "object" || typeof call === "function"))
|
|
25756
|
-
return call;
|
|
25757
|
-
}
|
|
25586
|
+
if (call && (_type_of$s(call) === "object" || typeof call === "function")) return call;
|
|
25758
25587
|
return _assert_this_initialized$m(self);
|
|
25759
25588
|
}
|
|
25760
25589
|
function _set_prototype_of$m(o, p) {
|
|
@@ -25768,14 +25597,6 @@
|
|
|
25768
25597
|
"@swc/helpers - typeof";
|
|
25769
25598
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
25770
25599
|
}
|
|
25771
|
-
function _is_native_reflect_construct$m() {
|
|
25772
|
-
try {
|
|
25773
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
25774
|
-
} catch (_) {}
|
|
25775
|
-
return (_is_native_reflect_construct$m = function() {
|
|
25776
|
-
return !!result;
|
|
25777
|
-
})();
|
|
25778
|
-
}
|
|
25779
25600
|
var __defProp$s = Object.defineProperty;
|
|
25780
25601
|
var __defNormalProp$s = function __defNormalProp(obj, key, value) {
|
|
25781
25602
|
return key in obj ? __defProp$s(obj, key, {
|
|
@@ -25945,9 +25766,7 @@
|
|
|
25945
25766
|
}(BaseCMI);
|
|
25946
25767
|
|
|
25947
25768
|
function _assert_this_initialized$l(self) {
|
|
25948
|
-
if (self === void 0)
|
|
25949
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
25950
|
-
}
|
|
25769
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
25951
25770
|
return self;
|
|
25952
25771
|
}
|
|
25953
25772
|
function _call_super$l(_this, derived, args) {
|
|
@@ -25955,9 +25774,7 @@
|
|
|
25955
25774
|
return _possible_constructor_return$l(_this, _is_native_reflect_construct$l() ? Reflect.construct(derived, args || [], _get_prototype_of$l(_this).constructor) : derived.apply(_this, args));
|
|
25956
25775
|
}
|
|
25957
25776
|
function _class_call_check$s(instance, Constructor) {
|
|
25958
|
-
if (!(instance instanceof Constructor))
|
|
25959
|
-
throw new TypeError("Cannot call a class as a function");
|
|
25960
|
-
}
|
|
25777
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
25961
25778
|
}
|
|
25962
25779
|
function _defineProperties$s(target, props) {
|
|
25963
25780
|
for(var i = 0; i < props.length; i++){
|
|
@@ -25991,10 +25808,16 @@
|
|
|
25991
25808
|
});
|
|
25992
25809
|
if (superClass) _set_prototype_of$l(subClass, superClass);
|
|
25993
25810
|
}
|
|
25811
|
+
function _is_native_reflect_construct$l() {
|
|
25812
|
+
try {
|
|
25813
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
25814
|
+
} catch (_) {}
|
|
25815
|
+
return (_is_native_reflect_construct$l = function() {
|
|
25816
|
+
return !!result;
|
|
25817
|
+
})();
|
|
25818
|
+
}
|
|
25994
25819
|
function _possible_constructor_return$l(self, call) {
|
|
25995
|
-
if (call && (_type_of$r(call) === "object" || typeof call === "function"))
|
|
25996
|
-
return call;
|
|
25997
|
-
}
|
|
25820
|
+
if (call && (_type_of$r(call) === "object" || typeof call === "function")) return call;
|
|
25998
25821
|
return _assert_this_initialized$l(self);
|
|
25999
25822
|
}
|
|
26000
25823
|
function _set_prototype_of$l(o, p) {
|
|
@@ -26008,14 +25831,6 @@
|
|
|
26008
25831
|
"@swc/helpers - typeof";
|
|
26009
25832
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
26010
25833
|
}
|
|
26011
|
-
function _is_native_reflect_construct$l() {
|
|
26012
|
-
try {
|
|
26013
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
26014
|
-
} catch (_) {}
|
|
26015
|
-
return (_is_native_reflect_construct$l = function() {
|
|
26016
|
-
return !!result;
|
|
26017
|
-
})();
|
|
26018
|
-
}
|
|
26019
25834
|
var __defProp$r = Object.defineProperty;
|
|
26020
25835
|
var __defNormalProp$r = function __defNormalProp(obj, key, value) {
|
|
26021
25836
|
return key in obj ? __defProp$r(obj, key, {
|
|
@@ -26176,9 +25991,7 @@
|
|
|
26176
25991
|
}(BaseCMI);
|
|
26177
25992
|
|
|
26178
25993
|
function _assert_this_initialized$k(self) {
|
|
26179
|
-
if (self === void 0)
|
|
26180
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
26181
|
-
}
|
|
25994
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
26182
25995
|
return self;
|
|
26183
25996
|
}
|
|
26184
25997
|
function _call_super$k(_this, derived, args) {
|
|
@@ -26186,9 +25999,7 @@
|
|
|
26186
25999
|
return _possible_constructor_return$k(_this, _is_native_reflect_construct$k() ? Reflect.construct(derived, args || [], _get_prototype_of$k(_this).constructor) : derived.apply(_this, args));
|
|
26187
26000
|
}
|
|
26188
26001
|
function _class_call_check$r(instance, Constructor) {
|
|
26189
|
-
if (!(instance instanceof Constructor))
|
|
26190
|
-
throw new TypeError("Cannot call a class as a function");
|
|
26191
|
-
}
|
|
26002
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
26192
26003
|
}
|
|
26193
26004
|
function _defineProperties$r(target, props) {
|
|
26194
26005
|
for(var i = 0; i < props.length; i++){
|
|
@@ -26204,16 +26015,13 @@
|
|
|
26204
26015
|
return Constructor;
|
|
26205
26016
|
}
|
|
26206
26017
|
function _get$8(target, property, receiver) {
|
|
26207
|
-
if (typeof Reflect !== "undefined" && Reflect.get)
|
|
26208
|
-
|
|
26209
|
-
} else {
|
|
26018
|
+
if (typeof Reflect !== "undefined" && Reflect.get) _get$8 = Reflect.get;
|
|
26019
|
+
else {
|
|
26210
26020
|
_get$8 = function get(target, property, receiver) {
|
|
26211
26021
|
var base = _super_prop_base$8(target, property);
|
|
26212
26022
|
if (!base) return;
|
|
26213
26023
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
26214
|
-
if (desc.get)
|
|
26215
|
-
return desc.get.call(receiver || target);
|
|
26216
|
-
}
|
|
26024
|
+
if (desc.get) return desc.get.call(receiver || target);
|
|
26217
26025
|
return desc.value;
|
|
26218
26026
|
};
|
|
26219
26027
|
}
|
|
@@ -26238,10 +26046,16 @@
|
|
|
26238
26046
|
});
|
|
26239
26047
|
if (superClass) _set_prototype_of$k(subClass, superClass);
|
|
26240
26048
|
}
|
|
26049
|
+
function _is_native_reflect_construct$k() {
|
|
26050
|
+
try {
|
|
26051
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
26052
|
+
} catch (_) {}
|
|
26053
|
+
return (_is_native_reflect_construct$k = function() {
|
|
26054
|
+
return !!result;
|
|
26055
|
+
})();
|
|
26056
|
+
}
|
|
26241
26057
|
function _possible_constructor_return$k(self, call) {
|
|
26242
|
-
if (call && (_type_of$q(call) === "object" || typeof call === "function"))
|
|
26243
|
-
return call;
|
|
26244
|
-
}
|
|
26058
|
+
if (call && (_type_of$q(call) === "object" || typeof call === "function")) return call;
|
|
26245
26059
|
return _assert_this_initialized$k(self);
|
|
26246
26060
|
}
|
|
26247
26061
|
function _set_prototype_of$k(o, p) {
|
|
@@ -26262,14 +26076,6 @@
|
|
|
26262
26076
|
"@swc/helpers - typeof";
|
|
26263
26077
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
26264
26078
|
}
|
|
26265
|
-
function _is_native_reflect_construct$k() {
|
|
26266
|
-
try {
|
|
26267
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
26268
|
-
} catch (_) {}
|
|
26269
|
-
return (_is_native_reflect_construct$k = function() {
|
|
26270
|
-
return !!result;
|
|
26271
|
-
})();
|
|
26272
|
-
}
|
|
26273
26079
|
var __defProp$q = Object.defineProperty;
|
|
26274
26080
|
var __defNormalProp$q = function __defNormalProp(obj, key, value) {
|
|
26275
26081
|
return key in obj ? __defProp$q(obj, key, {
|
|
@@ -26671,9 +26477,7 @@
|
|
|
26671
26477
|
}(BaseCMI);
|
|
26672
26478
|
|
|
26673
26479
|
function _assert_this_initialized$j(self) {
|
|
26674
|
-
if (self === void 0)
|
|
26675
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
26676
|
-
}
|
|
26480
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
26677
26481
|
return self;
|
|
26678
26482
|
}
|
|
26679
26483
|
function _call_super$j(_this, derived, args) {
|
|
@@ -26681,9 +26485,7 @@
|
|
|
26681
26485
|
return _possible_constructor_return$j(_this, _is_native_reflect_construct$j() ? Reflect.construct(derived, args || [], _get_prototype_of$j(_this).constructor) : derived.apply(_this, args));
|
|
26682
26486
|
}
|
|
26683
26487
|
function _class_call_check$q(instance, Constructor) {
|
|
26684
|
-
if (!(instance instanceof Constructor))
|
|
26685
|
-
throw new TypeError("Cannot call a class as a function");
|
|
26686
|
-
}
|
|
26488
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
26687
26489
|
}
|
|
26688
26490
|
function _defineProperties$q(target, props) {
|
|
26689
26491
|
for(var i = 0; i < props.length; i++){
|
|
@@ -26699,16 +26501,13 @@
|
|
|
26699
26501
|
return Constructor;
|
|
26700
26502
|
}
|
|
26701
26503
|
function _get$7(target, property, receiver) {
|
|
26702
|
-
if (typeof Reflect !== "undefined" && Reflect.get)
|
|
26703
|
-
|
|
26704
|
-
} else {
|
|
26504
|
+
if (typeof Reflect !== "undefined" && Reflect.get) _get$7 = Reflect.get;
|
|
26505
|
+
else {
|
|
26705
26506
|
_get$7 = function get(target, property, receiver) {
|
|
26706
26507
|
var base = _super_prop_base$7(target, property);
|
|
26707
26508
|
if (!base) return;
|
|
26708
26509
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
26709
|
-
if (desc.get)
|
|
26710
|
-
return desc.get.call(receiver || target);
|
|
26711
|
-
}
|
|
26510
|
+
if (desc.get) return desc.get.call(receiver || target);
|
|
26712
26511
|
return desc.value;
|
|
26713
26512
|
};
|
|
26714
26513
|
}
|
|
@@ -26733,10 +26532,16 @@
|
|
|
26733
26532
|
});
|
|
26734
26533
|
if (superClass) _set_prototype_of$j(subClass, superClass);
|
|
26735
26534
|
}
|
|
26535
|
+
function _is_native_reflect_construct$j() {
|
|
26536
|
+
try {
|
|
26537
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
26538
|
+
} catch (_) {}
|
|
26539
|
+
return (_is_native_reflect_construct$j = function() {
|
|
26540
|
+
return !!result;
|
|
26541
|
+
})();
|
|
26542
|
+
}
|
|
26736
26543
|
function _possible_constructor_return$j(self, call) {
|
|
26737
|
-
if (call && (_type_of$p(call) === "object" || typeof call === "function"))
|
|
26738
|
-
return call;
|
|
26739
|
-
}
|
|
26544
|
+
if (call && (_type_of$p(call) === "object" || typeof call === "function")) return call;
|
|
26740
26545
|
return _assert_this_initialized$j(self);
|
|
26741
26546
|
}
|
|
26742
26547
|
function _set_prototype_of$j(o, p) {
|
|
@@ -26757,14 +26562,6 @@
|
|
|
26757
26562
|
"@swc/helpers - typeof";
|
|
26758
26563
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
26759
26564
|
}
|
|
26760
|
-
function _is_native_reflect_construct$j() {
|
|
26761
|
-
try {
|
|
26762
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
26763
|
-
} catch (_) {}
|
|
26764
|
-
return (_is_native_reflect_construct$j = function() {
|
|
26765
|
-
return !!result;
|
|
26766
|
-
})();
|
|
26767
|
-
}
|
|
26768
26565
|
var __defProp$p = Object.defineProperty;
|
|
26769
26566
|
var __defNormalProp$p = function __defNormalProp(obj, key, value) {
|
|
26770
26567
|
return key in obj ? __defProp$p(obj, key, {
|
|
@@ -27007,9 +26804,7 @@
|
|
|
27007
26804
|
}(BaseRootCMI);
|
|
27008
26805
|
|
|
27009
26806
|
function _assert_this_initialized$i(self) {
|
|
27010
|
-
if (self === void 0)
|
|
27011
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
27012
|
-
}
|
|
26807
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
27013
26808
|
return self;
|
|
27014
26809
|
}
|
|
27015
26810
|
function _call_super$i(_this, derived, args) {
|
|
@@ -27017,9 +26812,7 @@
|
|
|
27017
26812
|
return _possible_constructor_return$i(_this, _is_native_reflect_construct$i() ? Reflect.construct(derived, args || [], _get_prototype_of$i(_this).constructor) : derived.apply(_this, args));
|
|
27018
26813
|
}
|
|
27019
26814
|
function _class_call_check$p(instance, Constructor) {
|
|
27020
|
-
if (!(instance instanceof Constructor))
|
|
27021
|
-
throw new TypeError("Cannot call a class as a function");
|
|
27022
|
-
}
|
|
26815
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
27023
26816
|
}
|
|
27024
26817
|
function _defineProperties$p(target, props) {
|
|
27025
26818
|
for(var i = 0; i < props.length; i++){
|
|
@@ -27053,10 +26846,16 @@
|
|
|
27053
26846
|
});
|
|
27054
26847
|
if (superClass) _set_prototype_of$i(subClass, superClass);
|
|
27055
26848
|
}
|
|
26849
|
+
function _is_native_reflect_construct$i() {
|
|
26850
|
+
try {
|
|
26851
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
26852
|
+
} catch (_) {}
|
|
26853
|
+
return (_is_native_reflect_construct$i = function() {
|
|
26854
|
+
return !!result;
|
|
26855
|
+
})();
|
|
26856
|
+
}
|
|
27056
26857
|
function _possible_constructor_return$i(self, call) {
|
|
27057
|
-
if (call && (_type_of$o(call) === "object" || typeof call === "function"))
|
|
27058
|
-
return call;
|
|
27059
|
-
}
|
|
26858
|
+
if (call && (_type_of$o(call) === "object" || typeof call === "function")) return call;
|
|
27060
26859
|
return _assert_this_initialized$i(self);
|
|
27061
26860
|
}
|
|
27062
26861
|
function _set_prototype_of$i(o, p) {
|
|
@@ -27070,14 +26869,6 @@
|
|
|
27070
26869
|
"@swc/helpers - typeof";
|
|
27071
26870
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
27072
26871
|
}
|
|
27073
|
-
function _is_native_reflect_construct$i() {
|
|
27074
|
-
try {
|
|
27075
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
27076
|
-
} catch (_) {}
|
|
27077
|
-
return (_is_native_reflect_construct$i = function() {
|
|
27078
|
-
return !!result;
|
|
27079
|
-
})();
|
|
27080
|
-
}
|
|
27081
26872
|
var __defProp$o = Object.defineProperty;
|
|
27082
26873
|
var __defNormalProp$o = function __defNormalProp(obj, key, value) {
|
|
27083
26874
|
return key in obj ? __defProp$o(obj, key, {
|
|
@@ -27167,9 +26958,7 @@
|
|
|
27167
26958
|
if (Array.isArray(arr)) return arr;
|
|
27168
26959
|
}
|
|
27169
26960
|
function _assert_this_initialized$h(self) {
|
|
27170
|
-
if (self === void 0)
|
|
27171
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
27172
|
-
}
|
|
26961
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
27173
26962
|
return self;
|
|
27174
26963
|
}
|
|
27175
26964
|
function _call_super$h(_this, derived, args) {
|
|
@@ -27177,9 +26966,7 @@
|
|
|
27177
26966
|
return _possible_constructor_return$h(_this, _is_native_reflect_construct$h() ? Reflect.construct(derived, args || [], _get_prototype_of$h(_this).constructor) : derived.apply(_this, args));
|
|
27178
26967
|
}
|
|
27179
26968
|
function _class_call_check$o(instance, Constructor) {
|
|
27180
|
-
if (!(instance instanceof Constructor))
|
|
27181
|
-
throw new TypeError("Cannot call a class as a function");
|
|
27182
|
-
}
|
|
26969
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
27183
26970
|
}
|
|
27184
26971
|
function _defineProperties$o(target, props) {
|
|
27185
26972
|
for(var i = 0; i < props.length; i++){
|
|
@@ -27203,9 +26990,7 @@
|
|
|
27203
26990
|
configurable: true,
|
|
27204
26991
|
writable: true
|
|
27205
26992
|
});
|
|
27206
|
-
} else
|
|
27207
|
-
obj[key] = value;
|
|
27208
|
-
}
|
|
26993
|
+
} else obj[key] = value;
|
|
27209
26994
|
return obj;
|
|
27210
26995
|
}
|
|
27211
26996
|
function _get_prototype_of$h(o) {
|
|
@@ -27227,6 +27012,14 @@
|
|
|
27227
27012
|
});
|
|
27228
27013
|
if (superClass) _set_prototype_of$h(subClass, superClass);
|
|
27229
27014
|
}
|
|
27015
|
+
function _is_native_reflect_construct$h() {
|
|
27016
|
+
try {
|
|
27017
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
27018
|
+
} catch (_) {}
|
|
27019
|
+
return (_is_native_reflect_construct$h = function() {
|
|
27020
|
+
return !!result;
|
|
27021
|
+
})();
|
|
27022
|
+
}
|
|
27230
27023
|
function _iterable_to_array_limit$4(arr, i) {
|
|
27231
27024
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
27232
27025
|
if (_i == null) return;
|
|
@@ -27252,7 +27045,7 @@
|
|
|
27252
27045
|
return _arr;
|
|
27253
27046
|
}
|
|
27254
27047
|
function _non_iterable_rest$4() {
|
|
27255
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
27048
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
27256
27049
|
}
|
|
27257
27050
|
function _object_spread$6(target) {
|
|
27258
27051
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -27270,9 +27063,7 @@
|
|
|
27270
27063
|
return target;
|
|
27271
27064
|
}
|
|
27272
27065
|
function _possible_constructor_return$h(self, call) {
|
|
27273
|
-
if (call && (_type_of$n(call) === "object" || typeof call === "function"))
|
|
27274
|
-
return call;
|
|
27275
|
-
}
|
|
27066
|
+
if (call && (_type_of$n(call) === "object" || typeof call === "function")) return call;
|
|
27276
27067
|
return _assert_this_initialized$h(self);
|
|
27277
27068
|
}
|
|
27278
27069
|
function _set_prototype_of$h(o, p) {
|
|
@@ -27297,14 +27088,6 @@
|
|
|
27297
27088
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
27298
27089
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$7(o, minLen);
|
|
27299
27090
|
}
|
|
27300
|
-
function _is_native_reflect_construct$h() {
|
|
27301
|
-
try {
|
|
27302
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
27303
|
-
} catch (_) {}
|
|
27304
|
-
return (_is_native_reflect_construct$h = function() {
|
|
27305
|
-
return !!result;
|
|
27306
|
-
})();
|
|
27307
|
-
}
|
|
27308
27091
|
var __defProp$n = Object.defineProperty;
|
|
27309
27092
|
var __defNormalProp$n = function __defNormalProp(obj, key, value) {
|
|
27310
27093
|
return key in obj ? __defProp$n(obj, key, {
|
|
@@ -27854,9 +27637,7 @@
|
|
|
27854
27637
|
var Scorm12API = _Scorm12API;
|
|
27855
27638
|
|
|
27856
27639
|
function _assert_this_initialized$g(self) {
|
|
27857
|
-
if (self === void 0)
|
|
27858
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
27859
|
-
}
|
|
27640
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
27860
27641
|
return self;
|
|
27861
27642
|
}
|
|
27862
27643
|
function _call_super$g(_this, derived, args) {
|
|
@@ -27864,9 +27645,7 @@
|
|
|
27864
27645
|
return _possible_constructor_return$g(_this, _is_native_reflect_construct$g() ? Reflect.construct(derived, args || [], _get_prototype_of$g(_this).constructor) : derived.apply(_this, args));
|
|
27865
27646
|
}
|
|
27866
27647
|
function _class_call_check$n(instance, Constructor) {
|
|
27867
|
-
if (!(instance instanceof Constructor))
|
|
27868
|
-
throw new TypeError("Cannot call a class as a function");
|
|
27869
|
-
}
|
|
27648
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
27870
27649
|
}
|
|
27871
27650
|
function _defineProperties$n(target, props) {
|
|
27872
27651
|
for(var i = 0; i < props.length; i++){
|
|
@@ -27900,10 +27679,16 @@
|
|
|
27900
27679
|
});
|
|
27901
27680
|
if (superClass) _set_prototype_of$g(subClass, superClass);
|
|
27902
27681
|
}
|
|
27682
|
+
function _is_native_reflect_construct$g() {
|
|
27683
|
+
try {
|
|
27684
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
27685
|
+
} catch (_) {}
|
|
27686
|
+
return (_is_native_reflect_construct$g = function() {
|
|
27687
|
+
return !!result;
|
|
27688
|
+
})();
|
|
27689
|
+
}
|
|
27903
27690
|
function _possible_constructor_return$g(self, call) {
|
|
27904
|
-
if (call && (_type_of$m(call) === "object" || typeof call === "function"))
|
|
27905
|
-
return call;
|
|
27906
|
-
}
|
|
27691
|
+
if (call && (_type_of$m(call) === "object" || typeof call === "function")) return call;
|
|
27907
27692
|
return _assert_this_initialized$g(self);
|
|
27908
27693
|
}
|
|
27909
27694
|
function _set_prototype_of$g(o, p) {
|
|
@@ -27917,14 +27702,6 @@
|
|
|
27917
27702
|
"@swc/helpers - typeof";
|
|
27918
27703
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
27919
27704
|
}
|
|
27920
|
-
function _is_native_reflect_construct$g() {
|
|
27921
|
-
try {
|
|
27922
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
27923
|
-
} catch (_) {}
|
|
27924
|
-
return (_is_native_reflect_construct$g = function() {
|
|
27925
|
-
return !!result;
|
|
27926
|
-
})();
|
|
27927
|
-
}
|
|
27928
27705
|
var __defProp$m = Object.defineProperty;
|
|
27929
27706
|
var __defNormalProp$m = function __defNormalProp(obj, key, value) {
|
|
27930
27707
|
return key in obj ? __defProp$m(obj, key, {
|
|
@@ -28149,9 +27926,7 @@
|
|
|
28149
27926
|
if (Array.isArray(arr)) return arr;
|
|
28150
27927
|
}
|
|
28151
27928
|
function _assert_this_initialized$f(self) {
|
|
28152
|
-
if (self === void 0)
|
|
28153
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
28154
|
-
}
|
|
27929
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
28155
27930
|
return self;
|
|
28156
27931
|
}
|
|
28157
27932
|
function _call_super$f(_this, derived, args) {
|
|
@@ -28159,9 +27934,7 @@
|
|
|
28159
27934
|
return _possible_constructor_return$f(_this, _is_native_reflect_construct$f() ? Reflect.construct(derived, args || [], _get_prototype_of$f(_this).constructor) : derived.apply(_this, args));
|
|
28160
27935
|
}
|
|
28161
27936
|
function _class_call_check$m(instance, Constructor) {
|
|
28162
|
-
if (!(instance instanceof Constructor))
|
|
28163
|
-
throw new TypeError("Cannot call a class as a function");
|
|
28164
|
-
}
|
|
27937
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
28165
27938
|
}
|
|
28166
27939
|
function _defineProperties$m(target, props) {
|
|
28167
27940
|
for(var i = 0; i < props.length; i++){
|
|
@@ -28177,16 +27950,13 @@
|
|
|
28177
27950
|
return Constructor;
|
|
28178
27951
|
}
|
|
28179
27952
|
function _get$6(target, property, receiver) {
|
|
28180
|
-
if (typeof Reflect !== "undefined" && Reflect.get)
|
|
28181
|
-
|
|
28182
|
-
} else {
|
|
27953
|
+
if (typeof Reflect !== "undefined" && Reflect.get) _get$6 = Reflect.get;
|
|
27954
|
+
else {
|
|
28183
27955
|
_get$6 = function get(target, property, receiver) {
|
|
28184
27956
|
var base = _super_prop_base$6(target, property);
|
|
28185
27957
|
if (!base) return;
|
|
28186
27958
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
28187
|
-
if (desc.get)
|
|
28188
|
-
return desc.get.call(receiver || target);
|
|
28189
|
-
}
|
|
27959
|
+
if (desc.get) return desc.get.call(receiver || target);
|
|
28190
27960
|
return desc.value;
|
|
28191
27961
|
};
|
|
28192
27962
|
}
|
|
@@ -28211,6 +27981,14 @@
|
|
|
28211
27981
|
});
|
|
28212
27982
|
if (superClass) _set_prototype_of$f(subClass, superClass);
|
|
28213
27983
|
}
|
|
27984
|
+
function _is_native_reflect_construct$f() {
|
|
27985
|
+
try {
|
|
27986
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
27987
|
+
} catch (_) {}
|
|
27988
|
+
return (_is_native_reflect_construct$f = function() {
|
|
27989
|
+
return !!result;
|
|
27990
|
+
})();
|
|
27991
|
+
}
|
|
28214
27992
|
function _iterable_to_array_limit$3(arr, i) {
|
|
28215
27993
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
28216
27994
|
if (_i == null) return;
|
|
@@ -28236,12 +28014,10 @@
|
|
|
28236
28014
|
return _arr;
|
|
28237
28015
|
}
|
|
28238
28016
|
function _non_iterable_rest$3() {
|
|
28239
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
28017
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
28240
28018
|
}
|
|
28241
28019
|
function _possible_constructor_return$f(self, call) {
|
|
28242
|
-
if (call && (_type_of$l(call) === "object" || typeof call === "function"))
|
|
28243
|
-
return call;
|
|
28244
|
-
}
|
|
28020
|
+
if (call && (_type_of$l(call) === "object" || typeof call === "function")) return call;
|
|
28245
28021
|
return _assert_this_initialized$f(self);
|
|
28246
28022
|
}
|
|
28247
28023
|
function _set_prototype_of$f(o, p) {
|
|
@@ -28273,14 +28049,6 @@
|
|
|
28273
28049
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
28274
28050
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$6(o, minLen);
|
|
28275
28051
|
}
|
|
28276
|
-
function _is_native_reflect_construct$f() {
|
|
28277
|
-
try {
|
|
28278
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
28279
|
-
} catch (_) {}
|
|
28280
|
-
return (_is_native_reflect_construct$f = function() {
|
|
28281
|
-
return !!result;
|
|
28282
|
-
})();
|
|
28283
|
-
}
|
|
28284
28052
|
var __defProp$l = Object.defineProperty;
|
|
28285
28053
|
var __defNormalProp$l = function __defNormalProp(obj, key, value) {
|
|
28286
28054
|
return key in obj ? __defProp$l(obj, key, {
|
|
@@ -28904,9 +28672,7 @@
|
|
|
28904
28672
|
}(BaseCMI);
|
|
28905
28673
|
|
|
28906
28674
|
function _assert_this_initialized$e(self) {
|
|
28907
|
-
if (self === void 0)
|
|
28908
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
28909
|
-
}
|
|
28675
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
28910
28676
|
return self;
|
|
28911
28677
|
}
|
|
28912
28678
|
function _call_super$e(_this, derived, args) {
|
|
@@ -28914,9 +28680,7 @@
|
|
|
28914
28680
|
return _possible_constructor_return$e(_this, _is_native_reflect_construct$e() ? Reflect.construct(derived, args || [], _get_prototype_of$e(_this).constructor) : derived.apply(_this, args));
|
|
28915
28681
|
}
|
|
28916
28682
|
function _class_call_check$l(instance, Constructor) {
|
|
28917
|
-
if (!(instance instanceof Constructor))
|
|
28918
|
-
throw new TypeError("Cannot call a class as a function");
|
|
28919
|
-
}
|
|
28683
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
28920
28684
|
}
|
|
28921
28685
|
function _defineProperties$l(target, props) {
|
|
28922
28686
|
for(var i = 0; i < props.length; i++){
|
|
@@ -28932,16 +28696,13 @@
|
|
|
28932
28696
|
return Constructor;
|
|
28933
28697
|
}
|
|
28934
28698
|
function _get$5(target, property, receiver) {
|
|
28935
|
-
if (typeof Reflect !== "undefined" && Reflect.get)
|
|
28936
|
-
|
|
28937
|
-
} else {
|
|
28699
|
+
if (typeof Reflect !== "undefined" && Reflect.get) _get$5 = Reflect.get;
|
|
28700
|
+
else {
|
|
28938
28701
|
_get$5 = function get(target, property, receiver) {
|
|
28939
28702
|
var base = _super_prop_base$5(target, property);
|
|
28940
28703
|
if (!base) return;
|
|
28941
28704
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
28942
|
-
if (desc.get)
|
|
28943
|
-
return desc.get.call(receiver || target);
|
|
28944
|
-
}
|
|
28705
|
+
if (desc.get) return desc.get.call(receiver || target);
|
|
28945
28706
|
return desc.value;
|
|
28946
28707
|
};
|
|
28947
28708
|
}
|
|
@@ -28966,10 +28727,16 @@
|
|
|
28966
28727
|
});
|
|
28967
28728
|
if (superClass) _set_prototype_of$e(subClass, superClass);
|
|
28968
28729
|
}
|
|
28730
|
+
function _is_native_reflect_construct$e() {
|
|
28731
|
+
try {
|
|
28732
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
28733
|
+
} catch (_) {}
|
|
28734
|
+
return (_is_native_reflect_construct$e = function() {
|
|
28735
|
+
return !!result;
|
|
28736
|
+
})();
|
|
28737
|
+
}
|
|
28969
28738
|
function _possible_constructor_return$e(self, call) {
|
|
28970
|
-
if (call && (_type_of$k(call) === "object" || typeof call === "function"))
|
|
28971
|
-
return call;
|
|
28972
|
-
}
|
|
28739
|
+
if (call && (_type_of$k(call) === "object" || typeof call === "function")) return call;
|
|
28973
28740
|
return _assert_this_initialized$e(self);
|
|
28974
28741
|
}
|
|
28975
28742
|
function _set_prototype_of$e(o, p) {
|
|
@@ -28990,14 +28757,6 @@
|
|
|
28990
28757
|
"@swc/helpers - typeof";
|
|
28991
28758
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
28992
28759
|
}
|
|
28993
|
-
function _is_native_reflect_construct$e() {
|
|
28994
|
-
try {
|
|
28995
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
28996
|
-
} catch (_) {}
|
|
28997
|
-
return (_is_native_reflect_construct$e = function() {
|
|
28998
|
-
return !!result;
|
|
28999
|
-
})();
|
|
29000
|
-
}
|
|
29001
28760
|
var __defProp$k = Object.defineProperty;
|
|
29002
28761
|
var __defNormalProp$k = function __defNormalProp(obj, key, value) {
|
|
29003
28762
|
return key in obj ? __defProp$k(obj, key, {
|
|
@@ -29100,9 +28859,7 @@
|
|
|
29100
28859
|
}(CMIScore);
|
|
29101
28860
|
|
|
29102
28861
|
function _assert_this_initialized$d(self) {
|
|
29103
|
-
if (self === void 0)
|
|
29104
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
29105
|
-
}
|
|
28862
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
29106
28863
|
return self;
|
|
29107
28864
|
}
|
|
29108
28865
|
function _call_super$d(_this, derived, args) {
|
|
@@ -29110,9 +28867,7 @@
|
|
|
29110
28867
|
return _possible_constructor_return$d(_this, _is_native_reflect_construct$d() ? Reflect.construct(derived, args || [], _get_prototype_of$d(_this).constructor) : derived.apply(_this, args));
|
|
29111
28868
|
}
|
|
29112
28869
|
function _class_call_check$k(instance, Constructor) {
|
|
29113
|
-
if (!(instance instanceof Constructor))
|
|
29114
|
-
throw new TypeError("Cannot call a class as a function");
|
|
29115
|
-
}
|
|
28870
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
29116
28871
|
}
|
|
29117
28872
|
function _defineProperties$k(target, props) {
|
|
29118
28873
|
for(var i = 0; i < props.length; i++){
|
|
@@ -29146,10 +28901,16 @@
|
|
|
29146
28901
|
});
|
|
29147
28902
|
if (superClass) _set_prototype_of$d(subClass, superClass);
|
|
29148
28903
|
}
|
|
28904
|
+
function _is_native_reflect_construct$d() {
|
|
28905
|
+
try {
|
|
28906
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
28907
|
+
} catch (_) {}
|
|
28908
|
+
return (_is_native_reflect_construct$d = function() {
|
|
28909
|
+
return !!result;
|
|
28910
|
+
})();
|
|
28911
|
+
}
|
|
29149
28912
|
function _possible_constructor_return$d(self, call) {
|
|
29150
|
-
if (call && (_type_of$j(call) === "object" || typeof call === "function"))
|
|
29151
|
-
return call;
|
|
29152
|
-
}
|
|
28913
|
+
if (call && (_type_of$j(call) === "object" || typeof call === "function")) return call;
|
|
29153
28914
|
return _assert_this_initialized$d(self);
|
|
29154
28915
|
}
|
|
29155
28916
|
function _set_prototype_of$d(o, p) {
|
|
@@ -29163,14 +28924,6 @@
|
|
|
29163
28924
|
"@swc/helpers - typeof";
|
|
29164
28925
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
29165
28926
|
}
|
|
29166
|
-
function _is_native_reflect_construct$d() {
|
|
29167
|
-
try {
|
|
29168
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
29169
|
-
} catch (_) {}
|
|
29170
|
-
return (_is_native_reflect_construct$d = function() {
|
|
29171
|
-
return !!result;
|
|
29172
|
-
})();
|
|
29173
|
-
}
|
|
29174
28927
|
var __defProp$j = Object.defineProperty;
|
|
29175
28928
|
var __defNormalProp$j = function __defNormalProp(obj, key, value) {
|
|
29176
28929
|
return key in obj ? __defProp$j(obj, key, {
|
|
@@ -29331,9 +29084,7 @@
|
|
|
29331
29084
|
}(BaseCMI);
|
|
29332
29085
|
|
|
29333
29086
|
function _assert_this_initialized$c(self) {
|
|
29334
|
-
if (self === void 0)
|
|
29335
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
29336
|
-
}
|
|
29087
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
29337
29088
|
return self;
|
|
29338
29089
|
}
|
|
29339
29090
|
function _call_super$c(_this, derived, args) {
|
|
@@ -29341,9 +29092,7 @@
|
|
|
29341
29092
|
return _possible_constructor_return$c(_this, _is_native_reflect_construct$c() ? Reflect.construct(derived, args || [], _get_prototype_of$c(_this).constructor) : derived.apply(_this, args));
|
|
29342
29093
|
}
|
|
29343
29094
|
function _class_call_check$j(instance, Constructor) {
|
|
29344
|
-
if (!(instance instanceof Constructor))
|
|
29345
|
-
throw new TypeError("Cannot call a class as a function");
|
|
29346
|
-
}
|
|
29095
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
29347
29096
|
}
|
|
29348
29097
|
function _defineProperties$j(target, props) {
|
|
29349
29098
|
for(var i = 0; i < props.length; i++){
|
|
@@ -29359,16 +29108,13 @@
|
|
|
29359
29108
|
return Constructor;
|
|
29360
29109
|
}
|
|
29361
29110
|
function _get$4(target, property, receiver) {
|
|
29362
|
-
if (typeof Reflect !== "undefined" && Reflect.get)
|
|
29363
|
-
|
|
29364
|
-
} else {
|
|
29111
|
+
if (typeof Reflect !== "undefined" && Reflect.get) _get$4 = Reflect.get;
|
|
29112
|
+
else {
|
|
29365
29113
|
_get$4 = function get(target, property, receiver) {
|
|
29366
29114
|
var base = _super_prop_base$4(target, property);
|
|
29367
29115
|
if (!base) return;
|
|
29368
29116
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
29369
|
-
if (desc.get)
|
|
29370
|
-
return desc.get.call(receiver || target);
|
|
29371
|
-
}
|
|
29117
|
+
if (desc.get) return desc.get.call(receiver || target);
|
|
29372
29118
|
return desc.value;
|
|
29373
29119
|
};
|
|
29374
29120
|
}
|
|
@@ -29393,10 +29139,16 @@
|
|
|
29393
29139
|
});
|
|
29394
29140
|
if (superClass) _set_prototype_of$c(subClass, superClass);
|
|
29395
29141
|
}
|
|
29142
|
+
function _is_native_reflect_construct$c() {
|
|
29143
|
+
try {
|
|
29144
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
29145
|
+
} catch (_) {}
|
|
29146
|
+
return (_is_native_reflect_construct$c = function() {
|
|
29147
|
+
return !!result;
|
|
29148
|
+
})();
|
|
29149
|
+
}
|
|
29396
29150
|
function _possible_constructor_return$c(self, call) {
|
|
29397
|
-
if (call && (_type_of$i(call) === "object" || typeof call === "function"))
|
|
29398
|
-
return call;
|
|
29399
|
-
}
|
|
29151
|
+
if (call && (_type_of$i(call) === "object" || typeof call === "function")) return call;
|
|
29400
29152
|
return _assert_this_initialized$c(self);
|
|
29401
29153
|
}
|
|
29402
29154
|
function _set_prototype_of$c(o, p) {
|
|
@@ -29417,14 +29169,6 @@
|
|
|
29417
29169
|
"@swc/helpers - typeof";
|
|
29418
29170
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
29419
29171
|
}
|
|
29420
|
-
function _is_native_reflect_construct$c() {
|
|
29421
|
-
try {
|
|
29422
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
29423
|
-
} catch (_) {}
|
|
29424
|
-
return (_is_native_reflect_construct$c = function() {
|
|
29425
|
-
return !!result;
|
|
29426
|
-
})();
|
|
29427
|
-
}
|
|
29428
29172
|
var __defProp$i = Object.defineProperty;
|
|
29429
29173
|
var __defNormalProp$i = function __defNormalProp(obj, key, value) {
|
|
29430
29174
|
return key in obj ? __defProp$i(obj, key, {
|
|
@@ -29687,9 +29431,7 @@
|
|
|
29687
29431
|
}(BaseCMI);
|
|
29688
29432
|
|
|
29689
29433
|
function _assert_this_initialized$b(self) {
|
|
29690
|
-
if (self === void 0)
|
|
29691
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
29692
|
-
}
|
|
29434
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
29693
29435
|
return self;
|
|
29694
29436
|
}
|
|
29695
29437
|
function _call_super$b(_this, derived, args) {
|
|
@@ -29697,9 +29439,7 @@
|
|
|
29697
29439
|
return _possible_constructor_return$b(_this, _is_native_reflect_construct$b() ? Reflect.construct(derived, args || [], _get_prototype_of$b(_this).constructor) : derived.apply(_this, args));
|
|
29698
29440
|
}
|
|
29699
29441
|
function _class_call_check$i(instance, Constructor) {
|
|
29700
|
-
if (!(instance instanceof Constructor))
|
|
29701
|
-
throw new TypeError("Cannot call a class as a function");
|
|
29702
|
-
}
|
|
29442
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
29703
29443
|
}
|
|
29704
29444
|
function _defineProperties$i(target, props) {
|
|
29705
29445
|
for(var i = 0; i < props.length; i++){
|
|
@@ -29733,10 +29473,16 @@
|
|
|
29733
29473
|
});
|
|
29734
29474
|
if (superClass) _set_prototype_of$b(subClass, superClass);
|
|
29735
29475
|
}
|
|
29476
|
+
function _is_native_reflect_construct$b() {
|
|
29477
|
+
try {
|
|
29478
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
29479
|
+
} catch (_) {}
|
|
29480
|
+
return (_is_native_reflect_construct$b = function() {
|
|
29481
|
+
return !!result;
|
|
29482
|
+
})();
|
|
29483
|
+
}
|
|
29736
29484
|
function _possible_constructor_return$b(self, call) {
|
|
29737
|
-
if (call && (_type_of$h(call) === "object" || typeof call === "function"))
|
|
29738
|
-
return call;
|
|
29739
|
-
}
|
|
29485
|
+
if (call && (_type_of$h(call) === "object" || typeof call === "function")) return call;
|
|
29740
29486
|
return _assert_this_initialized$b(self);
|
|
29741
29487
|
}
|
|
29742
29488
|
function _set_prototype_of$b(o, p) {
|
|
@@ -29750,14 +29496,6 @@
|
|
|
29750
29496
|
"@swc/helpers - typeof";
|
|
29751
29497
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
29752
29498
|
}
|
|
29753
|
-
function _is_native_reflect_construct$b() {
|
|
29754
|
-
try {
|
|
29755
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
29756
|
-
} catch (_) {}
|
|
29757
|
-
return (_is_native_reflect_construct$b = function() {
|
|
29758
|
-
return !!result;
|
|
29759
|
-
})();
|
|
29760
|
-
}
|
|
29761
29499
|
var __defProp$h = Object.defineProperty;
|
|
29762
29500
|
var __defNormalProp$h = function __defNormalProp(obj, key, value) {
|
|
29763
29501
|
return key in obj ? __defProp$h(obj, key, {
|
|
@@ -29826,9 +29564,7 @@
|
|
|
29826
29564
|
}(BaseCMI);
|
|
29827
29565
|
|
|
29828
29566
|
function _assert_this_initialized$a(self) {
|
|
29829
|
-
if (self === void 0)
|
|
29830
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
29831
|
-
}
|
|
29567
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
29832
29568
|
return self;
|
|
29833
29569
|
}
|
|
29834
29570
|
function _call_super$a(_this, derived, args) {
|
|
@@ -29836,9 +29572,7 @@
|
|
|
29836
29572
|
return _possible_constructor_return$a(_this, _is_native_reflect_construct$a() ? Reflect.construct(derived, args || [], _get_prototype_of$a(_this).constructor) : derived.apply(_this, args));
|
|
29837
29573
|
}
|
|
29838
29574
|
function _class_call_check$h(instance, Constructor) {
|
|
29839
|
-
if (!(instance instanceof Constructor))
|
|
29840
|
-
throw new TypeError("Cannot call a class as a function");
|
|
29841
|
-
}
|
|
29575
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
29842
29576
|
}
|
|
29843
29577
|
function _defineProperties$h(target, props) {
|
|
29844
29578
|
for(var i = 0; i < props.length; i++){
|
|
@@ -29872,10 +29606,16 @@
|
|
|
29872
29606
|
});
|
|
29873
29607
|
if (superClass) _set_prototype_of$a(subClass, superClass);
|
|
29874
29608
|
}
|
|
29609
|
+
function _is_native_reflect_construct$a() {
|
|
29610
|
+
try {
|
|
29611
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
29612
|
+
} catch (_) {}
|
|
29613
|
+
return (_is_native_reflect_construct$a = function() {
|
|
29614
|
+
return !!result;
|
|
29615
|
+
})();
|
|
29616
|
+
}
|
|
29875
29617
|
function _possible_constructor_return$a(self, call) {
|
|
29876
|
-
if (call && (_type_of$g(call) === "object" || typeof call === "function"))
|
|
29877
|
-
return call;
|
|
29878
|
-
}
|
|
29618
|
+
if (call && (_type_of$g(call) === "object" || typeof call === "function")) return call;
|
|
29879
29619
|
return _assert_this_initialized$a(self);
|
|
29880
29620
|
}
|
|
29881
29621
|
function _set_prototype_of$a(o, p) {
|
|
@@ -29889,14 +29629,6 @@
|
|
|
29889
29629
|
"@swc/helpers - typeof";
|
|
29890
29630
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
29891
29631
|
}
|
|
29892
|
-
function _is_native_reflect_construct$a() {
|
|
29893
|
-
try {
|
|
29894
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
29895
|
-
} catch (_) {}
|
|
29896
|
-
return (_is_native_reflect_construct$a = function() {
|
|
29897
|
-
return !!result;
|
|
29898
|
-
})();
|
|
29899
|
-
}
|
|
29900
29632
|
var __defProp$g = Object.defineProperty;
|
|
29901
29633
|
var __defNormalProp$g = function __defNormalProp(obj, key, value) {
|
|
29902
29634
|
return key in obj ? __defProp$g(obj, key, {
|
|
@@ -29973,9 +29705,7 @@
|
|
|
29973
29705
|
}(BaseCMI);
|
|
29974
29706
|
|
|
29975
29707
|
function _assert_this_initialized$9(self) {
|
|
29976
|
-
if (self === void 0)
|
|
29977
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
29978
|
-
}
|
|
29708
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
29979
29709
|
return self;
|
|
29980
29710
|
}
|
|
29981
29711
|
function _call_super$9(_this, derived, args) {
|
|
@@ -29983,9 +29713,7 @@
|
|
|
29983
29713
|
return _possible_constructor_return$9(_this, _is_native_reflect_construct$9() ? Reflect.construct(derived, args || [], _get_prototype_of$9(_this).constructor) : derived.apply(_this, args));
|
|
29984
29714
|
}
|
|
29985
29715
|
function _class_call_check$g(instance, Constructor) {
|
|
29986
|
-
if (!(instance instanceof Constructor))
|
|
29987
|
-
throw new TypeError("Cannot call a class as a function");
|
|
29988
|
-
}
|
|
29716
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
29989
29717
|
}
|
|
29990
29718
|
function _defineProperties$g(target, props) {
|
|
29991
29719
|
for(var i = 0; i < props.length; i++){
|
|
@@ -30019,10 +29747,16 @@
|
|
|
30019
29747
|
});
|
|
30020
29748
|
if (superClass) _set_prototype_of$9(subClass, superClass);
|
|
30021
29749
|
}
|
|
29750
|
+
function _is_native_reflect_construct$9() {
|
|
29751
|
+
try {
|
|
29752
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
29753
|
+
} catch (_) {}
|
|
29754
|
+
return (_is_native_reflect_construct$9 = function() {
|
|
29755
|
+
return !!result;
|
|
29756
|
+
})();
|
|
29757
|
+
}
|
|
30022
29758
|
function _possible_constructor_return$9(self, call) {
|
|
30023
|
-
if (call && (_type_of$f(call) === "object" || typeof call === "function"))
|
|
30024
|
-
return call;
|
|
30025
|
-
}
|
|
29759
|
+
if (call && (_type_of$f(call) === "object" || typeof call === "function")) return call;
|
|
30026
29760
|
return _assert_this_initialized$9(self);
|
|
30027
29761
|
}
|
|
30028
29762
|
function _set_prototype_of$9(o, p) {
|
|
@@ -30036,14 +29770,6 @@
|
|
|
30036
29770
|
"@swc/helpers - typeof";
|
|
30037
29771
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
30038
29772
|
}
|
|
30039
|
-
function _is_native_reflect_construct$9() {
|
|
30040
|
-
try {
|
|
30041
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
30042
|
-
} catch (_) {}
|
|
30043
|
-
return (_is_native_reflect_construct$9 = function() {
|
|
30044
|
-
return !!result;
|
|
30045
|
-
})();
|
|
30046
|
-
}
|
|
30047
29773
|
var __defProp$f = Object.defineProperty;
|
|
30048
29774
|
var __defNormalProp$f = function __defNormalProp(obj, key, value) {
|
|
30049
29775
|
return key in obj ? __defProp$f(obj, key, {
|
|
@@ -30137,9 +29863,7 @@
|
|
|
30137
29863
|
}(BaseCMI);
|
|
30138
29864
|
|
|
30139
29865
|
function _assert_this_initialized$8(self) {
|
|
30140
|
-
if (self === void 0)
|
|
30141
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
30142
|
-
}
|
|
29866
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
30143
29867
|
return self;
|
|
30144
29868
|
}
|
|
30145
29869
|
function _call_super$8(_this, derived, args) {
|
|
@@ -30147,9 +29871,7 @@
|
|
|
30147
29871
|
return _possible_constructor_return$8(_this, _is_native_reflect_construct$8() ? Reflect.construct(derived, args || [], _get_prototype_of$8(_this).constructor) : derived.apply(_this, args));
|
|
30148
29872
|
}
|
|
30149
29873
|
function _class_call_check$f(instance, Constructor) {
|
|
30150
|
-
if (!(instance instanceof Constructor))
|
|
30151
|
-
throw new TypeError("Cannot call a class as a function");
|
|
30152
|
-
}
|
|
29874
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
30153
29875
|
}
|
|
30154
29876
|
function _defineProperties$f(target, props) {
|
|
30155
29877
|
for(var i = 0; i < props.length; i++){
|
|
@@ -30183,10 +29905,16 @@
|
|
|
30183
29905
|
});
|
|
30184
29906
|
if (superClass) _set_prototype_of$8(subClass, superClass);
|
|
30185
29907
|
}
|
|
29908
|
+
function _is_native_reflect_construct$8() {
|
|
29909
|
+
try {
|
|
29910
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
29911
|
+
} catch (_) {}
|
|
29912
|
+
return (_is_native_reflect_construct$8 = function() {
|
|
29913
|
+
return !!result;
|
|
29914
|
+
})();
|
|
29915
|
+
}
|
|
30186
29916
|
function _possible_constructor_return$8(self, call) {
|
|
30187
|
-
if (call && (_type_of$e(call) === "object" || typeof call === "function"))
|
|
30188
|
-
return call;
|
|
30189
|
-
}
|
|
29917
|
+
if (call && (_type_of$e(call) === "object" || typeof call === "function")) return call;
|
|
30190
29918
|
return _assert_this_initialized$8(self);
|
|
30191
29919
|
}
|
|
30192
29920
|
function _set_prototype_of$8(o, p) {
|
|
@@ -30200,14 +29928,6 @@
|
|
|
30200
29928
|
"@swc/helpers - typeof";
|
|
30201
29929
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
30202
29930
|
}
|
|
30203
|
-
function _is_native_reflect_construct$8() {
|
|
30204
|
-
try {
|
|
30205
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
30206
|
-
} catch (_) {}
|
|
30207
|
-
return (_is_native_reflect_construct$8 = function() {
|
|
30208
|
-
return !!result;
|
|
30209
|
-
})();
|
|
30210
|
-
}
|
|
30211
29931
|
var __defProp$e = Object.defineProperty;
|
|
30212
29932
|
var __defNormalProp$e = function __defNormalProp(obj, key, value) {
|
|
30213
29933
|
return key in obj ? __defProp$e(obj, key, {
|
|
@@ -30336,7 +30056,7 @@
|
|
|
30336
30056
|
value: function getCurrentTotalTime(start_time) {
|
|
30337
30057
|
var sessionTime = this._session_time;
|
|
30338
30058
|
if (typeof start_time !== "undefined") {
|
|
30339
|
-
var seconds = /* @__PURE__ */ new Date().getTime() - start_time;
|
|
30059
|
+
var seconds = (/* @__PURE__ */ new Date()).getTime() - start_time;
|
|
30340
30060
|
sessionTime = getSecondsAsISODuration(seconds / 1e3);
|
|
30341
30061
|
}
|
|
30342
30062
|
return addTwoDurations(this._total_time, sessionTime, scorm2004_regex.CMITimespan);
|
|
@@ -30365,9 +30085,7 @@
|
|
|
30365
30085
|
}(BaseCMI);
|
|
30366
30086
|
|
|
30367
30087
|
function _assert_this_initialized$7(self) {
|
|
30368
|
-
if (self === void 0)
|
|
30369
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
30370
|
-
}
|
|
30088
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
30371
30089
|
return self;
|
|
30372
30090
|
}
|
|
30373
30091
|
function _call_super$7(_this, derived, args) {
|
|
@@ -30375,9 +30093,7 @@
|
|
|
30375
30093
|
return _possible_constructor_return$7(_this, _is_native_reflect_construct$7() ? Reflect.construct(derived, args || [], _get_prototype_of$7(_this).constructor) : derived.apply(_this, args));
|
|
30376
30094
|
}
|
|
30377
30095
|
function _class_call_check$e(instance, Constructor) {
|
|
30378
|
-
if (!(instance instanceof Constructor))
|
|
30379
|
-
throw new TypeError("Cannot call a class as a function");
|
|
30380
|
-
}
|
|
30096
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
30381
30097
|
}
|
|
30382
30098
|
function _defineProperties$e(target, props) {
|
|
30383
30099
|
for(var i = 0; i < props.length; i++){
|
|
@@ -30411,10 +30127,16 @@
|
|
|
30411
30127
|
});
|
|
30412
30128
|
if (superClass) _set_prototype_of$7(subClass, superClass);
|
|
30413
30129
|
}
|
|
30130
|
+
function _is_native_reflect_construct$7() {
|
|
30131
|
+
try {
|
|
30132
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
30133
|
+
} catch (_) {}
|
|
30134
|
+
return (_is_native_reflect_construct$7 = function() {
|
|
30135
|
+
return !!result;
|
|
30136
|
+
})();
|
|
30137
|
+
}
|
|
30414
30138
|
function _possible_constructor_return$7(self, call) {
|
|
30415
|
-
if (call && (_type_of$d(call) === "object" || typeof call === "function"))
|
|
30416
|
-
return call;
|
|
30417
|
-
}
|
|
30139
|
+
if (call && (_type_of$d(call) === "object" || typeof call === "function")) return call;
|
|
30418
30140
|
return _assert_this_initialized$7(self);
|
|
30419
30141
|
}
|
|
30420
30142
|
function _set_prototype_of$7(o, p) {
|
|
@@ -30428,14 +30150,6 @@
|
|
|
30428
30150
|
"@swc/helpers - typeof";
|
|
30429
30151
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
30430
30152
|
}
|
|
30431
|
-
function _is_native_reflect_construct$7() {
|
|
30432
|
-
try {
|
|
30433
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
30434
|
-
} catch (_) {}
|
|
30435
|
-
return (_is_native_reflect_construct$7 = function() {
|
|
30436
|
-
return !!result;
|
|
30437
|
-
})();
|
|
30438
|
-
}
|
|
30439
30153
|
var __defProp$d = Object.defineProperty;
|
|
30440
30154
|
var __defNormalProp$d = function __defNormalProp(obj, key, value) {
|
|
30441
30155
|
return key in obj ? __defProp$d(obj, key, {
|
|
@@ -30530,9 +30244,7 @@
|
|
|
30530
30244
|
}(BaseCMI);
|
|
30531
30245
|
|
|
30532
30246
|
function _assert_this_initialized$6(self) {
|
|
30533
|
-
if (self === void 0)
|
|
30534
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
30535
|
-
}
|
|
30247
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
30536
30248
|
return self;
|
|
30537
30249
|
}
|
|
30538
30250
|
function _call_super$6(_this, derived, args) {
|
|
@@ -30540,9 +30252,7 @@
|
|
|
30540
30252
|
return _possible_constructor_return$6(_this, _is_native_reflect_construct$6() ? Reflect.construct(derived, args || [], _get_prototype_of$6(_this).constructor) : derived.apply(_this, args));
|
|
30541
30253
|
}
|
|
30542
30254
|
function _class_call_check$d(instance, Constructor) {
|
|
30543
|
-
if (!(instance instanceof Constructor))
|
|
30544
|
-
throw new TypeError("Cannot call a class as a function");
|
|
30545
|
-
}
|
|
30255
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
30546
30256
|
}
|
|
30547
30257
|
function _defineProperties$d(target, props) {
|
|
30548
30258
|
for(var i = 0; i < props.length; i++){
|
|
@@ -30576,10 +30286,16 @@
|
|
|
30576
30286
|
});
|
|
30577
30287
|
if (superClass) _set_prototype_of$6(subClass, superClass);
|
|
30578
30288
|
}
|
|
30289
|
+
function _is_native_reflect_construct$6() {
|
|
30290
|
+
try {
|
|
30291
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
30292
|
+
} catch (_) {}
|
|
30293
|
+
return (_is_native_reflect_construct$6 = function() {
|
|
30294
|
+
return !!result;
|
|
30295
|
+
})();
|
|
30296
|
+
}
|
|
30579
30297
|
function _possible_constructor_return$6(self, call) {
|
|
30580
|
-
if (call && (_type_of$c(call) === "object" || typeof call === "function"))
|
|
30581
|
-
return call;
|
|
30582
|
-
}
|
|
30298
|
+
if (call && (_type_of$c(call) === "object" || typeof call === "function")) return call;
|
|
30583
30299
|
return _assert_this_initialized$6(self);
|
|
30584
30300
|
}
|
|
30585
30301
|
function _set_prototype_of$6(o, p) {
|
|
@@ -30593,14 +30309,6 @@
|
|
|
30593
30309
|
"@swc/helpers - typeof";
|
|
30594
30310
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
30595
30311
|
}
|
|
30596
|
-
function _is_native_reflect_construct$6() {
|
|
30597
|
-
try {
|
|
30598
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
30599
|
-
} catch (_) {}
|
|
30600
|
-
return (_is_native_reflect_construct$6 = function() {
|
|
30601
|
-
return !!result;
|
|
30602
|
-
})();
|
|
30603
|
-
}
|
|
30604
30312
|
var __defProp$c = Object.defineProperty;
|
|
30605
30313
|
var __defNormalProp$c = function __defNormalProp(obj, key, value) {
|
|
30606
30314
|
return key in obj ? __defProp$c(obj, key, {
|
|
@@ -30730,9 +30438,7 @@
|
|
|
30730
30438
|
}(BaseCMI);
|
|
30731
30439
|
|
|
30732
30440
|
function _assert_this_initialized$5(self) {
|
|
30733
|
-
if (self === void 0)
|
|
30734
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
30735
|
-
}
|
|
30441
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
30736
30442
|
return self;
|
|
30737
30443
|
}
|
|
30738
30444
|
function _call_super$5(_this, derived, args) {
|
|
@@ -30740,9 +30446,7 @@
|
|
|
30740
30446
|
return _possible_constructor_return$5(_this, _is_native_reflect_construct$5() ? Reflect.construct(derived, args || [], _get_prototype_of$5(_this).constructor) : derived.apply(_this, args));
|
|
30741
30447
|
}
|
|
30742
30448
|
function _class_call_check$c(instance, Constructor) {
|
|
30743
|
-
if (!(instance instanceof Constructor))
|
|
30744
|
-
throw new TypeError("Cannot call a class as a function");
|
|
30745
|
-
}
|
|
30449
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
30746
30450
|
}
|
|
30747
30451
|
function _defineProperties$c(target, props) {
|
|
30748
30452
|
for(var i = 0; i < props.length; i++){
|
|
@@ -30776,10 +30480,16 @@
|
|
|
30776
30480
|
});
|
|
30777
30481
|
if (superClass) _set_prototype_of$5(subClass, superClass);
|
|
30778
30482
|
}
|
|
30483
|
+
function _is_native_reflect_construct$5() {
|
|
30484
|
+
try {
|
|
30485
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
30486
|
+
} catch (_) {}
|
|
30487
|
+
return (_is_native_reflect_construct$5 = function() {
|
|
30488
|
+
return !!result;
|
|
30489
|
+
})();
|
|
30490
|
+
}
|
|
30779
30491
|
function _possible_constructor_return$5(self, call) {
|
|
30780
|
-
if (call && (_type_of$b(call) === "object" || typeof call === "function"))
|
|
30781
|
-
return call;
|
|
30782
|
-
}
|
|
30492
|
+
if (call && (_type_of$b(call) === "object" || typeof call === "function")) return call;
|
|
30783
30493
|
return _assert_this_initialized$5(self);
|
|
30784
30494
|
}
|
|
30785
30495
|
function _set_prototype_of$5(o, p) {
|
|
@@ -30793,14 +30503,6 @@
|
|
|
30793
30503
|
"@swc/helpers - typeof";
|
|
30794
30504
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
30795
30505
|
}
|
|
30796
|
-
function _is_native_reflect_construct$5() {
|
|
30797
|
-
try {
|
|
30798
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
30799
|
-
} catch (_) {}
|
|
30800
|
-
return (_is_native_reflect_construct$5 = function() {
|
|
30801
|
-
return !!result;
|
|
30802
|
-
})();
|
|
30803
|
-
}
|
|
30804
30506
|
var __defProp$b = Object.defineProperty;
|
|
30805
30507
|
var __defNormalProp$b = function __defNormalProp(obj, key, value) {
|
|
30806
30508
|
return key in obj ? __defProp$b(obj, key, {
|
|
@@ -30905,9 +30607,7 @@
|
|
|
30905
30607
|
}(BaseCMI);
|
|
30906
30608
|
|
|
30907
30609
|
function _assert_this_initialized$4(self) {
|
|
30908
|
-
if (self === void 0)
|
|
30909
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
30910
|
-
}
|
|
30610
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
30911
30611
|
return self;
|
|
30912
30612
|
}
|
|
30913
30613
|
function _call_super$4(_this, derived, args) {
|
|
@@ -30915,9 +30615,7 @@
|
|
|
30915
30615
|
return _possible_constructor_return$4(_this, _is_native_reflect_construct$4() ? Reflect.construct(derived, args || [], _get_prototype_of$4(_this).constructor) : derived.apply(_this, args));
|
|
30916
30616
|
}
|
|
30917
30617
|
function _class_call_check$b(instance, Constructor) {
|
|
30918
|
-
if (!(instance instanceof Constructor))
|
|
30919
|
-
throw new TypeError("Cannot call a class as a function");
|
|
30920
|
-
}
|
|
30618
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
30921
30619
|
}
|
|
30922
30620
|
function _defineProperties$b(target, props) {
|
|
30923
30621
|
for(var i = 0; i < props.length; i++){
|
|
@@ -30933,16 +30631,13 @@
|
|
|
30933
30631
|
return Constructor;
|
|
30934
30632
|
}
|
|
30935
30633
|
function _get$3(target, property, receiver) {
|
|
30936
|
-
if (typeof Reflect !== "undefined" && Reflect.get)
|
|
30937
|
-
|
|
30938
|
-
} else {
|
|
30634
|
+
if (typeof Reflect !== "undefined" && Reflect.get) _get$3 = Reflect.get;
|
|
30635
|
+
else {
|
|
30939
30636
|
_get$3 = function get(target, property, receiver) {
|
|
30940
30637
|
var base = _super_prop_base$3(target, property);
|
|
30941
30638
|
if (!base) return;
|
|
30942
30639
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
30943
|
-
if (desc.get)
|
|
30944
|
-
return desc.get.call(receiver || target);
|
|
30945
|
-
}
|
|
30640
|
+
if (desc.get) return desc.get.call(receiver || target);
|
|
30946
30641
|
return desc.value;
|
|
30947
30642
|
};
|
|
30948
30643
|
}
|
|
@@ -30967,10 +30662,16 @@
|
|
|
30967
30662
|
});
|
|
30968
30663
|
if (superClass) _set_prototype_of$4(subClass, superClass);
|
|
30969
30664
|
}
|
|
30665
|
+
function _is_native_reflect_construct$4() {
|
|
30666
|
+
try {
|
|
30667
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
30668
|
+
} catch (_) {}
|
|
30669
|
+
return (_is_native_reflect_construct$4 = function() {
|
|
30670
|
+
return !!result;
|
|
30671
|
+
})();
|
|
30672
|
+
}
|
|
30970
30673
|
function _possible_constructor_return$4(self, call) {
|
|
30971
|
-
if (call && (_type_of$a(call) === "object" || typeof call === "function"))
|
|
30972
|
-
return call;
|
|
30973
|
-
}
|
|
30674
|
+
if (call && (_type_of$a(call) === "object" || typeof call === "function")) return call;
|
|
30974
30675
|
return _assert_this_initialized$4(self);
|
|
30975
30676
|
}
|
|
30976
30677
|
function _set_prototype_of$4(o, p) {
|
|
@@ -30991,14 +30692,6 @@
|
|
|
30991
30692
|
"@swc/helpers - typeof";
|
|
30992
30693
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
30993
30694
|
}
|
|
30994
|
-
function _is_native_reflect_construct$4() {
|
|
30995
|
-
try {
|
|
30996
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
30997
|
-
} catch (_) {}
|
|
30998
|
-
return (_is_native_reflect_construct$4 = function() {
|
|
30999
|
-
return !!result;
|
|
31000
|
-
})();
|
|
31001
|
-
}
|
|
31002
30695
|
var __defProp$a = Object.defineProperty;
|
|
31003
30696
|
var __defNormalProp$a = function __defNormalProp(obj, key, value) {
|
|
31004
30697
|
return key in obj ? __defProp$a(obj, key, {
|
|
@@ -31526,9 +31219,7 @@
|
|
|
31526
31219
|
}(BaseRootCMI);
|
|
31527
31220
|
|
|
31528
31221
|
function _assert_this_initialized$3(self) {
|
|
31529
|
-
if (self === void 0)
|
|
31530
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
31531
|
-
}
|
|
31222
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
31532
31223
|
return self;
|
|
31533
31224
|
}
|
|
31534
31225
|
function _call_super$3(_this, derived, args) {
|
|
@@ -31536,9 +31227,7 @@
|
|
|
31536
31227
|
return _possible_constructor_return$3(_this, _is_native_reflect_construct$3() ? Reflect.construct(derived, args || [], _get_prototype_of$3(_this).constructor) : derived.apply(_this, args));
|
|
31537
31228
|
}
|
|
31538
31229
|
function _class_call_check$a(instance, Constructor) {
|
|
31539
|
-
if (!(instance instanceof Constructor))
|
|
31540
|
-
throw new TypeError("Cannot call a class as a function");
|
|
31541
|
-
}
|
|
31230
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
31542
31231
|
}
|
|
31543
31232
|
function _defineProperties$a(target, props) {
|
|
31544
31233
|
for(var i = 0; i < props.length; i++){
|
|
@@ -31561,22 +31250,17 @@
|
|
|
31561
31250
|
configurable: true,
|
|
31562
31251
|
writable: true
|
|
31563
31252
|
});
|
|
31564
|
-
} else
|
|
31565
|
-
obj[key] = value;
|
|
31566
|
-
}
|
|
31253
|
+
} else obj[key] = value;
|
|
31567
31254
|
return obj;
|
|
31568
31255
|
}
|
|
31569
31256
|
function _get$2(target, property, receiver) {
|
|
31570
|
-
if (typeof Reflect !== "undefined" && Reflect.get)
|
|
31571
|
-
|
|
31572
|
-
} else {
|
|
31257
|
+
if (typeof Reflect !== "undefined" && Reflect.get) _get$2 = Reflect.get;
|
|
31258
|
+
else {
|
|
31573
31259
|
_get$2 = function get(target, property, receiver) {
|
|
31574
31260
|
var base = _super_prop_base$2(target, property);
|
|
31575
31261
|
if (!base) return;
|
|
31576
31262
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
31577
|
-
if (desc.get)
|
|
31578
|
-
return desc.get.call(receiver || target);
|
|
31579
|
-
}
|
|
31263
|
+
if (desc.get) return desc.get.call(receiver || target);
|
|
31580
31264
|
return desc.value;
|
|
31581
31265
|
};
|
|
31582
31266
|
}
|
|
@@ -31601,6 +31285,14 @@
|
|
|
31601
31285
|
});
|
|
31602
31286
|
if (superClass) _set_prototype_of$3(subClass, superClass);
|
|
31603
31287
|
}
|
|
31288
|
+
function _is_native_reflect_construct$3() {
|
|
31289
|
+
try {
|
|
31290
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
31291
|
+
} catch (_) {}
|
|
31292
|
+
return (_is_native_reflect_construct$3 = function() {
|
|
31293
|
+
return !!result;
|
|
31294
|
+
})();
|
|
31295
|
+
}
|
|
31604
31296
|
function _object_spread$5(target) {
|
|
31605
31297
|
for(var i = 1; i < arguments.length; i++){
|
|
31606
31298
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
@@ -31617,9 +31309,7 @@
|
|
|
31617
31309
|
return target;
|
|
31618
31310
|
}
|
|
31619
31311
|
function _possible_constructor_return$3(self, call) {
|
|
31620
|
-
if (call && (_type_of$9(call) === "object" || typeof call === "function"))
|
|
31621
|
-
return call;
|
|
31622
|
-
}
|
|
31312
|
+
if (call && (_type_of$9(call) === "object" || typeof call === "function")) return call;
|
|
31623
31313
|
return _assert_this_initialized$3(self);
|
|
31624
31314
|
}
|
|
31625
31315
|
function _set_prototype_of$3(o, p) {
|
|
@@ -31640,14 +31330,6 @@
|
|
|
31640
31330
|
"@swc/helpers - typeof";
|
|
31641
31331
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
31642
31332
|
}
|
|
31643
|
-
function _is_native_reflect_construct$3() {
|
|
31644
|
-
try {
|
|
31645
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
31646
|
-
} catch (_) {}
|
|
31647
|
-
return (_is_native_reflect_construct$3 = function() {
|
|
31648
|
-
return !!result;
|
|
31649
|
-
})();
|
|
31650
|
-
}
|
|
31651
31333
|
var __defProp$9 = Object.defineProperty;
|
|
31652
31334
|
var __defNormalProp$9 = function __defNormalProp(obj, key, value) {
|
|
31653
31335
|
return key in obj ? __defProp$9(obj, key, {
|
|
@@ -32370,9 +32052,7 @@
|
|
|
32370
32052
|
}(BaseCMI);
|
|
32371
32053
|
|
|
32372
32054
|
function _assert_this_initialized$2(self) {
|
|
32373
|
-
if (self === void 0)
|
|
32374
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
32375
|
-
}
|
|
32055
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
32376
32056
|
return self;
|
|
32377
32057
|
}
|
|
32378
32058
|
function _call_super$2(_this, derived, args) {
|
|
@@ -32380,9 +32060,7 @@
|
|
|
32380
32060
|
return _possible_constructor_return$2(_this, _is_native_reflect_construct$2() ? Reflect.construct(derived, args || [], _get_prototype_of$2(_this).constructor) : derived.apply(_this, args));
|
|
32381
32061
|
}
|
|
32382
32062
|
function _class_call_check$9(instance, Constructor) {
|
|
32383
|
-
if (!(instance instanceof Constructor))
|
|
32384
|
-
throw new TypeError("Cannot call a class as a function");
|
|
32385
|
-
}
|
|
32063
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
32386
32064
|
}
|
|
32387
32065
|
function _defineProperties$9(target, props) {
|
|
32388
32066
|
for(var i = 0; i < props.length; i++){
|
|
@@ -32398,16 +32076,13 @@
|
|
|
32398
32076
|
return Constructor;
|
|
32399
32077
|
}
|
|
32400
32078
|
function _get$1(target, property, receiver) {
|
|
32401
|
-
if (typeof Reflect !== "undefined" && Reflect.get)
|
|
32402
|
-
|
|
32403
|
-
} else {
|
|
32079
|
+
if (typeof Reflect !== "undefined" && Reflect.get) _get$1 = Reflect.get;
|
|
32080
|
+
else {
|
|
32404
32081
|
_get$1 = function get(target, property, receiver) {
|
|
32405
32082
|
var base = _super_prop_base$1(target, property);
|
|
32406
32083
|
if (!base) return;
|
|
32407
32084
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
32408
|
-
if (desc.get)
|
|
32409
|
-
return desc.get.call(receiver || target);
|
|
32410
|
-
}
|
|
32085
|
+
if (desc.get) return desc.get.call(receiver || target);
|
|
32411
32086
|
return desc.value;
|
|
32412
32087
|
};
|
|
32413
32088
|
}
|
|
@@ -32436,14 +32111,18 @@
|
|
|
32436
32111
|
"@swc/helpers - instanceof";
|
|
32437
32112
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
32438
32113
|
return !!right[Symbol.hasInstance](left);
|
|
32439
|
-
} else
|
|
32440
|
-
|
|
32441
|
-
|
|
32114
|
+
} else return left instanceof right;
|
|
32115
|
+
}
|
|
32116
|
+
function _is_native_reflect_construct$2() {
|
|
32117
|
+
try {
|
|
32118
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
32119
|
+
} catch (_) {}
|
|
32120
|
+
return (_is_native_reflect_construct$2 = function() {
|
|
32121
|
+
return !!result;
|
|
32122
|
+
})();
|
|
32442
32123
|
}
|
|
32443
32124
|
function _possible_constructor_return$2(self, call) {
|
|
32444
|
-
if (call && (_type_of$8(call) === "object" || typeof call === "function"))
|
|
32445
|
-
return call;
|
|
32446
|
-
}
|
|
32125
|
+
if (call && (_type_of$8(call) === "object" || typeof call === "function")) return call;
|
|
32447
32126
|
return _assert_this_initialized$2(self);
|
|
32448
32127
|
}
|
|
32449
32128
|
function _set_prototype_of$2(o, p) {
|
|
@@ -32464,14 +32143,6 @@
|
|
|
32464
32143
|
"@swc/helpers - typeof";
|
|
32465
32144
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
32466
32145
|
}
|
|
32467
|
-
function _is_native_reflect_construct$2() {
|
|
32468
|
-
try {
|
|
32469
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
32470
|
-
} catch (_) {}
|
|
32471
|
-
return (_is_native_reflect_construct$2 = function() {
|
|
32472
|
-
return !!result;
|
|
32473
|
-
})();
|
|
32474
|
-
}
|
|
32475
32146
|
var __defProp$8 = Object.defineProperty;
|
|
32476
32147
|
var __defNormalProp$8 = function __defNormalProp(obj, key, value) {
|
|
32477
32148
|
return key in obj ? __defProp$8(obj, key, {
|
|
@@ -32878,9 +32549,7 @@
|
|
|
32878
32549
|
if (Array.isArray(arr)) return _array_like_to_array$5(arr);
|
|
32879
32550
|
}
|
|
32880
32551
|
function _assert_this_initialized$1(self) {
|
|
32881
|
-
if (self === void 0)
|
|
32882
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
32883
|
-
}
|
|
32552
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
32884
32553
|
return self;
|
|
32885
32554
|
}
|
|
32886
32555
|
function _call_super$1(_this, derived, args) {
|
|
@@ -32888,9 +32557,7 @@
|
|
|
32888
32557
|
return _possible_constructor_return$1(_this, _is_native_reflect_construct$1() ? Reflect.construct(derived, args || [], _get_prototype_of$1(_this).constructor) : derived.apply(_this, args));
|
|
32889
32558
|
}
|
|
32890
32559
|
function _class_call_check$8(instance, Constructor) {
|
|
32891
|
-
if (!(instance instanceof Constructor))
|
|
32892
|
-
throw new TypeError("Cannot call a class as a function");
|
|
32893
|
-
}
|
|
32560
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
32894
32561
|
}
|
|
32895
32562
|
function _defineProperties$8(target, props) {
|
|
32896
32563
|
for(var i = 0; i < props.length; i++){
|
|
@@ -32913,22 +32580,17 @@
|
|
|
32913
32580
|
configurable: true,
|
|
32914
32581
|
writable: true
|
|
32915
32582
|
});
|
|
32916
|
-
} else
|
|
32917
|
-
obj[key] = value;
|
|
32918
|
-
}
|
|
32583
|
+
} else obj[key] = value;
|
|
32919
32584
|
return obj;
|
|
32920
32585
|
}
|
|
32921
32586
|
function _get(target, property, receiver) {
|
|
32922
|
-
if (typeof Reflect !== "undefined" && Reflect.get)
|
|
32923
|
-
|
|
32924
|
-
} else {
|
|
32587
|
+
if (typeof Reflect !== "undefined" && Reflect.get) _get = Reflect.get;
|
|
32588
|
+
else {
|
|
32925
32589
|
_get = function get(target, property, receiver) {
|
|
32926
32590
|
var base = _super_prop_base(target, property);
|
|
32927
32591
|
if (!base) return;
|
|
32928
32592
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
32929
|
-
if (desc.get)
|
|
32930
|
-
return desc.get.call(receiver || target);
|
|
32931
|
-
}
|
|
32593
|
+
if (desc.get) return desc.get.call(receiver || target);
|
|
32932
32594
|
return desc.value;
|
|
32933
32595
|
};
|
|
32934
32596
|
}
|
|
@@ -32957,15 +32619,23 @@
|
|
|
32957
32619
|
"@swc/helpers - instanceof";
|
|
32958
32620
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
32959
32621
|
return !!right[Symbol.hasInstance](left);
|
|
32960
|
-
} else
|
|
32961
|
-
|
|
32962
|
-
|
|
32622
|
+
} else return left instanceof right;
|
|
32623
|
+
}
|
|
32624
|
+
function _is_native_reflect_construct$1() {
|
|
32625
|
+
try {
|
|
32626
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
32627
|
+
} catch (_) {}
|
|
32628
|
+
return (_is_native_reflect_construct$1 = function() {
|
|
32629
|
+
return !!result;
|
|
32630
|
+
})();
|
|
32963
32631
|
}
|
|
32964
32632
|
function _iterable_to_array$3(iter) {
|
|
32965
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
32633
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
32634
|
+
return Array.from(iter);
|
|
32635
|
+
}
|
|
32966
32636
|
}
|
|
32967
32637
|
function _non_iterable_spread$3() {
|
|
32968
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
32638
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
32969
32639
|
}
|
|
32970
32640
|
function _object_spread$4(target) {
|
|
32971
32641
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -32983,9 +32653,7 @@
|
|
|
32983
32653
|
return target;
|
|
32984
32654
|
}
|
|
32985
32655
|
function _possible_constructor_return$1(self, call) {
|
|
32986
|
-
if (call && (_type_of$7(call) === "object" || typeof call === "function"))
|
|
32987
|
-
return call;
|
|
32988
|
-
}
|
|
32656
|
+
if (call && (_type_of$7(call) === "object" || typeof call === "function")) return call;
|
|
32989
32657
|
return _assert_this_initialized$1(self);
|
|
32990
32658
|
}
|
|
32991
32659
|
function _set_prototype_of$1(o, p) {
|
|
@@ -33017,14 +32685,6 @@
|
|
|
33017
32685
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
33018
32686
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$5(o, minLen);
|
|
33019
32687
|
}
|
|
33020
|
-
function _is_native_reflect_construct$1() {
|
|
33021
|
-
try {
|
|
33022
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
33023
|
-
} catch (_) {}
|
|
33024
|
-
return (_is_native_reflect_construct$1 = function() {
|
|
33025
|
-
return !!result;
|
|
33026
|
-
})();
|
|
33027
|
-
}
|
|
33028
32688
|
var __defProp$7 = Object.defineProperty;
|
|
33029
32689
|
var __defNormalProp$7 = function __defNormalProp(obj, key, value) {
|
|
33030
32690
|
return key in obj ? __defProp$7(obj, key, {
|
|
@@ -33293,9 +32953,7 @@
|
|
|
33293
32953
|
}(BaseCMI);
|
|
33294
32954
|
|
|
33295
32955
|
function _class_call_check$7(instance, Constructor) {
|
|
33296
|
-
if (!(instance instanceof Constructor))
|
|
33297
|
-
throw new TypeError("Cannot call a class as a function");
|
|
33298
|
-
}
|
|
32956
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
33299
32957
|
}
|
|
33300
32958
|
function _defineProperties$7(target, props) {
|
|
33301
32959
|
for(var i = 0; i < props.length; i++){
|
|
@@ -33552,9 +33210,7 @@
|
|
|
33552
33210
|
}();
|
|
33553
33211
|
|
|
33554
33212
|
function _class_call_check$6(instance, Constructor) {
|
|
33555
|
-
if (!(instance instanceof Constructor))
|
|
33556
|
-
throw new TypeError("Cannot call a class as a function");
|
|
33557
|
-
}
|
|
33213
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
33558
33214
|
}
|
|
33559
33215
|
function _defineProperties$6(target, props) {
|
|
33560
33216
|
for(var i = 0; i < props.length; i++){
|
|
@@ -33738,9 +33394,7 @@
|
|
|
33738
33394
|
if (Array.isArray(arr)) return _array_like_to_array$4(arr);
|
|
33739
33395
|
}
|
|
33740
33396
|
function _class_call_check$5(instance, Constructor) {
|
|
33741
|
-
if (!(instance instanceof Constructor))
|
|
33742
|
-
throw new TypeError("Cannot call a class as a function");
|
|
33743
|
-
}
|
|
33397
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
33744
33398
|
}
|
|
33745
33399
|
function _defineProperties$5(target, props) {
|
|
33746
33400
|
for(var i = 0; i < props.length; i++){
|
|
@@ -33763,13 +33417,13 @@
|
|
|
33763
33417
|
configurable: true,
|
|
33764
33418
|
writable: true
|
|
33765
33419
|
});
|
|
33766
|
-
} else
|
|
33767
|
-
obj[key] = value;
|
|
33768
|
-
}
|
|
33420
|
+
} else obj[key] = value;
|
|
33769
33421
|
return obj;
|
|
33770
33422
|
}
|
|
33771
33423
|
function _iterable_to_array$2(iter) {
|
|
33772
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
33424
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
33425
|
+
return Array.from(iter);
|
|
33426
|
+
}
|
|
33773
33427
|
}
|
|
33774
33428
|
function _iterable_to_array_limit$2(arr, i) {
|
|
33775
33429
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
@@ -33796,10 +33450,10 @@
|
|
|
33796
33450
|
return _arr;
|
|
33797
33451
|
}
|
|
33798
33452
|
function _non_iterable_rest$2() {
|
|
33799
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
33453
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
33800
33454
|
}
|
|
33801
33455
|
function _non_iterable_spread$2() {
|
|
33802
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
33456
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
33803
33457
|
}
|
|
33804
33458
|
function _object_spread$3(target) {
|
|
33805
33459
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -34575,9 +34229,7 @@
|
|
|
34575
34229
|
if (Array.isArray(arr)) return _array_like_to_array$3(arr);
|
|
34576
34230
|
}
|
|
34577
34231
|
function _class_call_check$4(instance, Constructor) {
|
|
34578
|
-
if (!(instance instanceof Constructor))
|
|
34579
|
-
throw new TypeError("Cannot call a class as a function");
|
|
34580
|
-
}
|
|
34232
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
34581
34233
|
}
|
|
34582
34234
|
function _defineProperties$4(target, props) {
|
|
34583
34235
|
for(var i = 0; i < props.length; i++){
|
|
@@ -34593,10 +34245,12 @@
|
|
|
34593
34245
|
return Constructor;
|
|
34594
34246
|
}
|
|
34595
34247
|
function _iterable_to_array$1(iter) {
|
|
34596
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
34248
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
34249
|
+
return Array.from(iter);
|
|
34250
|
+
}
|
|
34597
34251
|
}
|
|
34598
34252
|
function _non_iterable_spread$1() {
|
|
34599
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
34253
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
34600
34254
|
}
|
|
34601
34255
|
function _to_consumable_array$1(arr) {
|
|
34602
34256
|
return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$3(arr) || _non_iterable_spread$1();
|
|
@@ -34927,9 +34581,7 @@
|
|
|
34927
34581
|
if (Array.isArray(arr)) return arr;
|
|
34928
34582
|
}
|
|
34929
34583
|
function _class_call_check$3(instance, Constructor) {
|
|
34930
|
-
if (!(instance instanceof Constructor))
|
|
34931
|
-
throw new TypeError("Cannot call a class as a function");
|
|
34932
|
-
}
|
|
34584
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
34933
34585
|
}
|
|
34934
34586
|
function _defineProperties$3(target, props) {
|
|
34935
34587
|
for(var i = 0; i < props.length; i++){
|
|
@@ -34952,9 +34604,7 @@
|
|
|
34952
34604
|
configurable: true,
|
|
34953
34605
|
writable: true
|
|
34954
34606
|
});
|
|
34955
|
-
} else
|
|
34956
|
-
obj[key] = value;
|
|
34957
|
-
}
|
|
34607
|
+
} else obj[key] = value;
|
|
34958
34608
|
return obj;
|
|
34959
34609
|
}
|
|
34960
34610
|
function _iterable_to_array_limit$1(arr, i) {
|
|
@@ -34982,7 +34632,7 @@
|
|
|
34982
34632
|
return _arr;
|
|
34983
34633
|
}
|
|
34984
34634
|
function _non_iterable_rest$1() {
|
|
34985
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
34635
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
34986
34636
|
}
|
|
34987
34637
|
function _object_spread$2(target) {
|
|
34988
34638
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -35576,11 +35226,8 @@
|
|
|
35576
35226
|
reject(error);
|
|
35577
35227
|
return;
|
|
35578
35228
|
}
|
|
35579
|
-
if (info.done)
|
|
35580
|
-
|
|
35581
|
-
} else {
|
|
35582
|
-
Promise.resolve(value).then(_next, _throw);
|
|
35583
|
-
}
|
|
35229
|
+
if (info.done) resolve(value);
|
|
35230
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
35584
35231
|
}
|
|
35585
35232
|
function _async_to_generator$1(fn) {
|
|
35586
35233
|
return function() {
|
|
@@ -35598,9 +35245,7 @@
|
|
|
35598
35245
|
};
|
|
35599
35246
|
}
|
|
35600
35247
|
function _class_call_check$2(instance, Constructor) {
|
|
35601
|
-
if (!(instance instanceof Constructor))
|
|
35602
|
-
throw new TypeError("Cannot call a class as a function");
|
|
35603
|
-
}
|
|
35248
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
35604
35249
|
}
|
|
35605
35250
|
function _defineProperties$2(target, props) {
|
|
35606
35251
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35623,18 +35268,14 @@
|
|
|
35623
35268
|
configurable: true,
|
|
35624
35269
|
writable: true
|
|
35625
35270
|
});
|
|
35626
|
-
} else
|
|
35627
|
-
obj[key] = value;
|
|
35628
|
-
}
|
|
35271
|
+
} else obj[key] = value;
|
|
35629
35272
|
return obj;
|
|
35630
35273
|
}
|
|
35631
35274
|
function _instanceof$1(left, right) {
|
|
35632
35275
|
"@swc/helpers - instanceof";
|
|
35633
35276
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
35634
35277
|
return !!right[Symbol.hasInstance](left);
|
|
35635
|
-
} else
|
|
35636
|
-
return left instanceof right;
|
|
35637
|
-
}
|
|
35278
|
+
} else return left instanceof right;
|
|
35638
35279
|
}
|
|
35639
35280
|
function _object_spread$1(target) {
|
|
35640
35281
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -35651,10 +35292,6 @@
|
|
|
35651
35292
|
}
|
|
35652
35293
|
return target;
|
|
35653
35294
|
}
|
|
35654
|
-
function _type_of$2(obj) {
|
|
35655
|
-
"@swc/helpers - typeof";
|
|
35656
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
35657
|
-
}
|
|
35658
35295
|
function _ts_generator$1(thisArg, body) {
|
|
35659
35296
|
var f, y, t, _ = {
|
|
35660
35297
|
label: 0,
|
|
@@ -35754,6 +35391,10 @@
|
|
|
35754
35391
|
};
|
|
35755
35392
|
}
|
|
35756
35393
|
}
|
|
35394
|
+
function _type_of$2(obj) {
|
|
35395
|
+
"@swc/helpers - typeof";
|
|
35396
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
35397
|
+
}
|
|
35757
35398
|
var __defProp$2 = Object.defineProperty;
|
|
35758
35399
|
var __defNormalProp$2 = function __defNormalProp(obj, key, value) {
|
|
35759
35400
|
return key in obj ? __defProp$2(obj, key, {
|
|
@@ -35808,7 +35449,7 @@
|
|
|
35808
35449
|
learnerId: this.context.learnerId || "unknown",
|
|
35809
35450
|
courseId: settings.courseId || "unknown",
|
|
35810
35451
|
attemptNumber: 1,
|
|
35811
|
-
lastUpdated: /* @__PURE__ */ new Date().toISOString(),
|
|
35452
|
+
lastUpdated: (/* @__PURE__ */ new Date()).toISOString(),
|
|
35812
35453
|
version: settings.sequencingStatePersistence.stateVersion || "1.0"
|
|
35813
35454
|
}, metadata);
|
|
35814
35455
|
config = settings.sequencingStatePersistence;
|
|
@@ -35936,7 +35577,7 @@
|
|
|
35936
35577
|
var settings = this.context.getSettings();
|
|
35937
35578
|
var state = {
|
|
35938
35579
|
version: ((_settings_sequencingStatePersistence = settings.sequencingStatePersistence) === null || _settings_sequencingStatePersistence === void 0 ? void 0 : _settings_sequencingStatePersistence.stateVersion) || "1.0",
|
|
35939
|
-
timestamp: /* @__PURE__ */ new Date().toISOString(),
|
|
35580
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
35940
35581
|
sequencing: null,
|
|
35941
35582
|
currentActivityId: null,
|
|
35942
35583
|
globalObjectives: this.globalObjectiveManager.globalObjectives.map(function(obj) {
|
|
@@ -36112,9 +35753,7 @@
|
|
|
36112
35753
|
if (Array.isArray(arr)) return arr;
|
|
36113
35754
|
}
|
|
36114
35755
|
function _class_call_check$1(instance, Constructor) {
|
|
36115
|
-
if (!(instance instanceof Constructor))
|
|
36116
|
-
throw new TypeError("Cannot call a class as a function");
|
|
36117
|
-
}
|
|
35756
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
36118
35757
|
}
|
|
36119
35758
|
function _defineProperties$1(target, props) {
|
|
36120
35759
|
for(var i = 0; i < props.length; i++){
|
|
@@ -36154,7 +35793,7 @@
|
|
|
36154
35793
|
return _arr;
|
|
36155
35794
|
}
|
|
36156
35795
|
function _non_iterable_rest() {
|
|
36157
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
35796
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
36158
35797
|
}
|
|
36159
35798
|
function _sliced_to_array(arr, i) {
|
|
36160
35799
|
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array$1(arr, i) || _non_iterable_rest();
|
|
@@ -36355,9 +35994,7 @@
|
|
|
36355
35994
|
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
|
36356
35995
|
}
|
|
36357
35996
|
function _assert_this_initialized(self) {
|
|
36358
|
-
if (self === void 0)
|
|
36359
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
36360
|
-
}
|
|
35997
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
36361
35998
|
return self;
|
|
36362
35999
|
}
|
|
36363
36000
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -36368,11 +36005,8 @@
|
|
|
36368
36005
|
reject(error);
|
|
36369
36006
|
return;
|
|
36370
36007
|
}
|
|
36371
|
-
if (info.done)
|
|
36372
|
-
|
|
36373
|
-
} else {
|
|
36374
|
-
Promise.resolve(value).then(_next, _throw);
|
|
36375
|
-
}
|
|
36008
|
+
if (info.done) resolve(value);
|
|
36009
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
36376
36010
|
}
|
|
36377
36011
|
function _async_to_generator(fn) {
|
|
36378
36012
|
return function() {
|
|
@@ -36394,9 +36028,7 @@
|
|
|
36394
36028
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
36395
36029
|
}
|
|
36396
36030
|
function _class_call_check(instance, Constructor) {
|
|
36397
|
-
if (!(instance instanceof Constructor))
|
|
36398
|
-
throw new TypeError("Cannot call a class as a function");
|
|
36399
|
-
}
|
|
36031
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
36400
36032
|
}
|
|
36401
36033
|
function _defineProperties(target, props) {
|
|
36402
36034
|
for(var i = 0; i < props.length; i++){
|
|
@@ -36419,9 +36051,7 @@
|
|
|
36419
36051
|
configurable: true,
|
|
36420
36052
|
writable: true
|
|
36421
36053
|
});
|
|
36422
|
-
} else
|
|
36423
|
-
obj[key] = value;
|
|
36424
|
-
}
|
|
36054
|
+
} else obj[key] = value;
|
|
36425
36055
|
return obj;
|
|
36426
36056
|
}
|
|
36427
36057
|
function _get_prototype_of(o) {
|
|
@@ -36447,15 +36077,23 @@
|
|
|
36447
36077
|
"@swc/helpers - instanceof";
|
|
36448
36078
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
36449
36079
|
return !!right[Symbol.hasInstance](left);
|
|
36450
|
-
} else
|
|
36451
|
-
|
|
36452
|
-
|
|
36080
|
+
} else return left instanceof right;
|
|
36081
|
+
}
|
|
36082
|
+
function _is_native_reflect_construct() {
|
|
36083
|
+
try {
|
|
36084
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
36085
|
+
} catch (_) {}
|
|
36086
|
+
return (_is_native_reflect_construct = function() {
|
|
36087
|
+
return !!result;
|
|
36088
|
+
})();
|
|
36453
36089
|
}
|
|
36454
36090
|
function _iterable_to_array(iter) {
|
|
36455
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
36091
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
36092
|
+
return Array.from(iter);
|
|
36093
|
+
}
|
|
36456
36094
|
}
|
|
36457
36095
|
function _non_iterable_spread() {
|
|
36458
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
36096
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
36459
36097
|
}
|
|
36460
36098
|
function _object_spread(target) {
|
|
36461
36099
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -36482,9 +36120,8 @@
|
|
|
36482
36120
|
}
|
|
36483
36121
|
function _object_spread_props(target, source) {
|
|
36484
36122
|
source = source != null ? source : {};
|
|
36485
|
-
if (Object.getOwnPropertyDescriptors)
|
|
36486
|
-
|
|
36487
|
-
} else {
|
|
36123
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
36124
|
+
else {
|
|
36488
36125
|
ownKeys(Object(source)).forEach(function(key) {
|
|
36489
36126
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
36490
36127
|
});
|
|
@@ -36492,9 +36129,7 @@
|
|
|
36492
36129
|
return target;
|
|
36493
36130
|
}
|
|
36494
36131
|
function _possible_constructor_return(self, call) {
|
|
36495
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
36496
|
-
return call;
|
|
36497
|
-
}
|
|
36132
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
36498
36133
|
return _assert_this_initialized(self);
|
|
36499
36134
|
}
|
|
36500
36135
|
function _set_prototype_of(o, p) {
|
|
@@ -36507,26 +36142,6 @@
|
|
|
36507
36142
|
function _to_consumable_array(arr) {
|
|
36508
36143
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
36509
36144
|
}
|
|
36510
|
-
function _type_of(obj) {
|
|
36511
|
-
"@swc/helpers - typeof";
|
|
36512
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
36513
|
-
}
|
|
36514
|
-
function _unsupported_iterable_to_array(o, minLen) {
|
|
36515
|
-
if (!o) return;
|
|
36516
|
-
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
36517
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
36518
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
36519
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
36520
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
36521
|
-
}
|
|
36522
|
-
function _is_native_reflect_construct() {
|
|
36523
|
-
try {
|
|
36524
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
36525
|
-
} catch (_) {}
|
|
36526
|
-
return (_is_native_reflect_construct = function() {
|
|
36527
|
-
return !!result;
|
|
36528
|
-
})();
|
|
36529
|
-
}
|
|
36530
36145
|
function _ts_generator(thisArg, body) {
|
|
36531
36146
|
var f, y, t, _ = {
|
|
36532
36147
|
label: 0,
|
|
@@ -36626,6 +36241,18 @@
|
|
|
36626
36241
|
};
|
|
36627
36242
|
}
|
|
36628
36243
|
}
|
|
36244
|
+
function _type_of(obj) {
|
|
36245
|
+
"@swc/helpers - typeof";
|
|
36246
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
36247
|
+
}
|
|
36248
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
36249
|
+
if (!o) return;
|
|
36250
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
36251
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
36252
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
36253
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
36254
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
36255
|
+
}
|
|
36629
36256
|
var __defProp = Object.defineProperty;
|
|
36630
36257
|
var __defNormalProp = function __defNormalProp(obj, key, value) {
|
|
36631
36258
|
return key in obj ? __defProp(obj, key, {
|
|
@@ -37529,7 +37156,7 @@
|
|
|
37529
37156
|
if (returnValue !== "") return;
|
|
37530
37157
|
if (this._setCMIElements.has(CMIElement)) return;
|
|
37531
37158
|
if (!NO_DEFAULT_2004_ELEMENTS.has(normalizeCMIIndices(CMIElement))) return;
|
|
37532
|
-
this.throwSCORMError(CMIElement, (_this__error_codes_VALUE_NOT_INITIALIZED = this._error_codes.VALUE_NOT_INITIALIZED) !== null && _this__error_codes_VALUE_NOT_INITIALIZED !== void 0 ? _this__error_codes_VALUE_NOT_INITIALIZED : 403, "The data model element passed to GetValue (".concat(CMIElement, ") has not been initialized."));
|
|
37159
|
+
this.throwSCORMError(CMIElement, (_this__error_codes_VALUE_NOT_INITIALIZED = this._error_codes.VALUE_NOT_INITIALIZED) !== null && _this__error_codes_VALUE_NOT_INITIALIZED !== void 0 ? _this__error_codes_VALUE_NOT_INITIALIZED : 403, "The data model element passed to GetValue (".concat(CMIElement, ") has not been initialized."), this.settings.uninitializedGetLogLevel);
|
|
37533
37160
|
}
|
|
37534
37161
|
},
|
|
37535
37162
|
{
|