@wistia/wistia-player 0.7.26 → 0.7.28

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.
@@ -2800,13 +2800,15 @@ const unescapeHtml = (encodedHtmlStr, options = {}) => {
2800
2800
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2801
2801
  /* harmony export */ N7: () => (/* binding */ reportError)
2802
2802
  /* harmony export */ });
2803
- /* unused harmony exports initializeSentry, listenForGlobalErrors, listenForGlobalUnhandledRejections */
2803
+ /* unused harmony exports getRecentSentryEventIds, initializeSentry, listenForGlobalErrors, listenForGlobalUnhandledRejections */
2804
2804
  /* harmony import */ var _wistia_type_guards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9814);
2805
- /* harmony import */ var _trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4755);
2806
- /* harmony import */ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5509);
2807
- /* harmony import */ var _appHostname_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(787);
2808
- /* harmony import */ var _hosts_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5857);
2809
- /* harmony import */ var _simpleMetrics_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1161);
2805
+ /* harmony import */ var _globalBindAndTrigger_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4271);
2806
+ /* harmony import */ var _trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4755);
2807
+ /* harmony import */ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5509);
2808
+ /* harmony import */ var _appHostname_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(787);
2809
+ /* harmony import */ var _hosts_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5857);
2810
+ /* harmony import */ var _simpleMetrics_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1161);
2811
+
2810
2812
 
2811
2813
 
2812
2814
 
@@ -2836,9 +2838,30 @@ const IS_TEST_ENV = "production" === 'test';
2836
2838
  // Prevents multiple Sentry script tags from being appended while loading
2837
2839
  let isSentryLoading = false;
2838
2840
 
2841
+ // Prevents binding more than one visitortrackingchange listener
2842
+ let isWaitingForConsentChange = false;
2843
+ const onGlobal = _globalBindAndTrigger_js__WEBPACK_IMPORTED_MODULE_1__/* .globalOn */ .tJ;
2844
+
2839
2845
  // Buffer for errors reported before Sentry is initialized
2840
2846
  const errorsCapturedBeforeSentryClientInit = [];
2841
2847
  const MAX_PENDING_ERRORS = 50;
