return String(t)
}(t);
return "symbol" == Sr(e) ? e : String(e)
}
function Pr(t, e) {
return Pr = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
return t.__proto__ = e,
t
}
,
Pr(t, e)
}
function wr(t) {
return wr = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
return t.__proto__ || Object.getPrototypeOf(t)
}
,
wr(t)
}
const Ar = 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 && Pr(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 = wr(n);
if (o) {
var r = wr(this).constructor;
t = Reflect.construct(e, arguments, r)
} else
t = e.apply(this, arguments);
return function(t, e) {
if (e && ("object" === Sr(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: "isInviteFriendsSupported",
get: function() {
return this._platformBridge.isInviteFriendsSupported
}
}, {
key: "isJoinCommunitySupported",
get: function() {
return this._platformBridge.isJoinCommunitySupported
}
}, {
key: "isShareSupported",
get: function() {
return this._platformBridge.isShareSupported
}
}, {
key: "isCreatePostSupported",
get: function() {
return this._platformBridge.isCreatePostSupported
}
}, {
key: "isAddToHomeScreenSupported",
get: function() {
return this._platformBridge.isAddToHomeScreenSupported
}
}, {
key: "isAddToFavoritesSupported",
get: function() {
return this._platformBridge.isAddToFavoritesSupported
}
}, {
key: "isRateSupported",
get: function() {
return this._platformBridge.isRateSupported
}
}, {
key: "isExternalLinksAllowed",
get: function() {
return this._platformBridge.isExternalLinksAllowed
}
}, {
key: "inviteFriends",
value: function(t) {
if (t) {
var e = t[this._platformBridge.platformId];
if (e)
return this.inviteFriends(e)
}
return this._platformBridge.inviteFriends(t)
}
}, {
key: "joinCommunity",
value: function(t) {
if (t) {
var e = t[this._platformBridge.platformId];
if (e)
return this.joinCommunity(e)
}
return this._platformBridge.joinCommunity(t)
}
}, {
key: "share",
value: function(t) {
if (t) {
var e = t[this._platformBridge.platformId];
if (e)
return this.share(e)
}
return this._platformBridge.share(t)
}
}, {
key: "createPost",
value: function(t) {
if (t) {
var e = t[this._platformBridge.platformId];
if (e)
return this.createPost(e)
}
return this._platformBridge.createPost(t)
}
}, {
key: "addToHomeScreen",
value: function() {
return this._platformBridge.addToHomeScreen()
}
}, {
key: "addToFavorites",
value: function() {
return this._platformBridge.addToFavorites()
}
}, {
key: "rate",
value: function() {
return this._platformBridge.rate()
}
|