${function() {
const { campaign } = data;
return `
`;
}()}
`
}()}
${function(){
const includeType = ['include_collections', 'include_products'];
if (campaign.category === 'buy_x_get_y' || (campaign.event_type === 'successful_order' && (includeType.includes(campaign.campaign_rule.order_condition.applicable_type) || includeType.includes(campaign.campaign_rule.reward_rule.applicable_type)))) {
return `
${function() {
const { campaign } = data;
return `
`;
}()}
`;
}
return '';
}()}