ವಿದ್ಯುತ್ ಸ್ಥಗಿತ: 2 ದಿನಗಳ ಕಾಲ ಬಾಧಿತ ಪ್ರದೇಶಗಳು
}
window.TimesApps = window.TimesApps || {};
var TimesApps = window.TimesApps;
TimesApps.toiPlusEvents = function(config) {
var isConfigAvailable = "toiplus_site_settings" in f && "isFBCampaignActive" in f.toiplus_site_settings && "isGoogleCampaignActive" in f.toiplus_site_settings;
var isPrimeUser = window.isPrime;
if (isConfigAvailable && !isPrimeUser) {
loadGtagEvents(f.toiplus_site_settings.isGoogleCampaignActive);
loadFBEvents(f.toiplus_site_settings.isFBCampaignActive);
loadSurvicateJs(f.toiplus_site_settings.allowedSurvicateSections);
} else {
var JarvisUrl="https://jarvis.indiatimes.com/v1/feeds/toi_plus/site_settings/643526e21443833f0c454615?db_env=published";
window.getFromClient(JarvisUrl, function(config){
if (config) {
loadGtagEvents(config?.isGoogleCampaignActive);
loadFBEvents(config?.isFBCampaignActive);
loadSurvicateJs(config?.allowedSurvicateSections);
}
})
}
};
})(
window,
document,
'script',
);