How to Build the Perfect Skin Care Routine?

[]
How to Build the Perfect Skin Care Routine? refreshDate)) || (!!!refreshCookie && userSlug)) { refreshUserCookies(); } function refreshUserCookies() { pureJSAjaxGetWithCredentialsFlag(‘https://a-login.sportskeeda.com/en/login/refresh-token’, function(res) { console.log(res); }, function failed() { console.error(“Failed to refresh tokens”); }, true); } function getCookie(cname) { var name = cname + “=”; var ca = document.cookie.split(‘;’); for(var i = 0; i 0) { attributes.forEach(function(attribute) { script.setAttribute(attribute.key, attribute.value); }); } function loadScript() { if (attachTo) { attachTo.appendChild(script); } else { document.head.appendChild(script); } } var scriptLoaded = false; function loadScriptOnInteraction() { if (scriptLoaded) return; scriptLoaded = true; loadScript(); } if (onUserInteraction) { document.addEventListener(“scroll”, loadScriptOnInteraction, { once: true }); document.addEventListener(“mousemove”, loadScriptOnInteraction, { once: true }); document.addEventListener(“touchmove”, loadScriptOnInteraction, { once: true }); } else { loadScript(); } }); } ]]> -1; } } return false; } function countMetaChanges(elements) { var charactersChanged = 0; var wordsChanged = 0; var mediaChanged = 0; for (var i = 0; i < elements.length; i++) { var element = elements[i]; if (isMediaElement(element)) { mediaChanged += 1; continue; } // use inner text to ignore html attributes var content = element.innerText || ""; content = content.replace(/[u200B-u200DuFEFF]/g, ""); if (content.length ‘, ‘”‘: ‘”‘, “‘”: ‘'’ }; return text.replace(/[&”‘]/g, function(m) { return map[m]; }); } function extendedEncodeURIComponent(str) { return encodeURIComponent(str).replace(/[!'()*]/g, function(c) { return ‘%’ + c.charCodeAt(0).toString(16); }); } ]]> = 12) { amOrPm = “PM”; } if (hour > 12) { hour = hour – 12; } return hour + “:” + minute + ” ” + amOrPm; } function getShortDayNames() { return [‘Sun’, ‘Mon’, ‘Tue’, ‘Wed’, ‘Thu’, ‘Fri’, ‘Sat’]; } function getFullDayNames() { return [‘Sunday’, ‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’, ‘Saturday’]; } function getFormattedDate(isoDatetime) { var currentDate = new Date(); var matchDate = new Date(isoDatetime); var tomorrowDate = new Date(new Date().getTime() + 24 * 60 * 60 * 1000); var monthNames = getShortMonthNames(); var dayNames = getShortDayNames(); var currentDateString = currentDate.getDate() + ‘-‘ + currentDate.getMonth() + ‘-‘ + currentDate.getFullYear(); var matchDateString = matchDate.getDate() + ‘-‘ + matchDate.getMonth() + ‘-‘ + matchDate.getFullYear(); var tomorrowDateString = tomorrowDate.getDate() + ‘-‘ + tomorrowDate.getMonth() + ‘-‘ + tomorrowDate.getFullYear(); var localTime = matchDate.toLocaleTimeString().replace(/:dds/, ” “); var timeZone = matchDate.toString().match(/((.*))/).pop(); return dayNames[matchDate.getDay()] + “, ” + matchDate.getDate() + ” ” + monthNames[matchDate.getMonth()] + ” ” + matchDate.getFullYear() + “, ” + localTime + ” ” + timeZone; } function timeSince(isoDateString) { var date = new Date(isoDateString); var monthNames = [“Jan”, “Feb”, “Mar”, “Apr”, “May”, “Jun”, “Jul”, “Aug”, “Sep”, “Oct”, “Nov”, “Dec”]; var seconds = Math.floor((new Date() – date) / 1000); var interval = Math.floor(seconds / 86400); if(interval > 6) { return date.getDate() + ” ” + monthNames[date.getMonth()] + “, ” + date.getFullYear(); } if (interval > 1) { return interval + ” days ago”; } if(interval === 1) { return “1 day ago”; } interval = Math.floor(seconds / 3600); if (interval === 1) { return interval + ” hr ago”; } if (interval > 1) { return interval + ” hrs ago”; } interval = Math.floor(seconds / 60); if (interval === 1) { return “1 min ago”; } if (interval > 1) { return interval + ” mins ago”; } return Math.floor(seconds) + ” seconds ago”; } function updateTimeStringsToFormatTimeSince() { var isPendingContent = window.location.hash === ‘#pending’; var timeElements = $all(‘.keeda-time-since’); for (var i = 0; i < timeElements.length; i++) { var isoDateString = timeElements[i].getAttribute('data-iso-string'); var timeSinceVal = timeSince(isoDateString); if(timeElements[i].classList.contains("author-post-time") && !timeSinceVal.includes("ago")) { timeElements[i].innerHTML = ""; } else if (isPendingContent) { timeElements[i].innerHTML = (timeSinceVal + "
(” + isoDateString.split(“T”)[0] + “)”); } else { timeElements[i].innerHTML = timeSinceVal; } } } function getDateObjectInIST() { var currentTime = new Date(); var currentOffset = currentTime.getTimezoneOffset(); var ISTOffset = 330; // IST offset UTC +5:30 var ISTTime = new Date(currentTime.getTime() + (ISTOffset + currentOffset) * 60000); return ISTTime; } function getDateInYYYYMMDD(date) { var d = !date ? getDateObjectInIST() : date; var month = ” + (d.getMonth() + 1), day = ” + d.getDate(), year = d.getFullYear(); if (month.length < 2) month = '0' + month; if (day.length = 12 ? 'pm' : 'am'; hours = hours % 12; hours = hours ? hours : 12; minutes = minutes < 10 ? '0'+minutes : minutes; var strTime = hours + ':' + minutes + ' ' + ampm; return strTime; } function getTimeDiffInDaysHoursMinutes(timeInMilliseconds) { var diffDays = Math.floor(timeInMilliseconds / 86400000); // difference in days var diffHrs = Math.floor((timeInMilliseconds % 86400000) / 3600000); // difference in hours var diffMins = Math.round(((timeInMilliseconds % 86400000) % 3600000) / 60000); // difference in minutes var result = []; if (diffDays) { result.push(diffDays + " day(s)"); } if (diffHrs) { result.push(diffHrs + " hour(s)"); } if (diffMins) { result.push(diffMins + " minute(s)"); } if (!result.length) { result.push(Math.round(timeInMilliseconds / 1000) + " second(s)"); } return result; } function getTimeAndDate(isoDateString) { var isoDateString = new Date(isoDateString); var monthNames = getShortMonthNames(); var weekNames = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; var hours = isoDateString.getHours(); if (hours <= 9) { hours = "0" + hours; } var minutes = isoDateString.getMinutes(); if (minutes 3 && number -1) { capabilitiesArray.push(‘revShare’); } else { capabilitiesArray.push(‘noRevShare’); } if(data.indexOf(5) == -1) { capabilitiesArray.push(“notSuperEditor”); } if(data.indexOf(3) == -1) { capabilitiesArray.push(“notMenuEditor”); } if(data.indexOf(9) == -1) { capabilitiesArray.push(“notTaxonomy”); } if(data.indexOf(10) == -1) { capabilitiesArray.push(“notTagPages”); } if(data.indexOf(11) == -1) { capabilitiesArray.push(“notOnlineEditor”); } if(data.indexOf(12) > -1) { capabilitiesArray.push(“appNotificationAdmin”); } if(data.indexOf(14) == -1) { capabilitiesArray.push(“notNewAffilate”); } if(data.indexOf(16) == -1) { capabilitiesArray.push(“notWikiContributor”); } if(data.indexOf(13) > -1) { capabilitiesArray.push(“canPostContent”); } if(data.indexOf(2) > -1) { capabilitiesArray.push(“canModerate”); } if(data.indexOf(17) > -1) { capabilitiesArray.push(“wikiAdmin”); } // checkUserCapabilities if(capabilitiesArray.indexOf(“revShare”) > -1 || capabilitiesArray.indexOf(“canPostContent”) > -1) { resolve(capabilitiesArray); } else { reject(capabilitiesArray); } if (data.indexOf(18) == -1) { capabilitiesArray.push(“notTagPageAuthor”); } if (data.indexOf(19) == -1) { capabilitiesArray.push(“notTagPageEditor”); } }); }) } function hasUserAcceptedTerms(capabilitiesArray) { var acceptedTermsAPI = ‘https://a-login.sportskeeda.com/en/user/accepted-terms’; return pureJSAjaxGetWithPromise(acceptedTermsAPI).then(function(res) { return new Promise(function(resolve, reject) { var data = JSON.parse(res); if(data.accepted_terms === false) { capabilitiesArray.push(‘notAcceptedTerms’); reject(capabilitiesArray); } else if(capabilitiesArray.length > 0) { reject(capabilitiesArray); } else { resolve(true); } }); }) } function debounceGeneric(func, wait, immediate) { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if (!immediate) func.apply(context, args); }; var callNow = immediate && !timeout; clearTimeout(timeout); timeout = setTimeout(later, wait); if (callNow) func.apply(context, args); }; }; function getUrlParamsValue(name) { name = name.replace(/[[]/, “\[“).replace(/[]]/, “\]”); var regex = new RegExp(“[\?&]” + name + “=([^&#]*)”); var results = regex.exec(location.search); return results === null ? “” : decodeURIComponent(results[1].replace(/+/g, ” “)); } function isAuthorVerified(author_title) { if (author_title == ‘EXPERT COLUMNIST’ || author_title == ‘OFFICIAL’ || author_title == ‘EXPERT’) { return true; } else { return false; } } /** * @param: null * Comment: Check if the cookie exist otherwise set it from the request */ function checkAndSetUserCity() { var userCity = getCookie(“user_city”); var citiesArray = [“Hyderabad”, “Pune”, “Chennai”, “Delhi”, “Bengaluru”, “Mumbai”, “Ahmedabad”, “Kolkata”, “Jaipur”, “Vishakapatnam”]; var requiredCityExist = false; if (userCity == “” || userCity == null) { var xmlHttp = new XMLHttpRequest(); xmlHttp.open( “GET”, “https://a-login.sportskeeda.com/visitor/city”, false ); // false for synchronous request xmlHttp.send( null ); var result = JSON.parse(xmlHttp.responseText); if (result.city != “undefined”) { userCity = result.city; var cookieExpire = new Date(); cookieExpire.setDate(cookieExpire.getDate() + 7); // Expiry after 7 days setCookie(“user_city”, userCity, cookieExpire); } } if (citiesArray.includes(userCity)) { requiredCityExist = true; } return requiredCityExist; } function checkAndSetUserState() { var userState = getCookie(“user_state”); if (userState == “” || userState == null) { var xmlHttp = new XMLHttpRequest(); xmlHttp.open( “GET”, “https://a-login.sportskeeda.com/visitor/state”, false ); // false for synchronous request xmlHttp.send( null ); var result = JSON.parse(xmlHttp.responseText); if (result.city != “undefined”) { userState = result.state; var cookieExpire = new Date(); cookieExpire.setDate(cookieExpire.getDate() + 7); // Expiry after 7 days setCookie(“user_state”, userState, cookieExpire); } } return userState; } var userId = getCookie(“fw_ID”); var REACTION_IMAGES = { like: STATIC_URL + “/post-reactions/reaction-like.svg”, excited: STATIC_URL + “/post-reactions/reaction-excited.svg”, happy: STATIC_URL + “/post-reactions/reaction-happy.svg”, anxious: STATIC_URL + “/post-reactions/reaction-anxious.svg”, angry: STATIC_URL + “/post-reactions/reaction-angry.svg”, sad: STATIC_URL + “/post-reactions/reaction-sad.svg”, default: STATIC_URL + “/skm/assets/feed/ic-like-gray.svg”, }; var REACTION_TEXT = { like: “Liked”, excited: “Excited”, happy: “Happy”, anxious: “Anxious”, angry: “Angry”, sad: “Sad”, default: “Like”, }; function fetchAndUpdateUserLikesForPosts(postIdsArray) { if (postIdsArray.length < 1) return; if (!userId) return; var postIdsParam = postIdsArray.join(","); pureJSAjaxGet( GOTHAM_URL_HA_FRONTEND + "/posts/reactedBy?post_ids=" + postIdsParam, syncPostLikesInFeed, {}, function (err) {}, true ); } function syncPostLikesInFeed(response) { if (!userId) return; try { response = JSON.parse(response); } catch (e) { return; } for (var i = 0; i delay){ prev = now; return func.apply(context, args); } } } function generateRandomString() { var allCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; var base = allCharacters.split(''); var randomstr = ""; for (var i=0; i<30; i++) { randomstr += base[Math.random()*base.length|0]; } return randomstr; } function getImageWidthTransformedURL(imageURL, width) { if (!imageURL) { return ""; } if (isNaN(width)) { return imageURL; } imageURL = imageURL.replace("http://", "https://"); try { var imageURI = new URL(imageURL); imageURI.searchParams.set("w", width); return imageURI.toString(); } catch (e) { console.error("Error while transforming image width"); return ""; } } function getImageHeightTransformedURL(imageURL, height) { if (!imageURL) { return ""; } if (isNaN(height)) { return imageURL; } imageURL = imageURL.replace("http://", "https://"); try { var imageURI = new URL(imageURL); imageURI.searchParams.set("h", height); return imageURI.toString(); } catch (e) { console.error("Error while transforming image height"); return ""; } } function getNumFormat(num) { var num_format = Math.round(num); if (num >= 1000 && num = 1000000 && num = 1000000000) { num_format = (Math.round(num) / 1000000000).toFixed(1) + ‘B’; } return num_format; } function isOverflow(element) { if (!element) return false; return element.scrollWidth > element.clientWidth; } function isFacebookApp() { if(!navigator) { return false; } var ua = navigator.userAgent || navigator.vendor || window.opera; return (ua.indexOf(“FBAN”) > -1) || (ua.indexOf(“FBAV”) > -1); } /** * @param: Integer timestamp * @return: String * Comment: Get the difference b/w the timestamp and current time and return user friendly date time */ function getFriendlyTimeDifferenceFromNow(timestamp) { // takes timestamp in microseconds var seconds = (Date.now() / 1000) – (timestamp / 1000); if (seconds > 31536000) { // 31536000 = 60s * 60m * 24h * 365d = one year var years = Math.round(seconds / 31536000); seconds = seconds % 31536000; if (seconds > 2592000) { // 2592000 = 60s * 60m * 24h * 30d = one month var months = Math.round(seconds / 2592000); return years + ” yr ” + months + ” mn”; } return years + ” yr”; } if (seconds > 2592000) { var months = Math.round(seconds / 2592000); seconds = seconds % 2592000; if (seconds > 86400) { var days = Math.round(seconds / 86400); return months + ” mn ” + days + ” d”; } return months + ” mn”; } if (seconds > 86400) { // 3600 * 24 = one day return Math.round(seconds / 86400) + ” d”; } else if(seconds > 3600) { // One hour return Math.round(seconds / 3600 ) + ” hr”; } else { // Difference in minutes return Math.round(seconds / 60 ) + ” min”; } } function isInViewport(el) { var rect = el.getBoundingClientRect(); return ( rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right 0) { gtag( 'set' , { 'dimension10' : loggedInUserID } ); } gtag( 'set' , { 'dimension11' : "Mob3LazyLoaddesktop" } ); var uniqueBrowserIdCookie = getCookie('unique_browser_id'); if (uniqueBrowserIdCookie) { gtag( 'set' , 'user_properties', { 'browser_id' : uniqueBrowserIdCookie } ); } gaSubSet = { 'send_to': gaID }; var sessionCookieValue = getCookie("keeda-session-uuid"); if (sessionCookieValue) { gaSubSet['keeda-session-uuid'] = sessionCookieValue; } var userID = getCookie("fw_ID"); try { var commonGASubSetKeys = JSON.parse('{"common_tags":{"page_type":"","sport":"","loggedIn_user_id":""},"article_page_tags":{"author_slug":"","published_date":"","tax-list":""},"non_amp_tags":{"SEO_article":"","Adaptive_Tag":""},"cmc_page_tags":{"match_id":"","commentary":"","match_status":"","start_time":"","end_time":""}}' || '{}'); if (Object.keys(commonGASubSetKeys).length > 0) { var commonTags = commonGASubSetKeys[“common_tags”]; gaSubSet[“page_type”] = ‘Articlepage’; if ((“Health and Fitness”).length > 0) { gaSubSet[“sport”] = ‘Health and Fitness’; } if ((“Mob3LazyLoad”).length > 0) { gaSubSet[“sk_version”] = “Mob3LazyLoad”; } if (userID > 0) { gaSubSet[“loggedIn_user_id”] = userID; } var articlePageTags = commonGASubSetKeys[“article_page_tags”]; gaSubSet[“author_slug”] = ‘soniya-y-1’; gaSubSet[“published_date”] = ‘2023-01’; gaSubSet[“tax-list”] = ‘,health-and-fitness,feature,health-and-fitness-search-based-topic,’; var postId = 1360292; if (postId) { gaSubSet[“post_id”] = postId; } var postSection = “Feature”; if (postSection) { gaSubSet[“post_section”] = postSection; } var nonAMPTags = commonGASubSetKeys[“non_amp_tags”]; for (var tagKey in nonAMPTags) { if (tagKey == “SEO_article” && ((“”).length > 0)) { gtag( ‘set’ , { ‘dimension4’ : “true” } ); gaSubSet[tagKey] = “https://www.sportskeeda.com/health-and-fitness/how-build-perfect-skin-care-routine”; } else if (tagKey == “Adaptive_Tag” && (“article”).length > 0 && “article” == ‘adaptive_page’) { gaSubSet[tagKey] = ”; } else { gtag( ‘set’ , { ‘dimension4’ : “false” } ); } } } } catch(e) { console.log(e); } var userAdoptionType = getUserAdoptionType(gaSubSet[“page_type”]); if (userAdoptionType) { gaSubSet[“userAdoptionType”] = userAdoptionType; } if (!isVideoPage && “1”) { gtag(‘event’, ‘page_view’, gaSubSet); } if (!isVideoPage && “”) { if(location.search.indexOf(“key1=opera”) > -1) { gtag(‘event’, ‘page_view’, { ‘send_to’: gaID, ‘page_path’: location.pathname + location.search }); } else { if(sessionKey1CookieVal && sessionKey1CookieVal.indexOf(“opera”) > -1) { gtag(‘event’, ‘page_view’, { ‘send_to’: gaID, ‘page_path’: location.pathname + location.search + (location.search ? “&” : “?”) + “key1=” + sessionKey1CookieVal }); } else { gtag(‘event’, ‘page_view’, gaSubSet); } } } } gtag(‘js’, new Date()); gtag(‘config’, GA_ID, { send_page_view: false }); window.addEventListener(“scroll”, loadGA.bind(this, GA_ID)); window.addEventListener(“click”, loadGA.bind(this, GA_ID)); window.addEventListener(“mousemove”, loadGA.bind(this, GA_ID)); if(GA4_ID) { gtag(‘config’, GA4_ID, { send_page_view: false }); window.addEventListener(“scroll”, loadGA.bind(this, GA4_ID)); window.addEventListener(“click”, loadGA.bind(this, GA4_ID)); window.addEventListener(“mousemove”, loadGA.bind(this, GA4_ID)); } if (getCookie(“gdpr”) == ‘true’) { window[‘gtag_enable_tcf_support’] = true; } if(location.search.indexOf(“opera”) > -1 || sessionKey1CookieVal.indexOf(“opera”) > -1 || location.pathname.indexOf(“third-party/”) > -1) { loadGA(GA_ID); if (GA4_ID) { loadGA(GA4_ID); } } var webVitalsLoaded = false; function sendToGoogleAnalytics(metric) { gtag(‘event’, metric.name, { metric_value: metric.value, sk_version: “Mob3LazyLoad” }); } //Code is executed only on .1% of the pages if(Math.floor(Math.random() * 100) = 0) { function loadWebVitals() { if(!true) { return; } if (webVitalsLoaded) { return; } var webVitalsScript = ‘https://unpkg.com/web-vitals/dist/web-vitals.iife.js’; loadScriptAsync(webVitalsScript, function() { webVitals.getCLS(sendToGoogleAnalytics, true); webVitals.getFID(sendToGoogleAnalytics); webVitals.getLCP(sendToGoogleAnalytics, true); }); webVitalsLoaded = true; } window.addEventListener(“scroll”, loadWebVitals); window.addEventListener(“click”, loadWebVitals); window.addEventListener(“mousemove”, loadWebVitals); } ]]> e/4).toString(16)})};e.config=i||{},e.config.apiKey=o,e.config.workspaceId=n,e.config.environment=e.config.environment||”production”,(window.crypto||window.msCrypto)&&(e.config.viewId=t());for(var g=[“addon”,”identify”,”track”,”trigger”,”query”,”segment”,”segments”,”ready”,”on”,”once”,”user”,”consent”],r=0;r 0) { var regexp = /pwtv=(.*?)(&|$)/g; var matches = regexp.exec(currentPage); if (matches.length >= 2 && matches[1].length > 0) { profileVersionId = “/” + matches[1]; } } var scriptUrl = url + profileVersionId + “/pwt.js”; asyncScriptLoader({ src: scriptUrl, loadWithAsync: true }); PWT.jsLoaded = callback; } function onPrebidDependenciesLoaded() { if (prebidDependencyCounter == 0) { loadPrebid(); } } function loadAdRelatedLibs() { var prebidDependencyResolvedCallback = function() { –prebidDependencyCounter; onPrebidDependenciesLoaded(); } ++prebidDependencyCounter; loadPubmaticWrapper(prebidDependencyResolvedCallback); } function loadAdmiralScript() { if (admiralLoaded) return; admiralLoaded = true; !(function(o,n,t){t=o.createElement(n),o=o.getElementsByTagName(n)[0],t.async=1,t.src=”https://fearlessfaucet.com/v2immqLjLMY2RqrSlyYPzwDZYKsKncmiBShPlnYGDeh7o666VXsGC9K8″,o.parentNode.insertBefore(t,o)})(document,”script”),(function(o,n){function t(){(t.q=t.q||[]).push(arguments)}t.v=1,o[n]=o[n]||t})(window,String.fromCharCode(97,100,109,105,114,97,108));!(function(o,t,n,c){function e(n){(function(){try{return(localStorage.getItem(“v4ac1eiZr0″)||””).split(“,”)[4]>0}catch(o){}return!1})()&&(n=o[t].pubads())&&n.setTargeting(“admiral-engaged”,”true”)}(c=o[t]=o[t]||{}).cmd=c.cmd||[],typeof c.pubads===n?e():typeof c.cmd.unshift===n?c.cmd.unshift(e):c.cmd.push(e)})(window,”googletag”,”function”); } function loadApstagScript() { !function(a9,a,p,s,t,A,g){if(a[a9])return;function q(c,r){a[a9]._Q.push([c,r])}a[a9]={init:function(){q(“i”,arguments)},fetchBids:function(){q(“f”,arguments)},setDisplayBids:function(){},targetingKeys:function(){return[]},dpa:function(){q(“di”,arguments)},rpa:function(){q(“ri”,arguments)},upa:function(){q(“ui”,arguments)},_Q:[]};}(“apstag”,window); /** To activate this feature, you will need to add a parameter to your apstag.init function. The parameter is simplerGPT and it needs to be set to true: **/ apstag.init({ pubID: “d861356d-9ec0-442e-ba0c-d0f4a37ee3e5”, videoAdServer: “DFP”, adServer: “googletag”, simplerGPT: true }); (function() { function emailNormalizer(email) { return email.trim().toLowerCase().replace(/+[^@]*@/g,”@”); } function tokenAction(cb, tcData) { if (userEmail) { hashStringWithSHA256(emailNormalizer(userEmail)).then(function(hashedEmailBuf) { var hashedUserEmail = bufferToString(hashedEmailBuf); var apsTokenConfig = { hashedRecords: [{ type: “email”, record: hashedUserEmail }], }; if (IS_GDPR_APPLICABLE) { var consents = tcData.purpose.consents; var consent = Object.values(consents).indexOf(false) == -1; apsTokenConfig.gdpr = { enabled: true, consent: tcData.tcString } if (!consent) { apsTokenConfig.optOut = true; } } cb(apsTokenConfig); }); } } if (IS_GDPR_APPLICABLE) { googlefc.callbackQueue.push(function () { if (typeof __tcfapi === “function”) { __tcfapi(“addEventListener”, 2, function(tcData, success) { if (tcData.eventStatus === “useractioncomplete” && success) { tokenAction(apstag.upa, tcData); } else if (success) { tokenAction(apstag.rpa, tcData); } }) } }); } else { tokenAction(apstag.rpa, null); } })(); asyncScriptLoader({ src: “https://c.amazon-adsystem.com/aax2/apstag.js”, loadWithAsync: true }); } function loadGDPRStuff() { if (gdprLoaded) return; gdprLoaded = true; var firstTimeConsent = true; googlefc.callbackQueue.push(function () { if (typeof __tcfapi === “function”) { __tcfapi(“addEventListener”, 2, function(tcData, success) { var eventStatus = tcData.eventStatus; if (eventStatus === “tcloaded”) { firstTimeConsent = false; console.info(“[GDPR] User consent is present”); onUserConsentChoicesChanged(success, tcData); if (success) { loadAdRelatedLibs(); checKAndProcessVideoAdPlayersQueue(); } } else if (eventStatus === “useractioncomplete”) { onUserConsentChoicesChanged(success, tcData); if (success) { if (!firstTimeConsent) { console.info(“[GDPR] User consent is updated”); googletag.cmd.push(function() { requestBidsForRegisteredAdUnits(); }); return; } console.info(“[GDPR] User consent is received for the first time”); loadAdRelatedLibs(); checKAndProcessVideoAdPlayersQueue(); firstTimeConsent = false; } } }); } }); } function onUserConsentChoicesChanged(isSuccess, tcData) { console.info(“[GDPR TCData]: User consent is received! “, isSuccess, tcData); if (isSuccess) { var consents = tcData.purpose.consents; if (consents[“1”] && consents[“3”] && consents[“4”]) { } else { googletag.cmd.push(function() { googletag.pubads().setRequestNonPersonalizedAds(1); }); } // permutive consent config var permutiveConsent = Object.values(consents).indexOf(false) == -1 ? true : false ; if (permutiveConsent) { permutive.consent({ token: tcData.tcString, “opt_in”: true }); } else { permutive.consent({ “opt_in”: false, }); } } else { googletag.cmd.push(function() { googletag.pubads().setRequestNonPersonalizedAds(1); }); } } loadIntowowScript(); googletag.cmd.push(function() { googletag.pubads().disableInitialLoad(); }); googletag.cmd.push(function() { googletag.pubads().addEventListener(“slotResponseReceived”, function(e) { var slotId = e.slot.getSlotElementId(); if (slotId === adUnits[“CMC_BELOW_CONTENT”][“div”]) { if (cmcTeadsAdLoaded) { googletag.destroySlots([cmcTeadAdSlot]); } } }); googletag.pubads().addEventListener(“slotRenderEnded”, function(e) { if (e.isEmpty) { return; } var slotId = e.slot.getSlotElementId(); if (slotId === adUnits[“CMC_BELOW_CONTENT”][“div”]) { cmcTeadsAdLoaded = true; } if (slotId === adUnits[“Desktop_300250_3”][“div”]) { document.getElementById(adUnits[“Desktop_300250_3”][“div”]).parentElement.style.minHeight = e.size[1] + 24 + “px”; } if (slotId === adUnits[“Mob_32050_Sticky_2019”][“div”] || slotId === adUnits[“CMC-Sticky”][“div”]) { var adHeight = e.size[1]; $(“.sticky-container”).style.height = (adHeight + 5) + “px”; $(“.sticky-close”).style.bottom = (adHeight + 4) + “px”; $(“#sticky-ad-container”).classList.remove(“hidden”); } if (slotId === adUnits[“Carousel_Widget_250x100”][“div”]) { if (e.size && e.size[0]) { var domNode = document.getElementById(adUnits[“Carousel_Widget_250x100”][“div”]); if (domNode && domNode.parentElement) { var carouselAdParent = domNode.parentElement; domNode.style.marginLeft = “0”; domNode.style.marginRight = “0”; carouselAdParent.style.width = e.size[0] + “px”; carouselAdParent.style.marginRight = “12px”; } } } console.log(“ADSLOT Rendered – “, e.slot.getAdUnitPath(), slotId); sendAdsGa4Event(“adslot loaded”, e.slot.getAdUnitPath()); }); googletag.pubads().addEventListener(“impressionViewable”, function(e) { var philipsLineItemIds = [“5983279623″,”5983292610″,”5984588842″,”5985307571″,”5983276710″,”5983298820″,”5984593801″,”5985311183″,”5990162299″,”5990794544″,”5990794550″,”5990794559″,”5990794556″,”5990794553″,”5990162317″,”5990162308″,”5988833925″,”5988833928″,”5988833931″,”5988833934”]; var slotResponseInfo = e.slot.getResponseInformation(); var lineItemId; if(slotResponseInfo && slotResponseInfo.lineItemId){ lineItemId = String(slotResponseInfo.lineItemId); } if(lineItemId && philipsLineItemIds.includes(lineItemId)){ // set cookie with expiration for 20 weeks from now var campaignCookieData = { expiryTime : new Date() } campaignCookieData.expiryTime.setDate(campaignCookieData.expiryTime.getDate() + 140); setCookie(“philipsInteraction”, true, campaignCookieData.expiryTime); } console.log(“AD became viewable – ” + e.slot.getAdUnitPath().split(“/”).pop()); sendAdsGa4Event(“adslot viewed”, e.slot.getAdUnitPath()); }); }); function checKAndProcessVideoAdPlayersQueue() { “processVideoAdPlayersQueue” in window && processVideoAdPlayersQueue(); // Just in case the function wasn’t available in the first few attempts, wait for it. for (var second = 1; second -1 || location.search.indexOf(“key1=mic”) > -1 || getCookie(“sessionKey1”)) { SKAdCall(); } if (window.location.pathname !== ‘/’) { SKAdCall(); } if (!!document.referrer && !!document.referrer.match(/https://(.+?.)?sportskeeda.com/$/gi) && !!location.href.match(/live-cricket-score/gi)) { SKAdCall(); } function adInitOnInteraction() { SKAdCall(); } document.addEventListener(“scroll”, adInitOnInteraction, { once: true }); document.addEventListener(“mousemove”, adInitOnInteraction, { once: true }); document.addEventListener(“touchmove”, adInitOnInteraction, { once: true }); function defineAdSlot(adUnit, adUnitName, params) { var slotIdWithCode = “/11446729/” + adUnitName; var setTargetingValuesDelegate = function(adSlot) { adSlot.setTargeting(“version”, “Mob3LazyLoaddesktop”); if (typeof params.setTargetingKeyValues === “function”) { return params.setTargetingKeyValues(adSlot); } return adSlot; } if (adUnit[“interstitial”]) { var adSlot = googletag.defineOutOfPageSlot(slotIdWithCode, adUnit[“div”]); adSlot.addService(googletag.pubads()); return setTargetingValuesDelegate(adSlot); } if (adUnit[“managedInterstitial”]) { adSlot = googletag.defineOutOfPageSlot(slotIdWithCode, googletag.enums.OutOfPageFormat.INTERSTITIAL); if (!adSlot) { return; } adSlot.addService(googletag.pubads()); return setTargetingValuesDelegate(adSlot); } var sizes = adUnit[“mediaTypes”][“banner”][“sizes”]; if (params.withDynamicDivId) { var adSlot = googletag.defineSlot(slotIdWithCode, sizes); adSlot.addService(googletag.pubads()); return setTargetingValuesDelegate(adSlot); } var adSlot = googletag.defineSlot(slotIdWithCode, sizes, adUnit[“div”]); adSlot.addService(googletag.pubads()); return setTargetingValuesDelegate(adSlot); } function displayAdSlot(divId) { googletag.cmd.push(function() { googletag.display(divId); }); } function insertInfiniteContentAdSlot(adUnitName, adSlot, adElement, device, adCounter) { if (!adSlot) return; var divId = adSlot.getSlotElementId(); if (adUnitName === “MatchCenter_Commentary_300x250_2021”) { SKCMCAdUnitsRefreshVal[“CMC_Commentary_” + adCounter] = { Div: divId, AdRefreshed: true, RefreshCount: 0, Refresh: 30, slot: adSlot }; } if (SKAdsArticleDesktopInBetweenRefreshVals) { SKAdsArticleDesktopInBetweenRefreshVals[divId] = { Div: divId, AdRefreshed: true, RefreshCount: 0, Refresh: 30, slot: adSlot }; } var div = document.createElement(“div”); div.id = divId; if (device == “mobile”) { div.className = “mobile-ad-holder”; } adElement.appendChild(div); console.log(“DISPLAY ad : “, divId); adSlot.setTargeting(“recycle_count”, String(adCounter)); requestBidsForAdSlot(adSlot, divId); } (function() { for (var adUnitName in adUnits) { var slotIdWithCode = “/11446729/” + adUnitName; var adUnit = adUnits[adUnitName]; if (adUnit[“native”]) { var nativeAdUnit = { name: adUnitName, id: adUnit[“div”] }; if (!adUnit[“mobile”]) { nativeAdUnit[“html”] = ‘‘; nativeAds[adUnit[“pos”]] = nativeAdUnit; } } } })(); function sendAdsGa4Event(eventName, slotName) { var gaSubSet = { “send_to”: “G-T41EZF14QW”, “sk_version”: “Mob3LazyLoad”, “non_interaction”: true, “page_type”: “Articlepage” }; if (eventName == “adslot loaded” && !adSlotsLoaded[slotName]) { gaSubSet[“delaySincePageInteraction”] = Date.now() – pageInteractionBegin; adSlotsLoaded[slotName] = true; } var sessionCookieValue = getCookie(“keeda-session-uuid”); if (sessionCookieValue) { gaSubSet[“keeda-session-uuid”] = sessionCookieValue; } if (“Health and Fitness”.length > 0) { gaSubSet[“sport”] = “Health and Fitness”; } if (userId > 0) { gaSubSet[“loggedIn_user_id”] = userId; } gaSubSet[“slotname”] = slotName.split(“/”).pop(); gaSubSet[“author_slug”] = “soniya-y-1”; gaSubSet[“published_date”] = “2023-01”; gaSubSet[“tax-list”] = “,health-and-fitness,feature,health-and-fitness-search-based-topic,”; gtag(“event”, eventName, gaSubSet); } ]]> 0; if(e.slot.getSlotElementId() === “div-gpt-ad-1548933259437-0” || e.slot.getSlotElementId() === “div-gpt-ad-1616756011923-0” || adUnitsToEnlargeExists ) { var adHeight = e.size[1]; console.log(“adHeight”, adHeight, e.size, e); if(adHeight adHeight ? adContainer.clientHeight + 50 : adHeight + 50) : (adHeight + 5)) + “px”; if(!adUnitsToEnlargeExists) return; if((slotElementId == “div-gpt-ad-1544790280952-0” || slotElementId == “div-gpt-ad-1486709274862-1” || slotElementId == “div-gpt-ad-1486709274862-3” || slotElementId == “div-gpt-ad-1486709274862-4” || slotElementId == “div-gpt-ad-1496133676474-0”) && recheckCount >= 5) return; else if(slotElementId != “div-gpt-ad-1544790280952-0” && slotElementId == “div-gpt-ad-1486709274862-1” && slotElementId == “div-gpt-ad-1486709274862-3” && slotElementId == “div-gpt-ad-1486709274862-4” && slotElementId == “div-gpt-ad-1496133676474-0” && recheckCount >= 2) return; setTimeout(function() { adjustHeight(e.slot.getSlotElementId(), adUnitsToEnlargeExists, adHeight); recheckCount++; expCount*=2; }, interval * expCount) } adjustHeight(e.slot.getSlotElementId(), adUnitsToEnlargeExists, adHeight); //Adding setTimeout twice so that if the user clicks on menu between the transition, //the menu top should get updated after the 1 secs setTimeout(setTopForMenu,100) setTimeout(setTopForMenu,1000) } if (e.slot.getSlotElementId() === “div-gpt-ad-1562932228734-0”) { removeClass($(“.sk-logo-skip”), “hidden”); removeClass($(“.interstitial-fullpage”), “hidden”); var interstitial_timer = setInterval(function(){ skipAd(); clearInterval(interstitial_timer); },10000); setAdDisplayed(); } var cubeExpandoCreativeIDs = [138230072083, 138232852373, 138233359402, 138234976177, 138235557507, 138249246421, 138250001051, 138250349254, 138251570439, 138273000453]; if(cubeExpandoCreativeIDs.indexOf(e.creativeId) > -1){ var desktopNativeIframe1 = document.getElementById(“google_ads_iframe_/11446729/Desktop_300x250_01_New_0”); desktopNativeIframe1.addEventListener(“mouseover”, function(){ if(desktopNativeIframe1){ desktopNativeIframe1.style.height = “500px”; desktopNativeIframe1.style.width = “700px”; desktopNativeIframe1.style.left = “-200px”; desktopNativeIframe1.style.zIndex = “1000”; } }); desktopNativeIframe1.contentDocument.addEventListener(“click”, function(){ desktopNativeIframe1.style.height = “250px”; desktopNativeIframe1.style.width = “300px”; desktopNativeIframe1.style.left = “0px”; }); } var creativeIdsToExclude = [138286151923,138285840245,138271731634,138268373199,138285082925,138271730923,138286887039,138286887168,138287419347,138287833123,138287833285,138287419728,138287420292,138287524349,138289266024,138289265892,138289283295,138289282086,138275980931,138291182180,138292966902,138244994872,138294681725,138294843218,138294825591,138268666069,138295315372,138295315249,138294999918,138295316080,138295001034,138295000692,138295890736,138265303851,138281235704,138305743306,138306859562,138308272356,138239628002,138313660868]; if(creativeIdsToExclude.indexOf(e.creativeId) > -1) { return; } }); }); function hideInterstitialIFrame() { var desktopInterstitialAdDiv = document.getElementById(“div-gpt-ad-1423053234910-0”); if (desktopInterstitialAdDiv) { desktopInterstitialAdDiv.style.display = “none”; } var mobileInterstitialAdDiv = document.getElementById(“div-gpt-ad-1426841729957-0”); if (mobileInterstitialAdDiv) { mobileInterstitialAdDiv.style.display = “none”; } } window.onmessage = function (e) { if (e.data == “adCloseEvent”) { hideInterstitialIFrame(); } else if (e.data == “MOBILE_INTERSTITIAL_AD_LOADED” || e.data == “DESKTOP_INTERSTITIAL_AD_LOADED”) { var interstitialIframe = null; if (e.data == “DESKTOP_INTERSTITIAL_AD_LOADED”) { interstitialIframe = document.getElementById(“google_ads_iframe_/11446729/Interstitial_0”); } else if (e.data == “MOBILE_INTERSTITIAL_AD_LOADED”) { interstitialIframe = document.getElementById(“google_ads_iframe_/11446729/Mobileinterstitial_0”); } else { return; } interstitialIframe.style.width = “100%”; interstitialIframe.style.height = “100%”; interstitialIframe.style.position = “fixed”; interstitialIframe.style.zIndex = “10000”; interstitialIframe.style.left = “0”; interstitialIframe.style.top = “0”; window.addEventListener(“scroll”, function() { interstitialIframe.contentWindow.postMessage(“SK_ADJUST_SIZE”, “*”); }); window.addEventListener(“resize”, function() { interstitialIframe.contentWindow.postMessage(“SK_ADJUST_SIZE”, “*”); }); } }; googletag.cmd.push(function() { if(“” == “1”) { googletag.pubads().setTargeting(“block_campaign”, “mcd_false”); // Allow mcd campaign to be targeted here } else { googletag.pubads().setTargeting(“block_campaign”, “mcd_true”); // Block mcd campaign to be targeted here } if(“1” == “1”) { googletag.pubads().setTargeting(“block_xfinity”, “xfinity_false”); // Allow xfinity campaign to be targeted here } else { googletag.pubads().setTargeting(“block_xfinity”, “xfinity_true”); // Block xfinity campaign to be targeted here } if(getCookie(“philipsInteraction”)){ googletag.pubads().setTargeting(“campaign”, “philips”); } (function(intoWowCookie) { if (intoWowCookie) { googletag.pubads().setTargeting(“intowow_enabled”, intoWowCookie); } })(getCookie(“intowow”)); if(isFacebookApp()) { googletag.pubads().setTargeting(“knownBrowserType”, “facebook”); } googletag.pubads().setTargeting(“url”, (document.location.protocol + “//” + document.location.hostname + document.location.pathname).substr(0, 40)); googletag.pubads().setTargeting(“pagetype”, “Articlepage”); googletag.pubads().setTargeting(“slug”, “how-build-perfect-skin-care-routine”.substring(0, 40)); googletag.pubads().setTargeting(“sport”, “Health and Fitness”); googletag.pubads().setTargeting(“published_date”, “2023-01”); googletag.pubads().setTargeting(“sport_lang”, “Health and Fitness_en”); googletag.pubads().setTargeting(“revShare”, “false”); googletag.pubads().setTargeting(“section”, “Feature”); googletag.pubads().setTargeting(“author_id”, “soniya-y-1”); googletag.pubads().setTargeting(“internal_tag”, “Health & Fitness Search Based Topic”); googletag.pubads().setTargeting(“version”, “Mob3LazyLoaddesktop”); googletag.pubads().setTargeting(“pubstack_tag_version”, “HeaderBiddingImprovements01”); googletag.pubads().setTargeting(“Floor”, KeedaPrebidUtilsInstance.getFloorPricingForGAM()); var uniqueBrowserIdCookie = getCookie(‘unique_browser_id’); uniqueBrowserIdCookie && googletag.pubads().setPublisherProvidedId(uniqueBrowserIdCookie); googletag.pubads().setTargeting(“lang”, “en”); var landingPage = document.referrer.match(/https://[a-z]*.sportskeeda.com/) ? “false” : “true” googletag.pubads().setTargeting(“landing_page”, landingPage); var queryParams = document.location.search.replace(‘?’, “”).split(‘&’); for (var i = 0; i Modified Jan 12, 2023 12:37 PM IST

follow icon Follow Us ‘) > -1) { addClass($(‘.section-container’), ‘pill-tag’); } ]]>

