// Metro module 12588 (f12589). import { useMemo } from "react"; import Module3771 from "../../../_bundle/Module3771"; import { dateFormat } from "../../../utils/DateUtils"; let c8684_4 = Module3771.duration(30, "days"); export default function useOutboundPromotionRedemptionEndDate(a0, a1) { return useMemo(() => { let r17; if (a1) { r17 = a0.outboundRedemptionEndDate != null ? Module3771(a0.outboundRedemptionEndDate) : Module3771(a0.endDate).add(c8684_4); } else { r17 = Module3771(a0.endDate); } return dateFormat(r17, "LL"); }, [a0, a1]); };