import{a as x}from"./chunk-YFCKGV2V.js";import{G as B,vb as D}from"./chunk-ROXKKVPK.js";import{A as s,Fa as u,Ga as f,Hc as g,Ic as v,Jc as y,Qb as M,Rc as E,S as c,Ta as C,Ua as S,X as m,bc as R,bd as k,cc as h,fb as I,fc as b,ja as p,ka as o,kc as T,la as n,ma as d,ta as r,xb as _}from"./chunk-ZVAMPSQU.js";var Q=(()=>{let e=class e{constructor(){this.modalCtrl=s(y),D({closeOutline:B})}onSelect(l){this.modalCtrl.dismiss(l)}cancel(){this.modalCtrl.dismiss()}};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=m({type:e,selectors:[["select-recipe-modal"]],decls:10,vars:4,consts:[["slot","end"],[3,"click"],["name","close-outline","slot","icon-only"],[1,"ion-padding"],[3,"selectedRecipeChange","enableSelectedState"]],template:function(t,a){t&1&&(o(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),u(3),C(4,"translate"),n(),o(5,"ion-buttons",0)(6,"ion-button",1),r("click",function(){return a.cancel()}),d(7,"ion-icon",2),n()()()(),o(8,"ion-content",3)(9,"select-recipe",4),r("selectedRecipeChange",function(H){return a.onSelect(H)}),n()()),t&2&&(c(3),f(S(4,2,"components.selectRecipeModal.title")),c(6),p("enableSelectedState",!1))},dependencies:[I,M,_,T,v,g,h,R,E,b,x,k],encapsulation:2});let i=e;return i})();export{Q as a};