A healthy skin care routine helps in reducing fine lines and wrinkle. (Image via Pexels / Andrea Piacquadio)A healthy skin care routine helps in reducing fine lines and wrinkle. (Image via Pexels / Andrea Piacquadio)A healthy skin care routine helps in reducing fine lines and wrinkles. (Image via Pexels/Andrea Piacquadio)

A good skin care routine is the most non-negotiable part of having great skin. Following a specific regimen can help keep your skin clear, reduce the appearance of fine lines and wrinkles, and improve overall health.

With so many different products available on the market, it can be difficult to know where to start when creating your own custom-made routine. Here are some tips on how to build the perfect skincare routine:

‘; var MOB_3_PARAMS = {}; var options = { threshold: 0 , rootMargin: “200% 0px 200% 0px” }; var dynamicAdsObserver = new IntersectionObserver(function(entries) { entries.forEach(function (oneEntry) { if (oneEntry.isIntersecting) { dynamicAdsObserver.unobserve(oneEntry.target); var domId = oneEntry.target.id; googletag.cmd.push(function() { requestBidsForAdSlot(MOB_3_PARAMS[“slot”], domId); }); } }); }, options); function loadAdUnit(input) { input.playerContainer.innerHTML += AD_UNIT_MARKUP; var adContainer = input.playerContainer.querySelector(“.mob_300250_3_ad”); googletag.cmd.push(function() { var slot = initAdUnit(“Mob_300250_3”); if (!slot) return; var div = document.createElement(‘div’); div.id = slot.getSlotElementId(); adContainer.appendChild(div); if (input.userCountry == “IN”) { requestBidsForAdSlot(slot, div.id); return; } MOB_3_PARAMS[“slot”] = slot; var adElementDiv = document.getElementById(adUnits[“Mob_300250_3”].div); dynamicAdsObserver.observe(adElementDiv); }); } return loadAdUnit; })(); ‘; function loadPlayer(params) { if (typeof initConnatixPlayer === “function”) { params.playerContainer.innerHTML += PLAYER_MARKUP; var container = params.playerContainer.querySelector(“.connatix-container”); container.classList.remove(“hidden”); var holder = params.playerContainer.querySelector(“.connatix-holder”); initConnatixPlayer(holder, params); } } return loadPlayer; })(); ‘; function loadPlayer(params) { if (typeof initSTNPlayer === “function”) { params.playerContainer.innerHTML += PLAYER_MARKUP; var container = params.playerContainer.querySelector(“.stnPlayer-container”); container.classList.remove(“hidden”); var holder = params.playerContainer.querySelector(“.s2nPlayer-holder”); initSTNPlayer(holder, params); } } return loadPlayer; })();

