"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getSignupUrl = void 0;
var _helpers = require("../../helpers");
const getSignupUrl = function () {
  let {
    forwarder: {
      signup: url
    } = {},
    id,
    language,
    urlParams: {
      miraiId,
      type
    } = {}
  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  if (!id || !language || !url) return;
  return "".concat(url).concat((0, _helpers.toUrlParams)({
    idtokenprovider: id,
    lang: language,
    miraiId,
    type
  }));
};
exports.getSignupUrl = getSignupUrl;
//# sourceMappingURL=getSignupUrl.js.map