pb-sxp-ui 1.19.0 → 1.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -19485,7 +19485,7 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
19485
19485
  if (activeGroups === null || activeGroups === void 0 ? void 0 : activeGroups.includes('4')) {
19486
19486
  if (fbcRef.current && !(beForeactiveGroups === null || beForeactiveGroups === void 0 ? void 0 : beForeactiveGroups.includes('4'))) ;
19487
19487
  }
19488
- else if (beForeactiveGroups === null || beForeactiveGroups === void 0 ? void 0 : beForeactiveGroups.includes('4')) {
19488
+ else {
19489
19489
  fbcRef.current = getCookie('_fbp');
19490
19490
  function extractRootDomain(hostname) {
19491
19491
  // 处理特殊情况
@@ -19502,14 +19502,16 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
19502
19502
  deleteCookie('_fbp', '/', extractRootDomain(window.location.hostname));
19503
19503
  const item = data[activeIndex];
19504
19504
  const traceInfo = ((_a = item === null || item === void 0 ? void 0 : item.video) === null || _a === void 0 ? void 0 : _a.traceInfo) || ((_b = item === null || item === void 0 ? void 0 : item.product) === null || _b === void 0 ? void 0 : _b.traceInfo) || '';
19505
- bffEventReport === null || bffEventReport === void 0 ? void 0 : bffEventReport({
19506
- eventInfo: {
19507
- eventSubject: 'refuseCookie',
19508
- eventDescription: 'refuseCookie',
19509
- traceInfo
19510
- },
19511
- isActiveTargetingCookie: false
19512
- });
19505
+ if (beForeactiveGroups === null || beForeactiveGroups === void 0 ? void 0 : beForeactiveGroups.includes('4')) {
19506
+ bffEventReport === null || bffEventReport === void 0 ? void 0 : bffEventReport({
19507
+ eventInfo: {
19508
+ eventSubject: 'refuseCookie',
19509
+ eventDescription: 'refuseCookie',
19510
+ traceInfo
19511
+ },
19512
+ isActiveTargetingCookie: false
19513
+ });
19514
+ }
19513
19515
  }
19514
19516
  };
19515
19517
  }