import { UrlUtils as t } from "./accelbyte-widgets90.mjs";
import a from "react";
import o from "./accelbyte-widgets94.mjs";
class m extends a.Component {
  constructor(e) {
    super(e);
  }
  componentDidMount() {
    const { location: e, history: s } = this.props, r = Number(t.silentSearchParamsBuilder(e.search).get("page"));
    if (!(!Number.isNaN(r) && r >= 1))
      return s.replace(`${e.pathname}?page=1`);
  }
  render() {
    const e = Number(t.silentSearchParamsBuilder(this.props.location.search).get("page"));
    return /* @__PURE__ */ a.createElement("div", { className: "personalDataWidget" }, /* @__PURE__ */ a.createElement(o, { page: e }));
  }
}
export {
  m as PersonalDataWidget
};
