"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[28641,66181,25660,95808],{16055:function(e,n,t){t.d(n,{R:function(){return i},k:function(){return o}});var o=!1,i=["boudhaditya sanyal","bharat sharma","aishwarya faraswal","kanika budhiraja","shaurya sharma","aishwarya panda","md ijaj khan","ayushmann chawla","debashis sarkar","amit rahi","samarpita yashaswini","zubair ahmad","neha ravi khandelwal","shweta pandey","radhika bhirani","iqbal","nivedita mishra","tavishi dogra","keshav singh gehlot","farheen naaz","shweta ganjoo","ishika narang","sparsh sharma","shubh bhushan"]},53685:function(e,n,t){var o=t(67294),i=t(23131),d=t(621);n.Z=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=(0,o.useState)(e),t=n[0],l=n[1];return(0,o.useEffect)((function(){"undefined"!==typeof document&&l(!(0,d.ej)(i.zb)||"IN"===(0,d.ej)(i.zb))}),[]),t}},66181:function(e,n,t){var o=t(67294),i=t(55786),d=t(621);n.Z=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,r=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],u=arguments.length>7&&void 0!==arguments[7]&&arguments[7],c=arguments.length>8&&void 0!==arguments[8]&&arguments[8],v=(0,o.useState)(!1),p=v[0],m=v[1],f=(0,o.useContext)(i.gb),g=f||{},w=g.showAdFree,h=void 0!==w&&w;return(0,o.useEffect)((function(){var o,i,v,p,f=!1,g=function(){var n=(0,d.ej)("token"),o=n&&!n.includes("amp-");if((!t||"IN"===(0,d.ej)("ht-location"))&&(!r||o)&&(!u||h)){var i=function(e){var n=document.createElement("script");n.async=!0,n.type="text/javascript",n.src=e,n.onload=function(){m(!0),a&&a()},n.onerror=function(){console.error("Failed to load ".concat(e)),l&&l()};var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(n,t)};Array.isArray(e)?e.forEach((function(e){return i(e)})):i(e)}},w=function(){f||(c?"function"===typeof window.requestIdleCallback?v=window.requestIdleCallback((function(){f||g()}),{timeout:2e3}):p=window.setTimeout((function(){f||g()}),0):g())};return s?(i=function(){window.scrollY>100&&(w(),window.removeEventListener("scroll",i))},window.addEventListener("scroll",i)):n?"complete"===document.readyState?w():(o=w,window.addEventListener("load",o,{once:!0})):w(),function(){var e;(f=!0,o&&window.removeEventListener("load",o),i&&window.removeEventListener("scroll",i),void 0!==v)&&(null===(e=window.cancelIdleCallback)||void 0===e||e.call(window,v));void 0!==p&&window.clearTimeout(p)}}),[u&&h]),p}},6428:function(e,n,t){t.d(n,{DV:function(){return g},NE:function(){return m},tQ:function(){return f}});var o=t(14924),i=t(26042),d=t(69396),l=["A","B","C","D"],a=function(e){return"string"===typeof e&&e.trim().length>0},r=function(e,n){return a(n)&&e?(0,d.Z)((0,i.Z)({},e),{adCode:n}):e},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.map((function(e,t){var o;return r(e,null===n||void 0===n||null===(o=n[l[t]])||void 0===o?void 0:o.AdCode)}))},u=function(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=[null===o||void 0===o||null===(e=o.Right_Panel_1st_Ad)||void 0===e?void 0:e.AdCode,null===o||void 0===o||null===(n=o.Right_Panel_2nd_Ad)||void 0===n?void 0:n.AdCode];return t.map((function(e,n){return n1&&void 0!==arguments[1]?arguments[1]:[];if(!Array.isArray(e))return null;var t=Math.max(e.length,n.length),o=Array.from({length:t},(function(t,o){var i=e[o];return a(i)?i:v(n[o])}));return o.filter(a)},m=function(e,n,t){var l,a,v;if(!e||!0!==(null===n||void 0===n?void 0:n.useAdCodes))return e;var m=null===n||void 0===n?void 0:n[t];if(!m)return e;var f="Web"===t?"desktopView":"MWeb"===t?"mobileView":"ampView",g=null===e||void 0===e||null===(l=e.ads)||void 0===l?void 0:l[f];if(!g)return e;var w=(null===e||void 0===e||null===(a=e.ads)||void 0===a||null===(v=a.inArticleCarouselAds)||void 0===v?void 0:v[f])||[],h=p(c(m),w),_=(0,i.Z)((0,d.Z)((0,i.Z)({},g),{topAds:(g.topAds||[]).map((function(e,n){var t;return 0===n?r(e,null===m||void 0===m||null===(t=m.Masthead)||void 0===t?void 0:t.AdCode):e})),middleAds:s(g.middleAds,m)}),g.rightAds?{rightAds:u(g.rightAds,m)}:{},g.stickyAd?{stickyAd:g.stickyAd.map((function(e,n){var t;return 0===n?r(e,null===m||void 0===m||null===(t=m.Sticky)||void 0===t?void 0:t.AdCode):e}))}:{});return(0,d.Z)((0,i.Z)({},e),{ads:(0,i.Z)((0,d.Z)((0,i.Z)({},e.ads),(0,o.Z)({},f,_)),(null===h||void 0===h?void 0:h.length)?{inArticleCarouselAds:(0,d.Z)((0,i.Z)({},e.ads.inArticleCarouselAds||{}),(0,o.Z)({},f,h))}:{})})},f=function(e,n){var t,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!0!==(null===e||void 0===e?void 0:e.useAdCodes))return null;var i=c(null===e||void 0===e?void 0:e[n])||c(null===e||void 0===e||null===(t=e.inArticleCarouselAds)||void 0===t?void 0:t[n]),d=p(i,o);return(null===d||void 0===d?void 0:d.length)?d:null},g=function(e,n,t){var o,i;if(!0!==(null===e||void 0===e?void 0:e.useAdCodes))return t;var d=null===e||void 0===e||null===(o=e[n])||void 0===o||null===(i=o.Interstitial)||void 0===i?void 0:i.AdCode;return a(d)?d:t}},17481:function(e,n,t){t.d(n,{e:function(){return o}});var o=function(e){var n=e.pageType,t=e.sectionName,o=e.sectionItem,i=e.containAffiliateEmbed;return!![t,o].some((function(e){return"technology"===function(e){return String(e||"").trim().toLowerCase()}(e)}))&&("section"===n||"story"===n&&Boolean(i))}},28641:function(e,n,t){t.r(n),t.d(n,{default:function(){return U}});var o=t(26042),i=t(69396),d=t(85893),l=t(5152),a=t.n(l),r=t(67294),s=t(85518),u=t(21286),c=t(11003),v=t(39480),p=t(31838),m=t(48691),f=t(94341),g=t(39866),w=t(17481),h=t(55786),_=t(9008),k=t.n(_),A=t(621),y=t(66181),b=t(83919),C=function(e){var n=e.section,t=e.subSection,o=e.author,i=e.headline,l=void 0===i?"":i;(0,y.Z)("https://static.chartbeat.com/js/chartbeat_mab.js",!1,!1),(0,y.Z)("https://static.chartbeat.com/js/chartbeat_video.js",!1,!1);var a=b.Z.get(),r=a.isBangla,s=a.isTelugu,u=r?"bangla":s?"telugu":n;return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n\t\t\t\t\twindow._sf_async_config = window._sf_async_config || {};\n\t\t\t\t\twindow._sf_async_config.flickerControl = false;\n\t\t\t\t\twindow._sf_async_config.uid = 63228;\n\t\t\t\t\twindow._sf_async_config.useCanonical = true;\n\t\t\t\t\twindow._sf_async_config.domain = 'hindustantimes.com';\n\t\t\t\t\twindow._sf_async_config.sections = '".concat(u).concat(t?",".concat(t):"","';\n\t\t\t\t\twindow._sf_async_config.authors = '").concat(o||"No author entered","';\n\t\t\t\t\twindow._sf_async_config.title = '").concat(l,"';\n\t\t\t\t\twindow._cbq = window._cbq || [];\n\n\t\t\t\t\tconst loadChartbeat = () => {\n\t\t\t\t\t\tconst script = document.createElement('script');\n\t\t\t\t\t\tscript.type = 'text/javascript';\n\t\t\t\t\t\tscript.defer = true;\n\t\t\t\t\t\tscript.src = '//static.chartbeat.com/js/chartbeat.js';\n\t\t\t\t\t\tdocument\n\t\t\t\t\t\t\t.getElementsByTagName('script')[0]\n\t\t\t\t\t\t\t.parentNode.insertBefore(script, null);\n\t\t\t\t\t};\n\n\t\t\t\t\tloadChartbeat();\n\t\t\t\t\t")}})})},T=function(){return(0,d.jsx)("script",{id:"consent-script",dangerouslySetInnerHTML:{__html:"\nwindow.googlefc = window.googlefc || {};\nwindow.googlefc.callbackQueue = window.googlefc.callbackQueue || [];\nwindow.googlefc.ccpa = window.googlefc.ccpa || {};\n\nvar optOutCookieName = \"optout\";\nvar optOutCookieAge = 365;\nvar dateOneTrust = new Date();\nvar urlParamsCmp = new URLSearchParams(window.location.search);\n\nfunction attachGoogleCMPListners() {\n window.googlefc.callbackQueue.push({\n 'CONSENT_DATA_READY':\n () => __tcfapi('addEventListener', 2.2, (consentData, success) => { \n // 1. Check if GDPR applies\n if (consentData.gdprApplies === true) {\n // 2. Check if the consent process was completed successfully\n if (consentData.eventStatus === 'useractioncomplete' || consentData.eventStatus === 'tcloaded') {\n // 3. Check if the user has consented to personalized ads (Purpose 1)\n if (consentData.purpose && consentData.purpose.consents && consentData.purpose.consents[\"3\"] === true) {\n // User has consented to personalized ads, unset the opt out cookie\n setOnAcceptOptOut();\n } else {\n // User did not consent to personalized ads, set the opt out cookie\n setOnRejectOptOut();\n }\n } else {\n // Consent process was not completed\n setOnRejectOptOut();\n }\n\n } else {\n // GDPR doesn't apply, proceed with standard behavior or do not require consent\n setOnAcceptOptOut();\n }\n })\n });\n\n // Queue the callback on the callbackQueue.\n window.googlefc.callbackQueue.push({\n 'INITIAL_CCPA_DATA_READY':\n () => {\n switch (googlefc.ccpa.getInitialCcpaStatus()) {\n case googlefc.ccpa.InitialCcpaStatusEnum.CCPA_DOES_NOT_APPLY:\n setOnAcceptOptOut();\n break;\n case googlefc.ccpa.InitialCcpaStatusEnum.NOT_OPTED_OUT:\n setOnRejectOptOut();\n break;\n case googlefc.ccpa.InitialCcpaStatusEnum.OPTED_OUT:\n setOnAcceptOptOut();\n break;\n }\n }\n });\n}\n\nfunction setOnAcceptOptOut() {\n setCMPCookie(optOutCookieName, '0' , window.location.host ,optOutCookieAge);\n setCMPCookie('ckns_policyV2', '1', window.location.host, 365);\n if (localStorage) {\n localStorage.setItem('ccpaGdprPopupShown', '1');\n }\n}\n\nfunction setOnRejectOptOut() {\n setCMPCookie(optOutCookieName, '1' , window.location.host ,optOutCookieAge);\n setCMPCookie('ckns_policyV2', null , window.location.host, 365);\n if (localStorage) {\n localStorage.setItem('ccpaGdprPopupShown', '1');\n }\n}\n\nfunction setCMPCookie(e, t, n, o) {\n var d = new Date;\n d.setTime(d.getTime() + 24 * o * 60 * 60 * 1e3);\n var a = \"expires=\" + d.toUTCString();\n document.cookie = e + \"=\" + (t === null ? '' : t) + \";\" + a + \";path=/;domain=\" + n;\n}\n "}})},j=t(34388),H=function(e){var n=e.pageData,t=e.section;return(0,d.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n var hostname = window.location.hostname.toString();\n var analyticsDomain =\n 'https://analytics.htmedia.in/analytics-js/tracker.js';\n var cHost = 'dap.hindustantimes.com';\n if (\n hostname == 'stg-www.hindustantimes.com' ||\n hostname == 'qa-www.hindustantimes.com' ||\n hostname == 'react-www.hindustantimes.com'\n ) {\n analyticsDomain = 'https://analytics.dev.htmedia.in/app/tracker.js';\n cHost = 'dap.dev.hindustantimes.com';\n }\n var configObject = {\n appId: 'nht',\n collectorHost: cHost,\n pageViewRequired: true,\n syncRequired: true,\n userIdCookie: '_ht_clientid',\n pltRequired: false,\n existingImpressionCapture: false,\n existingLinkClickCapture: false".concat((null===n||void 0===n?void 0:n.containAffiliateEmbed)?",story_type: '".concat((0,j.H1)(n)||"null","'"):"","\n };\n (function (p, l, o, w, i, k, n, g) {\n if (!p[i]) {\n p.GlobalSnowplowNamespace = p.GlobalSnowplowNamespace || [];\n p.GlobalSnowplowNamespace.push(i);\n p[i] = function () {\n (p[i].q = p[i].q || []).push(arguments);\n };\n p[i].q = p[i].q || [];\n n = l.createElement(o);\n g = l.getElementsByTagName(o)[0];\n n.defer = 1;\n n.src = w;\n g.parentNode.insertBefore(n, g);\n n.onload = function () {\n window.dapTracker = new window.dapDataTracker();\n dapTracker.init(k);\n window?.dapTracker?.track(\n 'page_view_manual',\n {\n pageType: '").concat(null===n||void 0===n?void 0:n.pageType,"',\n section: '").concat(t,"',\n platform: findDeviceType('large') ? 'web' : 'mweb',\n property: 'HT',\n url: window.location.href,\n event_trigger_time: '").concat((new Date).getTime(),"',\n },\n 'event'\n );\n const sendDelayedTracking = (timer) => {\n window?.dapTracker?.track(\n 'time_spent',\n {\n pageType: '").concat(null===n||void 0===n?void 0:n.pageType,"',\n section: '").concat(t,"',\n platform: findDeviceType('large') ? 'web' : 'mweb',\n property: 'HT',\n url: window.location.href,\n type: timer + '_sec',\n },\n 'event'\n );\n }\n const timers = [5, 10]; // in seconds\n timers.forEach((timer) => {\n setTimeout(() => {\n sendDelayedTracking(timer);\n }, timer * 1000);\n })\n };\n }\n })(window, document, 'script', analyticsDomain, 'snowplow', configObject);\n ")}})},S=(0,r.memo)(H),D=function(){return(0,d.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n function loadCssFile(e, t) {\n var l,\n d,\n e = e;\n document.getElementById(e) ||\n ((l = document.getElementsByTagName('head')[0]),\n ((d = document.createElement('link')).id = e),\n (d.rel = 'stylesheet'),\n (d.type = 'text/css'),\n (d.href = t),\n (d.media = 'all'),\n l.appendChild(d));\n }\n setTimeout(() => {\n loadCssFile(\n 'fontcss',\n 'https://www.hindustantimes.com/static-content/1y/2023/ht-font/ht-fonts.css?v=7'\n );\n }, 500);\n "}})},E=function(){return(0,d.jsx)("script",{dangerouslySetInnerHTML:{__html:'\n function q(c, r) {\n apstag._Q.push([c, r]);\n };\n var apstag = {\n init: function() {\n q("i", arguments);\n },\n fetchBids: function() {\n q("f", arguments);\n },\n setDisplayBids: function() {},\n _Q: [],\n };\n\n apstag.init({\n pubID: \'04490307-82e6-4a26-8a03-ce88452d8ffd\',\n adServer: \'googletag\'\n });\n \n window.googletag = window.googletag || {cmd: []};\n window.PWT = window.PWT || {};\n var PWT = window.PWT || window.PWT || {};\n googletag.cmd.push(function() {\n function setWithExpiryCDP(key, value, ttl) {\n const now = new Date();\n const item = {\n value: value,\n expiry: now.getTime() + ttl,\n };\n let localStorage = window?.localStorage;;\n localStorage?.setItem(key, JSON.stringify(item));\n }\n function getWithExpiryCDP(key) {\n let localStorage = window?.localStorage;;\n const itemStr = localStorage?.getItem(key);\n if (!itemStr) {\n return null;\n }\n const item = JSON.parse(itemStr);\n const now = new Date();\n if (now.getTime() > item.expiry) {\n localStorage?.removeItem(key);\n return null;\n }\n return item.value;\n }\n function getCookie(e){\n for (var t = e + "=", n = document.cookie.split(";"), o = 0; o < n.length; o++) {\n for (var a = n[o];\n " " == a.charAt(0);) a = a.substring(1, a.length);\n if (0 == a.indexOf(t)) return a.substring(t.length, a.length)\n }\n return null; \n }\n function setCookie(e, t, n) {\n var o = new Date;\n o.setTime(o.getTime() + 24 * n * 60 * 60 * 1e3);\n var a = "expires=" + o.toUTCString();\n document.cookie = e + "=" + t + ";" + a + ";path=/"\n }\n\n if (\n getCookie("ht-location") === "IN" &&\n !navigator.userAgent.includes("Chrome-Lighthouse")\n ) {\n var cookieValue = getCookie("_ht_fp");\n var htCdp = getWithExpiryCDP("ht_cdp");\n var requestUrl ="https://www.hindustantimes.com/cdp/api/adserve/ht?user=" + cookieValue;\n if (!htCdp && cookieValue) {\n var xhr = new XMLHttpRequest();\n xhr.open("GET", requestUrl);\n xhr.timeout = 700;\n xhr.responseType = "json";\n xhr.onload = function () {\n var campaigns = "";\n if(parseInt(xhr.status) === 200){\n var jsonData = xhr.response;\n if (jsonData !== "" && jsonData.campaigns !== undefined) {\n campaigns = jsonData.campaigns;\n setWithExpiryCDP("ht_cdp", JSON.stringify(campaigns), 86400000);\n googletag.pubads().setTargeting("cdpcampaign", campaigns);\n }\n }\n };\n xhr.send(null);\n } else {\n googletag.pubads().setTargeting("cdpcampaign", JSON.parse(htCdp));\n }\n }\n });\n '}})},x=function(){return(0,d.jsx)("script",{id:"loadable",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n const htGTMGA4 = () => {\n (function (w, d, s, l, i) {\n w[l] = w[l] || [];\n w[l].push({\n 'gtm.start': new Date().getTime(),\n event: 'gtm.js',\n });\n var f = d.getElementsByTagName(s)[0],\n j = d.createElement(s),\n dl = l != 'dataLayer' ? '&l=' + l : '';\n j.defer = true;\n j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;\n f.parentNode.insertBefore(j, f);\n })(window, document, 'script', 'dataLayer', 'GTM-MXGJR36');\n };\n htGTMGA4();\n "}})},I=a()((function(){return t.e(86497).then(t.bind(t,79745))}),{loadableGenerated:{webpack:function(){return[79745]}},ssr:!1}),V=a()((function(){return t.e(8705).then(t.bind(t,8705))}),{loadableGenerated:{webpack:function(){return[8705]}},ssr:!1,loading:function(){return null}}),L=a()((function(){return Promise.all([t.e(25891),t.e(83874)]).then(t.bind(t,83874))}),{loadableGenerated:{webpack:function(){return[83874]}},ssr:!1,loading:function(){return null}});var P=function(e){var n,t,o,i,l,a=(null===e||void 0===e?void 0:e.pageType)||"",s=(null===e||void 0===e?void 0:e.sectionName)||"",u=(null===e||void 0===e?void 0:e.subSectionItem)||"",c=(null===e||void 0===e?void 0:e.pageData)||{},v=(null===c||void 0===c?void 0:c.title)||"",p=!1!==e.showHeaderFooter,m=((0,r.useContext)(h.gb)||{}).htConfigData,f=(null===g.d||void 0===g.d?void 0:g.d.includes(null===e||void 0===e?void 0:e.pageType))?null===(l=m.loadChartbeat)||void 0===l||l:"my-ht"!==(null===s||void 0===s?void 0:s.toLowerCase()),w=(null===e||void 0===e?void 0:e.hideAds)||!1,_="my-ht"!==s&&!w;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(k(),{children:[(0,d.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"ie=edge"}),(0,d.jsx)("script",{dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || []; dataLayer?.push({'category': '".concat((null===e||void 0===e||null===(n=e.sectionItem)||void 0===n?void 0:n.toLowerCase())||s,"', 'subcategory': '").concat(u,"' });")}})]}),p?(0,d.jsx)(V,{gutterAd:e.gutterAd,pageType:(null===e||void 0===e?void 0:e.pageType)||(null===c||void 0===c?void 0:c.pageType),matchCenter:null===e||void 0===e?void 0:e.matchCenter,hideGutterAd:null===e||void 0===e?void 0:e.hideGutterAd,tracking:{pageType:(null===e||void 0===e?void 0:e.dataPage)?"datapage":null===e||void 0===e?void 0:e.pageType,pageTypeTracking:(null===e||void 0===e?void 0:e.pageTypeTracking)||"",section:(null===s||void 0===s?void 0:s.toLowerCase())||"",subSection:(null===e||void 0===e?void 0:e.subSection)||"",pageId:(null===e||void 0===e?void 0:e.pageId)||"",articleTitle:v||""},containAffiliateEmbed:null===e||void 0===e?void 0:e.containAffiliateEmbed,collapseArticle:null===e||void 0===e||null===(t=e.storyDetails)||void 0===t||null===(o=t.metadata)||void 0===o?void 0:o.collapseArticle,hideAds:w}):null,_&&(0,d.jsx)(E,{}),(0,d.jsx)(x,{}),"homepage"===a&&(0,d.jsx)(D,{}),(0,d.jsx)(T,{}),(0,d.jsx)(S,{pageData:c,section:s}),(0,d.jsx)(I,{props:e}),(0,d.jsx)(L,{props:e}),f&&(0,d.jsx)(C,{section:s,subSection:u,author:e.authors,headline:v?(0,A.av)(null===(i=null===v||void 0===v?void 0:v.replaceAll("'",""))||void 0===i?void 0:i.replaceAll('"',"")):""})]})},M=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=(0,r.useState)(!1),i=o[0],d=o[1];return(0,r.useEffect)((function(){if(n){var o=function(e){var n=document.createElement("script");n.async=!0,n.type="text/javascript",n.src=e,n.onload=function(){d(!0)},n.onerror=function(){return console.error("Failed to load ".concat(e))};var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(n,t)},i=function(){window.scrollY>=t&&(Array.isArray(e)?e.forEach((function(e){return o(e)})):o(e),window.removeEventListener("scroll",i))};return window.addEventListener("scroll",i),function(){window.removeEventListener("scroll",i)}}}),[e,n,t]),i},z=t(53685),N=t(6428),O=t(73304),B=a()((function(){return Promise.all([t.e(25891),t.e(16504)]).then(t.bind(t,16504))}),{loadableGenerated:{webpack:function(){return[16504]}}}),G=a()((function(){return Promise.all([t.e(25891),t.e(41530)]).then(t.bind(t,41530))}),{loadableGenerated:{webpack:function(){return[41530]}}}),Z=a()((function(){return Promise.all([t.e(25891),t.e(32521)]).then(t.bind(t,32521))}),{loadableGenerated:{webpack:function(){return[32521]}}}),F=a()((function(){return t.e(35800).then(t.t.bind(t,35800,23)).then((function(e){return e.ErrorBoundary}))}),{loadableGenerated:{webpack:function(){return[35800]}}}),X=a()((function(){return Promise.all([t.e(46019),t.e(31660)]).then(t.bind(t,82048))}),{loadableGenerated:{webpack:function(){return[82048]}}}),q=a()((function(){return Promise.all([t.e(46019),t.e(78642)]).then(t.bind(t,78642))}),{loadableGenerated:{webpack:function(){return[78642]}}}),R=a()((function(){return t.e(17909).then(t.bind(t,17909))}),{loadableGenerated:{webpack:function(){return[17909]}}}),W=a()((function(){return t.e(98972).then(t.bind(t,98972))}),{loadableGenerated:{webpack:function(){return[98972]}}});function U(e){var n,l,a,_=e.children,k=e.hamburgerItems,A=e.footerItems,C=e.pageProps,T=e.getAdDataFromPage,j=void 0!==T&&T,H=(0,r.useContext)(h.gb),S=H.showAdFree,D=H.articleAdCodeConfig,E=b.Z.get(),x=E.isLanguages,I=E.isBangla,V=E.isTelugu,L=s.tq,U=(0,r.useState)(0),Q=U[0],K=U[1],Y=(0,z.Z)(),J=(H||{}).htConfigData,$=C.pageType,ee=(null===C||void 0===C?void 0:C.sectionPage)||!1,ne=C.sectionName,te=C.subSection,oe=C.headerFooter,ie=C.hideHeaderFooterMobile,de=C.healthCheck,le=null===(a=null===C||void 0===C?void 0:C.showTopAd)||void 0===a||a,ae=C.containAffiliateEmbed,re=(0,w.e)({pageType:"story"===$?"story":ee?"section":"",sectionName:ne,sectionItem:ee?null===C||void 0===C?void 0:C.sectionItem:"",containAffiliateEmbed:ae}),se=(null===C||void 0===C||null===(n=C.storyDetails)||void 0===n||null===(l=n.metadata)||void 0===l?void 0:l.iabTagging)||"",ue=le&&!S&&"story"===$&&!(null===J||void 0===J?void 0:J.toggleAdCode)&&!C.Adsize90,ce=(null===J||void 0===J?void 0:J.sdkRemovalSections)||[],ve="story"===$&&ne&&ce.includes(ne.toLowerCase()),pe=(null===C||void 0===C?void 0:C.hideAds)||!1,me=(null===C||void 0===C?void 0:C.hideSideSticky)||!1,fe=(0,r.useMemo)((function(){var e,n,o,i,d,l,a,r,s=[],c=null===(e=p.jA.ads)||void 0===e?void 0:e.mobileView.stickyAd[0],v=null,w="/1055314/Hindustantimes_Desktop_Section/HT_Desk_Section_Gutter",h=S?u._3.premium:u._3[null===C||void 0===C||null===(n=C.sectionName)||void 0===n?void 0:n.toLowerCase()]||u._3.default;if(S||I||V||!g.d.includes($)||(h=(0,N.NE)(h,D,L?"MWeb":"Web")),I)s=null===(h=f.VK.default)||void 0===h||null===(o=h.ads)||void 0===o||null===(i=o.mobileView)||void 0===i?void 0:i.topAds[0],c=null===h||void 0===h||null===(d=h.ads)||void 0===d||null===(l=d.mobileView)||void 0===l?void 0:l.stickyAd[0],v=(null===h||void 0===h||null===(a=h.ads)||void 0===a||null===(r=a.mobileView)||void 0===r?void 0:r.stickyAd)||null;else if(V){var _,k,A,y,b,T;s=null===(h=f.Q6.default)||void 0===h||null===(_=h.ads)||void 0===_||null===(k=_.mobileView)||void 0===k?void 0:k.topAds[0],c=null===h||void 0===h||null===(A=h.ads)||void 0===A||null===(y=A.mobileView)||void 0===y?void 0:y.stickyAd[0],v=(null===h||void 0===h||null===(b=h.ads)||void 0===b||null===(T=b.mobileView)||void 0===T?void 0:T.stickyAd)||null}if(j)return{topAd:s,stickyAd:c,stickyAds:v,gutterAd:w};var H=null;if("section"===$&&ee){var E=function(){try{return{sectionAdCodes:t(25199).sectionAdCodes}}catch(e){return console.error("Failed to load sectionad.config:",e),{sectionAdCodes:{}}}}().sectionAdCodes;H=(null===E||void 0===E?void 0:E[ne])||(null===E||void 0===E?void 0:E.default)}if(L){var x,P,M,z,O,B;if("homepage"===$)c=null===(x=m.G.ads)||void 0===x||null===(P=x.mobileView)||void 0===P?void 0:P.stickyAd[0];else if(g.d.includes($)){var G,Z,F,X;s=null===h||void 0===h||null===(G=h.ads)||void 0===G||null===(Z=G.mobileView)||void 0===Z?void 0:Z.topAds[0],c=null===h||void 0===h||null===(F=h.ads)||void 0===F||null===(X=F.mobileView)||void 0===X?void 0:X.stickyAd[0]}else if("section"===$&&1==ee){var q,R;c=null===H||void 0===H||null===(q=H.ads)||void 0===q||null===(R=q.mobileView)||void 0===R?void 0:R.stickyAd[0]}else if("ipl"===ne||"ipl"===te){var W,U;c=null===p.Xj||void 0===p.Xj||null===(W=p.Xj.ads)||void 0===W||null===(U=W.mobileView)||void 0===U?void 0:U.stickyAd[0]}else if("cricket"===$){var Q,K;c=null===p.Xj||void 0===p.Xj||null===(Q=p.Xj.ads)||void 0===Q||null===(K=Q.mobileView)||void 0===K?void 0:K.stickyAd[0]}else if("cricket_detail"===$)s=p.Yh[0],c=p.yP[0];else if("world-cup"===$||"asia-cup"===$){var Y,J;c=null===p.Xj||void 0===p.Xj||null===(Y=p.Xj.ads)||void 0===Y||null===(J=Y.mobileView)||void 0===J?void 0:J.stickyAd[0]}else if("Education"===$)c=p.Ku[0];else if("wimbledon"===$||"sports"===$){var oe,ie;c=null===p.Xj||void 0===p.Xj||null===(oe=p.Xj.ads)||void 0===oe||null===(ie=oe.mobileView)||void 0===ie?void 0:ie.stickyAd[0]}else if("scoreboard"===$)s=p.sd[0],w="/1055314/Hindustantimes_Desktop_Scoreboard/HT_Desk_Scoreboard_Gutter";else if("games"===$){var de,le;c=null===p.jA||void 0===p.jA||null===(de=p.jA.ads)||void 0===de||null===(le=de.mobileView)||void 0===le?void 0:le.stickyAd[0]}else if("game-details"===$){var ae,re;c=null===p.pb||void 0===p.pb||null===(ae=p.pb.ads)||void 0===ae||null===(re=ae.mobileView)||void 0===re?void 0:re.stickyAd[0]}else if("elections"===$){var se,ue;c=null===(se=p.BD.ads)||void 0===se||null===(ue=se.mobileView)||void 0===ue?void 0:ue.stickyAd[0]}else if("US-news"===$){var ce,ve;c=null===p.KI||void 0===p.KI||null===(ce=p.KI.ads)||void 0===ce||null===(ve=ce.mobileView)||void 0===ve?void 0:ve.stickyAd[0]}else{var pe,me;s=null===(pe=p.jA.ads)||void 0===pe||null===(me=pe.mobileView)||void 0===me?void 0:me.topAds[0]}if(I)s=null===(h=f.VK.default)||void 0===h||null===(M=h.ads)||void 0===M||null===(z=M.mobileView)||void 0===z?void 0:z.topAds[0],c=null===h||void 0===h||null===(O=h.ads)||void 0===O||null===(B=O.mobileView)||void 0===B?void 0:B.stickyAd[0];else if(V){var fe,ge,we,he;s=null===(h=f.Q6.default)||void 0===h||null===(fe=h.ads)||void 0===fe||null===(ge=fe.mobileView)||void 0===ge?void 0:ge.topAds[0],c=null===h||void 0===h||null===(we=h.ads)||void 0===we||null===(he=we.mobileView)||void 0===he?void 0:he.stickyAd[0]}}else{var _e,ke,Ae,ye,be,Ce,Te,je;if("homepage"===$)s=null===(_e=m.G.ads)||void 0===_e||null===(ke=_e.desktopView)||void 0===ke?void 0:ke.topAds[0],w=null===(Ae=m.G.ads)||void 0===Ae||null===(ye=Ae.desktopView)||void 0===ye?void 0:ye.gutterAds;else if("story"===$||"liveblog"===$||"gallery"===$){var He,Se,De,Ee;s=null===h||void 0===h||null===(He=h.ads)||void 0===He||null===(Se=He.desktopView)||void 0===Se?void 0:Se.topAds[0],w=null===h||void 0===h||null===(De=h.ads)||void 0===De||null===(Ee=De.desktopView)||void 0===Ee?void 0:Ee.gutterAds}else if("section"===$&&1==ee){var xe,Ie,Ve,Le;s=null===H||void 0===H||null===(xe=H.ads)||void 0===xe||null===(Ie=xe.desktopView)||void 0===Ie?void 0:Ie.topAds[0],w=null===H||void 0===H||null===(Ve=H.ads)||void 0===Ve||null===(Le=Ve.desktopView)||void 0===Le?void 0:Le.gutterAds}else if("ipl"===ne||"ipl"===te){var Pe,Me;s=null===p.Xj||void 0===p.Xj||null===(Pe=p.Xj.ads)||void 0===Pe||null===(Me=Pe.desktopView)||void 0===Me?void 0:Me.topAds[0],"/cricket/ipl"===(null===C||void 0===C?void 0:C.pageUrl)&&(w="/1055314/Hindustantimes_Desktop_Cricket/HT_Desk_Cricket_Gutter")}else if("cricket"===$){var ze,Ne;s=null===p.Xj||void 0===p.Xj||null===(ze=p.Xj.ads)||void 0===ze||null===(Ne=ze.desktopView)||void 0===Ne?void 0:Ne.topAds[0],w="/1055314/Hindustantimes_Desktop_Cricket/HT_Desk_Cricket_Gutter"}else if("world-cup"===$||"asia-cup"===$){var Oe,Be;s=null===p.Xj||void 0===p.Xj||null===(Oe=p.Xj.ads)||void 0===Oe||null===(Be=Oe.desktopView)||void 0===Be?void 0:Be.topAds[0],w="/1055314/Hindustantimes_Desktop_Cricket/HT_Desk_Cricket_Gutter"}else if("cricket_detail"===$)s=p.g6[0],w="/1055314/Hindustantimes_Desktop_Cricket/HT_Desk_Cricket_Gutter";else if("Education"===$)s=p.hO[0],w="/1055314/Hindustantimes_Desktop_Education/HT_Desk_Education_Gutter";else if("wimbledon"===$||"sports"===$){var Ge,Ze;s=null===p.Xj||void 0===p.Xj||null===(Ge=p.Xj.ads)||void 0===Ge||null===(Ze=Ge.desktopView)||void 0===Ze?void 0:Ze.topAds[0],w="/1055314/Hindustantimes_Desktop_Cricket/HT_Desk_Cricket_Gutter"}else if("elections"===$){var Fe,Xe;s=null===(Fe=p.BD.ads)||void 0===Fe||null===(Xe=Fe.desktopView)||void 0===Xe?void 0:Xe.topAds[0],w="/1055314/Hindustantimes_Desktop_News/HT_Desk_News_Gutter"}else if("games"===$){var qe,Re,We,Ue;s=null===p.jA||void 0===p.jA||null===(qe=p.jA.ads)||void 0===qe||null===(Re=qe.desktopView)||void 0===Re?void 0:Re.topAds[0],w=null===p.jA||void 0===p.jA||null===(We=p.jA.ads)||void 0===We||null===(Ue=We.desktopView)||void 0===Ue?void 0:Ue.gutterAds}else if("game-details"===$){var Qe,Ke,Ye,Je;s=null===p.pb||void 0===p.pb||null===(Qe=p.pb.ads)||void 0===Qe||null===(Ke=Qe.desktopView)||void 0===Ke?void 0:Ke.topAds[0],w=null===p.pb||void 0===p.pb||null===(Ye=p.pb.ads)||void 0===Ye||null===(Je=Ye.desktopView)||void 0===Je?void 0:Je.gutterAds}else if("US-news"===$){var $e,en;s=null===p.KI||void 0===p.KI||null===($e=p.KI.ads)||void 0===$e||null===(en=$e.desktopView)||void 0===en?void 0:en.topAds[0]}else{var nn,tn;s=null===(nn=p.jA.ads)||void 0===nn||null===(tn=nn.desktopView)||void 0===tn?void 0:tn.topAds[0]}if(I)s=null===(h=f.VK.default)||void 0===h||null===(be=h.ads)||void 0===be||null===(Ce=be.desktopView)||void 0===Ce?void 0:Ce.topAds[0],c=null===h||void 0===h||null===(Te=h.ads)||void 0===Te||null===(je=Te.mobileView)||void 0===je?void 0:je.stickyAd[0];else if(V){var on,dn,ln,an;s=null===(h=f.Q6.default)||void 0===h||null===(on=h.ads)||void 0===on||null===(dn=on.desktopView)||void 0===dn?void 0:dn.topAds[0],c=null===h||void 0===h||null===(ln=h.ads)||void 0===ln||null===(an=ln.mobileView)||void 0===an?void 0:an.stickyAd[0]}}return{topAd:s,stickyAd:c,stickyAds:v,gutterAd:w}}),[L,$,ne,te,null===C||void 0===C?void 0:C.pageUrl,j,S,I,V,D]),ge=fe.topAd,we=fe.stickyAd,he=fe.stickyAds,_e=fe.gutterAd,ke=(0,r.useRef)(!1),Ae=(0,r.useCallback)((function(){if(!ke.current&&(ke.current=!0,"undefined"!==typeof document)){var e=document.getElementsByClassName("tempStickyAd");e.length>0&&L&&(e[0].style.display="none")}}),[L]);(0,r.useEffect)((function(){if(!ke.current)return requestAnimationFrame((function(){ke.current||window.addEventListener("scroll",Ae,{passive:!0})})),function(){window.removeEventListener("scroll",Ae)}}),[Ae]),(0,r.useEffect)((function(){if(L&&"undefined"!==typeof document&&ke.current){var e=document.querySelector(".liveBlogSticky");if(e){var n=setTimeout((function(){e.style.transition="transform 1s ease-in-out",e.style.transform="translateY(calc(100% - 50px))",e.style.transform="translateY(-50px)"}),100);return function(){return clearTimeout(n)}}}}),[ke,L]);var ye=(0,r.useCallback)((function(){var e=(0,c.ej)("token"),n=(0,c.ej)("_ht_clientid"),t=(0,c.ej)("name"),o=(0,c.ej)("ht_token");if(!ve&&(!e||e&&e.includes("amp-")||!n||n&&n.includes("amp-"))){var i=document.createElement("script");i.async=!0,i.type="text/javascript",i.src=v.BHt,document.head.appendChild(i)}e&&(0,c.d8)("token",e,365),n&&(0,c.d8)("_ht_clientid",n,365),t&&(0,c.d8)("name",t,365),o&&(0,c.d8)("ht_token",o,365)}),[ve]);(0,r.useEffect)((function(){var e;if(!L)return"complete"===document.readyState?ye():(e=function(){requestAnimationFrame(ye)},window.addEventListener("load",e)),function(){e&&window.removeEventListener("load",e)}}),[ye]);var be=function(){window&&(null===window||void 0===window?void 0:window.initGoogleOneTap)&&(null===window||void 0===window||window.initGoogleOneTap(!0))},Ce=(0,r.useCallback)((function(e,n,t){var o=document.createElement("script");o.async=!0,o.type="text/javascript",o.src=e,n&&(o.onload=n),t&&(o.onerror=t),document.head.appendChild(o)}),[]);(0,r.useEffect)((function(){if(ve&&!pe){var e=setTimeout((function(){Ce(v.CX4,be,be)}),1e3);return function(){return clearTimeout(e)}}}),[ve,Ce,pe]);ve||((0,y.Z)(v.hZC,!1,!0,null,null,!1,!0),(0,y.Z)(v.Srz,!1,!0,null,null,!1,!0),pe||(0,y.Z)(v.CX4,!1,!1,be),(0,y.Z)(v.sjj,!0,!0,null,(function(){var e=document.getElementById("mWebSubcBtn");e&&window.loyaltyCoins.render({element:e,client:"HT",funnel_entry:"top_Header"})}),!0,!1,!1),(0,y.Z)(v.kbM,!0,!0)),"story"!==$&&"liveblog"!==$||!O.Mv.includes(null===ne||void 0===ne?void 0:ne.toLowerCase())||((0,y.Z)(v.cew,!1,!1,null,null,!1,!1),(0,y.Z)(v.ItG,!1,!1,null,null,!1,!1)),M(v.Dqg,null===C||void 0===C?void 0:C.containAffiliateEmbed),(0,y.Z)(v.g6B,!0,!1,null,(function(){HTWebPush.init({autoPrompt:!0}).then((function(){})).catch((function(e){}))}),!1,!1);var Te=(0,r.useMemo)((function(){return{adData:we,containerClass:"bottomFixAd",innerIdDivClass:"bottomStickyAd",sectionName:ne,subSection:te,autoRefresh:!1,autoRefreshTime:Y?null===J||void 0===J?void 0:J.bottomStickyAdRefreshTimeInMs:45e3,landingAd:!0,iabValue:se}}),[we,ne,te,Y,null===J||void 0===J?void 0:J.bottomStickyAdRefreshTimeInMs,se]),je=(0,r.useMemo)((function(){return{adData:ge,containerClass:"",sectionName:ne,subSection:te,showToPremiumUser:!1,landingAd:!0,iabValue:se}}),[ge,ne,te,se]),He=(0,r.useMemo)((function(){return(0,i.Z)((0,o.Z)({showHeaderFooter:C.headerFooter},C),{gutterAd:_e})}),[C,_e]),Se=(0,r.useMemo)((function(){var e,n;return{footerData:null===A||void 0===A?void 0:A.footer,footerLogo:null===A||void 0===A?void 0:A.footerLogo,footerStaticLinks:null===A||void 0===A?void 0:A.footerStaticLinks,newsLetter:null===A||void 0===A?void 0:A.newsLetter,topIndianPlayers:null===A||void 0===A?void 0:A.topIndianPlayers,latestNews:null===A||void 0===A?void 0:A.latestNews,latestAutoLiveblogs:null===A||void 0===A?void 0:A.latestAutoLiveblogs,educationDataPages:null===A||void 0===A?void 0:A.educationDataPages,sectionName:null===A||void 0===A?void 0:A.sectionName,hideBottomAd:C.hideBottomAd,pageType:(null===C||void 0===C?void 0:C.matchCenter)?"match center":(null===C||void 0===C?void 0:C.dataPage)?"datapage":(null===C||void 0===C||null===(e=C.pageData)||void 0===e?void 0:e.pageType)||null,subSection:(null===C||void 0===C||null===(n=C.subSectionItem)||void 0===n?void 0:n.toLowerCase())||null}}),[A,C]);(0,r.useEffect)((function(){if(!L){var e=!0;return fetch(v.ukD).then((function(e){if(!e.ok)throw new Error("Failed to fetch header weather data");return e.json()})).then((function(n){var t;e&&K((null===n||void 0===n||null===(t=n.main)||void 0===t?void 0:t.temp)||0)})).catch((function(e){console.error("Error fetching header weather data",e)})),function(){e=!1}}}),[L]);var De=(0,r.useMemo)((function(){return{hamburgerItems:k,weatherData:Q,makeLogoHeadingInH2:C.makeLogoHeadingInH2,pageProps:C}}),[k,Q,C]);return(0,r.useEffect)((function(){"undefined"!==typeof document&&(ue||document.body.classList.remove("desktopAdSticky"))}),[ue]),(0,d.jsxs)(r.Fragment,{children:[de&&(0,d.jsx)(d.Fragment,{children:_}),!de&&!1!==oe&&!(L&&ie)&&(0,d.jsxs)("div",{className:"layout home",children:[le&&(0,d.jsx)(F,{fallbackRender:function(e){var n=e.error,t=e.resetErrorBoundary;return(0,d.jsxs)("div",{children:[(0,d.jsxs)("h2",{children:["An error occurred: ",n.message]}),(0,d.jsx)("button",{onClick:t,children:"Try again"})]})},children:!S&&(0,d.jsx)("div",{id:"desktopAdDiv",children:(0,d.jsx)("div",{className:(null===J||void 0===J?void 0:J.toggleAdCode)||C.Adsize90?"desktopAd dh90 noAdLabel":"desktopAd dh250 noAdLabel",style:ue?{top:0,zIndex:10}:{},children:!L&&(0,d.jsx)(X,(0,o.Z)({},je))})})}),(0,d.jsx)(B,(0,o.Z)({},De)),_,!C.fromStoryPage&&!C.hideFooter&&!x&&(0,d.jsx)(G,(0,o.Z)({},Se)),(!C.fromStoryPage||x)&&!C.hideFooter&&x&&(0,d.jsx)(Z,(0,o.Z)({},Se)),L&&ke.current&&!C.hideBottomAd&&(0,d.jsx)(d.Fragment,{children:x&&(null===he||void 0===he?void 0:he.length)>1?(0,d.jsx)(W,{stickyAds:he,containerClass:"bottomFixAd",innerIdDivClass:"bottomStickyAd",sectionName:ne,subSection:te,iabValue:se}):(0,d.jsx)(q,(0,o.Z)({},Te))}),(0,d.jsx)(P,(0,o.Z)({},He)),!S&&(0,d.jsx)("div",{id:"div-gpt-ad-gutterAds-0"}),!S&&(0,d.jsx)("div",{id:"div-gpt-ad-interstitial-popup"})]}),(!1===oe||L&&ie)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"layout home web-view ".concat(C.customClass||""),children:_}),(0,d.jsx)(P,(0,o.Z)({},He))]}),(0,d.jsx)("div",{id:"loginIntervention"}),(0,d.jsx)("div",{id:"GOTpopupEcho",style:{display:"none"}}),(0,d.jsx)("div",{id:"onBoardingDiv"}),(0,d.jsx)("div",{id:"htEchoVoucher"}),(0,d.jsx)("div",{id:"loginDivForEng"}),(0,d.jsx)("div",{id:"cirSdkDiv"}),Y&&!me&&(0,d.jsx)("div",{id:"ECH_HT_MWEB_ALL_SIDE_BUT_ATF",className:"openAppButtonEcho dHide"}),re&&(0,d.jsx)(R,{pageType:$,sectionName:ne})]})}},34388:function(e,n,t){t.d(n,{H1:function(){return _},K:function(){return l},TU:function(){return h},Xx:function(){return A},h6:function(){return r},m3:function(){return y},mR:function(){return a},sn:function(){return k},wz:function(){return b}});var o=t(10253),i=t(29815),d=t(16055),l=function(e){if(e){var n,t,o,i,d,l,a,s,u,c,v,p,m=(null===e||void 0===e?void 0:e.headline)||(null===e||void 0===e?void 0:e.mobileHeadline),f=null===e||void 0===e||null===(n=e.metadata)||void 0===n?void 0:n.aiContent,g=null===e||void 0===e?void 0:e.id,w=null===e||void 0===e||null===(t=e.metadata)||void 0===t?void 0:t.section,_=null===e||void 0===e||null===(o=e.metadata)||void 0===o?void 0:o.url,k=(null===e||void 0===e||null===(i=e.metadata)||void 0===i||null===(d=i.typeOfFormat)||void 0===d?void 0:d.toLowerCase().replace(" ","-"))||"",A=null===e||void 0===e||null===(l=e.metadata)||void 0===l||null===(a=l.authorsList)||void 0===a||null===(s=a[0])||void 0===s?void 0:s.name,b=r(null===e||void 0===e?void 0:e.listElement,"flipkartAds"),C=r(null===e||void 0===e?void 0:e.listElement,"amazonAds"),T=r(null===e||void 0===e?void 0:e.listElement,"cromaAds"),j=r(null===e||void 0===e?void 0:e.listElement,"flipkartAds25"),H=r(null===e||void 0===e?void 0:e.listElement,"d2cBrandsAds");return{title:m,automated:f,section:w,storyId:g,storyUrl:_,domain:"HT",formatType:k,author:A,subSection:null===e||void 0===e||null===(u=e.metadata)||void 0===u?void 0:u.subSection,flipkartIds:b,amazonIds:C,ajioIds:T,flipkart25Ids:j,d2cBrandsIds:H,category:null===(v=y(null===e||void 0===e||null===(c=e.metadata)||void 0===c?void 0:c.productWidgetData))||void 0===v||null===(p=v.articleDetail)||void 0===p?void 0:p.category,isStaging:!1,loanJourneyEligible:h({listElement:null===e||void 0===e?void 0:e.listElement})}}return null},a=function(e,n){var t=null===e||void 0===e?void 0:e.filter((function(e){return"embed"===(null===e||void 0===e?void 0:e.type)}));return null===t||void 0===t?void 0:t.flatMap((function(e){var t;return"embed"===(null===e||void 0===e?void 0:e.type)&&(null===e||void 0===e||null===(t=e[n])||void 0===t?void 0:t.length)?null===e||void 0===e?void 0:e[n]:[]}))},r=function(e,n){var t=null===e||void 0===e?void 0:e.filter((function(e){return"embed"===(null===e||void 0===e?void 0:e.type)}));return null===t||void 0===t?void 0:t.flatMap((function(e){var t,o;return"embed"===(null===e||void 0===e?void 0:e.type)&&(null===e||void 0===e||null===(t=e[n])||void 0===t?void 0:t.length)?null===e||void 0===e||null===(o=e[n])||void 0===o?void 0:o.flatMap((function(e){return(null===e||void 0===e?void 0:e.value)||[]})):[]}))},s=new Set(["amazon.com","amazon.in","flipkart.com","shopnow.hindustantimes.com"]),u=function(e){return String(e||"").toLowerCase().replace(/^www\./,"")},c=function(e){if(!e||"string"!==typeof e)return!1;try{var n=new URL(e);return!s.has(u(n.hostname))}catch(t){return!1}},v=new Set(["htshopnow"]),p=function(e){return v.has(function(e){return String(e||"").toLowerCase().replace(/[^a-z0-9]/g,"")}(e))},m=function(e){var n;return p(null===e||void 0===e||null===(n=e.raw)||void 0===n?void 0:n.brandIdentifier)||!c(null===e||void 0===e?void 0:e.url)},f=function(e){var n=(null===e||void 0===e?void 0:e.url)||(null===e||void 0===e?void 0:e.productAffiliateUrl),t=[null===e||void 0===e?void 0:e.alternateProduct,null===e||void 0===e?void 0:e.alternate2Product,null===e||void 0===e?void 0:e.alternate3Product].filter(Boolean).map((function(e){return(null===e||void 0===e?void 0:e.url)||(null===e||void 0===e?void 0:e.productAffiliateUrl)}));return[n].concat((0,i.Z)(t)).filter(Boolean)},g={amazonAds:"https://www.amazon.in/",flipkartAds25:"https://www.flipkart.com/",flipkartAds:"https://www.myntra.com/",cromaAds:"https://www.croma.com/",ajioAds:"https://www.ajio.com/",d2cBrandsAds:"https://d2c-brand-store.example/"},w=function(e){var n=[];return(e||[]).filter((function(e){return"embed"===(null===e||void 0===e?void 0:e.type)})).forEach((function(e){Object.entries(g).forEach((function(t){var i=(0,o.Z)(t,2),d=i[0],l=i[1];((null===e||void 0===e?void 0:e[d])||[]).forEach((function(e){var t=(null===e||void 0===e?void 0:e.url)||(null===e||void 0===e?void 0:e.productAffiliateUrl)||(null===e||void 0===e?void 0:e.affiliateUrl);n.push({url:t||l,raw:e})}))}))})),n},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.productData,t=e.listElement;return!!d.k&&(Array.isArray(n)?!n.flatMap(f).some(c):w(t).every(m))},_=function(e){var n,t;if(!(null===e||void 0===e?void 0:e.containAffiliateEmbed))return"";var o=(null===e||void 0===e||null===(n=e.metadata)||void 0===n?void 0:n.typeOfFormat)?"-"+e.metadata.typeOfFormat.toLowerCase().replaceAll(" ","-"):"",i=(null===e||void 0===e||null===(t=e.metadata)||void 0===t?void 0:t.selectedStream)?"-"+e.metadata.selectedStream.toLowerCase():"";return"affiliate-listicle".concat(o).concat(i)},k=function(e){var n;if("liveblog"===(null===e||void 0===e?void 0:e.type)&&(null===e||void 0===e?void 0:e.containAffiliateEmbed))return"amazon";if(null===e||void 0===e||null===(n=e.listElement)||void 0===n?void 0:n.length){var t,o,i,d,l,a=[];if((null===e||void 0===e||null===(t=e.metadata)||void 0===t?void 0:t.embedSnapdealCount)>0){var r=e.listElement.find((function(e){var n;return"embed"===(null===e||void 0===e?void 0:e.type)&&"emeritus"===(null===e||void 0===e?void 0:e.subType)&&(null===e||void 0===e||null===(n=e.embed)||void 0===n?void 0:n.body)})),s=e.listElement.find((function(e){var n;return(null===e||void 0===e||null===(n=e.snapdealAds)||void 0===n?void 0:n.length)>0}));if(r){var u,c,v=r.embed.body;if(v.includes("college-vidya"))a.push("college vidya");else if(v.includes("vc-now"))a.push("vcnow");else if(v.includes("symbiosis"))a.push("symbiosis");else if(v.includes("ct-university"))a.push("ct-university");else if(v.includes("larsen-toubro"))a.push("larsentoubro");else if((null===s||void 0===s||null===(u=s.snapdealAds)||void 0===u?void 0:u.length)>0&&(null===(c=null===s||void 0===s?void 0:s.snapdealAds[0])||void 0===c?void 0:c.key)){var p;a.push(null===(p=s.snapdealAds[0])||void 0===p?void 0:p.key)}else a.push("emeritus")}}return(null===e||void 0===e||null===(o=e.metadata)||void 0===o?void 0:o.embedAmazonCount)>0&&a.push("amazon"),(null===e||void 0===e||null===(i=e.metadata)||void 0===i?void 0:i.embedFlipkartCount)>0&&a.push("myntra"),(null===e||void 0===e||null===(d=e.metadata)||void 0===d?void 0:d.embedCromaCount)>0&&a.push("ajio"),(null===e||void 0===e||null===(l=e.metadata)||void 0===l?void 0:l.embedFlipkart25Count)>0&&a.push("flipkart"),a.join(",")}return null},A=function(e,n){if(!n)return"";var t=e.embedAmazonCount,o=e.embedCromaCount,i=e.embedFlipkartCount,d=e.embedSnapdealCount,l=e.embedFlipkart25Count;return"{embed_amazon_count: ".concat(t||0,",embed_flipkart_count: ").concat(i||0,",embed_snapdeal_count: ").concat(d||0,",embed_croma_count: ").concat(o||0,",embed_flipkart25_count: ").concat(l||0,",embed_rest_count: ").concat(0,"}")},y=function(e){if("string"===typeof e)try{return JSON.parse(e)}catch(n){return{items:[]}}return e},b=function(e){if(!e)return 0;var n=e.embedAmazonCount,t=e.embedCromaCount,o=e.embedD2CBrandsCount,i=e.embedFlipkart25Count;return n+e.embedFlipkartCount+i+t+e.embedSnapdealCount+o}},48691:function(e,n,t){t.d(n,{G:function(){return o}});var o={ads:{desktopView:{topAds:[{adCode:"/1055314/Hindustantimes_Desktop_Home/HT_Desk_Home_Header_Multisize",adSize:[[728,90],[970,90],[1100,250],[1100,90],[980,90],[970,90],[980,250],[980,200],[970,250]],slotId:"div-gpt-ad-1522659065797"}],middleAds:[{adCode:"/1055314/Hindustantimes_Desktop_Home/HT_Desk_Home_A_300x250",adSize:[[728,90],[970,90],[1100,250],[1100,90],[980,90],[970,90],[980,250],[980,200],[970,250]]},{adCode:"/1055314/Hindustantimes_Desktop_Home/HT_Desk_Home_B_300x250",adSize:[[728,90],[970,90],[1100,250],[1100,90],[980,90],[970,90],[980,250],[980,200],[970,250]]},{adCode:"/1055314/Hindustantimes_Desktop_Home/HT_Desk_Home_C_300x250",adSize:[[728,90],[970,90],[1100,250],[1100,90],[980,90],[970,90],[980,250],[980,200],[970,250]]},{adCode:"/1055314/Hindustantimes_Desktop_Home/HT_Desk_Home_D_300x250",adSize:[[728,90],[970,90],[1100,250],[1100,90],[980,90],[970,90],[980,250],[980,200],[970,250]]}],rightAds:[{adCode:"/1055314/Hindustantimes_Desktop_Home/HT_Desk_Home_Top_Multisize",adSize:[300,250],slotId:"div-gpt-ad-1341380965417-4"},{adCode:"/1055314/Hindustantimes_Desktop_Home/HT_Desk_Home_Middle_Multisize",adSize:[[300,250],[300,600]],slotId:"div-gpt-ad-1341380965417"},{adCode:"/1055314/Hindustantimes_Desktop_Home/HT_Desk_Home_Middle_A_Multisize",adSize:[[300,250],[300,600]],slotId:"div-gpt-ad-1341380965417"},{adCode:"/1055314/Hindustantimes_Desktop_Home/HT_Desk_Home_Middle_B_Multisize",adSize:[[300,250],[300,600]],slotId:"div-gpt-ad-1341380965417"},{adCode:"/1055314/Hindustantimes_Desktop_Home/HT_Desk_Home_Middle_D_Multisize",adSize:[[300,250],[300,600]],slotId:"div-gpt-ad-1341380965417"},{adCode:"/1055314/Hindustantimes_Desktop_Home/HT_Desk_Home_Bottom_Multisize",adSize:[[300,250],[300,600]],slotId:"div-gpt-ad-1341380965417"}],gutterAds:"/1055314/Hindustantimes_Desktop_Home/HT_Desk_Home_Gutter",sponsorAds:[{adCode:"/1055314/HT_Desk_Home_BS_A_Native",adSize:["fluid",[530,196]],slotId:"div-gpt-ad-1522659065797"},{adCode:"/1055314/HT_Desk_Home_BS_B_Native",adSize:["fluid",[530,196]],slotId:"div-gpt-ad-1522659065797"}]},mobileView:{topAds:[{adCode:"/1055314/Hindustantimes_Mweb_Home/HT_WAP_Home_Masthead_Multisize",adSize:[[300,250],[336,280],[250,250]],slotId:"div-gpt-ad-1524814893923"}],middleAds:[{adCode:"/1055314/Hindustantimes_Mweb_Home/HT_WAP_Home_A_Multisize",adSize:[[1,1],[300,250],[336,280],[250,250]]},{adCode:"/1055314/Hindustantimes_Mweb_Home/HT_WAP_Home_B_Multisize",adSize:[[300,250],[336,280],[250,250]]},{adCode:"/1055314/Hindustantimes_Mweb_Home/HT_WAP_Home_C_Multisize",adSize:[[300,250],[336,280],[250,250]]},{adCode:"/1055314/Hindustantimes_Mweb_Home/HT_WAP_Home_D_Multisize",adSize:[[300,250],[336,280],[250,250]]}],stickyAd:[{adCode:"/1055314/Hindustantimes_Mweb_Home/HT_WAP_Home_Sticky_Multisize",adSize:[[320,50],[300,50]]}],sponsorAds:[{adCode:"/1055314/HT_WAP_Home_BS_A_Native",adSize:["fluid",[391,359]],slotId:"div-gpt-ad-1522659065797"},{adCode:"/1055314/HT_WAP_Home_BS_B_Native",adSize:["fluid",[391,359]],slotId:"div-gpt-ad-1522659065797"}]}}}}}]);