Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
37 lines
1.5 KiB
TypeScript
37 lines
1.5 KiB
TypeScript
// Module ID: 14861
|
|
// Function ID: 14862
|
|
// Name: useAccountStandingStatusLabel
|
|
// Dependencies: [12017, 12045, 14862, 1115, 14863, 2]
|
|
// Exports: useAccountStandingStatusLabel
|
|
|
|
// Module 14861 (useAccountStandingStatusLabel)
|
|
import util from "util" /* 1115 */;
|
|
import useSafetyHubAccountStanding from "useSafetyHubAccountStanding" /* 12017 */;
|
|
import useSafetyHubInitialized from "useSafetyHubInitialized" /* 12045 */;
|
|
import useSafetyHubFetchError from "useSafetyHubFetchError" /* 14862 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/safety_hub/hooks/useAccountStandingStatusLabel.tsx");
|
|
|
|
export const useAccountStandingStatusLabel = function useAccountStandingStatusLabel() {
|
|
const safetyHubAccountStanding = useSafetyHubAccountStanding.useSafetyHubAccountStanding();
|
|
const safetyHubInitialized = useSafetyHubInitialized.useSafetyHubInitialized();
|
|
const safetyHubFetchError = useSafetyHubFetchError.useSafetyHubFetchError();
|
|
const intl = util.intl;
|
|
if (safetyHubInitialized) {
|
|
const obj4 = {
|
|
hook(arg0) {
|
|
return arg0;
|
|
}
|
|
};
|
|
let formatToPlainStringResult = intl.formatToPlainString(tmp(14863).ACCOUNT_STANDING_SHORT_STATUS[safetyHubAccountStanding.state], obj4);
|
|
} else {
|
|
if (null != safetyHubFetchError) {
|
|
let ZTNur7 = tmp(1115).t.TDRvqs;
|
|
} else {
|
|
ZTNur7 = tmp(1115).t.ZTNur7;
|
|
}
|
|
formatToPlainStringResult = intl.string(ZTNur7);
|
|
}
|
|
return formatToPlainStringResult;
|
|
};
|