45 lines
883 B
TypeScript
45 lines
883 B
TypeScript
// Metro module 5773 (f5774).
|
|
const r9 = {
|
|
SET_COMPLETED: 1,
|
|
1: "SET_COMPLETED",
|
|
UNSET_COMPLETED: 2,
|
|
2: "UNSET_COMPLETED",
|
|
DELETE_USER_MESSAGE: 3,
|
|
3: "DELETE_USER_MESSAGE",
|
|
SUBMIT_FEEDBACK: 4,
|
|
4: "SUBMIT_FEEDBACK"
|
|
};
|
|
export { r9 as AutomodAlertActionType };
|
|
export function parseAlertActionsExecution(a0) {
|
|
if (a0 == null) {
|
|
return null;
|
|
}
|
|
let c15138_0;
|
|
const r9 = (function safeJsonParse(a0) {
|
|
let r5;
|
|
if (a0 == null) {
|
|
return null;
|
|
}
|
|
try {
|
|
r5 = JSON.parse(a0);
|
|
} catch ($e) {
|
|
return null;
|
|
}
|
|
return r5;
|
|
})(a0);
|
|
c15138_0 = r9;
|
|
const r10 = r9 == null;
|
|
let r11 = null;
|
|
if (!r10) {
|
|
const r12 = r9.actions == null;
|
|
r11 = null;
|
|
if (!r12) {
|
|
Object.keys(r9.actions).forEach((item) => {
|
|
c15138_0.actions[item].actionType = item;
|
|
});
|
|
r11 = r9;
|
|
}
|
|
}
|
|
return r11;
|
|
}
|