1"use strict";(self.webpackChunkyumapos_web_client_mobile=self.webpackChunkyumapos_web_client_mobile||[]).push([[2076],{69253(O,m,e){e.d(m,{O:()=>U});var a=e(49769),t=e(85802),l=e(89417),i=e(86146),u=e(99213),o=e(59640),n=e(68018),g=e(5964),p=e(96354),E=e(64954),D=e(86884),_=e(2071),M=e(98620),s=e(13810),c=e(6204),d=e(25697),C=e(34721),T=e(44162),A=e(99170),r=e(35547);function B(h,y){1&h&&r.nrm(0,"hr")}function W(h,y){if(1&h){const v=r.RV6();r.j41(0,"div",3)(1,"yp-review-step-part-form-control",4),r.nI1(2,"ypCustomerAddress"),r.nI1(3,"async"),r.nI1(4,"translate"),r.bIt("actionButtonClick",function(){const f=t.eBV(v).$implicit,b=r.XpG();return t.Njj(b.deleteAddress(f.customerAddressId))}),r.k0s()(),r.nVh(5,B,1,0,"hr")}if(2&h){const v=y.$implicit,I=y.$index,f=y.$count,b=r.XpG();r.R7$(),r.Y8G("ngModel",r.bMT(3,7,r.bMT(2,5,v)))("actionButtonIcon",b.SvgIcon.trash)("valueClickable",!1)("actionButtonAccessibleName",r.bMT(4,9,"COMMON.DELETE")),r.R7$(4),r.vxM(I!==f-1?5:-1)}}function L(h,y){1&h&&r.nrm(0,"hr")}function R(h,y){if(1&h){const v=r.RV6();r.nVh(0,L,1,0,"hr"),r.j41(1,"div",3)(2,"yp-review-step-part-form-control",5),r.nI1(3,"translate"),r.bIt("actionButtonClick",function(){t.eBV(v);const f=r.XpG();return t.Njj(f.addCustomerAddress())})("valueClick",function(){t.eBV(v);const f=r.XpG();return t.Njj(f.addCustomerAddress())}),r.k0s()()}if(2&h){const v=r.XpG(),I=r.r8f(0);r.vxM(I.length?0:-1),r.R7$(2),r.Y8G("label",r.bMT(3,5,"PROFILE.ADDRESS.LIST.ADD_NEW"))("variant","add-record")("actionButtonIcon",v.SvgIcon.plus)("valueClickable",!0)}}function P(h,y){if(1&h){const v=r.RV6();r.j41(0,"button",6),r.nI1(1,"translate"),r.bIt("click",function(){t.eBV(v);const f=r.XpG();return t.Njj(f.addCustomerAddress())}),r.nrm(2,"mat-icon",7),r.k0s()}if(2&h){const v=r.XpG();r.Y8G("color","primary"),r.BMQ("aria-label",r.bMT(1,3,"PROFILE.ADDRESS.LIST.ADD_NEW")),r.R7$(2),r.Y8G("svgIcon",v.SvgIcon.plus)}}let U=(()=>{class h{constructor(){this.appLayoutService=(0,t.WQX)(M.T),this.store=(0,t.WQX)(o.il),this.SvgIcon=E.h,this.customerAddresses$=this.store.select(A.Tn).pipe((0,g.p)(v=>v.customerInfoType!==_.v.notAuthenticated),(0,p.T)(v=>((0,s.hN)(v.customerInfoType,_.v.authenticated),v.customerProfile.addresses)))}addCustomerAddress(){this.store.dispatch(T.I.showDialogAddCustomerAddress())}deleteAddress(v){this.store.dispatch(T.I.deleteCustomerAddress(v,D.Q.mainScreenArea))}static{this.\u0275fac=function(I){return new(I||h)}}static{this.\u0275cmp=r.VBU({type:h,selectors:[["yp-customer-addresses"]],decls:9,vars:7,consts:[[1,"cards-container"],[1,"yp-card"],["type","button","mat-fab","",1,"btn-add-address",3,"color"],[1,"yp-card-content"],[3,"actionButtonClick","ngModel","actionButtonIcon","valueClickable","actionButtonAccessibleName"],[3,"actionButtonClick","valueClick","label","variant","actionButtonIcon","valueClickable"],["type","button","mat-fab","",1,"btn-add-address",3,"click","color"],[3,"svgIcon"]],template:function(I,f){if(1&I&&(r.SS7(0),r.nI1(1,"async"),r.nI1(2,"ypNotNull"),r.j41(3,"div",0)(4,"div",1),r.Z7z(5,W,6,11,null,null,r.fX1),r.nVh(7,R,4,7),r.k0s()(),r.nVh(8,P,3,5,"button",2)),2&I){const b=r.bH3(r.bMT(2,4,r.bMT(1,2,f.customerAddresses$)));r.R7$(5),r.Dyx(b),r.R7$(2),r.vxM(f.appLayoutService.isDesktopLayout()?7:-1),r.R7$(),r.vxM(f.appLayoutService.isDesktopLayout()?-1:8)}},dependencies:[l.YN,l.BC,l.vS,i.Sr,u.An,c.a,d.b,n.D9,a.Jj,C.T],styles:[".btn-add-address[_ngcontent-%COMP%]{position:fixed;inset-block-end:.7rem;inset-inline-end:.7rem;z-index:1;font-size:1.5rem}"],changeDetection:0})}}return h})()},16206(O,m,e){e.d(m,{r:()=>r,t:()=>A});var a=e(17705),t=e(35547),l=e(85802),i=e(89079),u=e(99213),o=e(93049),n=e(59640),g=e(68018),p=e(1807),E=e(25558),D=e(64954),_=e(78884),M=e(4055),s=e(87135),c=e(5451),d=e(44162);const C=[[["","projected-desktop-profile-top",""]],[["","projected-desktop-profile-main",""]],[["","projected-desktop-profile-side",""]]],T=["[projected-desktop-profile-top]","[projected-desktop-profile-main]","[projected-desktop-profile-side]"],A={profileMain:1,notifications:2,orders:3};let r=(()=>{class B{constructor(){this.activePage=a.hFB.required(),this.store=(0,l.WQX)(n.il),this.navigationActionsService=(0,l.WQX)(_.tg),this.MobileRoutesUtil=M.B,this.SvgIcon=D.h,this.DesktopProfilePage=A;const L=(0,l.WQX)(s.n),R=(0,l.WQX)(t.aKT);(0,p.O)(500).pipe((0,E.n)(()=>L.headersVisibleHeight$),(0,i.pQ)()).subscribe(P=>{R.nativeElement.style.setProperty("--yp-desktop-profile-navigation-top",`${P}px`)})}
1logoutBtnClick(){this.store.dispatch(d.I.logoutRequest(void 0,[this.navigationActionsService.getNavigateToLoginAction(_.eg.default)]))}static{this.\u0275fac=function(R){return new(R||B)}}static{this.\u0275cmp=t.VBU({type:B,selectors:[["yp-desktop-profile-page-wrapper"]],inputs:{activePage:[1,"activePage"]},ngContentSelectors:T,decls:28,vars:25,consts:[["projected-desktop-page-left","",1,"d-flex","flex-column","align-items-start","gap-3","desktop-profile-navigation"],[1,"yp-btn","yp-btn-with-icon",3,"routerLink"],[3,"svgIcon"],["type","button",1,"yp-btn","yp-btn-with-icon","yp-btn-body-bg",3,"click"],["projected-desktop-page-top",""],["projected-desktop-page-main",""],["projected-desktop-page-right",""]],template:function(R,P){1&R&&(t.NAR(C),t.j41(0,"yp-desktop-page-wrapper")(1,"div",0)(2,"a",1),t.nrm(3,"mat-icon",2),t.j41(4,"span"),t.EFF(5),t.nI1(6,"translate"),t.k0s()(),t.j41(7,"a",1),t.nrm(8,"mat-icon",2),t.j41(9,"span"),t.EFF(10),t.nI1(11,"translate"),t.k0s()(),t.j41(12,"a",1),t.nrm(13,"mat-icon",2),t.j41(14,"span"),t.EFF(15),t.nI1(16,"translate"),t.k0s()(),t.j41(17,"button",3),t.bIt("click",function(){return P.logoutBtnClick()}),t.nrm(18,"mat-icon",2),t.j41(19,"span"),t.EFF(20),t.nI1(21,"translate"),t.k0s()()(),t.qex(22,4),t.SdG(23),t.bVm(),t.qex(24,5),t.SdG(25,1),t.bVm(),t.qex(26,6),t.SdG(27,2),t.bVm(),t.k0s()),2&R&&(t.R7$(2),t.HbH(P.activePage()===P.DesktopProfilePage.profileMain?"yp-btn-primary":"yp-btn-body-bg"),t.Y8G("routerLink",P.MobileRoutesUtil.profileInfo),t.R7$(),t.Y8G("svgIcon",P.SvgIcon.user),t.R7$(2),t.JRh(t.bMT(6,17,"PROFILE.TITLE")),t.R7$(2),t.HbH(P.activePage()===P.DesktopProfilePage.notifications?"yp-btn-primary":"yp-btn-body-bg"),t.Y8G("routerLink",P.MobileRoutesUtil.notificationsList),t.R7$(),t.Y8G("svgIcon",P.SvgIcon.bell),t.R7$(2),t.JRh(t.bMT(11,19,"MAIN.MESSAGES")),t.R7$(2),t.HbH(P.activePage()===P.DesktopProfilePage.orders?"yp-btn-primary":"yp-btn-body-bg"),t.Y8G("routerLink",P.MobileRoutesUtil.ordersList),t.R7$(),t.Y8G("svgIcon",P.SvgIcon.clockRotateLeft),t.R7$(2),t.JRh(t.bMT(16,21,"MOBILE.SIDEBAR.ORDERS")),t.R7$(3),t.Y8G("svgIcon",P.SvgIcon.logout),t.R7$(2),t.JRh(t.bMT(21,23,"MOBILE.SIDEBAR.EXIT")))},dependencies:[o.Wk,u.An,c.S,g.D9],styles:[".desktop-profile-navigation[_ngcontent-%COMP%] .yp-btn[_ngcontent-%COMP%]{justify-content:start;min-width:var(--yp-desktop-page-navigation-buttons-min-width)}"],changeDetection:0})}}return B})()},5051(O,m,e){e.d(m,{i:()=>i});var a=e(82693),t=e(60711),l=e(35547);let i=(()=>{class u{transform(n){return[a.R.inProgress,a.R.onDelivery,a.R.preparing,a.R.assembling].includes(n.orderStatus)||n.orderStatus===a.R.prepared&&n.orderType===t.Z.delivery}static{this.\u0275fac=function(g){return new(g||u)}}static{this.\u0275pipe=l.EJ8({name:"ypShowOrderInProgressAnimation",type:u,pure:!0})}}return u})()},80408(O,m,e){e.d(m,{x:()=>a});var a=function(t){return t[t.unpaid=1]="unpaid",t[t.paid=2]="paid",t[t.refund=3]="refund",t}(a||{})},99481(O,m,e){e.d(m,{s:()=>n});var a=e(10467),t=e(85802),l=e(59640),i=e(2071),u=e(67788),o=e(78884);const n=function(){var g=(0,a.A)(function*(p,E){const D=(0,t.WQX)(l.il),_=(0,t.WQX)(u.k),M=(0,t.WQX)(o.tg),s=p.data;
1return(yield _.resolveCustomerInfo()).customerInfoType!==i.v.notAuthenticated||(console.log("[YP]","registeredOrAnonymousCustomerGuard resolved with redirect"),D.dispatch(M.getNavigateToLoginAction(s.authorizationNextPage)),!1)});return function(E,D){return g.apply(this,arguments)}}()},42631(O,m,e){e.d(m,{b:()=>D});var a=e(49769),t=e(454),l=e(96354),i=e(99172),u=e(28934),o=e(17705),n=e(35547),g=e(85802),p=e(25084);function E(_,M){if(1&_){const s=n.RV6();n.rj2(0,"div",0)(1,"button",1),n.VwU("click",function(){g.eBV(s);const d=n.XpG();return g.Njj(d.previousClicked())}),n.Hgh(2,"span",2),n.eux(),n.rj2(3,"span",3),n.VwU("click",function(){g.eBV(s);const d=n.XpG();return g.Njj(d.monthClicked())}),n.EFF(4),n.eux(),n.rj2(5,"button",1),n.VwU("click",function(){g.eBV(s);const d=n.XpG();return g.Njj(d.nextClicked())}),n.Hgh(6,"span",4),n.eux()()}if(2&_){const s=n.XpG();n.R7$(),n.Avn("disabled",s.previousButtonDisabled),n.R7$(3),n.JRh(s.periodLabel),n.R7$(),n.Avn("disabled",s.nextButtonDisabled)}}let D=(()=>{class _{constructor(s,c,d,C,T){this.subSinkService=s,this.calendar=c,this.dateAdapter=d,this.dateFormats=C,this.previousButtonDisabled=!1,this.nextButtonDisabled=!1,this.showHeader$=c.viewChanged.pipe((0,i.Z)(c.currentView),(0,l.T)(A=>"month"===A)),this.updateButtonsDisabledState(),this.subSinkService.sink=c.stateChanges.subscribe(()=>{this.updateButtonsDisabledState(),T.markForCheck()})}updateButtonsDisabledState(){this.previousButtonDisabled=null!==this.calendar.minDate&&this.dateAdapter.addCalendarMonths(this.calendar.activeDate,-1)<this.calendar.minDate,this.nextButtonDisabled=null!==this.calendar.maxDate&&this.dateAdapter.addCalendarMonths(this.calendar.activeDate,1)>this.calendar.maxDate}get periodLabel(){return this.dateAdapter.format(this.calendar.activeDate,this.dateFormats.display.dateA11yLabel).toLocaleUpperCase()}monthClicked(){this.calendar.currentView="year"}previousClicked(){this.calendar.activeDate=this.dateAdapter.addCalendarMonths(this.calendar.activeDate,-1)}nextClicked(){this.calendar.activeDate=this.dateAdapter.addCalendarMonths(this.calendar.activeDate,1)}static{this.\u0275fac=function(c){return new(c||_)(n.rXU(u.z,2),n.rXU(p.JJ),n.rXU(t.MJ),n.rXU(t.de),n.rXU(o.gRc))}}static{this.\u0275cmp=n.VBU({type:_,selectors:[["yp-mat-datepicker-calendar-header-month"]],features:[n.Jv_([u.z])],decls:2,vars:3,consts:[[1,"d-flex","align-items-center","px-2","py-3"],["type","button",1,"yp-btn","yp-btn-no-bg","yp-btn-icon",3,"click","disabled"],[1,"icomoon-icon","icon-chevron_left"],[1,"flex-grow-1","text-center","example-header-label","cursor-pointer",3,"click"],[1,"icomoon-icon","icon-chevron_right"]],template:function(c,d){1&c&&(n.nVh(0,E,7,3,"div",0),n.nI1(1,"async")),2&c&&n.vxM(n.bMT(1,1,d.showHeader$)?0:-1)},dependencies:[a.Jj],encapsulation:2,changeDetection:0})}}return _})()},29769(O,m,e){e.d(m,{X:()=>D});var a=e(17705),t=e(85802),l=e(32271),i=e(30477),u=e(9282),o=e(35547);function n(_,M){if(1&_&&(o.rj2(0,"div",0),o.EFF(1),o.nI1(2,"ypDateTime"),o.eux()),2&_){const s=o.XpG(),c=o.r8f(1);o.R7$(),o.SpI(" ",o.i5U(2,1,c.timeStart,s.dateFormatter)," ")}}function g(_,M){if(1&_&&(o.EFF(0),o.nI1(1,"ypDateTime")),2&_){const s=o.XpG(),c=o.r8f(1);o.SpI(" ",o.i5U(1,1,c.timeStart,s.dateFormatter),", ")}}function p(_,M){if(1&_&&(o.EFF(0),o.nI1(1,"ypDateTime")),2&_){const s=o.XpG(),c=o.r8f(0),d=o.r8f(1);o.SpI(" - ",o.i5U(1,1,d.timeEnd,c===s.OrderDateFormat.differentDates?s.dateTimeShortFormatter:s.timeShortFormatter)," ")}}var E=function(_){return _[_.today=1]="today",_[_.customDate=2]="customDate",_[_.differentDates=3]="differentDates",_}(E||{});let D=(()=>{class _{constructor(){this.oneLine=(0,a.hFB)(!1),this.timeInterval=a.hFB.required(),this.OrderDateFormat=E,this.orderDateFormat=(0,l.EW)(()=>{let c;const d=this.timeInterval();if(!d.timeEnd||d.timeStart.getFullYear()===d.timeEnd.getFullYear()&&d.timeStart.getMonth()===d.timeEnd.getMonth()&&d.timeStart.getDate()===d.timeEnd.getDate()){const C=new Date;c=d.timeStart.getFullYear()!==C.getFullYear()||d.timeStart.getMonth()!==C.getMonth()||d.timeStart.getDate()!==C.getDate()?E.customDate:E.today}else c=E.differentDates;return c});const s=(0,t.WQX)(i.t);this.dateFormatter=new Intl.DateTimeFormat(s,{dateStyle:"long"}),this.timeShortFormatter=new Intl.DateTimeFormat(s,{timeStyle:"short"}),this.dateTimeShortFormatter=new Intl.DateTimeFormat(s,{dateStyle:"short",timeStyle:"short"})}static{this.\u0275fac=function(c){return new(c||_)}}static{this.\u0275cmp=o.VBU({type:_,selectors:[["yp-order-expected-time"]],inputs:{oneLine:[1,"oneLine"],timeInterval:[1,"timeInterval"]},decls:8,vars:9,consts:[[1,"mb-2"]],template:function(c,d){if(1&c&&(o.SS7(0)(1),o.nVh(2,n,3,4,"div",0),o.rj2(3,"span"),o.nVh(4,g,2,4),o.EFF(5),o.nI1(6,"ypDateTime"),o.nVh(7,p,2,4),o.eux()),2&c){const C=o.bH3(d.orderDateFormat());o.R7$();const T=o.bH3(d.timeInterval());o.R7$(),o.vxM(d.oneLine()||C!==d.OrderDateFormat.customDate?-1:2),o.R7$(2),o.vxM(d.oneLine()&&C===d.OrderDateFormat.customDate?4:-1),o.R7$(),o.SpI(" ",o.i5U(6,6,T.timeStart,C===d.OrderDateFormat.differentDates?d.dateTimeShortFormatter:d.timeShortFormatter)," "),o.R7$(2),o.vxM(T.timeEnd?7:-1)}},dependencies:[u.A],encapsulation:2,changeDetection:0})}}return _})()},27311(O,m,e){e.d(m,{X:()=>D});var a=e(17705),t=e(85802),l=e(32271),i=e(89417),u=e(99213),o=e(64954),n=e(35547);function g(_,M){if(1&_){const s=n.RV6();n.j41(0,"input",2),n.bIt("ngModelChange",function(d){t.eBV(s);const C=n.XpG();return t.Njj(C.ratingChange(d))}),n.k0s(),n.j41(1,"label",3),n.nrm(2,"mat-icon",4)(3,"mat-icon",5),n.k0s()}if(2&_){const s=M.$implicit,c=n.XpG(),d=n.r8f(0),C=n.r8f(1);n.Y8G("disabled",C)("name",c.radioButtonControlName)("id",c.radioButtonControlName+s)("value",s)("ngModel",d),n.R7$(),n.Y8G("for",c.radioButtonControlName+s),n.R7$(),n.Y8G("inline",!0)("svgIcon",c.SvgIcon.star),n.R7$(),n.Y8G("inline",!0)("svgIcon",c.SvgIcon.starFilled)}}function p(_,M){if(1&_&&n.nrm(0,"meta",1),2&_){const s=n.XpG(),c=n.r8f(0);n.BMQ("bestRating",s.maxRating())("content",c)}}let E=0,D=(()=>{class _{constructor(){this.maxRating=(0,a.hFB)(5),this.addMicrodata=(0,a.hFB)(!1),this.SvgIcon=o.h,this.ratingForView=(0,t.vPA)(void 0),this.ratingDisabled=(0,t.vPA)(!1),this.radioButtonControlName="rating"+E++,this.ratings=(0,l.EW)(()=>{const s=this.maxRating();return Array.from({length:s},(c,d)=>s-d)}),this.touched=!1,this.onChange=s=>{},this.onTouched=()=>{}}ratingChange(s){this.ratingDisabled()||(this.touched||(this.onTouched(),this.touched=!0),this.ratingForView.set(s),this.onChange(s))}writeValue(s){this.ratingForView.set(s??void 0)}registerOnChange(s){this.onChange=s}registerOnTouched(s){this.onTouched=s}setDisabledState(s){this.ratingDisabled.set(s)}static{this.\u0275fac=function(c){return new(c||_)}}static{this.\u0275cmp=n.VBU({type:_,selectors:[["yp-rating"]],inputs:{maxRating:[1,"maxRating"],addMicrodata:[1,"addMicrodata"]},features:[n.Jv_([{provide:i.kq,useExisting:(0,t.Rfq)(()=>_),multi:!0}])],decls:6,vars:5,consts:[[1,"rating","position-relative"],["itemprop","ratingValue","
1worstRating","1"],["type","radio",1,"visually-hidden",3,"ngModelChange","disabled","name","id","value","ngModel"],[1,"rating-star","px-0",3,"for"],[1,"star-empty",3,"inline","svgIcon"],[1,"star-filled",3,"inline","svgIcon"]],template:function(c,d){if(1&c&&(n.SS7(0)(1),n.j41(2,"span",0),n.Z7z(3,g,4,10,null,null,n.fX1),n.k0s(),n.nVh(5,p,1,2,"meta",1)),2&c){const C=n.bH3(d.ratingForView());n.R7$();const T=n.bH3(d.ratingDisabled());n.R7$(),n.AVh("rating-disabled",T),n.R7$(),n.Dyx(d.ratings()),n.R7$(2),n.vxM(d.addMicrodata()&&C?5:-1)}},dependencies:[i.YN,i.me,i.Fm,i.BC,i.vS,u.An],styles:["[_nghost-%COMP%]{line-height:1}.rating[_ngcontent-%COMP%]{display:inline-flex;flex-direction:row-reverse;color:#f7bb16}.rating[_ngcontent-%COMP%] .rating-star[_ngcontent-%COMP%]{height:1em;width:1em}.rating[_ngcontent-%COMP%] .star-filled[_ngcontent-%COMP%]{display:none}.rating.rating-disabled[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ label[_ngcontent-%COMP%] .star-empty[_ngcontent-%COMP%], .rating[_ngcontent-%COMP%]:not(.rating-disabled):not(:hover) input[_ngcontent-%COMP%]:checked ~ label[_ngcontent-%COMP%] .star-empty[_ngcontent-%COMP%], .rating[_ngcontent-%COMP%]:not(.rating-disabled) label[_ngcontent-%COMP%]:hover ~ label[_ngcontent-%COMP%] .star-empty[_ngcontent-%COMP%], .rating[_ngcontent-%COMP%]:not(.rating-disabled) label[_ngcontent-%COMP%]:hover .star-empty[_ngcontent-%COMP%]{display:none}.rating.rating-disabled[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ label[_ngcontent-%COMP%] .star-filled[_ngcontent-%COMP%], .rating[_ngcontent-%COMP%]:not(.rating-disabled):not(:hover) input[_ngcontent-%COMP%]:checked ~ label[_ngcontent-%COMP%] .star-filled[_ngcontent-%COMP%], .rating[_ngcontent-%COMP%]:not(.rating-disabled) label[_ngcontent-%COMP%]:hover ~ label[_ngcontent-%COMP%] .star-filled[_ngcontent-%COMP%], .rating[_ngcontent-%COMP%]:not(.rating-disabled) label[_ngcontent-%COMP%]:hover .star-filled[_ngcontent-%COMP%]{display:unset}.rating[_ngcontent-%COMP%]:not(.rating-disabled) .rating-star[_ngcontent-%COMP%]{cursor:pointer}.rating[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus-visible + .rating-star[_ngcontent-%COMP%]{outline:1px solid var(--yp-body-bg-shift3);outline-offset:-2px;box-shadow:inset 0 0 0 3px var(--yp-body-color-shift7);border-radius:50%}"],changeDetection:0})}}return _})()},97416(O,m,e){e.d(m,{V:()=>g});var a=e(17705),t=e(68018),l=e(96893),i=e(35547);function u(p,E){1&p&&(i.EFF(0),i.nI1(1,"translate")),2&p&&i.SpI(" ",i.bMT(1,1,"SERVICE_TYPES.DELIVERY")," ")}function o(p,E){if(1&p&&(i.EFF(0),i.nI1(1,"translate")),2&p){i.XpG();const D=i.r8f(0);i.SpI(" ",D.serviceItemName||i.bMT(1,1,"SERVICE_TYPES.PROMO_ITEM")," ")}}function n(p,E){if(1&p&&(i.EFF(0),i.nI1(1,"translate")),2&p){i.XpG();const D=i.r8f(0);i.SpI(" ",i.bMT(1,1,D.serviceItemName||"SERVICE_TYPES.UNKNOWN")," ")}}let g=(()=>{class p{constructor(){this.serviceItem=a.hFB.required(),this.ServiceOrderItemType=l.J}static{this.\u0275fac=function(_){return new(_||p)}}static{this.\u0275cmp=i.VBU({type:p,selectors:[["yp-service-type"]],inputs:{serviceItem:[1,"serviceItem"]},decls:4,vars:2,template:function(_,M){if(1&_&&(i.SS7(0),i.nVh(1,u,2,3)(2,o,2,3)(3,n,2,3)),2&_){let s;const c=i.bH3(M.serviceItem());i.R7$(),i.vxM((s=c.serviceItemType)===M.ServiceOrderItemType.delivery?1:s===M.ServiceOrderItemType.promoItem?2:3)}},dependencies:[t.D9],encapsulation:2,changeDetection:0})}}return p})()},5451(O,m,e){e.d(m,{S:()=>p});var a=e(35547),t=e(85802),l=e(89079),i=e(1807),u=e(25558),o=e(87135);const n=[[["","projected-desktop-page-left",""]],[["","projected-desktop-page-top",""]],[["","projected-desktop-page-main",""]],[["","projected-desktop-page-right",""]]],g=["[projected-desktop-page-left]","[projected-desktop-page-top]","[projected-desktop-page-main]","[projected-desktop-page-right]"];let p=(()=>{class E{constructor(){const _=(0,t.WQX)(o.n),M=(0,t.WQX)(a.aKT);(0,i.O)(500).pipe((0,u.n)(()=>_.headersVisibleHeight$),(0,l.pQ)()).subscribe(s=>{M.nativeElement.style.setProperty("--yp-desktop-start-content-top",`${s}px`)})}static{this.\u0275fac=function(M){return new(M||E)}}static{this.\u0275cmp=a.VBU({type:E,selectors:[["yp-desktop-page-wrapper"]],ngContentSelectors:g,decls:12,vars:0,consts:[[1,"desktop-page-wrapper"],[1,"desktop-page-left-placeholder"],[1,"desktop-page-left"],[1,"desktop-page-content-wrapper"],[1,"desktop-page-main-content-wrapper"],[1,"desktop-page-main"],[1,"desktop-page-right"]],template:function(M,s){1&M&&(a.NAR(n),a.rj2(0,"div",0)(1,"div",1)(2,"div",2),a.SdG(3),a.eux()(),a.rj2(4,"div",3)(5,"div"),a.SdG(6,1),a.eux(),a.rj2(7,"div",4)(8,"div",5),a.SdG(9,2),a.eux(),a.rj2(10,"div",6),a.SdG(11,3),a.eux()()()())},styles:["[_nghost-%COMP%]{--yp-cards-container-gap: var(--yp-cards-container-gap-loose)}.desktop-page-wrapper[_ngcontent-%COMP%]{--yp-desktop-page-wrapper-margin-block: 1.5rem;display:flex;margin-block:var(--yp-desktop-page-wrapper-margin-block);gap:var(--yp-cards-container-gap)}.desktop-page-wrapper[_ngcontent-%COMP%] .desktop-page-left-placeholder[_ngcontent-%COMP%], .desktop-page-wrapper[_ngcontent-%COMP%] .desktop-page-left[_ngcontent-%COMP%]{width:19rem;flex-shrink:0}.desktop-page-wrapper[_ngcontent-%COMP%] .desktop-page-left[_ngcontent-%COMP%]{position:fixed;inset-block-start:calc(var(--yp-desktop-start-content-top) + var(--yp-desktop-page-wrapper-margin-block));transition-property:inset-block-start;transition-duration:var(--yp-app-layout-animation-duration);transition-timing-function:ease}.desktop-page-wrapper[_ngcontent-%COMP%] .desktop-page-content-wrapper[_ngcontent-%COMP%]{flex-grow:1;display:flex;flex-direction:column;min-width:0}.desktop-page-wrapper[_ngcontent-%COMP%] .desktop-page-content-wrapper[_ngcontent-%COMP%] .desktop-page-main-content-wrapper[_ngcontent-%COMP%]{flex-grow:1;display:flex;gap:var(--yp-cards-container-gap);min-width:0}.desktop-page-wrapper[_ngcontent-%COMP%] .desktop-page-content-wrapper[_ngcontent-%COMP%] .desktop-page-main-content-wrapper[_ngcontent-%COMP%] .desktop-page-main[_ngcontent-%COMP%]{flex-grow:1;min-width:0}.desktop-page-wrapper[_ngcontent-%COMP%] .desktop-page-content-wrapper[_ngcontent-%COMP%] .desktop-page-main-content-wrapper[_ngcontent-%COMP%] .desktop-page-right[_ngcontent-%COMP%]{width:21rem;flex-shrink:0}"],changeDetection:0})}}return E})()},74541(O,m,e){e.d(m,{E:()=>l});var a=e(49655),t=e(35547);let l=(()=>{class i{transform(o){return null!=o?(0,a._P)(o):o}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275pipe=t.EJ8({name:"ypCents",type:i,pure:!0})}}return i})()},38347(O,m,e){e.d(m,{K:()=>i});var a=e(82693),t=e(64954),l=e(35547);let i=(()=>{class u{transform(n){switch(n){case a.R.draft:return t.h.fileMinus;case a.R.new:return t.h.fileNew;case a.R.onHold:return t.h.pauseCircle;case a.R.changed:return t.h.edit;case a.R.confirmed:return t.h.fileCheck;case a.R.inProgress:return t.h.clockRotateLeft;case a.R.prepared:return t.h.checkCircle;case a.R.assignedToDeliver:return t.h.truckArrowDown;case a.R.onDelivery:return t.h.truck;case a.R.delivered:return t.h.truckCheck;case a.R.closed:return t.h.flag;case a.R.void:return t.h.stopCircle;case a.R.preparing:case a.R.assembling:return t.h.clockRotateLeft}}static{this.\u0275fac=function(g){return new(g||u)}}static{this.\u0275pipe=l.EJ8({name:"ypIconOrderStatus",type:u,pure:!0})}}return u})()},94273(O,m,e){e.d(m,{g:()=>l});var a=e(60711),t=e(35547);let l=(()=>{class i{transform(o){switch(o){case a.Z.delivery:return"MAIN.EXPECTED_DELIVERY_TIME";case a.Z.takeout:case a.Z.driveThru:return"MAIN.EXPECTED_TAKE_OUT_TIME";case a.Z.dineIn:return"MAIN.EXPECTED_DINE_IN_TIME"}}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275pipe=t.EJ8({name:"ypOrderExpectedMessage",type:i,pure:!0})}}return i})()},63981(O,m,e){e.d(m,{E:()=>l});var a=e(60711),t=e(35547);let l=(()=>{class i{transform(o){switch(o){case a.Z.delivery:return"CHECKOUT.PARTY_SIZE.LABEL.FOR_DELIVERY";case a.Z.takeout:case a.Z.driveThru:return"CHECKOUT.PARTY_SIZE.LABEL.FOR_TAKEOUT";case a.Z.dineIn:return"CHECKOUT.PARTY_SIZE.LABEL.FOR_DINE_IN"}}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275pipe=t.EJ8({name:"ypPartySizeLabel",type:i,pure:!0})}}return i})()}}]);
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.