import { D as DesktopChecker } from "./index.js";
import React__default from "react";
import "./validator.js";
import "./dateFns.js";
import "./reactPlayer.js";
import "react-router-dom";
import "./reactSlick.js";
const paymentSuccessCallbackContainer = "paymentSuccessCallbackContainer _paymentSuccessCallbackContainer_63192";
var styles = {
  paymentSuccessCallbackContainer
};
class PaymentSuccessCallback extends React__default.Component {
  componentDidMount() {
    if (!DesktopChecker.isDesktopApp()) {
      if (window.opener) {
        window.opener.postMessage(window.location.href, "*");
      }
      window.parent.postMessage(window.location.href, window.location.origin);
    }
  }
  render() {
    return /* @__PURE__ */ React__default.createElement("div", {
      className: styles.paymentSuccessCallbackContainer
    });
  }
}
export { PaymentSuccessCallback as default };
