apxor-rtm-ui 0.5.1 → 0.5.2

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.
@@ -13184,7 +13184,7 @@
13184
13184
  * @description Creates the styles for Marketing message.
13185
13185
  * @returns {string} css styles
13186
13186
  */
13187
- _defineProperty(this, "AccS", function () {
13187
+ _defineProperty(this, "mhyp", function () {
13188
13188
  if (!_this.enable_marketing) {
13189
13189
  return "";
13190
13190
  }
@@ -13203,7 +13203,7 @@
13203
13203
  * @private
13204
13204
  * @description Sets the marketing content at the end of the Inline
13205
13205
  */
13206
- _defineProperty(this, "LKpH", function () {
13206
+ _defineProperty(this, "wPQd", function () {
13207
13207
  if (_this.enable_marketing) {
13208
13208
  var marketingContainer = document.createElement("div");
13209
13209
  marketingContainer.classList.add("apx-inline-marketing".concat(_this.cssPostFix));
@@ -13765,7 +13765,7 @@
13765
13765
  if (apxor_tooltip_styles) {
13766
13766
  return;
13767
13767
  }
13768
- var styles = "\n ".concat(this._getCustomFonts(), " \n ").concat(this._getBackgroundContainerStyles(), " \n ").concat(this._getInLineContainerStyles(), " \n ").concat(this._getScrollStyles(), " \n ").concat(this._getControlsStyles(), " \n ").concat(this._getInLineMediaContainerStyles(), "\n ").concat(this._getInLineNonMediaContainerStyles(), "\n ").concat(this._getTextConatinerStyles(), "\n ").concat(this._getTitleStyles(), " \n ").concat(this._getDescriptionStyles(), " \n ").concat(this._getInLineButtonContainerStyles(), " \n ").concat(this._getIconStyles(), " \n ").concat(this._getImageStyles(), " \n ").concat(this._getVideoStyles(), " \n ").concat(this.AccS(), "\n ").concat(this._getTippyStyles(), "\n ").concat(this._getFooterStyles(), "\n ").concat(this._getProgressBarStyles(), "\n ").concat(this._getBootstrapiconsStyles(), " \n ").replaceAll("\n", "").replace(/[\s]{2,999}/g, "");
13768
+ var styles = "\n ".concat(this._getCustomFonts(), " \n ").concat(this._getBackgroundContainerStyles(), " \n ").concat(this._getInLineContainerStyles(), " \n ").concat(this._getScrollStyles(), " \n ").concat(this._getControlsStyles(), " \n ").concat(this._getInLineMediaContainerStyles(), "\n ").concat(this._getInLineNonMediaContainerStyles(), "\n ").concat(this._getTextConatinerStyles(), "\n ").concat(this._getTitleStyles(), " \n ").concat(this._getDescriptionStyles(), " \n ").concat(this._getInLineButtonContainerStyles(), " \n ").concat(this._getIconStyles(), " \n ").concat(this._getImageStyles(), " \n ").concat(this._getVideoStyles(), " \n ").concat(this.mhyp(), "\n ").concat(this._getTippyStyles(), "\n ").concat(this._getFooterStyles(), "\n ").concat(this._getProgressBarStyles(), "\n ").concat(this._getBootstrapiconsStyles(), " \n ").replaceAll("\n", "").replace(/[\s]{2,999}/g, "");
13769
13769
  var styleNode = document.createElement("style");
13770
13770
  styleNode.setAttribute("apx-tooltip-styles", "");
13771
13771
  styleNode.innerHTML = styles;
@@ -14575,7 +14575,7 @@
14575
14575
  this._setCloseButton();
14576
14576
 
14577
14577
  //Set the Marketing content
14578
- this.LKpH();
14578
+ this.wPQd();
14579
14579
  }
14580
14580
 
14581
14581
  /**
@@ -15569,7 +15569,7 @@
15569
15569
  * @description Creates the styles for Marketing message.
15570
15570
  * @returns {string} css styles
15571
15571
  */
15572
- _defineProperty(this, "AccS", function () {
15572
+ _defineProperty(this, "mhyp", function () {
15573
15573
  if (!_this.enable_marketing) {
15574
15574
  return "";
15575
15575
  }
@@ -15615,7 +15615,7 @@
15615
15615
  * @private
15616
15616
  * @description Get the response for Form content in the InApp modal.
15617
15617
  */
15618
- _defineProperty(this, "arrC", function (form_elements) {
15618
+ _defineProperty(this, "SdyC", function (form_elements) {
15619
15619
  var obj = {};
15620
15620
  var callback = "";
15621
15621
  form_elements.forEach(function (element) {
@@ -15655,7 +15655,7 @@
15655
15655
  * @private
15656
15656
  * @description Sets the marketing content at the end of the InApp
15657
15657
  */
15658
- _defineProperty(this, "LKpH", function () {
15658
+ _defineProperty(this, "wPQd", function () {
15659
15659
  if (_this.enable_marketing) {
15660
15660
  var marketingContainer = document.createElement("div");
15661
15661
  marketingContainer.classList.add("apx-inapp-marketing".concat(_this.cssPostFix));
@@ -15908,7 +15908,7 @@
15908
15908
  }, {
15909
15909
  key: "_setStyles",
15910
15910
  value: function _setStyles() {
15911
- var styles = "\n ".concat(this._getCustomFonts(), " \n ").concat(this._getBackgroundContainerStyles(), " \n ").concat(this._getInAppContainerStyles(), " \n ").concat(this._getScrollStyles(), " \n ").concat(this._getControlsStyles(), " \n ").concat(this._getInAppMediaContainerStyles(), "\n ").concat(this._getInAppNonMediaContainerStyles(), "\n ").concat(this._getTextConatinerStyles(), "\n ").concat(this._getTitleStyles(), " \n ").concat(this._getDescriptionStyles(), " \n ").concat(this._getFormStyles(), "\n ").concat(this._getInAppButtonContainerStyles(), "\n ").concat(this._getIconStyles(), " \n ").concat(this._getImageStyles(), " \n ").concat(this._getVideoStyles(), " \n ").concat(this.AccS(), " \n ").concat(this._getProgressBarStyles(), "\n ").concat(this._getBootstrapiconsStyles(), " \n ").replaceAll("\n", "").replace(/[\s]{2,999}/g, "");
15911
+ var styles = "\n ".concat(this._getCustomFonts(), " \n ").concat(this._getBackgroundContainerStyles(), " \n ").concat(this._getInAppContainerStyles(), " \n ").concat(this._getScrollStyles(), " \n ").concat(this._getControlsStyles(), " \n ").concat(this._getInAppMediaContainerStyles(), "\n ").concat(this._getInAppNonMediaContainerStyles(), "\n ").concat(this._getTextConatinerStyles(), "\n ").concat(this._getTitleStyles(), " \n ").concat(this._getDescriptionStyles(), " \n ").concat(this._getFormStyles(), "\n ").concat(this._getInAppButtonContainerStyles(), "\n ").concat(this._getIconStyles(), " \n ").concat(this._getImageStyles(), " \n ").concat(this._getVideoStyles(), " \n ").concat(this.mhyp(), " \n ").concat(this._getProgressBarStyles(), "\n ").concat(this._getBootstrapiconsStyles(), " \n ").replaceAll("\n", "").replace(/[\s]{2,999}/g, "");
15912
15912
  var styleNode = document.createElement("style");
15913
15913
  styleNode.setAttribute("id", "apxor-style-" + this.configId);
15914
15914
  styleNode.innerHTML = styles;
@@ -16385,7 +16385,7 @@
16385
16385
  this._setCloseButton();
16386
16386
 
16387
16387
  //Set the Marketing content
16388
- this.LKpH();
16388
+ this.wPQd();
16389
16389
  }
16390
16390
 
16391
16391
  /**
@@ -16590,7 +16590,7 @@
16590
16590
  var form = document.querySelector(".apx-inapp-form-container".concat(this.cssPostFix));
16591
16591
  form.addEventListener("submit", function (e) {
16592
16592
  e.preventDefault();
16593
- var _this4$generateRespon = _this4.arrC(_this4.form.elements),
16593
+ var _this4$generateRespon = _this4.SdyC(_this4.form.elements),
16594
16594
  obj = _this4$generateRespon.obj,
16595
16595
  callback = _this4$generateRespon.callback;
16596
16596
  var evalString = "(obj)=>" + callback + "(obj)";
@@ -16903,7 +16903,7 @@
16903
16903
  * @function showVideoInApp
16904
16904
  * @description Shows the video InApp with the configured mode.
16905
16905
  */
16906
- _defineProperty(this, "CXVQ", function () {
16906
+ _defineProperty(this, "wCQJ", function () {
16907
16907
  _this.createPlayer();
16908
16908
  try {
16909
16909
  // In PIP mode, only after the video metadata is loaded, show the PIP.
@@ -16945,7 +16945,7 @@
16945
16945
  };
16946
16946
  } else {
16947
16947
  // As the video player is hidden by default, unhide if the mode is not PIP.
16948
- _this.ZtjN();
16948
+ _this.gcNr();
16949
16949
  }
16950
16950
  _this.showCallback();
16951
16951
  } catch (e) {
@@ -16965,7 +16965,7 @@
16965
16965
  * For portrait - width is set to 50% of the screen and height is auto adjusted based on resolution.
16966
16966
  * For landscape - height is set to 50% of the screen and width is auto adjusted based on resolution.
16967
16967
  */
16968
- _defineProperty(this, "uwcj", function () {
16968
+ _defineProperty(this, "WBdd", function () {
16969
16969
  var _getHeightWidthFromRe = getHeightWidthFromResolution(_this.video, 1),
16970
16970
  width = _getHeightWidthFromRe.width,
16971
16971
  height = _getHeightWidthFromRe.height;
@@ -16977,7 +16977,7 @@
16977
16977
  * @private
16978
16978
  * @description Removes the video player style element.
16979
16979
  */
16980
- _defineProperty(this, "uSCp", function () {
16980
+ _defineProperty(this, "TdLF", function () {
16981
16981
  var playerStyles = document.getElementById("apx-mpl-styles");
16982
16982
  if (playerStyles) {
16983
16983
  playerStyles.remove();
@@ -16988,7 +16988,7 @@
16988
16988
  * @private
16989
16989
  * @description Attach listeners on the video controls
16990
16990
  */
16991
- _defineProperty(this, "tFVB", function () {
16991
+ _defineProperty(this, "PVWh", function () {
16992
16992
  // Listener for the video end. Display the CTA's when the video ends.
16993
16993
  _this.videoElement.addEventListener("ended", function () {
16994
16994
  var ctaButtons = document.getElementById("apx-cta-btn");
@@ -17099,7 +17099,7 @@
17099
17099
  * @private
17100
17100
  * @description Attach listeners for the PIP toggle. i.e. for the PIP enter and PIP exit
17101
17101
  */
17102
- _defineProperty(this, "SbsY", function () {
17102
+ _defineProperty(this, "qIst", function () {
17103
17103
  var _this$terminationConf;
17104
17104
  if (_this.mode === "PIP" && !((_this$terminationConf = _this.terminationConfig) !== null && _this$terminationConf !== void 0 && _this$terminationConf.auto_dismiss)) {
17105
17105
  // On Exit of the PIP,
@@ -17139,7 +17139,7 @@
17139
17139
  * @private Sets the custom controls on the video player.
17140
17140
  * PIP and close are the custom controls that are created and positions on the video.
17141
17141
  */
17142
- _defineProperty(this, "NmxX", function () {
17142
+ _defineProperty(this, "WykP", function () {
17143
17143
  _this.enable_close_button;
17144
17144
  if (_this.enable_close_button) {
17145
17145
  var closeButton = document.createElement("span");
@@ -17186,21 +17186,21 @@
17186
17186
  * @function hideVideoPlayer
17187
17187
  * @description Sets the visibility of the video player to hidden.
17188
17188
  */
17189
- _defineProperty(this, "SJeU", function () {
17189
+ _defineProperty(this, "RZjL", function () {
17190
17190
  _this.videoPlayer.classList.add("apx-video-hide-elmt".concat(_this.cssPostFix));
17191
17191
  });
17192
17192
  /**
17193
17193
  * @function unhideVideoPlayer
17194
17194
  * @description Unhides video player.
17195
17195
  */
17196
- _defineProperty(this, "ZtjN", function () {
17196
+ _defineProperty(this, "gcNr", function () {
17197
17197
  _this.videoPlayer.classList.remove("apx-video-hide-elmt".concat(_this.cssPostFix));
17198
17198
  });
17199
17199
  /**
17200
17200
  * @function getVideoElement
17201
17201
  * @returns {HTMLElement} Video ekement
17202
17202
  */
17203
- _defineProperty(this, "hjZT", function () {
17203
+ _defineProperty(this, "RDBC", function () {
17204
17204
  return _this.videoElement;
17205
17205
  });
17206
17206
  this.videoPlayer = null;
@@ -17252,7 +17252,7 @@
17252
17252
  this.videoPlayer.style.backgroundColor = this.bg_color;
17253
17253
 
17254
17254
  // Video has a resolution, not deviating from the resolution set the height and width.
17255
- this.uwcj();
17255
+ this.WBdd();
17256
17256
  //Generate the styles and add them to the document head.
17257
17257
  this._setVideoPlayerStyles();
17258
17258
  //Set the position of the video player with in the 5 possible positions.
@@ -17260,16 +17260,16 @@
17260
17260
  //Create a video element,set the source and add to the container.
17261
17261
  this._setPlayerContent();
17262
17262
  //Set the listeners on the video control buttons.
17263
- this.tFVB();
17263
+ this.PVWh();
17264
17264
  //Attach listeners for the PIP toggle. i.e. for the PIP enter and PIP exit
17265
- this.SbsY();
17265
+ this.qIst();
17266
17266
  //Set the custom close and PIP controls. Not using the defaults from the html video element.
17267
17267
  //Reason - We want to position them at the top right and left positions.
17268
- this.NmxX();
17268
+ this.WykP();
17269
17269
  //Generate and postion the CTA buttons on the video. By default hidden, visible only when video is completed
17270
17270
  this._setButtons(BUTTON_CONTAINER_POSITION.CENTER);
17271
17271
  //Hide the video player. Display it based on the video mode. Videoplayer for "video" mode and a direct PIP for "PIP" mode.
17272
- this.SJeU();
17272
+ this.RZjL();
17273
17273
  //If the auto dismiss is enabled, sets the timeout to call the InApp close.
17274
17274
  this._setAutoTerminate();
17275
17275
  document.body.appendChild(this.videoPlayer);
@@ -17383,7 +17383,7 @@
17383
17383
  }
17384
17384
  }
17385
17385
  this.videoPlayer.remove();
17386
- this.uSCp();
17386
+ this.TdLF();
17387
17387
  if (closeButtonName !== "auto_dismiss") {
17388
17388
  window.Apxor.logAppEvent("apx_video_inapp_close_button_clicked", {
17389
17389
  message_name: this.name,
@@ -17451,7 +17451,7 @@
17451
17451
  replayCount: _this3.replayCount
17452
17452
  });
17453
17453
  _this3.videoPlayer.remove();
17454
- _this3.uSCp();
17454
+ _this3.TdLF();
17455
17455
  _this3.hideCallback();
17456
17456
  } catch (e) {
17457
17457
  console.log("Can't close the video player\n".concat(e));
@@ -17539,14 +17539,14 @@
17539
17539
  var RTM = /*#__PURE__*/_createClass(function RTM() {
17540
17540
  var _this = this;
17541
17541
  _classCallCheck(this, RTM);
17542
- _defineProperty(this, "Lbzn", {});
17542
+ _defineProperty(this, "UJGN", {});
17543
17543
  _defineProperty(this, "isShowingAction", false);
17544
17544
  _defineProperty(this, "currentAction", null);
17545
- _defineProperty(this, "slkw", null);
17546
- _defineProperty(this, "version", 51);
17545
+ _defineProperty(this, "fZcG", null);
17546
+ _defineProperty(this, "version", 52);
17547
17547
  _defineProperty(this, "isInitialised", false);
17548
17548
  _defineProperty(this, "_eventsInDynamicText", {});
17549
- _defineProperty(this, "YILU", function () {
17549
+ _defineProperty(this, "Wyjw", function () {
17550
17550
  _this.isInitialised = true;
17551
17551
  var oldPushState = history.pushState;
17552
17552
  history.pushState = function pushState() {
@@ -17571,7 +17571,7 @@
17571
17571
  });
17572
17572
  _defineProperty(this, "show", function (uiJson, duration, uuid, name) {
17573
17573
  if (!_this.isInitialised) {
17574
- _this.YILU();
17574
+ _this.Wyjw();
17575
17575
  }
17576
17576
  window.addEventListener("pagehide", function () {
17577
17577
  var _window$Apxor, _window$Apxor$pageUnl;
@@ -17602,20 +17602,21 @@
17602
17602
  }, terminationConfig, function () {
17603
17603
  _this.isShowingAction = true;
17604
17604
  if (window.Apxor && window.Apxor.logActionEvent) {
17605
- var _window, _window$updateFlag;
17605
+ var _window, _window$updateFlag, _window2, _window2$updateCount;
17606
17606
  (_window = window) === null || _window === void 0 || (_window = _window.Apxor) === null || _window === void 0 || (_window$updateFlag = _window.updateFlag) === null || _window$updateFlag === void 0 || _window$updateFlag.call(_window, true);
17607
17607
  window.Apxor.logActionEvent("inline_shown", uuid, name);
17608
+ (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.Apxor) === null || _window2 === void 0 || (_window2$updateCount = _window2.updateCount) === null || _window2$updateCount === void 0 || _window2$updateCount.call(_window2, uuid);
17608
17609
  if (ui_config !== null && ui_config !== void 0 && ui_config.is_preview) {
17609
17610
  setTimeout(function () {
17610
- var _window2, _window2$logInternalE;
17611
- (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.Apxor) === null || _window2 === void 0 || (_window2$logInternalE = _window2.logInternalEvent) === null || _window2$logInternalE === void 0 || _window2$logInternalE.call(_window2, "capt");
17611
+ var _window3, _window3$logInternalE;
17612
+ (_window3 = window) === null || _window3 === void 0 || (_window3 = _window3.Apxor) === null || _window3 === void 0 || (_window3$logInternalE = _window3.logInternalEvent) === null || _window3$logInternalE === void 0 || _window3$logInternalE.call(_window3, "capt");
17612
17613
  }, 500);
17613
17614
  }
17614
17615
  }
17615
17616
  }, function (action) {
17616
- var _window3, _window3$updateFlag;
17617
+ var _window4, _window4$updateFlag;
17617
17618
  _this.isShowingAction = false;
17618
- (_window3 = window) === null || _window3 === void 0 || (_window3 = _window3.Apxor) === null || _window3 === void 0 || (_window3$updateFlag = _window3.updateFlag) === null || _window3$updateFlag === void 0 || _window3$updateFlag.call(_window3, false);
17619
+ (_window4 = window) === null || _window4 === void 0 || (_window4 = _window4.Apxor) === null || _window4 === void 0 || (_window4$updateFlag = _window4.updateFlag) === null || _window4$updateFlag === void 0 || _window4$updateFlag.call(_window4, false);
17619
17620
  _this.currentAction = null;
17620
17621
  if (window.Apxor && window.Apxor.logActionEvent && !(isDefined(action) && (action === "redirect" || action === "cancel"))) {
17621
17622
  window.Apxor.logActionEvent("inline_dismissed", uuid, name);
@@ -17625,9 +17626,9 @@
17625
17626
  });
17626
17627
  }
17627
17628
  } catch (e) {
17628
- var _window4, _window4$updateFlag;
17629
+ var _window5, _window5$updateFlag;
17629
17630
  _this.isShowingAction = false;
17630
- (_window4 = window) === null || _window4 === void 0 || (_window4 = _window4.Apxor) === null || _window4 === void 0 || (_window4$updateFlag = _window4.updateFlag) === null || _window4$updateFlag === void 0 || _window4$updateFlag.call(_window4, false);
17631
+ (_window5 = window) === null || _window5 === void 0 || (_window5 = _window5.Apxor) === null || _window5 === void 0 || (_window5$updateFlag = _window5.updateFlag) === null || _window5$updateFlag === void 0 || _window5$updateFlag.call(_window5, false);
17631
17632
  console.error(e);
17632
17633
  }
17633
17634
  });
@@ -17642,18 +17643,18 @@
17642
17643
  } catch (e) {
17643
17644
  var _window$Apxor2;
17644
17645
  if (((_window$Apxor2 = window.Apxor) === null || _window$Apxor2 === void 0 ? void 0 : _window$Apxor2.platform) === "ios") {
17645
- var _window5, _window5$updateFlag;
17646
- (_window5 = window) === null || _window5 === void 0 || (_window5 = _window5.Apxor) === null || _window5 === void 0 || (_window5$updateFlag = _window5.updateFlag) === null || _window5$updateFlag === void 0 || _window5$updateFlag.call(_window5, false, "IN_APP");
17647
- } else {
17648
17646
  var _window6, _window6$updateFlag;
17649
- (_window6 = window) === null || _window6 === void 0 || (_window6 = _window6.Apxor) === null || _window6 === void 0 || (_window6$updateFlag = _window6.updateFlag) === null || _window6$updateFlag === void 0 || _window6$updateFlag.call(_window6, "IN_APP", false);
17647
+ (_window6 = window) === null || _window6 === void 0 || (_window6 = _window6.Apxor) === null || _window6 === void 0 || (_window6$updateFlag = _window6.updateFlag) === null || _window6$updateFlag === void 0 || _window6$updateFlag.call(_window6, false, "IN_APP");
17648
+ } else {
17649
+ var _window7, _window7$updateFlag;
17650
+ (_window7 = window) === null || _window7 === void 0 || (_window7 = _window7.Apxor) === null || _window7 === void 0 || (_window7$updateFlag = _window7.updateFlag) === null || _window7$updateFlag === void 0 || _window7$updateFlag.call(_window7, "IN_APP", false);
17650
17651
  }
17651
17652
  console.error(e);
17652
17653
  }
17653
17654
  });
17654
17655
  _defineProperty(this, "removeAll", function () {
17655
- var _window7, _window7$updateFlag;
17656
- (_window7 = window) === null || _window7 === void 0 || (_window7 = _window7.Apxor) === null || _window7 === void 0 || (_window7$updateFlag = _window7.updateFlag) === null || _window7$updateFlag === void 0 || _window7$updateFlag.call(_window7, false);
17656
+ var _window8, _window8$updateFlag;
17657
+ (_window8 = window) === null || _window8 === void 0 || (_window8 = _window8.Apxor) === null || _window8 === void 0 || (_window8$updateFlag = _window8.updateFlag) === null || _window8$updateFlag === void 0 || _window8$updateFlag.call(_window8, false);
17657
17658
  if (_this.currentAction !== null && _this.currentAction !== undefined) {
17658
17659
  _this.isShowingAction = false;
17659
17660
  try {
@@ -17667,34 +17668,35 @@
17667
17668
  var terminationConfig = {};
17668
17669
  terminationConfig["auto_dismiss"] = duration > 0;
17669
17670
  terminationConfig["duration"] = duration;
17670
- _this.slkw = new InLineTooltip(ui_config, [], [], terminationConfig, {
17671
+ _this.fZcG = new InLineTooltip(ui_config, [], [], terminationConfig, {
17671
17672
  configId: uuid,
17672
17673
  configName: name
17673
17674
  }, _this, function () {
17674
17675
  _this.isShowingAction = true;
17675
17676
  if (window.Apxor && window.Apxor.logActionEvent) {
17676
- var _window8, _window8$updateFlag;
17677
- (_window8 = window) === null || _window8 === void 0 || (_window8 = _window8.Apxor) === null || _window8 === void 0 || (_window8$updateFlag = _window8.updateFlag) === null || _window8$updateFlag === void 0 || _window8$updateFlag.call(_window8, true);
17677
+ var _window9, _window9$updateFlag, _window10, _window10$updateCount;
17678
+ (_window9 = window) === null || _window9 === void 0 || (_window9 = _window9.Apxor) === null || _window9 === void 0 || (_window9$updateFlag = _window9.updateFlag) === null || _window9$updateFlag === void 0 || _window9$updateFlag.call(_window9, true);
17678
17679
  window.Apxor.logActionEvent("inline_shown", uuid, name);
17680
+ (_window10 = window) === null || _window10 === void 0 || (_window10 = _window10.Apxor) === null || _window10 === void 0 || (_window10$updateCount = _window10.updateCount) === null || _window10$updateCount === void 0 || _window10$updateCount.call(_window10, uuid);
17679
17681
  if (ui_config !== null && ui_config !== void 0 && ui_config.is_preview) {
17680
17682
  setTimeout(function () {
17681
- var _window9, _window9$logInternalE;
17682
- (_window9 = window) === null || _window9 === void 0 || (_window9 = _window9.Apxor) === null || _window9 === void 0 || (_window9$logInternalE = _window9.logInternalEvent) === null || _window9$logInternalE === void 0 || _window9$logInternalE.call(_window9, "capt");
17683
+ var _window11, _window11$logInternal;
17684
+ (_window11 = window) === null || _window11 === void 0 || (_window11 = _window11.Apxor) === null || _window11 === void 0 || (_window11$logInternal = _window11.logInternalEvent) === null || _window11$logInternal === void 0 || _window11$logInternal.call(_window11, "capt");
17683
17685
  }, 500);
17684
17686
  }
17685
17687
  }
17686
17688
  }, function (isCancelled) {
17687
- var _window10, _window10$updateFlag;
17689
+ var _window12, _window12$updateFlag;
17688
17690
  _this.isShowingAction = false;
17689
17691
  _this.currentAction = null;
17690
- _this.slkw = null;
17691
- (_window10 = window) === null || _window10 === void 0 || (_window10 = _window10.Apxor) === null || _window10 === void 0 || (_window10$updateFlag = _window10.updateFlag) === null || _window10$updateFlag === void 0 || _window10$updateFlag.call(_window10, false);
17692
+ _this.fZcG = null;
17693
+ (_window12 = window) === null || _window12 === void 0 || (_window12 = _window12.Apxor) === null || _window12 === void 0 || (_window12$updateFlag = _window12.updateFlag) === null || _window12$updateFlag === void 0 || _window12$updateFlag.call(_window12, false);
17692
17694
  if (window.Apxor && window.Apxor.logActionEvent && !isCancelled) {
17693
17695
  window.Apxor.logActionEvent("inline_dismissed", uuid, name);
17694
17696
  }
17695
17697
  }, function () {}, false, 0);
17696
17698
  setTimeout(function () {
17697
- _this.slkw.createNewTooltip();
17699
+ _this.fZcG.createNewTooltip();
17698
17700
  }, ui_config.delay);
17699
17701
  });
17700
17702
  _defineProperty(this, "createInAppVideo", function (config, duration, configId, name) {
@@ -17711,20 +17713,20 @@
17711
17713
  var VideoInAppInstance = new VideoInApp(videoConfig, terminationConfig, configId, name, function () {
17712
17714
  _this.isShowingAction = true;
17713
17715
  if (window.Apxor && window.Apxor.logActionEvent) {
17714
- var _window11, _window11$updateFlag;
17715
- (_window11 = window) === null || _window11 === void 0 || (_window11 = _window11.Apxor) === null || _window11 === void 0 || (_window11$updateFlag = _window11.updateFlag) === null || _window11$updateFlag === void 0 || _window11$updateFlag.call(_window11, true);
17716
+ var _window13, _window13$updateFlag;
17717
+ (_window13 = window) === null || _window13 === void 0 || (_window13 = _window13.Apxor) === null || _window13 === void 0 || (_window13$updateFlag = _window13.updateFlag) === null || _window13$updateFlag === void 0 || _window13$updateFlag.call(_window13, true);
17716
17718
  window.Apxor.logActionEvent("inapp_shown", configId, name);
17717
17719
  }
17718
17720
  }, function () {
17719
- var _window12, _window12$updateFlag;
17721
+ var _window14, _window14$updateFlag;
17720
17722
  _this.isShowingAction = false;
17721
17723
  _this.currentAction = null;
17722
- (_window12 = window) === null || _window12 === void 0 || (_window12 = _window12.Apxor) === null || _window12 === void 0 || (_window12$updateFlag = _window12.updateFlag) === null || _window12$updateFlag === void 0 || _window12$updateFlag.call(_window12, false);
17724
+ (_window14 = window) === null || _window14 === void 0 || (_window14 = _window14.Apxor) === null || _window14 === void 0 || (_window14$updateFlag = _window14.updateFlag) === null || _window14$updateFlag === void 0 || _window14$updateFlag.call(_window14, false);
17723
17725
  if (window.Apxor && window.Apxor.logActionEvent) {
17724
17726
  window.Apxor.logActionEvent("inapp_dismissed", configId, name);
17725
17727
  }
17726
17728
  });
17727
- VideoInAppInstance.CXVQ();
17729
+ VideoInAppInstance.wCQJ();
17728
17730
  });
17729
17731
  /**
17730
17732
  * Creates a modal for the given config and displays it.
@@ -17745,11 +17747,11 @@
17745
17747
  if (window.Apxor && window.Apxor.logActionEvent) {
17746
17748
  var _window$Apxor3;
17747
17749
  if (((_window$Apxor3 = window.Apxor) === null || _window$Apxor3 === void 0 ? void 0 : _window$Apxor3.platform) === "ios") {
17748
- var _window13, _window13$updateFlag;
17749
- (_window13 = window) === null || _window13 === void 0 || (_window13 = _window13.Apxor) === null || _window13 === void 0 || (_window13$updateFlag = _window13.updateFlag) === null || _window13$updateFlag === void 0 || _window13$updateFlag.call(_window13, true, "IN_APP");
17750
+ var _window15, _window15$updateFlag;
17751
+ (_window15 = window) === null || _window15 === void 0 || (_window15 = _window15.Apxor) === null || _window15 === void 0 || (_window15$updateFlag = _window15.updateFlag) === null || _window15$updateFlag === void 0 || _window15$updateFlag.call(_window15, true, "IN_APP");
17750
17752
  } else {
17751
- var _window14, _window14$updateFlag;
17752
- (_window14 = window) === null || _window14 === void 0 || (_window14 = _window14.Apxor) === null || _window14 === void 0 || (_window14$updateFlag = _window14.updateFlag) === null || _window14$updateFlag === void 0 || _window14$updateFlag.call(_window14, "IN_APP", true);
17753
+ var _window16, _window16$updateFlag;
17754
+ (_window16 = window) === null || _window16 === void 0 || (_window16 = _window16.Apxor) === null || _window16 === void 0 || (_window16$updateFlag = _window16.updateFlag) === null || _window16$updateFlag === void 0 || _window16$updateFlag.call(_window16, "IN_APP", true);
17753
17755
  }
17754
17756
  window.Apxor.logActionEvent("inapp_shown", configId, name);
17755
17757
  }
@@ -17766,11 +17768,11 @@
17766
17768
  backgroundDiv.remove();
17767
17769
  _this.isShowingAction = false;
17768
17770
  if (((_window$Apxor4 = window.Apxor) === null || _window$Apxor4 === void 0 ? void 0 : _window$Apxor4.platform) === "ios") {
17769
- var _window15, _window15$updateFlag;
17770
- (_window15 = window) === null || _window15 === void 0 || (_window15 = _window15.Apxor) === null || _window15 === void 0 || (_window15$updateFlag = _window15.updateFlag) === null || _window15$updateFlag === void 0 || _window15$updateFlag.call(_window15, false, "IN_APP");
17771
+ var _window17, _window17$updateFlag;
17772
+ (_window17 = window) === null || _window17 === void 0 || (_window17 = _window17.Apxor) === null || _window17 === void 0 || (_window17$updateFlag = _window17.updateFlag) === null || _window17$updateFlag === void 0 || _window17$updateFlag.call(_window17, false, "IN_APP");
17771
17773
  } else {
17772
- var _window16, _window16$updateFlag;
17773
- (_window16 = window) === null || _window16 === void 0 || (_window16 = _window16.Apxor) === null || _window16 === void 0 || (_window16$updateFlag = _window16.updateFlag) === null || _window16$updateFlag === void 0 || _window16$updateFlag.call(_window16, "IN_APP", false);
17774
+ var _window18, _window18$updateFlag;
17775
+ (_window18 = window) === null || _window18 === void 0 || (_window18 = _window18.Apxor) === null || _window18 === void 0 || (_window18$updateFlag = _window18.updateFlag) === null || _window18$updateFlag === void 0 || _window18$updateFlag.call(_window18, "IN_APP", false);
17774
17776
  }
17775
17777
  _this.currentAction = null;
17776
17778
  if (window.Apxor && window.Apxor.logActionEvent && !(action == "cancel" || action == "redirect")) {