How to Create the Perfect Skin Care Routine?

1) Cleansing

Cleanser helps in removing dirt and makeup off your skin. (Image via Pexels/Leah Kelley)Cleanser helps in removing dirt and makeup off your skin. (Image via Pexels/Leah Kelley)Wearing sunblock and a hat can protect against harmful UV rays. (Image via Pexels/Pixabayi)A healthy lifestyle and diet can also improve your skin appearance. (Image via Pexels/Pixabay)It's best to avoid retinol during pregnancy. (Image via Pexels/Daniel Reche)= 0) { return true; } else { return false; } } function getRatingCountByPostId(postId) { return new Promise(function(resolve, reject) { pureJSAjaxGet( getRatingCountBaseURL + postId + ‘/rating/count’, function(data) { try { data = JSON.parse(data); if (data.meta_value) { resolve(data.meta_value); } reject(“Failed to fetch rating count for the post:” + postId); } catch (err) { reject(“Failed to fetch rating count for the post:” + postId); } }, function(err) { reject(“Failed to fetch rating count for the post:” + postId); }, true); }); } function showErrorMessage(messageType) { var messageContainerId = ‘#’ + messageType + ‘-error’; $(messageContainerId).classList.remove(‘hidden’); window.setInterval(function () { $(messageContainerId).classList.add(“hidden”); }, 5000); } if (!isPostRatedByUser()) { getRatingCountByPostId(1360292) .then(function(ratingCount) { if (ratingCount < 10) { $("#post-rating-widget").classList.remove("hidden"); } }) .catch(function(err){ console.error(err); }) } Profile picture “+firstName+”. We will notify you when they publish new content.”); } gtag(‘event’, action, { ‘event_category’: ‘FOLLOW’, ‘event_label’: source, ‘non_interaction’: true }); } else { var actionRevert = (action == ‘follow’) ? ‘un-follow’ : ‘follow’; flipFollowStatus(actionRevert); } }, function (error) { console.log(error); var actionRevert = (action == ‘follow’) ? ‘un-follow’ : ‘follow’; flipFollowStatus(actionRevert); } ); flipFollowStatus(action); } else { window.location = (‘/login?after-login=’ + window.location.href ); } }; function setAdFloatingParams() { if ($(“.rightStickyTopWrap”) && $(‘.fragments-container’)) { $(“.rightStickyTopWrap”).style.height = ($(‘.fragments-container’).clientHeight – 44) + “px”; } } setInterval(function() { setAdFloatingParams(); }, 2000); window.addEventListener(“load”, setAdFloatingParams.bind(this)); window.addEventListener(“DOMContentLoaded”, function() { var trackCopyURL = “https://a-login.sportskeeda.com/en” + “/track-events”; document.addEventListener(“scroll”, addevents_youtube_embeds.bind(this)); document.addEventListener(“mousemove”, addevents_youtube_embeds.bind(this)); document.addEventListener(‘copy’, logCopyEvent.bind(this)); function addevents_youtube_embeds() { var youtube = document.getElementsByClassName(“youtube”); for (var i = 0; i < youtube.length; i++) { var ytURL = youtube[i].dataset.embed; var youtubeWrapper = youtube[i].parentElement; var youtubeCoverImg = youtube[i].getElementsByTagName("img")[0]; var iframe = document.createElement( "iframe" ); iframe.setAttribute( "width", youtubeCoverImg.width ); iframe.setAttribute( "height", youtubeCoverImg.height ); iframe.setAttribute( "src", "https://www.youtube.com/embed/"+ ytURL); iframe.setAttribute( "frameborder", "0" ); iframe.setAttribute( "allowfullscreen", ""); youtubeWrapper.innerHTML = ""; youtubeWrapper.appendChild( iframe ); }; var iframeEmbeds = document.getElementsByClassName("iframe-embeds"); for (var i = 0; i < iframeEmbeds.length; i++) { var iframeSRC = iframeEmbeds[i].dataset.embed; var aspectRatio = iframeEmbeds[i].dataset.aspectratio; var iframeWrapper = iframeEmbeds[i].parentElement; var iframe = document.createElement( "iframe" ); iframe.setAttribute( "width", "100%"); if(aspectRatio) { iframe.setAttribute( "style", "height: calc(" + iframeEmbeds[i].clientWidth + "px * " + aspectRatio + ")"); } iframe.setAttribute( "src", iframeSRC); iframe.setAttribute( "frameborder", "0" ); iframe.setAttribute( "allowfullscreen", ""); iframeWrapper.innerHTML = ""; iframeWrapper.appendChild( iframe ); } } function logCopyEvent() { var payload = { event_type: "copy", post_id: 1360292 }; pureJSAjaxPost(trackCopyURL, payload, function() {}, function () { console.error('Failed to save copy event'); }, null, true); } }); function renderPrimaryCommentsWidget() { var primaryComments = new KeedaComments({ id: parseInt("1360292"), wpId: parseInt("3819734"), popup: false, commentsContainer: document.getElementById("keeda-comments-container"), pageType: "post" }); primaryComments.fetchCommentsAndRender(); setTimeout(showFeedCommentsContainer, 0); } (function() { var followUsCTA = $(".follow-us-cta"); function followUsGoogleNews(){ if (!followUsCTA) return; var st = window.pageYOffset || document.documentElement.scrollTop; if ( st 300 ) { followUsCTA.classList.remove("hidden"); } else { followUsCTA.classList.add("hidden"); } } window.addEventListener("scroll", followUsGoogleNews); })(); var bottom_tagline_links = document.querySelectorAll('.bottom_tagline_link'); for (var i = 0; i < bottom_tagline_links.length; i++) { bottom_tagline_links[i].addEventListener('click', trackBottomTaglineClickEvent.bind(this)); } function trackBottomTaglineClickEvent() { var sportCategory = "health-and-fitness" || "how-build-perfect-skin-care-routine"; var payload = { "page_url": window.location.href, "category": sportCategory, "Device" : "Desktop" } gtag("event", "Clicks_BottomTagline", payload); } var followUsCTAs = $all(".follow-action"); for (var i = 0; i More from Sportskeeda

