${title}
Your rights will expire in
${expireDate}
Cancel
Cancel Subscription
Your subscription will be canceled on the last day of the billing cycle (April 10, 2025), and we will no longer charge you any fees. You can choose to renew at any time before that date.
Keep Subscription
Cancel Subscription
Are you sure you want to leave these shows you like?
yes
no
Subscription
${function(){
let list = data.subscribe_plans;
const line_item = data.line_items;
const abandonActivityId = data.market_activity?.entitled_product_ids?.[0];
if(abandonActivityId){
list = list.filter(item=>item.id != abandonActivityId);
}
list.forEach(ele=>{
ele.describe = ele.describe.replace('<p>','').replace('</p>','');
const item = line_items.find(a=>a.product_id == ele.id);
ele.final_price = ele.price;
let days = 365;
if(ele.interval_type == 'month'){
days = Number(ele.interval_count) * 31;
}
ele.discountRatio = Number(item?.discount_percent) > 0 ? "-" + item?.discount_percent + "%" : '';
ele.final_price = item?.final_line_price;
ele.perday = (Math.floor(ele.final_price *100 / days ) / 100).toFixed(2);
});
list = list.filter(item=> !!item.final_price);
const maxCount = Number("4") || 4;
list = list.slice(0,maxCount);
let defaultItemIndex = 0;
if(list.length>1){
defaultItemIndex = 1
}
return `
`;
}()}
${ele.title}
$${ele.final_price}
$${ele.price}
$
${ele.final_price}
for the first ${ele.interval_type}, then
$
${ele.price}
/
${function(){
const intervalType = ele.interval_type.charAt(0).toUpperCase() + ele.interval_type.slice(1).toLowerCase();
return `${intervalType}`
}()}
${function(){
return ele.brief ? `
${ele.brief || ''}
`:``
}()}
${function(){
const describeList = ele.describe.split('\n').map(ele=>ele.replace('<p>','').replace('</p>','')).filter(ele =>!!ele).slice(0,4);
if(describeList.length == 0) return '';
const onlyClass = describeList.length == 1 ? "onlyone": '';
return describeList.map(desItem=>(
`
${desItem}
`
)).join('')
}()}


CONFIRMATION
Payment Methods
Payment successful. Enjoy your benefits!
3s close