2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 13043
|
|
|
|
|
// Function ID: 13044
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useOutboundPromotionRedemptionEndDate
|
2026-08-24 06:08:38 +00:00
|
|
|
// Dependencies: [19, 3978, 4066, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 13043 (useOutboundPromotionRedemptionEndDate)
|
|
|
|
|
import closure_3 from "noop" /* 19 */;
|
|
|
|
|
import closure_4 from "module_30" /* 30 */;
|
|
|
|
|
import importDefaultResult from "t" /* 3978 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-23 10:11:24 +00:00
|
|
|
const require = arg1;
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/premium/hooks/useOutboundPromotionRedemptionEndDate.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function useOutboundPromotionRedemptionEndDate(arg0, arg1) {
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_0 = arg0;
|
|
|
|
|
closure_1 = arg1;
|
2026-07-20 16:05:17 +00:00
|
|
|
const items = [arg0, arg1];
|
2026-07-23 10:11:24 +00:00
|
|
|
return React.useMemo(() => {
|
2026-08-24 06:08:38 +00:00
|
|
|
let tmp = closure_1_2;
|
|
|
|
|
lib(closure_1_2[2]);
|
2026-07-23 10:11:24 +00:00
|
|
|
if (callback) {
|
2026-07-29 08:29:29 +00:00
|
|
|
let outboundRedemptionEndDate = lib;
|
2026-07-23 10:11:24 +00:00
|
|
|
if (null != lib.outboundRedemptionEndDate) {
|
2026-07-29 08:29:29 +00:00
|
|
|
tmp = callback(tmp[1]);
|
|
|
|
|
outboundRedemptionEndDate = outboundRedemptionEndDate.outboundRedemptionEndDate;
|
|
|
|
|
let addResult = tmp(outboundRedemptionEndDate);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-24 06:08:38 +00:00
|
|
|
addResult = callback(tmp[1])(outboundRedemptionEndDate.endDate).add(closure_1_4);
|
2026-07-29 08:29:29 +00:00
|
|
|
const obj = callback(tmp[1])(outboundRedemptionEndDate.endDate);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
} else {
|
2026-07-29 08:29:29 +00:00
|
|
|
return tmp3(callback(tmp[1])(lib.endDate), "LL");
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}, items);
|
|
|
|
|
};
|