Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,32 @@
|
||||
/* Metro module 7127; source: modules/quests/lib/analytics/QuestHomeSearchSession.tsx; dependencies: [491, 4882, 2] */
|
||||
function _fun56979(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#56979, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7305:6, offset: 0x013d7b01, size: 126 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/quests/lib/analytics/QuestHomeSearchSession.tsx');
|
||||
exports.getOrCreateQuestHomeSearchSession = getOrCreateQuestHomeSearchSession;
|
||||
exports.clearQuestHomeSearchSession = function() {
|
||||
env0_2 = null;
|
||||
};
|
||||
exports.getCurrentQuestHomeSearchSession = getCurrentQuestHomeSearchSession;
|
||||
}
|
||||
|
||||
function getOrCreateQuestHomeSearchSession() { // fn#56980, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7305:228, offset: 0x013d7b7f, size: 154 bytes, params: 1, frame: 18
|
||||
var object;
|
||||
var object3;
|
||||
const Date = global.Date;
|
||||
const value = Date.now();
|
||||
if (env0_2 == null) {
|
||||
object3 = {};
|
||||
object3.uuid = (require(491) /* metro dependency 491 */).v4();
|
||||
object3.createdAtTimestamp = value;
|
||||
object3.lastUsedTimestamp = value;
|
||||
object3.version = (require(4882) /* metro dependency 4882: SessionUtils */).CLIENT_SESSION_STORAGE_VERSION;
|
||||
object = {searchSession: object3, isNew: true};
|
||||
} else {
|
||||
env0_2.lastUsedTimestamp = value;
|
||||
object = {searchSession: env0_2, isNew: false};
|
||||
}
|
||||
return object;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user