imposium-js-sdk 3.5.7 → 3.5.9

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.
Files changed (47) hide show
  1. package/coverage/cobertura-coverage.xml +206 -195
  2. package/coverage/coverage-final.json +4 -4
  3. package/coverage/coverage-summary.json +3 -3
  4. package/coverage/index.html +29 -29
  5. package/coverage/junit.xml +199 -177
  6. package/coverage/lcov-report/index.html +29 -29
  7. package/coverage/lcov-report/src/Entry.ts.html +1 -1
  8. package/coverage/lcov-report/src/client/Client.ts.html +123 -72
  9. package/coverage/lcov-report/src/client/DirectDeliveryPipe.ts.html +2 -2
  10. package/coverage/lcov-report/src/client/http/API.ts.html +1 -1
  11. package/coverage/lcov-report/src/client/http/index.html +1 -1
  12. package/coverage/lcov-report/src/client/index.html +19 -19
  13. package/coverage/lcov-report/src/index.html +1 -1
  14. package/coverage/lcov-report/src/scaffolding/ExceptionPipe.ts.html +57 -39
  15. package/coverage/lcov-report/src/scaffolding/Exceptions.ts.html +16 -16
  16. package/coverage/lcov-report/src/scaffolding/GoogleAnalytics.ts.html +1 -1
  17. package/coverage/lcov-report/src/scaffolding/Helpers.ts.html +10 -10
  18. package/coverage/lcov-report/src/scaffolding/Version.ts.html +1 -1
  19. package/coverage/lcov-report/src/scaffolding/index.html +20 -20
  20. package/coverage/lcov-report/src/video/FallbackPlayer.ts.html +1 -1
  21. package/coverage/lcov-report/src/video/Player.ts.html +1 -1
  22. package/coverage/lcov-report/src/video/VideoPlayer.ts.html +1 -1
  23. package/coverage/lcov-report/src/video/index.html +1 -1
  24. package/coverage/lcov.info +272 -255
  25. package/coverage/src/Entry.ts.html +1 -1
  26. package/coverage/src/client/Client.ts.html +123 -72
  27. package/coverage/src/client/DirectDeliveryPipe.ts.html +2 -2
  28. package/coverage/src/client/http/API.ts.html +1 -1
  29. package/coverage/src/client/http/index.html +1 -1
  30. package/coverage/src/client/index.html +19 -19
  31. package/coverage/src/index.html +1 -1
  32. package/coverage/src/scaffolding/ExceptionPipe.ts.html +57 -39
  33. package/coverage/src/scaffolding/Exceptions.ts.html +16 -16
  34. package/coverage/src/scaffolding/GoogleAnalytics.ts.html +1 -1
  35. package/coverage/src/scaffolding/Helpers.ts.html +10 -10
  36. package/coverage/src/scaffolding/Version.ts.html +1 -1
  37. package/coverage/src/scaffolding/index.html +20 -20
  38. package/coverage/src/video/FallbackPlayer.ts.html +1 -1
  39. package/coverage/src/video/Player.ts.html +1 -1
  40. package/coverage/src/video/VideoPlayer.ts.html +1 -1
  41. package/coverage/src/video/index.html +1 -1
  42. package/lib/imposium.js +79 -45
  43. package/lib/imposium.js.map +1 -1
  44. package/lib/imposium.min.js +1 -1
  45. package/lib/imposium.min.js.LICENSE.txt +1 -1
  46. package/lib/imposium.min.js.map +1 -1
  47. package/package.json +1 -1
