1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2371],{2371(T,g,s){s.d(g,{DishListPageModule:()=>R});var L=s(2200),d=s(9417),e=s(5281),c=s(8132),D=s(4572),p=s(5964),P=s(6697),C=s(7070),h=s(2620),m=s(4697),t=s(3664),u=s(9640),M=s(7514),S=s(8521),y=s(1782),f=s(8018);let B=(()=>{var i;class n{constructor(o,r,l){this.store=o,this.dishService=r,this.admobService=l,this.forceLoaded=!1}ngOnInit(){this.loadSubscription=(0,D.z)([this.store.select(C.HW).pipe((0,p.p)(o=>null!=o)).pipe((0,P.s)(1)),this.store.select(h.$A)]).subscribe(([,o])=>{o.length<=0&&!this.forceLoaded&&(this.forceLoaded=!0,this.forceLoad())}),this.originalDishes$=this.store.select(h.$A)}ngOnDestroy(){this.loadSubscription&&this.loadSubscription.unsubscribe()}forceLoad(){this.dishService.forceLoad()}showSearch(){this.itemListComponent.showSearchBar=!this.itemListComponent.showSearchBar,this.itemListComponent.showSearchBar&&(this.ionContent.scrollToTop(300),this.itemListComponent.searchBar.setFocus())}ionViewDidEnter(){this.admobService.showBannerAds()}ionViewDidLeave(){this.admobService.removeBannerAds()}}return(i=n).\u0275fac=function(o){return new(o||i)(t.rXU(u.il),t.rXU(M.Q),t.rXU(S.T))},i.\u0275cmp=t.VBU({type:i,selectors:[["app-dish-list"]],viewQuery:function(o,r){if(1&o&&(t.GBs(m.j,5),t.GBs(e.W9,5)),2&o){let l;t.mGM(l=t.lsd())&&(r.itemListComponent=l.first),t.mGM(l=t.lsd())&&(r.ionContent=l.first)}},standalone:!1,decls:14,vars:4,consts:[["color","primary"],["slot","start"],[1,"page-title"],["slot","end"],[3,"click"],["slot","icon-only","name","add"],[3,"originalItems$"]],template:function(o,r){1&o&&(t.j41(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-buttons",1),t.nrm(3,"ion-menu-button"),t.k0s(),t.j41(4,"ion-title")(5,"div",2),t.EFF(6),t.nI1(7,"translate"),t.k0s()(),t.j41(8,"ion-buttons",3)(9,"ion-button",4),t.bIt("click",function(){return r.itemListComponent.addItem()}),t.nrm(10,"ion-icon",5),t.k0s()()()(),t.j41(11,"ion-content"),t.nrm(12,"network-status")(13,"item-list",6),t.k0s()),2&o&&(t.R
17$(6),t.JRh(t.bMT(7,2,"s_dishes")),t.R7$(7),t.Y8G("originalItems$",r.originalDishes$))},dependencies:[e.Jm,e.QW,e.W9,e.eU,e.iq,e.MC,e.BC,e.ai,m.j,y.M,f.D9],encapsulation:2}),n})();var v=s(2615);const $=[{path:"",component:B}];let F=(()=>{var i;class n{}return(i=n).\u0275fac=function(o){return new(o||i)},i.\u0275mod=t.$C({type:i}),i.\u0275inj=v.G2t({imports:[c.iI.forChild($),c.iI]}),n})();var j=s(930),G=s(3887),I=s(9702);let R=(()=>{var i;class n{}return(i=n).\u0275fac=function(o){return new(o||i)},i.\u0275mod=t.$C({type:i}),i.\u0275inj=v.G2t({imports:[L.MD,d.YN,d.X1,e.bv,f.h,u.md.forFeature("dish",h.fW),j.Vm.forFeature([I.F]),G.G,F]}),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.