PageSourceSearch

https://www.amway.in/_next/static/chunks/9699-0602b8909d3668b4.js

js amway.in collected 2026-09-26 04:31:34 UTC 7,172 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9699],{73033:function(e){e.exports={externalAssets:{pathPrefix:"assests"},defaultAddress:{city:"Delhi",goodsMovementType:"INTERSTATE",pincode:"default",serviceable:!0,stateCode:"DEL",stateName:"Delhi"},localeList:["en"],defaultLocale:"en"}},89699:function(e,t,r){r.d(t,{Z:function(){return q}});var n=r(47568),a=r(26042),o=r(69396),s=r(10092),i=r(85893),u=(r(67294),r(27361)),c=r.n(u),l=r(41609),p=r.n(l),d=r(1469),f=r.n(d),h=r(4238),g=r(51882),b=r(15648),y=r(74260),T=r(22840),C=r(64807),v=function(e){var t=e.hostUrl,r=e.pincode,n=e.authToken,a={url:"".concat(t,"/").concat(C.Yh),apiMethod:"GET",urlParameters:{pincode:r},headers:{authorization:n}};return(0,T.e)(a)},S=r(46203),m=function(){var e=(0,n.Z)((function(e){var t,r;return(0,s.__generator)(this,(function(n){return t=e.hostUrl,r={url:"".concat(t,"/").concat(C.Mr),method:"GET",urlParameters:{contentUid:C.BC}},[2,(0,T.e)(r)]}))}));return function(t){return e.apply(this,arguments)}}(),P=function(){var e=(0,n.Z)((function(e){var t,n,a,o,i,u,l,p,d,f,h,b,y,T,C;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return[4,g.Z.resolvedHFContent(e)];case 1:if(t=s.sent(),n=t.headerState,a=t.footerState,o=t.cartPincode,i=t.toogleFeatures,u={},a&&a.breakpoint&&(r.g.initialBreakpoint=a.breakpoint),l=c()(e,"appVariables",{}),p=c()(l,"applicationConfig.apiGateway.hostURL","https://fqa.amway.in"),d=c()(l,"userDetails.pincodeDetails.pincode",""),!(f=c()(e,"req.cookies.CIT","")))return[3,5];s.label=2;case 2:return s.trys.push([2,4,,5]),[4,v({hostUrl:p,pincode:d,authToken:f})];case 3:return b=s.sent(),u=(null===b||void 0===b||null===(h=b.data)||void 0===h?void 0:h.data)||{},[3,5];case 4:return y=s.sent(),console.error("Failed to fetch account info:",null===y||void 0===y?void 0:y.message),[3,5];case 5:T={},s.label=6;case 6:return s.trys.push([6,8,,9]),[4,m({hostUrl:p})];case 7:return C=s.sent(),T=c()(C,"data.e_kyc_template",[]),[3,9];case 8:return s.sent(),T={error:!0},[3,9];case 9:return k(e,{headerState:n,footerState:a,toogleFeatures:i,accountInfo:u,registartionContent:T}),[2,{cartPincode:o}]}}))}));return function(t){return e.apply(this,arguments)}}(),k=function(e,t){if(e.store){var r=c()(e,"appVariables"),n=c()(t,"intl"),o=c()(t,"headerState"),s=c()(t,"footerState"),i=c()(t,"toogleFeatures"),u=c()(t,"accountInfo"),l=c()(t,"registartionContent");p()(i)||p()(c()(r,"toggles",{}))||(r.toggles=(0,a.Z)({},r.toggles,i)),r&&!p()(u)&&(r.accountInfo=u),r&&e.store.dispatch((0,y.T3)(r)),n&&e.store.dispatch((0,h.zH)(n)),o&&!p()(o)&&e.store.dispatch((0,b.Yp)(o)),s&&!p()(s)&&e.store.dispatch((0,b.hH)(s)),l&&!p()(l)&&e.store.dispatch((0,b.jT)((0,S.co)(l)))}},w=P,I=r(13311),N=r.n(I),D=r(11752),_=r.n(D),A=r(66832),E=function(){var e=(0,n.Z)((function(e){var t,r,n,a,o,i,u,l;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return t=c()(e,"req.cookies",{}),r=_()().publicRuntimeConfig,n=r.applicationConfig,a=r.defaultAddress,o=r.defaultLocale,i=_()().serverRuntimeConfig.toggles,l={languageId:u=o,locale:Z(u,o),applicationConfig:n},[4,x(e,t,a)];case 1:return l.userDetails=s.sent(),l.toggles=i,[2,l]}}))}));return function(t){return e.apply(this,arguments)}}(),Z=function(e,t){try{return e?e.concat("_IN"):"".concat(t,"_IN")}catch(r){return"".concat(t,"_IN")}},x=function(){var e=(0,n.Z)((function(e,t,r){var n,o,i,u,l,p,d,f,h,g,b,y,T;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return n=c()(t,"PIN",null),o=n?JSON.parse(n):r,[4,(0,A.lI)(e)];case 1:return i=s.sent(),u=!c()(i,"decodedToken",null),l=c()(i,"decodedToken",null),p=!(!l||"active"!==c()(l,"status","")),d=!(!i||"TokenExpired"!==c()(i,"exceptionCode",null)),f=p?function(e){var t=N()([{accountSubTypeCd:"BusinessOwner",userType:"ADS"},{accountSubTypeCd:"ADR",userType:"ADR"},{accountSubTypeCd:"Member",registrationTypeCd:"ProspectProvisionalAboReg",userType:"Prospect"},{accountSubTypeCd:"Member",userType:"PC"},{accountSubTypeCd:"GuestCustomer",userType:"Guest"},{accountSubTypeCd:"Employee",userType:"Employee"}],(function(t){return t.accountSubTypeCd===e.accountSubTypeCd&&(!t.registrationTypeCd||t.registrationTypeCd===e.registrationTypeCd)}));return t?t.userType:"anonymous"}(l):"anonymous",h=p?c()(l,"fName"):"",g=c()(l,"postCd",null),b=l&&"true"===l.asm,y="y"==c()(t,"av","n"),T="ADS"===f||"ADR"===f?"true":"false",[2,(0,a.Z)({pincodeDetails:o,isLoggedIn:p,userType:f,userName:h,isSe
1ssionExpired:d,noIDToken:u,isASM:b,isPilot:T,isAV:y},g&&{defaultShippingAddrPincode:g})]}}))}));return function(t,r,n){return e.apply(this,arguments)}}(),V=E,R=(r(88933),r(22746)),U=r(76489),q=(r(73033),function(e){var t=e.domainName,r=e.reduxModules,u=e.doNotShowHeader,l=e.doNotShowFooter,d=e.showUserProfile,h=e.showServiceSideNavigation,g=e.nextlink,y=e.includeChatbot,T=e.reqLoggedIn,C=e.showPcConfirmationDrawer,v=e.isHomePage,S=function(t){return(0,i.jsx)(e,(0,o.Z)((0,a.Z)({},t),{showPcConfirmationDrawer:C}))};return S.reduxModules=r,S.doNotShowHeader=u,S.doNotShowFooter=l,S.showUserProfile=d,S.reqLoggedIn=T,S.showServiceSideNavigation=h,S.nextlink=g,S.includeChatbot=y,S.isHomePage=v,S.getInitialProps=function(){var r=(0,n.Z)((function(r){var i,u,l,d,h,g,y,T,C,v,S,m,P,k,I,N,D;return(0,s.__generator)(this,(function(_){switch(_.label){case 0:return _.trys.push([0,16,,17]),u=r.store.getState(),l=c()(u,"appVariables",{}),p()(l)?[4,V(r)]:[3,2];case 1:return r.appVariables=_.sent(),[3,3];case 2:r.appVariables=l,_.label=3;case 3:return[3,10];case 4:return _.trys.push([4,9,,10]),(d=r&&c()(r,"req.cookies.CIT","")?c()(r,"req.cookies.CIT",""):"")?[3,6]:[4,(0,R.U)(r)];case 5:return r.CAT=_.sent(),[3,8];case 6:return(0,A.lU)(d)?[3,8]:[4,(0,R.U)(r)];case 7:r.CAT=_.sent(),_.label=8;case 8:return[3,10];case 9:return h=_.sent(),console.error("WEB-AGG - page-wrapper - Error Fetching the token",h),[3,10];case 10:return g=[w(r)],[4,Promise.all(g)];case 11:return y=_.sent(),T=c()(r,"appVariables.userDetails.defaultShippingAddrPincode","default"),C=(null===(i=y[0])||void 0===i?void 0:i.cartPincode)||"default","default"===(v=c()(r,"appVariables.userDetails.pincodeDetails.pincode","default"))&&("default"!==T?v=T:"default"!==C&&(v=C)),S=function(){var e=(0,n.Z)((function(e){var t,n;return(0,s.__generator)(this,(function(a){switch(a.label){case 0:return e?(t=c()(r,"req.cookies.PIN",{}),c()(t,"pincode","")!=e?[3,1]:[2,{}]):[2,null];case 1:return[4,(0,b.XM)(e,c()(r,"appVariables",{}),r)];case 2:return n=a.sent(),[2,c()(n,"data.data",{})];case 3:return[2]}}
1))}));return function(t){return e.apply(this,arguments)}}(),"default"===v?[3,14]:(m=c()(r,"req.headers.cookie",""),P=(0,U.parse)(m),k=JSON.parse(c()(P,"PIN","{}")),v==c()(k,"pincode","")?[3,13]:[4,S(v)]);case 12:k=_.sent(),_.label=13;case 13:!p()(k)&&k.serviceable&&(r.appVariables.userDetails.pincodeDetails=k),_.label=14;case 14:return[4,e.getInitialProps(r)];case 15:return I=_.sent(),N=f()(I)?c()(I,"[0]",{}):I,[2,(0,o.Z)((0,a.Z)({},N),{appVariables:r.appVariables})];case 16:return D=_.sent(),console.error("| ERROR | - Nextjs - getInitialProps, Domain - ".concat(t),D),[2,{}];case 17:return[2]}}))}));return function(e){return r.apply(this,arguments)}}(),S})}}]);

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.