package/lib/imposium.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! IMPOSIUM-JS-SDK | Version 3.5.7 */
1
+ /*! IMPOSIUM-JS-SDK | Version 3.5.9 */
2
2
  (function webpackUniversalModuleDefinition(root, factory) {
3
3
  if(typeof exports === 'object' && typeof module === 'object')
4
4
  module.exports = factory();
@@ -11405,15 +11405,18 @@ var __read = (this && this.__read) || function (o, n) {
11405
11405
  }
11406
11406
  return ar;
11407
11407
  };
11408
+ var __importDefault = (this && this.__importDefault) || function (mod) {
11409
+ return (mod && mod.__esModule) ? mod : { "default": mod };
11410
+ };
11408
11411
  Object.defineProperty(exports, "__esModule", ({ value: true }));
11409
11412
  exports.PlayerEvents = exports.Events = exports.Player = exports.Client = void 0;
11410
11413
  __webpack_require__(/*! core-js/es/promise */ "./node_modules/core-js/es/promise/index.js");
11411
11414
  __webpack_require__(/*! core-js/features/symbol/key-for */ "./node_modules/core-js/features/symbol/key-for.js");
11412
11415
  __webpack_require__(/*! core-js/features/map/of */ "./node_modules/core-js/features/map/of.js");
11413
11416
  __webpack_require__(/*! core-js/features/object/assign */ "./node_modules/core-js/features/object/assign.js");
11414
- var Client_1 = __webpack_require__(/*! ./client/Client */ "./src/client/Client.ts");
11417
+ var Client_1 = __importDefault(__webpack_require__(/*! ./client/Client */ "./src/client/Client.ts"));
11415
11418
  exports.Client = Client_1.default;
11416
- var Player_1 = __webpack_require__(/*! ./video/Player */ "./src/video/Player.ts");
11419
+ var Player_1 = __importDefault(__webpack_require__(/*! ./video/Player */ "./src/video/Player.ts"));
11417
11420
  exports.Player = Player_1.default;
11418
11421
  var Version_1 = __webpack_require__(/*! ./scaffolding/Version */ "./src/scaffolding/Version.ts");
11419
11422
  (0, Version_1.printVersion)();
@@ -11454,15 +11457,19 @@ var __rest = (this && this.__rest) || function (s, e) {
11454
11457
  }
11455
11458
  return t;
11456
11459
  };
11460
+ var __importDefault = (this && this.__importDefault) || function (mod) {
11461
+ return (mod && mod.__esModule) ? mod : { "default": mod };
11462
+ };
11457
11463
  Object.defineProperty(exports, "__esModule", ({ value: true }));
11458
- var API_1 = __webpack_require__(/*! ./http/API */ "./src/client/http/API.ts");
11459
- var FallbackPlayer_1 = __webpack_require__(/*! ../video/FallbackPlayer */ "./src/video/FallbackPlayer.ts");
11460
- var GoogleAnalytics_1 = __webpack_require__(/*! ../scaffolding/GoogleAnalytics */ "./src/scaffolding/GoogleAnalytics.ts");
11461
- var ExceptionPipe_1 = __webpack_require__(/*! ../scaffolding/ExceptionPipe */ "./src/scaffolding/ExceptionPipe.ts");
11462
- var DirectDeliveryPipe_1 = __webpack_require__(/*! ./DirectDeliveryPipe */ "./src/client/DirectDeliveryPipe.ts");
11464
+ var API_1 = __importDefault(__webpack_require__(/*! ./http/API */ "./src/client/http/API.ts"));
11465
+ var FallbackPlayer_1 = __importDefault(__webpack_require__(/*! ../video/FallbackPlayer */ "./src/video/FallbackPlayer.ts"));
11466
+ var GoogleAnalytics_1 = __importDefault(__webpack_require__(/*! ../scaffolding/GoogleAnalytics */ "./src/scaffolding/GoogleAnalytics.ts"));
11467
+ var ExceptionPipe_1 = __importDefault(__webpack_require__(/*! ../scaffolding/ExceptionPipe */ "./src/scaffolding/ExceptionPipe.ts"));
11468
+ var DirectDeliveryPipe_1 = __importDefault(__webpack_require__(/*! ./DirectDeliveryPipe */ "./src/client/DirectDeliveryPipe.ts"));
11463
11469
  var Exceptions_1 = __webpack_require__(/*! ../scaffolding/Exceptions */ "./src/scaffolding/Exceptions.ts");
