PageSourceSearch

https://www.grubsouth.com/glue/8855.2e16f577f25320a7.js

js grubsouth.com collected 2026-09-24 12:45:20 UTC 11,734 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a062f1-ea9e-7053-9ddf-97b4dbac44d2")}catch(e){}}();"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8855],{9052:(X,m,n)=>{n.d(m,{H:()=>a});var d=n(71670),M=n(33887),e=n(92135),u=n(81258),v=n(38699),_=n(43475),s=n(63370),A=n(68132),P=n(90910),f=n(42902),C=n(64068),E=n(90400),O=n(67122),T=n(73071),Z=n(53305),U=n(74582),y=n(32853),D=n(49670),x=n(51933),I=n(96256),Y=n(32865),h=n(94666);function K(r,c){if(1&r){const o=e.EpF();e.TgZ(0,"ion-item",13),e.NdJ("click",function(){e.CHM(o);const i=e.oxw();return e.KtG(i.goToExternalPage("account/groups/"))}),e.TgZ(1,"ion-label"),e._UZ(2,"ion-icon",14),e.TgZ(3,"h3"),e._uU(4),e.ALo(5,"translate"),e.qZA()()()}2&r&&(e.Q6J("detail",!1),e.xp6(4),e.Oqu(e.lcZ(5,2,"groupOrders")))}const g=function(r){return{selected:r}};function R(r,c){if(1&r){const o=e.EpF();e.TgZ(0,"ion-item",1),e.NdJ("click",function(){e.CHM(o);const i=e.oxw();return e.KtG(i.changePage("membership"))}),e.TgZ(1,"ion-label"),e._UZ(2,"ion-icon",15),e.TgZ(3,"h3"),e._uU(4),e.ALo(5,"translate"),e.qZA()(),e._UZ(6,"div",3),e.qZA()}if(2&r){const o=e.oxw();e.Q6J("ngClass",e.VKq(4,g,"/membership"==o.router.url)),e.xp6(4),e.Oqu(e.lcZ(5,2,"membership"))}}function S(r,c){if(1&r){const o=e.EpF();e.TgZ(0,"ion-item",1),e.NdJ("click",function(){e.CHM(o);const i=e.oxw();return e.KtG(i.changePage("rewards-marketplace"))}),e.TgZ(1,"ion-label"),e._UZ(2,"ion-icon",16),e.TgZ(3,"h3"),e._uU(4),e.ALo(5,"translate"),e.qZA()(),e._UZ(6,"div",3),e.qZA()}if(2&r){const o=e.oxw();e.Q6J("ngClass",e.VKq(4,g,"/rewards-marketplace"==o.router.url)),e.xp6(4),e.Oqu(e.lcZ(5,2,"rewardsMarketplace"))}}function L(r,c){if(1&r){const o=e.EpF();e.TgZ(0,"ion-item",1),e.NdJ("click",function(){e.CHM(o);const i=e.oxw();return e.KtG(i.changePage("rewards-history"))}),e.TgZ(1,"ion-label"),e._UZ(2,"ion-icon",17),e.TgZ(3,"h3"),e._uU(4),e.ALo(5,"translate"),e.qZA()(),e._UZ(6,"div",3),e.qZA()}if(2&r){const o=e.oxw();e.Q6J("ngClass",e.VKq(4,g,"/rewards-history"==o.router.url)),e.xp6(4),e.Oqu(e.lcZ(5,2,"rewardsHistory"))}}function B(r,c){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const o=e.oxw();e.xp6(1),e.hij(" (",o.updateVersion,")")}}let a=(()=>{var r;class c{constructor(t,i,l,b,W,J,V,z,N,Q,w,H,p,F,G,j,$,k,q){this.router=t,this.translate=i,this.loadingCtrl=l,this.storage=b,this.orderAPI=W,this.cartAPI=J,this.footerService=V,this.restAPI=z,this.fb=N,this.platform=Q,this.iab=w,this.userAPI=H,this.screenResize=p,this.appVersion=F,this.gtmService=G,this.config=j,this.vendorService=$,this.sharedService=k,this.stripeService=q,this.user={}}ngOnInit(){this.isMobileView=this.screenResize.isMobileView,this.screenSizeEvent=this.screenResize.screenSizeChange.subscribe(t=>{this.isMobileView=t})}ionViewDidEnter(){this.getUser()}ngOnDestroy(){this.screenSizeEvent.unsubscribe()}changePage(t){this.router.navigateByUrl(t)}goToExternalPage(t){this.platform.is("cordova")&&window.location.hostname.includes("localhost")?this.iab.create(this.config.rds_baseurl+t,"_blank",{fullscreen:"yes",hideurlbar:"yes",toolbar:"yes",usewkwebview:"yes",toolbarcolor:"#000000",closebuttoncaption:"Close",disallowoverscroll:"no",enableViewportScale:"no",allowInlineMediaPlayback:"no",toolbarposition:"top"}):this.platform.is("cordova")?window.open("/"+t,"_blank"):window.open(this.config.rds_baseurl+t,"_blank")}goToMiddlePage(t){this.isMobileView?this.router.navigate(["/before-redirect",t]):window.open("https://www.google.com","_blank")}getUser(){return(0,d.Z)(function*(){})()}logOut(){var t=this;return(0,d.Z)(function*(){const i=yield t.loadingCtrl.create({message:t.translate.instant("action.logOut")});yield i.present(),t.storage.remove("token"),t.storage.remove("user"),t.storage.remove("loginWith"),t.storage.remove("optedIn"),"FACEBOOK"==t.source&&t.fb.logout().then(l=>{}),"GOOGLE"==t.source&&M.J.logout({provider:"google"}),yield t.stripeService.fullReset(),t.storage.remove("guestUserOnlyPhone"),t.storage.remove("user"),t.storage.remove("email"),t.storage.remove("appleEmail"),t.storage.remove("guestUser"),t.storage.remove("userDeafultCoupanCode"),t.gtmService.pushCustomEventNoParams("Logout"),t.cartAPI.logOut().then(l=>{t.footerService.cartCount.emit(0),t.footerService.cartCount.emit(0),i.dismiss(),setTimeout(()=>window.location.href="",300)})})()}}return(r=c).\u0275fac=function(t){return new(t||r)(e.Y36(u.F0),e.Y36(v.sK),e.Y36(_.HT),e.Y36(s.Ke),e.Y36(A.p),e.Y36(P.N),e.Y36(f.M),e.Y36(C.T),e.Y36(E.s),e.Y36(_.t4),e.Y36(O.i),e.Y36(T.K),e.Y36(Z.v),e.Y36(U.b),e.Y36(y.b),e.Y36(D.D),e.Y36(x.n),e.Y36(I.B),e.Y36(Y.t))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-my-account-menu"]],decls:43,vars:33,consts:[[1,"menu"],[1,"is-clickeable",3,"ngClass","click"],["slot","start","name","person-circle-outline"],[1,"border"],["slot","start","name","location-outline"],["slot","start","name","card-outline"],["slot","start","name","cart-outline"],["class","is-clickeable",3,"detail","click",4,"ngIf"],["class","is-clickeable",3,"ngClass","click",4,"ngIf"],[1,"is-clickeable",3,"click"],["slot","start","name","log-out-outline"],[1,"version"],[4,"ngIf"],[1,"is-clickeable",3,"detail","click"],["slot","start","name","people-outline"],["slot","start","name","id-card-outline"],["slot","start","name","gift-outline"],["slot","start","name","star-outline"]],template:function(t,i){1&t&&(e.TgZ(0,"div",0)(1,"ion-list")(2,"ion-item",1),e.NdJ("click",function(){return i.changePage("profile")}),e.TgZ(3,"ion-label"),e._UZ(4,"ion-icon",2),e.TgZ(5,"h3"),e._uU(6),e.ALo(7,"translate"),e.qZA()(),e._UZ(8,"div",3),e.qZA(),e.TgZ(9,"ion-item",1),e.NdJ("click",function(){return i.changePage("addresses")}),e.TgZ(10,"ion-label"),e._UZ(11,"ion-icon",4),e.TgZ(12,"h3"),e._uU(13),e.ALo(14,"translate"),e.qZA()(),e._UZ(15,"div",3),e.qZA(),e.TgZ(16,"ion-item",1),e.NdJ("click",function(){return i.changePage("credit-cards")}),e.TgZ(17,"ion-label"),e._UZ(18,"ion-icon",5),e.TgZ(19,"h3"),e._uU(20),e.ALo(21,"translate"),e.qZA()(),e._UZ(22,"div",3),e.qZA(),e.TgZ(23,"ion-item",1),e.NdJ("click",function(){return i.changePage("order-history")}),e.TgZ(24,"ion-label"),e._UZ(25,"ion-icon",6),e.TgZ(26,"h3"),e._uU(27),e.ALo(28,"translate"),e.qZA()(),e._UZ(29,"div",3),e.qZA(),e.YNc(30,K,6,4,"ion-item",7),e.YNc(31,R,7,6,"ion-item",8),e.YNc(32,S,7,
16,"ion-item",8),e.YNc(33,L,7,6,"ion-item",8),e.TgZ(34,"ion-item",9),e.NdJ("click",function(){return i.logOut()}),e.TgZ(35,"ion-label"),e._UZ(36,"ion-icon",10),e.TgZ(37,"h3"),e._uU(38),e.ALo(39,"translate"),e.qZA()()(),e.TgZ(40,"div",11),e._uU(41),e.YNc(42,B,2,1,"span",12),e.qZA()()()),2&t&&(e.xp6(2),e.Q6J("ngClass",e.VKq(25,g,"/profile"==i.router.url||"/update-password"==i.router.url)),e.xp6(4),e.Oqu(e.lcZ(7,15,"profile")),e.xp6(3),e.Q6J("ngClass",e.VKq(27,g,"/addresses"==i.router.url||"/add-address"==i.router.url)),e.xp6(4),e.Oqu(e.lcZ(14,17,"addresses")),e.xp6(3),e.Q6J("ngClass",e.VKq(29,g,"/credit-cards"==i.router.url)),e.xp6(4),e.Oqu(e.lcZ(21,19,"creditCards")),e.xp6(3),e.Q6J("ngClass",e.VKq(31,g,"/order-history"==i.router.url)),e.xp6(4),e.Oqu(e.lcZ(28,21,"orderHistory")),e.xp6(3),e.Q6J("ngIf","Y"==i.vendorService.SHOW_GROUP_ORDERS),e.xp6(1),e.Q6J("ngIf",i.vendorService.IS_DC_AFFILIATED),e.xp6(1),e.Q6J("ngIf","Y"==i.vendorService.REWARDS_MARKETPLACE&&"Y"==i.vendorService.SHOW_REWARDS_MARKETPLACE),e.xp6(1),e.Q6J("ngIf","Y"==i.vendorService.REWARDS_MARKETPLACE&&"Y"==i.vendorService.SHOW_REWARDS_MARKETPLACE),e.xp6(5),e.Oqu(e.l
1cZ(39,23,"logOut")),e.xp6(3),e.hij("",i.currentAppVersion," "),e.xp6(1),e.Q6J("ngIf",i.updateVersion))},dependencies:[h.mk,h.O5,_.gu,_.Ie,_.Q$,_.q_,v.X$],styles:["ion-icon[_ngcontent-%COMP%]{font-size:24px;vertical-align:middle;margin-right:5px}h3[_ngcontent-%COMP%]{display:initial}@media (min-width: 768px){ion-item[_ngcontent-%COMP%]{text-align:right;--border-color: transparent}.menu[_ngcontent-%COMP%]{padding-right:30px;height:100%}ion-list[_ngcontent-%COMP%]{height:100%;padding-right:5px;border-right:1px solid #949191}}.selected[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.selected[_ngcontent-%COMP%]   .border[_ngcontent-%COMP%]{width:4px;background:var(--ion-color-secondary);height:75%;border-radius:5px}.version[_ngcontent-%COMP%]{text-align:right;margin-right:16px;margin-top:10px;color:#b1b1b1}@media (max-width: 768px){.version[_ngcontent-%COMP%]{text-align:center}}"]}),c})()},38855:(X,m,n)=>{n.r(m),n.d(m,{AccountPageModule:()=>B});var d=n(94666),M=n(2508),e=n(81258),u=n(43475),v=n(71670),_=n(33887),s=n(92135),A=n(64068),P=n(73071),f=n(42902),C=n(68132),E=n(90910),O=n(59162),T=n(38699),Z=n(90400),U=n(63370),y=n(53305),D=n(96256),x=n(32865),I=n(32853),Y=n(72835),h=n(9052),K=n(87094);function g(a,r){1&a&&(s.TgZ(0,"ion-col",4),s._UZ(1,"app-profile-component"),s.qZA())}let R=(()=>{var a;class r{constructor(o,t,i,l,b,W,J,V,z,N,Q,w,H,p,F,G){this.loadingCtrl=o,this.restAPI=t,this.router=i,this.userAPI=l,this.footerService=b,this.orderAPI=W,this.cartAPI=J,this.platform=V,this.statusBar=z,this.translate=N,this.fb=Q,this.storage=w,this.screenResize=H,this.sharedService=p,this.stripeService=F,this.gtmService=G,this.user={},p.statusBar.subscribe(j=>{this.setStatusBarColor()})}ngOnInit(){this.isMobileView=this.screenResize.isMobileView,this.screenSizeEvent=this.screenResize.screenSizeChange.subscribe(o=>{this.isMobileView=o})}ngOnDestroy(){this.screenSizeEvent.unsubscribe()}setStatusBarColor(){this.platform.is("cordova")&&this.statusBar.backgroundColorByHexString("#f2f2f2")}ionViewDidEnter(){this.gtmService.pushCustomEventNoParams("ViewAccount"),this.setStatusBarColor(),this.getUser()}getUser(){this.storage.get("user").then(o=>{this.user=o,this.storage.get("login_source").then(t=>{this.source=t})})}logOut(){var o=this;return(0,v.Z)(function*(){o.sharedService.logout();const t=yield o.loadingCtrl.create({message:o.translate.instant("action.logOut")});yield t.present(),"FACEBOOK"==o.source&&o.fb.logout().then(i=>{}),"GOOGLE"==o.source&&_.J.logout({provider:"google"}),yield o.stripeService.fullReset(),o.cartAPI.logOut().then(i=>{o.footerService.cartCount.emit(0),o.footerService.cartCount.emit(0),o.restAPI.addressChange.emit(),o.router.navigateByUrl("landing"),t.dismiss()})})()}changePage(o){this.router.navigateByUrl(o)}}return(a=r).\u0275fac=function(o){return new(o||a)(s.Y36(u.HT),s.Y36(A.T),s.Y36(e.F0),s.Y36(P.K),s.Y36(f.M),s.Y36(C.p),s.Y36(E.N),s.Y36(u.t4),s.Y36(O.A),s.Y36(T.sK),s.Y36(Z.s),s.Y36(U.Ke),s.Y36(y.v),s.Y36(D.B),s.Y36(x.t),s.Y36(I.b))},a.\u0275cmp=s.Xpm({type:a,selectors:[["app-account"]],decls:6,vars:2,consts:[[3,"pageTitle"],[1,"ion-padding"],["size-xs","12","size-md","3"],["size-md","9",4,"ngIf"],["size-md","9"]],template:function(o,t){1&o&&(s._UZ(0,"app-main-header",0),s.TgZ(1,"ion-content",1)(2,"ion-row")(3,"ion-col",2),s._UZ(4,"app-my-account-menu"),s.qZA(),s.YNc(5,g,2,0,"ion-col",3),s.qZA()()),2&o&&(s.Q6J("pageTitle",t.user.fname+" "+t.user.lname),s.xp6(5),s.Q6J("ngIf",!t.isMobileView))},dependencies:[d.O5,u.wI,u.W2,u.Nd,Y.$,h.H,K.d],styles:[".account-header[_ngcontent-%COMP%]{border:none;padding:0 15px;box-shadow:0 5px 15px #888}.account-header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:0}ion-toolbar[_ngcontent-%COMP%]:last-child{--border-width: 0}#header-icon[_ngcontent-%COMP%]{font-size:30px;top:8px;position:relative;color:#188cf6}"]}),r})();var S=n(77147);const L=[{path:"",component:R}];let B=(()=>{var a;class r{}return(a=r).\u0275fac=function(o){return new(o||a)},a.\u0275mod=s.oAB({type:a}),a.\u0275inj=s.cJS({imports:[d.ez,M.u5,u.Pc,S.m,e.Bz.forChild(L)]}),r})()}}]);
2//# chunkId=01a062f1-ea9e-7053-9ddf-97b4dbac44d2

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.