decord/source/modules/dismissible_content/native/SelectedDismissibleContent.tsx
2026-08-24 06:08:38 +00:00

57 lines
3.3 KiB
TypeScript

// Module ID: 10300
// Function ID: 10301
// Name: SelectedDismissibleContent
// Dependencies: [32, 19, 21, 7404, 2]
// Exports: SelectedSnowflakeBoundDismissibleContent, SelectedTimeReccuringSnowflakeBoundDismissibleContent, SelectedTimeRecurringDismissibleContent, SelectedVersionedDismissibleContent, default
// Module 10300 (SelectedDismissibleContent)
import noopAll from "noop" /* 19 */;
import useSelectedDismissibleContent from "useSelectedDismissibleContent" /* 7404 */;
import closure_2 from "_slicedToArray" /* 32 */;
import jsxProd from "jsxProd" /* 21 */;
require = arg1;
noopAll;
({ Fragment: c3, jsx: c4 } = jsxProd);
const result = require("set").fileFinishedImporting("modules/dismissible_content/native/SelectedDismissibleContent.tsx");
export default function SelectedDismissibleContent(arg0) {
({ contentTypes, children, groupName, bypassAutoDismiss } = arg0);
let obj = useSelectedDismissibleContent;
const tmp = callback(obj.useSelectedDismissibleContent(contentTypes, groupName, bypassAutoDismiss), 2);
obj = { children: children(obj) };
obj = { visibleContent: tmp[0], markAsDismissed: tmp[1] };
return callback2(closure_3, obj);
};
export const SelectedVersionedDismissibleContent = function SelectedVersionedDismissibleContent(contentType) {
({ latestVersion, groupName, bypassAutoDismiss, children } = contentType);
let obj = useSelectedDismissibleContent;
const tmp = callback(obj.useSelectedVersionedDismissibleContent(contentType.contentType, latestVersion, groupName, bypassAutoDismiss), 2);
obj = { children: children(obj) };
obj = { visibleContent: tmp[0], markAsDismissed: tmp[1] };
return callback2(closure_3, obj);
};
export const SelectedTimeRecurringDismissibleContent = function SelectedTimeRecurringDismissibleContent(contentType) {
({ timeRecurringConfig, groupName, bypassAutoDismiss, children } = contentType);
let obj = useSelectedDismissibleContent;
const tmp = callback(obj.useSelectedTimeRecurringDismissibleContent(contentType.contentType, timeRecurringConfig, groupName, bypassAutoDismiss), 2);
obj = { children: children(obj) };
obj = { visibleContent: tmp[0], markAsDismissed: tmp[1] };
return callback2(closure_3, obj);
};
export const SelectedSnowflakeBoundDismissibleContent = function SelectedSnowflakeBoundDismissibleContent(contentType) {
({ newSnowflakeId, groupName, bypassAutoDismiss, children } = contentType);
let obj = useSelectedDismissibleContent;
const tmp = callback(obj.useSelectedSnowflakeBoundDismissibleContent(contentType.contentType, newSnowflakeId, groupName, bypassAutoDismiss), 2);
obj = { children: children(obj) };
obj = { visibleContent: tmp[0], markAsDismissed: tmp[1] };
return callback2(closure_3, obj);
};
export const SelectedTimeReccuringSnowflakeBoundDismissibleContent = function SelectedTimeReccuringSnowflakeBoundDismissibleContent(contentType) {
({ newSnowflakeId, timeRecurringConfig, groupName, bypassAutoDismiss, children } = contentType);
let obj = useSelectedDismissibleContent;
const tmp = callback(obj.useSelectedTimeRecurringSnowflakeBoundDismissibleContent(contentType.contentType, newSnowflakeId, timeRecurringConfig, groupName, bypassAutoDismiss), 2);
obj = { children: children(obj) };
obj = { visibleContent: tmp[0], markAsDismissed: tmp[1] };
return callback2(closure_3, obj);
};