1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[76440,7059,33721,35800,18779,37162],{7059:function(e){e.exports=function(){"use strict";var e="undefined"!=typeof document&&document.documentMode,t={rootMargin:"0px",threshold:0,load:function(t){if("picture"===t.nodeName.toLowerCase()){var r=t.querySelector("img"),n=!1;null===r&&(r=document.createElement("img"),n=!0),e&&t.getAttribute("data-iesrc")&&(r.src=t.getAttribute("data-iesrc")),t.getAttribute("data-alt")&&(r.alt=t.getAttribute("data-alt")),n&&t.append(r)}if("video"===t.nodeName.toLowerCase()&&!t.getAttribute("data-src")&&t.children){for(var o=t.children,i=void 0,a=0;a<=o.length-1;a++)(i=o[a].getAttribute("data-src"))&&(o[a].src=i);t.load()}t.getAttribute("data-poster")&&(t.poster=t.getAttribute("data-poster")),t.getAttribute("data-src")&&(t.src=t.getAttribute("data-src")),t.getAttribute("data-srcset")&&t.setAttribute("srcset",t.getAttribute("data-srcset"));var c=",";if(t.getAttribute("data-background-delimiter")&&(c=t.getAttribute("data-background-delimiter")),t.getAttribute("data-background-image"))t.style.backgroundImage="url('"+t.getAttribute("data-background-image").split(c).join("'),url('")+"')";else if(t.getAttribute("data-background-image-set")){var s=t.getAttribute("data-background-image-set").split(c),d=s[0].substr(0,s[0].indexOf(" "))||s[0];d=-1===d.indexOf("url(")?"url("+d+")":d,1===s.length?t.style.backgroundImage=d:t.setAttribute("style",(t.getAttribute("style")||"")+"background-image: "+d+"; background-image: -webkit-image-set("+s+"); background-image: image-set("+s+")")}t.getAttribute("data-toggle-class")&&t.classList.toggle(t.getAttribute("data-toggle-class"))},loaded:function(){}};function r(e){e.setAttribute("data-loaded",!0)}var n=function(e){return"true"===e.getAttribute("data-loaded")},o=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document;return e instanceof Element?[e]:e instanceof NodeList?e:t.querySelectorAll(e)};return function(){var e,i,a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".lozad",c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},s=Object.assign({},t,c),d=s.root,l=s.rootMargin,u=s.threshold,p=s.load,g=s.loaded,f=void 0;"undefined"!=typeof window&&window.IntersectionObserver&&(f=new IntersectionObserver((e=p,i=g,function(t,o){t.forEach((function(t){(0<t.intersectionRatio||t.isIntersecting)&&(o.unobserve(t.target),n(t.target)||(e(t.target),r(t.target),i(t.target)))}))}),{root:d,rootMargin:l,threshold:u}));for(var m,_=o(a,d),h=0;h<_.length;h++)(m=_[h]).getAttribute("data-placeholder-background")&&(m.style.background=m.getAttribute("data-placeholder-background"));return{observe:function(){for(var e=o(a,d),t=0;t<e.length;t++)n(e[t])||(f?f.observe(e[t]):(p(e[t]),r(e[t]),g(e[t])))},triggerLoad:function(e){n(e)||(p(e),r(e),g(e))},observer:f}}}()},23229:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/cricket/predictors/my-rewards",function(){return r(87400)}])},87400:function(e,t,r){"use strict";r.r(t),r.d(t,{PredictorFetcher:function(){return A},__N_SSP:function(){return N},default:function(){return R}});var n=r(47568),o=r(10253),i=r(34051),a=r.n(i),c=r(85893),s=r(9008),d=r.n(s),l=r(11719),u=r(39480),p=r(36077),g=r(82048),f=r(25749),m=r(64377),_=r(621),h=r(67294),v=r(17131),w=r.n(v),y=function(){var e=(0,h.useState)(!1),t=e[0],r=e[1],o=(0,h.useState)([]),i=o[0],s=o[1],d=function(){var e=(0,n.Z)(a().mark((function e(t){var r,n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat(u.Ch_).concat(t));case 3:return r=e.sent,e.next=6,r.json();case 6:(null===(n=e.sent)||void 0===n?void 0:n.data)&&s(n.data),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.error("error",e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(t){return e.apply(this,arguments)}}();if((0,h.useEffect)((function(){var e=(0,_.ej)("token"),t=(0,_.ej)("_ht_clientid");e&&t&&"undefined"!==e?d(e):r(!0)}),[]),t||0===(null===i||void 0===i?void 0:i.length))return(0,c.jsxs)("div",{className:w().noRankAvail,children:[(0,c.jsx)("div",{className:w().giftImg,children:(0,c.jsx)("img",{src:"https://www.hindustantimes.c
1om/static-content/1y/ht/predictor/predictGift.png",alt:"",title:"",loading:"lazy"})}),(0,c.jsx)("div",{className:w().noRankHead,children:"No Rewards Available"}),(0,c.jsx)("p",{children:"Participate in prediction to win amazing vouchers and rewards"}),(0,c.jsx)("a",{onClick:function(e){e.preventDefault(),window.location.href="/cricket/predictors/predictions",dataLayer.push({event:"prediction_start_clicked",widget_name:"Start Prediction Now",section_name:"cricket",page_type:"datapage",user_id:(0,_.ej)("_ht_clientid")||"",user_login_status:(0,_.ej)("token")&&!(0,_.ej)("token").includes("amp-")?"logged_in":"non_logged_in",clientID:(0,_.ej)("_ht_clientid")||null,login_status:(0,_.ej)("token")&&!(0,_.ej)("token").includes("amp-")?"logged_in":"non_logged_in",data_source:"non_amp",is_premium_article:"false",domain_name:"HT"})},href:"/cricket/predictors/predictions",className:w().whiteButton,children:(0,c.jsx)("span",{children:"Start Prediction Now"})})]});return(0,c.jsx)("div",{className:w().cardsGrup,children:null===i||void 0===i?void 0:i.map((function(e,t){var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"2025-05-24T18:30:00.000+00:00",t=new Date(e).toLocaleDateString("en-US",{day:"numeric",month:"long",year:"numeric"}),r=new Date,n=new Date(e).getTime()-r.getTime(),o=Math.ceil(n/864e5);return o<0?{expiryDate:(0,c.jsx)("div",{className:w().validityExpire,children:" Expired "}),expired:!0}:0===o?{expiryDate:"Expiring today",expired:!1}:2===o||3===o||1===o?{expiryDate:(0,c.jsxs)("div",{className:w().validityExpire,children:[(0,c.jsx)("img",{src:"https://www.hindustantimes.com/static-content/1y/ht/predictor/timerIcon.png",alt:"",title:"",loading:"lazy"}),"Expires in ".concat(o," ").concat(1===o?"day":"days")]}),expired:!1}:o>3?{expiryDate:(0,c.jsx)("div",{className:w().validThrough,children:"Valid: ".concat(t)}),expired:!1}:void 0}(e.expiryDate),n=r.expiryDate,o=r.expired;return(0,c.jsxs)("div",{className:"".concat(w().predicCard," ").concat(o?w().expired:null),onClick:function(t){var r;null===window||void 0===window||null===(r=window.bottomSlider)||void 0===r||r.render({element:document.querySelector("#loginIntervention"),bannerImageURL:e.voucherConfig.vendorLogo,bannerHeading:"Yay! you won a \u20b9"+e.voucherConfig.discountValue+" voucher",description:e.voucherConfig.description,validity:e.expiryDate,couponCode:e.voucherCode,availOfferLink:e.voucherConfig.howToAvail,TnCLink:e.voucherConfig.tnc}),dataLayer.push({event:"voucher_clicked",widget_name:"Voucher Clicked",section_name:"Cricket",page_type:"data page",user_id:(0,_.ej)("_ht_clientid")||"",user_login_status:(0,_.ej)("token")&&!(0,_.ej)("token").includes("amp-")?"logged_in":"non_logged_in",data_source:"non_amp",is_premium_article:"false",domain_name:"HT"})},children:[(0,c.jsxs)("div",{className:w().flexColumn,children:[(0,c.jsxs)("div",{className:w().itemTitle,children:[(0,c.jsx)("span",{className:w().itemImgSec,children:(0,c.jsx)("div",{className:w().imgPlaceHolder,children:(0,c.jsx)("img",{src:e.voucherConfig.vendorLogo,alt:"",title:"",loading:"lazy"})})}),(0,c.jsx)("span",{children:e.voucherConfig.voucherCategory})]}),n]}),(0,c.jsx)("div",{className:w().cardTtitle,children:e.voucherConfig.voucherName}),(0,c.jsx)("p",{children:e.voucherConfig.description}),!o&&(0,c.jsxs)("div",{className:w().couponCopySec,children:[(0,c.jsxs)("div",{className:w().couponCode,children:["Coupon Code: ",(0,c.jsx)("span",{children:e.voucherCode})]}),(0,c.jsxs)("button",{className:w().couponCopy,onClick:function(t){return function(e,t){var r;t.stopPropagation(),(null===window||void 0===window?void 0:window.navigator)&&(null===window||void 0===window||null===(r=window.navigator)||void 0===r?void 0:r.clipboard)?(null===window||void 0===window||window.navigator.clipboard.writeText(e),null===dataLayer||void 0===dataLayer||dataLayer.push({event:"predictor_intervention_clicked",intervention_type:"Coupon Copy",section_name:"cricket",page_type:"datapage",user_id:(0,_.ej)("_ht_clientid")||"",user_login_status:(0,_.ej)("token")&&!(0,_.ej)("token").includes("amp-")?"logged_in":"non_logged_in",clientID:(0,_.ej)("_ht_clientid")||null,login_status:(0,_.ej)("token")&&!(0,_.ej)("token").includes("amp-")?"logged_in":"non_logged_in",data_source:"non_amp",is_premium_article:"false",domain_name:"HT",event_label_2:"{{ event_label_2 }}",event_label_3:"{{ event_label_3 }}",status:"played & result out",mode_type:"non-expanded"})):console.error("Clipboard API not supported")}(e.voucherCode,t)},children:[(0,c.jsx)("span",{className:w().copySec,children:(0,c.jsx)("img",{src:"https://www.hindustantimes.c
1om/static-content/1y/ht/predictor/predictCopy.png",alt:"",title:"",loading:"lazy"})}),(0,c.jsx)("strong",{children:"Copy"})]})]})]},t)}))})},b=r(89388),x=r(60355),j=r(31838),k=r(57599),C=r.n(k),N=!0;function R(e){var t,r,n=(0,_.KV)("large"),o=null===j.Xj||void 0===j.Xj||null===(t=j.Xj.ads)||void 0===t||null===(r=t.desktopView)||void 0===r?void 0:r.rightAds;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(d(),{children:(0,c.jsx)("script",{type:"module",src:"https://images.hindustantimes.com/sso/prod/bottom-sdk/bottom-slider-sdk.js"})}),(0,c.jsx)(m.Z,{headProp:e}),(0,c.jsx)(f.Z,{data:e}),(0,c.jsxs)("section",{className:n?"deks container":"mobile container",children:[(0,c.jsx)("section",{className:"mainContainer twoColumn ".concat(C().predicContainer),children:(0,c.jsx)("div",{className:C().predictorPage,children:(0,c.jsxs)("div",{className:C().container,children:[(0,c.jsxs)("div",{className:C().pageHead,children:[(0,c.jsx)("img",{src:"https://www.hindustantimes.com/static-content/1y/ht/predictor/crickitLogo.png",alt:"HT Cricket",title:"HT Cricket",loading:"lazy"}),(0,c.jsx)("strong",{children:"Predictor"})]}),(0,c.jsxs)("div",{className:C().secArea,children:[(0,c.jsx)(b.Z,{activeTab:"Reward"}),(0,c.jsx)(y,{contextId:e.contextId})]})]})})}),n&&(0,c.jsxs)("aside",{className:"rightContainer",children:[(0,c.jsx)(p.default,{fallbackRender:function(e){var t=e.error;return console.log(t)},children:(0,c.jsx)(g.default,{adData:o[0],containerClass:"adHeight270 right-top-ad",innerIdDivClass:"storyAd pt10",sectionName:e.sectionName,subSection:e.subSectionItem,pageType:e.pageType,landingAd:!0})}),(0,c.jsx)(x.default,{adData:o,pageType:e.pageType,sectionName:e.sectionName,subSection:e.subSectionItem})]})]})]})}var A=function(){var e=(0,n.Z)(a().mark((function e(t){var r,n,i,c,s,d;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=1,e.t0=o.Z,e.next=6,Promise.all([(0,_._i)("".concat(u.zBH,"cricket/predictors/my-rewards")),(0,_._i)("https://www.hindustantimes.com/static-content/1y/predictorConstestId.json")]);case 6:e.t1=e.sent,i=(0,e.t0)(e.t1,2),r=i[0],n=i[1],e.next=16;break;case 13:e.prev=13,e.t2=e.catch(1),console.error(e.t2);case 16:return c="https://".concat(t.req.headers.host).concat(t.resolvedUrl),s=null===r||void 0===r?void 0:r.breadcrumbList,d={breadcrumbList:s},e.abrupt("return",{props:{pageData:r||{},pageType:"world-cup",subSectionItem:"",sectionName:"predictions",subSection:"",listItemSchema:(null===r||void 0===r?void 0:r.listCollectionStories)?(0,l.Yp)(r):{},webPageSchema:(null===r||void 0===r?void 0:r.keywords)?(0,l.aQ)(r,null,c,["H1"]):{},breadcrumbListSchema:(null===d||void 0===d?void 0:d.breadcrumbList)?(0,l.Xn)(d):{},pageFullUrl:c,makeLogoHeadingInH2:!0,hideBottomAd:!1,pageUrl:t.resolvedUrl,faqSchema:(0,l.NX)(r),dataPage:!0,showLastModifiedMeta:!0,showGlobalScss:!1,showLayout:!0,cricketHeader:!0,showL2:!1,contextId:n}});case 20:case"end":return e.stop()}}),e,null,[[1,13]])})));return function(t){return e.apply(this,arguments)}}()},17131:function(e){e.exports={transition:"Rewards_transition__KKPme",spriteImg:"Rewards_spriteImg__3iKlw",cardsGrup:"Rewards_cardsGrup__nwwGq",predicCard:"Rewards_predicCard__YNjFI",rankingImg:"Rewards_rankingImg__YICOy",giftImg:"Rewards_giftImg__igNwy",reportImg:"Rewards_reportImg__z_H2F",flexCol:"Rewards_flexCol__nvTQZ",cardTtitle:"Rewards_cardTtitle__z5DmT",couponCopySec:"Rewards_couponCopySec__DNgnQ",expired:"Rewards_expired__BHno5",validityExpire:"Rewards_validityExpire__4_GVL",flexColumn:"Rewards_flexColumn__mCwep",noRankAvail:"Rewards_noRankAvail__HzL_N",whiteButton:"Rewards_whiteButton__K0aDQ",noRankHead:"Rewards_noRankHead__Fn44M",imgPlaceHolder:"Rewards_imgPlaceHolder__9mzAC",itemTitle:"Rewards_itemTitle__4V5tY",validThrough:"Rewards_validThrough__06VQP",couponCode:"Rewards_couponCode__Mfiha",couponCopy:"Rewards_couponCopy__pbR7Y",itemImgSec:"Rewards_itemImgSec__HdwtG",copySec:"Rewards_copySec__Hy_hP"}},35800:function(e,t,r){!function(e,t){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var n=r(t);
1function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}var a=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length!==t.length||e.some((function(e,r){return!Object.is(e,t[r])}))},c={error:null},s=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).state=c,t.resetErrorBoundary=function(){for(var e,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];null==t.props.onReset||(e=t.props).onReset.apply(e,n),t.reset()},t}i(t,e),t.getDerivedStateFromError=function(e){return{error:e}};var r=t.prototype;return r.reset=function(){this.setState(c)},r.componentDidCatch=function(e,t){var r,n;null==(r=(n=this.props).onError)||r.call(n,e,t)},r.componentDidUpdate=function(e,t){var r,n,o=this.state.error,i=this.props.resetKeys;null!==o&&null!==t.error&&a(e.resetKeys,i)&&(null==(r=(n=this.props).onResetKeysChange)||r.call(n,e.resetKeys,i),this.reset())},r.render=function(){var e=this.state.error,t=this.props,r=t.fallbackRender,o=t.FallbackComponent,i=t.fallback;if(null!==e){var a={error:e,resetErrorBoundary:this.resetErrorBoundary};if(n.isValidElement(i))return i;if("function"===typeof r)return r(a);if(o)return n.createElement(o,a);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(n.Component);function d(e,t){var r=function(r){return n.createElement(s,t,n.createElement(e,r))},o=e.displayName||e.name||"Unknown";return r.displayName="withErrorBoundary("+o+")",r}function l(e){var t=n.useState(null),r=t[0],o=t[1];if(null!=e)throw e;if(null!=r)throw r;return o}e.ErrorBoundary=s,e.useErrorHandler=l,e.withErrorBoundary=d,Object.defineProperty(e,"__esModule",{value:!0})}(t,r(67294))},82337:function(e,t,r){"use strict";
1function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}function o(e){return n(e)}r.d(t,{Z:function(){return c}});var i=r(82222);function a(e,t){return!t||"object"!==(0,i.Z)(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function c(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=o(e);if(t){var i=o(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return a(this,r)}}},88029:function(e,t,r){"use strict";function n(e,t){return n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(e,t)}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}r.d(t,{Z:function(){return o}})},82222:function(e,t,r){"use strict";function n(e){return e&&e.constructor===Symbol?"symbol":typeof e}r.d(t,{Z:function(){return n}})}},function(e){e.O(0,[80911,85518,621,11719,31838,25749,46019,21286,25891,37092,91040,49774,92888,40179],(function(){return t=23229,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.