2848
+
2849
+ // Event ids of the errors this page sent to Sentry, so a viewer's problem
2850
+ // report can be joined to them without searching.
2851
+ const MAX_REMEMBERED_EVENT_IDS = 10;
2852
+ const recentSentryEventIds = [];
2853
+ const getRecentSentryEventIds = () => {
2854
+ return recentSentryEventIds.slice();
2855
+ };
2856
+ const rememberSentryEventId = eventId => {
2857
+ if (typeof eventId !== 'string' || eventId === '') {
2858
+ return;
2859
+ }
2860
+ recentSentryEventIds.push(eventId);
2861
+ if (recentSentryEventIds.length > MAX_REMEMBERED_EVENT_IDS) {
2862
+ recentSentryEventIds.shift();
2863
+ }
2864
+ };
2842
2865
  const configureSentry = () => {
2843
2866
  if ((0,_wistia_type_guards__WEBPACK_IMPORTED_MODULE_0__/* .isNil */ .gD)(window.Sentry) || (0,_wistia_type_guards__WEBPACK_IMPORTED_MODULE_0__/* .isNil */ .gD)(window.Sentry.BrowserClient) || (0,_wistia_type_guards__WEBPACK_IMPORTED_MODULE_0__/* .isNil */ .gD)(window.Sentry.makeFetchTransport) || (0,_wistia_type_guards__WEBPACK_IMPORTED_MODULE_0__/* .isNil */ .gD)(window.Sentry.defaultStackParser) || (0,_wistia_type_guards__WEBPACK_IMPORTED_MODULE_0__/* .isNil */ .gD)(window.Sentry.Scope)) {
2844
2867
  return;
@@ -2859,19 +2882,19 @@ const configureSentry = () => {
2859
2882
  stackParser: window.Sentry.defaultStackParser,
2860
2883
  integrations: [window.Sentry.httpContextIntegration()],
2861
2884
  // Allow httpContextIntegration so we can collect URL, browser, and OS version information. No PII is included here.
2862
- release: (0,_wistia_type_guards__WEBPACK_IMPORTED_MODULE_0__/* .isNonEmptyString */ .uI)(_hosts_js__WEBPACK_IMPORTED_MODULE_4__/* .TAGGED_VERSION */ .U4) ? _hosts_js__WEBPACK_IMPORTED_MODULE_4__/* .TAGGED_VERSION */ .U4 : _hosts_js__WEBPACK_IMPORTED_MODULE_4__/* .CURRENT_SHA */ .lR
2885
+ release: (0,_wistia_type_guards__WEBPACK_IMPORTED_MODULE_0__/* .isNonEmptyString */ .uI)(_hosts_js__WEBPACK_IMPORTED_MODULE_5__/* .TAGGED_VERSION */ .U4) ? _hosts_js__WEBPACK_IMPORTED_MODULE_5__/* .TAGGED_VERSION */ .U4 : _hosts_js__WEBPACK_IMPORTED_MODULE_5__/* .CURRENT_SHA */ .lR
2863
2886
  });
2864
2887
  const scope = new window.Sentry.Scope();
2865
2888
  scope.setClient(client);
2866
2889
  scope.setTags({
2867
2890
  pillar: 'publish'
2868
2891
  });
2869
- _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__/* .Wistia */ .s._sentryScope = scope;
2892
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s._sentryScope = scope;
2870
2893
  client.init(); // initializing has to be done after setting the client on the scope
2871
2894
 
2872
- _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__/* .Wistia */ .s.isSentryInitialized = true;
2895
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s.isSentryInitialized = true;
2873
2896
  if (errorsCapturedBeforeSentryClientInit.length > 0) {
2874
- (0,_simpleMetrics_js__WEBPACK_IMPORTED_MODULE_5__/* .countMetric */ .WO)('player/buffered-sentry-errors', errorsCapturedBeforeSentryClientInit.length);
2897
+ (0,_simpleMetrics_js__WEBPACK_IMPORTED_MODULE_6__/* .countMetric */ .WO)('player/buffered-sentry-errors', errorsCapturedBeforeSentryClientInit.length);
2875
2898
  }
2876
2899
  // Flush any errors that were buffered before Sentry was ready
2877
2900
  errorsCapturedBeforeSentryClientInit.forEach(pending => {
@@ -2890,10 +2913,23 @@ const configureSentry = () => {
2890
2913
  listenForGlobalUnhandledRejections();
2891
2914
  };
2892
2915
  const initializeSentry = () => {
2893
- if ((0,_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_1__/* .isVisitorTrackingEnabled */ .D5)() !== true) {
2916
+ // The entry scripts and web component constructors call this before any
2917
+ // media data has arrived, which is also before we can know whether the
2918
+ // account is in privacy mode. Don't load Sentry on a guess: the public API
2919
+ // and Gallery call this again once their server data lands, and
2920
+ // reportError() buffers anything captured in the meantime. An explicit
2921
+ // Wistia.consent() call from the page also settles it.
2922
+ if (!(0,_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_2__/* .isVisitorTrackingDecided */ .m8)()) {
2923
+ if (!isWaitingForConsentChange) {
2924
+ isWaitingForConsentChange = true;
2925
+ onGlobal('visitortrackingchange', initializeSentry);
2926
+ }
2894
2927
  return;
2895
2928
  }
2896
- if (!window.Sentry && !_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__/* .Wistia */ .s.isSentryInitialized && !isSentryLoading) {
2929
+ if ((0,_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_2__/* .isVisitorTrackingEnabled */ .D5)() !== true) {
2930
+ return;
2931
+ }
2932
+ if (!window.Sentry && !_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s.isSentryInitialized && !isSentryLoading) {
2897
2933
  isSentryLoading = true;
2898
2934
  const sentryLoader = document.createElement('script');
2899
2935
  /**
@@ -2915,10 +2951,10 @@ const initializeSentry = () => {
2915
2951
  };
2916
2952
  const reportError = (product, error, details) => {
2917
2953
  try {
2918
- if ((0,_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_1__/* .isVisitorTrackingEnabled */ .D5)() !== true) {
2954
+ if ((0,_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_2__/* .isVisitorTrackingEnabled */ .D5)() !== true) {
2919
2955
  return;
2920
2956
  }
2921
- if (!_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__/* .Wistia */ .s.isSentryInitialized) {
2957
+ if (!_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s.isSentryInitialized) {
2922
2958
  initializeSentry();
2923
2959
  if (errorsCapturedBeforeSentryClientInit.length < MAX_PENDING_ERRORS) {
2924
2960
  errorsCapturedBeforeSentryClientInit.push({
@@ -2953,18 +2989,18 @@ const reportError = (product, error, details) => {
2953
2989
  console.error(error); // eslint-disable-line no-console
2954
2990
  // trackingConsentApi is not yet converted to TS
2955
2991
  // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
2956
- } else if ((0,_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_1__/* .isVisitorTrackingEnabled */ .D5)()) {
2992
+ } else if ((0,_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_2__/* .isVisitorTrackingEnabled */ .D5)()) {
2957
2993
  // The Sentry docs indicate that we can pass context in a few different ways (https://docs.sentry.io/platforms/javascript/enriching-events/context/#passing-context-directly)
2958
2994
  // Those examples do not actually seem to work.
2959
2995
  // Instead, we will clear out the scope each time we report a new exception and manually re-create it.
2960
- _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__/* .Wistia */ .s._sentryScope.clear();
2961
- _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__/* .Wistia */ .s._sentryScope.setTag('pillar', 'publish');
2962
- _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__/* .Wistia */ .s._sentryScope.setTag('product', product);
2996
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s._sentryScope.clear();
2997
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s._sentryScope.setTag('pillar', 'publish');
2998
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s._sentryScope.setTag('product', product);
2963
2999
  if ((0,_wistia_type_guards__WEBPACK_IMPORTED_MODULE_0__/* .isNonEmptyRecord */ .uu)(details)) {
2964
- _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__/* .Wistia */ .s._sentryScope.setTags(details);
3000
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s._sentryScope.setTags(details);
2965
3001
  }
2966
- _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__/* .Wistia */ .s._sentryScope.setTag('url', window.location.href);
2967
- _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__/* .Wistia */ .s._sentryScope.captureException(error);
3002
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s._sentryScope.setTag('url', window.location.href);
3003
+ rememberSentryEventId(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s._sentryScope.captureException(error));
2968
3004
  }
2969
3005
  } catch (err) {
2970
3006
  // We don't want any problems with our error logging to break other things,
@@ -2980,7 +3016,7 @@ const globalErrorHandler = event => {
2980
3016
  }
2981
3017
  // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
2982
3018
  const eventErrorSource = event.error?.source ?? '';
2983
- const fastHostName = (0,_appHostname_js__WEBPACK_IMPORTED_MODULE_3__/* .appHostname */ .Ni)('fast');
3019
+ const fastHostName = (0,_appHostname_js__WEBPACK_IMPORTED_MODULE_4__/* .appHostname */ .Ni)('fast');
2984
3020
  // Filter out any global errors that didn't originate from Wistia code
2985
3021
  if (eventErrorSource.includes(fastHostName)) {
2986
3022
  reportError('globalListener', eventError);
@@ -2996,20 +3032,20 @@ const globalUnhandledRejectionHandler = event => {
2996
3032
  // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
2997
3033
  const eventReasonStack = event.reason?.stack ?? '';
2998
3034
  // Filter out any unhandled rejections that didn't originate from Wistia code
2999
- if (eventReasonStack.includes((0,_appHostname_js__WEBPACK_IMPORTED_MODULE_3__/* .appHostname */ .Ni)('fast'))) {
3035
+ if (eventReasonStack.includes((0,_appHostname_js__WEBPACK_IMPORTED_MODULE_4__/* .appHostname */ .Ni)('fast'))) {
3000
3036
  reportError('globalListener', eventReason);
3001
3037
  }
3002
3038
  };
3003
3039
  const listenForGlobalErrors = () => {
3004
- if (!_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__/* .Wistia */ .s._isListeningForGlobalErrors) {
3040
+ if (!_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s._isListeningForGlobalErrors) {
3005
3041
  window.addEventListener('error', globalErrorHandler);
3006
- _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__/* .Wistia */ .s._isListeningForGlobalErrors = true;
3042
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s._isListeningForGlobalErrors = true;
3007
3043
  }
3008
3044
  };
3009
3045
  const listenForGlobalUnhandledRejections = () => {
3010
- if (!_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__/* .Wistia */ .s._isListeningForGlobalUnhandledRejections) {
3046
+ if (!_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s._isListeningForGlobalUnhandledRejections) {
3011
3047
  window.addEventListener('unhandledrejection', globalUnhandledRejectionHandler);
3012
- _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_2__/* .Wistia */ .s._isListeningForGlobalUnhandledRejections = true;
3048
+ _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s._isListeningForGlobalUnhandledRejections = true;
3013
3049
  }
3014
3050
  };
3015
3051
 
@@ -4810,9 +4846,10 @@ const languageToLocalization = (mediaData, language) => (mediaData.localizations
4810
4846
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4811
4847
 
4812
4848
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4813
- /* harmony export */ mj: () => (/* binding */ globalTrigger)
4849
+ /* harmony export */ mj: () => (/* binding */ globalTrigger),
4850
+ /* harmony export */ tJ: () => (/* binding */ globalOn)
4814
4851
  /* harmony export */ });
4815
- /* unused harmony exports globalBind, globalOn, globalOff, globalRebind, globalUnbind */
4852
+ /* unused harmony exports globalBind, globalOff, globalRebind, globalUnbind */
4816
4853
  /* harmony import */ var utilities_wbindable_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9376);
4817
4854
  /* harmony import */ var _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5509);
4818
4855
 
@@ -5606,7 +5643,8 @@ defineTranslations('en-US', {
5606
5643
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
5607
5644
 
5608
5645
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5609
- /* harmony export */ D5: () => (/* binding */ isVisitorTrackingEnabled)
5646
+ /* harmony export */ D5: () => (/* binding */ isVisitorTrackingEnabled),
5647
+ /* harmony export */ m8: () => (/* binding */ isVisitorTrackingDecided)
5610
5648
  /* harmony export */ });
5611
5649
  /* unused harmony exports migrateLegacyVisitorTracking, consent, setVisitorTrackingEnabled, registerPrivacyModeSource, unregisterPrivacyModeSource */
5612
5650
  /* harmony import */ var utilities_globalBindAndTrigger_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4271);
@@ -5694,7 +5732,11 @@ const isCurrentDomainOrAnyParentDomainsEnabled = () => {
5694
5732
  // returns undefined instead of false as a result so that we can have
5695
5733
  // different behavior if it has not been set.
5696
5734
  };
5697
- const isVisitorTrackingEnabled = () => {
5735
+
5736
+ // Explicit consent set via Wistia.consent(), either the legacy boolean or a
5737
+ // per-domain entry covering the current domain. Returns undefined when the
5738
+ // customer's page has never called it.
5739
+ const getExplicitConsent = () => {
5698
5740
  if (typeof _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s._visitorTracking === 'boolean') {
5699
5741
  // Legacy. We previously persisted this data as a boolean
5700
5742
  return _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s._visitorTracking;
@@ -5707,6 +5749,12 @@ const isVisitorTrackingEnabled = () => {
5707
5749
  return Boolean(isEnabledVal);
5708
5750
  }
5709
5751
  }
5752
+ return undefined;
5753
+ };
5754
+
5755
+ // Every embed on the page whose server data can tell us the account's
5756
+ // privacy mode: media embeds (_mediaData) and channels (_galleryData).
5757
+ const getPrivacyModeApiHandles = () => {
5710
5758
  const apis = (0,utilities_getApiHandles_ts__WEBPACK_IMPORTED_MODULE_2__/* .getAllApiHandles */ .bp)();
5711
5759
  if (_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s.channel && _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s.channel.all) {
5712
5760
  try {
@@ -5717,18 +5765,45 @@ const isVisitorTrackingEnabled = () => {
5717
5765
  // channel embeds yet.
5718
5766
  }
5719
5767
  }
5768
+ return apis;
5769
+ };
5770
+ const isVisitorTrackingEnabled = () => {
5771
+ const explicitConsent = getExplicitConsent();
5772
+ if (explicitConsent != null) {
5773
+ return explicitConsent;
5774
+ }
5720
5775
 
5721
5776
  // By default, if any videos have privacy mode enabled, then we disable
5722
5777
  // visitor tracking for all videos on the page. In practice, we would only
5723
5778
  // see this occur if videos from multiple accounts--with different privacy
5724
5779
  // mode settings--appear on the same page.
5725
- const isPrivacyModeEnabled = apis.some(api => {
5780
+ const isPrivacyModeEnabled = getPrivacyModeApiHandles().some(api => {
5726
5781
  const data = api._mediaData || api._galleryData || {};
5727
5782
  return data.privacyMode === true;
5728
5783
  }) || hasRegisteredPrivacyModeSource();
5729
5784
  return !isPrivacyModeEnabled;
5730
5785
  };
5731
5786
 
5787
+ // Whether isVisitorTrackingEnabled() is answering from real information.
5788
+ //
5789
+ // Privacy mode comes from the server with each embed's data. Until the first
5790
+ // media or gallery data lands (and absent an explicit Wistia.consent() call or
5791
+ // a registered privacy-mode source), isVisitorTrackingEnabled() has nothing to
5792
+ // go on and returns true. Code that starts third-party tracking on the strength
5793
+ // of that answer--Sentry, for instance--should wait until this is true, or it
5794
+ // will fire on privacy-mode pages during that window.
5795
+ const isVisitorTrackingDecided = () => {
5796
+ if (getExplicitConsent() != null) {
5797
+ return true;
5798
+ }
5799
+ if (hasAnyRegisteredPrivacyModeSource()) {
5800
+ return true;
5801
+ }
5802
+ return getPrivacyModeApiHandles().some(api => {
5803
+ return api != null && api !== 'removed' && (api._mediaData != null || api._galleryData != null);
5804
+ });
5805
+ };
5806
+
5732
5807
  // Embeds that aren't API handles or channels -- form embeds, and any future
5733
5808
  // non-player surface -- register their account's privacy mode here.
5734
5809
  //
@@ -5746,6 +5821,10 @@ const unregisterPrivacyModeSource = key => {
5746
5821
  };
5747
5822
  const hasRegisteredPrivacyModeSource = () => Object.values(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s._privacyModeSources || {}).some(Boolean);
5748
5823
 
5824
+ // A source registered with privacyMode=false is still an answer: that surface
5825
+ // knows its account is not in privacy mode.
5826
+ const hasAnyRegisteredPrivacyModeSource = () => Object.keys(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__/* .Wistia */ .s._privacyModeSources || {}).length > 0;
5827
+
5749
5828
  /***/ },
5750
5829
 
5751
5830
  /***/ 4989
@@ -6976,8 +7055,8 @@ const PROD_EMBED_HOST = 'embed.wistia.com';
6976
7055
  const PROD_SSL_EMBED_HOST = 'embed-ssl.wistia.com';
6977
7056
  const PROD_FASTLY_SSL_HOST = 'embed-fastly.wistia.com';
6978
7057
  const SSL_EMBED_HOST = "embed-ssl.wistia.com";
6979
- const TAGGED_VERSION = "0.7.26" || 0;
6980
- const CURRENT_SHA = "9587e8a9937373f4882b65d3b376801428e6b91b" || 0;
7058
+ const TAGGED_VERSION = "0.7.28" || 0;
7059
+ const CURRENT_SHA = "987326165f6b8d582037859d9f76ba214d7595ff" || 0;
6981
7060
  const DEFAULT_PROTOCOL = (() => {
6982
7061
  if (typeof window !== 'undefined' && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__/* .root */ .z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__/* .root */ .z.location) {
6983
7062
  return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__/* .root */ .z.location.protocol;