Fetching more content…

= DATASET_SIZE * 2) { return data[key].slice(0, DATASET_SIZE); } else { return data[key]; } } function track(cname, key, identifier, title) { var data = getTrackingCookie(cname, ‘{}’); data = JSON.parse(data); if (!data.hasOwnProperty(key) || key == ‘sport’) { data = initializeJSONDataStructure(data, key, identifier, title); } else { var item = data[key].filter(function(item) { return item.name == identifier; }); if (item.length > 0) { item = item[0]; var incrementResponse = incrementTrackingLogic(item); item = incrementResponse[‘value’]; if (incrementResponse[‘clipAll’]) { data[key].forEach(function(item){ item[‘value’] = parseInt(item[‘value’] / 2).toString(); }); } } else { data = initializeJSONDataStructure(data, key, identifier, title); } } data[key].sort(function(a, b) { return b[‘value’] > a[‘value’] ? 1 : -1; }); data[key] = clippingMechanism (data, key); setTrackingCookie(COOKIE_NAME, JSON.stringify(data)); } function trackSport(identifier, title) { track(COOKIE_NAME, ‘sport’, identifier, title); } function trackEvent(identifier) { track(COOKIE_NAME, ‘event’, identifier, “”); } function trackTeam(identifier) { track(COOKIE_NAME, ‘team’, identifier, “”); } return { getTrackingCookie: getTrackingCookie, setTrackingCookie: setTrackingCookie, trackSport: trackSport, trackEvent: trackEvent, trackTeam: trackTeam }; })(); var hpAlgoCookie = SKTrackingModule.getTrackingCookie(‘HP_ALGO’, null); if (!hpAlgoCookie) { var hpAlgoCookieRange = [‘false’, ‘hp_algo_1’]; var hpAlgoCookie = hpAlgoCookieRange[Math.floor(Math.random() * hpAlgoCookieRange.length)]; SKTrackingModule.setTrackingCookie(‘HP_ALGO’, hpAlgoCookie); } var category; try { var category = JSON.parse(‘{“slug”:”health-and-fitness”,”title”:”Health and Fitness”}’); SKTrackingModule.trackSport(category.slug, category.title); } catch (e) {} ]]> = 5) { addClass(rows[i], “hidden”); } } var toggleButton = $(‘.see-more-stats’); if(hasClass(toggleButton, “hidden”)) { removeClass(toggleButton, “hidden”); } addClass(ele, “hidden”); } function seeMoreToggle(ele) { if(hasClass(ele, ‘toggled’)) { //expanded contentHolder.style.height = ’50px’; addClass(contentHolder, ‘fade-out-bottom’); ele.classList.remove(‘toggled’); } else { //collapsed contentHolder.style.height = ‘auto’; removeClass(contentHolder, ‘fade-out-bottom’); ele.classList.add(‘toggled’); if(taxonomyImg) { removeClass(taxonomyImg, ‘hidden’); } if(taxonomyInfo) { removeClass(taxonomyInfo, ‘hidden’); } } } if(contentHolder) { removeClass(contentHolder, ‘hidden’); contentHolder.style.height = ‘auto’; } if(taxonomyImg) { removeClass(taxonomyImg, ‘hidden’); } if(taxonomyInfo) { removeClass(taxonomyInfo, ‘hidden’); } //Check for collapsed_by_default’s value if set //Refresh Sticky Ad-Units var SKAdsArticleStickyRefreshVals = { Left: { Div: adUnits[“Desktop_article_rail_top_2022”][“div”], AdRefreshed: false, RefreshCount: 0, Hover: false, Refresh: 60 } } function registerRefreshForStickyAds() { refreshStickyAdUnit(SKAdsArticleStickyRefreshVals.Left, “Left”); } registerRefreshForStickyAds(); function hoverEventsOnStickyAds(slotAddress) { if (document.getElementById(SKAdsArticleStickyRefreshVals[slotAddress][“Div”])) { $(“#”+SKAdsArticleStickyRefreshVals[slotAddress][“Div”]).addEventListener(“mouseover”, function () { SKAdsArticleStickyRefreshVals[slotAddress][“Hover”] = true; }); $(“#”+SKAdsArticleStickyRefreshVals[slotAddress][‘Div’]).addEventListener(“mouseout”, function () { SKAdsArticleStickyRefreshVals[slotAddress][“Hover”] = false; }); } } function refreshStickyAdUnit(adUnit, slotAddress) { var targetSlot = adUnit.Div; googletag.cmd.push(function() { googletag.pubads().addEventListener(‘impressionViewable’, function(event) { var slot = event.slot; hoverEventsOnStickyAds(slotAddress); if (slot.getSlotElementId() === targetSlot) { waitForXSec(slot, slotAddress, SKAdsArticleStickyRefreshVals[slotAddress][“Refresh”]); } }); }); } function waitForXSec(adSlot, slotAddress, refreshTimeInSec) { window.setTimeout(function() { SKAdsArticleStickyRefreshVals[slotAddress][“AdRefreshed”] = false; captureScrollEvent(adSlot, slotAddress); }, refreshTimeInSec * 1000); } function captureScrollEvent(adSlot, slotAddress) { window.addEventListener(“scroll”, function () { if (adSlot.getSlotElementId() == SKAdsArticleStickyRefreshVals[slotAddress][“Div”] && !SKAdsArticleStickyRefreshVals[slotAddress][“AdRefreshed”] && !SKAdsArticleStickyRefreshVals[slotAddress][“Hover”]) { googletag.cmd.push(function() { console.log(“Refreshing Ad: “, adSlot.getSlotElementId()); SKAdsArticleStickyRefreshVals[slotAddress][“RefreshCount”] += 1; adSlot.setTargeting(“refresh”, SKAdsArticleStickyRefreshVals[slotAddress][“RefreshCount”] + “”); requestBidsForAdSlot(adSlot); }); SKAdsArticleStickyRefreshVals[slotAddress][“AdRefreshed”] = true; } }); } var SKAdsArticleDesktopInBetweenRefreshVals = { Top: { Div: adUnits[“Desktop_72890_1”][“div”], AdRefreshed: true, RefreshCount: 0, Refresh: 30 }, SideRailTop: { Div: adUnits[“Desktop_article_rail_top_2022”][“div”], AdRefreshed: true, RefreshCount: 0, Refresh: 30 } } googletag.cmd.push(function() { googletag.pubads().addEventListener(‘impressionViewable’, function(event) { var slot = event.slot; for(var slotAddress in SKAdsArticleDesktopInBetweenRefreshVals) { if (slot.getSlotElementId() === SKAdsArticleDesktopInBetweenRefreshVals[slotAddress].Div) { SKAdsArticleDesktopInBetweenRefreshVals[slotAddress][“slot”] = slot; waitForXSecDesktopAds(slot, slotAddress, SKAdsArticleDesktopInBetweenRefreshVals[slotAddress][“Refresh”]); } } }); }); function waitForXSecDesktopAds(adSlot, slotAddress, refreshTimeInSec) { window.setTimeout(function() { SKAdsArticleDesktopInBetweenRefreshVals[slotAddress][“AdRefreshed”] = false; }, refreshTimeInSec * 1000); } window.addEventListener(“scroll”, function () { for(var slotAddress in SKAdsArticleDesktopInBetweenRefreshVals) { var currentAdUnit = SKAdsArticleDesktopInBetweenRefreshVals[slotAddress]; var divSlot = document.getElementById(currentAdUnit[“Div”]); if (!divSlot) return; rect = divSlot.getBoundingClientRect(); if (currentAdUnit.slot && currentAdUnit.slot.getSlotElementId() == currentAdUnit[“Div”] && elementInViewPort(rect) && !currentAdUnit[“AdRefreshed”]) { currentAdUnit[“AdRefreshed”] = true; currentAdUnit[“RefreshCount”] += 1; currentAdUnit.slot.setTargeting(“refresh”, currentAdUnit[“RefreshCount”] + “”); requestBidsForAdSlot(currentAdUnit.slot); SKAdsArticleDesktopInBetweenRefreshVals[slotAddress] = currentAdUnit; } } }); function elementInViewPort(rect) { return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right = 0.7 && !afterArticleSplitAdLoaded) { loadAfterArticleSplitAd(); } }, optionsArticleSplitAd); var observedEle = document.getElementById('article_pagesplit_ad'); if (observedEle) { intersectionObserverArticleSplitAd.observe(observedEle); } ]]> 0) { container.style.display = “block”; cardsContainer.innerHTML = ”; comments.forEach(function (comment, index) { var notificationCardTemplate = container.querySelector(‘#kcn-card’); var notificationCard = notificationCardTemplate.content.cloneNode(true); var notificationCardWrapper = notificationCard.querySelector(‘.kcn-card-wrapper’); notificationCardWrapper.setAttribute(‘data-notification-id’, comment.ID); var notificationText = notificationCard.querySelector(‘.kcn-comment-text’); notificationText.innerHTML = comment.comment_text; var keedaPostLink = notificationCard.querySelector(‘.keeda-posts-link’); keedaPostLink.href = comment.permalink; notificationCardWrapper.querySelector(‘.approve’).addEventListener(‘click’, function () { onCommentActionClick(container, comment, COMMENT_ACTION_STATUS.APPROVED); }); notificationCardWrapper.querySelector(‘.delete’).addEventListener(‘click’, function () { onCommentActionClick(container, comment, COMMENT_ACTION_STATUS.DELETE); }); cardsContainer.appendChild(notificationCard); }); } else { container.style.display = “block”; cardsContainer.innerHTML = “No new comments”; } }).catch(function (err) { console.log(err); }); } function displayPendingCommentsCount(container) { getPendingCommentsCount().then(function (res) { if (res.count && res.count > 0) { commentsCount = res.count; moderationCountHTMLElement.innerText = res.count; } }) } function toggleContainerVisibility(container) { var kcnContentContainer = container.querySelector(‘#kcn-comment-container’); var kcnPointer = container.querySelector(‘#kcn-pointer’); if (kcnContentContainer) { kcnContentContainer.classList.toggle(‘hidden’); } if (kcnPointer) { kcnPointer.classList.toggle(‘hidden’); } } function addClickHandler(container, clickCallback) { var iconContainerElement = container.querySelector(‘#kcn-comment-info-holder’); iconContainerElement.addEventListener(“click”, function (event) { toggleContainerVisibility(container); if (!commentsLoaded) { commentsLoaded = true; var cardsContainer = container.querySelector(‘.kcn-card-container’); if (cardsContainer) { cardsContainer.innerHTML = “Loading comments…”; } displayNewCommentNotifications(container); } }); } function init (element) { addClickHandler(element); displayPendingCommentsCount(element); moderationCountHTMLElement = document.getElementById(“kcn-comment-count”); } return { init: init } })(); function initCommentNotifications(capabilities) { if(window.innerWidth

You May Also Like

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다