1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3706],{618:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var l=n(9008),a=n.n(l),o=n(67294),r=n(74985);const i={title:"NUTRABAY\u2122 | India's Authentic Supplement Store Online",description:"Buy Original Whey Proteins, Vitamins & much more. \u2714 10 Lakh+ Happy Customers. \u2714 7 Years+ Delivering Supplements \u2714 Free & Fast Shipping all over India",base_image:`${n(7878).dg}/others/Website-Sharing_OG-Image-Open-Graph-1769074788.webp`};function c(e){return t=>{var n,l,c,u,m,s,d,p,v,g,E,h,_,f,y,b,S,w;const F=null===t||void 0===t||null===(n=t.pageSEOMeta)||void 0===n?void 0:n.data,C=null===t||void 0===t?void 0:t.canonicalUrl,A=C?C.includes("?")?C.replace(/([^/])(\?)/,"$1/$2"):C.endsWith("/")?C:C+"/":C,k=(null===t||void 0===t||null===(l=t.socialPreview)||void 0===l?void 0:l.url)||A,N=null===t||void 0===t||null===(c=t.socialPreview)||void 0===c?void 0:c.image,L=null===t||void 0===t||null===(u=t.socialPreview)||void 0===u?void 0:u.title,H=null===t||void 0===t||null===(m=t.socialPreview)||void 0===m?void 0:m.description,Z=(null===t||void 0===t||null===(s=t.parentProductdetails)||void 0===s||null===(d=s.state)||void 0===d||null===(p=d.data)||void 0===p||null===(v=p.data)||void 0===v||null===(g=v.parent_details)||void 0===g?void 0:g.featured_image)||(null===t||void 0===t||null===(E=t.productCollectionList)||void 0===E||null===(h=E.data)||void 0===h||null===(_=h.collection)||void 0===_?void 0:_.top_banner_image_url),x=null===t||void 0===t||null===(f=t.productCollectionList)||void 0===f||null===(y=f.data)||void 0===y||null===(b=y.collection)||void 0===b?void 0:b.banner_image,$=null===t||void 0===t||null===(S=t.productCollectionList)||void 0===S||null===(w=S.data)||void 0===w?void 0:w.collection,U=null===$||void 0===$?void 0:$.seo_meta_title,P=null===$||void 0===$?void 0:$.seo_meta_description;let R=(null===t||void 0===t?void 0:t.pageRobotsDirective)||"index, follow";!1===(null===t||void 0===t?void 0:t.isInStock)?R="nofollow":!1===(null===$||void 0===$?void 0:$.page_index)&&!1===(null===$||void 0===$?void 0:$.page_follow)?R="noindex, nofollow":!1===(null===$||void 0===$?void 0:$.page_index)?R="noindex, follow":!1===(null===$||void 0===$?void 0:$.page_follow)&&(R="index, nofollow");const q=`${R}, max-image-preview:large, max-snippet:-1, max-video-preview:-1`;return o.createElement(o.Fragment,null,o.createElement(a(),null,o.createElement("meta",{name:"robots",content:q}),L?o.createElement(o.Fragment,null,o.createElement("title",null,L),o.createElement("meta",{property:"og:title",key:"og:title",content:L}),o.createElement("meta",{name:"twitter:title",content:L})):null!==F&&void 0!==F&&F.title?o.createElement(o.Fragment,null,o.createElement("title",null,null===F||void 0===F?void 0:F.title),o.createElement("meta",{property:"og:title",key:"og:title",content:null===F||void 0===F?void 0:F.title}),o.createElement("meta",{name:"twitter:title",content:null===F||void 0===F?void 0:F.title})):U?o.createElement(o.Fragment,null,o.createElement("title",null,U),o.createElement("meta",{property:"og:title",key:"og:title",content:`Nutrabay - ${U}`}),o.createElement("meta",{name:"twitter:title",content:`Nutrabay - ${U}`})):o.createElement(o.Fragment,null,o.createElement("title",null,null===i||void 0===i?void 0:i.title),o.createElement("meta",{property:"og:title",key:"og:title",content:null===i||void 0===i?void 0:i.title}),o.createElement("meta",{name:"twitter:title",content:null===i||void 0===i?void 0:i.title})),H?o.createElement(o.Fragment,null,o.createElement("meta",{name:"description",content:H}),o.createElement("meta",{property:"og:description",key:"og:description",content:H}),o.createElement("meta",{name:"twitter:description",content:H})):null!==F&&void 0!==F&&F.description?o.createElement(o.Fragment,null,o.createElement("meta",{name:"description",content:null===F||void 0===F?void 0:F.description}),o.createElement("meta",{property:"og:description",key:"og:description",content:null===F||void 0===F?void 0:F.description}),o.createElement("meta",{name:"twitter:description",content:null===F||void 0===F?void 0:F.description})):P?o.createElement(o.Fragment,null,o.createElement("meta",{name:"description",content:P}),o.createElement("meta",{property:"og:description",key:"og:description",content:P}),o.createElement("meta",{name:"twitter:description",content:P})):o.createElement(o.Fragment,null,o.createElement("meta",{name:"description",content:null===i||void 0===i?void 0:i.description}),o.createElement("meta",{property:"og:description",key:"og:description",content:null===i||void 0===i?void 0:i.description}),o.createElement("meta",{name:"twitter:description",content:null===i||void 0===i?void 0:i.description})),A?o.createElement(o.Fragment,null,o.createElement("link",{rel:"canonical",key:"canonical",href:A}),o.createElement("meta",{property:"twitter:url",content:k}),o.createElement("meta",{property:"og:url",content:k})):o.createElement(o.Fragment,null),N?o.createElement(o.Fragment,null,o.createElement("meta",{property:"og:image",content:N}),o.createElement("meta",{name:"twitter:image",content:N})):Z?o.createElement(o.Fragment,null,o.createElement("meta",{property:"og:image",content:Z}),o.createElement("meta",{name:"twitter:image",content:Z}),o.createElement("meta",{property:"og:image:width",content:"400"}),o.createElement("meta",{property:"og:image:height",content:"400"})):o.createElement(o.Fragment,null,o.createElement("meta",{property:"og:image",content:x||i.base_image}),o.createElement("meta",{name:"twitter:image",content:x||i.base_image})),F&&null!==F&&void 0!==F&&F.meta?(0,r.an)(null===F||void 0===F?void 0:F.meta):null),o.createElement(e,t))}}},97105:function(e,t,n){"use strict";n.r(t),n.d(t,{getCustomerEmailReasons:function(){return v},getCustomerEmailSupportReasons:function(){return g},getCustomerPhoneSupportReasons:function(){return h},getFaqData:function(){return d},getFaqDataSSR:function(){return p},getPreviousOrderId:function(){return s},getPreviousShipmentData:function(){return E},getSupportTimingAction:function(){return r},helpCenterResetEmailAction:function(){return c},helpCenterResetPhoneAction:function(){return i},helpCenterUploadFileAction:function(){return u},postHelpCenterEmailAction:function(){return o},postHelpCenterPhoneAction:function(){return a},resetHelpCenterUploadFileAction:function(){return m}});var l=n(48633);const a=e=>({type:l.TV,payload:e}),o=e=>({type:l.k2,payload:e}),r=e=>({type:l.gT,payload:e}),i=e=>({type:l.aV,payload:e}),c=e=>({type:l.ob,payload:e}),u=e=>({type:l.UE,payload:e}),m=e=>({type:l.DZ,payload:e}),s=e=>({type:l.rT,payload:e}),d=e=>({type:l.Vj,payload:e}),p=e=>({type:l.bd,payload:e}),v=e=>({type:l.n1,payload:e}),g=e=>({type:l.fI,payload:e}),E=e=>({type:l.JJ,payload:e}
1),h=e=>({type:l.we,payload:e})},92281:function(e,t,n){"use strict";n.d(t,{$p:function(){return a},AK:function(){return i},FL:function(){return d},JS:function(){return c},K5:function(){return u},cb:function(){return s},eZ:function(){return o},mQ:function(){return r},rz:function(){return m},vP:function(){return l}});const l=e=>e,a=e=>e,o=e=>e.helpCenter.getSupportTime,r=e=>e.helpCenter.fileUpload,i=e=>e.helpCenter.previousOrderId,c=e=>e.helpCenter.faqData,u=e=>e.helpCenter.getPreviousShipmentData,m=e=>e.helpCenter.getCustomerEmailReasons,s=e=>e.helpCenter.getCustomerEmailSupportReasons,d=e=>e.helpCenter.getCustomerPhoneSupportReasons},76337:function(e,t,n){"use strict";n.d(t,{s:function(){return l}});const l=e=>e.pageMeta.seoMeta},62485:function(e,t,n){"use strict";n.d(t,{c:function(){return _}});var l=n(87462),a=n(67294),o=n(89250),r=(n(66503),n(28061),n(51363)),i=n(38521),c=(n(54766),n(62359),n(8037),n(64593),n(42864)),u=(n(8209),n(7878)),m=n(11163),s=n(50115),d=n(89404),p=n(22634),v=n(69011),g=n(77882),E=n(6524),h=n(26609);const _=e=>{const{navigator:t={},ssr:n=!1,children:_,plp:f,hideSearch:y,customClass:b,isResponsiveHeader:S=!1,addFooter:w=!1,setInitialSearchOpen:F=!1}=e,C=((0,m.useRouter)(),(0,c.e)()),[A,k]=(0,a.useState)(!1),[N,L]=(0,a.useState)(!0),[H,Z]=(0,a.useState)(!0),[x,$]=(0,a.useState)(""),[U,P]=(0,a.useState)(!1);(0,a.useEffect)((()=>{$(window.location.pathname),P(window.location.pathname.includes("/product/"));(0,s.ZB)("pathname")&&(0,s.Ry)("pathname")}),[]);const R=["homepage","pdp","plp","collection"];return S?a.createElement(a.Fragment,null,a.createElement("div",{className:`dashboard_wrap ${b} ${"/account/order"==C.pathname||f?"pb-0":""} ${!0===A&&H?"":null} ${U||!u.AB?"mt-0":"mt-30-mobile-only"}`},R.includes((0,v.P5)(null===C||void 0===C?void 0:C.pathname))&&a.createElement("div",{className:"mobileView"},a.createElement(p.Z,null)),a.createElement(E.Z,(0,l.Z)({},e,{headerFlags:null===e||void 0===e?void 0:e.headerFlags,isNotFound:!1})),n?Array.isArray(_)?a.Children.map(_,(e=>a.cloneElement(e,{setSortAndFilterStatus:k,setBackButtonStatus:L}))):a.cloneElement(_,{setSortAndFilterStatus:k,setBackButtonStatus:L}):a.createElement(o.j3,null),!0!==f&&a.createElement(g.Z,{navigator:t}),!0===w?a.createElement(d.Z,null):a.createElement(a.Fragment,null)),a.createElement(h.Z,null)):a.createElement(a.Fragment,null,r.Z.isMobile(t)?a.createElement("div",{className:`dashboard_wrap ${"/account/order"==C.pathname?"pb-0":""} ${!0===A&&H?"pt-50":null} ${U||!u.AB?"mt-0":"mt-30"}`},a.createElement(i.Z,{backBtn:N,SearchIcon:!0,CartIcon:!0,setSortAndFilterStatus:k,sortAndFilterStatus:A,hideSearch:y,setSearchbarStatus:Z,plp:f}),n?Array.isArray(_)?a.Children.map(_,(e=>a.cloneElement(e,{setSortAndFilterStatus:k,setBackButtonStatus:L}))):a.cloneElement(_,{setSortAndFilterStatus:k,setBackButtonStatus:L}):a.createElement(o.j3,null),!0!==f&&a.createElement(g.Z,{navigator:t})):a.createElement("div",{className:`dashboard_wrap ${b} ${U||!u.AB?"mt-0":x.includes("/")?"mt-36":"mt-64"}`},a.createElement(E.Z,(0,l.Z)({},e,{headerFlags:null===e||void 0===e?void 0:e.headerFlags,isNotFound:!1})),n?_:a.createElement(o.j3,null),a.createElement(d.Z,null)),a.createElement(h.Z,null))}},41983:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var l=n(67294),a=n(24966),o=n(59067),r=n(89859),i=n(51363),c=n(30764),u=n(42864),m=n(62485),s=n(29240),d=n(34036),p=n.n(d);var v=function({tabName:e,faqData:t}){return l.createElement("div",{className:p().header},l.createElement("h1",{className:p().helpcentertxt},((e,t)=>{if(!e)return"Help Center";const n=(0,s.l)(null===t||void 0===t?void 0:t.data).find((t=>t.slug===e));return n?`${n.label} FAQs`:"Contact Us"})(e,t)))},g=n(58436),E=n.n(g);function h({href:e,isActive:t,children:n}){return l.createElement("a",{href:e,className:`${E().navLink} ${t?E().active:""}`,onClick:t?e=>e.preventDefault():void 0},t&&l.createElement("span",{className:E().activeIndicator}),n)}var _=function({tabName:e,faqData:t}){var n;const a=(0,u.e)(),o=(0,s.l)(null===t||void 0===t?void 0:t.data),r=e||(null===(n=o[0])||void 0===n?void 0:n.slug),i="/help-center/contact-us"===a.pathname;return l.createElement("div",{className:E().leftmenu},l.createElement("ul",null,o.map((e=>l.createElement("li",{key:e.key},l.createElement(h,{href:`/help-center/${e.slug}`,isActive:e.slug===r},e.label)))),l.createElement("li",null,l.createElement(h,{href:"/help-center/contact-us",isActive:i},"Contact Us"))))},f=n(53375),y=n.n(f);function b({href:e,isActive:t,children:n}){return l.createElement("a",{href:e,className:`${y().mHelpnavLink}${t?` ${y().active}`:""}`,onClick:t?e=>e.preventDefault():void 0},n)}var S=function(e){const t=(0,u.e)(),{common:{navigator:n},getSupportTime:d,tabName:p,faqData:g,children:E}
1=e,[h,f]=(0,l.useState)(!1),[S,w]=(0,l.useState)({getSupportTime:!1}),[F,C]=(0,l.useState)(null);(0,l.useEffect)((()=>{null!==d&&void 0!==d&&d.loading?f(!0):f(!1)}),[null===d||void 0===d?void 0:d.loading]);const A=()=>{window.scrollTo({top:0,behavior:"smooth"})};(0,l.useEffect)((()=>{null!==d&&void 0!==d&&d.error&&(w({getSupportTime:!0}),setTimeout((()=>{w({getSupportTime:!1})}),3e3))}),[null===d||void 0===d?void 0:d.error]),(0,l.useEffect)((()=>{var t,n,l;(null===(t=e.postHelpPhone)||void 0===t||null===(n=t.helpCenter)||void 0===n||null===(l=n.postHelpPhone)||void 0===l?void 0:l.error)&&(C("Something went wrong internally, please try again later"),A())}),[e.postHelpPhone]),(0,l.useEffect)((()=>{var t,n,l;(null===(t=e.postHelpEmail)||void 0===t||null===(n=t.helpCenter)||void 0===n||null===(l=n.postHelpEmail)||void 0===l?void 0:l.error)&&(C("Something went wrong internally, please try again later"),A(),e.helpCenterResetEmailAction({}))}),[e.postHelpEmail]),(0,l.useEffect)((()=>{F&&setTimeout((()=>{C(null)}),5e3)}),[F]),(0,l.useEffect)((()=>{var t;const n=null===e||void 0===e||null===(t=e.fileUpload)||void 0===t?void 0:t.error;n&&(C(n),A(),e.resetHelpCenterUploadFileAction({}))}),[null===e||void 0===e?void 0:e.fileUpload]);const k=null===d||void 0===d?void 0:d.loading;return l.createElement(m.c,{headerFlags:null===c.tW||void 0===c.tW?void 0:c.tW.help_center,ssr:!0,navigator:n,isResponsiveHeader:!0,addFooter:!0},l.createElement("div",null,l.createElement("div",{className:"container"},!(null!==e&&void 0!==e&&e.tabName)&&(null===S||void 0===S?void 0:S.getSupportTime)&&(null===d||void 0===d?void 0:d.error)&&l.createElement(a.Z,{popupMessage:null===d||void 0===d?void 0:d.error}),!(null!==e&&void 0!==e&&e.tabName)&&!(null!==S&&void 0!==S&&S.getSupportTime)&&F&&l.createElement(a.Z,{popupMessage:F}),k&&l.createElement(r.Z,null),l.createElement(v,{tabName:p,faqData:g}),l.createElement("div",{className:y().body},i.Z.isMobile(n)?l.createElement(l.Fragment,null,l.createElement("p",{className:y().faqHead},"Frequently asked questions"),l.createElement("div",{className:y().mobile_menu_wrap},l.createElement("div",{className:y().mobile_menu},l.createElement("ul",{className:y().mobile_menu_lists},(()=>{var e;const t=(0,s.l)(null===g||void 0===g?void 0:g.data),n=p||(null===(e=t[0])||void 0===e?void 0:e.slug);return t.map((e=>l.createElement("li",{key:e.key},l.createElement(b,{href:`/help-center/${e.slug}`,isActive:e.slug===n},e.label))))})(),l.createElement("li",null,l.createElement(b,{href:"/help-center/contact-us",isActive:"/help-center/contact-us"===t.pathname},"Contact Us")))))):l.createElement("div",{className:y().body_left},l.createElement(_,{tabName:p,faqData:g})),l.createElement("div",{className:y().body_right},E)),i.Z.isMobile(n)&&"/help-center/contact-us"!==t.pathname?[l.createElement("div",{className:y().contactUsWrapper,key:"0"},l.createElement("p",{className:y().faqHead},"Still facing an issue?"),l.createElement(o.Z,{onClick:()=>{window.location.href="/help-center/contact-us"},className:"btn btn-blue-light"},"Contact Us")),l.createElement("p",{className:y().termsofusetext,key:"1"},"For compliance or grievances related queries and concerns, please refer to our ",l.createElement("a",{href:"/terms-and-conditions/"},"Terms of Use."))]:null)))}},29240:function(e,t,n){"use strict";n.d(t,{L:function(){return a},l:function(){return l}});const l=e=>{const t=null===e||void 0===e?void 0:e.data;return Array.isArray(t)?t.map((e=>({key:e.slug,slug:e.slug,label:e.name}))):[]},a=(e,t)=>{const n=null===t||void 0===t?void 0:t.data;if(!Array.isArray(n))return null;const l=e?n.find((t=>t.slug===e)):n[0];return(null===l||void 0===l?void 0:l.value)||null}},53375:function(e){e.exports={body:"baseLayout_body__aA9TX",body_left:"baseLayout_body_left__ICvYU",body_right:"baseLayout_body_right__neW6s",mobile_menu_wrap:"baseLayout_mobile_menu_wrap__kWJYQ",mobile_menu:"baseLayout_mobile_menu__VJ9_1",mobile_menu_lists:"baseLayout_mobile_menu_lists__mEEAF",mHelpnavLink:"baseLayout_mHelpnavLink__lruHP",active:"baseLayout_active__6p1bI",faqHead:"baseLayout_faqHead__WyqdU",logout:"baseLayout_logout__f_
1XQA",contactUsWrapper:"baseLayout_contactUsWrapper__NDBCm",termsofusetext:"baseLayout_termsofusetext__0R9pj"}},34036:function(e){e.exports={header:"helpHeader_header__oeFm3",helpcentertxt:"helpHeader_helpcentertxt__gotVL",boxSearch:"helpHeader_boxSearch__vJ0qS",boxSearch_wrap:"helpHeader_boxSearch_wrap__mnp58",boxSearch_btn:"helpHeader_boxSearch_btn__wLJ5G",search:"helpHeader_search__gmd3W"}},58436:function(e){e.exports={leftmenu:"LeftMenu_leftmenu__R2eJI",navLink:"LeftMenu_navLink__ZEAMi",active:"LeftMenu_active__71g0j",activeIndicator:"LeftMenu_activeIndicator__woFUl"}}}]);
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.