()
| 856 | }); |
| 857 | }, |
| 858 | me = function () { |
| 859 | var e, |
| 860 | t, |
| 861 | i = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null, |
| 862 | o = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1], |
| 863 | n = X; |
| 864 | if (!F.isInit) throw new Error('The "init" function must be called first.'); |
| 865 | if (i) { |
| 866 | if (!(i instanceof Object) || Array.isArray(i)) throw new Error('The "signinConfig" must be "object".'); |
| 867 | (e = i), |
| 868 | ((t = Object.create(X)).client = Object.create(X.client)), |
| 869 | e.scope && "string" == typeof e.scope && (t.client.scope = e.scope), |
| 870 | e.redirectURI && "string" == typeof e.redirectURI && (t.client.redirectURI = e.redirectURI), |
| 871 | ze(i, (n = t)); |
| 872 | } |
| 873 | return Be(n, o); |
| 874 | }, |
| 875 | Me = function (e) { |
| 876 | if (!e.clientId || "string" != typeof e.clientId) throw new Error('The "clientId" should be a string.'); |
| 877 | if (((X.client.clientId = e.clientId), !e.redirectURI || "string" != typeof e.redirectURI)) |
no test coverage detected