analytica-frontend-lib 1.1.81 → 1.1.82

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.mjs CHANGED
@@ -8490,7 +8490,7 @@ var SpeedMenu = ({
8490
8490
  ))
8491
8491
  }
8492
8492
  );
8493
- const portalContent = showSpeedMenu && typeof window !== "undefined" && typeof document !== "undefined" && !!globalThis.document?.body ? createPortal(menuContent, globalThis.document.body) : null;
8493
+ const portalContent = showSpeedMenu && globalThis.window !== void 0 && globalThis.document !== void 0 && !!globalThis.document?.body ? createPortal(menuContent, globalThis.document.body) : null;
8494
8494
  return /* @__PURE__ */ jsxs31("div", { className: "relative", ref: speedMenuContainerRef, children: [
8495
8495
  /* @__PURE__ */ jsx44(
8496
8496
  IconButton_default,