@liquidcommercedev/rmn-sdk 1.5.0-beta.21 → 1.5.0-beta.23
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +379 -240
- package/dist/index.esm.js +379 -240
- package/dist/types/common/http/api.constant.d.ts +1 -1
- package/dist/types/common/http/api.interface.d.ts +1 -1
- package/dist/types/common/http/base.api.d.ts +1 -1
- package/dist/types/modules/monitor/monitor.enums.d.ts +1 -0
- package/dist/types/modules/selection/selection.type.d.ts +5 -9
- package/dist/types/rmn-client.d.ts +1 -0
- package/package.json +30 -30
- package/umd/liquidcommerce-rmn-sdk.min.js +1 -1
package/dist/index.esm.js
CHANGED
@@ -6507,7 +6507,7 @@ function getRedirectUrlFromPayload(url) {
|
|
6507
6507
|
return (eventData === null || eventData === void 0 ? void 0 : eventData.ur) || null;
|
6508
6508
|
}
|
6509
6509
|
catch (_a) {
|
6510
|
-
console.warn('
|
6510
|
+
console.warn('LiquidCommerce Rmn Sdk: Failed to extract redirect URL from payload.');
|
6511
6511
|
return null;
|
6512
6512
|
}
|
6513
6513
|
}
|
@@ -6747,13 +6747,13 @@ function getAugmentedNamespace(n) {
|
|
6747
6747
|
return a;
|
6748
6748
|
}
|
6749
6749
|
|
6750
|
-
var cryptoJs = {exports: {}};
|
6750
|
+
var cryptoJs$1 = {exports: {}};
|
6751
6751
|
|
6752
6752
|
function commonjsRequire(path) {
|
6753
6753
|
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
6754
6754
|
}
|
6755
6755
|
|
6756
|
-
var core = {exports: {}};
|
6756
|
+
var core$1 = {exports: {}};
|
6757
6757
|
|
6758
6758
|
var _polyfillNode_crypto = {};
|
6759
6759
|
|
@@ -6764,10 +6764,12 @@ var _polyfillNode_crypto$1 = /*#__PURE__*/Object.freeze({
|
|
6764
6764
|
|
6765
6765
|
var require$$0 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_crypto$1);
|
6766
6766
|
|
6767
|
+
var core = core$1.exports;
|
6768
|
+
|
6767
6769
|
var hasRequiredCore;
|
6768
6770
|
|
6769
6771
|
function requireCore () {
|
6770
|
-
if (hasRequiredCore) return core.exports;
|
6772
|
+
if (hasRequiredCore) return core$1.exports;
|
6771
6773
|
hasRequiredCore = 1;
|
6772
6774
|
(function (module, exports) {
|
6773
6775
|
(function (root, factory) {
|
@@ -6775,7 +6777,7 @@ function requireCore () {
|
|
6775
6777
|
// CommonJS
|
6776
6778
|
module.exports = factory();
|
6777
6779
|
}
|
6778
|
-
}(
|
6780
|
+
}(core, function () {
|
6779
6781
|
|
6780
6782
|
/*globals window, global, require*/
|
6781
6783
|
|
@@ -7569,16 +7571,18 @@ function requireCore () {
|
|
7569
7571
|
return CryptoJS;
|
7570
7572
|
|
7571
7573
|
}));
|
7572
|
-
} (core));
|
7573
|
-
return core.exports;
|
7574
|
+
} (core$1));
|
7575
|
+
return core$1.exports;
|
7574
7576
|
}
|
7575
7577
|
|
7576
|
-
var x64Core = {exports: {}};
|
7578
|
+
var x64Core$1 = {exports: {}};
|
7579
|
+
|
7580
|
+
var x64Core = x64Core$1.exports;
|
7577
7581
|
|
7578
7582
|
var hasRequiredX64Core;
|
7579
7583
|
|
7580
7584
|
function requireX64Core () {
|
7581
|
-
if (hasRequiredX64Core) return x64Core.exports;
|
7585
|
+
if (hasRequiredX64Core) return x64Core$1.exports;
|
7582
7586
|
hasRequiredX64Core = 1;
|
7583
7587
|
(function (module, exports) {
|
7584
7588
|
(function (root, factory) {
|
@@ -7586,7 +7590,7 @@ function requireX64Core () {
|
|
7586
7590
|
// CommonJS
|
7587
7591
|
module.exports = factory(requireCore());
|
7588
7592
|
}
|
7589
|
-
}(
|
7593
|
+
}(x64Core, function (CryptoJS) {
|
7590
7594
|
|
7591
7595
|
(function (undefined$1) {
|
7592
7596
|
// Shortcuts
|
@@ -7877,16 +7881,18 @@ function requireX64Core () {
|
|
7877
7881
|
return CryptoJS;
|
7878
7882
|
|
7879
7883
|
}));
|
7880
|
-
} (x64Core));
|
7881
|
-
return x64Core.exports;
|
7884
|
+
} (x64Core$1));
|
7885
|
+
return x64Core$1.exports;
|
7882
7886
|
}
|
7883
7887
|
|
7884
|
-
var libTypedarrays = {exports: {}};
|
7888
|
+
var libTypedarrays$1 = {exports: {}};
|
7889
|
+
|
7890
|
+
var libTypedarrays = libTypedarrays$1.exports;
|
7885
7891
|
|
7886
7892
|
var hasRequiredLibTypedarrays;
|
7887
7893
|
|
7888
7894
|
function requireLibTypedarrays () {
|
7889
|
-
if (hasRequiredLibTypedarrays) return libTypedarrays.exports;
|
7895
|
+
if (hasRequiredLibTypedarrays) return libTypedarrays$1.exports;
|
7890
7896
|
hasRequiredLibTypedarrays = 1;
|
7891
7897
|
(function (module, exports) {
|
7892
7898
|
(function (root, factory) {
|
@@ -7894,7 +7900,7 @@ function requireLibTypedarrays () {
|
|
7894
7900
|
// CommonJS
|
7895
7901
|
module.exports = factory(requireCore());
|
7896
7902
|
}
|
7897
|
-
}(
|
7903
|
+
}(libTypedarrays, function (CryptoJS) {
|
7898
7904
|
|
7899
7905
|
(function () {
|
7900
7906
|
// Check if typed arrays are supported
|
@@ -7957,16 +7963,18 @@ function requireLibTypedarrays () {
|
|
7957
7963
|
return CryptoJS.lib.WordArray;
|
7958
7964
|
|
7959
7965
|
}));
|
7960
|
-
} (libTypedarrays));
|
7961
|
-
return libTypedarrays.exports;
|
7966
|
+
} (libTypedarrays$1));
|
7967
|
+
return libTypedarrays$1.exports;
|
7962
7968
|
}
|
7963
7969
|
|
7964
|
-
var encUtf16 = {exports: {}};
|
7970
|
+
var encUtf16$1 = {exports: {}};
|
7971
|
+
|
7972
|
+
var encUtf16 = encUtf16$1.exports;
|
7965
7973
|
|
7966
7974
|
var hasRequiredEncUtf16;
|
7967
7975
|
|
7968
7976
|
function requireEncUtf16 () {
|
7969
|
-
if (hasRequiredEncUtf16) return encUtf16.exports;
|
7977
|
+
if (hasRequiredEncUtf16) return encUtf16$1.exports;
|
7970
7978
|
hasRequiredEncUtf16 = 1;
|
7971
7979
|
(function (module, exports) {
|
7972
7980
|
(function (root, factory) {
|
@@ -7974,7 +7982,7 @@ function requireEncUtf16 () {
|
|
7974
7982
|
// CommonJS
|
7975
7983
|
module.exports = factory(requireCore());
|
7976
7984
|
}
|
7977
|
-
}(
|
7985
|
+
}(encUtf16, function (CryptoJS) {
|
7978
7986
|
|
7979
7987
|
(function () {
|
7980
7988
|
// Shortcuts
|
@@ -8110,16 +8118,18 @@ function requireEncUtf16 () {
|
|
8110
8118
|
return CryptoJS.enc.Utf16;
|
8111
8119
|
|
8112
8120
|
}));
|
8113
|
-
} (encUtf16));
|
8114
|
-
return encUtf16.exports;
|
8121
|
+
} (encUtf16$1));
|
8122
|
+
return encUtf16$1.exports;
|
8115
8123
|
}
|
8116
8124
|
|
8117
|
-
var encBase64 = {exports: {}};
|
8125
|
+
var encBase64$1 = {exports: {}};
|
8126
|
+
|
8127
|
+
var encBase64 = encBase64$1.exports;
|
8118
8128
|
|
8119
8129
|
var hasRequiredEncBase64;
|
8120
8130
|
|
8121
8131
|
function requireEncBase64 () {
|
8122
|
-
if (hasRequiredEncBase64) return encBase64.exports;
|
8132
|
+
if (hasRequiredEncBase64) return encBase64$1.exports;
|
8123
8133
|
hasRequiredEncBase64 = 1;
|
8124
8134
|
(function (module, exports) {
|
8125
8135
|
(function (root, factory) {
|
@@ -8127,7 +8137,7 @@ function requireEncBase64 () {
|
|
8127
8137
|
// CommonJS
|
8128
8138
|
module.exports = factory(requireCore());
|
8129
8139
|
}
|
8130
|
-
}(
|
8140
|
+
}(encBase64, function (CryptoJS) {
|
8131
8141
|
|
8132
8142
|
(function () {
|
8133
8143
|
// Shortcuts
|
@@ -8250,16 +8260,18 @@ function requireEncBase64 () {
|
|
8250
8260
|
return CryptoJS.enc.Base64;
|
8251
8261
|
|
8252
8262
|
}));
|
8253
|
-
} (encBase64));
|
8254
|
-
return encBase64.exports;
|
8263
|
+
} (encBase64$1));
|
8264
|
+
return encBase64$1.exports;
|
8255
8265
|
}
|
8256
8266
|
|
8257
|
-
var encBase64url = {exports: {}};
|
8267
|
+
var encBase64url$1 = {exports: {}};
|
8268
|
+
|
8269
|
+
var encBase64url = encBase64url$1.exports;
|
8258
8270
|
|
8259
8271
|
var hasRequiredEncBase64url;
|
8260
8272
|
|
8261
8273
|
function requireEncBase64url () {
|
8262
|
-
if (hasRequiredEncBase64url) return encBase64url.exports;
|
8274
|
+
if (hasRequiredEncBase64url) return encBase64url$1.exports;
|
8263
8275
|
hasRequiredEncBase64url = 1;
|
8264
8276
|
(function (module, exports) {
|
8265
8277
|
(function (root, factory) {
|
@@ -8267,7 +8279,7 @@ function requireEncBase64url () {
|
|
8267
8279
|
// CommonJS
|
8268
8280
|
module.exports = factory(requireCore());
|
8269
8281
|
}
|
8270
|
-
}(
|
8282
|
+
}(encBase64url, function (CryptoJS) {
|
8271
8283
|
|
8272
8284
|
(function () {
|
8273
8285
|
// Shortcuts
|
@@ -8402,16 +8414,18 @@ function requireEncBase64url () {
|
|
8402
8414
|
return CryptoJS.enc.Base64url;
|
8403
8415
|
|
8404
8416
|
}));
|
8405
|
-
} (encBase64url));
|
8406
|
-
return encBase64url.exports;
|
8417
|
+
} (encBase64url$1));
|
8418
|
+
return encBase64url$1.exports;
|
8407
8419
|
}
|
8408
8420
|
|
8409
|
-
var md5 = {exports: {}};
|
8421
|
+
var md5$1 = {exports: {}};
|
8422
|
+
|
8423
|
+
var md5 = md5$1.exports;
|
8410
8424
|
|
8411
8425
|
var hasRequiredMd5;
|
8412
8426
|
|
8413
8427
|
function requireMd5 () {
|
8414
|
-
if (hasRequiredMd5) return md5.exports;
|
8428
|
+
if (hasRequiredMd5) return md5$1.exports;
|
8415
8429
|
hasRequiredMd5 = 1;
|
8416
8430
|
(function (module, exports) {
|
8417
8431
|
(function (root, factory) {
|
@@ -8419,7 +8433,7 @@ function requireMd5 () {
|
|
8419
8433
|
// CommonJS
|
8420
8434
|
module.exports = factory(requireCore());
|
8421
8435
|
}
|
8422
|
-
}(
|
8436
|
+
}(md5, function (CryptoJS) {
|
8423
8437
|
|
8424
8438
|
(function (Math) {
|
8425
8439
|
// Shortcuts
|
@@ -8674,16 +8688,18 @@ function requireMd5 () {
|
|
8674
8688
|
return CryptoJS.MD5;
|
8675
8689
|
|
8676
8690
|
}));
|
8677
|
-
} (md5));
|
8678
|
-
return md5.exports;
|
8691
|
+
} (md5$1));
|
8692
|
+
return md5$1.exports;
|
8679
8693
|
}
|
8680
8694
|
|
8681
|
-
var sha1 = {exports: {}};
|
8695
|
+
var sha1$1 = {exports: {}};
|
8696
|
+
|
8697
|
+
var sha1 = sha1$1.exports;
|
8682
8698
|
|
8683
8699
|
var hasRequiredSha1;
|
8684
8700
|
|
8685
8701
|
function requireSha1 () {
|
8686
|
-
if (hasRequiredSha1) return sha1.exports;
|
8702
|
+
if (hasRequiredSha1) return sha1$1.exports;
|
8687
8703
|
hasRequiredSha1 = 1;
|
8688
8704
|
(function (module, exports) {
|
8689
8705
|
(function (root, factory) {
|
@@ -8691,7 +8707,7 @@ function requireSha1 () {
|
|
8691
8707
|
// CommonJS
|
8692
8708
|
module.exports = factory(requireCore());
|
8693
8709
|
}
|
8694
|
-
}(
|
8710
|
+
}(sha1, function (CryptoJS) {
|
8695
8711
|
|
8696
8712
|
(function () {
|
8697
8713
|
// Shortcuts
|
@@ -8828,16 +8844,18 @@ function requireSha1 () {
|
|
8828
8844
|
return CryptoJS.SHA1;
|
8829
8845
|
|
8830
8846
|
}));
|
8831
|
-
} (sha1));
|
8832
|
-
return sha1.exports;
|
8847
|
+
} (sha1$1));
|
8848
|
+
return sha1$1.exports;
|
8833
8849
|
}
|
8834
8850
|
|
8835
|
-
var sha256 = {exports: {}};
|
8851
|
+
var sha256$1 = {exports: {}};
|
8852
|
+
|
8853
|
+
var sha256 = sha256$1.exports;
|
8836
8854
|
|
8837
8855
|
var hasRequiredSha256;
|
8838
8856
|
|
8839
8857
|
function requireSha256 () {
|
8840
|
-
if (hasRequiredSha256) return sha256.exports;
|
8858
|
+
if (hasRequiredSha256) return sha256$1.exports;
|
8841
8859
|
hasRequiredSha256 = 1;
|
8842
8860
|
(function (module, exports) {
|
8843
8861
|
(function (root, factory) {
|
@@ -8845,7 +8863,7 @@ function requireSha256 () {
|
|
8845
8863
|
// CommonJS
|
8846
8864
|
module.exports = factory(requireCore());
|
8847
8865
|
}
|
8848
|
-
}(
|
8866
|
+
}(sha256, function (CryptoJS) {
|
8849
8867
|
|
8850
8868
|
(function (Math) {
|
8851
8869
|
// Shortcuts
|
@@ -9031,16 +9049,18 @@ function requireSha256 () {
|
|
9031
9049
|
return CryptoJS.SHA256;
|
9032
9050
|
|
9033
9051
|
}));
|
9034
|
-
} (sha256));
|
9035
|
-
return sha256.exports;
|
9052
|
+
} (sha256$1));
|
9053
|
+
return sha256$1.exports;
|
9036
9054
|
}
|
9037
9055
|
|
9038
|
-
var sha224 = {exports: {}};
|
9056
|
+
var sha224$1 = {exports: {}};
|
9057
|
+
|
9058
|
+
var sha224 = sha224$1.exports;
|
9039
9059
|
|
9040
9060
|
var hasRequiredSha224;
|
9041
9061
|
|
9042
9062
|
function requireSha224 () {
|
9043
|
-
if (hasRequiredSha224) return sha224.exports;
|
9063
|
+
if (hasRequiredSha224) return sha224$1.exports;
|
9044
9064
|
hasRequiredSha224 = 1;
|
9045
9065
|
(function (module, exports) {
|
9046
9066
|
(function (root, factory, undef) {
|
@@ -9048,7 +9068,7 @@ function requireSha224 () {
|
|
9048
9068
|
// CommonJS
|
9049
9069
|
module.exports = factory(requireCore(), requireSha256());
|
9050
9070
|
}
|
9051
|
-
}(
|
9071
|
+
}(sha224, function (CryptoJS) {
|
9052
9072
|
|
9053
9073
|
(function () {
|
9054
9074
|
// Shortcuts
|
@@ -9115,16 +9135,18 @@ function requireSha224 () {
|
|
9115
9135
|
return CryptoJS.SHA224;
|
9116
9136
|
|
9117
9137
|
}));
|
9118
|
-
} (sha224));
|
9119
|
-
return sha224.exports;
|
9138
|
+
} (sha224$1));
|
9139
|
+
return sha224$1.exports;
|
9120
9140
|
}
|
9121
9141
|
|
9122
|
-
var sha512 = {exports: {}};
|
9142
|
+
var sha512$1 = {exports: {}};
|
9143
|
+
|
9144
|
+
var sha512 = sha512$1.exports;
|
9123
9145
|
|
9124
9146
|
var hasRequiredSha512;
|
9125
9147
|
|
9126
9148
|
function requireSha512 () {
|
9127
|
-
if (hasRequiredSha512) return sha512.exports;
|
9149
|
+
if (hasRequiredSha512) return sha512$1.exports;
|
9128
9150
|
hasRequiredSha512 = 1;
|
9129
9151
|
(function (module, exports) {
|
9130
9152
|
(function (root, factory, undef) {
|
@@ -9132,7 +9154,7 @@ function requireSha512 () {
|
|
9132
9154
|
// CommonJS
|
9133
9155
|
module.exports = factory(requireCore(), requireX64Core());
|
9134
9156
|
}
|
9135
|
-
}(
|
9157
|
+
}(sha512, function (CryptoJS) {
|
9136
9158
|
|
9137
9159
|
(function () {
|
9138
9160
|
// Shortcuts
|
@@ -9445,16 +9467,18 @@ function requireSha512 () {
|
|
9445
9467
|
return CryptoJS.SHA512;
|
9446
9468
|
|
9447
9469
|
}));
|
9448
|
-
} (sha512));
|
9449
|
-
return sha512.exports;
|
9470
|
+
} (sha512$1));
|
9471
|
+
return sha512$1.exports;
|
9450
9472
|
}
|
9451
9473
|
|
9452
|
-
var sha384 = {exports: {}};
|
9474
|
+
var sha384$1 = {exports: {}};
|
9475
|
+
|
9476
|
+
var sha384 = sha384$1.exports;
|
9453
9477
|
|
9454
9478
|
var hasRequiredSha384;
|
9455
9479
|
|
9456
9480
|
function requireSha384 () {
|
9457
|
-
if (hasRequiredSha384) return sha384.exports;
|
9481
|
+
if (hasRequiredSha384) return sha384$1.exports;
|
9458
9482
|
hasRequiredSha384 = 1;
|
9459
9483
|
(function (module, exports) {
|
9460
9484
|
(function (root, factory, undef) {
|
@@ -9462,7 +9486,7 @@ function requireSha384 () {
|
|
9462
9486
|
// CommonJS
|
9463
9487
|
module.exports = factory(requireCore(), requireX64Core(), requireSha512());
|
9464
9488
|
}
|
9465
|
-
}(
|
9489
|
+
}(sha384, function (CryptoJS) {
|
9466
9490
|
|
9467
9491
|
(function () {
|
9468
9492
|
// Shortcuts
|
@@ -9532,16 +9556,18 @@ function requireSha384 () {
|
|
9532
9556
|
return CryptoJS.SHA384;
|
9533
9557
|
|
9534
9558
|
}));
|
9535
|
-
} (sha384));
|
9536
|
-
return sha384.exports;
|
9559
|
+
} (sha384$1));
|
9560
|
+
return sha384$1.exports;
|
9537
9561
|
}
|
9538
9562
|
|
9539
|
-
var sha3 = {exports: {}};
|
9563
|
+
var sha3$1 = {exports: {}};
|
9564
|
+
|
9565
|
+
var sha3 = sha3$1.exports;
|
9540
9566
|
|
9541
9567
|
var hasRequiredSha3;
|
9542
9568
|
|
9543
9569
|
function requireSha3 () {
|
9544
|
-
if (hasRequiredSha3) return sha3.exports;
|
9570
|
+
if (hasRequiredSha3) return sha3$1.exports;
|
9545
9571
|
hasRequiredSha3 = 1;
|
9546
9572
|
(function (module, exports) {
|
9547
9573
|
(function (root, factory, undef) {
|
@@ -9549,7 +9575,7 @@ function requireSha3 () {
|
|
9549
9575
|
// CommonJS
|
9550
9576
|
module.exports = factory(requireCore(), requireX64Core());
|
9551
9577
|
}
|
9552
|
-
}(
|
9578
|
+
}(sha3, function (CryptoJS) {
|
9553
9579
|
|
9554
9580
|
(function (Math) {
|
9555
9581
|
// Shortcuts
|
@@ -9862,16 +9888,18 @@ function requireSha3 () {
|
|
9862
9888
|
return CryptoJS.SHA3;
|
9863
9889
|
|
9864
9890
|
}));
|
9865
|
-
} (sha3));
|
9866
|
-
return sha3.exports;
|
9891
|
+
} (sha3$1));
|
9892
|
+
return sha3$1.exports;
|
9867
9893
|
}
|
9868
9894
|
|
9869
|
-
var ripemd160 = {exports: {}};
|
9895
|
+
var ripemd160$1 = {exports: {}};
|
9896
|
+
|
9897
|
+
var ripemd160 = ripemd160$1.exports;
|
9870
9898
|
|
9871
9899
|
var hasRequiredRipemd160;
|
9872
9900
|
|
9873
9901
|
function requireRipemd160 () {
|
9874
|
-
if (hasRequiredRipemd160) return ripemd160.exports;
|
9902
|
+
if (hasRequiredRipemd160) return ripemd160$1.exports;
|
9875
9903
|
hasRequiredRipemd160 = 1;
|
9876
9904
|
(function (module, exports) {
|
9877
9905
|
(function (root, factory) {
|
@@ -9879,7 +9907,7 @@ function requireRipemd160 () {
|
|
9879
9907
|
// CommonJS
|
9880
9908
|
module.exports = factory(requireCore());
|
9881
9909
|
}
|
9882
|
-
}(
|
9910
|
+
}(ripemd160, function (CryptoJS) {
|
9883
9911
|
|
9884
9912
|
/** @preserve
|
9885
9913
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
@@ -10133,16 +10161,18 @@ function requireRipemd160 () {
|
|
10133
10161
|
return CryptoJS.RIPEMD160;
|
10134
10162
|
|
10135
10163
|
}));
|
10136
|
-
} (ripemd160));
|
10137
|
-
return ripemd160.exports;
|
10164
|
+
} (ripemd160$1));
|
10165
|
+
return ripemd160$1.exports;
|
10138
10166
|
}
|
10139
10167
|
|
10140
|
-
var hmac = {exports: {}};
|
10168
|
+
var hmac$1 = {exports: {}};
|
10169
|
+
|
10170
|
+
var hmac = hmac$1.exports;
|
10141
10171
|
|
10142
10172
|
var hasRequiredHmac;
|
10143
10173
|
|
10144
10174
|
function requireHmac () {
|
10145
|
-
if (hasRequiredHmac) return hmac.exports;
|
10175
|
+
if (hasRequiredHmac) return hmac$1.exports;
|
10146
10176
|
hasRequiredHmac = 1;
|
10147
10177
|
(function (module, exports) {
|
10148
10178
|
(function (root, factory) {
|
@@ -10150,7 +10180,7 @@ function requireHmac () {
|
|
10150
10180
|
// CommonJS
|
10151
10181
|
module.exports = factory(requireCore());
|
10152
10182
|
}
|
10153
|
-
}(
|
10183
|
+
}(hmac, function (CryptoJS) {
|
10154
10184
|
|
10155
10185
|
(function () {
|
10156
10186
|
// Shortcuts
|
@@ -10280,16 +10310,18 @@ function requireHmac () {
|
|
10280
10310
|
|
10281
10311
|
|
10282
10312
|
}));
|
10283
|
-
} (hmac));
|
10284
|
-
return hmac.exports;
|
10313
|
+
} (hmac$1));
|
10314
|
+
return hmac$1.exports;
|
10285
10315
|
}
|
10286
10316
|
|
10287
|
-
var pbkdf2 = {exports: {}};
|
10317
|
+
var pbkdf2$1 = {exports: {}};
|
10318
|
+
|
10319
|
+
var pbkdf2 = pbkdf2$1.exports;
|
10288
10320
|
|
10289
10321
|
var hasRequiredPbkdf2;
|
10290
10322
|
|
10291
10323
|
function requirePbkdf2 () {
|
10292
|
-
if (hasRequiredPbkdf2) return pbkdf2.exports;
|
10324
|
+
if (hasRequiredPbkdf2) return pbkdf2$1.exports;
|
10293
10325
|
hasRequiredPbkdf2 = 1;
|
10294
10326
|
(function (module, exports) {
|
10295
10327
|
(function (root, factory, undef) {
|
@@ -10297,7 +10329,7 @@ function requirePbkdf2 () {
|
|
10297
10329
|
// CommonJS
|
10298
10330
|
module.exports = factory(requireCore(), requireSha256(), requireHmac());
|
10299
10331
|
}
|
10300
|
-
}(
|
10332
|
+
}(pbkdf2, function (CryptoJS) {
|
10301
10333
|
|
10302
10334
|
(function () {
|
10303
10335
|
// Shortcuts
|
@@ -10429,16 +10461,18 @@ function requirePbkdf2 () {
|
|
10429
10461
|
return CryptoJS.PBKDF2;
|
10430
10462
|
|
10431
10463
|
}));
|
10432
|
-
} (pbkdf2));
|
10433
|
-
return pbkdf2.exports;
|
10464
|
+
} (pbkdf2$1));
|
10465
|
+
return pbkdf2$1.exports;
|
10434
10466
|
}
|
10435
10467
|
|
10436
|
-
var evpkdf = {exports: {}};
|
10468
|
+
var evpkdf$1 = {exports: {}};
|
10469
|
+
|
10470
|
+
var evpkdf = evpkdf$1.exports;
|
10437
10471
|
|
10438
10472
|
var hasRequiredEvpkdf;
|
10439
10473
|
|
10440
10474
|
function requireEvpkdf () {
|
10441
|
-
if (hasRequiredEvpkdf) return evpkdf.exports;
|
10475
|
+
if (hasRequiredEvpkdf) return evpkdf$1.exports;
|
10442
10476
|
hasRequiredEvpkdf = 1;
|
10443
10477
|
(function (module, exports) {
|
10444
10478
|
(function (root, factory, undef) {
|
@@ -10446,7 +10480,7 @@ function requireEvpkdf () {
|
|
10446
10480
|
// CommonJS
|
10447
10481
|
module.exports = factory(requireCore(), requireSha1(), requireHmac());
|
10448
10482
|
}
|
10449
|
-
}(
|
10483
|
+
}(evpkdf, function (CryptoJS) {
|
10450
10484
|
|
10451
10485
|
(function () {
|
10452
10486
|
// Shortcuts
|
@@ -10567,16 +10601,18 @@ function requireEvpkdf () {
|
|
10567
10601
|
return CryptoJS.EvpKDF;
|
10568
10602
|
|
10569
10603
|
}));
|
10570
|
-
} (evpkdf));
|
10571
|
-
return evpkdf.exports;
|
10604
|
+
} (evpkdf$1));
|
10605
|
+
return evpkdf$1.exports;
|
10572
10606
|
}
|
10573
10607
|
|
10574
|
-
var cipherCore = {exports: {}};
|
10608
|
+
var cipherCore$1 = {exports: {}};
|
10609
|
+
|
10610
|
+
var cipherCore = cipherCore$1.exports;
|
10575
10611
|
|
10576
10612
|
var hasRequiredCipherCore;
|
10577
10613
|
|
10578
10614
|
function requireCipherCore () {
|
10579
|
-
if (hasRequiredCipherCore) return cipherCore.exports;
|
10615
|
+
if (hasRequiredCipherCore) return cipherCore$1.exports;
|
10580
10616
|
hasRequiredCipherCore = 1;
|
10581
10617
|
(function (module, exports) {
|
10582
10618
|
(function (root, factory, undef) {
|
@@ -10584,7 +10620,7 @@ function requireCipherCore () {
|
|
10584
10620
|
// CommonJS
|
10585
10621
|
module.exports = factory(requireCore(), requireEvpkdf());
|
10586
10622
|
}
|
10587
|
-
}(
|
10623
|
+
}(cipherCore, function (CryptoJS) {
|
10588
10624
|
|
10589
10625
|
/**
|
10590
10626
|
* Cipher core components.
|
@@ -11466,16 +11502,18 @@ function requireCipherCore () {
|
|
11466
11502
|
|
11467
11503
|
|
11468
11504
|
}));
|
11469
|
-
} (cipherCore));
|
11470
|
-
return cipherCore.exports;
|
11505
|
+
} (cipherCore$1));
|
11506
|
+
return cipherCore$1.exports;
|
11471
11507
|
}
|
11472
11508
|
|
11473
|
-
var modeCfb = {exports: {}};
|
11509
|
+
var modeCfb$1 = {exports: {}};
|
11510
|
+
|
11511
|
+
var modeCfb = modeCfb$1.exports;
|
11474
11512
|
|
11475
11513
|
var hasRequiredModeCfb;
|
11476
11514
|
|
11477
11515
|
function requireModeCfb () {
|
11478
|
-
if (hasRequiredModeCfb) return modeCfb.exports;
|
11516
|
+
if (hasRequiredModeCfb) return modeCfb$1.exports;
|
11479
11517
|
hasRequiredModeCfb = 1;
|
11480
11518
|
(function (module, exports) {
|
11481
11519
|
(function (root, factory, undef) {
|
@@ -11483,7 +11521,7 @@ function requireModeCfb () {
|
|
11483
11521
|
// CommonJS
|
11484
11522
|
module.exports = factory(requireCore(), requireCipherCore());
|
11485
11523
|
}
|
11486
|
-
}(
|
11524
|
+
}(modeCfb, function (CryptoJS) {
|
11487
11525
|
|
11488
11526
|
/**
|
11489
11527
|
* Cipher Feedback block mode.
|
@@ -11550,16 +11588,18 @@ function requireModeCfb () {
|
|
11550
11588
|
return CryptoJS.mode.CFB;
|
11551
11589
|
|
11552
11590
|
}));
|
11553
|
-
} (modeCfb));
|
11554
|
-
return modeCfb.exports;
|
11591
|
+
} (modeCfb$1));
|
11592
|
+
return modeCfb$1.exports;
|
11555
11593
|
}
|
11556
11594
|
|
11557
|
-
var modeCtr = {exports: {}};
|
11595
|
+
var modeCtr$1 = {exports: {}};
|
11596
|
+
|
11597
|
+
var modeCtr = modeCtr$1.exports;
|
11558
11598
|
|
11559
11599
|
var hasRequiredModeCtr;
|
11560
11600
|
|
11561
11601
|
function requireModeCtr () {
|
11562
|
-
if (hasRequiredModeCtr) return modeCtr.exports;
|
11602
|
+
if (hasRequiredModeCtr) return modeCtr$1.exports;
|
11563
11603
|
hasRequiredModeCtr = 1;
|
11564
11604
|
(function (module, exports) {
|
11565
11605
|
(function (root, factory, undef) {
|
@@ -11567,7 +11607,7 @@ function requireModeCtr () {
|
|
11567
11607
|
// CommonJS
|
11568
11608
|
module.exports = factory(requireCore(), requireCipherCore());
|
11569
11609
|
}
|
11570
|
-
}(
|
11610
|
+
}(modeCtr, function (CryptoJS) {
|
11571
11611
|
|
11572
11612
|
/**
|
11573
11613
|
* Counter block mode.
|
@@ -11612,16 +11652,18 @@ function requireModeCtr () {
|
|
11612
11652
|
return CryptoJS.mode.CTR;
|
11613
11653
|
|
11614
11654
|
}));
|
11615
|
-
} (modeCtr));
|
11616
|
-
return modeCtr.exports;
|
11655
|
+
} (modeCtr$1));
|
11656
|
+
return modeCtr$1.exports;
|
11617
11657
|
}
|
11618
11658
|
|
11619
|
-
var modeCtrGladman = {exports: {}};
|
11659
|
+
var modeCtrGladman$1 = {exports: {}};
|
11660
|
+
|
11661
|
+
var modeCtrGladman = modeCtrGladman$1.exports;
|
11620
11662
|
|
11621
11663
|
var hasRequiredModeCtrGladman;
|
11622
11664
|
|
11623
11665
|
function requireModeCtrGladman () {
|
11624
|
-
if (hasRequiredModeCtrGladman) return modeCtrGladman.exports;
|
11666
|
+
if (hasRequiredModeCtrGladman) return modeCtrGladman$1.exports;
|
11625
11667
|
hasRequiredModeCtrGladman = 1;
|
11626
11668
|
(function (module, exports) {
|
11627
11669
|
(function (root, factory, undef) {
|
@@ -11629,7 +11671,7 @@ function requireModeCtrGladman () {
|
|
11629
11671
|
// CommonJS
|
11630
11672
|
module.exports = factory(requireCore(), requireCipherCore());
|
11631
11673
|
}
|
11632
|
-
}(
|
11674
|
+
}(modeCtrGladman, function (CryptoJS) {
|
11633
11675
|
|
11634
11676
|
/** @preserve
|
11635
11677
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
@@ -11732,16 +11774,18 @@ function requireModeCtrGladman () {
|
|
11732
11774
|
return CryptoJS.mode.CTRGladman;
|
11733
11775
|
|
11734
11776
|
}));
|
11735
|
-
} (modeCtrGladman));
|
11736
|
-
return modeCtrGladman.exports;
|
11777
|
+
} (modeCtrGladman$1));
|
11778
|
+
return modeCtrGladman$1.exports;
|
11737
11779
|
}
|
11738
11780
|
|
11739
|
-
var modeOfb = {exports: {}};
|
11781
|
+
var modeOfb$1 = {exports: {}};
|
11782
|
+
|
11783
|
+
var modeOfb = modeOfb$1.exports;
|
11740
11784
|
|
11741
11785
|
var hasRequiredModeOfb;
|
11742
11786
|
|
11743
11787
|
function requireModeOfb () {
|
11744
|
-
if (hasRequiredModeOfb) return modeOfb.exports;
|
11788
|
+
if (hasRequiredModeOfb) return modeOfb$1.exports;
|
11745
11789
|
hasRequiredModeOfb = 1;
|
11746
11790
|
(function (module, exports) {
|
11747
11791
|
(function (root, factory, undef) {
|
@@ -11749,7 +11793,7 @@ function requireModeOfb () {
|
|
11749
11793
|
// CommonJS
|
11750
11794
|
module.exports = factory(requireCore(), requireCipherCore());
|
11751
11795
|
}
|
11752
|
-
}(
|
11796
|
+
}(modeOfb, function (CryptoJS) {
|
11753
11797
|
|
11754
11798
|
/**
|
11755
11799
|
* Output Feedback block mode.
|
@@ -11790,16 +11834,18 @@ function requireModeOfb () {
|
|
11790
11834
|
return CryptoJS.mode.OFB;
|
11791
11835
|
|
11792
11836
|
}));
|
11793
|
-
} (modeOfb));
|
11794
|
-
return modeOfb.exports;
|
11837
|
+
} (modeOfb$1));
|
11838
|
+
return modeOfb$1.exports;
|
11795
11839
|
}
|
11796
11840
|
|
11797
|
-
var modeEcb = {exports: {}};
|
11841
|
+
var modeEcb$1 = {exports: {}};
|
11842
|
+
|
11843
|
+
var modeEcb = modeEcb$1.exports;
|
11798
11844
|
|
11799
11845
|
var hasRequiredModeEcb;
|
11800
11846
|
|
11801
11847
|
function requireModeEcb () {
|
11802
|
-
if (hasRequiredModeEcb) return modeEcb.exports;
|
11848
|
+
if (hasRequiredModeEcb) return modeEcb$1.exports;
|
11803
11849
|
hasRequiredModeEcb = 1;
|
11804
11850
|
(function (module, exports) {
|
11805
11851
|
(function (root, factory, undef) {
|
@@ -11807,7 +11853,7 @@ function requireModeEcb () {
|
|
11807
11853
|
// CommonJS
|
11808
11854
|
module.exports = factory(requireCore(), requireCipherCore());
|
11809
11855
|
}
|
11810
|
-
}(
|
11856
|
+
}(modeEcb, function (CryptoJS) {
|
11811
11857
|
|
11812
11858
|
/**
|
11813
11859
|
* Electronic Codebook block mode.
|
@@ -11834,16 +11880,18 @@ function requireModeEcb () {
|
|
11834
11880
|
return CryptoJS.mode.ECB;
|
11835
11881
|
|
11836
11882
|
}));
|
11837
|
-
} (modeEcb));
|
11838
|
-
return modeEcb.exports;
|
11883
|
+
} (modeEcb$1));
|
11884
|
+
return modeEcb$1.exports;
|
11839
11885
|
}
|
11840
11886
|
|
11841
|
-
var padAnsix923 = {exports: {}};
|
11887
|
+
var padAnsix923$1 = {exports: {}};
|
11888
|
+
|
11889
|
+
var padAnsix923 = padAnsix923$1.exports;
|
11842
11890
|
|
11843
11891
|
var hasRequiredPadAnsix923;
|
11844
11892
|
|
11845
11893
|
function requirePadAnsix923 () {
|
11846
|
-
if (hasRequiredPadAnsix923) return padAnsix923.exports;
|
11894
|
+
if (hasRequiredPadAnsix923) return padAnsix923$1.exports;
|
11847
11895
|
hasRequiredPadAnsix923 = 1;
|
11848
11896
|
(function (module, exports) {
|
11849
11897
|
(function (root, factory, undef) {
|
@@ -11851,7 +11899,7 @@ function requirePadAnsix923 () {
|
|
11851
11899
|
// CommonJS
|
11852
11900
|
module.exports = factory(requireCore(), requireCipherCore());
|
11853
11901
|
}
|
11854
|
-
}(
|
11902
|
+
}(padAnsix923, function (CryptoJS) {
|
11855
11903
|
|
11856
11904
|
/**
|
11857
11905
|
* ANSI X.923 padding strategy.
|
@@ -11887,16 +11935,18 @@ function requirePadAnsix923 () {
|
|
11887
11935
|
return CryptoJS.pad.Ansix923;
|
11888
11936
|
|
11889
11937
|
}));
|
11890
|
-
} (padAnsix923));
|
11891
|
-
return padAnsix923.exports;
|
11938
|
+
} (padAnsix923$1));
|
11939
|
+
return padAnsix923$1.exports;
|
11892
11940
|
}
|
11893
11941
|
|
11894
|
-
var padIso10126 = {exports: {}};
|
11942
|
+
var padIso10126$1 = {exports: {}};
|
11943
|
+
|
11944
|
+
var padIso10126 = padIso10126$1.exports;
|
11895
11945
|
|
11896
11946
|
var hasRequiredPadIso10126;
|
11897
11947
|
|
11898
11948
|
function requirePadIso10126 () {
|
11899
|
-
if (hasRequiredPadIso10126) return padIso10126.exports;
|
11949
|
+
if (hasRequiredPadIso10126) return padIso10126$1.exports;
|
11900
11950
|
hasRequiredPadIso10126 = 1;
|
11901
11951
|
(function (module, exports) {
|
11902
11952
|
(function (root, factory, undef) {
|
@@ -11904,7 +11954,7 @@ function requirePadIso10126 () {
|
|
11904
11954
|
// CommonJS
|
11905
11955
|
module.exports = factory(requireCore(), requireCipherCore());
|
11906
11956
|
}
|
11907
|
-
}(
|
11957
|
+
}(padIso10126, function (CryptoJS) {
|
11908
11958
|
|
11909
11959
|
/**
|
11910
11960
|
* ISO 10126 padding strategy.
|
@@ -11935,16 +11985,18 @@ function requirePadIso10126 () {
|
|
11935
11985
|
return CryptoJS.pad.Iso10126;
|
11936
11986
|
|
11937
11987
|
}));
|
11938
|
-
} (padIso10126));
|
11939
|
-
return padIso10126.exports;
|
11988
|
+
} (padIso10126$1));
|
11989
|
+
return padIso10126$1.exports;
|
11940
11990
|
}
|
11941
11991
|
|
11942
|
-
var padIso97971 = {exports: {}};
|
11992
|
+
var padIso97971$1 = {exports: {}};
|
11993
|
+
|
11994
|
+
var padIso97971 = padIso97971$1.exports;
|
11943
11995
|
|
11944
11996
|
var hasRequiredPadIso97971;
|
11945
11997
|
|
11946
11998
|
function requirePadIso97971 () {
|
11947
|
-
if (hasRequiredPadIso97971) return padIso97971.exports;
|
11999
|
+
if (hasRequiredPadIso97971) return padIso97971$1.exports;
|
11948
12000
|
hasRequiredPadIso97971 = 1;
|
11949
12001
|
(function (module, exports) {
|
11950
12002
|
(function (root, factory, undef) {
|
@@ -11952,7 +12004,7 @@ function requirePadIso97971 () {
|
|
11952
12004
|
// CommonJS
|
11953
12005
|
module.exports = factory(requireCore(), requireCipherCore());
|
11954
12006
|
}
|
11955
|
-
}(
|
12007
|
+
}(padIso97971, function (CryptoJS) {
|
11956
12008
|
|
11957
12009
|
/**
|
11958
12010
|
* ISO/IEC 9797-1 Padding Method 2.
|
@@ -11979,16 +12031,18 @@ function requirePadIso97971 () {
|
|
11979
12031
|
return CryptoJS.pad.Iso97971;
|
11980
12032
|
|
11981
12033
|
}));
|
11982
|
-
} (padIso97971));
|
11983
|
-
return padIso97971.exports;
|
12034
|
+
} (padIso97971$1));
|
12035
|
+
return padIso97971$1.exports;
|
11984
12036
|
}
|
11985
12037
|
|
11986
|
-
var padZeropadding = {exports: {}};
|
12038
|
+
var padZeropadding$1 = {exports: {}};
|
12039
|
+
|
12040
|
+
var padZeropadding = padZeropadding$1.exports;
|
11987
12041
|
|
11988
12042
|
var hasRequiredPadZeropadding;
|
11989
12043
|
|
11990
12044
|
function requirePadZeropadding () {
|
11991
|
-
if (hasRequiredPadZeropadding) return padZeropadding.exports;
|
12045
|
+
if (hasRequiredPadZeropadding) return padZeropadding$1.exports;
|
11992
12046
|
hasRequiredPadZeropadding = 1;
|
11993
12047
|
(function (module, exports) {
|
11994
12048
|
(function (root, factory, undef) {
|
@@ -11996,7 +12050,7 @@ function requirePadZeropadding () {
|
|
11996
12050
|
// CommonJS
|
11997
12051
|
module.exports = factory(requireCore(), requireCipherCore());
|
11998
12052
|
}
|
11999
|
-
}(
|
12053
|
+
}(padZeropadding, function (CryptoJS) {
|
12000
12054
|
|
12001
12055
|
/**
|
12002
12056
|
* Zero padding strategy.
|
@@ -12030,16 +12084,18 @@ function requirePadZeropadding () {
|
|
12030
12084
|
return CryptoJS.pad.ZeroPadding;
|
12031
12085
|
|
12032
12086
|
}));
|
12033
|
-
} (padZeropadding));
|
12034
|
-
return padZeropadding.exports;
|
12087
|
+
} (padZeropadding$1));
|
12088
|
+
return padZeropadding$1.exports;
|
12035
12089
|
}
|
12036
12090
|
|
12037
|
-
var padNopadding = {exports: {}};
|
12091
|
+
var padNopadding$1 = {exports: {}};
|
12092
|
+
|
12093
|
+
var padNopadding = padNopadding$1.exports;
|
12038
12094
|
|
12039
12095
|
var hasRequiredPadNopadding;
|
12040
12096
|
|
12041
12097
|
function requirePadNopadding () {
|
12042
|
-
if (hasRequiredPadNopadding) return padNopadding.exports;
|
12098
|
+
if (hasRequiredPadNopadding) return padNopadding$1.exports;
|
12043
12099
|
hasRequiredPadNopadding = 1;
|
12044
12100
|
(function (module, exports) {
|
12045
12101
|
(function (root, factory, undef) {
|
@@ -12047,7 +12103,7 @@ function requirePadNopadding () {
|
|
12047
12103
|
// CommonJS
|
12048
12104
|
module.exports = factory(requireCore(), requireCipherCore());
|
12049
12105
|
}
|
12050
|
-
}(
|
12106
|
+
}(padNopadding, function (CryptoJS) {
|
12051
12107
|
|
12052
12108
|
/**
|
12053
12109
|
* A noop padding strategy.
|
@@ -12064,16 +12120,18 @@ function requirePadNopadding () {
|
|
12064
12120
|
return CryptoJS.pad.NoPadding;
|
12065
12121
|
|
12066
12122
|
}));
|
12067
|
-
} (padNopadding));
|
12068
|
-
return padNopadding.exports;
|
12123
|
+
} (padNopadding$1));
|
12124
|
+
return padNopadding$1.exports;
|
12069
12125
|
}
|
12070
12126
|
|
12071
|
-
var formatHex = {exports: {}};
|
12127
|
+
var formatHex$1 = {exports: {}};
|
12128
|
+
|
12129
|
+
var formatHex = formatHex$1.exports;
|
12072
12130
|
|
12073
12131
|
var hasRequiredFormatHex;
|
12074
12132
|
|
12075
12133
|
function requireFormatHex () {
|
12076
|
-
if (hasRequiredFormatHex) return formatHex.exports;
|
12134
|
+
if (hasRequiredFormatHex) return formatHex$1.exports;
|
12077
12135
|
hasRequiredFormatHex = 1;
|
12078
12136
|
(function (module, exports) {
|
12079
12137
|
(function (root, factory, undef) {
|
@@ -12081,7 +12139,7 @@ function requireFormatHex () {
|
|
12081
12139
|
// CommonJS
|
12082
12140
|
module.exports = factory(requireCore(), requireCipherCore());
|
12083
12141
|
}
|
12084
|
-
}(
|
12142
|
+
}(formatHex, function (CryptoJS) {
|
12085
12143
|
|
12086
12144
|
(function (undefined$1) {
|
12087
12145
|
// Shortcuts
|
@@ -12134,16 +12192,18 @@ function requireFormatHex () {
|
|
12134
12192
|
return CryptoJS.format.Hex;
|
12135
12193
|
|
12136
12194
|
}));
|
12137
|
-
} (formatHex));
|
12138
|
-
return formatHex.exports;
|
12195
|
+
} (formatHex$1));
|
12196
|
+
return formatHex$1.exports;
|
12139
12197
|
}
|
12140
12198
|
|
12141
|
-
var aes = {exports: {}};
|
12199
|
+
var aes$1 = {exports: {}};
|
12200
|
+
|
12201
|
+
var aes = aes$1.exports;
|
12142
12202
|
|
12143
12203
|
var hasRequiredAes;
|
12144
12204
|
|
12145
12205
|
function requireAes () {
|
12146
|
-
if (hasRequiredAes) return aes.exports;
|
12206
|
+
if (hasRequiredAes) return aes$1.exports;
|
12147
12207
|
hasRequiredAes = 1;
|
12148
12208
|
(function (module, exports) {
|
12149
12209
|
(function (root, factory, undef) {
|
@@ -12151,7 +12211,7 @@ function requireAes () {
|
|
12151
12211
|
// CommonJS
|
12152
12212
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
12153
12213
|
}
|
12154
|
-
}(
|
12214
|
+
}(aes, function (CryptoJS) {
|
12155
12215
|
|
12156
12216
|
(function () {
|
12157
12217
|
// Shortcuts
|
@@ -12372,16 +12432,18 @@ function requireAes () {
|
|
12372
12432
|
return CryptoJS.AES;
|
12373
12433
|
|
12374
12434
|
}));
|
12375
|
-
} (aes));
|
12376
|
-
return aes.exports;
|
12435
|
+
} (aes$1));
|
12436
|
+
return aes$1.exports;
|
12377
12437
|
}
|
12378
12438
|
|
12379
|
-
var tripledes = {exports: {}};
|
12439
|
+
var tripledes$1 = {exports: {}};
|
12440
|
+
|
12441
|
+
var tripledes = tripledes$1.exports;
|
12380
12442
|
|
12381
12443
|
var hasRequiredTripledes;
|
12382
12444
|
|
12383
12445
|
function requireTripledes () {
|
12384
|
-
if (hasRequiredTripledes) return tripledes.exports;
|
12446
|
+
if (hasRequiredTripledes) return tripledes$1.exports;
|
12385
12447
|
hasRequiredTripledes = 1;
|
12386
12448
|
(function (module, exports) {
|
12387
12449
|
(function (root, factory, undef) {
|
@@ -12389,7 +12451,7 @@ function requireTripledes () {
|
|
12389
12451
|
// CommonJS
|
12390
12452
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
12391
12453
|
}
|
12392
|
-
}(
|
12454
|
+
}(tripledes, function (CryptoJS) {
|
12393
12455
|
|
12394
12456
|
(function () {
|
12395
12457
|
// Shortcuts
|
@@ -13155,16 +13217,18 @@ function requireTripledes () {
|
|
13155
13217
|
return CryptoJS.TripleDES;
|
13156
13218
|
|
13157
13219
|
}));
|
13158
|
-
} (tripledes));
|
13159
|
-
return tripledes.exports;
|
13220
|
+
} (tripledes$1));
|
13221
|
+
return tripledes$1.exports;
|
13160
13222
|
}
|
13161
13223
|
|
13162
|
-
var rc4 = {exports: {}};
|
13224
|
+
var rc4$1 = {exports: {}};
|
13225
|
+
|
13226
|
+
var rc4 = rc4$1.exports;
|
13163
13227
|
|
13164
13228
|
var hasRequiredRc4;
|
13165
13229
|
|
13166
13230
|
function requireRc4 () {
|
13167
|
-
if (hasRequiredRc4) return rc4.exports;
|
13231
|
+
if (hasRequiredRc4) return rc4$1.exports;
|
13168
13232
|
hasRequiredRc4 = 1;
|
13169
13233
|
(function (module, exports) {
|
13170
13234
|
(function (root, factory, undef) {
|
@@ -13172,7 +13236,7 @@ function requireRc4 () {
|
|
13172
13236
|
// CommonJS
|
13173
13237
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
13174
13238
|
}
|
13175
|
-
}(
|
13239
|
+
}(rc4, function (CryptoJS) {
|
13176
13240
|
|
13177
13241
|
(function () {
|
13178
13242
|
// Shortcuts
|
@@ -13298,16 +13362,18 @@ function requireRc4 () {
|
|
13298
13362
|
return CryptoJS.RC4;
|
13299
13363
|
|
13300
13364
|
}));
|
13301
|
-
} (rc4));
|
13302
|
-
return rc4.exports;
|
13365
|
+
} (rc4$1));
|
13366
|
+
return rc4$1.exports;
|
13303
13367
|
}
|
13304
13368
|
|
13305
|
-
var rabbit = {exports: {}};
|
13369
|
+
var rabbit$1 = {exports: {}};
|
13370
|
+
|
13371
|
+
var rabbit = rabbit$1.exports;
|
13306
13372
|
|
13307
13373
|
var hasRequiredRabbit;
|
13308
13374
|
|
13309
13375
|
function requireRabbit () {
|
13310
|
-
if (hasRequiredRabbit) return rabbit.exports;
|
13376
|
+
if (hasRequiredRabbit) return rabbit$1.exports;
|
13311
13377
|
hasRequiredRabbit = 1;
|
13312
13378
|
(function (module, exports) {
|
13313
13379
|
(function (root, factory, undef) {
|
@@ -13315,7 +13381,7 @@ function requireRabbit () {
|
|
13315
13381
|
// CommonJS
|
13316
13382
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
13317
13383
|
}
|
13318
|
-
}(
|
13384
|
+
}(rabbit, function (CryptoJS) {
|
13319
13385
|
|
13320
13386
|
(function () {
|
13321
13387
|
// Shortcuts
|
@@ -13494,16 +13560,18 @@ function requireRabbit () {
|
|
13494
13560
|
return CryptoJS.Rabbit;
|
13495
13561
|
|
13496
13562
|
}));
|
13497
|
-
} (rabbit));
|
13498
|
-
return rabbit.exports;
|
13563
|
+
} (rabbit$1));
|
13564
|
+
return rabbit$1.exports;
|
13499
13565
|
}
|
13500
13566
|
|
13501
|
-
var rabbitLegacy = {exports: {}};
|
13567
|
+
var rabbitLegacy$1 = {exports: {}};
|
13568
|
+
|
13569
|
+
var rabbitLegacy = rabbitLegacy$1.exports;
|
13502
13570
|
|
13503
13571
|
var hasRequiredRabbitLegacy;
|
13504
13572
|
|
13505
13573
|
function requireRabbitLegacy () {
|
13506
|
-
if (hasRequiredRabbitLegacy) return rabbitLegacy.exports;
|
13574
|
+
if (hasRequiredRabbitLegacy) return rabbitLegacy$1.exports;
|
13507
13575
|
hasRequiredRabbitLegacy = 1;
|
13508
13576
|
(function (module, exports) {
|
13509
13577
|
(function (root, factory, undef) {
|
@@ -13511,7 +13579,7 @@ function requireRabbitLegacy () {
|
|
13511
13579
|
// CommonJS
|
13512
13580
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
13513
13581
|
}
|
13514
|
-
}(
|
13582
|
+
}(rabbitLegacy, function (CryptoJS) {
|
13515
13583
|
|
13516
13584
|
(function () {
|
13517
13585
|
// Shortcuts
|
@@ -13688,16 +13756,18 @@ function requireRabbitLegacy () {
|
|
13688
13756
|
return CryptoJS.RabbitLegacy;
|
13689
13757
|
|
13690
13758
|
}));
|
13691
|
-
} (rabbitLegacy));
|
13692
|
-
return rabbitLegacy.exports;
|
13759
|
+
} (rabbitLegacy$1));
|
13760
|
+
return rabbitLegacy$1.exports;
|
13693
13761
|
}
|
13694
13762
|
|
13695
|
-
var blowfish = {exports: {}};
|
13763
|
+
var blowfish$1 = {exports: {}};
|
13764
|
+
|
13765
|
+
var blowfish = blowfish$1.exports;
|
13696
13766
|
|
13697
13767
|
var hasRequiredBlowfish;
|
13698
13768
|
|
13699
13769
|
function requireBlowfish () {
|
13700
|
-
if (hasRequiredBlowfish) return blowfish.exports;
|
13770
|
+
if (hasRequiredBlowfish) return blowfish$1.exports;
|
13701
13771
|
hasRequiredBlowfish = 1;
|
13702
13772
|
(function (module, exports) {
|
13703
13773
|
(function (root, factory, undef) {
|
@@ -13705,7 +13775,7 @@ function requireBlowfish () {
|
|
13705
13775
|
// CommonJS
|
13706
13776
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
13707
13777
|
}
|
13708
|
-
}(
|
13778
|
+
}(blowfish, function (CryptoJS) {
|
13709
13779
|
|
13710
13780
|
(function () {
|
13711
13781
|
// Shortcuts
|
@@ -14163,24 +14233,33 @@ function requireBlowfish () {
|
|
14163
14233
|
return CryptoJS.Blowfish;
|
14164
14234
|
|
14165
14235
|
}));
|
14166
|
-
} (blowfish));
|
14167
|
-
return blowfish.exports;
|
14236
|
+
} (blowfish$1));
|
14237
|
+
return blowfish$1.exports;
|
14168
14238
|
}
|
14169
14239
|
|
14170
|
-
|
14240
|
+
var cryptoJs = cryptoJs$1.exports;
|
14241
|
+
|
14242
|
+
var hasRequiredCryptoJs;
|
14243
|
+
|
14244
|
+
function requireCryptoJs () {
|
14245
|
+
if (hasRequiredCryptoJs) return cryptoJs$1.exports;
|
14246
|
+
hasRequiredCryptoJs = 1;
|
14247
|
+
(function (module, exports) {
|
14171
14248
|
(function (root, factory, undef) {
|
14172
|
-
|
14173
|
-
|
14174
|
-
|
14175
|
-
|
14176
|
-
|
14249
|
+
{
|
14250
|
+
// CommonJS
|
14251
|
+
module.exports = factory(requireCore(), requireX64Core(), requireLibTypedarrays(), requireEncUtf16(), requireEncBase64(), requireEncBase64url(), requireMd5(), requireSha1(), requireSha256(), requireSha224(), requireSha512(), requireSha384(), requireSha3(), requireRipemd160(), requireHmac(), requirePbkdf2(), requireEvpkdf(), requireCipherCore(), requireModeCfb(), requireModeCtr(), requireModeCtrGladman(), requireModeOfb(), requireModeEcb(), requirePadAnsix923(), requirePadIso10126(), requirePadIso97971(), requirePadZeropadding(), requirePadNopadding(), requireFormatHex(), requireAes(), requireTripledes(), requireRc4(), requireRabbit(), requireRabbitLegacy(), requireBlowfish());
|
14252
|
+
}
|
14253
|
+
}(cryptoJs, function (CryptoJS) {
|
14177
14254
|
|
14178
|
-
|
14255
|
+
return CryptoJS;
|
14179
14256
|
|
14180
|
-
|
14181
|
-
} (cryptoJs));
|
14257
|
+
}));
|
14258
|
+
} (cryptoJs$1));
|
14259
|
+
return cryptoJs$1.exports;
|
14260
|
+
}
|
14182
14261
|
|
14183
|
-
var cryptoJsExports =
|
14262
|
+
var cryptoJsExports = requireCryptoJs();
|
14184
14263
|
|
14185
14264
|
var crypto$1 = crypto;
|
14186
14265
|
const isCryptoKey = (key) => key instanceof CryptoKey;
|
@@ -14236,77 +14315,118 @@ const decode = (input) => {
|
|
14236
14315
|
};
|
14237
14316
|
|
14238
14317
|
class JOSEError extends Error {
|
14239
|
-
|
14240
|
-
|
14241
|
-
}
|
14242
|
-
constructor(message) {
|
14243
|
-
super(message);
|
14318
|
+
constructor(message, options) {
|
14319
|
+
super(message, options);
|
14244
14320
|
this.code = 'ERR_JOSE_GENERIC';
|
14245
14321
|
this.name = this.constructor.name;
|
14246
14322
|
Error.captureStackTrace?.(this, this.constructor);
|
14247
14323
|
}
|
14248
14324
|
}
|
14325
|
+
JOSEError.code = 'ERR_JOSE_GENERIC';
|
14249
14326
|
class JWTClaimValidationFailed extends JOSEError {
|
14250
|
-
static get code() {
|
14251
|
-
return 'ERR_JWT_CLAIM_VALIDATION_FAILED';
|
14252
|
-
}
|
14253
14327
|
constructor(message, payload, claim = 'unspecified', reason = 'unspecified') {
|
14254
|
-
super(message);
|
14328
|
+
super(message, { cause: { claim, reason, payload } });
|
14255
14329
|
this.code = 'ERR_JWT_CLAIM_VALIDATION_FAILED';
|
14256
14330
|
this.claim = claim;
|
14257
14331
|
this.reason = reason;
|
14258
14332
|
this.payload = payload;
|
14259
14333
|
}
|
14260
14334
|
}
|
14335
|
+
JWTClaimValidationFailed.code = 'ERR_JWT_CLAIM_VALIDATION_FAILED';
|
14261
14336
|
class JWTExpired extends JOSEError {
|
14262
|
-
static get code() {
|
14263
|
-
return 'ERR_JWT_EXPIRED';
|
14264
|
-
}
|
14265
14337
|
constructor(message, payload, claim = 'unspecified', reason = 'unspecified') {
|
14266
|
-
super(message);
|
14338
|
+
super(message, { cause: { claim, reason, payload } });
|
14267
14339
|
this.code = 'ERR_JWT_EXPIRED';
|
14268
14340
|
this.claim = claim;
|
14269
14341
|
this.reason = reason;
|
14270
14342
|
this.payload = payload;
|
14271
14343
|
}
|
14272
14344
|
}
|
14345
|
+
JWTExpired.code = 'ERR_JWT_EXPIRED';
|
14346
|
+
class JOSEAlgNotAllowed extends JOSEError {
|
14347
|
+
constructor() {
|
14348
|
+
super(...arguments);
|
14349
|
+
this.code = 'ERR_JOSE_ALG_NOT_ALLOWED';
|
14350
|
+
}
|
14351
|
+
}
|
14352
|
+
JOSEAlgNotAllowed.code = 'ERR_JOSE_ALG_NOT_ALLOWED';
|
14273
14353
|
class JOSENotSupported extends JOSEError {
|
14274
14354
|
constructor() {
|
14275
14355
|
super(...arguments);
|
14276
14356
|
this.code = 'ERR_JOSE_NOT_SUPPORTED';
|
14277
14357
|
}
|
14278
|
-
|
14279
|
-
|
14358
|
+
}
|
14359
|
+
JOSENotSupported.code = 'ERR_JOSE_NOT_SUPPORTED';
|
14360
|
+
class JWEDecryptionFailed extends JOSEError {
|
14361
|
+
constructor(message = 'decryption operation failed', options) {
|
14362
|
+
super(message, options);
|
14363
|
+
this.code = 'ERR_JWE_DECRYPTION_FAILED';
|
14364
|
+
}
|
14365
|
+
}
|
14366
|
+
JWEDecryptionFailed.code = 'ERR_JWE_DECRYPTION_FAILED';
|
14367
|
+
class JWEInvalid extends JOSEError {
|
14368
|
+
constructor() {
|
14369
|
+
super(...arguments);
|
14370
|
+
this.code = 'ERR_JWE_INVALID';
|
14280
14371
|
}
|
14281
14372
|
}
|
14373
|
+
JWEInvalid.code = 'ERR_JWE_INVALID';
|
14282
14374
|
class JWSInvalid extends JOSEError {
|
14283
14375
|
constructor() {
|
14284
14376
|
super(...arguments);
|
14285
14377
|
this.code = 'ERR_JWS_INVALID';
|
14286
14378
|
}
|
14287
|
-
static get code() {
|
14288
|
-
return 'ERR_JWS_INVALID';
|
14289
|
-
}
|
14290
14379
|
}
|
14380
|
+
JWSInvalid.code = 'ERR_JWS_INVALID';
|
14291
14381
|
class JWTInvalid extends JOSEError {
|
14292
14382
|
constructor() {
|
14293
14383
|
super(...arguments);
|
14294
14384
|
this.code = 'ERR_JWT_INVALID';
|
14295
14385
|
}
|
14296
|
-
|
14297
|
-
|
14386
|
+
}
|
14387
|
+
JWTInvalid.code = 'ERR_JWT_INVALID';
|
14388
|
+
class JWKInvalid extends JOSEError {
|
14389
|
+
constructor() {
|
14390
|
+
super(...arguments);
|
14391
|
+
this.code = 'ERR_JWK_INVALID';
|
14298
14392
|
}
|
14299
14393
|
}
|
14300
|
-
|
14394
|
+
JWKInvalid.code = 'ERR_JWK_INVALID';
|
14395
|
+
class JWKSInvalid extends JOSEError {
|
14301
14396
|
constructor() {
|
14302
14397
|
super(...arguments);
|
14303
|
-
this.code = '
|
14304
|
-
|
14398
|
+
this.code = 'ERR_JWKS_INVALID';
|
14399
|
+
}
|
14400
|
+
}
|
14401
|
+
JWKSInvalid.code = 'ERR_JWKS_INVALID';
|
14402
|
+
class JWKSNoMatchingKey extends JOSEError {
|
14403
|
+
constructor(message = 'no applicable key found in the JSON Web Key Set', options) {
|
14404
|
+
super(message, options);
|
14405
|
+
this.code = 'ERR_JWKS_NO_MATCHING_KEY';
|
14406
|
+
}
|
14407
|
+
}
|
14408
|
+
JWKSNoMatchingKey.code = 'ERR_JWKS_NO_MATCHING_KEY';
|
14409
|
+
class JWKSMultipleMatchingKeys extends JOSEError {
|
14410
|
+
constructor(message = 'multiple matching keys found in the JSON Web Key Set', options) {
|
14411
|
+
super(message, options);
|
14412
|
+
this.code = 'ERR_JWKS_MULTIPLE_MATCHING_KEYS';
|
14413
|
+
}
|
14414
|
+
}
|
14415
|
+
JWKSMultipleMatchingKeys.code = 'ERR_JWKS_MULTIPLE_MATCHING_KEYS';
|
14416
|
+
class JWKSTimeout extends JOSEError {
|
14417
|
+
constructor(message = 'request timed out', options) {
|
14418
|
+
super(message, options);
|
14419
|
+
this.code = 'ERR_JWKS_TIMEOUT';
|
14305
14420
|
}
|
14306
|
-
|
14307
|
-
|
14421
|
+
}
|
14422
|
+
JWKSTimeout.code = 'ERR_JWKS_TIMEOUT';
|
14423
|
+
class JWSSignatureVerificationFailed extends JOSEError {
|
14424
|
+
constructor(message = 'signature verification failed', options) {
|
14425
|
+
super(message, options);
|
14426
|
+
this.code = 'ERR_JWS_SIGNATURE_VERIFICATION_FAILED';
|
14308
14427
|
}
|
14309
14428
|
}
|
14429
|
+
JWSSignatureVerificationFailed.code = 'ERR_JWS_SIGNATURE_VERIFICATION_FAILED';
|
14310
14430
|
|
14311
14431
|
function unusable(name, prop = 'algorithm.name') {
|
14312
14432
|
return new TypeError(`CryptoKey does not support this operation, its ${prop} must be ${name}`);
|
@@ -15789,7 +15909,7 @@ const LOCAL_STORAGE_SPOT_EVENTS_ARRAY_INDEX = {
|
|
15789
15909
|
class LocalStorageService {
|
15790
15910
|
constructor() {
|
15791
15911
|
if (typeof window.localStorage === 'undefined') {
|
15792
|
-
console.warn('Local storage is not supported in this environment');
|
15912
|
+
console.warn('LiquidCommerce Rmn Sdk: Local storage is not supported in this environment');
|
15793
15913
|
return;
|
15794
15914
|
}
|
15795
15915
|
this.setUserId();
|
@@ -16480,7 +16600,7 @@ if (typeof window !== 'undefined' && typeof window.customElements !== 'undefined
|
|
16480
16600
|
*/
|
16481
16601
|
validatePosition(position, optionName, defaultValue) {
|
16482
16602
|
if (!CustomCarouselElement.validPositions.has(position)) {
|
16483
|
-
console.warn(`Invalid ${optionName}: ${position}. Defaulting to '${defaultValue}'.`);
|
16603
|
+
console.warn(`LiquidCommerce Rmn Sdk: Invalid ${optionName}: ${position}. Defaulting to '${defaultValue}'.`);
|
16484
16604
|
if (optionName === 'dotsPosition') {
|
16485
16605
|
this.state.dots.position = defaultValue;
|
16486
16606
|
}
|
@@ -17021,7 +17141,7 @@ if (typeof window !== 'undefined' && typeof window.customElements !== 'undefined
|
|
17021
17141
|
if (this.state.useButtons &&
|
17022
17142
|
!this.state.buttons.together &&
|
17023
17143
|
this.state.buttons.position !== 'middle-sides') {
|
17024
|
-
console.warn('When buttons are not together, only "middle-sides" is allowed. Defaulting to "middle-sides".');
|
17144
|
+
console.warn('LiquidCommerce Rmn Sdk: When buttons are not together, only "middle-sides" is allowed. Defaulting to "middle-sides".');
|
17025
17145
|
this.state.buttons.position = 'middle-sides';
|
17026
17146
|
}
|
17027
17147
|
}
|
@@ -19181,6 +19301,7 @@ const SPOT_TEMPLATE_HTML_ELEMENT = (spot, config) => {
|
|
19181
19301
|
var AnalyticsTool;
|
19182
19302
|
(function (AnalyticsTool) {
|
19183
19303
|
AnalyticsTool["GoogleAnalytics"] = "google-analytics";
|
19304
|
+
AnalyticsTool["GoogleTagManager"] = "google-tag-manager";
|
19184
19305
|
AnalyticsTool["Other"] = "Other";
|
19185
19306
|
})(AnalyticsTool || (AnalyticsTool = {}));
|
19186
19307
|
|
@@ -19203,8 +19324,10 @@ class DataLayerMonitor {
|
|
19203
19324
|
start() {
|
19204
19325
|
window.dataLayer.push = (...args) => {
|
19205
19326
|
const result = this.originalPush.apply(window.dataLayer, args);
|
19206
|
-
|
19207
|
-
|
19327
|
+
if (!this.listener || !Array.isArray(args) || args.length === 0) {
|
19328
|
+
return result;
|
19329
|
+
}
|
19330
|
+
for (const pushedEvent of args) {
|
19208
19331
|
const normalizedData = this.cleanEventData(pushedEvent);
|
19209
19332
|
if (normalizedData) {
|
19210
19333
|
this.listener(normalizedData);
|
@@ -19255,11 +19378,12 @@ class MonitorService {
|
|
19255
19378
|
const analyticsTool = this.detectAnalyticsTool();
|
19256
19379
|
switch (analyticsTool) {
|
19257
19380
|
case AnalyticsTool.GoogleAnalytics:
|
19381
|
+
case AnalyticsTool.GoogleTagManager:
|
19258
19382
|
this.implementedMonitor = DataLayerMonitor.getInstance();
|
19259
19383
|
break;
|
19260
19384
|
case AnalyticsTool.Other:
|
19261
19385
|
default:
|
19262
|
-
console.warn('This site uses an unsupported analytics tool.');
|
19386
|
+
console.warn('LiquidCommerce Rmn Sdk: This site uses an unsupported analytics tool.');
|
19263
19387
|
break;
|
19264
19388
|
}
|
19265
19389
|
if (analyticsTool === AnalyticsTool.Other) {
|
@@ -19321,26 +19445,22 @@ class MonitorService {
|
|
19321
19445
|
});
|
19322
19446
|
}
|
19323
19447
|
detectAnalyticsTool() {
|
19324
|
-
|
19325
|
-
|
19326
|
-
|
19327
|
-
|
19448
|
+
// Safely check for window and document
|
19449
|
+
const win = typeof window !== 'undefined' ? window : null;
|
19450
|
+
const doc = typeof document !== 'undefined' ? document : null;
|
19451
|
+
if (!win || !doc) {
|
19452
|
+
return AnalyticsTool.Other;
|
19328
19453
|
}
|
19329
|
-
// Check for
|
19330
|
-
if (typeof
|
19331
|
-
|
19454
|
+
// Check for GTM
|
19455
|
+
if (typeof win.google_tag_manager !== 'undefined' ||
|
19456
|
+
typeof win.dataLayer !== 'undefined') {
|
19457
|
+
return AnalyticsTool.GoogleTagManager;
|
19332
19458
|
}
|
19333
|
-
// Check for
|
19334
|
-
if (typeof
|
19335
|
-
|
19459
|
+
// Check for GA (both Universal Analytics and GA4)
|
19460
|
+
if (typeof win.ga !== 'undefined' || typeof win.gtag !== 'undefined') {
|
19461
|
+
return AnalyticsTool.GoogleAnalytics;
|
19336
19462
|
}
|
19337
|
-
|
19338
|
-
// Check for Heap Analytics
|
19339
|
-
// Check for Mixpanel
|
19340
|
-
// Check for Woopra
|
19341
|
-
// Check for Segment
|
19342
|
-
// Check for Amplitude
|
19343
|
-
return analyticsTool;
|
19463
|
+
return AnalyticsTool.Other;
|
19344
19464
|
}
|
19345
19465
|
}
|
19346
19466
|
|
@@ -20573,6 +20693,7 @@ class LiquidCommerceRmnClient {
|
|
20573
20693
|
}
|
20574
20694
|
/**
|
20575
20695
|
* Creates a new instance of the RmnClient.
|
20696
|
+
* Ensures the page is fully loaded before initializing.
|
20576
20697
|
*
|
20577
20698
|
* @param {string} apiKey - The api key.
|
20578
20699
|
* @param {IRmnConfig} config - The configuration object.
|
@@ -20580,10 +20701,28 @@ class LiquidCommerceRmnClient {
|
|
20580
20701
|
* @return {Promise<IRmnClient>} - The RmnClient instance.
|
20581
20702
|
*/
|
20582
20703
|
async function RmnClient(apiKey, config) {
|
20583
|
-
const
|
20584
|
-
|
20585
|
-
|
20586
|
-
|
20704
|
+
const initializeClient = async () => {
|
20705
|
+
const authService = AuthService.getInstance(apiKey, config.env);
|
20706
|
+
const credentials = await authService.initialize();
|
20707
|
+
if (typeof window !== 'undefined') {
|
20708
|
+
setUserId();
|
20709
|
+
}
|
20710
|
+
return new LiquidCommerceRmnClient(credentials);
|
20711
|
+
};
|
20712
|
+
if (typeof window === 'undefined') {
|
20713
|
+
return initializeClient();
|
20714
|
+
}
|
20715
|
+
// Return a promise that resolves when the page is loaded
|
20716
|
+
return new Promise((resolve) => {
|
20717
|
+
if (document.readyState === 'complete') {
|
20718
|
+
resolve(initializeClient());
|
20719
|
+
}
|
20720
|
+
else {
|
20721
|
+
window.addEventListener('load', () => {
|
20722
|
+
resolve(initializeClient());
|
20723
|
+
});
|
20724
|
+
}
|
20725
|
+
});
|
20587
20726
|
}
|
20588
20727
|
/**
|
20589
20728
|
* Creates a new instance of the RmnEventManager.
|
@@ -20633,7 +20772,7 @@ function RmnCreateSpotElement(spot, config) {
|
|
20633
20772
|
const spotData = elementService.overrideSpotColors(spot, config === null || config === void 0 ? void 0 : config.colors);
|
20634
20773
|
const content = SPOT_TEMPLATE_HTML_ELEMENT(spotData, { overlay: config === null || config === void 0 ? void 0 : config.overlay });
|
20635
20774
|
if (!content) {
|
20636
|
-
console.warn(`
|
20775
|
+
console.warn(`LiquidCommerce Rmn Sdk: Failed to create spot element for type "${spotData.spot}".`);
|
20637
20776
|
return null;
|
20638
20777
|
}
|
20639
20778
|
return elementService.createSpotElement({
|