PageSourceSearch

https://kenzz.com/_next/static/chunks/pages/login-7bc408bd53e0c9e1.js

js kenzz.com collected 2026-09-24 10:23:11 UTC 14,237 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3459],{25659:function(e,i,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/login",function(){return r(8876)}])},71507:function(e,i){"use strict";i.Z={src:"/_next/static/media/policy.3da6faa7.svg",height:24,width:22,blurWidth:0,blurHeight:0}},76500:function(e,i){"use strict";i.Z={src:"/_next/static/media/terms_and_conditions.81a6df51.svg",height:20,width:19,blurWidth:0,blurHeight:0}},8876:function(e,i,r){"use strict";r.r(i);var s=r(52322),l=r(5632),t=r(2784),o=r(42670),n=r(94449),a=r(30290),d=r(93137),c=r(71507),p=r(76500),_=r(60384),u=r(99396),x=r(52408),h=r(95239),g=r(54217),f=r(17881),m=r(78033),j=r(38293),y=r(3319),v=r(32131),Z=r(43621),O=r(42181),S=r(2106);i.default=()=>{let e=(0,l.useRouter)(),i=(0,n.v9)(j.PR),r=(0,n.v9)(j.Hm),b=(0,n.v9)(j.ss),N=(0,n.v9)(j.Lb),[I,w]=(0,t.useState)(i),{cognitoSignup:E}=(0,a.jW)();return(0,t.useEffect)(()=>{r==j.ju.OTP_SENT?e.push({pathname:m.Sk.PROFILE_OTP_CODE}):N!=m.OL.LOADING&&b!=m.OL.LOADING&&(r==j.ju.LOGGED_OUT_WITH_PHONE||r==j.ju.LOGGED_IN_WITHOUT_ADDRESS)?e.push({pathname:m.Sk.PROFILE_SIGN_UP}):r==j.ju.LOGGED_IN_WITH_ADDRESS&&e.push({pathname:m.Sk.PROFILE})},[r,e,N,b]),(0,s.jsxs)("div",{style:{width:"100%",height:"100%",display:"flex",flexDirection:"column",alignContent:"space-around"},children:[(0,s.jsxs)("div",{style:{width:"100%",overflowY:"scroll",flexGrow:1},children:[(0,s.jsxs)("div",{style:{width:"100%",display:"flex",flexDirection:"column",alignItems:"center"},children:[(0,s.jsx)("div",{style:{width:"100%",height:180,backgroundImage:"url(".concat(_.Z.src,")"),backgroundRepeat:"no-repeat",borderRadius:"0px 0px 15px 15px"}}),(0,s.jsxs)("div",{style:Object.assign({padding:"5%",width:"90%",marginTop:"-27%",alignItems:"center"},Z.Z.header),children:[(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"space-between",textAlign:"center"},children:[(0,s.jsx)("div",{children:(0,s.jsx)("p",{style:Object.assign({color:v.Z.colors.violet},O.Z.xxlarge),children:(0,s.jsx)(o.Z,{id:"login.page.header"})})}),(0,s.jsx)("div",{style:{marginBlock:"3%"},children:(0,s.jsx)("p",{style:Object.assign({color:v.Z.colors.productNameText},O.Z.xlargeBold),children:(0,s.jsx)(o.Z,{id:"login.page.instructions"})})}),(0,s.jsx)("div",{children:(0,s.jsx)("p",{style:Object.assign({color:v.Z.colors.placeHolderGrey},O.Z.large),children:(0,s.jsx)(o.Z,{id:"login.page.sub.header"})})})]}),(0,s.jsxs)("div",{style:{marginTop:"5%"},children:[(0,s.jsx)(h.Z,{defaultValue:I.phoneNumber&&I.phoneNumber.length?I.phoneNumber.replaceAll("+2",""):"",isInvalid:!(0,y.AD)(I.phoneNumber).isValid,invalidMessageId:(0,y.AD)(I.phoneNumber).errorMessage,label:(0,s.jsx)(o.Z,{id:"profile.phonenumber"}),callbackFunction:e=>{w({...I,phoneNumber:(0,y.un)(e)})},type:m.dT.TELEPHONE}),(0,s.jsx)("div",{style:{marginTop:"8%"},children:(0,s.jsx)(x.Z,{callBackFunction:()=>{(0,y.AD)(I.phoneNumber).isValid&&E(I.phoneNumber)},text:(0,s.jsx)(o.Z,{id:"profile.login.button"}),backgroundColor:v.Z.colors.violet,textColor:v.Z.colors.white,borderColor:"transparent",boxShadow:v.Z.colors.violetButtonBoxShadow,removeInlinePadding:!0,removeBlockPadding:!0})})]})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(S.ProfileSection,{href:m.Sk.PROFILE_WHAT_IS_KENZZ,icon:d.Z,headingText:"page.about.more.terms.header"}),(0,s.jsx)(f.Z0,{}),(0,s.jsx)(S.ProfileSection,{href:m.Sk.PROFILE_RETURN_POLICY,icon:c.Z,headingText:"profile.return.policy"}),(0,s.jsx)(f.Z0,{}),(0,s.jsx)(S.ProfileSection,{href:m.Sk.PROFILE_TERMS_AND_CONDITIONS,icon:p.Z,headingText:"profile.terms.conditions"})]}),(0,s.jsx)(g.Z,{})]}),(0,s.jsx)(u.Z,{active:m.NQ.PROFILE,showAssistance:!1})]})}},2106:function(e,i,r){"use strict";r.r(i),r.d(i,{ProfileSection:function(){return W},default:function(){return U}});var s=r(52322),l=r(5632),t=r(2784),o=r(42670),n=r(44439),a=r(78033),d=r(38293),c=r(32131),p=r(55351),_=r(39097),u=r.n(_),x=r(21446),h=r(94449),g=r(17919),f={src:"/_next/static/media/credit.icon.6581fa5d.svg",height:22,width:23,blurWidth:0,blurHeight:0},m=r(93137),j={src:"/_next/static/media/logout.3a1c4b8d.svg",height:22,width:19,blurWidth:0,blurHeight:0},y=r(71507),v={src:"/_next/static/media/question.b97d0aa8.svg",height:22,width:22,blurWidth:0,blurHeight:0},Z=r(76500),O={src:"/_next/static/media/profile_last_orders.6269b06c.svg"},S={src:"/_next/static/media/profile_my_returns.af6853ba.svg"},b={src:"/_next/static/media/profile_savings.62895d6c.svg"},N=r(99396),I=r(33930),w=r(81461),E=r(54217),k=r(17881),T=r(17375),B=r(13787),P=r(4326),D=r
1(9281),R=r(42181),C=r(52408),L=r(6290),G=e=>{let{showProfileUserSavedMoneyModal:i,actionCallBackFunction:r,onHideCallBackFunction:l}=e,t=(0,h.v9)(e=>e.orders.userSavings);return(0,s.jsxs)(B.Z,{"aria-labelledby":"contained-modal-title-vcenter",style:{borderColor:"transparent",textAlign:"center"},centered:!0,size:"lg",show:i,backdrop:!0,onHide:()=>{l()},children:[(0,s.jsx)(B.Z.Header,{style:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",border:"unset",position:"relative",padding:"5%"},children:(0,s.jsx)("div",{style:{position:"absolute",bottom:10,justifyContent:"center",alignItems:"center"},children:(0,s.jsx)(x.Z,{src:"/_next/static/media/profile_saved_money_icon.f345faa0.svg",alt:"profile_saved_money_icon",width:80,height:80})})}),(0,s.jsxs)(B.Z.Body,{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"space-between",padding:"5%"},children:[(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"space-between",alignItems:"center",width:"100%",position:"relative"},children:[(0,s.jsx)("div",{style:Object.assign({color:c.Z.colors.violet},R.Z.xlargeBold),children:(0,s.jsx)(o.Z,{id:"profile.page.user.saved.money.popup.header"})}),(0,s.jsxs)("div",{style:{marginBlock:"5%",display:"flex",justifyContent:"center",alignItems:"center",width:"100%"},children:[(0,s.jsx)("div",{style:Object.assign({marginInline:"2%",color:c.Z.colors.productNameText},R.Z.large),children:(0,s.jsx)(o.Z,{id:"profile.page.user.saved.money.popup.friends.count"})}),(0,s.jsx)("div",{style:Object.assign({color:c.Z.colors.greenPrice},R.Z.xxxlarge),children:t.groupCounts})]}),(0,s.jsx)("div",{style:{width:"100%",position:"absolute"},children:(0,s.jsx)(T.Z,{animationData:P,autoPlay:!0,loop:!0})})]}),(0,s.jsx)(k.Z0,{}),(0,s.jsxs)("div",{style:{marginBlock:"2%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%"},children:[(0,s.jsxs)("div",{style:D.Z.receiptRow,children:[(0,s.jsx)("p",{style:Object.assign({color:c.Z.colors.placeHolderGrey},R.Z.large),children:(0,s.jsx)(o.Z,{id:"profile.page.user.saved.money.popup.individual.saved"})}),(0,s.jsx)(L.Z,{price:t.individualSavings,fontSize:R.Z.xxlarge.fontSize,color:c.Z.colors.placeHolderGrey,priceUnitFontSize:R.Z.medium.fontSize})]}),(0,s.jsxs)("div",{style:D.Z.receiptRow,children:[(0,s.jsx)("p",{style:Object.assign({color:c.Z.colors.placeHolderGrey},R.Z.large),children:(0,s.jsx)(o.Z,{id:"profile.page.user.saved.money.popup.group.saved"})}),(0,s.jsx)(L.Z,{price:t.groupSavings,fontSize:R.Z.xxlarge.fontSize,color:c.Z.colors.placeHolderGrey,priceUnitFontSize:R.Z.medium.fontSize})]})]}),(0,s.jsx)(k.Z0,{}),(0,s.jsx)("div",{style:{marginBlock:"2%",width:"100%"},children:(0,s.jsxs)("div",{style:D.Z.receiptRow,children:[(0,s.jsx)("p",{style:Object.assign({color:c.Z.colors.productNameText},R.Z.xlargeBold),children:(0,s.jsx)(o.Z,{id:"profile.page.user.saved.money.popup.saving.sum"})}),(0,s.jsx)(L.Z,{price:t.totalSavings,fontSize:R.Z.xxxlarge.fontSize,color:c.Z.colors.greenPrice,priceUnitFontSize:R.Z.large.fontSize})]})}),(0,s.jsx)("div",{style:{marginTop:"3%",width:"100%",display:"flex",flexDirection:"column",justifyContent:"space-between",alignItems:"center"},children:(0,s.jsx)(C.Z,{callBackFunction:()=>{r()},text:(0,s.jsx)(o.Z,{id:"profile.button.ok"}),backgroundColor:c.Z.colors.violet,textColor:c.Z.colors.white,borderColor:"transparent",boxShadow:c.Z.colors.violetButtonBoxShadow,removeInlinePadding:!0})})]})]})},H=r(95987),A=r(55461),F=r.n(A),U=()=>{let e=(0,l.useRouter)(),i=(0,h.I0)(),r=(0,h.v9)(d.PR),n=(0,h.v9)(d.Hm),c=(0,h.v9)(d.Pc),[_,u]=(0,t.useState)(!1),T=(0,h.v9)(d.ss),B=(0,h.v9)(d.Lb),P=(0,h.v9)(e=>e.orders.userSavings);(0,t.useEffect)(()=>{i((0,d.BT)())},[i]),(0,t.useEffect)(()=>{!1==c&&e.push({pathname:a.Sk.LOGIN})},[c,e]),(0,t.useEffect)(()=>{B!=a.OL.LOADING&&T!=a.OL.LOADING&&(n==d.ju.LOGGED_OUT_WITH_PHONE||n==d.ju.LOGGED_IN_WITHOUT_ADDRESS)?e.push({pathname:a.Sk.PROFILE_SIGN_UP}):c&&(n==d.ju.LOGGED_IN_WITH_ADDRESS&&r.mainAddress.city&&!r.mainAddress.city.cityId&&e.push({pathname:a.Sk.LOGOUT}),i((0,H.CC)()))},[r,n,c,e,i,B,T]);let D=()=>{u(!1)};(0,t.useEffect)(()=>{i((0,d.BB)())},[i]);let[R,C]=(0,t.useState)(!1);return((0,t.useEffect)(()=>C(!0),[]),R)?r.id.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p.PB,{nofollow:!0,noindex:!0}),(0,s.jsxs)("div",{style:{width:"100%",height:"100%",display:"flex",flexDirection:"column",alignContent:"space-around"},children:[(0,s.jsx)(w.Z,{title:r.name,removeBack:!0,profileHeader:!0}),(0,s.jsxs)("div",{style:{width:"100%",overflowY:"scroll",flexGrow:1},children:[(0,s.jsxs)("div",{className:"".concat(F().savingsAndOrders),children:[(0,s.jsxs)("div",{className:"".concat(F().lastOrders),onClick:()=>{i((0,H.z4)()),e.push({pathname:a.Sk.ORDERS})},children:[(0,s.jsx)(x.Z,{src:O.src,className:F().lastOrdersImage,alt:"last_orders"}),(0,s.jsx)("p",{className:"".concat(F().lastOrdersBody," ").concat(F().mediumBold),children:(0,s.jsx)(o.Z,{id:"profile.page.lastorders"})})]}),(0,s.jsxs)("div",{className:"".concat(F().returns),onClick:()=>{e.push({pathname:a.Sk.RETURNS})},children:[(0,s.jsx)(x.Z,{src:S.src,className:F().returnsImage,alt:"returns"}),(0,s.jsx)("p",{className:"".concat(F().returnsBody," ").concat(F().mediumBold),children:(0,s.jsx)(o.Z,{id:"profile.page.myreturns"})})]}),(0,s.jsxs)("div",{className:"".concat(F().savings),onClick:()=>{u(!0)},children:[(0,s.jsx)(x.Z,{src:b.src,className:F().savings,alt:"savings"}),(0,s.jsxs)("p",{className:"".concat(F().savingsBody," ").concat(F().mediumBold),children:[(0,s.jsx)(o.Z,{id:"profile.page.savings"}),(0,s.jsxs)("p",{className:"".concat(F().totalSavings),children:[(0,s.jsx)("p",{className:"".concat(F().headline4),children:P.totalSavings}),(0,s.jsx)(o.Z,{id:"price.unit"})]})]})]})]}),(0,s.jsx)("div",{style:{marginTop:"5%",width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",cursor:"pointer"},onClick:()=>{u(!0)}}),(0,s.jsx)(G,{showProfileUserSavedMoneyModal:_,actionCallBackFunction:D,onHideCallBackFunction:D}),(0,s.jsxs)("div",{children:[(0,s.jsx)(W,{href:a.Sk.PROFILE_WHAT_IS_KENZZ,icon:m.Z,headingText:"page.about.more.terms.header"}),(0,s.jsx)(k.Z0,{}),(0,s.jsx)(W,{href:a.Sk.PROFILE_MY_ADDRESSES,icon:g.Z,headingText:"profile.addresses"}),(0,s.jsx)(k.Z0,{}),(0,s.jsx)(W,{href:a.Sk.PROFILE_RETURN_POLICY,icon:y.Z,headingText:"profile.return.policy"}),(0,s.jsx)(k.Z0,{}),(0,s.jsx)(W,{href:a.Sk.PROFILE_SAVED_CARDS,icon:f,headingText:"profile.mycards"}),(0,s.jsx)(k.Z0,{}),(0,s.jsx)(W,{href:a.Sk.PROFILE_ASK_QUESTIONS,icon:v,headingText:"profile.ask"}),(0,s.jsx)(k.Z0,{}
1),(0,s.jsx)(W,{href:a.Sk.PROFILE_TERMS_AND_CONDITIONS,icon:Z.Z,headingText:"profile.terms.conditions"}),(0,s.jsx)(k.Z0,{}),(0,s.jsx)(W,{href:a.Sk.LOGOUT,icon:j,headingText:"profile.logout"}),(0,s.jsx)(E.Z,{})]})]}),(0,s.jsx)(N.Z,{active:a.NQ.PROFILE,showAssistance:!1})]})]}):(0,s.jsx)(I.Z,{}):null};let W=e=>{let{href:i,icon:r,headingText:l}=e;return(0,s.jsx)(u(),{style:{textDecoration:"none"},href:i,children:(0,s.jsx)(n.Z,{sourcePage:a.Sk.PROFILE,textColor:c.Z.colors.productNameText,backgroundColor:c.Z.colors.white,headingText:(0,s.jsx)(o.Z,{id:l}),icon:r,small_icon:!0,textBoldDisabled:!0})})}},9281:function(e,i,r){"use strict";var s=r(43621),l=r(32131);let t=r(15392).m.create({receiptContainer:{...s.Z.medium,flex:1,width:"100%",backgroundColor:l.Z.colors.white,padding:"5%",borderColor:l.Z.colors.receiptBorder,justifyContent:"center"},receiptRow:{display:"flex",width:"100%",marginBlock:"2%",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},receiptDivider:{borderBottomColor:l.Z.colors.placeHolderGrey,borderBottomWidth:.5,marginVertical:"3%"}});i.Z=t},55461:function(e){e.exports={primary:"profile_primary__WlosY",primaryVariant:"profile_primaryVariant__Z1sZW",primary2:"profile_primary2__SZ4pL",primaryVariant2:"profile_primaryVariant2__29Uoa",secondary:"profile_secondary__zKmfW",secondaryPurple:"profile_secondaryPurple__Aq3WZ",secondaryGreen:"profile_secondaryGreen__nl4dc",secondaryYellow:"profile_secondaryYellow__7mXii",secondaryOrange:"profile_secondaryOrange__BpTVI",secondaryOrange2:"profile_secondaryOrange2__laEOq",secondaryOrange3:"profile_secondaryOrange3___jmOj",darkNeutrals1:"profile_darkNeutrals1__VVTM5",darkNeutrals2:"profile_darkNeutrals2__JHxCO",darkNeutrals3:"profile_darkNeutrals3__s_bjk",white:"profile_white__tl9BS",lightNeutrals1:"profile_lightNeutrals1__Tg8Jy",lightNeutrals2:"profile_lightNeutrals2__QJPOE",lightNeutrals3:"profile_lightNeutrals3__qylB6",redError:"profile_redError___Uas_",link:"profile_link__S_GFw",xsmall:"profile_xsmall__Ky9HB",xsmallBold:"profile_xsmallBold__twKQz",small:"profile_small__B3Me8",smallBold:"profile_smallBold____RTp",medium:"profile_medium__usqqb",mediumBold:"profile_mediumBold__s66ew",headline6:"profile_headline6__686dZ",headline5:"profile_headline5__3dkr3",headline4:"profile_headline4__wwsXJ",headline3:"profile_headline3__s6ox7",headline2:"profile_headline2__394yG",headline1:"profile_headline1__ZiljU",savingsAndOrders:"profile_savingsAndOrders__q3qx3",lastOrders:"profile_lastOrders__dKBhM",returns:"profile_returns__KRybI",lastOrdersImage:"profile_lastOrdersImage__cQgnU",lastOrdersBody:"profile_lastOrdersBody__NxbNR",returnsImage:"profile_returnsImage__zbHfm",returnsBody:"profile_returnsBody__OK1bv",savings:"profile_savings__h0dg3",savingsImage:"profile_savingsImage__YotGz",savingsBody:"profile_savingsBody__Ml4V6",totalSavings:"profile_totalSavings__6kZq0"}}},function(e){e.O(0,[5338,9097,7234,304,637,3787,5124,6197,7524,5452,6741,5300,3589,7157,2204,4217,8781,2838,6320,7647,3018,7881,4326,6016,2888,9774,179],function(){return e(e.s=25659)}),_N_E=e.O()}]);

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.