1"use strict";(self.webpackChunkyumzy=self.webpackChunkyumzy||[]).push([[1005],{61005:function(n,e,t){t.r(e),t.d(e,{AccountMobileModule:function(){return k}});var i=t(97582),a=t(37716),o=t(38583),s=t(67957),c=t(32794),r=t(21633),l=t(53787),p=t(34571),m=t(63333),u=t(10629),g=t(56371),d=t(42549),h=t(90787),v=t(73494);let f=class{constructor(n,e,t,i,a,o){this.router=n,this.authService=e,this.modalService=t,this.accountService=i,this.analyticsService=a,this.statusBar=o,this.accountItemList=g.sE,this.customerName="",this.isLogin=!1,this.currentAppVersion=m.YG.appVersion,this.appUpdate=m.YG.newUpdateReleased,this.statusBarHeight=m.YG.statusBarHeight,this.profilePicUrl="assets/icon/account/profile-placeholder.png",console.log(m.YG.userInfoData),this.statusBar.overlaysWebView(!0),this.statusBar.backgroundColorByHexString("#FFFFFF"),this.statusBar.styleDefault(),this.userProfileObj=m.YG.userInfoData,this.customerName=this.userProfileObj.name,console.log("User Details-----\x3e",this.userProfileObj),this.userProfileObj&&(this.isLogin=!this.userProfileObj.isTemporary)}ngOnDestroy(){this.statusBar.overlaysWebView(!0),this.statusBar.backgroundColorByHexString("#FFFFFF000"),this.statusBar.styleDefault()}onAccountItemClick(n){console.log(n),"MANAGE_ACCOUNT"===n.type?this.analyticsService.cleverTapEvent(r.N.MANAGE_ADDRESSES,(0,l.kb)()):"ORDERS_HISTORY"===n.type?this.analyticsService.cleverTapEvent(r.N.ORDER_HISTORY,(0,l.Dk)()):"MY_REWARDS"===n.type&&this.analyticsService.cleverTapEvent(r.N.MY_REWARDS,(0,l.bp)()),this.navigate([n.url])}onProfileDetails(){this.analyticsService.cleverTapEvent(r.N.PROFILE_CLICKED,(0,l.CR)()),this.navigate(["profile-details"])}onSignUp(){this.navigate(["sign-up"])}onUpdatingApp(){m.YG.newUpdateReleased$.next(!0)}onLogin(){this.navigate(["login"])}navigate(n){m.YG.navigate=!1,this.router.navigate(n,{queryParams:{redirectUrl:g.Pf.account}})}};f.ctorParameters=()=>[{type:s.F0},{type:u.e},{type:d.FF},{type:p.B},{type:h.y},{type:v.A}],f=(0,i.gn)([(0,a.Component)({template:""})],f);let b=class extends f{constructor(n,e,t,i,a,o){super(n,e,t,i,a,o),this.titleTxt=" My Account",this.navUrl="/home"}ngOnInit(){}};b.ctorParameters=()=>[{type:s.F0},{type:u.e},{type:d.FF},{type:p.B},{type:h.y},{type:v.A}],b=(0,i.gn)([(0,a.Component)({selector:"app-account-mobile",template:'\x3c!-- <app-top-header-mobile [title]="titleTxt" [url]="navUrl"></app-top-header-mobile> --\x3e\n<ion-content class="account-content" >\n <div class="account-mob-page" [ngStyle]="{\'padding-top\':statusBarHeight + \'px\'}">\n <div *ngIf="isLogin">\n <div class="profile-details">\n <div>\n <p class="sitefontbold fs-16 m-0 text-capitalize" (click)="onProfileDetails()">\n {{ userProfileObj?.name + " " + userProfileObj?.lastName }}\n <span class="icon-edit p-2 fs-12"> </span>\n </p>\n <p\n class="user-mobile d-flex align-items-center"\n style="overflow: hidden"\n >\n <span class="sitefontnormal fs-12 primary-grey-2">\n {{ userProfileObj?.mobile }}</span\n >\n <span\n class="primary-grey-2 sitefontmedium mx-2"\n style="margin-top: 2px"\n >|</span\n >\n <span class="fs-12 primary-grey-2 sitefontnormal">{{\n userProfileObj?.email\n }}</span>\n </p>\n </div>\n </div>\n <div class="account-item">\n <ul p-0>\n <li\n *ngFor="let accountItem of accountItemList"\n (click)="onAccountItemClick(accountItem)"\n >\n <div\n class="\n item-name-txt\n d-flex\n align-items-center\n justify-content-between\n "\n >\n <p class="sitefontmedium fs-14">\n {{ accountItem.name }}\n </p>\n <span class="icon-arrow-angle-forward fs-12"></span>\n </div>\n </li>\n </ul>\n </div>\n </div>\n <div class="empty-profile-view" *ngIf="!isLogin">\n <img\n src="https://sgp1.digitaloceanspaces.com/listing/app_images/v3/welcome/wide_range.png"\n alt=""\n />\n <div class="welcome-back text-center">\n <div class="text-section">\n <p class="fs-18 sitefontbold primary-clr">WELCOME BACK</p>\n <p class="fs-14 sitefontnormal primary-grey-2">\n Login/Create account to manage your Orders\n </p>\n </div>\n <div class="login-btn">\n <button\n (click)="onLogin()"\n class="btn btn-lg btn-block fs-18 sitefontbold"\n >\n Login\n </button>\n <p class="pt-3 mt-2 fs-14 sitefontnormal">
1\n Don\'t have account?\n <span\n (click)="onSignUp()"\n class="sitefontbold primary-cta fs-14 ml-1"\n >Signup</span\n >\n </p>\n </div>\n </div>\n </div>\n </div>\n <div class="px-3 mx-1 version-sec position-absolute" *ngIf="isLogin">\n <p class="fs-12 sitefontnormal primary-gray-2">\n Version {{ currentAppVersion }}\n </p>\n \x3c!-- <div\n class="app-update-infoBar d-flex align-items-center py-2"\n *ngIf="appUpdate"\n (click)="onUpdatingApp()"\n >\n <img src="assets/icon/home/update-icon.svg" alt="" class="mr-2" />\n <p class="fs-12 sitefontnormal black-clr">\n New version is available,tap to update.\n </p>\n </div> --\x3e\n </div>\n</ion-content>\n',styles:[c]})],b);var y=t(3679),x=t(8032);const w=[{path:"",component:b}];let k=class{};k=(0,i.gn)([(0,a.NgModule)({declarations:[b],imports:[o.ez,s.Bz.forChild(w),y.u5,x.p,d.IJ]})],k)},32794:function(n){n.exports=".account-content {\n height: calc(100vh - 78px);\n}\n\n.account-mob-page .profile-details {\n padding: 1.5rem 1.25rem 1.25rem 1.25rem;\n border-bottom: 1px solid var(--layout-bg-color);\n}\n\n.account-mob-page .profile-details > div p:first-child {\n padding: 0rem 0.62rem 0.75rem 0rem;\n color: black;\n}\n\n.account-mob-page .profile-details > div p:first-child .icon-edit:before {\n color: var(--primary-cta);\n}\n\n.account-mob-page .profile-details > div p:last-child {\n height: auto;\n overflow: hidden;\n}\n\n.account-mob-page .account-item {\n padding: 0rem 1.25rem 0rem 1.25rem;\n}\n\n.account-mob-page .account-item ul {\n list-style-type: none;\n padding: 0;\n}\n\n.account-mob-page .account-item ul li {\n padding: 1.5rem 0rem;\n border-bottom: 1px solid var(--layout-bg-color);\n}\n\n.account-mob-page .account-item ul li .icon-arrow-angle-forward:before {\n color: var(--silver);\n}\n\n.account-mob-page .empty-profile-view img {\n width: 100%;\n height: 54vh;\n}\n\n.account-mob-page .empty-profile-view .welcome-back {\n padding: 0rem 1.25rem;\n}\n\n.account-mob-page .empty-profile-view .welcome-back .text-section p:last-child {\n padding: 0.75rem 0rem;\n width: 75%;\n margin: auto !important;\n}\n\n.account-mob-page .empty-profile-view .welcome-back .login-btn {\n margin-top: 5%;\n}\n\n.account-mob-page .empty-profile-view .welcome-back .login-btn button {\n height: 56px !important;\n background-color: var(--primary-cta);\n color: white;\n}\n\n.account-mob-page .empty-profile-view .welcome-back .login-btn p {\n color: black;\n}\n\n.app-update-infoBar img {\n filter: invert(53%) sepia(10%) saturate(2838%) hue-rotate(305deg) brightness(107%) contrast(93%);\n width: 23px;\n height: 20px;\n}\n\n@media screen and (min-height: 800px) {\n .ios.account-content .account-mob-page {\n padding-top: 2.5rem !important;\n }\n .ios.account-content .account-mob-page .version-sec {\n bottom: 30px !important;\n }\n\n .version-sec {\n bottom: 20px !important;\n }\n}\n\n@media screen and (min-height: 750px) and (max-height: 800px) {\n .account-content .version-sec {\n bottom: 24px !important;\n }\n}"}}]);
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.