2026-09-21 19:31:18 +00:00
|
|
|
// Module ID: 9716
|
|
|
|
|
// Function ID: 9717
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: useCurrentEmbeddedActivity
|
2026-09-21 19:31:18 +00:00
|
|
|
// Dependencies: [2044, 558, 568, 504, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
|
2026-09-21 19:31:18 +00:00
|
|
|
// Module 9716 (useCurrentEmbeddedActivity)
|
2026-09-18 19:45:33 +00:00
|
|
|
import initialize from "initialize" /* 504 */;
|
2026-09-21 19:31:18 +00:00
|
|
|
import c from "c" /* 568 */;
|
|
|
|
|
import EmbeddedActivitiesStore from "EmbeddedActivitiesStore" /* 2044 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
|
|
|
|
|
require = fn;
|
2026-09-21 19:31:18 +00:00
|
|
|
const ReactCompilerGating = fn(558);
|
2026-09-18 19:45:33 +00:00
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/activities/utils/useCurrentEmbeddedActivity.tsx");
|
|
|
|
|
|
2026-09-21 19:31:18 +00:00
|
|
|
export default ReactCompilerGating.isReactCompilerEnabled() ? (() => {
|
|
|
|
|
const cResult = c.c(2);
|
|
|
|
|
if (cResult[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
|
|
|
const items = [EmbeddedActivitiesStore];
|
|
|
|
|
const fn = function u() {
|
|
|
|
|
return currentEmbeddedActivity.getCurrentEmbeddedActivity();
|
|
|
|
|
};
|
|
|
|
|
cResult[0] = items;
|
|
|
|
|
cResult[1] = fn;
|
|
|
|
|
tmp4 = items;
|
|
|
|
|
tmp5 = fn;
|
|
|
|
|
} else {
|
|
|
|
|
[tmp4, tmp5] = cResult;
|
|
|
|
|
}
|
|
|
|
|
return initialize.useStateFromStores(tmp4, tmp5);
|
|
|
|
|
}) : (() => {
|
2026-09-18 19:45:33 +00:00
|
|
|
const items = [EmbeddedActivitiesStore];
|
|
|
|
|
return initialize.useStateFromStores(items, () => currentEmbeddedActivity.getCurrentEmbeddedActivity());
|
2026-09-21 19:31:18 +00:00
|
|
|
});
|