11464
11470
  var Helpers_1 = __webpack_require__(/*! ../scaffolding/Helpers */ "./src/scaffolding/Helpers.ts");
11465
11471
  var settings = __rest((__webpack_require__(/*! ../conf/settings.json */ "./src/conf/settings.json").client), []);
11472
+ var STRINGIFIED_UNDEFINED = 'undefined';
11466
11473
  var Client = /** @class */ (function () {
11467
11474
  /*
11468
11475
  Initialize Imposium client
@@ -11517,8 +11524,7 @@ var Client = /** @class */ (function () {
11517
11524
  }
11518
11525
  })
11519
11526
  .catch(function (e) {
11520
- var wrappedError = new Exceptions_1.HTTPError('httpFailure', null, e);
11521
- ExceptionPipe_1.default.trapError(wrappedError, _this.clientConfig.storyId, null);
11527
+ console.warn("[IMPOSIUM] Failed to fetch GA property: ".concat(e === null || e === void 0 ? void 0 : e.message));
11522
11528
  });
11523
11529
  }
11524
11530
  catch (e) {
@@ -11622,6 +11628,9 @@ var Client = /** @class */ (function () {
11622
11628
  if (player === null && !(0, Helpers_1.isFunc)(GOT_EXPERIENCE)) {
11623
11629
  throw new Exceptions_1.ClientConfigurationError('badConfigOnGet', Client.eventNames.GOT_EXPERIENCE);
11624
11630
  }
11631
+ if (!_this.isValidExperienceId(experienceId)) {
11632
+ throw new Exceptions_1.ClientConfigurationError('invalidExperienceId', null);
11633
+ }
11625
11634
  if (experienceId.length > settings.uuidLength) {
11626
11635
  experienceId = experienceId.substring(0, settings.uuidLength);
11627
11636
  }
@@ -11674,6 +11683,9 @@ var Client = /** @class */ (function () {
11674
11683
  if ((player === null || playerIsFallback) && !(0, Helpers_1.isFunc)(GOT_EXPERIENCE)) {
11675
11684
  throw new Exceptions_1.ClientConfigurationError('bagConfigOnPostRender', Client.eventNames.GOT_EXPERIENCE);
11676
11685
  }
11686
+ if (!_this.isValidExperienceId(experienceId)) {
11687
+ throw new Exceptions_1.ClientConfigurationError('invalidExperienceId', null);
11688
+ }
11677
11689
  _this.directDeliveryPipe.fetchExperience(null, UPLOAD_PROGRESS, 1, experienceId);
11678
11690
  }
11679
11691
  catch (e) {
@@ -11689,6 +11701,14 @@ var Client = /** @class */ (function () {
11689
11701
  _this.renderHistory[key] = value;
11690
11702
  }
11691
11703
  };
11704
+ /*
11705
+ Validates that an experienceId is a usable, non-empty string, and rejects
11706
+ the literal string 'undefined' which can slip through when values are
11707
+ interpolated from unset template variables
11708
+ */
11709
+ this.isValidExperienceId = function (id) {
11710
+ return typeof id === 'string' && !!id && id !== STRINGIFIED_UNDEFINED;
11711
+ };
11692
11712
  /*
11693
11713
  Handler for emitting expereince data on first creation
11694
11714
  */
@@ -11809,7 +11829,7 @@ var DirectDeliveryPipe = /** @class */ (function () {
11809
11829
  }
11810
11830
  else if (e.response && e.response.status >= 500 && retries < MAX_RETRIES) {
11811
11831
  retries = retries + 1;
11812
- _this.fetchExperience(inventory, uploadProgress, retries, experienceId);
11832
+ _this.fetchExperience(inventory, uploadProgress, retries, uuid);
11813
11833
  }
11814
11834
  else {
11815
11835
  var httpError = new Exceptions_1.HTTPError('httpFailure', uuid, e);
@@ -11929,9 +11949,12 @@ var __rest = (this && this.__rest) || function (s, e) {
11929
11949
  }
11930
11950
  return t;
11931
11951
  };
11952
+ var __importDefault = (this && this.__importDefault) || function (mod) {
11953
+ return (mod && mod.__esModule) ? mod : { "default": mod };
11954
+ };
11932
11955
  Object.defineProperty(exports, "__esModule", ({ value: true }));
11933
- var jwt_decode_1 = __webpack_require__(/*! jwt-decode */ "./node_modules/jwt-decode/build/jwt-decode.esm.js");
11934
- var axios_1 = __webpack_require__(/*! axios */ "./node_modules/axios/index.js");
11956
+ var jwt_decode_1 = __importDefault(__webpack_require__(/*! jwt-decode */ "./node_modules/jwt-decode/build/jwt-decode.esm.js"));
11957
+ var axios_1 = __importDefault(__webpack_require__(/*! axios */ "./node_modules/axios/index.js"));
11935
11958
  var Helpers_1 = __webpack_require__(/*! ../../scaffolding/Helpers */ "./src/scaffolding/Helpers.ts");
11936
11959
  var settings = __rest((__webpack_require__(/*! ../../conf/settings.json */ "./src/conf/settings.json").api), []);
11937
11960
  var API = /** @class */ (function () {
@@ -12065,23 +12088,15 @@ exports["default"] = API;
12065
12088
 
12066
12089
  "use strict";
12067
12090
 
12068
- var __rest = (this && this.__rest) || function (s, e) {
12069
- var t = {};
12070
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
12071
- t[p] = s[p];
12072
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
12073
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
12074
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
12075
- t[p[i]] = s[p[i]];
12076
- }
12077
- return t;
12091
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12092
+ return (mod && mod.__esModule) ? mod : { "default": mod };
12078
12093
  };
12079
12094
  Object.defineProperty(exports, "__esModule", ({ value: true }));
12080
12095
  var browser_1 = __webpack_require__(/*! @sentry/browser */ "./node_modules/@sentry/browser/esm/index.js");
12081
12096
  var Exceptions_1 = __webpack_require__(/*! ./Exceptions */ "./src/scaffolding/Exceptions.ts");
12082
12097
  var Version_1 = __webpack_require__(/*! ./Version */ "./src/scaffolding/Version.ts");
12083
- var warnings = __rest(__webpack_require__(/*! ../conf/warnings.json */ "./src/conf/warnings.json"), []);
12084
- var sentry = (__webpack_require__(/*! ../conf/settings.json */ "./src/conf/settings.json").sentry);
12098
+ var warnings_json_1 = __importDefault(__webpack_require__(/*! ../conf/warnings.json */ "./src/conf/warnings.json"));
12099
+ var settings_json_1 = __webpack_require__(/*! ../conf/settings.json */ "./src/conf/settings.json");
12085
12100
  var ExceptionPipe = /** @class */ (function () {
12086
12101
  function ExceptionPipe() {
12087
12102
  }
@@ -12089,7 +12104,7 @@ var ExceptionPipe = /** @class */ (function () {
12089
12104
  Log out warnings
12090
12105
  */
12091
12106
  ExceptionPipe.logWarning = function (type, messageKey) {
12092
- console.warn("IMPOSIUM\n".concat(warnings[type][messageKey]));
12107
+ console.warn("IMPOSIUM\n".concat(warnings_json_1.default[type][messageKey]));
12093
12108
  };
12094
12109
  /*
12095
12110
  Process the exception and trace
@@ -12145,14 +12160,6 @@ var ExceptionPipe = /** @class */ (function () {
12145
12160
  });
12146
12161
  });
12147
12162
  };
12148
- ExceptionPipe.sentryClient = new browser_1.BrowserClient({
12149
- debug: false,
12150
- dsn: sentry.dsn,
12151
- integrations: [new browser_1.Integrations.UserAgent()],
12152
- beforeSend: function (e) { return ExceptionPipe.cleanDucktype(e); },
12153
- release: "".concat(sentry.projectName, "@").concat(Version_1.version)
12154
- });
12155
- ExceptionPipe.hub = new browser_1.Hub(ExceptionPipe.sentryClient);
12156
12163
  /*
12157
12164
  Clean up sentry payloads before capturing exceptions
12158
12165
  */
@@ -12174,6 +12181,21 @@ var ExceptionPipe = /** @class */ (function () {
12174
12181
  }
12175
12182
  return evt;
12176
12183
  };
12184
+ // Sentry beforeSend: drop expected moderation rejections, clean up the rest
12185
+ ExceptionPipe.beforeSend = function (e) {
12186
+ var _a;
12187
+ if (((_a = e.tags) === null || _a === void 0 ? void 0 : _a.type) === 'moderation')
12188
+ return null;
12189
+ return ExceptionPipe.cleanDucktype(e);
12190
+ };
12191
+ ExceptionPipe.sentryClient = new browser_1.BrowserClient({
12192
+ debug: false,
12193
+ dsn: settings_json_1.sentry.dsn,
12194
+ integrations: [new browser_1.Integrations.UserAgent()],
12195
+ beforeSend: ExceptionPipe.beforeSend,
12196
+ release: "".concat(settings_json_1.sentry.projectName, "@").concat(Version_1.version)
12197
+ });
12198
+ ExceptionPipe.hub = new browser_1.Hub(ExceptionPipe.sentryClient);
12177
12199
  return ExceptionPipe;
12178
12200
  }());
12179
12201
  exports["default"] = ExceptionPipe;
@@ -12402,9 +12424,12 @@ var __values = (this && this.__values) || function(o) {
12402
12424
  };
12403
12425
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
12404
12426
  };
12427
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12428
+ return (mod && mod.__esModule) ? mod : { "default": mod };
12429
+ };
12405
12430
  Object.defineProperty(exports, "__esModule", ({ value: true }));
12406
- var ExceptionPipe_1 = __webpack_require__(/*! ../scaffolding/ExceptionPipe */ "./src/scaffolding/ExceptionPipe.ts");
12407
- var axios_1 = __webpack_require__(/*! axios */ "./node_modules/axios/index.js");
12431
+ var ExceptionPipe_1 = __importDefault(__webpack_require__(/*! ../scaffolding/ExceptionPipe */ "./src/scaffolding/ExceptionPipe.ts"));
12432
+ var axios_1 = __importDefault(__webpack_require__(/*! axios */ "./node_modules/axios/index.js"));
12408
12433
  var Helpers_1 = __webpack_require__(/*! ../scaffolding/Helpers */ "./src/scaffolding/Helpers.ts");
12409
12434
  var settings = __rest((__webpack_require__(/*! ../conf/settings.json */ "./src/conf/settings.json").analytics), []);
12410
12435
  var GoogleAnalytics = /** @class */ (function () {
@@ -12604,9 +12629,9 @@ exports.inventoryToFormData = inventoryToFormData;
12604
12629
 
12605
12630
  Object.defineProperty(exports, "__esModule", ({ value: true }));
12606
12631
  exports.printVersion = exports.version = void 0;
12607
- exports.version = "3.5.7";
12632
+ exports.version = "3.5.9";
12608
12633
  var printVersion = function () {
12609
- console.log("%cPowered By%c Imposium%c v".concat("3.5.7", "%c https://imposium.com"), 'text-transform: uppercase; padding: 5px 0px 5px 5px; background-color: black; color: white;', 'text-transform: uppercase; padding: 5px 0px 5px 0px; background-color: black; color: #a1b83a;', 'padding: 5px 5px 5px 0px; background-color: black; color: white;', 'padding: 5px 5px 5px 0px;');
12634
+ console.log("%cPowered By%c Imposium%c v".concat("3.5.9", "%c https://imposium.com"), 'text-transform: uppercase; padding: 5px 0px 5px 5px; background-color: black; color: white;', 'text-transform: uppercase; padding: 5px 0px 5px 0px; background-color: black; color: #a1b83a;', 'padding: 5px 5px 5px 0px; background-color: black; color: white;', 'padding: 5px 5px 5px 0px;');
12610
12635
  };
12611
12636
  exports.printVersion = printVersion;
12612
12637
 
@@ -12636,8 +12661,11 @@ var __extends = (this && this.__extends) || (function () {
12636
12661
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12637
12662
  };
12638
12663
  })();
12664
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12665
+ return (mod && mod.__esModule) ? mod : { "default": mod };
12666
+ };
12639
12667
  Object.defineProperty(exports, "__esModule", ({ value: true }));
12640
- var VideoPlayer_1 = __webpack_require__(/*! ./VideoPlayer */ "./src/video/VideoPlayer.ts");
12668
+ var VideoPlayer_1 = __importDefault(__webpack_require__(/*! ./VideoPlayer */ "./src/video/VideoPlayer.ts"));
12641
12669
  var FallbackPlayer = /** @class */ (function (_super) {
12642
12670
  __extends(FallbackPlayer, _super);
12643
12671
  function FallbackPlayer(node) {
@@ -12703,10 +12731,13 @@ var __values = (this && this.__values) || function(o) {
12703
12731
  };
12704
12732
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
12705
12733
  };
12734
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12735
+ return (mod && mod.__esModule) ? mod : { "default": mod };
12736
+ };
12706
12737
  Object.defineProperty(exports, "__esModule", ({ value: true }));
12707
- var axios_1 = __webpack_require__(/*! axios */ "./node_modules/axios/index.js");
12708
- var VideoPlayer_1 = __webpack_require__(/*! ./VideoPlayer */ "./src/video/VideoPlayer.ts");
12709
- var ExceptionPipe_1 = __webpack_require__(/*! ../scaffolding/ExceptionPipe */ "./src/scaffolding/ExceptionPipe.ts");
12738
+ var axios_1 = __importDefault(__webpack_require__(/*! axios */ "./node_modules/axios/index.js"));
12739
+ var VideoPlayer_1 = __importDefault(__webpack_require__(/*! ./VideoPlayer */ "./src/video/VideoPlayer.ts"));
12740
+ var ExceptionPipe_1 = __importDefault(__webpack_require__(/*! ../scaffolding/ExceptionPipe */ "./src/scaffolding/ExceptionPipe.ts"));
12710
12741
  var Exceptions_1 = __webpack_require__(/*! ../scaffolding/Exceptions */ "./src/scaffolding/Exceptions.ts");
12711
12742
  var Helpers_1 = __webpack_require__(/*! ../scaffolding/Helpers */ "./src/scaffolding/Helpers.ts");
12712
12743
  var settings = (__webpack_require__(/*! ../conf/settings.json */ "./src/conf/settings.json").videoPlayer);
@@ -13174,9 +13205,12 @@ var __read = (this && this.__read) || function (o, n) {
13174
13205
  }
13175
13206
  return ar;
13176
13207
  };
13208
+ var __importDefault = (this && this.__importDefault) || function (mod) {
13209
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13210
+ };
13177
13211
  Object.defineProperty(exports, "__esModule", ({ value: true }));
13178
- var ExceptionPipe_1 = __webpack_require__(/*! ../scaffolding/ExceptionPipe */ "./src/scaffolding/ExceptionPipe.ts");
13179
- var GoogleAnalytics_1 = __webpack_require__(/*! ../scaffolding/GoogleAnalytics */ "./src/scaffolding/GoogleAnalytics.ts");
13212
+ var ExceptionPipe_1 = __importDefault(__webpack_require__(/*! ../scaffolding/ExceptionPipe */ "./src/scaffolding/ExceptionPipe.ts"));
13213
+ var GoogleAnalytics_1 = __importDefault(__webpack_require__(/*! ../scaffolding/GoogleAnalytics */ "./src/scaffolding/GoogleAnalytics.ts"));
13180
13214
  var Exceptions_1 = __webpack_require__(/*! ../scaffolding/Exceptions */ "./src/scaffolding/Exceptions.ts");
13181
13215
  var settings = (__webpack_require__(/*! ../conf/settings.json */ "./src/conf/settings.json").videoPlayer);
13182
13216
  var VideoPlayer = /** @class */ (function () {
@@ -20590,7 +20624,7 @@ module.exports = parent;
20590
20624
  (module) {
20591
20625
 
20592
20626
  "use strict";
20593
- module.exports = /*#__PURE__*/JSON.parse('{"moderation":{"rejection":"This experience was rejected."},"clientConfiguration":{"badConfig":"Your Imposium configuration is an invalid type.","storyId":"An undefined or invalid storyId was set in your Imposium configuration.","accessToken":"An undefined or invalid accessToken was set in your Imposium configuration.","invalidEventName":"Invalid client event name.","invalidCallbackType":"The callback reference set for this client event is not of type function.","badConfigOnGet":"You cannot call client.getExperience(...) without using the Imposium player or setting the GOT_EXPERIENCE event.","bagConfigOnPostRender":"You cannot call client.createExperience({...}) without using the Imposium player or setting the GOT_EXPERIENCE event.","badConfigOnPostNoRender":"You cannot call client.createExperience({...}, false) without setting the EXPERIENCE_CREATED event."},"playerConfiguration":{"badClient":"You must provide a valid Imposium client reference to the player.","invalidPlayerRef":"No reference to an HTML5 video element was detected.","invalidEventName":"Invalid player event name.","invalidCallbackType":"The callback reference set for this player event is not of type function.","eventNotConfigured":"You cannot invoke this player event without a callback set.","badQualityOverride":"The quality specified does not exist for this experience."},"network":{"httpFailure":"Unable to process request to the Imposium API.","pollTimeout":"Polling timeout exceeded.","tcpFailure":"Socket connection failed while processing the experience.","errorOverTcp":"An error occured on the Imposium web servers while processing the experience.","messageParseFailure":"Message data from Imposium was malformed."},"uncaught":{"generic":"Something unexpected went wrong."}}');
20627
+ module.exports = /*#__PURE__*/JSON.parse('{"moderation":{"rejection":"This experience was rejected."},"clientConfiguration":{"badConfig":"Your Imposium configuration is an invalid type.","storyId":"An undefined or invalid storyId was set in your Imposium configuration.","accessToken":"An undefined or invalid accessToken was set in your Imposium configuration.","invalidEventName":"Invalid client event name.","invalidCallbackType":"The callback reference set for this client event is not of type function.","badConfigOnGet":"You cannot call client.getExperience(...) without using the Imposium player or setting the GOT_EXPERIENCE event.","invalidExperienceId":"An undefined or invalid experienceId was passed to client.getExperience(...).","bagConfigOnPostRender":"You cannot call client.createExperience({...}) without using the Imposium player or setting the GOT_EXPERIENCE event.","badConfigOnPostNoRender":"You cannot call client.createExperience({...}, false) without setting the EXPERIENCE_CREATED event."},"playerConfiguration":{"badClient":"You must provide a valid Imposium client reference to the player.","invalidPlayerRef":"No reference to an HTML5 video element was detected.","invalidEventName":"Invalid player event name.","invalidCallbackType":"The callback reference set for this player event is not of type function.","eventNotConfigured":"You cannot invoke this player event without a callback set.","badQualityOverride":"The quality specified does not exist for this experience."},"network":{"httpFailure":"Unable to process request to the Imposium API.","pollTimeout":"Polling timeout exceeded.","tcpFailure":"Socket connection failed while processing the experience.","errorOverTcp":"An error occured on the Imposium web servers while processing the experience.","messageParseFailure":"Message data from Imposium was malformed."},"uncaught":{"generic":"Something unexpected went wrong."}}');
20594
20628
 
20595
20629
  /***/ },
20596
20630