Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
30 lines
1.1 KiB
TypeScript
30 lines
1.1 KiB
TypeScript
// Module ID: 16502
|
|
// Function ID: 16503
|
|
// Name: useNotificationCenterItemAcked
|
|
// Dependencies: [16495, 504, 7692, 2]
|
|
// Exports: useNotificationCenterItemAcked
|
|
|
|
// Module 16502 (useNotificationCenterItemAcked)
|
|
import NotificationCenterStore from "NotificationCenterStore" /* 16495 */;
|
|
|
|
const require = globalThis.__r;
|
|
|
|
const require = fn;
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/notification_center/useNotificationCenterItemAcked.tsx");
|
|
|
|
export const useNotificationCenterItemAcked = function useNotificationCenterItemAcked(forceUnacked, ackedBeforeId) {
|
|
_require = forceUnacked;
|
|
const items = [NotificationCenterStore];
|
|
let stateFromStores = require("initialize").useStateFromStores(items, () => NotificationCenterStore.isLocalItemAcked(closure_0));
|
|
forceUnacked = forceUnacked.forceUnacked;
|
|
let tmp4 = !forceUnacked;
|
|
if (!forceUnacked) {
|
|
if (!stateFromStores) {
|
|
stateFromStores = require("NotificationCenterUtils").isRemoteAcked(forceUnacked, ackedBeforeId);
|
|
const tmpResult = require("NotificationCenterUtils");
|
|
}
|
|
tmp4 = stateFromStores;
|
|
}
|
|
return tmp4;
|
|
};
|