2026-07-24 07:16:23 +00:00
|
|
|
// Module ID: 10539
|
|
|
|
|
// Function ID: 82269
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getShelfItemData
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [4167, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-07-24 07:16:23 +00:00
|
|
|
// Module 10539 (getShelfItemData)
|
2026-07-23 10:11:24 +00:00
|
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
|
|
|
|
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/activities/getShelfItemData.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function getShelfItemData(applicationId) {
|
|
|
|
|
let activityConfigs;
|
|
|
|
|
let applications;
|
|
|
|
|
applicationId = applicationId.applicationId;
|
|
|
|
|
({ activityConfigs, applications } = applicationId);
|
|
|
|
|
let found;
|
|
|
|
|
if (null != applications) {
|
|
|
|
|
found = applications.find((id) => id.id === applicationId);
|
|
|
|
|
}
|
|
|
|
|
if (null == found) {
|
2026-07-23 10:11:24 +00:00
|
|
|
found = applicationId.getApplication(applicationId);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
const found1 = activityConfigs.find((application_id) => application_id.application_id === applicationId);
|
|
|
|
|
let tmp4 = null;
|
|
|
|
|
if (null != found1) {
|
|
|
|
|
tmp4 = null;
|
|
|
|
|
if (null != found) {
|
|
|
|
|
const obj = { activity: found1, application: found };
|
|
|
|
|
tmp4 = obj;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return tmp4;
|
|
|
|
|
};
|