urn a primitive value.")
}
return String(t)
}(t);
return "symbol" == kt(e) ? e : String(e)
}
function Rt(t, e) {
return Rt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
return t.__proto__ = e,
t
}
,
Rt(t, e)
}
function Lt(t) {
return Lt = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
return t.__proto__ || Object.getPrototypeOf(t)
}
,
Lt(t)
}
const jt = function(t) {
!function(t, e) {
if ("function" != typeof e && null !== e)
throw new TypeError("Super expression must either be null or a function");
t.prototype = Object.create(e && e.prototype, {
constructor: {
value: t,
writable: !0,
configurable: !0
}
}),
Object.defineProperty(t, "prototype", {
writable: !1
}),
e && Rt(t, e)
}(a, t);
var e, r, n, o, i = (n = a,
o = function() {
if ("undefined" == typeof Reflect || !Reflect.construct)
return !1;
if (Reflect.construct.sham)
return !1;
if ("function" == typeof Proxy)
return !0;
try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function() {}
))),
!0
} catch (t) {
return !1
}
}(),
function() {
var t, e = Lt(n);
if (o) {
var r = Lt(this).constructor;
t = Reflect.construct(e, arguments, r)
} else
t = e.apply(this, arguments);
return function(t, e) {
if (e && ("object" === kt(e) || "function" == typeof e))
return e;
if (void 0 !== e)
throw new TypeError("Derived constructors may only return object or undefined");
return function(t) {
if (void 0 === t)
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return t
}(t)
}(this, t)
}
);
function a() {
return function(t, e) {
if (!(t instanceof e))
throw new TypeError("Cannot call a class as a function")
}(this, a),
i.apply(this, arguments)
}
return e = a,
(r = [{
key: "isAuthorizationSupported",
get: function() {
return this._platformBridge.isPlayerAuthorizationSupported
}
}, {
key: "isAuthorized",
get: function() {
return this._platformBridge.isPlayerAuthorized
}
}, {
key: "id",
get: function() {
return this._platformBridge.playerId
}
}, {
key: "name",
get: function() {
return this._platformBridge.playerName
}
}, {
key: "photos",
get: function() {
return this._platformBridge.playerPhotos
}
}, {
key: "extra",
get: function() {
return this._platformBridge.playerExtra
}
}, {
key: "authorize",
value: function(t) {
if (t) {
var e = t[this._platformBridge.platformId];
if (e)
return this.authorize(e)
}
return this._platformBridge.authorizePlayer(t)
}
}]) && Dt(e.prototype, r),
Object.defineProperty(e, "prototype", {
writable: !1
}),
a
}(M);
function Nt(t) {
return Nt = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) {
return typeof t
}
: function(t) {
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
}
,
Nt(t)
}
function Ct(t, e) {
(null == e || e > t.length) && (e = t.length);
for (var r = 0, n = new Array(e); r < e; r++)
n[r] = t[r];
return n
}
function Gt(t, e) {
var r = Object.keys(t);
if (Object.getOwnPropertySymbols) {
var n = Object.getOwnPropertySymbols(t);
e && (n = n.filter((function(e) {
return Object.getOwnPropertyDescriptor(t, e).enumerable
}
))),
r.push.apply(r, n)
}
return r
}
function Mt(t) {
for (var e = 1; e < arguments.length; e++) {
var r = null != arguments[e] ? arguments[e] : {};
e % 2 ? Gt(Object(r), !0).forEach((function(e) {
var n, o, i, a;
n = t,
o = e,
i = r[e],
a = function(t, e) {
if ("object" != Nt(t) || !t)
return t;
var r = t[Symbol.toPrimitive];
if (void 0 !== r) {
var n = r.call(t, "string");
if ("object" != Nt(n))
return n;
throw new TypeError("@@toPrimitive must return a primitive value.")
}
return String(t)
}(o),
(o = "symbol" == Nt(a) ? a : String(a))in n ? O |