48 lines
1.9 KiB
TypeScript
48 lines
1.9 KiB
TypeScript
// Module ID: 16187
|
|
// Function ID: 125590
|
|
// Name: _isNativeReflectConstruct
|
|
// Dependencies: [7, 6, 15, 17, 18, 10189, 5077, 5078, 2]
|
|
|
|
// Module 16187 (_isNativeReflectConstruct)
|
|
import AutomaticLifecycleManager from "AutomaticLifecycleManager";
|
|
import isFavoritesGuildId from "isFavoritesGuildId";
|
|
import _possibleConstructorReturn from "_possibleConstructorReturn";
|
|
import _getPrototypeOf from "_getPrototypeOf";
|
|
import _inherits from "_inherits";
|
|
import tmp2 from "AutomaticLifecycleManager";
|
|
|
|
const require = arg1;
|
|
function _isNativeReflectConstruct() {
|
|
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
|
|
|
|
}));
|
|
function _isNativeReflectConstruct() {
|
|
return closure_0;
|
|
}
|
|
const result = _isNativeReflectConstruct();
|
|
}
|
|
function handleChannelDelete(channel) {
|
|
const result = require(10189) /* _createForOfIteratorHelperLoose */.removeFavoriteChannel(channel.channel.id, { trackAnalytics: false });
|
|
}
|
|
function handleCategoryCollapse(id) {
|
|
const result = require(10189) /* _createForOfIteratorHelperLoose */.setFavoriteCategoryCollapsed(id.id, true);
|
|
}
|
|
function handleCategoryExpand(id) {
|
|
const result = require(10189) /* _createForOfIteratorHelperLoose */.setFavoriteCategoryCollapsed(id.id, false);
|
|
}
|
|
function handleCategoryCollapseAll(guildId) {
|
|
if (obj.isFavoritesGuildId(guildId.guildId)) {
|
|
const result = require(10189) /* _createForOfIteratorHelperLoose */.setAllFavoriteCategoriesCollapsed(true);
|
|
const obj2 = require(10189) /* _createForOfIteratorHelperLoose */;
|
|
}
|
|
}
|
|
function handleCategoryExpandAll(guildId) {
|
|
if (obj.isFavoritesGuildId(guildId.guildId)) {
|
|
const result = require(10189) /* _createForOfIteratorHelperLoose */.setAllFavoriteCategoriesCollapsed(false);
|
|
const obj2 = require(10189) /* _createForOfIteratorHelperLoose */;
|
|
}
|
|
}
|
|
tmp2 = new tmp2();
|
|
let result = require("_possibleConstructorReturn").fileFinishedImporting("modules/favorites/FavoriteManager.tsx");
|
|
|
|
export default tmp2;
|