1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9603],{83648:function(e,t,i){var a=i(3827);i(64090);var l=i(74404),n=i.n(l),s=i(91328);let r=e=>{let{items:t,catalogId:i,isShowSchema:l=!0,isFromMicrosite:n=!1}=e,r=l?{itemScope:!0,itemType:"https://schema.org/BreadcrumbList"}:{},o=l?{itemProp:"itemListElement",itemScope:!0,itemType:"https://schema.org/ListItem"}:{};return(0,a.jsx)("div",{...r,className:"navigation",id:"product-breadcrumb",children:(0,a.jsx)("nav",{className:"py-12 ".concat(n?"px-16 sm:px-40":"sm:px-0"),"aria-label":"breadcrumb",id:"breadcrumbs",children:(0,a.jsx)("ul",{className:"flex w-full flex-wrap items-center truncate md:flex-nowrap",children:null==t?void 0:t.map((e,n)=>{let{url:r,label:c}=e,d="india"===i?r:0===n?"/".concat(i,"/gifts-lp"):"/".concat(i).concat(r);return n===t.length-1?(0,a.jsxs)("li",{className:"inline-flex items-center",...o,children:[(0,a.jsx)(s.default,{Tag:"p",variant:"h6",classes:"flex items-center text-12 text-grey-500",itemProp:"name",children:c}),l&&(0,a.jsx)("meta",{itemProp:"position",content:String(n+1)})]},n):(0,a.jsxs)("li",{className:"inline-flex items-center capitalize",...o,children:[(0,a.jsx)("a",{href:d,itemProp:"item",className:"flex items-center text-12 text-grey-400 hover:text-blue-600 focus:text-blue-600 focus:outline-none",children:(0,a.jsx)("span",{itemProp:"name",children:c})}),(0,a.jsx)("span",{"aria-hidden":"true",className:"flex size-12 flex-shrink-0 items-center justify-center text-16 text-grey-400",children:"/"}),l&&(0,a.jsx)("meta",{itemProp:"position",content:String(n+1)})]},n)})})})})};r.propTypes={items:n().arrayOf(n().shape({url:n().string,label:n().string.isRequired,svg:n().bool}
1)).isRequired,catalogId:n().string.isRequired,isShowSchema:n().bool,isFromMicrosite:n().bool},t.Z=r},45062:function(e,t,i){i.r(t);var a=i(3827),l=i(74404),n=i.n(l),s=i(86183),r=i(64090),o=i(1729),c=i(44923),d=i(96333),u=i(52426),p=i(47907);let m=e=>{let{appBannerData:t}=e,[i,l]=(0,r.useState)(!1),{imgHeight:n,imgWidth:m,appDeepLink:g,imageUrl:v}=t,h=n/m*100,{trackEvent:f}=(0,d.Z)(),x=(0,p.usePathname)();return(0,r.useEffect)(()=>{if("true"!==o.default.getCookie(c.uo)){l(!0);let e=document.getElementById("header");e&&e.classList.replace("sticky","relative")}},[]),(0,r.useEffect)(()=>{let e=document.getElementById("header"),t=document.getElementById("appBanner"),a=document.getElementById("mainContent"),l=()=>{let l=h/100*window.innerWidth;window.scrollY>Math.round(l)?e&&i&&(e.classList.replace("relative","sticky"),t.classList.replace("relative","fixed"),a.style.marginTop="".concat(Math.round(l),"px")):e&&i&&(e.classList.replace("sticky","relative"),t.classList.replace("fixed","relative"),a.style.marginTop="0px")};return window.addEventListener("scroll",l),()=>{window.removeEventListener("scroll",l)}},[i]),(0,a.jsx)(a.Fragment,{children:i&&(0,a.jsxs)("div",{id:"appBanner",className:"relative duration-100 ease-in-out",style:{paddingTop:"".concat(h,"%")},children:[(0,a.jsx)("a",{href:g,children:(0,a.jsx)(s.default,{src:v,alt:"banner",width:m,height:n,isPriority:!0,className:"absolute left-0 top-0 object-contain"})}),(0,a.jsx)(s.default,{src:"/icons/close.svg",alt:"close icon",onClick:()=>{var e;l(!1);let t=document.getElementById("header"),i={page_name:x||"",page_type:(null===(e=window)||void 0===e?void 0:e.fnpPageType)||""};f(null===u.dR||void 0===u.dR?void 0:u.dR.appRedirectBannerClosed,i,["clevertap"]),t&&(t.classList.replace("relative","sticky"),o.default.setCookie(c.uo,"true",{maxAge:86400,path:"/",sameSite:"lax",secure:!0}))},tabIndex:0,width:20,height:20,className:"absolute right-8 top-7",isPriority:!1})]})})};m.propTypes={appBannerData:n().object.isRequired},t.default=r.memo(m)},43639:function(e,t,i){var a=i(3827),l=i(74404),n=i.n(l),s=i(20703),r=i(58445),o=i(44923),c=i(68605);let d=e=>{let{isMobile:t,bestRating:i,reviewCount:l,onScrollToReviews:n,isFromPLP:d=!1}=e;return(0,a.jsxs)("div",{className:"flex gap-8",children:[null!=i&&i>0&&(0,a.jsx)("div",{className:"mx-2 w-fit",children:(0,a.jsx)(r.default,{content:null==i?void 0:i.toString(),startIcon:"/icons/vector-rating.svg",variant:"outlined",size:"small",id:"category_rating",classes:"px-8 gap-4 py-4 text-fnp-500",color:"default"})}),null!=l&&l>0&&(0,a.jsxs)("button",{className:"flex items-center ".concat(t?"gap-4":"gap-6"," px-2 py-2 text-12 font-400 md:text-14 ").concat(d?"text-grey-400":"text-blue-600"),onClick:n,children:[(0,c.jV)(l),!d&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"mx-1",children:o.th}),(0,a.jsx)(s.default,{src:(0,c.m_)("/icons/review-chevron.svg"),alt:"filter-chevron_icon",width:t?12:15,height:t?12:15})]})]})]})};d.propTypes={isMobile:n().bool.isRequired,bestRating:n().number,reviewCount:n().number,onScrollToReviews:n().func,isFromPLP:n().bool},t.Z=d},91863:function(e,t,i){i.r(t),i.d(t,{ChatWithUs:function(){return d}});var a=i(3827),l=i(74404),n=i.n(l),s=i(73175),r=i(91328),o=i(64090),c=i(44843);let d=e=>{let{details:t}=e,[i,l]=(0,o.useState)("");return(0,o.useEffect)(()=>{(async function(){var e;let t=await (0,c.SR)();l(null==t?void 0:null===(e=t.callTime)||void 0===e?void 0:e.switch)})()},[]),(0,a.jsx)(a.Fragment,{children:"N"===i?(0,a.jsx)(s.default,{size:"textBtn",label:t.subheading2,classes:"text-grey-500 justify-start",buttonVariant:"underlineText",buttonTextSize:"small",onClick:()=>{if(window.fcWidget){var e,t;null===(e=window.fcWidget)||void 0===e||e.open(),null===(t=window.fcWidget)||void 0===t||t.show()}}}):(0,a.jsx)(r.default,{variant:"subheading4",Tag:"p",classes:"text-12 font-400 text-grey-500",children:t.subheading1})})};d.propTypes={details:n().object.isRequired},t.default=d},54167:function(e,t,i){i.r(t);var a=i(3827),l=i(64090),n=i(74468),s=i(86183),r=i(7580),o=i(44843),c=i(2152),d=i(16131);t.default=()=>{let[e,t]=(0,l.useState)(""),[i,u]=(0,l.useState)(""),[p,m]=(0,l.useState)(""),g=async t=>{t.stopPropagation(),e.length>0?r.Z.emailRegularExpression.test(e)?(m(await (0,o.fx)({emailId:e})),u("success")):u("error"):u("invalid")};return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"w-2/6 p-40","data-testid":"subscription-component",children:[(0,a.jsx)("h6",{className:"mb-2 text-14 font-500 capitalize text-fnp-500",children:c.uz}),(0,a.jsx)("p",{className:"text-12 leading-20 text-grey-500",children:c.OP}),(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(n.Z,{variant:"primary",id:"subscription-input",placeholder:d.I6.placeholder,type:"email",inputValue:e,isRequired:!0,isError:"invalid"===i||"error"===i,isSuccess:"success"===i,message:(()=>
1{switch(i){case"invalid":return c.Hu;case"error":return c.C_;case"success":return p;default:return""}})(),onChange:e=>{t(e.target.value)},onKeyPress:e=>{"Enter"===e.key&&g(e)},startAdornment:(0,a.jsx)(s.default,{src:"/icons/sms.svg",width:24,height:24,alt:"email icon",isPriority:!1}),endAdornment:(0,a.jsx)("div",{onClick:g,children:(0,a.jsx)(s.default,{src:"/icons/arrow.svg",width:20,height:20,alt:"right arrow icon",isPriority:!1})})})})]})})}},2152:function(e,t,i){i.d(t,{C_:function(){return s},Hu:function(){return n},OP:function(){return l},Zg:function(){return o},bP:function(){return r},uz:function(){return a}});let a="Subscribe Now",l="Get updates on promotions and offers coupons.",n="Email is Required",s="Invalid email address",r="View Less",o=e=>"View ".concat(e," More")},58503:function(e,t,i){i.r(t),i.d(t,{MicroSite:function(){return R}});var a=i(3827),l=i(64090),n=i(74404),s=i.n(n),r=i(84555),o=i(83648),c=i(44923),d=i(19185),u=i(68605),p=i(24232),m=i(43639),g=i(96079),v=i(30828),h=i(46723),f=i(74778),x=i(52426),w=i(96333),b=i(1729),y=i(79882),j=i(44239),S=i(44377),I=i(92217),N=i(57176);let k=(0,p.default)(()=>Promise.all([i.e(3926),i.e(5300),i.e(112)]).then(i.bind(i,4514)),{loadableGenerated:{webpack:()=>[4514]}}),C=(0,p.default)(()=>Promise.all([i.e(38),i.e(7258)]).then(i.bind(i,40038)),{loadableGenerated:{webpack:()=>[40038]}}),_=(0,p.default)(()=>Promise.all([i.e(1216),i.e(8244),i.e(3324),i.e(9134),i.e(6260)]).then(i.bind(i,56260)),{loadableGenerated:{webpack:()=>[56260]},ssr:!1}),E=(0,p.default)(()=>Promise.all([i.e(1216),i.e(6501)]).then(i.bind(i,76501)),{loadableGenerated:{webpack:()=>[76501]}}),R=e=>{var t;let{htmlData:i,headerName:n,categoryRatingValue:s,reviewResponse:p,breadcrumbs:R,widgets:P,categoryId:T,isMobile:M,catalogId:L,isShowSchema:A=!0,slugName:B="",freeBannerData:Z}=e,[F,O]=(0,l.useState)({}),[q,z]=(0,l.useState)(""),D=(0,v.v9)(e=>{var t;return null==e?void 0:null===(t=e.currencyList)||void 0===t?void 0:t.userSelectedCurrency}),G=(0,v.v9)(e=>{var t;return null==e?void 0:null===(t=e.locationLock)||void 0===t?void 0:t.isShowCartEmpty}),V=(0,v.v9)(e=>{var t;return null===(t=e.fus.loginDetail)||void 0===t?void 0:t.loggedin}),J=(0,I.Z)(),U=(0,v.I0)(),{init:W,trackEvent:Y}=(0,w.Z)(),H=window.location.pathname?window.location.pathname:"",K=window.location.href?window.location.href:"",Q=b.default.getCookie(y.lp),$=b.default.getCookie(y.kz),X=null==B?void 0:null===(t=B.toLowerCase())||void 0===t?void 0:t.includes(j.i.SMART_BUY),ee={complete_url:K,clean_url:H,internal_source_type:(0,h.Vb)(q),internal_source:q,page_name:x.PN.Microsite,page_type:x.PN.Microsite,login_status:V,is_international:L!==c.od.INDIA,plp_category:n,plp_rating:0===Number(s)?null:s,plp_review_count:null==p?void 0:p.total,is_pill_available:!1,is_banner_available:!1,is_filter_available:!1,is_microsite:!0,is_smartbuy_user:X},et=()=>Q?Object.values(JSON.parse(Q)).find(e=>e.catalogId===L)||{}:"";(0,l.useEffect)(()=>{if(L!==c.od.INDIA){let e=et(),t={maxAge:604800,path:"/",encode:decodeURIComponent};$!==(null==e?void 0:e.cityId)&&(b.default.deleteCookie(y.kz,t),b.default.deleteCookie(y.rA,t),b.default.setCookie(y.kz,(null==e?void 0:e.cityId)||"",t),b.default.setCookie(y.rA,(null==e?void 0:e.city)||"",t))}X&&b.default.setCookie(y.RL,y.q$,{maxAge:86400,path:"/",sameSite:"lax",secure:!0})},[]),(0,l.useEffect)(()=>{(async()=>{try{let e=await (0,d.D_)();e&&!e.status&&U((0,f.TJ)(e))}catch(e){console.log("Error fetching productsAttrTag",e)}})();let e=e=>{e.persisted&&window.location.reload()};window.addEventListener("pageshow",e);let{referrer:t}=document;return t&&z(new URL(t).pathname),(0,u.tu)(),U((0,f.DE)(!1)),W(),()=>{window.removeEventListener("pageshow",e)}},[]),(0,l.useEffect)(()=>{void 0!==V&&setTimeout(()=>{Y(x.dR.micrositePageViewed,ee,["clevertap"])},2e3)},[V]),(0,l.useEffect)(()=>{(0,h.Mj)(K.includes("-lp")?h.c7.CATEGORY:h.c7.INFO);let e=null;try{e=P&&"string"==typeof P?JSON.parse(P):null}catch(t){console.log("Error parsing widgets JSON",t),e=null}(null==e?void 0:e.length)&&(async()=>{let t={};for(let i of e){let e=await (0,d.DG)(null==i?void 0:i.productIds);t[i.divId]=(0,d.xc)(e)}O(t)})(),U((0,g.K6)(L)),U((0,g.Ep)(M))},[P]);let ei=()=>{(0,u.Qj)("reviews-section",148)};return(0,a.jsx)(a.Fragment,{children:J?(0,a.jsx)("div",{className:"fixed inset-0 z-50 mt-[92px] bg-white-900 md:mt-[35px]",children:(0,a.jsx)(S.Z,{showHeader:!0,showFilters:!0,productC
1ount:12,isMobile:M,hasBanner:L===c.od.INDIA&&!M&&!!(null==Z?void 0:Z.desktop)})}):(0,a.jsxs)("div",{id:"mainContent",children:[(0,a.jsx)(E,{}),(0,a.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/icon?family=Material+Icons"}),(0,a.jsxs)("div",{...A&&{itemType:"https://schema.org/Product",itemScope:!0},children:[!!n&&(0,a.jsx)("span",{itemProp:"name",style:{display:"none"},children:n}),(0,a.jsxs)(a.Fragment,{children:[R&&!M&&!(null==B?void 0:B.includes("-lp"))&&A&&(0,a.jsx)(o.Z,{items:R,catalogId:L,isShowSchema:A,isFromMicrosite:!0}),(0,a.jsx)("div",{id:"microSiteContent",className:"leading-none",children:i&&"string"==typeof i?(0,r.ZP)(i,{replace:e=>{var t,i;if(e.attribs&&"categoriesRating"===e.attribs.id)return s&&p?(0,a.jsx)(m.Z,{bestRating:s,reviewCount:null==p?void 0:p.total,onScrollToReviews:ei}):null;if(e.attribs&&"customersReviews"===e.attribs.id)return(null==p?void 0:null===(t=p.data)||void 0===t?void 0:t.length)?(0,a.jsx)("div",{className:"flex flex-wrap justify-start gap-16",children:(0,a.jsx)(C,{reviews:p.data,title:c.Gx,totalReviews:null==p?void 0:p.total,pageType:window.fnpPageType,categoryId:T,isMobile:M,viewAllStyle:"px-16 md:px-0",productName:n})}):null;if(P&&e.attribs&&e.attribs.id){let t=null;try{t="string"==typeof P?JSON.parse(P):P}catch(t){return console.log("Error parsing widgets JSON in createMarkUp",t),e}let l=null==t?void 0:t.find(t=>t.divId===e.attribs.id);if(l&&(null===(i=F[l.divId])||void 0===i?void 0:i.length))return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(k,{widgetTitle:null==l?void 0:l.title,productsList:F[l.divId],isMobile:M,promo:null==l?void 0:l.trackingParam,viewAll:null==l?void 0:l.viewAll,isShowEarliestDate:!1,pageType:null===h.c7||void 0===h.c7?void 0:h.c7.CATEGORY,titleStyle:"pl-0"})})}return e}}):null}),R&&M&&(0,a.jsx)(o.Z,{items:R,catalogId:L,isShowSchema:A,isFromMicrosite:!0})]})]}),(0,a.jsx)(_,{isMobile:M}),G&&(0,a.jsx)(N.default,{isMobile:M,selectedCurrency:D})]})})};R.propTypes={htmlData:s().string,headerName:s().string,categoryRatingValue:s().number,reviewResponse:s().object,breadcrumbs:s().arrayOf(s().shape({label:s().string.isRequired,url:s().string.isRequired,href:s().string,svg:s().bool})),widgets:s().string,categoryId:s().string,isMobile:s().bool,catalogId:s().string.isRequired,slugName:s().string,isShowSchema:s().bool,freeBannerData:s().object}},96079:function(e,t,i){i.d(t,{Ep:function(){return s},K6:function(){return r}});var a=i(46608);let l={isMobile:!1,catalogId:i(44923).od.INDIA},n=(0,a.createSlice)({name:"appConfig",initialState:l,reducers:{setIsMobile:(e,t)=>({...e,isMobile:t.payload}),setCatalogId:(e,t)=>({...e,catalogId:t.payload})}});t.ZP=n.reducer;let{setIsMobile:s,setCatalogId:r}=n.actions}}]); 2//# sourceMappingURL=9603-665e8aaac73055d9.js.map
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.