1 import { c } from 'ttag';
3 import { FeatureCode } from '@proton/features';
4 import { PLANS, PLAN_NAMES } from '@proton/payments';
5 import { COUPON_CODES, CYCLE } from '@proton/shared/lib/constants';
7 import { getFamilyPassFeatures, getUnlimitedInboxFeaturesForPass } from '../../helpers/offerCopies';
8 import type { OfferConfig } from '../../interface';
9 import Layout from './Layout';
11 const config: OfferConfig = {
12 ID: 'black-friday-2024-pass-plus',
13 autoPopUp: 'one-time',
14 featureCode: FeatureCode.OfferBlackFriday2024PassFree,
21 // translator: translate "Black Friday" only if it's problematic in your language (offensive/unknown/etc.)
22 getCTAContent: () => c('BF2024: Action (top button in header)').t`Black Friday`,
28 ref: 'bf_24_pass-plus-family12',
29 dealName: PLAN_NAMES[PLANS.PASS_FAMILY],
31 [PLANS.PASS_FAMILY]: 1,
37 couponCode: COUPON_CODES.BLACK_FRIDAY_2024,
38 features: getFamilyPassFeatures,
39 header: () => c('BF2024: Info').t`Most popular`,
42 ref: 'bf_24_pass-free-unlimited12',
43 dealName: PLAN_NAMES[PLANS.BUNDLE],
50 couponCode: COUPON_CODES.BLACK_FRIDAY_2024,
51 features: getUnlimitedInboxFeaturesForPass,
57 export default config;