ng-miam 9.3.14 → 9.3.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/bundles/ng-miam.umd.js +599 -556
  2. package/bundles/ng-miam.umd.js.map +1 -1
  3. package/bundles/ng-miam.umd.min.js +1 -1
  4. package/bundles/ng-miam.umd.min.js.map +1 -1
  5. package/esm2015/lib/_components/components.module.js +1 -5
  6. package/esm2015/lib/_components/index.js +1 -2
  7. package/esm2015/lib/_web-components/meals-planner/meals-planner.component.js +65 -7
  8. package/esm2015/lib/_web-components/recipe-cards/recipe-card/recipe-card.component.js +1 -1
  9. package/esm2015/lib/_web-components/recipe-catalog/catalog-toolbar/catalog-toolbar.component.js +202 -146
  10. package/esm2015/lib/_web-components/recipe-catalog/recipe-catalog.component.js +195 -207
  11. package/esm2015/lib/_web-components/recipe-tags/recipe-tags.component.js +21 -32
  12. package/esm2015/lib/environments/environment.js +3 -3
  13. package/esm2015/lib/environments/environment.prod.js +3 -3
  14. package/esm2015/lib/environments/version.js +2 -2
  15. package/fesm2015/ng-miam.js +534 -490
  16. package/fesm2015/ng-miam.js.map +1 -1
  17. package/lib/_components/components.module.d.ts +28 -29
  18. package/lib/_components/components.module.d.ts.map +1 -1
  19. package/lib/_components/index.d.ts +0 -1
  20. package/lib/_components/index.d.ts.map +1 -1
  21. package/lib/_web-components/meals-planner/meals-planner.component.d.ts +1 -0
  22. package/lib/_web-components/meals-planner/meals-planner.component.d.ts.map +1 -1
  23. package/lib/_web-components/recipe-catalog/catalog-toolbar/catalog-toolbar.component.d.ts +16 -6
  24. package/lib/_web-components/recipe-catalog/catalog-toolbar/catalog-toolbar.component.d.ts.map +1 -1
  25. package/lib/_web-components/recipe-tags/recipe-tags.component.d.ts +0 -1
  26. package/lib/_web-components/recipe-tags/recipe-tags.component.d.ts.map +1 -1
  27. package/lib/environments/version.d.ts +1 -1
  28. package/package.json +1 -1
  29. package/esm2015/lib/_components/promotions-banner/promotions-banner.component.js +0 -46
  30. package/lib/_components/promotions-banner/promotions-banner.component.d.ts +0 -8
  31. package/lib/_components/promotions-banner/promotions-banner.component.d.ts.map +0 -1
@@ -584,7 +584,7 @@
584
584
  i18n_2 = MSG_EXTERNAL_6125042438179034490$$LIB__COMPONENTS_ADDON_LINK_ADDON_LINK_COMPONENT_TS__3;
585
585
  }
586
586
  else {
587
- i18n_2 = $localize(templateObject_2$E || (templateObject_2$E = __makeTemplateObject([":\u241F21743cbace12f161ebbf8c79731b476336c1fe7a\u241F6125042438179034490: En savoir plus "], [":\u241F21743cbace12f161ebbf8c79731b476336c1fe7a\u241F6125042438179034490: En savoir plus "])));
587
+ i18n_2 = $localize(templateObject_2$D || (templateObject_2$D = __makeTemplateObject([":\u241F21743cbace12f161ebbf8c79731b476336c1fe7a\u241F6125042438179034490: En savoir plus "], [":\u241F21743cbace12f161ebbf8c79731b476336c1fe7a\u241F6125042438179034490: En savoir plus "])));
588
588
  }
589
589
  return [[1, "miam-addon-link"], [1, "miam-addon-link__info"], [4, "ngIf", "ngIfElse"], ["sponsorsedLink", ""], ["class", "miam-addon-link__link", 3, "click", 4, "ngIf"], ["class", "miam-addon-link__logo", 4, "ngIf"], i18n_0, [1, "miam-addon-link__sponsor-name"], [1, "miam-addon-link__link", 3, "click"], i18n_2, [1, "miam-addon-link__logo"], [3, "src"]];
590
590
  }, template: function AddonLinkComponent_Template(rf, ctx) {
@@ -626,7 +626,7 @@
626
626
  type: i0.Output
627
627
  }] });
628
628
  })();
629
- var templateObject_1$Q, templateObject_2$E;
629
+ var templateObject_1$Q, templateObject_2$D;
630
630
 
631
631
  var CORSOverlayComponent = /** @class */ (function () {
632
632
  function CORSOverlayComponent() {
@@ -1307,7 +1307,7 @@
1307
1307
  }] });
1308
1308
  })();
1309
1309
 
1310
- var _c0$r = ["counterInput"];
1310
+ var _c0$s = ["counterInput"];
1311
1311
  function CounterInputComponent_img_3_Template(rf, ctx) {
1312
1312
  if (rf & 1) {
1313
1313
  i0__namespace.ɵɵelement(0, "img", 9);
@@ -1421,7 +1421,7 @@
1421
1421
  CounterInputComponent.ɵfac = function CounterInputComponent_Factory(t) { return new (t || CounterInputComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
1422
1422
  CounterInputComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CounterInputComponent, selectors: [["ng-miam-counter-input"]], viewQuery: function CounterInputComponent_Query(rf, ctx) {
1423
1423
  if (rf & 1) {
1424
- i0__namespace.ɵɵviewQuery(_c0$r, 1);
1424
+ i0__namespace.ɵɵviewQuery(_c0$s, 1);
1425
1425
  }
1426
1426
  if (rf & 2) {
1427
1427
  var _t = void 0;
@@ -1538,7 +1538,7 @@
1538
1538
  i0__namespace.ɵɵproperty("ngForOf", ctx_r0.options);
1539
1539
  }
1540
1540
  }
1541
- var _c0$q = function (a0) { return { disabled: a0 }; };
1541
+ var _c0$r = function (a0) { return { disabled: a0 }; };
1542
1542
  var _c1$g = function (a0) { return { "guests-dropdown__button--on": a0 }; };
1543
1543
  var GuestsDropdownComponent = /** @class */ (function () {
1544
1544
  function GuestsDropdownComponent(eRef, cdr) {
@@ -1591,7 +1591,7 @@
1591
1591
  i0__namespace.ɵɵelementEnd();
1592
1592
  }
1593
1593
  if (rf & 2) {
1594
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$q, ctx.disabled));
1594
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$r, ctx.disabled));
1595
1595
  i0__namespace.ɵɵadvance(1);
1596
1596
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$g, ctx.optionsShown));
1597
1597
  i0__namespace.ɵɵattribute("aria-expanded", ctx.optionsShown);
@@ -1832,9 +1832,9 @@
1832
1832
  env: 'prod',
1833
1833
  miamAPI: 'https://api.miam.tech',
1834
1834
  miamWeb: 'https://miam.tech',
1835
- mealzComponents: 'https://cdn.jsdelivr.net/npm/mealz-components@2.6/dist',
1835
+ mealzComponents: 'https://cdn.jsdelivr.net/npm/mealz-components@2.7/dist',
1836
1836
  mealzSsrApi: 'https://ssr-api.mealz.ai',
1837
- mealzSdkV10: 'https://cdn.jsdelivr.net/npm/webc-miam@10.3',
1837
+ mealzSdkV10: 'https://cdn.jsdelivr.net/npm/webc-miam@10.4',
1838
1838
  lang: 'fr',
1839
1839
  analyticsEnabled: true // Only used in DEV mode
1840
1840
  };
@@ -3652,7 +3652,7 @@
3652
3652
  EventJourney["EMPTY"] = "";
3653
3653
  })(EventJourney || (EventJourney = {}));
3654
3654
 
3655
- var VERSION = "9.3.14"; // TODO: replace by ##VERSION## and update it in the CI/CD
3655
+ var VERSION = "9.3.16"; // TODO: replace by ##VERSION## and update it in the CI/CD
3656
3656
 
3657
3657
  var ContextRegistryService = /** @class */ (function () {
3658
3658
  function ContextRegistryService() {
@@ -9054,7 +9054,7 @@
9054
9054
  }], function () { return [{ type: PointOfSalesService }, { type: BasketsService }, { type: UserService }, { type: PreferencesService }, { type: AnalyticsService }, { type: RecipesService }, { type: BasketRecipeCleanupService }, { type: i8__namespace.MediaMatcher }, { type: SuppliersService }, { type: i8__namespace.BreakpointObserver }, { type: BasketsSynchronizerService }, { type: StoreLocatorService }, { type: RecipeLikesService }, { type: FakeRetailerCartService }, { type: HistoryService }, { type: ContextRegistryService }, { type: PlannerSSRService }]; }, null);
9055
9055
  })();
9056
9056
 
9057
- var _c0$p = function (a0, a1) { return { "width": a0, "height": a1 }; };
9057
+ var _c0$q = function (a0, a1) { return { "width": a0, "height": a1 }; };
9058
9058
  var _c1$f = function (a0) { return { "width": a0 }; };
9059
9059
  function IconComponent_div_0_Template(rf, ctx) {
9060
9060
  if (rf & 1) {
@@ -9064,7 +9064,7 @@
9064
9064
  }
9065
9065
  if (rf & 2) {
9066
9066
  var ctx_r0 = i0__namespace.ɵɵnextContext();
9067
- i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction2(3, _c0$p, ctx_r0.width + "px", ctx_r0.height + "px"));
9067
+ i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction2(3, _c0$q, ctx_r0.width + "px", ctx_r0.height + "px"));
9068
9068
  i0__namespace.ɵɵadvance(1);
9069
9069
  i0__namespace.ɵɵproperty("src", ctx_r0.iconOverrideUrl, i0__namespace.ɵɵsanitizeUrl)("ngStyle", i0__namespace.ɵɵpureFunction1(6, _c1$f, ctx_r0.width + "px"));
9070
9070
  }
@@ -10008,7 +10008,7 @@
10008
10008
  var ctx_r2 = i0__namespace.ɵɵnextContext();
10009
10009
  i0__namespace.ɵɵproperty("ngSwitch", ctx_r2.iconName);
10010
10010
  i0__namespace.ɵɵadvance(1);
10011
- i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction2(47, _c0$p, ctx_r2.width + "px", ctx_r2.height + "px"));
10011
+ i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction2(47, _c0$q, ctx_r2.width + "px", ctx_r2.height + "px"));
10012
10012
  i0__namespace.ɵɵadvance(1);
10013
10013
  i0__namespace.ɵɵproperty("ngSwitchCase", ctx_r2.icon.Checkmark);
10014
10014
  i0__namespace.ɵɵadvance(1);
@@ -10786,9 +10786,9 @@
10786
10786
  env: 'prod',
10787
10787
  miamAPI: 'https://api.miam.tech',
10788
10788
  miamWeb: 'https://miam.tech',
10789
- mealzComponents: 'https://cdn.jsdelivr.net/npm/mealz-components@2.6/dist',
10789
+ mealzComponents: 'https://cdn.jsdelivr.net/npm/mealz-components@2.7/dist',
10790
10790
  mealzSsrApi: 'https://ssr-api.mealz.ai',
10791
- mealzSdkV10: 'https://cdn.jsdelivr.net/npm/webc-miam@10.3',
10791
+ mealzSdkV10: 'https://cdn.jsdelivr.net/npm/webc-miam@10.4',
10792
10792
  lang: 'fr',
10793
10793
  analyticsEnabled: true // Only used in DEV mode
10794
10794
  };
@@ -11919,7 +11919,7 @@
11919
11919
  }], function () { return [{ type: SponsorBlockTypeService }]; }, null);
11920
11920
  })();
11921
11921
 
11922
- var _c0$o = function (a0) { return { fill: a0 }; };
11922
+ var _c0$p = function (a0) { return { fill: a0 }; };
11923
11923
  var _c1$e = function (a0) { return { active: a0 }; };
11924
11924
  var LikeButtonComponent = /** @class */ (function (_super) {
11925
11925
  __extends(LikeButtonComponent, _super);
@@ -11981,7 +11981,7 @@
11981
11981
  if (rf & 2) {
11982
11982
  i0__namespace.ɵɵattribute("aria-label", ctx.recipeLike.isPast === false ? "Retirer des favoris" : "Ajouter aux favoris");
11983
11983
  i0__namespace.ɵɵadvance(1);
11984
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$o, ctx.recipeLike.isPast == false));
11984
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$p, ctx.recipeLike.isPast == false));
11985
11985
  i0__namespace.ɵɵadvance(1);
11986
11986
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c1$e, ctx.recipeLike.isPast !== false));
11987
11987
  i0__namespace.ɵɵadvance(1);
@@ -12057,7 +12057,7 @@
12057
12057
  i18n_2 = MSG_EXTERNAL_5328674089466195959$$LIB__COMPONENTS_MEALS_PLANNER_LINK_MEALS_PLANNER_LINK_COMPONENT_TS_3;
12058
12058
  }
12059
12059
  else {
12060
- i18n_2 = $localize(templateObject_2$D || (templateObject_2$D = __makeTemplateObject([":\u241Fb1c4690366792b0d9b9034d6b35d974cdfaf2eea\u241F5328674089466195959:Je renseigne mon budget, le nombre de convives et de repas, et j'obtiens des id\u00E9es repas"], [":\u241Fb1c4690366792b0d9b9034d6b35d974cdfaf2eea\u241F5328674089466195959:Je renseigne mon budget, le nombre de convives et de repas, et j'obtiens des id\u00E9es repas"])));
12060
+ i18n_2 = $localize(templateObject_2$C || (templateObject_2$C = __makeTemplateObject([":\u241Fb1c4690366792b0d9b9034d6b35d974cdfaf2eea\u241F5328674089466195959:Je renseigne mon budget, le nombre de convives et de repas, et j'obtiens des id\u00E9es repas"], [":\u241Fb1c4690366792b0d9b9034d6b35d974cdfaf2eea\u241F5328674089466195959:Je renseigne mon budget, le nombre de convives et de repas, et j'obtiens des id\u00E9es repas"])));
12061
12061
  }
12062
12062
  var i18n_4;
12063
12063
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -12111,7 +12111,7 @@
12111
12111
  }]
12112
12112
  }], function () { return [{ type: ContextService }]; }, null);
12113
12113
  })();
12114
- var templateObject_1$P, templateObject_2$D, templateObject_3$t;
12114
+ var templateObject_1$P, templateObject_2$C, templateObject_3$t;
12115
12115
 
12116
12116
  function ModalComponent_ng_container_0_div_7_Template(rf, ctx) {
12117
12117
  if (rf & 1) {
@@ -12348,7 +12348,7 @@
12348
12348
  }
12349
12349
  }
12350
12350
  var _c11$3 = [[["", "header", ""]], "*"];
12351
- var _c12$2 = ["[header]", "*"];
12351
+ var _c12$1 = ["[header]", "*"];
12352
12352
  var ModalComponent = /** @class */ (function () {
12353
12353
  function ModalComponent(contextService, basketTransferService, currencyService) {
12354
12354
  this.contextService = contextService;
@@ -12424,7 +12424,7 @@
12424
12424
  if (rf & 1) {
12425
12425
  i0__namespace.ɵɵlistener("keydown.escape", function ModalComponent_keydown_escape_HostBindingHandler() { return ctx.onEscapeDown(); }, false, i0__namespace.ɵɵresolveWindow);
12426
12426
  }
12427
- }, inputs: { recipesCount: "recipesCount", confirmButtonIsLoading: "confirmButtonIsLoading", cancelButtonIsLoading: "cancelButtonIsLoading", confirmButtonDisabled: "confirmButtonDisabled", cancelButtonDisabled: "cancelButtonDisabled", placeOrderFooter: "placeOrderFooter", redirectToCartFooter: "redirectToCartFooter", noHeaderMode: "noHeaderMode", totalPrice: "totalPrice", title: "title", confirmButtonText: "confirmButtonText", cancelButtonText: "cancelButtonText", modalStyle: "modalStyle", ctaColor: "ctaColor", display: "display" }, outputs: { close: "close", cancel: "cancel", confirm: "confirm" }, ngContentSelectors: _c12$2, decls: 1, vars: 1, consts: function () {
12427
+ }, inputs: { recipesCount: "recipesCount", confirmButtonIsLoading: "confirmButtonIsLoading", cancelButtonIsLoading: "cancelButtonIsLoading", confirmButtonDisabled: "confirmButtonDisabled", cancelButtonDisabled: "cancelButtonDisabled", placeOrderFooter: "placeOrderFooter", redirectToCartFooter: "redirectToCartFooter", noHeaderMode: "noHeaderMode", totalPrice: "totalPrice", title: "title", confirmButtonText: "confirmButtonText", cancelButtonText: "cancelButtonText", modalStyle: "modalStyle", ctaColor: "ctaColor", display: "display" }, outputs: { close: "close", cancel: "cancel", confirm: "confirm" }, ngContentSelectors: _c12$1, decls: 1, vars: 1, consts: function () {
12428
12428
  var i18n_0;
12429
12429
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
12430
12430
  var MSG_EXTERNAL_3775647930168967606$$LIB__COMPONENTS_MODAL_MODAL_COMPONENT_TS___1 = goog.getMsg("Utilis\u00E9 dans ");
@@ -12439,7 +12439,7 @@
12439
12439
  i18n_2 = MSG_EXTERNAL_8253051398336962047$$LIB__COMPONENTS_MODAL_MODAL_COMPONENT_TS___3;
12440
12440
  }
12441
12441
  else {
12442
- i18n_2 = $localize(templateObject_2$C || (templateObject_2$C = __makeTemplateObject([":\u241Ff0ee2f84e20252199737bc9757b04e75979cb9fe\u241F8253051398336962047: repas"], [":\u241Ff0ee2f84e20252199737bc9757b04e75979cb9fe\u241F8253051398336962047: repas"])));
12442
+ i18n_2 = $localize(templateObject_2$B || (templateObject_2$B = __makeTemplateObject([":\u241Ff0ee2f84e20252199737bc9757b04e75979cb9fe\u241F8253051398336962047: repas"], [":\u241Ff0ee2f84e20252199737bc9757b04e75979cb9fe\u241F8253051398336962047: repas"])));
12443
12443
  }
12444
12444
  var i18n_4;
12445
12445
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -12526,9 +12526,9 @@
12526
12526
  args: ['window:keydown.escape']
12527
12527
  }] });
12528
12528
  })();
12529
- var templateObject_1$O, templateObject_2$C, templateObject_3$s, templateObject_4$p, templateObject_5$j;
12529
+ var templateObject_1$O, templateObject_2$B, templateObject_3$s, templateObject_4$p, templateObject_5$j;
12530
12530
 
12531
- var _c0$n = ["mealzPrice"];
12531
+ var _c0$o = ["mealzPrice"];
12532
12532
  var _c1$d = ["mealzOldPrice"];
12533
12533
  function PriceComponent_div_1_Template(rf, ctx) {
12534
12534
  if (rf & 1) {
@@ -12594,7 +12594,7 @@
12594
12594
  PriceComponent.ɵfac = function PriceComponent_Factory(t) { return new (t || PriceComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
12595
12595
  PriceComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: PriceComponent, selectors: [["ng-miam-price"]], viewQuery: function PriceComponent_Query(rf, ctx) {
12596
12596
  if (rf & 1) {
12597
- i0__namespace.ɵɵviewQuery(_c0$n, 1);
12597
+ i0__namespace.ɵɵviewQuery(_c0$o, 1);
12598
12598
  i0__namespace.ɵɵviewQuery(_c1$d, 1);
12599
12599
  }
12600
12600
  if (rf & 2) {
@@ -12718,7 +12718,7 @@
12718
12718
  i0__namespace.ɵɵtextInterpolate(ctx_r1.tooltipTitle);
12719
12719
  }
12720
12720
  }
12721
- var _c0$m = function (a0) { return { "always-shown": a0 }; };
12721
+ var _c0$n = function (a0) { return { "always-shown": a0 }; };
12722
12722
  function TooltipableContentComponent_div_2_Template(rf, ctx) {
12723
12723
  if (rf & 1) {
12724
12724
  i0__namespace.ɵɵelementStart(0, "div", 2);
@@ -12731,7 +12731,7 @@
12731
12731
  if (rf & 2) {
12732
12732
  var ctx_r0 = i0__namespace.ɵɵnextContext();
12733
12733
  i0__namespace.ɵɵclassMapInterpolate3("miam-tooltipable-content-popover ", ctx_r0.position, " ", ctx_r0.theme, " ", ctx_r0.spacing, "");
12734
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$m, ctx_r0.alwaysShown));
12734
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$n, ctx_r0.alwaysShown));
12735
12735
  i0__namespace.ɵɵadvance(1);
12736
12736
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.tooltipTitle);
12737
12737
  i0__namespace.ɵɵadvance(2);
@@ -12814,7 +12814,7 @@
12814
12814
  i0__namespace.ɵɵtextInterpolate(ctx_r0.label);
12815
12815
  }
12816
12816
  }
12817
- var _c0$l = function (a0) { return { width: a0 }; };
12817
+ var _c0$m = function (a0) { return { width: a0 }; };
12818
12818
  function ProgressTrackerComponent_ng_miam_tooltipable_content_5_Template(rf, ctx) {
12819
12819
  if (rf & 1) {
12820
12820
  i0__namespace.ɵɵelement(0, "ng-miam-tooltipable-content", 8);
@@ -12822,7 +12822,7 @@
12822
12822
  if (rf & 2) {
12823
12823
  var ctx_r1 = i0__namespace.ɵɵnextContext();
12824
12824
  i0__namespace.ɵɵpropertyInterpolate2("tooltipText", "+", ctx_r1.roundedOverflow, " ", ctx_r1.unit, "");
12825
- i0__namespace.ɵɵproperty("alwaysShown", true)("ngStyle", i0__namespace.ɵɵpureFunction1(4, _c0$l, 100 - ctx_r1.percentage * 100 + "%"));
12825
+ i0__namespace.ɵɵproperty("alwaysShown", true)("ngStyle", i0__namespace.ɵɵpureFunction1(4, _c0$m, 100 - ctx_r1.percentage * 100 + "%"));
12826
12826
  }
12827
12827
  }
12828
12828
  var _c1$b = function (a0) { return { full: a0 }; };
@@ -12878,7 +12878,7 @@
12878
12878
  i0__namespace.ɵɵadvance(2);
12879
12879
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$b, ctx.value > ctx.max));
12880
12880
  i0__namespace.ɵɵadvance(1);
12881
- i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(9, _c0$l, ctx.percentage * 100 + "%"));
12881
+ i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(9, _c0$m, ctx.percentage * 100 + "%"));
12882
12882
  i0__namespace.ɵɵadvance(1);
12883
12883
  i0__namespace.ɵɵproperty("ngIf", ctx.value > ctx.max);
12884
12884
  i0__namespace.ɵɵadvance(1);
@@ -12908,7 +12908,7 @@
12908
12908
  }] });
12909
12909
  })();
12910
12910
 
12911
- var _c0$k = [[["ng-miam-accordion-title"]], [["ng-miam-accordion-content"]]];
12911
+ var _c0$l = [[["ng-miam-accordion-title"]], [["ng-miam-accordion-content"]]];
12912
12912
  var _c1$a = ["ng-miam-accordion-title", "ng-miam-accordion-content"];
12913
12913
  var AccordionTitleDirective = /** @class */ (function () {
12914
12914
  function AccordionTitleDirective() {
@@ -12968,7 +12968,7 @@
12968
12968
  }
12969
12969
  }, inputs: { isCollapsed: "isCollapsed" }, outputs: { isCollapsedChange: "isCollapsedChange" }, ngContentSelectors: _c1$a, decls: 6, vars: 0, consts: [[1, "miam-accordion__header", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/chevron-down-primary.svg", "alt", "", "aria-hidden", "true", 1, "miam-accordion__icon"], [1, "miam-accordion__collapsable-container"], [1, "miam-accordion__collapsable-content"]], template: function AccordionComponent_Template(rf, ctx) {
12970
12970
  if (rf & 1) {
12971
- i0__namespace.ɵɵprojectionDef(_c0$k);
12971
+ i0__namespace.ɵɵprojectionDef(_c0$l);
12972
12972
  i0__namespace.ɵɵelementStart(0, "div", 0);
12973
12973
  i0__namespace.ɵɵlistener("click", function AccordionComponent_Template_div_click_0_listener() { return ctx.swapState(); });
12974
12974
  i0__namespace.ɵɵprojection(1);
@@ -13452,7 +13452,7 @@
13452
13452
  i18n_2 = MSG_EXTERNAL_4359053901144852078$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS_3;
13453
13453
  }
13454
13454
  else {
13455
- i18n_2 = $localize(templateObject_2$B || (templateObject_2$B = __makeTemplateObject([":\u241F515812e22dc3f7668cb6ad93e54740e5c1a140b0\u241F4359053901144852078:R\u00E9initialiser"], [":\u241F515812e22dc3f7668cb6ad93e54740e5c1a140b0\u241F4359053901144852078:R\u00E9initialiser"])));
13455
+ i18n_2 = $localize(templateObject_2$A || (templateObject_2$A = __makeTemplateObject([":\u241F515812e22dc3f7668cb6ad93e54740e5c1a140b0\u241F4359053901144852078:R\u00E9initialiser"], [":\u241F515812e22dc3f7668cb6ad93e54740e5c1a140b0\u241F4359053901144852078:R\u00E9initialiser"])));
13456
13456
  }
13457
13457
  var i18n_4;
13458
13458
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -13671,7 +13671,7 @@
13671
13671
  type: i0.Output
13672
13672
  }] });
13673
13673
  })();
13674
- var templateObject_1$M, templateObject_2$B, templateObject_3$r, templateObject_4$o, templateObject_5$i, templateObject_6$e, templateObject_7$d, templateObject_8$a, templateObject_9$7, templateObject_10$6, templateObject_11$6, templateObject_12$3, templateObject_13$2, templateObject_14$1, templateObject_15$1, templateObject_16, templateObject_17, templateObject_18, templateObject_19;
13674
+ var templateObject_1$M, templateObject_2$A, templateObject_3$r, templateObject_4$o, templateObject_5$i, templateObject_6$e, templateObject_7$d, templateObject_8$a, templateObject_9$7, templateObject_10$6, templateObject_11$6, templateObject_12$3, templateObject_13$2, templateObject_14$1, templateObject_15$1, templateObject_16, templateObject_17, templateObject_18, templateObject_19;
13675
13675
 
13676
13676
  var SelectPosButtonDirective = /** @class */ (function () {
13677
13677
  function SelectPosButtonDirective(el, contextService, posService) {
@@ -13982,7 +13982,7 @@
13982
13982
  i18n_2 = MSG_EXTERNAL_8418532136889699301$$LIB__WEB_COMPONENTS_RECIPE_PRICING_RECIPE_PRICING_COMPONENT_TS___3;
13983
13983
  }
13984
13984
  else {
13985
- i18n_2 = $localize(templateObject_2$A || (templateObject_2$A = __makeTemplateObject([":\u241Fa46e2443e6b0e54d02427631e80b76a326ee6fb3\u241F8418532136889699301:Soit"], [":\u241Fa46e2443e6b0e54d02427631e80b76a326ee6fb3\u241F8418532136889699301:Soit"])));
13985
+ i18n_2 = $localize(templateObject_2$z || (templateObject_2$z = __makeTemplateObject([":\u241Fa46e2443e6b0e54d02427631e80b76a326ee6fb3\u241F8418532136889699301:Soit"], [":\u241Fa46e2443e6b0e54d02427631e80b76a326ee6fb3\u241F8418532136889699301:Soit"])));
13986
13986
  }
13987
13987
  var i18n_4;
13988
13988
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14035,9 +14035,9 @@
14035
14035
  type: i0.Output
14036
14036
  }] });
14037
14037
  })();
14038
- var templateObject_1$L, templateObject_2$A, templateObject_3$q, templateObject_4$n;
14038
+ var templateObject_1$L, templateObject_2$z, templateObject_3$q, templateObject_4$n;
14039
14039
 
14040
- var _c0$j = ["background"];
14040
+ var _c0$k = ["background"];
14041
14041
  var _c1$9 = function (a0) { return { "active": a0 }; };
14042
14042
  function SliderTabsComponent_button_1_Template(rf, ctx) {
14043
14043
  if (rf & 1) {
@@ -14102,7 +14102,7 @@
14102
14102
  SliderTabsComponent.ɵfac = function SliderTabsComponent_Factory(t) { return new (t || SliderTabsComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
14103
14103
  SliderTabsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: SliderTabsComponent, selectors: [["ng-miam-slider-tabs"]], viewQuery: function SliderTabsComponent_Query(rf, ctx) {
14104
14104
  if (rf & 1) {
14105
- i0__namespace.ɵɵviewQuery(_c0$j, 1);
14105
+ i0__namespace.ɵɵviewQuery(_c0$k, 1);
14106
14106
  }
14107
14107
  if (rf & 2) {
14108
14108
  var _t = void 0;
@@ -14142,7 +14142,7 @@
14142
14142
  }] });
14143
14143
  })();
14144
14144
 
14145
- var _c0$i = ["underline"];
14145
+ var _c0$j = ["underline"];
14146
14146
  function TabsComponent_button_0_Template(rf, ctx) {
14147
14147
  if (rf & 1) {
14148
14148
  var _r5_1 = i0__namespace.ɵɵgetCurrentView();
@@ -14191,7 +14191,7 @@
14191
14191
  TabsComponent.ɵfac = function TabsComponent_Factory(t) { return new (t || TabsComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
14192
14192
  TabsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: TabsComponent, selectors: [["ng-miam-tabs"]], viewQuery: function TabsComponent_Query(rf, ctx) {
14193
14193
  if (rf & 1) {
14194
- i0__namespace.ɵɵviewQuery(_c0$i, 1);
14194
+ i0__namespace.ɵɵviewQuery(_c0$j, 1);
14195
14195
  }
14196
14196
  if (rf & 2) {
14197
14197
  var _t = void 0;
@@ -14228,7 +14228,7 @@
14228
14228
  }] });
14229
14229
  })();
14230
14230
 
14231
- var _c0$h = ["title"];
14231
+ var _c0$i = ["title"];
14232
14232
  function TimePickerComponent_ng_container_2_Template(rf, ctx) {
14233
14233
  if (rf & 1) {
14234
14234
  i0__namespace.ɵɵelementContainer(0);
@@ -14296,7 +14296,7 @@
14296
14296
  TimePickerComponent.ɵfac = function TimePickerComponent_Factory(t) { return new (t || TimePickerComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
14297
14297
  TimePickerComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: TimePickerComponent, selectors: [["ng-miam-time-picker"]], contentQueries: function TimePickerComponent_ContentQueries(rf, ctx, dirIndex) {
14298
14298
  if (rf & 1) {
14299
- i0__namespace.ɵɵcontentQuery(dirIndex, _c0$h, 1);
14299
+ i0__namespace.ɵɵcontentQuery(dirIndex, _c0$i, 1);
14300
14300
  }
14301
14301
  if (rf & 2) {
14302
14302
  var _t = void 0;
@@ -14317,7 +14317,7 @@
14317
14317
  i18n_3 = MSG_EXTERNAL_3901733599428143571$$LIB__COMPONENTS_TIME_PICKER_TIME_PICKER_COMPONENT_TS_4;
14318
14318
  }
14319
14319
  else {
14320
- i18n_3 = $localize(templateObject_2$z || (templateObject_2$z = __makeTemplateObject([":\u241F7b4524d65d87a53c32b788d68b49e9b83e3b42b2\u241F3901733599428143571:min"], [":\u241F7b4524d65d87a53c32b788d68b49e9b83e3b42b2\u241F3901733599428143571:min"])));
14320
+ i18n_3 = $localize(templateObject_2$y || (templateObject_2$y = __makeTemplateObject([":\u241F7b4524d65d87a53c32b788d68b49e9b83e3b42b2\u241F3901733599428143571:min"], [":\u241F7b4524d65d87a53c32b788d68b49e9b83e3b42b2\u241F3901733599428143571:min"])));
14321
14321
  }
14322
14322
  return [[1, "miam-time-picker", "m-default-card", "m-small-typo"], [1, "miam-time-picker__label"], [4, "ngTemplateOutlet"], [1, "miam-time-picker__container", 3, "formGroup"], ["primaryColor", "var( --m-color-light-slate)", 3, "iconName"], ["formControlName", "hours", "onClick", "this.select();", 1, "miam-time-picker__container__input", 3, "maxLength", "blur"], [1, "miam-time-picker__container__label"], i18n_1, ["formControlName", "minutes", "onClick", "this.select();", 1, "miam-time-picker__container__input", 3, "maxLength", "blur"], i18n_3];
14323
14323
  }, template: function TimePickerComponent_Template(rf, ctx) {
@@ -14377,7 +14377,7 @@
14377
14377
  args: ['title', { static: false }]
14378
14378
  }] });
14379
14379
  })();
14380
- var templateObject_1$K, templateObject_2$z;
14380
+ var templateObject_1$K, templateObject_2$y;
14381
14381
 
14382
14382
  function ToasterComponent_div_2_Template(rf, ctx) {
14383
14383
  if (rf & 1) {
@@ -14487,7 +14487,7 @@
14487
14487
  }] });
14488
14488
  })();
14489
14489
 
14490
- var _c0$g = function (a0) { return { "background-color": a0 }; };
14490
+ var _c0$h = function (a0) { return { "background-color": a0 }; };
14491
14491
  var _c1$8 = function (a0, a1) { return { "font-size.px": a0, "color": a1 }; };
14492
14492
  var SponsorTitleBlockComponent = /** @class */ (function () {
14493
14493
  function SponsorTitleBlockComponent() {
@@ -14504,7 +14504,7 @@
14504
14504
  i0__namespace.ɵɵelementEnd();
14505
14505
  }
14506
14506
  if (rf & 2) {
14507
- i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(3, _c0$g, ctx.sponsorBlock.backgroundColor || "#FFFFFF"));
14507
+ i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(3, _c0$h, ctx.sponsorBlock.backgroundColor || "#FFFFFF"));
14508
14508
  i0__namespace.ɵɵadvance(1);
14509
14509
  i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction2(5, _c1$8, ctx.sponsorBlock.fontSize || 32, ctx.sponsorBlock.fontColor || "#000000"));
14510
14510
  i0__namespace.ɵɵadvance(1);
@@ -14524,7 +14524,7 @@
14524
14524
  }] });
14525
14525
  })();
14526
14526
 
14527
- var _c0$f = function (a0) { return { "background-color": a0 }; };
14527
+ var _c0$g = function (a0) { return { "background-color": a0 }; };
14528
14528
  var _c1$7 = function (a0, a1) { return { "font-size.px": a0, "color": a1 }; };
14529
14529
  var SponsorSmallTitleBlockComponent = /** @class */ (function () {
14530
14530
  function SponsorSmallTitleBlockComponent() {
@@ -14541,7 +14541,7 @@
14541
14541
  i0__namespace.ɵɵelementEnd();
14542
14542
  }
14543
14543
  if (rf & 2) {
14544
- i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(3, _c0$f, ctx.sponsorBlock.backgroundColor || "#FFFFFF"));
14544
+ i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(3, _c0$g, ctx.sponsorBlock.backgroundColor || "#FFFFFF"));
14545
14545
  i0__namespace.ɵɵadvance(1);
14546
14546
  i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction2(5, _c1$7, ctx.sponsorBlock.fontSize || 32, ctx.sponsorBlock.fontColor || "#000000"));
14547
14547
  i0__namespace.ɵɵadvance(1);
@@ -14561,7 +14561,7 @@
14561
14561
  }] });
14562
14562
  })();
14563
14563
 
14564
- var _c0$e = function (a0) { return { "background-color": a0 }; };
14564
+ var _c0$f = function (a0) { return { "background-color": a0 }; };
14565
14565
  var _c1$6 = function (a0, a1) { return { "font-size.px": a0, "color": a1 }; };
14566
14566
  var SponsorSmallTextBlockComponent = /** @class */ (function () {
14567
14567
  function SponsorSmallTextBlockComponent() {
@@ -14578,7 +14578,7 @@
14578
14578
  i0__namespace.ɵɵelementEnd();
14579
14579
  }
14580
14580
  if (rf & 2) {
14581
- i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(3, _c0$e, ctx.sponsorBlock.backgroundColor || "#FFFFFF"));
14581
+ i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(3, _c0$f, ctx.sponsorBlock.backgroundColor || "#FFFFFF"));
14582
14582
  i0__namespace.ɵɵadvance(1);
14583
14583
  i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction2(5, _c1$6, ctx.sponsorBlock.fontSize || 16, ctx.sponsorBlock.fontColor || "#000000"));
14584
14584
  i0__namespace.ɵɵadvance(1);
@@ -14658,7 +14658,7 @@
14658
14658
  }] });
14659
14659
  })();
14660
14660
 
14661
- var _c0$d = function (a0) { return { "background-image": a0 }; };
14661
+ var _c0$e = function (a0) { return { "background-image": a0 }; };
14662
14662
  var _c1$5 = function (a0, a1, a2) { return { "background-color": a0, "font-size.px": a1, "color": a2 }; };
14663
14663
  var SponsorImageWithTextBlockComponent = /** @class */ (function () {
14664
14664
  function SponsorImageWithTextBlockComponent() {
@@ -14675,7 +14675,7 @@
14675
14675
  i0__namespace.ɵɵelementEnd();
14676
14676
  }
14677
14677
  if (rf & 2) {
14678
- i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(3, _c0$d, "url(" + ctx.sponsorBlock.pictureUrl + ")"));
14678
+ i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(3, _c0$e, "url(" + ctx.sponsorBlock.pictureUrl + ")"));
14679
14679
  i0__namespace.ɵɵadvance(1);
14680
14680
  i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction3(5, _c1$5, ctx.sponsorBlock.backgroundColor || "#FFFFFF", ctx.sponsorBlock.fontSize || 16, ctx.sponsorBlock.fontColor || "#000000"));
14681
14681
  i0__namespace.ɵɵadvance(1);
@@ -14695,7 +14695,7 @@
14695
14695
  }] });
14696
14696
  })();
14697
14697
 
14698
- var _c0$c = function (a0, a1, a2) { return { "background-color": a0, "font-size.px": a1, "color": a2 }; };
14698
+ var _c0$d = function (a0, a1, a2) { return { "background-color": a0, "font-size.px": a1, "color": a2 }; };
14699
14699
  var SponsorImageAndTextBlockComponent = /** @class */ (function () {
14700
14700
  function SponsorImageAndTextBlockComponent() {
14701
14701
  }
@@ -14715,7 +14715,7 @@
14715
14715
  i0__namespace.ɵɵadvance(1);
14716
14716
  i0__namespace.ɵɵproperty("src", ctx.sponsorBlock.pictureUrl, i0__namespace.ɵɵsanitizeUrl)("alt", ctx.sponsorBlock.content || "Image sponsor");
14717
14717
  i0__namespace.ɵɵadvance(1);
14718
- i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction3(4, _c0$c, ctx.sponsorBlock.backgroundColor || "#FFFFFF", ctx.sponsorBlock.fontSize || 16, ctx.sponsorBlock.fontColor || "#000000"));
14718
+ i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction3(4, _c0$d, ctx.sponsorBlock.backgroundColor || "#FFFFFF", ctx.sponsorBlock.fontSize || 16, ctx.sponsorBlock.fontColor || "#000000"));
14719
14719
  i0__namespace.ɵɵadvance(1);
14720
14720
  i0__namespace.ɵɵtextInterpolate1(" ", ctx.sponsorBlock.content, " ");
14721
14721
  }
@@ -14733,7 +14733,7 @@
14733
14733
  }] });
14734
14734
  })();
14735
14735
 
14736
- var _c0$b = function (a0, a1, a2) { return { "background-color": a0, "font-size.px": a1, "color": a2 }; };
14736
+ var _c0$c = function (a0, a1, a2) { return { "background-color": a0, "font-size.px": a1, "color": a2 }; };
14737
14737
  var SponsorTextAndImageBlockComponent = /** @class */ (function () {
14738
14738
  function SponsorTextAndImageBlockComponent() {
14739
14739
  }
@@ -14751,7 +14751,7 @@
14751
14751
  }
14752
14752
  if (rf & 2) {
14753
14753
  i0__namespace.ɵɵadvance(1);
14754
- i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction3(4, _c0$b, ctx.sponsorBlock.backgroundColor || "#FFFFFF", ctx.sponsorBlock.fontSize || 16, ctx.sponsorBlock.fontColor || "#000000"));
14754
+ i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction3(4, _c0$c, ctx.sponsorBlock.backgroundColor || "#FFFFFF", ctx.sponsorBlock.fontSize || 16, ctx.sponsorBlock.fontColor || "#000000"));
14755
14755
  i0__namespace.ɵɵadvance(1);
14756
14756
  i0__namespace.ɵɵtextInterpolate1(" ", ctx.sponsorBlock.content, " ");
14757
14757
  i0__namespace.ɵɵadvance(1);
@@ -14771,7 +14771,7 @@
14771
14771
  }] });
14772
14772
  })();
14773
14773
 
14774
- var _c0$a = function (a0) { return { "background-color": a0 }; };
14774
+ var _c0$b = function (a0) { return { "background-color": a0 }; };
14775
14775
  var SponsorLogoBlockComponent = /** @class */ (function () {
14776
14776
  function SponsorLogoBlockComponent() {
14777
14777
  }
@@ -14785,7 +14785,7 @@
14785
14785
  i0__namespace.ɵɵelementEnd();
14786
14786
  }
14787
14787
  if (rf & 2) {
14788
- i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(3, _c0$a, ctx.sponsorBlock.backgroundColor || "#FFFFFF"));
14788
+ i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(3, _c0$b, ctx.sponsorBlock.backgroundColor || "#FFFFFF"));
14789
14789
  i0__namespace.ɵɵadvance(1);
14790
14790
  i0__namespace.ɵɵproperty("src", ctx.sponsorBlock.pictureUrl, i0__namespace.ɵɵsanitizeUrl)("alt", ctx.sponsorBlock.content || "Logo sponsor");
14791
14791
  }
@@ -14803,7 +14803,7 @@
14803
14803
  }] });
14804
14804
  })();
14805
14805
 
14806
- var _c0$9 = function (a0) { return { "background-color": a0 }; };
14806
+ var _c0$a = function (a0) { return { "background-color": a0 }; };
14807
14807
  var _c1$4 = function (a0, a1) { return { "font-size.px": a0, "color": a1 }; };
14808
14808
  var SponsorTextBlockComponent = /** @class */ (function () {
14809
14809
  function SponsorTextBlockComponent() {
@@ -14820,7 +14820,7 @@
14820
14820
  i0__namespace.ɵɵelementEnd();
14821
14821
  }
14822
14822
  if (rf & 2) {
14823
- i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(3, _c0$9, ctx.sponsorBlock.backgroundColor || "#FFFFFF"));
14823
+ i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(3, _c0$a, ctx.sponsorBlock.backgroundColor || "#FFFFFF"));
14824
14824
  i0__namespace.ɵɵadvance(1);
14825
14825
  i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction2(5, _c1$4, ctx.sponsorBlock.fontSize || 16, ctx.sponsorBlock.fontColor || "#000000"));
14826
14826
  i0__namespace.ɵɵadvance(1);
@@ -15047,7 +15047,7 @@
15047
15047
  i18n_2 = MSG_EXTERNAL_7173165666217907891$$LIB__COMPONENTS_UNAVAILABLE_BADGE_UNAVAILABLE_BADGE_COMPONENT_TS__3;
15048
15048
  }
15049
15049
  else {
15050
- i18n_2 = $localize(templateObject_2$y || (templateObject_2$y = __makeTemplateObject([":\u241F822d0074ad3d7ebd8db7e0981a91403310949ed0\u241F7173165666217907891:produit indisponible"], [":\u241F822d0074ad3d7ebd8db7e0981a91403310949ed0\u241F7173165666217907891:produit indisponible"])));
15050
+ i18n_2 = $localize(templateObject_2$x || (templateObject_2$x = __makeTemplateObject([":\u241F822d0074ad3d7ebd8db7e0981a91403310949ed0\u241F7173165666217907891:produit indisponible"], [":\u241F822d0074ad3d7ebd8db7e0981a91403310949ed0\u241F7173165666217907891:produit indisponible"])));
15051
15051
  }
15052
15052
  var i18n_4;
15053
15053
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -15100,9 +15100,9 @@
15100
15100
  type: i0.Output
15101
15101
  }] });
15102
15102
  })();
15103
- var templateObject_1$J, templateObject_2$y, templateObject_3$p;
15103
+ var templateObject_1$J, templateObject_2$x, templateObject_3$p;
15104
15104
 
15105
- var _c0$8 = function (a0) { return { circle: a0 }; };
15105
+ var _c0$9 = function (a0) { return { circle: a0 }; };
15106
15106
  var SkeletonComponent = /** @class */ (function () {
15107
15107
  function SkeletonComponent() {
15108
15108
  this.theme = {};
@@ -15116,7 +15116,7 @@
15116
15116
  i0__namespace.ɵɵelement(0, "div", 0);
15117
15117
  }
15118
15118
  if (rf & 2) {
15119
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$8, ctx.appearance === "circle"))("ngStyle", ctx.theme);
15119
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$9, ctx.appearance === "circle"))("ngStyle", ctx.theme);
15120
15120
  }
15121
15121
  }, directives: [i1__namespace.NgClass, i1__namespace.NgStyle], styles: [".miam-skeleton-loader{box-sizing:border-box;overflow:hidden;position:relative;background:var(--miam-color-skeleton,#f7f7f7) no-repeat;border-radius:4px;width:100%;height:20px;display:inline-block;margin-bottom:10px;will-change:transform}.miam-skeleton-loader:after,.miam-skeleton-loader:before{box-sizing:border-box}.miam-skeleton-loader.circle{width:40px;height:40px;border-radius:50%}.miam-skeleton-loader.pulse{animation:pulse 1.5s cubic-bezier(.6,0,.4,1) infinite;animation-delay:.5s}@media (min-width:1023px){.miam-skeleton-loader{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:wait}}@keyframes pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}"], encapsulation: 2, changeDetection: 0 });
15122
15122
  (function () {
@@ -15136,11 +15136,11 @@
15136
15136
  }] });
15137
15137
  })();
15138
15138
 
15139
- var _c0$7 = function () { return { height: "32", width: "32" }; };
15139
+ var _c0$8 = function () { return { height: "32", width: "32" }; };
15140
15140
  var _c1$3 = function () { return { height: "120px", width: "120px" }; };
15141
15141
  var _c2$4 = function () { return { width: "80px", "border-radius": "100px" }; };
15142
15142
  var _c3$2 = function () { return { "border-radius": "100px" }; };
15143
- var _c4$3 = function () { return { height: "24px", width: "80px", "border-radius": "100px" }; };
15143
+ var _c4$2 = function () { return { height: "24px", width: "80px", "border-radius": "100px" }; };
15144
15144
  var _c5$2 = function () { return { height: "12px", width: "80px", "border-radius": "100px" }; };
15145
15145
  var ProductCardSkeletonComponent = /** @class */ (function () {
15146
15146
  function ProductCardSkeletonComponent() {
@@ -15187,7 +15187,7 @@
15187
15187
  }
15188
15188
  if (rf & 2) {
15189
15189
  i0__namespace.ɵɵadvance(5);
15190
- i0__namespace.ɵɵproperty("theme", i0__namespace.ɵɵpureFunction0(8, _c0$7));
15190
+ i0__namespace.ɵɵproperty("theme", i0__namespace.ɵɵpureFunction0(8, _c0$8));
15191
15191
  i0__namespace.ɵɵadvance(3);
15192
15192
  i0__namespace.ɵɵproperty("theme", i0__namespace.ɵɵpureFunction0(9, _c1$3));
15193
15193
  i0__namespace.ɵɵadvance(3);
@@ -15197,7 +15197,7 @@
15197
15197
  i0__namespace.ɵɵadvance(2);
15198
15198
  i0__namespace.ɵɵproperty("theme", i0__namespace.ɵɵpureFunction0(12, _c3$2));
15199
15199
  i0__namespace.ɵɵadvance(2);
15200
- i0__namespace.ɵɵproperty("theme", i0__namespace.ɵɵpureFunction0(13, _c4$3));
15200
+ i0__namespace.ɵɵproperty("theme", i0__namespace.ɵɵpureFunction0(13, _c4$2));
15201
15201
  i0__namespace.ɵɵadvance(3);
15202
15202
  i0__namespace.ɵɵproperty("theme", i0__namespace.ɵɵpureFunction0(14, _c5$2));
15203
15203
  i0__namespace.ɵɵadvance(1);
@@ -15885,7 +15885,7 @@
15885
15885
  i18n_2 = MSG_EXTERNAL_3793541371922822082$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS____3;
15886
15886
  }
15887
15887
  else {
15888
- i18n_2 = $localize(templateObject_2$x || (templateObject_2$x = __makeTemplateObject([":\u241F5169fe9ecceb681bf9ecb6c6bcb77ac14d4b4b8c\u241F3793541371922822082:Ignorer produit"], [":\u241F5169fe9ecceb681bf9ecb6c6bcb77ac14d4b4b8c\u241F3793541371922822082:Ignorer produit"])));
15888
+ i18n_2 = $localize(templateObject_2$w || (templateObject_2$w = __makeTemplateObject([":\u241F5169fe9ecceb681bf9ecb6c6bcb77ac14d4b4b8c\u241F3793541371922822082:Ignorer produit"], [":\u241F5169fe9ecceb681bf9ecb6c6bcb77ac14d4b4b8c\u241F3793541371922822082:Ignorer produit"])));
15889
15889
  }
15890
15890
  var i18n_4;
15891
15891
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -15958,7 +15958,7 @@
15958
15958
  type: i0.Input
15959
15959
  }] });
15960
15960
  })();
15961
- var templateObject_1$G, templateObject_2$x, templateObject_3$o, templateObject_4$m, templateObject_5$h, templateObject_6$d, templateObject_7$c, templateObject_8$9;
15961
+ var templateObject_1$G, templateObject_2$w, templateObject_3$o, templateObject_4$m, templateObject_5$h, templateObject_6$d, templateObject_7$c, templateObject_8$9;
15962
15962
 
15963
15963
  function ProductsPickerComponent_ng_container_3_span_3_Template(rf, ctx) {
15964
15964
  if (rf & 1) {
@@ -16241,7 +16241,7 @@
16241
16241
  i18n_2 = MSG_EXTERNAL_2503766562931300230$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS___3;
16242
16242
  }
16243
16243
  else {
16244
- i18n_2 = $localize(templateObject_2$w || (templateObject_2$w = __makeTemplateObject([":\u241Fe75af30c885be857c622a937ed16d2420bb56573\u241F2503766562931300230: ingr\u00E9dient"], [":\u241Fe75af30c885be857c622a937ed16d2420bb56573\u241F2503766562931300230: ingr\u00E9dient"])));
16244
+ i18n_2 = $localize(templateObject_2$v || (templateObject_2$v = __makeTemplateObject([":\u241Fe75af30c885be857c622a937ed16d2420bb56573\u241F2503766562931300230: ingr\u00E9dient"], [":\u241Fe75af30c885be857c622a937ed16d2420bb56573\u241F2503766562931300230: ingr\u00E9dient"])));
16245
16245
  }
16246
16246
  var i18n_4;
16247
16247
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16341,7 +16341,7 @@
16341
16341
  type: i0.Output
16342
16342
  }] });
16343
16343
  })();
16344
- var templateObject_1$F, templateObject_2$w, templateObject_3$n, templateObject_4$l, templateObject_5$g, templateObject_6$c, templateObject_7$b;
16344
+ var templateObject_1$F, templateObject_2$v, templateObject_3$n, templateObject_4$l, templateObject_5$g, templateObject_6$c, templateObject_7$b;
16345
16345
 
16346
16346
  function NoPosSelectedComponent_ng_container_1_Template(rf, ctx) {
16347
16347
  if (rf & 1) {
@@ -16398,7 +16398,7 @@
16398
16398
  i18n_2 = MSG_EXTERNAL_4902959158996033$$LIB__COMPONENTS_NO_POS_SELECTED_NO_POS_SELECTED_COMPONENT_TS__3;
16399
16399
  }
16400
16400
  else {
16401
- i18n_2 = $localize(templateObject_2$v || (templateObject_2$v = __makeTemplateObject([":\u241F510e53ffe7595eaaef4ee1c3821c11808214a699\u241F4902959158996033: D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas "], [":\u241F510e53ffe7595eaaef4ee1c3821c11808214a699\u241F4902959158996033: D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas "])));
16401
+ i18n_2 = $localize(templateObject_2$u || (templateObject_2$u = __makeTemplateObject([":\u241F510e53ffe7595eaaef4ee1c3821c11808214a699\u241F4902959158996033: D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas "], [":\u241F510e53ffe7595eaaef4ee1c3821c11808214a699\u241F4902959158996033: D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas "])));
16402
16402
  }
16403
16403
  var i18n_4;
16404
16404
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16460,7 +16460,7 @@
16460
16460
  type: i0.Output
16461
16461
  }] });
16462
16462
  })();
16463
- var templateObject_1$E, templateObject_2$v, templateObject_3$m, templateObject_4$k, templateObject_5$f;
16463
+ var templateObject_1$E, templateObject_2$u, templateObject_3$m, templateObject_4$k, templateObject_5$f;
16464
16464
 
16465
16465
  var ProductAdditionCardComponent = /** @class */ (function () {
16466
16466
  function ProductAdditionCardComponent(productReplacementService) {
@@ -16484,7 +16484,7 @@
16484
16484
  i18n_2 = MSG_EXTERNAL_3600300940826652542$$LIB__COMPONENTS_PRODUCT_ADDITION_CARD_PRODUCT_ADDITION_CARD_COMPONENT_TS_3;
16485
16485
  }
16486
16486
  else {
16487
- i18n_2 = $localize(templateObject_2$u || (templateObject_2$u = __makeTemplateObject([":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"], [":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"])));
16487
+ i18n_2 = $localize(templateObject_2$t || (templateObject_2$t = __makeTemplateObject([":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"], [":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"])));
16488
16488
  }
16489
16489
  return [[1, "miam-product-addition-card"], [1, "miam-product-addition-card__title"], i18n_0, [1, "miam-product-addition-card__button", "miam-ds-button", "secondary", "small", 3, "click"], i18n_2];
16490
16490
  }, template: function ProductAdditionCardComponent_Template(rf, ctx) {
@@ -16514,7 +16514,7 @@
16514
16514
  }]
16515
16515
  }], function () { return [{ type: ProductReplacementService }]; }, null);
16516
16516
  })();
16517
- var templateObject_1$D, templateObject_2$u;
16517
+ var templateObject_1$D, templateObject_2$t;
16518
16518
 
16519
16519
  var RecipePromotionBadgeComponent = /** @class */ (function () {
16520
16520
  function RecipePromotionBadgeComponent() {
@@ -16556,62 +16556,6 @@
16556
16556
  })();
16557
16557
  var templateObject_1$C;
16558
16558
 
16559
- var PromotionsBannerComponent = /** @class */ (function () {
16560
- function PromotionsBannerComponent() {
16561
- this.clicked = new i0.EventEmitter();
16562
- }
16563
- return PromotionsBannerComponent;
16564
- }());
16565
- PromotionsBannerComponent.ɵfac = function PromotionsBannerComponent_Factory(t) { return new (t || PromotionsBannerComponent)(); };
16566
- PromotionsBannerComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: PromotionsBannerComponent, selectors: [["ng-miam-promotions-banner"]], outputs: { clicked: "clicked" }, decls: 6, vars: 0, consts: function () {
16567
- var i18n_0;
16568
- if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
16569
- var MSG_EXTERNAL_4019422797206036470$$LIB__COMPONENTS_PROMOTIONS_BANNER_PROMOTIONS_BANNER_COMPONENT_TS_1 = goog.getMsg("Nouveau");
16570
- i18n_0 = MSG_EXTERNAL_4019422797206036470$$LIB__COMPONENTS_PROMOTIONS_BANNER_PROMOTIONS_BANNER_COMPONENT_TS_1;
16571
- }
16572
- else {
16573
- i18n_0 = $localize(templateObject_1$B || (templateObject_1$B = __makeTemplateObject([":\u241Faee24ecdebdace141b39819a7034cd1a2d2cfb55\u241F4019422797206036470:Nouveau"], [":\u241Faee24ecdebdace141b39819a7034cd1a2d2cfb55\u241F4019422797206036470:Nouveau"])));
16574
- }
16575
- var i18n_2;
16576
- if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
16577
- var MSG_EXTERNAL_7832597981427653824$$LIB__COMPONENTS_PROMOTIONS_BANNER_PROMOTIONS_BANNER_COMPONENT_TS_3 = goog.getMsg(" D\u00E9couvrez nos recettes en promo' ! ");
16578
- i18n_2 = MSG_EXTERNAL_7832597981427653824$$LIB__COMPONENTS_PROMOTIONS_BANNER_PROMOTIONS_BANNER_COMPONENT_TS_3;
16579
- }
16580
- else {
16581
- i18n_2 = $localize(templateObject_2$t || (templateObject_2$t = __makeTemplateObject([":\u241Ff0f672a46f5c4c577c4eb4b28bd661af97258b6a\u241F7832597981427653824: D\u00E9couvrez nos recettes en promo' ! "], [":\u241Ff0f672a46f5c4c577c4eb4b28bd661af97258b6a\u241F7832597981427653824: D\u00E9couvrez nos recettes en promo' ! "])));
16582
- }
16583
- return [[1, "miam-promotions-banner"], [1, "miam-promotions-banner__badge", "miam-ds-text", "size-s", "weight-xl"], i18n_0, [1, "miam-promotions-banner_button", 3, "click"], [1, "miam-promotions-banner__text", "miam-ds-text", "weight-xl"], i18n_2];
16584
- }, template: function PromotionsBannerComponent_Template(rf, ctx) {
16585
- if (rf & 1) {
16586
- i0__namespace.ɵɵelementStart(0, "div", 0);
16587
- i0__namespace.ɵɵelementStart(1, "span", 1);
16588
- i0__namespace.ɵɵi18n(2, 2);
16589
- i0__namespace.ɵɵelementEnd();
16590
- i0__namespace.ɵɵelementStart(3, "button", 3);
16591
- i0__namespace.ɵɵlistener("click", function PromotionsBannerComponent_Template_button_click_3_listener() { return ctx.clicked.emit(); });
16592
- i0__namespace.ɵɵelementStart(4, "span", 4);
16593
- i0__namespace.ɵɵi18n(5, 5);
16594
- i0__namespace.ɵɵelementEnd();
16595
- i0__namespace.ɵɵelementEnd();
16596
- i0__namespace.ɵɵelementEnd();
16597
- }
16598
- }, styles: ["ng-miam-promotions-banner{position:relative;max-width:480px;width:100%;margin:0 16px;box-sizing:border-box}ng-miam-promotions-banner .miam-promotions-banner__badge{position:absolute;top:0;left:50%;transform:translate(-50%,-50%);padding:4px 8px;border-radius:999px;color:var(--miam-ds-color-neutral-white,#fff);background-color:#e02d2d}ng-miam-promotions-banner .miam-promotions-banner_button{padding:12px;text-decoration:underline;width:100%;border-radius:8px;border:none;cursor:pointer;background-color:var(--miam-color-neutral-50,#f7f8f9)}"], encapsulation: 2, changeDetection: 0 });
16599
- (function () {
16600
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PromotionsBannerComponent, [{
16601
- type: i0.Component,
16602
- args: [{
16603
- selector: 'ng-miam-promotions-banner',
16604
- templateUrl: './promotions-banner.component.html',
16605
- styleUrls: ['./promotions-banner.component.scss'],
16606
- encapsulation: i0.ViewEncapsulation.None,
16607
- changeDetection: i0.ChangeDetectionStrategy.OnPush
16608
- }]
16609
- }], null, { clicked: [{
16610
- type: i0.Output
16611
- }] });
16612
- })();
16613
- var templateObject_1$B, templateObject_2$t;
16614
-
16615
16559
  var StoreLocatorComponent = /** @class */ (function (_super) {
16616
16560
  __extends(StoreLocatorComponent, _super);
16617
16561
  function StoreLocatorComponent(analyticsService, storeLocatorService, userService, cdr) {
@@ -16748,7 +16692,6 @@
16748
16692
  ToasterComponent,
16749
16693
  TooltipableContentComponent,
16750
16694
  GuestsDropdownComponent,
16751
- PromotionsBannerComponent,
16752
16695
  RecipePromotionBadgeComponent,
16753
16696
  SponsorBlockContainerComponent,
16754
16697
  SponsorSmallTitleBlockComponent,
@@ -16809,7 +16752,6 @@
16809
16752
  ToasterComponent,
16810
16753
  TooltipableContentComponent,
16811
16754
  GuestsDropdownComponent,
16812
- PromotionsBannerComponent,
16813
16755
  RecipePromotionBadgeComponent,
16814
16756
  SponsorBlockContainerComponent,
16815
16757
  SponsorSmallTitleBlockComponent,
@@ -16857,7 +16799,6 @@
16857
16799
  ToasterComponent,
16858
16800
  TooltipableContentComponent,
16859
16801
  GuestsDropdownComponent,
16860
- PromotionsBannerComponent,
16861
16802
  RecipePromotionBadgeComponent,
16862
16803
  SponsorBlockContainerComponent,
16863
16804
  SponsorSmallTitleBlockComponent,
@@ -17110,7 +17051,7 @@
17110
17051
  i18n_0 = MSG_EXTERNAL_5279571682523834027$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_DISABLED_BASKET_PREVIEW_DISABLED_COMPONENT_TS__1;
17111
17052
  }
17112
17053
  else {
17113
- i18n_0 = $localize(templateObject_1$A || (templateObject_1$A = __makeTemplateObject([":\u241Fcf4f536e5a68ceab8fbe420ae968c0c7d0f63e0e\u241F5279571682523834027: Article(s) indisponible(s) "], [":\u241Fcf4f536e5a68ceab8fbe420ae968c0c7d0f63e0e\u241F5279571682523834027: Article(s) indisponible(s) "])));
17054
+ i18n_0 = $localize(templateObject_1$B || (templateObject_1$B = __makeTemplateObject([":\u241Fcf4f536e5a68ceab8fbe420ae968c0c7d0f63e0e\u241F5279571682523834027: Article(s) indisponible(s) "], [":\u241Fcf4f536e5a68ceab8fbe420ae968c0c7d0f63e0e\u241F5279571682523834027: Article(s) indisponible(s) "])));
17114
17055
  }
17115
17056
  var i18n_2;
17116
17057
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17208,7 +17149,7 @@
17208
17149
  args: ['window:resize', ['$event']]
17209
17150
  }] });
17210
17151
  })();
17211
- var templateObject_1$A, templateObject_2$s, templateObject_3$l, templateObject_4$j, templateObject_5$e;
17152
+ var templateObject_1$B, templateObject_2$s, templateObject_3$l, templateObject_4$j, templateObject_5$e;
17212
17153
 
17213
17154
  function BasketPreviewLineComponent_ng_container_0_div_5_Template(rf, ctx) {
17214
17155
  if (rf & 1) {
@@ -17387,7 +17328,7 @@
17387
17328
  i0__namespace.ɵɵelement(0, "div", 34);
17388
17329
  }
17389
17330
  }
17390
- var _c12$1 = function (a0, a1) { return { "disabled": a0, "loading": a1 }; };
17331
+ var _c12 = function (a0, a1) { return { "disabled": a0, "loading": a1 }; };
17391
17332
  function BasketPreviewLineComponent_ng_template_1_button_3_Template(rf, ctx) {
17392
17333
  if (rf & 1) {
17393
17334
  var _r38_1 = i0__namespace.ɵɵgetCurrentView();
@@ -17400,7 +17341,7 @@
17400
17341
  if (rf & 2) {
17401
17342
  var _r35 = i0__namespace.ɵɵreference(3);
17402
17343
  var ctx_r19 = i0__namespace.ɵɵnextContext(2);
17403
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(3, _c12$1, ctx_r19.disableRemove, ctx_r19.removing));
17344
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(3, _c12, ctx_r19.disableRemove, ctx_r19.removing));
17404
17345
  i0__namespace.ɵɵadvance(1);
17405
17346
  i0__namespace.ɵɵproperty("ngIf", !ctx_r19.removing)("ngIfElse", _r35);
17406
17347
  }
@@ -18150,7 +18091,7 @@
18150
18091
  i18n_0 = MSG_EXTERNAL_6749102764655247912$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS__1;
18151
18092
  }
18152
18093
  else {
18153
- i18n_0 = $localize(templateObject_1$z || (templateObject_1$z = __makeTemplateObject([":\u241Fd68184b8cb73679ad3ecea9935d57f739bea4871\u241F6749102764655247912:Voir les produits"], [":\u241Fd68184b8cb73679ad3ecea9935d57f739bea4871\u241F6749102764655247912:Voir les produits"])));
18094
+ i18n_0 = $localize(templateObject_1$A || (templateObject_1$A = __makeTemplateObject([":\u241Fd68184b8cb73679ad3ecea9935d57f739bea4871\u241F6749102764655247912:Voir les produits"], [":\u241Fd68184b8cb73679ad3ecea9935d57f739bea4871\u241F6749102764655247912:Voir les produits"])));
18154
18095
  }
18155
18096
  var i18n_2;
18156
18097
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18313,7 +18254,7 @@
18313
18254
  type: i0.Output
18314
18255
  }] });
18315
18256
  })();
18316
- var templateObject_1$z, templateObject_2$r, templateObject_3$k, templateObject_4$i, templateObject_5$d, templateObject_6$b, templateObject_7$a, templateObject_8$8, templateObject_9$6, templateObject_10$5, templateObject_11$5, templateObject_12$2, templateObject_13$1, templateObject_14, templateObject_15;
18257
+ var templateObject_1$A, templateObject_2$r, templateObject_3$k, templateObject_4$i, templateObject_5$d, templateObject_6$b, templateObject_7$a, templateObject_8$8, templateObject_9$6, templateObject_10$5, templateObject_11$5, templateObject_12$2, templateObject_13$1, templateObject_14, templateObject_15;
18317
18258
 
18318
18259
  function BasketPreviewProductComponent_div_0_div_19_Template(rf, ctx) {
18319
18260
  if (rf & 1) {
@@ -18534,7 +18475,7 @@
18534
18475
  i18n_0 = MSG_EXTERNAL_4705093661060921903$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_PRODUCT_BASKET_PREVIEW_PRODUCT_COMPONENT_TS___1;
18535
18476
  }
18536
18477
  else {
18537
- i18n_0 = $localize(templateObject_1$y || (templateObject_1$y = __makeTemplateObject([":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"], [":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"])));
18478
+ i18n_0 = $localize(templateObject_1$z || (templateObject_1$z = __makeTemplateObject([":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"], [":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"])));
18538
18479
  }
18539
18480
  return [["class", "miam-basket-preview-product", 3, "id", 4, "ngIf"], [1, "miam-basket-preview-product", 3, "id"], [1, "miam-basket-preview-product__infos-container"], [1, "miam-basket-preview-product__picture-container"], [1, "miam-basket-preview-product__picture"], [3, "alt", "src", "error"], [1, "miam-basket-preview-product__infos-and-actions"], [1, "miam-basket-preview-product__infos"], [1, "miam-basket-preview-product__title", "miam-ds-text", "weight-l", "size-s"], [1, "miam-product-card__badges"], [1, "miam-basket-preview-product__capacity", "miam-ds-badge"], ["aria-hidden", "true"], ["class", "miam-basket-preview-product__sponsorised miam-ds-badge", 4, "ngIf"], ["class", "miam-basket-preview-product__replace-button miam-ds-button ghost", 3, "disabled", "click", 4, "ngIf"], ["aria-label", "Supprimer", 1, "miam-basket-preview-line__remove", "miam-ds-button", "ghost", 3, "ngClass", "click"], ["class", "miam-ds-loader", 4, "ngIf"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/trash.svg", "alt", "", "aria-hidden", "true", 4, "ngIf"], [1, "miam-basket-preview-product__price-and-action"], [1, "miam-basket-preview-product__price", "miam-ds-text", "size-l", "weight-xl"], ["minRange", "0", 3, "value", "minusLoading", "disable", "valueChange"], [1, "miam-basket-preview-product__sponsorised", "miam-ds-badge"], [1, "miam-basket-preview-product__replace-button", "miam-ds-button", "ghost", 3, "disabled", "click"], i18n_0, [1, "miam-ds-loader"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/trash.svg", "alt", "", "aria-hidden", "true"]];
18540
18481
  }, template: function BasketPreviewProductComponent_Template(rf, ctx) {
@@ -18567,7 +18508,7 @@
18567
18508
  type: i0.Output
18568
18509
  }] });
18569
18510
  })();
18570
- var templateObject_1$y;
18511
+ var templateObject_1$z;
18571
18512
 
18572
18513
  var RemoveRecipeAction = /** @class */ (function (_super) {
18573
18514
  __extends(RemoveRecipeAction, _super);
@@ -19202,7 +19143,7 @@
19202
19143
  i18n_0 = MSG_EXTERNAL_6950029358283595645$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS_1;
19203
19144
  }
19204
19145
  else {
19205
- i18n_0 = $localize(templateObject_1$x || (templateObject_1$x = __makeTemplateObject([":\u241Ff077b7f13b9ff18b98843b6451b95b52e2e0416b\u241F6950029358283595645:Rechercher un produit de substitution"], [":\u241Ff077b7f13b9ff18b98843b6451b95b52e2e0416b\u241F6950029358283595645:Rechercher un produit de substitution"])));
19146
+ i18n_0 = $localize(templateObject_1$y || (templateObject_1$y = __makeTemplateObject([":\u241Ff077b7f13b9ff18b98843b6451b95b52e2e0416b\u241F6950029358283595645:Rechercher un produit de substitution"], [":\u241Ff077b7f13b9ff18b98843b6451b95b52e2e0416b\u241F6950029358283595645:Rechercher un produit de substitution"])));
19206
19147
  }
19207
19148
  var i18n_2;
19208
19149
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -19395,7 +19336,7 @@
19395
19336
  args: ['@slide']
19396
19337
  }] });
19397
19338
  })();
19398
- var templateObject_1$x, templateObject_2$q, templateObject_3$j, templateObject_4$h, templateObject_5$c, templateObject_6$a, templateObject_7$9, templateObject_8$7, templateObject_9$5, templateObject_10$4, templateObject_11$4;
19339
+ var templateObject_1$y, templateObject_2$q, templateObject_3$j, templateObject_4$h, templateObject_5$c, templateObject_6$a, templateObject_7$9, templateObject_8$7, templateObject_9$5, templateObject_10$4, templateObject_11$4;
19399
19340
 
19400
19341
  function BasketPreviewBlockComponent_div_2_ng_container_1_div_2_Template(rf, ctx) {
19401
19342
  if (rf & 1) {
@@ -19432,7 +19373,7 @@
19432
19373
  i0__namespace.ɵɵelement(0, "ng-miam-product-addition-card");
19433
19374
  }
19434
19375
  }
19435
- var _c4$2 = function (a0) { return { "display": a0 }; };
19376
+ var _c4$1 = function (a0) { return { "display": a0 }; };
19436
19377
  function BasketPreviewBlockComponent_div_2_ng_container_1_div_4_ng_miam_basket_preview_line_2_Template(rf, ctx) {
19437
19378
  if (rf & 1) {
19438
19379
  var _r21_1 = i0__namespace.ɵɵgetCurrentView();
@@ -19443,7 +19384,7 @@
19443
19384
  if (rf & 2) {
19444
19385
  var line_r19 = ctx.$implicit;
19445
19386
  var ctx_r16 = i0__namespace.ɵɵnextContext(4);
19446
- i0__namespace.ɵɵproperty("line", line_r19)("blockStates", ctx_r16.blockStates)("recipesAlwaysExpanded", ctx_r16.recipesAlwaysExpanded)("itemsAlwaysExpanded", ctx_r16.itemsAlwaysExpanded)("displayItemsUnitaryPrice", ctx_r16.displayItemsUnitaryPrice)("legacyMode", ctx_r16.legacyMode)("originTrace", ctx_r16.eventTrace)("ngStyle", i0__namespace.ɵɵpureFunction1(8, _c4$2, (ctx_r16.blockStates == null ? null : ctx_r16.blockStates.value == null ? null : ctx_r16.blockStates.value.overlayOpen) ? "none" : "block"));
19387
+ i0__namespace.ɵɵproperty("line", line_r19)("blockStates", ctx_r16.blockStates)("recipesAlwaysExpanded", ctx_r16.recipesAlwaysExpanded)("itemsAlwaysExpanded", ctx_r16.itemsAlwaysExpanded)("displayItemsUnitaryPrice", ctx_r16.displayItemsUnitaryPrice)("legacyMode", ctx_r16.legacyMode)("originTrace", ctx_r16.eventTrace)("ngStyle", i0__namespace.ɵɵpureFunction1(8, _c4$1, (ctx_r16.blockStates == null ? null : ctx_r16.blockStates.value == null ? null : ctx_r16.blockStates.value.overlayOpen) ? "none" : "block"));
19447
19388
  }
19448
19389
  }
19449
19390
  function BasketPreviewBlockComponent_div_2_ng_container_1_div_4_ng_miam_replace_item_3_Template(rf, ctx) {
@@ -19926,7 +19867,7 @@
19926
19867
  i18n_0 = MSG_EXTERNAL_8629591622298910251$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS___1;
19927
19868
  }
19928
19869
  else {
19929
- i18n_0 = $localize(templateObject_1$w || (templateObject_1$w = __makeTemplateObject([":\u241Fe5550a57e3cc37b6956342b99fb7e0ab9534db7a\u241F8629591622298910251:Recettes, Produits"], [":\u241Fe5550a57e3cc37b6956342b99fb7e0ab9534db7a\u241F8629591622298910251:Recettes, Produits"])));
19870
+ i18n_0 = $localize(templateObject_1$x || (templateObject_1$x = __makeTemplateObject([":\u241Fe5550a57e3cc37b6956342b99fb7e0ab9534db7a\u241F8629591622298910251:Recettes, Produits"], [":\u241Fe5550a57e3cc37b6956342b99fb7e0ab9534db7a\u241F8629591622298910251:Recettes, Produits"])));
19930
19871
  }
19931
19872
  var i18n_2;
19932
19873
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20043,7 +19984,7 @@
20043
19984
  args: [BasketPreviewProductComponent]
20044
19985
  }] });
20045
19986
  })();
20046
- var templateObject_1$w, templateObject_2$p, templateObject_3$i, templateObject_4$g, templateObject_5$b, templateObject_6$9, templateObject_7$8, templateObject_8$6;
19987
+ var templateObject_1$x, templateObject_2$p, templateObject_3$i, templateObject_4$g, templateObject_5$b, templateObject_6$9, templateObject_7$8, templateObject_8$6;
20047
19988
 
20048
19989
  var BasketPreviewModule = /** @class */ (function () {
20049
19990
  // Create custom elements so the WebComponents can be interpreted by the browser regardless of the js framework used
@@ -20188,7 +20129,7 @@
20188
20129
  i18n_0 = MSG_EXTERNAL_7845121959018697970$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_1;
20189
20130
  }
20190
20131
  else {
20191
- i18n_0 = $localize(templateObject_1$v || (templateObject_1$v = __makeTemplateObject([":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"], [":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"])));
20132
+ i18n_0 = $localize(templateObject_1$w || (templateObject_1$w = __makeTemplateObject([":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"], [":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"])));
20192
20133
  }
20193
20134
  var i18n_2;
20194
20135
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20301,7 +20242,7 @@
20301
20242
  }]
20302
20243
  }], function () { return [{ type: BasketTransferService }, { type: BasketsService }, { type: PointOfSalesService }, { type: i0__namespace.ChangeDetectorRef }]; }, null);
20303
20244
  })();
20304
- var templateObject_1$v, templateObject_2$o, templateObject_3$h, templateObject_4$f, templateObject_5$a, templateObject_6$8, templateObject_7$7, templateObject_8$5;
20245
+ var templateObject_1$w, templateObject_2$o, templateObject_3$h, templateObject_4$f, templateObject_5$a, templateObject_6$8, templateObject_7$7, templateObject_8$5;
20305
20246
 
20306
20247
  function BasketTransferLoaderComponent_ng_container_0_Template(rf, ctx) {
20307
20248
  if (rf & 1) {
@@ -20345,7 +20286,7 @@
20345
20286
  i18n_0 = MSG_EXTERNAL_5759781015293253997$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_BASKET_TRANSFER_LOADER_BASKET_TRANSFER_LOADER_COMPONENT_TS__1;
20346
20287
  }
20347
20288
  else {
20348
- i18n_0 = $localize(templateObject_1$u || (templateObject_1$u = __makeTemplateObject([":\u241Fb8c68d9e9ed9ce2143d907baf2a5bef770418bf6\u241F5759781015293253997: Vous allez \u00EAtre automatiquement redirig\u00E9 vers votre panier dans quelques secondes. "], [":\u241Fb8c68d9e9ed9ce2143d907baf2a5bef770418bf6\u241F5759781015293253997: Vous allez \u00EAtre automatiquement redirig\u00E9 vers votre panier dans quelques secondes. "])));
20289
+ i18n_0 = $localize(templateObject_1$v || (templateObject_1$v = __makeTemplateObject([":\u241Fb8c68d9e9ed9ce2143d907baf2a5bef770418bf6\u241F5759781015293253997: Vous allez \u00EAtre automatiquement redirig\u00E9 vers votre panier dans quelques secondes. "], [":\u241Fb8c68d9e9ed9ce2143d907baf2a5bef770418bf6\u241F5759781015293253997: Vous allez \u00EAtre automatiquement redirig\u00E9 vers votre panier dans quelques secondes. "])));
20349
20290
  }
20350
20291
  return [[4, "ngIf"], [1, "miam-basket-transfer-loader"], [1, "miam-shadow-overlay"], [1, "miam-basket-transfer-loader__content"], [1, "miam-ds-text"], i18n_0];
20351
20292
  }, template: function BasketTransferLoaderComponent_Template(rf, ctx) {
@@ -20368,7 +20309,7 @@
20368
20309
  }]
20369
20310
  }], function () { return [{ type: BasketTransferService }, { type: i0__namespace.ChangeDetectorRef }]; }, null);
20370
20311
  })();
20371
- var templateObject_1$u;
20312
+ var templateObject_1$v;
20372
20313
 
20373
20314
  var BasketTransferErrorModalComponent = /** @class */ (function () {
20374
20315
  function BasketTransferErrorModalComponent(basketTransferService, cdr) {
@@ -20419,7 +20360,7 @@
20419
20360
  i18n_0 = MSG_EXTERNAL_9059155436017318544$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_BASKET_TRANSFER_ERROR_MODAL_BASKET_TRANSFER_ERROR_MODAL_COMPONENT_TS_1;
20420
20361
  }
20421
20362
  else {
20422
- i18n_0 = $localize(templateObject_1$t || (templateObject_1$t = __makeTemplateObject([":\u241F1a7391c494239efe2ad440cff51f17e9a03bc6b0\u241F9059155436017318544:Fermer"], [":\u241F1a7391c494239efe2ad440cff51f17e9a03bc6b0\u241F9059155436017318544:Fermer"])));
20363
+ i18n_0 = $localize(templateObject_1$u || (templateObject_1$u = __makeTemplateObject([":\u241F1a7391c494239efe2ad440cff51f17e9a03bc6b0\u241F9059155436017318544:Fermer"], [":\u241F1a7391c494239efe2ad440cff51f17e9a03bc6b0\u241F9059155436017318544:Fermer"])));
20423
20364
  }
20424
20365
  var i18n_2;
20425
20366
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20483,7 +20424,7 @@
20483
20424
  }]
20484
20425
  }], function () { return [{ type: BasketTransferService }, { type: i0__namespace.ChangeDetectorRef }]; }, null);
20485
20426
  })();
20486
- var templateObject_1$t, templateObject_2$n, templateObject_3$g, templateObject_4$e;
20427
+ var templateObject_1$u, templateObject_2$n, templateObject_3$g, templateObject_4$e;
20487
20428
 
20488
20429
  function ListScanBasketPreviewComponent_ng_container_2_ng_miam_basket_preview_product_6_Template(rf, ctx) {
20489
20430
  if (rf & 1) {
@@ -20586,7 +20527,7 @@
20586
20527
  i18n_0 = MSG_EXTERNAL_4239310127006405587$$LIB__WEB_COMPONENTS_LIST_SCAN_BASKET_PREVIEW_BASKET_PREVIEW_COMPONENT_TS___1;
20587
20528
  }
20588
20529
  else {
20589
- i18n_0 = $localize(templateObject_1$s || (templateObject_1$s = __makeTemplateObject([":\u241F0a58fc3a6ac920982fd6c8f172549f6166609cda\u241F4239310127006405587:Le produit est indisponible."], [":\u241F0a58fc3a6ac920982fd6c8f172549f6166609cda\u241F4239310127006405587:Le produit est indisponible."])));
20530
+ i18n_0 = $localize(templateObject_1$t || (templateObject_1$t = __makeTemplateObject([":\u241F0a58fc3a6ac920982fd6c8f172549f6166609cda\u241F4239310127006405587:Le produit est indisponible."], [":\u241F0a58fc3a6ac920982fd6c8f172549f6166609cda\u241F4239310127006405587:Le produit est indisponible."])));
20590
20531
  }
20591
20532
  var i18n_2;
20592
20533
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20625,7 +20566,7 @@
20625
20566
  type: i0.Output
20626
20567
  }] });
20627
20568
  })();
20628
- var templateObject_1$s, templateObject_2$m;
20569
+ var templateObject_1$t, templateObject_2$m;
20629
20570
 
20630
20571
  function ListScanFilesInputsComponent_div_1_ng_container_4_Template(rf, ctx) {
20631
20572
  if (rf & 1) {
@@ -20730,7 +20671,7 @@
20730
20671
  i18n_0 = MSG_EXTERNAL_3102383292942643907$$LIB__WEB_COMPONENTS_LIST_SCAN_FILES_INPUTS_FILES_INPUTS_COMPONENT_TS___1;
20731
20672
  }
20732
20673
  else {
20733
- i18n_0 = $localize(templateObject_1$r || (templateObject_1$r = __makeTemplateObject([":\u241F0d34d321e3c6aa810d833ba95ed446bcdd84903a\u241F3102383292942643907:Scanner ma liste"], [":\u241F0d34d321e3c6aa810d833ba95ed446bcdd84903a\u241F3102383292942643907:Scanner ma liste"])));
20674
+ i18n_0 = $localize(templateObject_1$s || (templateObject_1$s = __makeTemplateObject([":\u241F0d34d321e3c6aa810d833ba95ed446bcdd84903a\u241F3102383292942643907:Scanner ma liste"], [":\u241F0d34d321e3c6aa810d833ba95ed446bcdd84903a\u241F3102383292942643907:Scanner ma liste"])));
20734
20675
  }
20735
20676
  var i18n_3;
20736
20677
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20769,7 +20710,7 @@
20769
20710
  type: i0.Input
20770
20711
  }] });
20771
20712
  })();
20772
- var templateObject_1$r, templateObject_2$l;
20713
+ var templateObject_1$s, templateObject_2$l;
20773
20714
 
20774
20715
  var ListScanComponent = /** @class */ (function (_super) {
20775
20716
  __extends(ListScanComponent, _super);
@@ -20855,7 +20796,7 @@
20855
20796
  i18n_0 = MSG_EXTERNAL_5810732921987905942$$LIB__WEB_COMPONENTS_LIST_SCAN_LIST_SCAN_COMPONENT_TS_1;
20856
20797
  }
20857
20798
  else {
20858
- i18n_0 = $localize(templateObject_1$q || (templateObject_1$q = __makeTemplateObject([":\u241F6e111f99537e44fa87a07a5d0c1cf5c4ed092aa6\u241F5810732921987905942:Nous avons trouv\u00E9 pour vous"], [":\u241F6e111f99537e44fa87a07a5d0c1cf5c4ed092aa6\u241F5810732921987905942:Nous avons trouv\u00E9 pour vous"])));
20799
+ i18n_0 = $localize(templateObject_1$r || (templateObject_1$r = __makeTemplateObject([":\u241F6e111f99537e44fa87a07a5d0c1cf5c4ed092aa6\u241F5810732921987905942:Nous avons trouv\u00E9 pour vous"], [":\u241F6e111f99537e44fa87a07a5d0c1cf5c4ed092aa6\u241F5810732921987905942:Nous avons trouv\u00E9 pour vous"])));
20859
20800
  }
20860
20801
  var i18n_2;
20861
20802
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20951,7 +20892,7 @@
20951
20892
  type: i0.Output
20952
20893
  }] });
20953
20894
  })();
20954
- var templateObject_1$q, templateObject_2$k, templateObject_3$f, templateObject_4$d, templateObject_5$9, templateObject_6$7, templateObject_7$6;
20895
+ var templateObject_1$r, templateObject_2$k, templateObject_3$f, templateObject_4$d, templateObject_5$9, templateObject_6$7, templateObject_7$6;
20955
20896
 
20956
20897
  var ListScanModule = /** @class */ (function () {
20957
20898
  // Create custom elements so the WebComponents can be interpreted by the browser regardless of the js framework used
@@ -21045,7 +20986,48 @@
21045
20986
  return AddRecipeFromPlannerAction;
21046
20987
  }(BasketAction));
21047
20988
 
21048
- var _c0$6 = ["miamMealsPlannerTopAnchor"];
20989
+ var _c0$7 = ["miamMealsPlannerTopAnchor"];
20990
+ function MealsPlannerComponent_ng_template_0_Template(rf, ctx) {
20991
+ if (rf & 1) {
20992
+ i0__namespace.ɵɵelementStart(0, "div", 4);
20993
+ i0__namespace.ɵɵelementStart(1, "span", 5);
20994
+ i0__namespace.ɵɵtext(2, "Chargement");
20995
+ i0__namespace.ɵɵelementEnd();
20996
+ i0__namespace.ɵɵnamespaceSVG();
20997
+ i0__namespace.ɵɵelementStart(3, "svg", 6);
20998
+ i0__namespace.ɵɵelement(4, "path", 7);
20999
+ i0__namespace.ɵɵelement(5, "path", 8);
21000
+ i0__namespace.ɵɵelement(6, "path", 9);
21001
+ i0__namespace.ɵɵelement(7, "path", 10);
21002
+ i0__namespace.ɵɵelement(8, "path", 11);
21003
+ i0__namespace.ɵɵelement(9, "path", 12);
21004
+ i0__namespace.ɵɵelement(10, "path", 13);
21005
+ i0__namespace.ɵɵelement(11, "path", 14);
21006
+ i0__namespace.ɵɵelementEnd();
21007
+ i0__namespace.ɵɵelementEnd();
21008
+ }
21009
+ }
21010
+ function MealsPlannerComponent_div_3_ng_container_1_Template(rf, ctx) {
21011
+ if (rf & 1) {
21012
+ i0__namespace.ɵɵelementContainer(0);
21013
+ }
21014
+ }
21015
+ function MealsPlannerComponent_div_3_Template(rf, ctx) {
21016
+ if (rf & 1) {
21017
+ i0__namespace.ɵɵelementStart(0, "div", 15);
21018
+ i0__namespace.ɵɵtemplate(1, MealsPlannerComponent_div_3_ng_container_1_Template, 1, 0, "ng-container", 16);
21019
+ i0__namespace.ɵɵelementStart(2, "span", 17);
21020
+ i0__namespace.ɵɵi18n(3, 18);
21021
+ i0__namespace.ɵɵelementEnd();
21022
+ i0__namespace.ɵɵelementEnd();
21023
+ }
21024
+ if (rf & 2) {
21025
+ i0__namespace.ɵɵnextContext();
21026
+ var _r0 = i0__namespace.ɵɵreference(1);
21027
+ i0__namespace.ɵɵadvance(1);
21028
+ i0__namespace.ɵɵproperty("ngTemplateOutlet", _r0);
21029
+ }
21030
+ }
21049
21031
  var recipeIncludes$4 = ['recipe-provider', 'sponsors', 'tags'];
21050
21032
  var recipeSparseFields$4 = {
21051
21033
  recipes: __spread(['title', 'number-of-guests', 'media-url', 'video-id', 'filigrane-logo-url', 'difficulty', 'preparation-time', 'cooking-time',
@@ -21080,6 +21062,7 @@
21080
21062
  _this.timeOnStart = Date.now();
21081
21063
  _this.featureIsAuthorized = false;
21082
21064
  _this.previousBasketEntries = [];
21065
+ _this.plannerDashboardLoading = false;
21083
21066
  // Progress bar
21084
21067
  _this.usedBudget = 0;
21085
21068
  _this.maxBudget = 0;
@@ -21130,9 +21113,18 @@
21130
21113
  _this.initForm();
21131
21114
  _this.pageview();
21132
21115
  _this.subscriptions.push(_this.initRecipesPricing());
21133
- _this.subscriptions.push(_this.loadPlannerDashboardHTML().subscribe(function (plannerDashboardHTML) {
21134
- _this.plannerDashboardHTML = plannerDashboardHTML;
21135
- _this.cdr.detectChanges();
21116
+ _this.plannerDashboardLoading = true;
21117
+ _this.cdr.detectChanges();
21118
+ _this.subscriptions.push(_this.loadPlannerDashboardHTML().subscribe({
21119
+ next: function (plannerDashboardHTML) {
21120
+ _this.plannerDashboardHTML = plannerDashboardHTML;
21121
+ _this.plannerDashboardLoading = false;
21122
+ _this.cdr.detectChanges();
21123
+ },
21124
+ error: function () {
21125
+ _this.plannerDashboardLoading = false;
21126
+ _this.cdr.detectChanges();
21127
+ }
21136
21128
  }));
21137
21129
  }));
21138
21130
  };
@@ -21357,20 +21349,37 @@
21357
21349
  MealsPlannerComponent.ɵfac = function MealsPlannerComponent_Factory(t) { return new (t || MealsPlannerComponent)(i0__namespace.ɵɵdirectiveInject(AnalyticsService), i0__namespace.ɵɵdirectiveInject(i3__namespace.FormBuilder), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(ContextService), i0__namespace.ɵɵdirectiveInject(RecipesService), i0__namespace.ɵɵdirectiveInject(BasketsService), i0__namespace.ɵɵdirectiveInject(PointOfSalesService), i0__namespace.ɵɵdirectiveInject(RecipeDetailsService), i0__namespace.ɵɵdirectiveInject(SuppliersService), i0__namespace.ɵɵdirectiveInject(BasketsSynchronizerService), i0__namespace.ɵɵdirectiveInject(PlannerSSRService), i0__namespace.ɵɵdirectiveInject(i2__namespace.DomSanitizer)); };
21358
21350
  MealsPlannerComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: MealsPlannerComponent, selectors: [["ng-miam-meals-planner"]], viewQuery: function MealsPlannerComponent_Query(rf, ctx) {
21359
21351
  if (rf & 1) {
21360
- i0__namespace.ɵɵviewQuery(_c0$6, 1);
21352
+ i0__namespace.ɵɵviewQuery(_c0$7, 1);
21361
21353
  }
21362
21354
  if (rf & 2) {
21363
21355
  var _t = void 0;
21364
21356
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.topAnchor = _t.first);
21365
21357
  }
21366
- }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[1, "mealz-planner-dashboard-container", 3, "innerHTML"]], template: function MealsPlannerComponent_Template(rf, ctx) {
21358
+ }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], decls: 5, vars: 2, consts: function () {
21359
+ var i18n_1;
21360
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
21361
+ var MSG_EXTERNAL_7273104079436475690$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_COMPONENT_TS__2 = goog.getMsg(" Nous pr\u00E9parons vos recettes... ");
21362
+ i18n_1 = MSG_EXTERNAL_7273104079436475690$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_COMPONENT_TS__2;
21363
+ }
21364
+ else {
21365
+ i18n_1 = $localize(templateObject_1$q || (templateObject_1$q = __makeTemplateObject([":\u241F5ad4fd8232f99c98138cc45a650f52787ffd9271\u241F7273104079436475690: Nous pr\u00E9parons vos recettes... "], [":\u241F5ad4fd8232f99c98138cc45a650f52787ffd9271\u241F7273104079436475690: Nous pr\u00E9parons vos recettes... "])));
21366
+ }
21367
+ return [["plannerDashboardLoader", ""], [1, "mealz-planner-dashboard__wrapper"], ["class", "mealz-planner-dashboard__loader-container", 4, "ngIf"], [1, "mealz-planner-dashboard__container", 3, "innerHTML"], ["role", "status", "aria-live", "polite", 1, "mealz-planner-dashboard__loader"], [1, "mealz-planner-dashboard__loader__label"], ["viewBox", "0 0 80 80", "aria-hidden", "true", "focusable", "false", 1, "mealz-planner-dashboard__loader__icon"], ["d", "M43.75 20V10C43.75 9.00544 43.3549 8.05161 42.6516 7.34835C41.9484 6.64509 40.9946 6.25 40 6.25C39.0054 6.25 38.0516 6.64509 37.3483 7.34835C36.6451 8.05161 36.25 9.00544 36.25 10V20C36.25 20.9946 36.6451 21.9484 37.3483 22.6516C38.0516 23.3549 39.0054 23.75 40 23.75C40.9946 23.75 41.9484 23.3549 42.6516 22.6516C43.3549 21.9484 43.75 20.9946 43.75 20Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "0s"], ["d", "M55.5765 29.3234C55.1213 29.5122 54.6333 29.6094 54.1405 29.6094C53.3986 29.6093 52.6734 29.3893 52.0567 28.977C51.4399 28.5648 50.9593 27.9789 50.6756 27.2934C50.392 26.6079 50.318 25.8537 50.463 25.1262C50.608 24.3987 50.9656 23.7305 51.4905 23.2063L58.5529 16.125C59.2574 15.4205 60.2129 15.0247 61.2092 15.0247C62.2055 15.0247 63.161 15.4205 63.8654 16.125C64.5699 16.8295 64.9657 17.785 64.9657 18.7813C64.9657 19.7775 64.5699 20.733 63.8654 21.4375L56.7936 28.5094C56.4453 28.8581 56.0317 29.1347 55.5765 29.3234Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "0.15s"], ["d", "M60 36.25H70C70.9946 36.25 71.9484 36.6451 72.6516 37.3484C73.3549 38.0516 73.75 39.0054 73.75 40C73.75 40.9946 73.3549 41.9484 72.6516 42.6516C71.9484 43.3549 70.9946 43.75 70 43.75H60C59.0054 43.75 58.0516 43.3549 57.3484 42.6516C56.6451 41.9484 56.25 40.9946 56.25 40C56.25 39.0054 56.6451 38.0516 57.3484 37.3484C58.0516 36.6451 59.0054 36.25 60 36.25Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "0.3s"], ["d", "M55.5749 50.6763C56.0307 50.8651 56.4448 51.1418 56.7936 51.4906L63.8655 58.5625C64.57 59.267 64.9657 60.2225 64.9657 61.2188C64.9657 62.215 64.57 63.1705 63.8655 63.875C63.161 64.5795 62.2055 64.9753 61.2092 64.9753C60.213 64.9753 59.2575 64.5795 58.553 63.875L51.4811 56.8031C51.1323 56.4543 50.8556 56.0402 50.6668 55.5844C50.478 55.1287 50.3809 54.6402 50.3809 54.1469C50.3809 53.6536 50.478 53.1651 50.6668 52.7093C50.8556 52.2536 51.1323 51.8395 51.4811 51.4906C51.8299 51.1418 52.2441 50.8651 52.6998 50.6763C53.1556 50.4875 53.6441 50.3904 54.1374 50.3904C54.6307 50.3904 55.1192 50.4875 55.5749 50.6763Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "0.45s"], ["d", "M37.3483 57.3484C38.0516 56.6451 39.0054 56.25 40 56.25C40.9946 56.25 41.9484 56.6451 42.6516 57.3484C43.3549 58.0516 43.75 59.0054 43.75 60V70C43.75 70.9946 43.3549 71.9484 42.6516 72.6516C41.9484 73.3549 40.9946 73.75 40 73.75C39.0054 73.75 38.0516 73.3549 37.3483 72.6516C36.6451 71.9484 36.25 70.9946 36.25 70V60C36.25 59.0054 36.6451 58.0516 37.3483 57.3484Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "0.6s"], ["d", "M16.1344 58.5625L23.2063 51.4906C23.9108 50.7862 24.8663 50.3904 25.8626 50.3904C26.8588 50.3904 27.8143 50.7862 28.5188 51.4906C29.2233 52.1951 29.6191 53.1506 29.6191 54.1469C29.6191 55.1432 29.2233 56.0987 28.5188 56.8031L21.4469 63.875C20.7425 64.5795 19.787 64.9753 18.7907 64.9753C17.7944 64.9753 16.8389 64.5795 16.1344 63.875C15.43 63.1705 15.0342 62.215 15.0342 61.2188C15.0342 60.2225 15.43 59.267 16.1344 58.5625Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "0.75s"], ["d", "M23.75 40C23.75 39.0054 23.3549 38.0516 22.6516 37.3484C21.9484 36.6451 20.9946 36.25 20 36.25H10C9.00544 36.25 8.05161 36.6451 7.34835 37.3484C6.64509 38.0516 6.25 39.0054 6.25 40C6.25 40.9946 6.64509 41.9484 7.34835 42.6516C8.05161 43.3549 9.00544 43.75 10 43.75H20C20.9946 43.75 21.9484 43.3549 22.6516 42.6516C23.3549 41.9484 23.75 40.9946 23.75 40Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "0.9s"], ["d", "M18.7809 15.0341C19.7772 15.0341 20.7327 15.4299 21.4372 16.1344L28.5184 23.1969C29.2229 23.9014 29.6187 24.8568 29.6187 25.8531C29.6187 26.8494 29.2229 27.8049 28.5184 28.5094C27.8139 29.2139 26.8585 29.6096 25.8622 29.6096C24.8659 29.6096 23.9104 29.2139 23.2059 28.5094L16.1247 21.4469C15.4202 20.7424 15.0244 19.7869 15.0244 18.7906C15.0244 17.7943 15.4202 16.8389 16.1247 16.1344C16.8291 15.4299 17.7846 15.0341 18.7809 15.0341Z", 1, "mealz-planner-dashboard__loader__segment", 2, "animation-delay", "1.05s"], [1, "mealz-planner-dashboard__loader-container"], [4, "ngTemplateOutlet"], [1, "miam-ds-text", "size-xs", "weight-l"], i18n_1];
21368
+ }, template: function MealsPlannerComponent_Template(rf, ctx) {
21367
21369
  if (rf & 1) {
21368
- i0__namespace.ɵɵelement(0, "div", 0);
21370
+ i0__namespace.ɵɵtemplate(0, MealsPlannerComponent_ng_template_0_Template, 12, 0, "ng-template", null, 0, i0__namespace.ɵɵtemplateRefExtractor);
21371
+ i0__namespace.ɵɵelementStart(2, "div", 1);
21372
+ i0__namespace.ɵɵtemplate(3, MealsPlannerComponent_div_3_Template, 4, 1, "div", 2);
21373
+ i0__namespace.ɵɵelement(4, "div", 3);
21374
+ i0__namespace.ɵɵelementEnd();
21369
21375
  }
21370
21376
  if (rf & 2) {
21377
+ i0__namespace.ɵɵadvance(3);
21378
+ i0__namespace.ɵɵproperty("ngIf", ctx.plannerDashboardLoading);
21379
+ i0__namespace.ɵɵadvance(1);
21371
21380
  i0__namespace.ɵɵproperty("innerHTML", ctx.plannerDashboardHTML, i0__namespace.ɵɵsanitizeHtml);
21372
21381
  }
21373
- }, styles: [".miam-meals-planner{display:flex;flex-direction:column;width:100%;height:100%;border-bottom:1px solid #d9dde1}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb{display:flex;align-items:center;padding:24px;background:#fff;border-bottom:1px solid #d9dde1}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb.hidden{display:none}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb a{margin:0 4px;font-weight:500;font-size:14px;line-height:150%}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb a.inactive{color:#0f191f}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb a.active{font-weight:900;color:var(--m-color-primary)}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb .chevron-right{transform:rotate(-90deg)}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb .chevron-right .icon-container svg path:last-child{fill:#0f191f}.miam-meals-planner .miam-meals-planner__content{display:flex;height:100%;width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form.reduced{max-width:300px;border-right:1px solid #d9dde1}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-preview,.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-result{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-preview.reduced{width:0}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-catalog{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-confirmation{width:100%;padding:0 80px}@media (max-width:1023px){.miam-meals-planner .miam-meals-planner__header{display:none}.miam-meals-planner .miam-meals-planner__content{flex-direction:column}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form.reduced{max-width:unset;border-right:unset}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-confirmation{padding:0 15px}}.miam-meals-planner .miam-meals-planner__catalog{padding:16px}.miam-meals-planner ng-miam-recipe-card .miam-recipe-card{height:var(--m-catalog-card-height);width:var(--m-catalog-card-width)}"], encapsulation: 2, changeDetection: 0 });
21382
+ }, directives: [i1__namespace.NgIf, i1__namespace.NgTemplateOutlet], styles: [".mealz-planner-dashboard__wrapper .mealz-planner-dashboard__loader-container{overflow:hidden;background-color:#fff;animation:planner-loader-expand .25s ease-in-out forwards;width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:8px}.mealz-planner-dashboard__wrapper .mealz-planner-dashboard__loader-container .mealz-planner-dashboard__loader{width:40px;height:40px;background-position-x:20px;background-size:20px 20px}.mealz-planner-dashboard__wrapper .mealz-planner-dashboard__container{position:relative}@keyframes planner-loader-expand{0%{height:0}to{height:90dvh}}.mealz-planner-dashboard__loader{display:flex;align-items:center;justify-content:center;color:var(--m-color-primary,#24748f)}.mealz-planner-dashboard__loader .mealz-planner-dashboard__loader__icon{width:80px;height:80px}.mealz-planner-dashboard__loader .mealz-planner-dashboard__loader__segment{fill:#e4edf1;animation:loader-pulse 1.2s linear infinite}.mealz-planner-dashboard__loader .mealz-planner-dashboard__loader__label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;white-space:nowrap;border:0;clip:rect(0,0,0,0)}@keyframes loader-pulse{0%,to{fill:#e4edf1}15%,85%{fill:currentColor}}@media (prefers-reduced-motion:reduce){.loader .loader__segment{animation:none;fill:currentColor;opacity:.6}}.miam-meals-planner{display:flex;flex-direction:column;width:100%;height:100%;border-bottom:1px solid #d9dde1}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb{display:flex;align-items:center;padding:24px;background:#fff;border-bottom:1px solid #d9dde1}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb.hidden{display:none}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb a{margin:0 4px;font-weight:500;font-size:14px;line-height:150%}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb a.inactive{color:#0f191f}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb a.active{font-weight:900;color:var(--m-color-primary)}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb .chevron-right{transform:rotate(-90deg)}.miam-meals-planner .miam-meals-planner__header .miam-meals-planner__header__breadcrumb .chevron-right .icon-container svg path:last-child{fill:#0f191f}.miam-meals-planner .miam-meals-planner__content{display:flex;height:100%;width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form.reduced{max-width:300px;border-right:1px solid #d9dde1}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-preview,.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-result{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-preview.reduced{width:0}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-catalog{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-confirmation{width:100%;padding:0 80px}@media (max-width:1023px){.miam-meals-planner .miam-meals-planner__header{display:none}.miam-meals-planner .miam-meals-planner__content{flex-direction:column}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form{width:100%}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-form.reduced{max-width:unset;border-right:unset}.miam-meals-planner .miam-meals-planner__content ng-miam-meals-planner-basket-confirmation{padding:0 15px}}.miam-meals-planner .miam-meals-planner__catalog{padding:16px}.miam-meals-planner ng-miam-recipe-card .miam-recipe-card{height:var(--m-catalog-card-height);width:var(--m-catalog-card-width)}"], encapsulation: 2, changeDetection: 0 });
21374
21383
  (function () {
21375
21384
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MealsPlannerComponent, [{
21376
21385
  type: i0.Component,
@@ -21386,6 +21395,7 @@
21386
21395
  args: ['miamMealsPlannerTopAnchor']
21387
21396
  }] });
21388
21397
  })();
21398
+ var templateObject_1$q;
21389
21399
 
21390
21400
  /**
21391
21401
  * This is an angular component design to be a web component
@@ -21459,7 +21469,7 @@
21459
21469
  i0__namespace.ɵɵelement(0, "img", 6);
21460
21470
  }
21461
21471
  }
21462
- var _c0$5 = function (a0, a1, a2) { return { "in-basket": a0, "primary": a1, "secondary": a2 }; };
21472
+ var _c0$6 = function (a0, a1, a2) { return { "in-basket": a0, "primary": a1, "secondary": a2 }; };
21463
21473
  function RecipeCardCtaComponent_div_0_Template(rf, ctx) {
21464
21474
  if (rf & 1) {
21465
21475
  var _r5_1 = i0__namespace.ɵɵgetCurrentView();
@@ -21477,7 +21487,7 @@
21477
21487
  var _r2 = i0__namespace.ɵɵreference(6);
21478
21488
  var ctx_r0 = i0__namespace.ɵɵnextContext();
21479
21489
  i0__namespace.ɵɵadvance(1);
21480
- i0__namespace.ɵɵproperty("disabled", !ctx_r0.recipe)("ngClass", i0__namespace.ɵɵpureFunction3(9, _c0$5, ctx_r0.inBasket, !ctx_r0.inBasket, ctx_r0.inBasket));
21490
+ i0__namespace.ɵɵproperty("disabled", !ctx_r0.recipe)("ngClass", i0__namespace.ɵɵpureFunction3(9, _c0$6, ctx_r0.inBasket, !ctx_r0.inBasket, ctx_r0.inBasket));
21481
21491
  i0__namespace.ɵɵattribute("aria-label", i0__namespace.ɵɵpipeBind1(2, 5, ctx_r0.basketsService.recipeIsInBasket(ctx_r0.recipe.id)) ? "Voir les ingr\u00E9dients" : "Ajouter au panier");
21482
21492
  i0__namespace.ɵɵadvance(2);
21483
21493
  i0__namespace.ɵɵproperty("ngIf", !i0__namespace.ɵɵpipeBind1(4, 7, ctx_r0.basketsService.recipeIsInBasket(ctx_r0.recipe.id)))("ngIfElse", _r2);
@@ -22291,7 +22301,7 @@
22291
22301
  i0__namespace.ɵɵadvance(1);
22292
22302
  i0__namespace.ɵɵproperty("ngIf", ctx.isloaded && !ctx.recipe);
22293
22303
  }
22294
- }, directives: [InViewportDirective, i1__namespace.NgClass, i1__namespace.NgIf, LikeButtonComponent, RecipePromotionBadgeComponent, RecipePricingComponent, RecipeCardCtaComponent, IconComponent], pipes: [i1__namespace.AsyncPipe], styles: [".miam-recipe-card{position:relative;display:flex;width:var(--m-catalog-card-width,308px);height:500px;flex-direction:column;align-items:flex-start;flex-shrink:0;border-radius:8px;overflow:hidden;cursor:pointer}.miam-recipe-card .miam-recipe-card__container{display:flex;flex-direction:column;height:100%;width:100%;flex-shrink:0;align-self:stretch}.miam-recipe-card .miam-recipe-card__container:hover .miam-recipe-card__top .miam-recipe-card__picture img{transform:scale(1.1)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top{position:relative;flex:1;height:calc(100% - 72px)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__picture{width:100%;height:100%;overflow:hidden}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__picture img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__gradient{position:absolute;width:100%;height:100%;top:0;left:0;background:linear-gradient(180deg,transparent 43.67%,rgba(0,0,0,.4) 91.33%)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content{position:absolute;width:100%;height:100%;top:0;left:0;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom{width:100%;display:flex;justify-content:space-between;align-items:flex-end;padding:12px;box-sizing:border-box}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__title{color:var(--miam-ds-color-neutral-white,#fff);text-shadow:0 2px 8px rgba(0,0,0,.15);text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter{display:flex;padding:4px 8px;align-items:center;gap:4px;border-radius:100px;background:var(--miam-ds-color-neutral-white,#fff);color:var(--miam-color-neutral-black);height:-moz-fit-content;height:fit-content;flex-shrink:0}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter span{line-height:100%}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter img{width:16px;height:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container{display:flex;margin:12px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__sponsor-container{display:flex;padding:8px 12px;background-color:#fff;border-radius:100px;width:auto;height:auto;box-sizing:border-box}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__sponsor-container .miam-recipe-card__sponsor-picture{width:auto;height:auto;max-width:80px;max-height:40px;-o-object-fit:contain;object-fit:contain}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badge-container,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badges-container{display:flex;flex-direction:column;align-items:flex-start}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badge-container>:not(:last-child),.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badges-container>:not(:last-child){margin-bottom:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__like .miam-like-button{border-radius:48px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__like .miam-like-button.miam-ds-button.primary.reverse.square.small .miam-like-button__icon{height:16px;width:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom{display:flex;width:100%;height:72px;flex-direction:column;align-items:flex-start;justify-content:center;box-sizing:border-box;padding:12px;border-radius:0 0 8px 8px;background-color:var(--miam-ds-color-neutral-white,#fff);border-right:1px solid var(--m-color-neutral-200,#d9dde1);border-bottom:1px solid var(--m-color-neutral-200,#d9dde1);border-left:1px solid var(--m-color-neutral-200,#d9dde1)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions{display:flex;gap:8px;justify-content:space-between;align-items:center;align-self:stretch}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__infos{display:flex;flex-direction:column;align-items:flex-start}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__infos .miam-recipe-card__price-and-promotion .miam-recipe-card__bottom-promotion{display:none}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__cta{display:flex;flex-direction:row;gap:16px;align-items:center}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time{display:flex;flex-direction:row;color:var(--miam-ds-color-text-disabled);gap:12px;margin-bottom:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__difficulty,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__time{display:flex}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__difficulty img,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__time img{margin-right:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__price{color:var(--miam-ds-color-primary);line-height:100%;margin-right:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__price .miam-recipe-pricing{max-width:70px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__price .miam-recipe-pricing .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__subline{color:rgba(31,53,67,.5);font-weight:500;line-height:100%}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__actions__replace{display:flex;flex:1;justify-content:space-between;align-items:center}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect{display:flex;flex-direction:column;justify-content:flex-end;flex:1;border-radius:8px;border:1px solid var(--m-color-neutral-200,#d9dde1);box-sizing:border-box;text-decoration:unset}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect img{height:100%;-o-object-fit:cover;object-fit:cover}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer .miam-recipe-card__redirect__button{margin-top:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer .miam-recipe-card__redirect__button span{font-size:14px;font-weight:700;line-height:16px}@media (max-width:1023px){.miam-recipe-card.redirect-card{width:80vw;height:188px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect{flex-direction:row;height:100%}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/images/Suggestion_Redirect_Background_Mobile.png);height:136%;margin:-22px -16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer{min-width:156px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer .miam-recipe-card__redirect__title{font-size:16px}}"], encapsulation: 2, changeDetection: 0 });
22304
+ }, directives: [InViewportDirective, i1__namespace.NgClass, i1__namespace.NgIf, LikeButtonComponent, RecipePromotionBadgeComponent, RecipePricingComponent, RecipeCardCtaComponent, IconComponent], pipes: [i1__namespace.AsyncPipe], styles: [".miam-recipe-card{position:relative;display:flex;width:var(--m-catalog-card-width,308px);height:500px;flex-direction:column;align-items:flex-start;flex-shrink:0;border-radius:8px;overflow:hidden;cursor:pointer}.miam-recipe-card .miam-recipe-card__container{display:flex;flex-direction:column;height:100%;width:100%;flex-shrink:0;align-self:stretch}.miam-recipe-card .miam-recipe-card__container:hover .miam-recipe-card__top .miam-recipe-card__picture img{transform:scale(1.1)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top{position:relative;flex:1;height:calc(100% - 72px)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__picture{width:100%;height:100%;overflow:hidden}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__picture img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__gradient{position:absolute;width:100%;height:100%;top:0;left:0;background:linear-gradient(180deg,transparent 43.67%,rgba(0,0,0,.4) 91.33%)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content{position:absolute;width:100%;height:100%;top:0;left:0;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom{width:100%;display:flex;justify-content:space-between;align-items:flex-end;padding:12px;box-sizing:border-box}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__title{color:var(--miam-ds-color-neutral-white,#fff);text-shadow:0 2px 8px rgba(0,0,0,.15);text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter{display:flex;padding:4px 8px;align-items:center;gap:4px;border-radius:100px;background:var(--miam-ds-color-neutral-white,#fff);color:var(--miam-color-neutral-black);height:-moz-fit-content;height:fit-content;flex-shrink:0}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter span{line-height:100%}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter img{width:16px;height:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container{display:flex;margin:12px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__sponsor-container{display:flex;padding:8px 12px;background-color:#fff;border-radius:100px;width:auto;height:auto;box-sizing:border-box}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__sponsor-container .miam-recipe-card__sponsor-picture{width:auto;height:auto;max-width:80px;max-height:40px;-o-object-fit:contain;object-fit:contain}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badge-container,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badges-container{display:flex;flex-direction:column;align-items:flex-start}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badge-container>:not(:last-child),.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badges-container>:not(:last-child){margin-bottom:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__like{position:absolute;top:12px;right:12px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__like .miam-like-button{border-radius:48px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__like .miam-like-button.miam-ds-button.primary.reverse.square.small .miam-like-button__icon{height:16px;width:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom{display:flex;width:100%;height:72px;flex-direction:column;align-items:flex-start;justify-content:center;box-sizing:border-box;padding:12px;border-radius:0 0 8px 8px;background-color:var(--miam-ds-color-neutral-white,#fff);border-right:1px solid var(--m-color-neutral-200,#d9dde1);border-bottom:1px solid var(--m-color-neutral-200,#d9dde1);border-left:1px solid var(--m-color-neutral-200,#d9dde1)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions{display:flex;gap:8px;justify-content:space-between;align-items:center;align-self:stretch}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__infos{display:flex;flex-direction:column;align-items:flex-start}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__infos .miam-recipe-card__price-and-promotion .miam-recipe-card__bottom-promotion{display:none}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__cta{display:flex;flex-direction:row;gap:16px;align-items:center}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time{display:flex;flex-direction:row;color:var(--miam-ds-color-text-disabled);gap:12px;margin-bottom:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__difficulty,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__time{display:flex}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__difficulty img,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__time img{margin-right:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__price{color:var(--miam-ds-color-primary);line-height:100%;margin-right:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__price .miam-recipe-pricing{max-width:70px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__price .miam-recipe-pricing .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__subline{color:rgba(31,53,67,.5);font-weight:500;line-height:100%}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__actions__replace{display:flex;flex:1;justify-content:space-between;align-items:center}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect{display:flex;flex-direction:column;justify-content:flex-end;flex:1;border-radius:8px;border:1px solid var(--m-color-neutral-200,#d9dde1);box-sizing:border-box;text-decoration:unset}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect img{height:100%;-o-object-fit:cover;object-fit:cover}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer .miam-recipe-card__redirect__button{margin-top:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer .miam-recipe-card__redirect__button span{font-size:14px;font-weight:700;line-height:16px}@media (max-width:1023px){.miam-recipe-card.redirect-card{width:80vw;height:188px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect{flex-direction:row;height:100%}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/images/Suggestion_Redirect_Background_Mobile.png);height:136%;margin:-22px -16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer{min-width:156px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer .miam-recipe-card__redirect__title{font-size:16px}}"], encapsulation: 2, changeDetection: 0 });
22295
22305
  (function () {
22296
22306
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RecipeCardComponent, [{
22297
22307
  type: i0.Component,
@@ -24169,7 +24179,7 @@
24169
24179
  })();
24170
24180
  var templateObject_1$i;
24171
24181
 
24172
- var _c0$4 = ["categoryContent"];
24182
+ var _c0$5 = ["categoryContent"];
24173
24183
  var _c1$2 = ["categoryCards"];
24174
24184
  function CatalogCategoryComponent_div_0_div_15_Template(rf, ctx) {
24175
24185
  if (rf & 1) {
@@ -24355,7 +24365,7 @@
24355
24365
  CatalogCategoryComponent.ɵfac = function CatalogCategoryComponent_Factory(t) { return new (t || CatalogCategoryComponent)(i0__namespace.ɵɵdirectiveInject(AnalyticsService), i0__namespace.ɵɵdirectiveInject(RecipesService), i0__namespace.ɵɵdirectiveInject(ArticlesService), i0__namespace.ɵɵdirectiveInject(ContextService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
24356
24366
  CatalogCategoryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CatalogCategoryComponent, selectors: [["ng-miam-catalog-category"]], viewQuery: function CatalogCategoryComponent_Query(rf, ctx) {
24357
24367
  if (rf & 1) {
24358
- i0__namespace.ɵɵviewQuery(_c0$4, 1);
24368
+ i0__namespace.ɵɵviewQuery(_c0$5, 1);
24359
24369
  i0__namespace.ɵɵviewQuery(_c1$2, 1);
24360
24370
  i0__namespace.ɵɵviewQuery(RecipeCardComponent, 1);
24361
24371
  }
@@ -24436,163 +24446,174 @@
24436
24446
  })();
24437
24447
  var templateObject_1$h, templateObject_2$d;
24438
24448
 
24439
- function CatalogToolbarComponent_input_5_Template(rf, ctx) {
24449
+ var _c0$4 = ["searchInput"];
24450
+ function CatalogToolbarComponent_button_2_Template(rf, ctx) {
24440
24451
  if (rf & 1) {
24441
- var _r9_1 = i0__namespace.ɵɵgetCurrentView();
24442
- i0__namespace.ɵɵelementStart(0, "input", 17);
24443
- i0__namespace.ɵɵlistener("ngModelChange", function CatalogToolbarComponent_input_5_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r9_1); var ctx_r8 = i0__namespace.ɵɵnextContext(); return ctx_r8.searchString = $event; })("keydown.enter", function CatalogToolbarComponent_input_5_Template_input_keydown_enter_0_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var ctx_r10 = i0__namespace.ɵɵnextContext(); return ctx_r10.emitSearchString(); })("blur", function CatalogToolbarComponent_input_5_Template_input_blur_0_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var ctx_r11 = i0__namespace.ɵɵnextContext(); return ctx_r11.emitSearchString(); });
24452
+ var _r7_1 = i0__namespace.ɵɵgetCurrentView();
24453
+ i0__namespace.ɵɵelementStart(0, "button", 11);
24454
+ i0__namespace.ɵɵlistener("click", function CatalogToolbarComponent_button_2_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r7_1); var ctx_r6 = i0__namespace.ɵɵnextContext(); return ctx_r6.returnHomePressed.emit(); });
24455
+ i0__namespace.ɵɵelement(1, "img", 12);
24444
24456
  i0__namespace.ɵɵelementEnd();
24445
24457
  }
24446
- if (rf & 2) {
24447
- var ctx_r0 = i0__namespace.ɵɵnextContext();
24448
- i0__namespace.ɵɵproperty("ngModel", ctx_r0.searchString);
24449
- }
24450
24458
  }
24451
- function CatalogToolbarComponent_input_6_Template(rf, ctx) {
24459
+ function CatalogToolbarComponent_ng_container_6_button_3_Template(rf, ctx) {
24452
24460
  if (rf & 1) {
24453
- var _r13_1 = i0__namespace.ɵɵgetCurrentView();
24454
- i0__namespace.ɵɵelementStart(0, "input", 18);
24455
- i0__namespace.ɵɵlistener("ngModelChange", function CatalogToolbarComponent_input_6_Template_input_ngModelChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r12 = i0__namespace.ɵɵnextContext(); return ctx_r12.searchString = $event; })("keydown.enter", function CatalogToolbarComponent_input_6_Template_input_keydown_enter_0_listener() { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r14 = i0__namespace.ɵɵnextContext(); return ctx_r14.emitSearchString(); })("blur", function CatalogToolbarComponent_input_6_Template_input_blur_0_listener() { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r15 = i0__namespace.ɵɵnextContext(); return ctx_r15.emitSearchString(); });
24461
+ var _r11_1 = i0__namespace.ɵɵgetCurrentView();
24462
+ i0__namespace.ɵɵelementStart(0, "button", 16);
24463
+ i0__namespace.ɵɵlistener("click", function CatalogToolbarComponent_ng_container_6_button_3_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r11_1); var ctx_r10 = i0__namespace.ɵɵnextContext(2); return ctx_r10.clearSearch(); });
24464
+ i0__namespace.ɵɵelement(1, "img", 17);
24456
24465
  i0__namespace.ɵɵelementEnd();
24457
24466
  }
24458
- if (rf & 2) {
24459
- var ctx_r1 = i0__namespace.ɵɵnextContext();
24460
- i0__namespace.ɵɵproperty("ngModel", ctx_r1.searchString);
24461
- }
24462
24467
  }
24463
- function CatalogToolbarComponent_button_7_div_2_Template(rf, ctx) {
24468
+ function CatalogToolbarComponent_ng_container_6_Template(rf, ctx) {
24464
24469
  if (rf & 1) {
24465
- i0__namespace.ɵɵelementStart(0, "div", 21);
24466
- i0__namespace.ɵɵtext(1);
24470
+ var _r13_1 = i0__namespace.ɵɵgetCurrentView();
24471
+ i0__namespace.ɵɵelementContainerStart(0);
24472
+ i0__namespace.ɵɵelementStart(1, "input", 13, 14);
24473
+ i0__namespace.ɵɵlistener("ngModelChange", function CatalogToolbarComponent_ng_container_6_Template_input_ngModelChange_1_listener($event) { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r12 = i0__namespace.ɵɵnextContext(); return ctx_r12.searchString = $event; })("focus", function CatalogToolbarComponent_ng_container_6_Template_input_focus_1_listener() { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r14 = i0__namespace.ɵɵnextContext(); return ctx_r14.onSearchFocus(); })("keydown.enter", function CatalogToolbarComponent_ng_container_6_Template_input_keydown_enter_1_listener() { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r15 = i0__namespace.ɵɵnextContext(); return ctx_r15.emitSearchString(); })("blur", function CatalogToolbarComponent_ng_container_6_Template_input_blur_1_listener($event) { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r16 = i0__namespace.ɵɵnextContext(); return ctx_r16.onSearchBlur($event); });
24467
24474
  i0__namespace.ɵɵelementEnd();
24475
+ i0__namespace.ɵɵtemplate(3, CatalogToolbarComponent_ng_container_6_button_3_Template, 2, 0, "button", 15);
24476
+ i0__namespace.ɵɵelementContainerEnd();
24468
24477
  }
24469
24478
  if (rf & 2) {
24470
- var ctx_r16 = i0__namespace.ɵɵnextContext(2);
24479
+ var ctx_r1 = i0__namespace.ɵɵnextContext();
24471
24480
  i0__namespace.ɵɵadvance(1);
24472
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r16.filterBadgeCount, " ");
24481
+ i0__namespace.ɵɵproperty("ngModel", ctx_r1.searchString);
24482
+ i0__namespace.ɵɵattribute("placeholder", ctx_r1.history || ctx_r1.favorites ? "Je recherche un ingr\u00E9dient ou une recette" : null);
24483
+ i0__namespace.ɵɵadvance(2);
24484
+ i0__namespace.ɵɵproperty("ngIf", ctx_r1.searchString);
24473
24485
  }
24474
24486
  }
24475
- var _c4$1 = function (a0) { return { "hidden": a0 }; };
24476
24487
  function CatalogToolbarComponent_button_7_Template(rf, ctx) {
24477
24488
  if (rf & 1) {
24478
24489
  var _r18_1 = i0__namespace.ɵɵgetCurrentView();
24479
- i0__namespace.ɵɵelementStart(0, "button", 19);
24480
- i0__namespace.ɵɵlistener("click", function CatalogToolbarComponent_button_7_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r18_1); var ctx_r17 = i0__namespace.ɵɵnextContext(); return ctx_r17.filterButtonPressed.emit(); });
24481
- i0__namespace.ɵɵelement(1, "img", 20);
24482
- i0__namespace.ɵɵtemplate(2, CatalogToolbarComponent_button_7_div_2_Template, 2, 1, "div", 13);
24490
+ i0__namespace.ɵɵelementStart(0, "button", 18);
24491
+ i0__namespace.ɵɵlistener("click", function CatalogToolbarComponent_button_7_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r18_1); var ctx_r17 = i0__namespace.ɵɵnextContext(); return ctx_r17.discountButtonPressed.emit(); });
24492
+ i0__namespace.ɵɵelement(1, "img", 19);
24493
+ i0__namespace.ɵɵelementStart(2, "span");
24494
+ i0__namespace.ɵɵi18n(3, 20);
24495
+ i0__namespace.ɵɵelementEnd();
24483
24496
  i0__namespace.ɵɵelementEnd();
24484
- }
24485
- if (rf & 2) {
24486
- var ctx_r2 = i0__namespace.ɵɵnextContext();
24487
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c4$1, ctx_r2.hideButtons))("disabled", ctx_r2.hideButtons);
24488
- i0__namespace.ɵɵattribute("aria-pressed", ctx_r2.filterBadgeCount && ctx_r2.filterBadgeCount > 0 ? "true" : "false");
24489
- i0__namespace.ɵɵadvance(2);
24490
- i0__namespace.ɵɵproperty("ngIf", ctx_r2.filterBadgeCount && ctx_r2.filterBadgeCount > 0);
24491
24497
  }
24492
24498
  }
24493
- function CatalogToolbarComponent_button_8_Template(rf, ctx) {
24499
+ function CatalogToolbarComponent_button_8_span_3_Template(rf, ctx) {
24494
24500
  if (rf & 1) {
24495
- var _r20_1 = i0__namespace.ɵɵgetCurrentView();
24496
- i0__namespace.ɵɵelementStart(0, "button", 22);
24497
- i0__namespace.ɵɵlistener("click", function CatalogToolbarComponent_button_8_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r20_1); var ctx_r19 = i0__namespace.ɵɵnextContext(); return ctx_r19.returnHomePressed.emit(); });
24498
- i0__namespace.ɵɵelement(1, "img", 23);
24501
+ i0__namespace.ɵɵelementStart(0, "span");
24502
+ i0__namespace.ɵɵi18n(1, 24);
24499
24503
  i0__namespace.ɵɵelementEnd();
24500
24504
  }
24501
24505
  }
24502
- function CatalogToolbarComponent_button_10_div_2_Template(rf, ctx) {
24506
+ function CatalogToolbarComponent_button_8_span_4_Template(rf, ctx) {
24503
24507
  if (rf & 1) {
24504
- i0__namespace.ɵɵelementStart(0, "div", 21);
24505
- i0__namespace.ɵɵtext(1);
24508
+ i0__namespace.ɵɵelementStart(0, "span");
24509
+ i0__namespace.ɵɵi18n(1, 25);
24506
24510
  i0__namespace.ɵɵelementEnd();
24507
24511
  }
24508
- if (rf & 2) {
24509
- var ctx_r21 = i0__namespace.ɵɵnextContext(2);
24510
- i0__namespace.ɵɵadvance(1);
24511
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r21.filterBadgeCount, " ");
24512
- }
24513
24512
  }
24514
- function CatalogToolbarComponent_button_10_Template(rf, ctx) {
24513
+ function CatalogToolbarComponent_button_8_Template(rf, ctx) {
24515
24514
  if (rf & 1) {
24516
- var _r23_1 = i0__namespace.ɵɵgetCurrentView();
24517
- i0__namespace.ɵɵelementStart(0, "button", 19);
24518
- i0__namespace.ɵɵlistener("click", function CatalogToolbarComponent_button_10_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r23_1); var ctx_r22 = i0__namespace.ɵɵnextContext(); return ctx_r22.filterButtonPressed.emit(); });
24519
- i0__namespace.ɵɵelement(1, "img", 20);
24520
- i0__namespace.ɵɵtemplate(2, CatalogToolbarComponent_button_10_div_2_Template, 2, 1, "div", 13);
24515
+ var _r22_1 = i0__namespace.ɵɵgetCurrentView();
24516
+ i0__namespace.ɵɵelementStart(0, "button", 21);
24517
+ i0__namespace.ɵɵlistener("click", function CatalogToolbarComponent_button_8_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r22_1); var ctx_r21 = i0__namespace.ɵɵnextContext(); return ctx_r21.favoritesButtonPressed.emit(); });
24518
+ i0__namespace.ɵɵelement(1, "img", 22);
24519
+ i0__namespace.ɵɵelementStart(2, "div", 23);
24520
+ i0__namespace.ɵɵtemplate(3, CatalogToolbarComponent_button_8_span_3_Template, 2, 0, "span", 6);
24521
+ i0__namespace.ɵɵtemplate(4, CatalogToolbarComponent_button_8_span_4_Template, 2, 0, "span", 6);
24522
+ i0__namespace.ɵɵelementEnd();
24521
24523
  i0__namespace.ɵɵelementEnd();
24522
24524
  }
24523
24525
  if (rf & 2) {
24524
- var ctx_r4 = i0__namespace.ɵɵnextContext();
24525
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c4$1, ctx_r4.hideButtons))("disabled", ctx_r4.hideButtons);
24526
- i0__namespace.ɵɵattribute("aria-pressed", ctx_r4.filterBadgeCount > 0 ? "true" : "false");
24526
+ var ctx_r3 = i0__namespace.ɵɵnextContext();
24527
+ i0__namespace.ɵɵattribute("aria-label", ctx_r3.context.orderHistoryEnabled$.value ? "Mon carnet" : "Favoris");
24528
+ i0__namespace.ɵɵadvance(1);
24529
+ i0__namespace.ɵɵproperty("src", ctx_r3.context.orderHistoryEnabled$.value ? "https://storage.googleapis.com/assets.miam.tech/generic/icons/Heart_Black.svg" : "https://storage.googleapis.com/assets.miam.tech/generic/icons/Heart_grey.svg", i0__namespace.ɵɵsanitizeUrl);
24527
24530
  i0__namespace.ɵɵadvance(2);
24528
- i0__namespace.ɵɵproperty("ngIf", ctx_r4.filterBadgeCount > 0);
24529
- }
24530
- }
24531
- function CatalogToolbarComponent_span_13_Template(rf, ctx) {
24532
- if (rf & 1) {
24533
- i0__namespace.ɵɵelementStart(0, "span", 24);
24534
- i0__namespace.ɵɵi18n(1, 25);
24535
- i0__namespace.ɵɵelementEnd();
24531
+ i0__namespace.ɵɵproperty("ngIf", ctx_r3.context.orderHistoryEnabled$.value);
24532
+ i0__namespace.ɵɵadvance(1);
24533
+ i0__namespace.ɵɵproperty("ngIf", !ctx_r3.context.orderHistoryEnabled$.value);
24536
24534
  }
24537
24535
  }
24538
- function CatalogToolbarComponent_div_14_Template(rf, ctx) {
24536
+ function CatalogToolbarComponent_button_9_div_4_Template(rf, ctx) {
24539
24537
  if (rf & 1) {
24540
- i0__namespace.ɵɵelementStart(0, "div", 21);
24538
+ i0__namespace.ɵɵelementStart(0, "div", 30);
24541
24539
  i0__namespace.ɵɵtext(1);
24542
24540
  i0__namespace.ɵɵelementEnd();
24543
24541
  }
24544
24542
  if (rf & 2) {
24545
- var ctx_r6 = i0__namespace.ɵɵnextContext();
24543
+ var ctx_r23 = i0__namespace.ɵɵnextContext(2);
24546
24544
  i0__namespace.ɵɵadvance(1);
24547
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r6.preferencesBadgeCount, " ");
24545
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx_r23.filterBadgeCount, " ");
24548
24546
  }
24549
24547
  }
24550
- function CatalogToolbarComponent_div_17_span_1_Template(rf, ctx) {
24548
+ function CatalogToolbarComponent_button_9_Template(rf, ctx) {
24551
24549
  if (rf & 1) {
24552
- i0__namespace.ɵɵelementStart(0, "span");
24553
- i0__namespace.ɵɵi18n(1, 28);
24550
+ var _r25_1 = i0__namespace.ɵɵgetCurrentView();
24551
+ i0__namespace.ɵɵelementStart(0, "button", 26);
24552
+ i0__namespace.ɵɵlistener("click", function CatalogToolbarComponent_button_9_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r25_1); var ctx_r24 = i0__namespace.ɵɵnextContext(); return ctx_r24.filterButtonPressed.emit(); });
24553
+ i0__namespace.ɵɵelement(1, "img", 27);
24554
+ i0__namespace.ɵɵelementStart(2, "span");
24555
+ i0__namespace.ɵɵi18n(3, 28);
24556
+ i0__namespace.ɵɵelementEnd();
24557
+ i0__namespace.ɵɵtemplate(4, CatalogToolbarComponent_button_9_div_4_Template, 2, 1, "div", 29);
24554
24558
  i0__namespace.ɵɵelementEnd();
24555
24559
  }
24560
+ if (rf & 2) {
24561
+ var ctx_r4 = i0__namespace.ɵɵnextContext();
24562
+ i0__namespace.ɵɵattribute("aria-pressed", ctx_r4.filterBadgeCount && ctx_r4.filterBadgeCount > 0 ? "true" : "false");
24563
+ i0__namespace.ɵɵadvance(4);
24564
+ i0__namespace.ɵɵproperty("ngIf", ctx_r4.filterBadgeCount && ctx_r4.filterBadgeCount > 0);
24565
+ }
24556
24566
  }
24557
- function CatalogToolbarComponent_div_17_span_2_Template(rf, ctx) {
24567
+ function CatalogToolbarComponent_button_10_div_4_Template(rf, ctx) {
24558
24568
  if (rf & 1) {
24559
- i0__namespace.ɵɵelementStart(0, "span");
24560
- i0__namespace.ɵɵi18n(1, 29);
24569
+ i0__namespace.ɵɵelementStart(0, "div", 30);
24570
+ i0__namespace.ɵɵtext(1);
24561
24571
  i0__namespace.ɵɵelementEnd();
24562
24572
  }
24573
+ if (rf & 2) {
24574
+ var ctx_r26 = i0__namespace.ɵɵnextContext(2);
24575
+ i0__namespace.ɵɵadvance(1);
24576
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx_r26.preferencesBadgeCount, " ");
24577
+ }
24563
24578
  }
24564
- function CatalogToolbarComponent_div_17_Template(rf, ctx) {
24579
+ function CatalogToolbarComponent_button_10_Template(rf, ctx) {
24565
24580
  if (rf & 1) {
24566
- i0__namespace.ɵɵelementStart(0, "div", 26);
24567
- i0__namespace.ɵɵtemplate(1, CatalogToolbarComponent_div_17_span_1_Template, 2, 0, "span", 27);
24568
- i0__namespace.ɵɵtemplate(2, CatalogToolbarComponent_div_17_span_2_Template, 2, 0, "span", 27);
24581
+ var _r28_1 = i0__namespace.ɵɵgetCurrentView();
24582
+ i0__namespace.ɵɵelementStart(0, "button", 31);
24583
+ i0__namespace.ɵɵlistener("click", function CatalogToolbarComponent_button_10_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r28_1); var ctx_r27 = i0__namespace.ɵɵnextContext(); return ctx_r27.preferencesButtonPressed.emit(); });
24584
+ i0__namespace.ɵɵelement(1, "img", 32);
24585
+ i0__namespace.ɵɵelementStart(2, "span", 33);
24586
+ i0__namespace.ɵɵi18n(3, 34);
24587
+ i0__namespace.ɵɵelementEnd();
24588
+ i0__namespace.ɵɵtemplate(4, CatalogToolbarComponent_button_10_div_4_Template, 2, 1, "div", 29);
24569
24589
  i0__namespace.ɵɵelementEnd();
24570
24590
  }
24571
24591
  if (rf & 2) {
24572
- var ctx_r7 = i0__namespace.ɵɵnextContext();
24573
- i0__namespace.ɵɵadvance(1);
24574
- i0__namespace.ɵɵproperty("ngIf", ctx_r7.context.orderHistoryEnabled$.value);
24575
- i0__namespace.ɵɵadvance(1);
24576
- i0__namespace.ɵɵproperty("ngIf", !ctx_r7.context.orderHistoryEnabled$.value);
24592
+ var ctx_r5 = i0__namespace.ɵɵnextContext();
24593
+ i0__namespace.ɵɵattribute("aria-pressed", ctx_r5.preferencesBadgeCount > 0 ? "true" : "false");
24594
+ i0__namespace.ɵɵadvance(4);
24595
+ i0__namespace.ɵɵproperty("ngIf", ctx_r5.preferencesBadgeCount > 0);
24577
24596
  }
24578
24597
  }
24579
- var _c11 = function (a0) { return { "hidden-reduced": a0 }; };
24580
- var _c12 = function (a0, a1, a2) { return { "hidden": a0, "ghost square": a1, "full": a2 }; };
24598
+ var _c11 = function (a0, a1) { return { "my-space": a0, "expanded": a1 }; };
24581
24599
  var CatalogToolbarComponent = /** @class */ (function () {
24582
- function CatalogToolbarComponent(cdr, preferencesService, context) {
24600
+ function CatalogToolbarComponent(cdr, preferencesService, context, userService) {
24583
24601
  this.cdr = cdr;
24584
24602
  this.preferencesService = preferencesService;
24585
24603
  this.context = context;
24586
- this.hideButtons = false;
24604
+ this.userService = userService;
24587
24605
  this.filterBadgeCount = 0;
24588
24606
  this.reduced = false;
24589
24607
  this.filterButtonPressed = new i0.EventEmitter();
24590
24608
  this.favoritesButtonPressed = new i0.EventEmitter();
24609
+ this.discountButtonPressed = new i0.EventEmitter();
24591
24610
  this.preferencesButtonPressed = new i0.EventEmitter();
24592
24611
  this.searchStringChanged = new i0.EventEmitter();
24593
24612
  this.returnHomePressed = new i0.EventEmitter();
24594
24613
  this.searchString = '';
24595
24614
  this.preferencesBadgeCount = 0;
24615
+ this.searchExpanded = false;
24616
+ this.preferencesActivated = false;
24596
24617
  this.subscriptions = [];
24597
24618
  }
24598
24619
  CatalogToolbarComponent.prototype.ngOnInit = function () {
@@ -24602,6 +24623,9 @@
24602
24623
  }), this.preferencesService.currentPreferencesNumber.subscribe(function (number) {
24603
24624
  _this.preferencesBadgeCount = number;
24604
24625
  _this.cdr.detectChanges();
24626
+ }), this.userService.preferencesActivated$.subscribe(function (activated) {
24627
+ _this.preferencesActivated = activated;
24628
+ _this.cdr.detectChanges();
24605
24629
  }));
24606
24630
  };
24607
24631
  CatalogToolbarComponent.prototype.ngOnChanges = function () {
@@ -24613,118 +24637,154 @@
24613
24637
  // Not used in component, but can be called by parent via ViewChild
24614
24638
  CatalogToolbarComponent.prototype.resetSearchString = function () {
24615
24639
  this.searchString = '';
24640
+ this.searchExpanded = false;
24616
24641
  this.cdr.detectChanges();
24617
24642
  };
24618
24643
  CatalogToolbarComponent.prototype.emitSearchString = function () {
24644
+ this.searchExpanded = !!this.searchString;
24619
24645
  this.cdr.detectChanges();
24620
24646
  this.searchStringChanged.emit(this.searchString);
24621
24647
  };
24648
+ CatalogToolbarComponent.prototype.onSearchIconClick = function () {
24649
+ var _this = this;
24650
+ if (this.searchExpanded && !this.searchString) {
24651
+ // Close if already open and empty
24652
+ this.searchExpanded = false;
24653
+ this.cdr.detectChanges();
24654
+ return;
24655
+ }
24656
+ if (!this.searchExpanded) {
24657
+ // Open and focus
24658
+ this.searchExpanded = true;
24659
+ this.cdr.detectChanges();
24660
+ setTimeout(function () {
24661
+ var _a;
24662
+ if ((_a = _this.searchInputRef) === null || _a === void 0 ? void 0 : _a.nativeElement) {
24663
+ _this.searchInputRef.nativeElement.focus();
24664
+ }
24665
+ }, 0);
24666
+ }
24667
+ };
24668
+ CatalogToolbarComponent.prototype.onSearchFocus = function () {
24669
+ this.searchExpanded = true;
24670
+ this.cdr.detectChanges();
24671
+ };
24672
+ CatalogToolbarComponent.prototype.onSearchBlur = function (event) {
24673
+ var nextTarget = event.relatedTarget;
24674
+ if (nextTarget && nextTarget.closest('.miam-catalog-toolbar__searchbar')) {
24675
+ return;
24676
+ }
24677
+ this.emitSearchString();
24678
+ };
24679
+ CatalogToolbarComponent.prototype.clearSearch = function () {
24680
+ var _a;
24681
+ this.searchString = '';
24682
+ this.searchStringChanged.emit(this.searchString);
24683
+ this.cdr.detectChanges();
24684
+ if ((_a = this.searchInputRef) === null || _a === void 0 ? void 0 : _a.nativeElement) {
24685
+ this.searchInputRef.nativeElement.focus();
24686
+ }
24687
+ };
24688
+ CatalogToolbarComponent.prototype.onWindowScroll = function () {
24689
+ if (this.searchExpanded && !this.searchString) {
24690
+ this.searchExpanded = false;
24691
+ this.cdr.detectChanges();
24692
+ }
24693
+ };
24622
24694
  return CatalogToolbarComponent;
24623
24695
  }());
24624
- CatalogToolbarComponent.ɵfac = function CatalogToolbarComponent_Factory(t) { return new (t || CatalogToolbarComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(PreferencesService), i0__namespace.ɵɵdirectiveInject(ContextService)); };
24625
- CatalogToolbarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CatalogToolbarComponent, selectors: [["ng-miam-catalog-toolbar"]], inputs: { home: "home", history: "history", searchTerm: "searchTerm", additionalFiltersTitle: "additionalFiltersTitle", hideButtons: "hideButtons", filterBadgeCount: "filterBadgeCount", reduced: "reduced" }, outputs: { filterButtonPressed: "filterButtonPressed", favoritesButtonPressed: "favoritesButtonPressed", preferencesButtonPressed: "preferencesButtonPressed", searchStringChanged: "searchStringChanged", returnHomePressed: "returnHomePressed" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 18, vars: 28, consts: function () {
24626
- var i18n_0;
24696
+ CatalogToolbarComponent.ɵfac = function CatalogToolbarComponent_Factory(t) { return new (t || CatalogToolbarComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(PreferencesService), i0__namespace.ɵɵdirectiveInject(ContextService), i0__namespace.ɵɵdirectiveInject(UserService)); };
24697
+ CatalogToolbarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CatalogToolbarComponent, selectors: [["ng-miam-catalog-toolbar"]], viewQuery: function CatalogToolbarComponent_Query(rf, ctx) {
24698
+ if (rf & 1) {
24699
+ i0__namespace.ɵɵviewQuery(_c0$4, 1);
24700
+ }
24701
+ if (rf & 2) {
24702
+ var _t = void 0;
24703
+ i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.searchInputRef = _t.first);
24704
+ }
24705
+ }, hostBindings: function CatalogToolbarComponent_HostBindings(rf, ctx) {
24706
+ if (rf & 1) {
24707
+ i0__namespace.ɵɵlistener("scroll", function CatalogToolbarComponent_scroll_HostBindingHandler() { return ctx.onWindowScroll(); }, false, i0__namespace.ɵɵresolveWindow);
24708
+ }
24709
+ }, inputs: { favorites: "favorites", history: "history", home: "home", searchTerm: "searchTerm", additionalFiltersTitle: "additionalFiltersTitle", filterBadgeCount: "filterBadgeCount", reduced: "reduced" }, outputs: { filterButtonPressed: "filterButtonPressed", favoritesButtonPressed: "favoritesButtonPressed", discountButtonPressed: "discountButtonPressed", preferencesButtonPressed: "preferencesButtonPressed", searchStringChanged: "searchStringChanged", returnHomePressed: "returnHomePressed" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 11, vars: 12, consts: function () {
24710
+ var i18n_1;
24627
24711
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
24628
- var MSG_EXTERNAL_9174301238530403624$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS_1 = goog.getMsg("Je cherche mon repas pr\u00E9f\u00E9r\u00E9");
24629
- i18n_0 = MSG_EXTERNAL_9174301238530403624$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS_1;
24712
+ var MSG_EXTERNAL_7879917059977078945$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS__2 = goog.getMsg("Promo'");
24713
+ i18n_1 = MSG_EXTERNAL_7879917059977078945$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS__2;
24630
24714
  }
24631
24715
  else {
24632
- i18n_0 = $localize(templateObject_1$g || (templateObject_1$g = __makeTemplateObject([":\u241F06dc8ebc29adf50996bc1248febbc1793af51f9c\u241F9174301238530403624:Je cherche mon repas pr\u00E9f\u00E9r\u00E9"], [":\u241F06dc8ebc29adf50996bc1248febbc1793af51f9c\u241F9174301238530403624:Je cherche mon repas pr\u00E9f\u00E9r\u00E9"])));
24716
+ i18n_1 = $localize(templateObject_1$g || (templateObject_1$g = __makeTemplateObject([":\u241Fa95b83d06c5cde80a506c7e649b862c065ebc393\u241F7879917059977078945:Promo'"], [":\u241Fa95b83d06c5cde80a506c7e649b862c065ebc393\u241F7879917059977078945:Promo'"])));
24633
24717
  }
24634
- var i18n_2;
24718
+ var i18n_3;
24635
24719
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
24636
- var MSG_EXTERNAL_140134066175509828$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS_3 = goog.getMsg("Je cherche un ingr\u00E9dient ou un repas");
24637
- i18n_2 = MSG_EXTERNAL_140134066175509828$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS_3;
24720
+ var MSG_EXTERNAL_1113588586134380101$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS___4 = goog.getMsg("Mon carnet");
24721
+ i18n_3 = MSG_EXTERNAL_1113588586134380101$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS___4;
24638
24722
  }
24639
24723
  else {
24640
- i18n_2 = $localize(templateObject_2$c || (templateObject_2$c = __makeTemplateObject([":\u241F163d8165cbdd63855b00156be6328830a422815a\u241F140134066175509828:Je cherche un ingr\u00E9dient ou un repas"], [":\u241F163d8165cbdd63855b00156be6328830a422815a\u241F140134066175509828:Je cherche un ingr\u00E9dient ou un repas"])));
24724
+ i18n_3 = $localize(templateObject_2$c || (templateObject_2$c = __makeTemplateObject([":\u241F875636ce9a66066faddedecbc815fd3c78759e32\u241F1113588586134380101:Mon carnet"], [":\u241F875636ce9a66066faddedecbc815fd3c78759e32\u241F1113588586134380101:Mon carnet"])));
24641
24725
  }
24642
24726
  var i18n_5;
24643
24727
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
24644
- var MSG_EXTERNAL_7018050884147735331$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS__6 = goog.getMsg("Pr\u00E9f\u00E9rences");
24645
- i18n_5 = MSG_EXTERNAL_7018050884147735331$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS__6;
24728
+ var MSG_EXTERNAL_588207140585847047$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS___6 = goog.getMsg("Favoris");
24729
+ i18n_5 = MSG_EXTERNAL_588207140585847047$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS___6;
24646
24730
  }
24647
24731
  else {
24648
- i18n_5 = $localize(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject([":\u241F9c1ee9470393e19cd9dc0dac8c351c7115e89332\u241F7018050884147735331:Pr\u00E9f\u00E9rences"], [":\u241F9c1ee9470393e19cd9dc0dac8c351c7115e89332\u241F7018050884147735331:Pr\u00E9f\u00E9rences"])));
24732
+ i18n_5 = $localize(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject([":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"], [":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"])));
24649
24733
  }
24650
24734
  var i18n_7;
24651
24735
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
24652
- var MSG_EXTERNAL_1113588586134380101$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS___8 = goog.getMsg("Mon carnet");
24653
- i18n_7 = MSG_EXTERNAL_1113588586134380101$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS___8;
24736
+ var MSG_EXTERNAL_673430564078029527$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS__8 = goog.getMsg("Filtrer");
24737
+ i18n_7 = MSG_EXTERNAL_673430564078029527$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS__8;
24654
24738
  }
24655
24739
  else {
24656
- i18n_7 = $localize(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject([":\u241F875636ce9a66066faddedecbc815fd3c78759e32\u241F1113588586134380101:Mon carnet"], [":\u241F875636ce9a66066faddedecbc815fd3c78759e32\u241F1113588586134380101:Mon carnet"])));
24740
+ i18n_7 = $localize(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject([":\u241F43a5be6775550e305fdcc873e3fe93fe756b2340\u241F673430564078029527:Filtrer"], [":\u241F43a5be6775550e305fdcc873e3fe93fe756b2340\u241F673430564078029527:Filtrer"])));
24657
24741
  }
24658
24742
  var i18n_9;
24659
24743
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
24660
- var MSG_EXTERNAL_588207140585847047$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS___10 = goog.getMsg("Favoris");
24661
- i18n_9 = MSG_EXTERNAL_588207140585847047$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS___10;
24744
+ var MSG_EXTERNAL_7018050884147735331$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS__10 = goog.getMsg("Pr\u00E9f\u00E9rences");
24745
+ i18n_9 = MSG_EXTERNAL_7018050884147735331$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS__10;
24662
24746
  }
24663
24747
  else {
24664
- i18n_9 = $localize(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject([":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"], [":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"])));
24748
+ i18n_9 = $localize(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject([":\u241F9c1ee9470393e19cd9dc0dac8c351c7115e89332\u241F7018050884147735331:Pr\u00E9f\u00E9rences"], [":\u241F9c1ee9470393e19cd9dc0dac8c351c7115e89332\u241F7018050884147735331:Pr\u00E9f\u00E9rences"])));
24665
24749
  }
24666
- return [["role", "toolbar", "aria-label", "Catalogue de recettes", 1, "miam-catalog-toolbar"], [1, "miam-catalog-toolbar__searchbar-container"], [1, "miam-catalog-toolbar__searchbar", 3, "ngClass"], ["aria-label", "Rechercher", 1, "miam-ds-button", "ghost", "small", "square", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Search.svg", "alt", "", "aria-hidden", "true"], ["type", "text", "placeholder", i18n_0, "class", "miam-ds-text size-s weight-l", "aria-label", "Rechercher mon repas pr\u00E9f\u00E9r\u00E9", 3, "ngModel", "ngModelChange", "keydown.enter", "blur", 4, "ngIf"], ["type", "text", "placeholder", i18n_2, "class", "miam-ds-text size-s weight-l", "aria-label", "Rechercher un ingr\u00E9dient ou un repas", 3, "ngModel", "ngModelChange", "keydown.enter", "blur", 4, "ngIf"], ["class", "miam-catalog-toolbar__controls__filter miam-ds-button ghost square", "aria-label", "Filtres", 3, "ngClass", "disabled", "click", 4, "ngIf"], ["class", "miam-recipe-toolbar__return-button miam-ds-button ghost square", "aria-label", "Retour", 3, "click", 4, "ngIf"], [1, "miam-catalog-toolbar__buttons-container"], ["aria-label", "Pr\u00E9f\u00E9rences", 1, "miam-ds-button", "miam-catalog-toolbar__controls__preferences", 3, "ngClass", "disabled", "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/cog_neutral.svg", "alt", "", "aria-hidden", "true"], ["class", "miam-catalog-toolbar__controls__preferences-label", 4, "ngIf"], ["class", "miam-catalog-toolbar__controls__filter-badge", "aria-hidden", "true", 4, "ngIf"], [1, "miam-ds-button", "miam-catalog-toolbar__controls__favorites", 3, "ngClass", "disabled", "click"], ["alt", "", "aria-hidden", "true", 3, "src"], ["class", "miam-catalog-toolbar__controls__favorites-label", 4, "ngIf"], ["type", "text", "placeholder", i18n_0, "aria-label", "Rechercher mon repas pr\u00E9f\u00E9r\u00E9", 1, "miam-ds-text", "size-s", "weight-l", 3, "ngModel", "ngModelChange", "keydown.enter", "blur"], ["type", "text", "placeholder", i18n_2, "aria-label", "Rechercher un ingr\u00E9dient ou un repas", 1, "miam-ds-text", "size-s", "weight-l", 3, "ngModel", "ngModelChange", "keydown.enter", "blur"], ["aria-label", "Filtres", 1, "miam-catalog-toolbar__controls__filter", "miam-ds-button", "ghost", "square", 3, "ngClass", "disabled", "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Filters.svg", "alt", "", "aria-hidden", "true"], ["aria-hidden", "true", 1, "miam-catalog-toolbar__controls__filter-badge"], ["aria-label", "Retour", 1, "miam-recipe-toolbar__return-button", "miam-ds-button", "ghost", "square", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_dark.svg", "alt", "", "aria-hidden", "true"], [1, "miam-catalog-toolbar__controls__preferences-label"], i18n_5, [1, "miam-catalog-toolbar__controls__favorites-label"], [4, "ngIf"], i18n_7, i18n_9];
24750
+ return [["role", "toolbar", "aria-label", "Catalogue de recettes", 1, "miam-catalog-toolbar"], [1, "miam-catalog-toolbar__buttons-container"], ["class", "miam-recipe-toolbar__return-button miam-ds-button ghost square", "aria-label", "Retour", 3, "click", 4, "ngIf"], [1, "miam-catalog-toolbar__searchbar", 3, "ngClass"], ["aria-label", "Rechercher", 1, "miam-ds-button", "ghost", "small", "square", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Search.svg", "alt", "", "aria-hidden", "true"], [4, "ngIf"], ["class", "miam-ds-button danger miam-catalog-toolbar__controls__discount", 3, "click", 4, "ngIf"], ["class", "miam-ds-button miam-catalog-toolbar__controls__favorites", 3, "click", 4, "ngIf"], ["class", "miam-catalog-toolbar__controls__filter miam-ds-button", "aria-label", "Filtres", 3, "click", 4, "ngIf"], ["class", "miam-ds-button miam-catalog-toolbar__controls__preferences", "aria-label", "Pr\u00E9f\u00E9rences", 3, "click", 4, "ngIf"], ["aria-label", "Retour", 1, "miam-recipe-toolbar__return-button", "miam-ds-button", "ghost", "square", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_dark.svg", "alt", "", "aria-hidden", "true"], ["type", "text", "aria-label", "Rechercher un ingr\u00E9dient ou un repas", 1, "miam-ds-text", "size-s", "weight-xl", 3, "ngModel", "ngModelChange", "focus", "keydown.enter", "blur"], ["searchInput", ""], ["class", "miam-ds-button ghost small square miam-catalog-toolbar__searchbar-clear", "aria-label", "Effacer la recherche", 3, "click", 4, "ngIf"], ["aria-label", "Effacer la recherche", 1, "miam-ds-button", "ghost", "small", "square", "miam-catalog-toolbar__searchbar-clear", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Cross_Black.svg", "alt", "", "aria-hidden", "true"], [1, "miam-ds-button", "danger", "miam-catalog-toolbar__controls__discount", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Discount_white.svg", "alt", "", "aria-hidden", "true"], i18n_1, [1, "miam-ds-button", "miam-catalog-toolbar__controls__favorites", 3, "click"], ["alt", "", "aria-hidden", "true", 3, "src"], [1, "miam-catalog-toolbar__controls__favorites-label"], i18n_3, i18n_5, ["aria-label", "Filtres", 1, "miam-catalog-toolbar__controls__filter", "miam-ds-button", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Filters.svg", "alt", "", "aria-hidden", "true"], i18n_7, ["class", "miam-catalog-toolbar__controls__count-badge", "aria-hidden", "true", 4, "ngIf"], ["aria-hidden", "true", 1, "miam-catalog-toolbar__controls__count-badge"], ["aria-label", "Pr\u00E9f\u00E9rences", 1, "miam-ds-button", "miam-catalog-toolbar__controls__preferences", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/cog_neutral.svg", "alt", "", "aria-hidden", "true"], [1, "miam-catalog-toolbar__controls__preferences-label"], i18n_9];
24667
24751
  }, template: function CatalogToolbarComponent_Template(rf, ctx) {
24668
24752
  if (rf & 1) {
24669
24753
  i0__namespace.ɵɵelementStart(0, "div", 0);
24670
24754
  i0__namespace.ɵɵelementStart(1, "div", 1);
24671
- i0__namespace.ɵɵelementStart(2, "div", 2);
24672
- i0__namespace.ɵɵelementStart(3, "button", 3);
24673
- i0__namespace.ɵɵlistener("click", function CatalogToolbarComponent_Template_button_click_3_listener() { return ctx.emitSearchString(); });
24674
- i0__namespace.ɵɵelement(4, "img", 4);
24675
- i0__namespace.ɵɵelementEnd();
24676
- i0__namespace.ɵɵtemplate(5, CatalogToolbarComponent_input_5_Template, 1, 1, "input", 5);
24677
- i0__namespace.ɵɵtemplate(6, CatalogToolbarComponent_input_6_Template, 1, 1, "input", 6);
24678
- i0__namespace.ɵɵelementEnd();
24679
- i0__namespace.ɵɵtemplate(7, CatalogToolbarComponent_button_7_Template, 3, 6, "button", 7);
24680
- i0__namespace.ɵɵtemplate(8, CatalogToolbarComponent_button_8_Template, 2, 0, "button", 8);
24681
- i0__namespace.ɵɵelementEnd();
24682
- i0__namespace.ɵɵelementStart(9, "div", 9);
24683
- i0__namespace.ɵɵtemplate(10, CatalogToolbarComponent_button_10_Template, 3, 6, "button", 7);
24684
- i0__namespace.ɵɵelementStart(11, "button", 10);
24685
- i0__namespace.ɵɵlistener("click", function CatalogToolbarComponent_Template_button_click_11_listener() { return ctx.preferencesButtonPressed.emit(); });
24686
- i0__namespace.ɵɵelement(12, "img", 11);
24687
- i0__namespace.ɵɵtemplate(13, CatalogToolbarComponent_span_13_Template, 2, 0, "span", 12);
24688
- i0__namespace.ɵɵtemplate(14, CatalogToolbarComponent_div_14_Template, 2, 1, "div", 13);
24755
+ i0__namespace.ɵɵtemplate(2, CatalogToolbarComponent_button_2_Template, 2, 0, "button", 2);
24756
+ i0__namespace.ɵɵelementStart(3, "div", 3);
24757
+ i0__namespace.ɵɵelementStart(4, "button", 4);
24758
+ i0__namespace.ɵɵlistener("click", function CatalogToolbarComponent_Template_button_click_4_listener() { return ctx.onSearchIconClick(); });
24759
+ i0__namespace.ɵɵelement(5, "img", 5);
24689
24760
  i0__namespace.ɵɵelementEnd();
24690
- i0__namespace.ɵɵelementStart(15, "button", 14);
24691
- i0__namespace.ɵɵlistener("click", function CatalogToolbarComponent_Template_button_click_15_listener() { return ctx.favoritesButtonPressed.emit(); });
24692
- i0__namespace.ɵɵelement(16, "img", 15);
24693
- i0__namespace.ɵɵtemplate(17, CatalogToolbarComponent_div_17_Template, 3, 2, "div", 16);
24761
+ i0__namespace.ɵɵtemplate(6, CatalogToolbarComponent_ng_container_6_Template, 4, 3, "ng-container", 6);
24694
24762
  i0__namespace.ɵɵelementEnd();
24763
+ i0__namespace.ɵɵtemplate(7, CatalogToolbarComponent_button_7_Template, 4, 0, "button", 7);
24764
+ i0__namespace.ɵɵtemplate(8, CatalogToolbarComponent_button_8_Template, 5, 4, "button", 8);
24765
+ i0__namespace.ɵɵtemplate(9, CatalogToolbarComponent_button_9_Template, 5, 2, "button", 9);
24766
+ i0__namespace.ɵɵtemplate(10, CatalogToolbarComponent_button_10_Template, 5, 2, "button", 10);
24695
24767
  i0__namespace.ɵɵelementEnd();
24696
24768
  i0__namespace.ɵɵelementEnd();
24697
24769
  }
24698
24770
  if (rf & 2) {
24699
24771
  i0__namespace.ɵɵclassProp("reduced", ctx.reduced);
24700
24772
  i0__namespace.ɵɵadvance(2);
24701
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(18, _c11, !ctx.home));
24702
- i0__namespace.ɵɵadvance(3);
24703
- i0__namespace.ɵɵproperty("ngIf", ctx.hideButtons && !ctx.history);
24704
- i0__namespace.ɵɵadvance(1);
24705
- i0__namespace.ɵɵproperty("ngIf", !ctx.hideButtons || ctx.history);
24706
- i0__namespace.ɵɵadvance(1);
24707
- i0__namespace.ɵɵproperty("ngIf", !ctx.reduced);
24708
- i0__namespace.ɵɵadvance(1);
24709
24773
  i0__namespace.ɵɵproperty("ngIf", ctx.reduced && !ctx.home);
24710
- i0__namespace.ɵɵadvance(2);
24711
- i0__namespace.ɵɵproperty("ngIf", ctx.reduced);
24712
24774
  i0__namespace.ɵɵadvance(1);
24713
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction3(20, _c12, ctx.hideButtons, ctx.reduced, !ctx.reduced))("disabled", ctx.hideButtons);
24714
- i0__namespace.ɵɵattribute("aria-pressed", ctx.preferencesBadgeCount > 0 ? "true" : "false");
24715
- i0__namespace.ɵɵadvance(2);
24716
- i0__namespace.ɵɵproperty("ngIf", !ctx.reduced);
24775
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(9, _c11, ctx.history || ctx.favorites, ctx.searchExpanded));
24776
+ i0__namespace.ɵɵadvance(3);
24777
+ i0__namespace.ɵɵproperty("ngIf", ctx.searchExpanded || ctx.history || ctx.favorites);
24717
24778
  i0__namespace.ɵɵadvance(1);
24718
- i0__namespace.ɵɵproperty("ngIf", ctx.preferencesBadgeCount > 0);
24779
+ i0__namespace.ɵɵproperty("ngIf", ctx.home);
24719
24780
  i0__namespace.ɵɵadvance(1);
24720
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction3(24, _c12, ctx.hideButtons, ctx.reduced, !ctx.reduced))("disabled", ctx.hideButtons);
24721
- i0__namespace.ɵɵattribute("aria-label", ctx.context.orderHistoryEnabled$.value ? "Mon carnet" : "Favoris");
24781
+ i0__namespace.ɵɵproperty("ngIf", ctx.home);
24722
24782
  i0__namespace.ɵɵadvance(1);
24723
- i0__namespace.ɵɵproperty("src", ctx.hideButtons ? "https://storage.googleapis.com/assets.miam.tech/generic/icons/Heart_grey.svg" : "https://storage.googleapis.com/assets.miam.tech/generic/icons/Heart_Black.svg", i0__namespace.ɵɵsanitizeUrl);
24783
+ i0__namespace.ɵɵproperty("ngIf", !ctx.favorites && !ctx.history);
24724
24784
  i0__namespace.ɵɵadvance(1);
24725
- i0__namespace.ɵɵproperty("ngIf", !ctx.reduced);
24785
+ i0__namespace.ɵɵproperty("ngIf", !ctx.favorites && !ctx.history && ctx.preferencesActivated);
24726
24786
  }
24727
- }, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.NgModel], styles: [".miam-catalog-toolbar{position:relative;display:flex;width:100%;box-sizing:border-box}.miam-catalog-toolbar .miam-catalog-toolbar__searchbar-container{display:flex;flex-direction:row;align-items:center;flex:1;max-width:600px;gap:16px}.miam-catalog-toolbar .miam-catalog-toolbar__searchbar-container .miam-catalog-toolbar__searchbar{background-color:var(--miam-ds-color-background-primary);border:1px solid var(--miam-ds-color-border);border-radius:6px;width:480px;font-size:14px;display:flex;align-items:center;padding:8px;box-sizing:border-box}.miam-catalog-toolbar .miam-catalog-toolbar__searchbar-container .miam-catalog-toolbar__searchbar input{border:transparent;background:transparent;flex:1;text-overflow:ellipsis}.miam-catalog-toolbar .miam-catalog-toolbar__searchbar-container .miam-catalog-toolbar__searchbar input::-moz-placeholder{color:var(--miam-ds-color-text-disabled);opacity:1}.miam-catalog-toolbar .miam-catalog-toolbar__searchbar-container .miam-catalog-toolbar__searchbar input::placeholder{color:var(--miam-ds-color-text-disabled);opacity:1}.miam-catalog-toolbar .miam-catalog-toolbar__searchbar-container .miam-catalog-toolbar__searchbar input:focus{outline:transparent}.miam-catalog-toolbar .miam-catalog-toolbar__searchbar-container .miam-catalog-toolbar__searchbar .miam-ds-button{margin-right:8px;padding:unset}.miam-catalog-toolbar .miam-catalog-toolbar__searchbar-container .miam-catalog-toolbar__searchbar .miam-ds-button:hover{border-color:transparent}.miam-catalog-toolbar .miam-catalog-toolbar__searchbar-container .miam-catalog-toolbar__searchbar .miam-ds-button img,.miam-catalog-toolbar .miam-catalog-toolbar__searchbar-container .miam-recipe-toolbar__return-button{height:24px;width:24px}.miam-catalog-toolbar .miam-catalog-toolbar__searchbar-container .miam-recipe-toolbar__return-button img{cursor:pointer;min-width:15px;min-height:15px}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;flex:1;gap:16px}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-ds-button.miam-catalog-toolbar__controls__favorites:not(.ghost):not(.hidden),.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-ds-button.miam-catalog-toolbar__controls__preferences:not(.ghost):not(.hidden){display:flex;gap:4px;padding:8px 12px;background:var(--miam-ds-color-primary-100,#e4eaec);color:var(--miam-ds-color-neutral-black,#0f191f);border-radius:90px}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-ds-button.hidden{display:none}.miam-catalog-toolbar .miam-catalog-toolbar__controls__filter,.miam-catalog-toolbar .miam-catalog-toolbar__controls__preferences{position:relative}.miam-catalog-toolbar .miam-catalog-toolbar__controls__filter .miam-catalog-toolbar__controls__filter-badge,.miam-catalog-toolbar .miam-catalog-toolbar__controls__preferences .miam-catalog-toolbar__controls__filter-badge{height:18px;width:18px;display:flex;justify-content:center;align-items:center;background-color:var(--miam-ds-color-primary-900);color:var(--m-catalog-redpoint-text-color);border-radius:var(--m-border-radius-circle);font-size:12px;line-height:18px}.miam-catalog-toolbar .miam-catalog-toolbar__controls__filter:not(.full) .miam-catalog-toolbar__controls__filter-badge,.miam-catalog-toolbar .miam-catalog-toolbar__controls__preferences:not(.full) .miam-catalog-toolbar__controls__filter-badge{position:absolute;right:6px;top:6px}.miam-catalog-toolbar .miam-catalog-toolbar__controls__filter.hidden,.miam-catalog-toolbar.reduced .miam-catalog-toolbar__searchbar.hidden-reduced{display:none}@media (max-width:1024px){.miam-catalog-toolbar .miam-catalog-toolbar__searchbar-container .miam-catalog-toolbar__searchbar{width:auto;flex:1}}@media (max-width:700px){.miam-catalog-toolbar:not(.reduced){flex-direction:column-reverse;gap:24px}.miam-catalog-toolbar:not(.reduced) .miam-catalog-toolbar__searchbar-container{border-bottom:unset;justify-content:space-between;max-width:unset}.miam-catalog-toolbar:not(.reduced) .miam-catalog-toolbar__buttons-container{justify-content:space-between}.miam-catalog-toolbar:not(.reduced) .miam-catalog-toolbar__buttons-container .miam-ds-button.miam-catalog-toolbar__controls__favorites,.miam-catalog-toolbar:not(.reduced) .miam-catalog-toolbar__buttons-container .miam-ds-button.miam-catalog-toolbar__controls__preferences{border-radius:40px;padding:12px 16px;flex:1}.miam-catalog-toolbar:not(.reduced) .miam-catalog-toolbar__buttons-container .miam-ds-button.miam-catalog-toolbar__controls__favorites:hover,.miam-catalog-toolbar:not(.reduced) .miam-catalog-toolbar__buttons-container .miam-ds-button.miam-catalog-toolbar__controls__preferences:hover{background-color:var(--miam-ds-color-primary-200)}.miam-catalog-toolbar.reduced .miam-catalog-toolbar__searchbar:not(.hidden-reduced),.miam-catalog-toolbar:not(.reduced) .miam-catalog-toolbar__buttons-container .miam-ds-button.miam-catalog-toolbar__controls__favorites.hidden,.miam-catalog-toolbar:not(.reduced) .miam-catalog-toolbar__buttons-container .miam-ds-button.miam-catalog-toolbar__controls__favorites:not(.full) span,.miam-catalog-toolbar:not(.reduced) .miam-catalog-toolbar__buttons-container .miam-ds-button.miam-catalog-toolbar__controls__preferences.hidden,.miam-catalog-toolbar:not(.reduced) .miam-catalog-toolbar__buttons-container .miam-ds-button.miam-catalog-toolbar__controls__preferences:not(.full) span{display:none}}"], encapsulation: 2, changeDetection: 0 });
24787
+ }, directives: [i1__namespace.NgIf, i1__namespace.NgClass, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.NgModel], styles: [".miam-catalog-toolbar{position:relative;display:flex;box-sizing:border-box}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container{display:flex;flex-direction:row;align-items:center;flex:1;gap:8px}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__searchbar{background-color:var(--miam-ds-color-background-primary,#fff);border:1px solid var(--miam-ds-color-border,#e0e0e0);border-radius:999px;font-size:14px;display:flex;align-items:center;padding:8px 16px;box-sizing:border-box;transition:width .2s ease,border-color .2s ease,box-shadow .2s ease}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__searchbar.expanded{padding:8px;border:2px solid var(--miam-ds-color-primary,#24748f)}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__searchbar.my-space{padding:8px;width:312px}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__searchbar.my-space input img{height:20px;width:20px}@media (max-width:1023px){.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__searchbar.my-space{width:100%;flex:1}}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__searchbar:not(.my-space).expanded{width:200px}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__searchbar input{border:transparent;background:transparent;width:100%;text-overflow:ellipsis}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__searchbar input::-moz-placeholder{color:var(--miam-ds-color-text-disabled,#b3bac3);opacity:1;font-weight:400}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__searchbar input::placeholder{color:var(--miam-ds-color-text-disabled,#b3bac3);opacity:1;font-weight:400}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__searchbar input:focus{outline:transparent}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__searchbar .miam-ds-button{padding:unset}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__searchbar .miam-ds-button:hover{border-color:transparent}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__searchbar .miam-ds-button img{height:24px;width:24px}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__searchbar .miam-catalog-toolbar__searchbar-clear{margin-left:8px}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__searchbar .miam-catalog-toolbar__searchbar-clear img{height:20px;width:20px}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__controls__favorites.hidden{display:none}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-catalog-toolbar__controls__favorites.history img{height:20px;width:20px}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-recipe-toolbar__return-button{width:24px;height:24px}.miam-catalog-toolbar .miam-catalog-toolbar__buttons-container .miam-recipe-toolbar__return-button img{cursor:pointer;min-width:15px;min-height:15px}.miam-catalog-toolbar .miam-catalog-toolbar__controls__discount,.miam-catalog-toolbar .miam-catalog-toolbar__controls__favorites,.miam-catalog-toolbar .miam-catalog-toolbar__controls__filter,.miam-catalog-toolbar .miam-catalog-toolbar__controls__preferences{position:relative}.miam-catalog-toolbar .miam-catalog-toolbar__controls__discount.miam-ds-button,.miam-catalog-toolbar .miam-catalog-toolbar__controls__favorites.miam-ds-button,.miam-catalog-toolbar .miam-catalog-toolbar__controls__filter.miam-ds-button,.miam-catalog-toolbar .miam-catalog-toolbar__controls__preferences.miam-ds-button{display:inline-flex;width:-moz-max-content;width:max-content;align-items:center;padding:8px 16px;gap:8px;color:var(--miam-ds-color-neutral-black,#0f191f);background-color:var(--miam-ds-color-background-primary,#fff);border:1px solid var(--miam-ds-color-border,#e0e0e0);border-radius:999px}.miam-catalog-toolbar .miam-catalog-toolbar__controls__discount.miam-ds-button img,.miam-catalog-toolbar .miam-catalog-toolbar__controls__favorites.miam-ds-button img,.miam-catalog-toolbar .miam-catalog-toolbar__controls__filter.miam-ds-button img,.miam-catalog-toolbar .miam-catalog-toolbar__controls__preferences.miam-ds-button img{height:24px;width:24px}.miam-catalog-toolbar .miam-catalog-toolbar__controls__filter .miam-catalog-toolbar__controls__count-badge,.miam-catalog-toolbar .miam-catalog-toolbar__controls__preferences .miam-catalog-toolbar__controls__count-badge{height:24px;width:24px;display:flex;justify-content:center;align-items:center;background-color:#e4edf1;color:var(--miam-ds-color-primary,#24748f);border-radius:var(--m-border-radius-circle,50%);font-size:12px;line-height:20px}.miam-catalog-toolbar .miam-catalog-toolbar__controls__filter.hidden{display:none}@media (max-width:1023px){.miam-catalog-toolbar .miam-catalog-toolbar__searchbar.my-space{width:100%;flex:1}}"], encapsulation: 2, changeDetection: 0 });
24728
24788
  (function () {
24729
24789
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CatalogToolbarComponent, [{
24730
24790
  type: i0.Component,
@@ -24735,16 +24795,16 @@
24735
24795
  encapsulation: i0.ViewEncapsulation.None,
24736
24796
  changeDetection: i0.ChangeDetectionStrategy.OnPush
24737
24797
  }]
24738
- }], function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: PreferencesService }, { type: ContextService }]; }, { home: [{
24798
+ }], function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: PreferencesService }, { type: ContextService }, { type: UserService }]; }, { favorites: [{
24739
24799
  type: i0.Input
24740
24800
  }], history: [{
24741
24801
  type: i0.Input
24802
+ }], home: [{
24803
+ type: i0.Input
24742
24804
  }], searchTerm: [{
24743
24805
  type: i0.Input
24744
24806
  }], additionalFiltersTitle: [{
24745
24807
  type: i0.Input
24746
- }], hideButtons: [{
24747
- type: i0.Input
24748
24808
  }], filterBadgeCount: [{
24749
24809
  type: i0.Input
24750
24810
  }], reduced: [{
@@ -24753,12 +24813,20 @@
24753
24813
  type: i0.Output
24754
24814
  }], favoritesButtonPressed: [{
24755
24815
  type: i0.Output
24816
+ }], discountButtonPressed: [{
24817
+ type: i0.Output
24756
24818
  }], preferencesButtonPressed: [{
24757
24819
  type: i0.Output
24758
24820
  }], searchStringChanged: [{
24759
24821
  type: i0.Output
24760
24822
  }], returnHomePressed: [{
24761
24823
  type: i0.Output
24824
+ }], searchInputRef: [{
24825
+ type: i0.ViewChild,
24826
+ args: ['searchInput']
24827
+ }], onWindowScroll: [{
24828
+ type: i0.HostListener,
24829
+ args: ['window:scroll']
24762
24830
  }] });
24763
24831
  })();
24764
24832
  var templateObject_1$g, templateObject_2$c, templateObject_3$9, templateObject_4$8, templateObject_5$5;
@@ -25442,92 +25510,82 @@
25442
25510
  var _c1$1 = ["returnHomeButton"];
25443
25511
  function RecipeCatalogComponent_ng_container_4_div_1_Template(rf, ctx) {
25444
25512
  if (rf & 1) {
25445
- i0__namespace.ɵɵelement(0, "div", 15);
25513
+ i0__namespace.ɵɵelement(0, "div", 14);
25446
25514
  }
25447
25515
  if (rf & 2) {
25448
- var ctx_r9 = i0__namespace.ɵɵnextContext(2);
25449
- i0__namespace.ɵɵproperty("innerHTML", ctx_r9.catalogHeaderHTML, i0__namespace.ɵɵsanitizeHtml);
25516
+ var ctx_r8 = i0__namespace.ɵɵnextContext(2);
25517
+ i0__namespace.ɵɵproperty("innerHTML", ctx_r8.catalogHeaderHTML, i0__namespace.ɵɵsanitizeHtml);
25450
25518
  }
25451
25519
  }
25452
25520
  function RecipeCatalogComponent_ng_container_4_ng_template_2_Template(rf, ctx) {
25453
25521
  if (rf & 1) {
25454
- i0__namespace.ɵɵelement(0, "div", 16);
25522
+ i0__namespace.ɵɵelement(0, "div", 15);
25455
25523
  }
25456
25524
  }
25457
25525
  function RecipeCatalogComponent_ng_container_4_Template(rf, ctx) {
25458
25526
  if (rf & 1) {
25459
25527
  i0__namespace.ɵɵelementContainerStart(0);
25460
- i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_ng_container_4_div_1_Template, 1, 1, "div", 13);
25461
- i0__namespace.ɵɵtemplate(2, RecipeCatalogComponent_ng_container_4_ng_template_2_Template, 1, 0, "ng-template", null, 14, i0__namespace.ɵɵtemplateRefExtractor);
25528
+ i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_ng_container_4_div_1_Template, 1, 1, "div", 12);
25529
+ i0__namespace.ɵɵtemplate(2, RecipeCatalogComponent_ng_container_4_ng_template_2_Template, 1, 0, "ng-template", null, 13, i0__namespace.ɵɵtemplateRefExtractor);
25462
25530
  i0__namespace.ɵɵelementContainerEnd();
25463
25531
  }
25464
25532
  if (rf & 2) {
25465
- var _r10 = i0__namespace.ɵɵreference(3);
25533
+ var _r9 = i0__namespace.ɵɵreference(3);
25466
25534
  var ctx_r1 = i0__namespace.ɵɵnextContext();
25467
25535
  i0__namespace.ɵɵadvance(1);
25468
- i0__namespace.ɵɵproperty("ngIf", ctx_r1.catalogHeaderHasLoaded)("ngIfElse", _r10);
25536
+ i0__namespace.ɵɵproperty("ngIf", ctx_r1.catalogHeaderHasLoaded)("ngIfElse", _r9);
25469
25537
  }
25470
25538
  }
25471
25539
  function RecipeCatalogComponent_div_5_Template(rf, ctx) {
25472
25540
  if (rf & 1) {
25473
- i0__namespace.ɵɵelement(0, "div", 17);
25541
+ i0__namespace.ɵɵelement(0, "div", 16);
25474
25542
  }
25475
25543
  }
25476
25544
  function RecipeCatalogComponent_div_6_Template(rf, ctx) {
25477
25545
  if (rf & 1) {
25478
- var _r14_1 = i0__namespace.ɵɵgetCurrentView();
25479
- i0__namespace.ɵɵelementStart(0, "div", 18, 19);
25480
- i0__namespace.ɵɵelementStart(2, "ng-miam-catalog-toolbar", 20);
25481
- i0__namespace.ɵɵlistener("filterButtonPressed", function RecipeCatalogComponent_div_6_Template_ng_miam_catalog_toolbar_filterButtonPressed_2_listener() { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r13 = i0__namespace.ɵɵnextContext(); return ctx_r13.onFilterCollapsed(); })("preferencesButtonPressed", function RecipeCatalogComponent_div_6_Template_ng_miam_catalog_toolbar_preferencesButtonPressed_2_listener() { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r15 = i0__namespace.ɵɵnextContext(); return ctx_r15.isPreferenceModalOpen = !ctx_r15.isPreferenceModalOpen; })("searchStringChanged", function RecipeCatalogComponent_div_6_Template_ng_miam_catalog_toolbar_searchStringChanged_2_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r16 = i0__namespace.ɵɵnextContext(); return ctx_r16.updateSearch($event); })("favoritesButtonPressed", function RecipeCatalogComponent_div_6_Template_ng_miam_catalog_toolbar_favoritesButtonPressed_2_listener() { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r17 = i0__namespace.ɵɵnextContext(); return ctx_r17.checkAndSetFavoritesFilter(); })("returnHomePressed", function RecipeCatalogComponent_div_6_Template_ng_miam_catalog_toolbar_returnHomePressed_2_listener() { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r18 = i0__namespace.ɵɵnextContext(); return ctx_r18.returnToHomePage(); });
25546
+ var _r13_1 = i0__namespace.ɵɵgetCurrentView();
25547
+ i0__namespace.ɵɵelementStart(0, "div", 17, 18);
25548
+ i0__namespace.ɵɵelementStart(2, "ng-miam-catalog-toolbar", 19);
25549
+ i0__namespace.ɵɵlistener("filterButtonPressed", function RecipeCatalogComponent_div_6_Template_ng_miam_catalog_toolbar_filterButtonPressed_2_listener() { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r12 = i0__namespace.ɵɵnextContext(); return ctx_r12.onFilterCollapsed(); })("preferencesButtonPressed", function RecipeCatalogComponent_div_6_Template_ng_miam_catalog_toolbar_preferencesButtonPressed_2_listener() { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r14 = i0__namespace.ɵɵnextContext(); return ctx_r14.isPreferenceModalOpen = !ctx_r14.isPreferenceModalOpen; })("searchStringChanged", function RecipeCatalogComponent_div_6_Template_ng_miam_catalog_toolbar_searchStringChanged_2_listener($event) { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r15 = i0__namespace.ɵɵnextContext(); return ctx_r15.updateSearch($event); })("favoritesButtonPressed", function RecipeCatalogComponent_div_6_Template_ng_miam_catalog_toolbar_favoritesButtonPressed_2_listener() { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r16 = i0__namespace.ɵɵnextContext(); return ctx_r16.checkAndSetFavoritesFilter(); })("discountButtonPressed", function RecipeCatalogComponent_div_6_Template_ng_miam_catalog_toolbar_discountButtonPressed_2_listener() { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r17 = i0__namespace.ɵɵnextContext(); return ctx_r17.goToPromotions(); })("returnHomePressed", function RecipeCatalogComponent_div_6_Template_ng_miam_catalog_toolbar_returnHomePressed_2_listener() { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r18 = i0__namespace.ɵɵnextContext(); return ctx_r18.returnToHomePage(); });
25482
25550
  i0__namespace.ɵɵelementEnd();
25483
25551
  i0__namespace.ɵɵelementEnd();
25484
25552
  }
25485
25553
  if (rf & 2) {
25486
- var _r12 = i0__namespace.ɵɵreference(1);
25554
+ var _r11 = i0__namespace.ɵɵreference(1);
25487
25555
  var ctx_r3 = i0__namespace.ɵɵnextContext();
25488
25556
  i0__namespace.ɵɵadvance(2);
25489
- i0__namespace.ɵɵproperty("home", ctx_r3.displayHomePage())("history", ctx_r3.historyDisplayed)("searchTerm", ctx_r3.filters == null ? null : ctx_r3.filters.search)("additionalFiltersTitle", ctx_r3.filters == null ? null : ctx_r3.filters.additionalFilters == null ? null : ctx_r3.filters.additionalFilters.title)("hideButtons", ctx_r3.isFavoritesPage())("filterBadgeCount", ctx_r3.filters.selectableFiltersCount())("reduced", _r12.classList.contains("sticking"));
25557
+ i0__namespace.ɵɵproperty("favorites", ctx_r3.isFavoritesPage())("history", ctx_r3.historyDisplayed)("home", ctx_r3.displayHomePage())("searchTerm", ctx_r3.filters == null ? null : ctx_r3.filters.search)("additionalFiltersTitle", ctx_r3.filters == null ? null : ctx_r3.filters.additionalFilters == null ? null : ctx_r3.filters.additionalFilters.title)("filterBadgeCount", ctx_r3.filters.selectableFiltersCount())("reduced", _r11.classList.contains("sticking"));
25490
25558
  }
25491
25559
  }
25492
- function RecipeCatalogComponent_div_7_Template(rf, ctx) {
25560
+ function RecipeCatalogComponent_button_7_Template(rf, ctx) {
25493
25561
  if (rf & 1) {
25494
25562
  var _r20_1 = i0__namespace.ɵɵgetCurrentView();
25495
- i0__namespace.ɵɵelementStart(0, "div", 21);
25496
- i0__namespace.ɵɵelementStart(1, "ng-miam-promotions-banner", 22);
25497
- i0__namespace.ɵɵlistener("clicked", function RecipeCatalogComponent_div_7_Template_ng_miam_promotions_banner_clicked_1_listener() { i0__namespace.ɵɵrestoreView(_r20_1); var ctx_r19 = i0__namespace.ɵɵnextContext(); return ctx_r19.goToPromotions(); });
25498
- i0__namespace.ɵɵelementEnd();
25499
- i0__namespace.ɵɵelementEnd();
25500
- }
25501
- }
25502
- function RecipeCatalogComponent_button_8_Template(rf, ctx) {
25503
- if (rf & 1) {
25504
- var _r22_1 = i0__namespace.ɵɵgetCurrentView();
25505
- i0__namespace.ɵɵelementStart(0, "button", 23);
25506
- i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_button_8_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r22_1); var ctx_r21 = i0__namespace.ɵɵnextContext(); return ctx_r21.toggleMyMealDrawer(); });
25507
- i0__namespace.ɵɵelement(1, "img", 24);
25508
- i0__namespace.ɵɵelementStart(2, "span", 25);
25563
+ i0__namespace.ɵɵelementStart(0, "button", 20);
25564
+ i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_button_7_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r20_1); var ctx_r19 = i0__namespace.ɵɵnextContext(); return ctx_r19.toggleMyMealDrawer(); });
25565
+ i0__namespace.ɵɵelement(1, "img", 21);
25566
+ i0__namespace.ɵɵelementStart(2, "span", 22);
25509
25567
  i0__namespace.ɵɵelementStart(3, "span");
25510
25568
  i0__namespace.ɵɵtext(4);
25511
25569
  i0__namespace.ɵɵelementEnd();
25512
25570
  i0__namespace.ɵɵelementStart(5, "span");
25513
- i0__namespace.ɵɵi18n(6, 26);
25571
+ i0__namespace.ɵɵi18n(6, 23);
25514
25572
  i0__namespace.ɵɵelementEnd();
25515
25573
  i0__namespace.ɵɵelementEnd();
25516
- i0__namespace.ɵɵelement(7, "img", 27);
25574
+ i0__namespace.ɵɵelement(7, "img", 24);
25517
25575
  i0__namespace.ɵɵelementEnd();
25518
25576
  }
25519
25577
  if (rf & 2) {
25520
- var ctx_r5 = i0__namespace.ɵɵnextContext();
25521
- i0__namespace.ɵɵattribute("aria-label", "Voir votre panier avec " + ctx_r5.recipeCount + " repas");
25578
+ var ctx_r4 = i0__namespace.ɵɵnextContext();
25579
+ i0__namespace.ɵɵattribute("aria-label", "Voir votre panier avec " + ctx_r4.recipeCount + " repas");
25522
25580
  i0__namespace.ɵɵadvance(4);
25523
- i0__namespace.ɵɵtextInterpolate(ctx_r5.recipeCount);
25581
+ i0__namespace.ɵɵtextInterpolate(ctx_r4.recipeCount);
25524
25582
  }
25525
25583
  }
25526
- function RecipeCatalogComponent_div_9_div_4_Template(rf, ctx) {
25584
+ function RecipeCatalogComponent_div_8_div_4_Template(rf, ctx) {
25527
25585
  if (rf & 1) {
25528
- i0__namespace.ɵɵelementStart(0, "div", 42);
25586
+ i0__namespace.ɵɵelementStart(0, "div", 40);
25529
25587
  i0__namespace.ɵɵelementStart(1, "span");
25530
- i0__namespace.ɵɵi18n(2, 43);
25588
+ i0__namespace.ɵɵi18n(2, 41);
25531
25589
  i0__namespace.ɵɵelementEnd();
25532
25590
  i0__namespace.ɵɵelementStart(3, "span");
25533
25591
  i0__namespace.ɵɵtext(4);
@@ -25535,311 +25593,311 @@
25535
25593
  i0__namespace.ɵɵelementEnd();
25536
25594
  }
25537
25595
  if (rf & 2) {
25538
- var ctx_r23 = i0__namespace.ɵɵnextContext(2);
25596
+ var ctx_r21 = i0__namespace.ɵɵnextContext(2);
25539
25597
  i0__namespace.ɵɵadvance(4);
25540
- i0__namespace.ɵɵtextInterpolate(ctx_r23.filters.search);
25598
+ i0__namespace.ɵɵtextInterpolate(ctx_r21.filters.search);
25541
25599
  }
25542
25600
  }
25543
- function RecipeCatalogComponent_div_9_div_5_span_1_Template(rf, ctx) {
25601
+ function RecipeCatalogComponent_div_8_div_5_span_1_Template(rf, ctx) {
25544
25602
  if (rf & 1) {
25545
25603
  i0__namespace.ɵɵelementStart(0, "span");
25546
- i0__namespace.ɵɵi18n(1, 45);
25604
+ i0__namespace.ɵɵi18n(1, 43);
25547
25605
  i0__namespace.ɵɵelementEnd();
25548
25606
  }
25549
25607
  }
25550
- function RecipeCatalogComponent_div_9_div_5_span_2_Template(rf, ctx) {
25608
+ function RecipeCatalogComponent_div_8_div_5_span_2_Template(rf, ctx) {
25551
25609
  if (rf & 1) {
25552
25610
  i0__namespace.ɵɵelementStart(0, "span");
25553
- i0__namespace.ɵɵi18n(1, 46);
25611
+ i0__namespace.ɵɵi18n(1, 44);
25554
25612
  i0__namespace.ɵɵelementEnd();
25555
25613
  }
25556
25614
  }
25557
- function RecipeCatalogComponent_div_9_div_5_Template(rf, ctx) {
25615
+ function RecipeCatalogComponent_div_8_div_5_Template(rf, ctx) {
25558
25616
  if (rf & 1) {
25559
- i0__namespace.ɵɵelementStart(0, "div", 44);
25560
- i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_9_div_5_span_1_Template, 2, 0, "span", 4);
25561
- i0__namespace.ɵɵtemplate(2, RecipeCatalogComponent_div_9_div_5_span_2_Template, 2, 0, "span", 4);
25617
+ i0__namespace.ɵɵelementStart(0, "div", 42);
25618
+ i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_8_div_5_span_1_Template, 2, 0, "span", 4);
25619
+ i0__namespace.ɵɵtemplate(2, RecipeCatalogComponent_div_8_div_5_span_2_Template, 2, 0, "span", 4);
25562
25620
  i0__namespace.ɵɵelementEnd();
25563
25621
  }
25564
25622
  if (rf & 2) {
25565
- var ctx_r24 = i0__namespace.ɵɵnextContext(2);
25623
+ var ctx_r22 = i0__namespace.ɵɵnextContext(2);
25566
25624
  i0__namespace.ɵɵadvance(1);
25567
- i0__namespace.ɵɵproperty("ngIf", ctx_r24.contextService.orderHistoryEnabled$.value);
25625
+ i0__namespace.ɵɵproperty("ngIf", ctx_r22.contextService.orderHistoryEnabled$.value);
25568
25626
  i0__namespace.ɵɵadvance(1);
25569
- i0__namespace.ɵɵproperty("ngIf", !ctx_r24.contextService.orderHistoryEnabled$.value);
25627
+ i0__namespace.ɵɵproperty("ngIf", !ctx_r22.contextService.orderHistoryEnabled$.value);
25570
25628
  }
25571
25629
  }
25572
- function RecipeCatalogComponent_div_9_span_6_Template(rf, ctx) {
25630
+ function RecipeCatalogComponent_div_8_span_6_Template(rf, ctx) {
25573
25631
  if (rf & 1) {
25574
- i0__namespace.ɵɵelementStart(0, "span", 47);
25575
- i0__namespace.ɵɵi18n(1, 48);
25632
+ i0__namespace.ɵɵelementStart(0, "span", 45);
25633
+ i0__namespace.ɵɵi18n(1, 46);
25576
25634
  i0__namespace.ɵɵelementEnd();
25577
25635
  }
25578
25636
  }
25579
- function RecipeCatalogComponent_div_9_span_7_Template(rf, ctx) {
25637
+ function RecipeCatalogComponent_div_8_span_7_Template(rf, ctx) {
25580
25638
  if (rf & 1) {
25581
- i0__namespace.ɵɵelementStart(0, "span", 49);
25582
- i0__namespace.ɵɵi18n(1, 50);
25639
+ i0__namespace.ɵɵelementStart(0, "span", 47);
25640
+ i0__namespace.ɵɵi18n(1, 48);
25583
25641
  i0__namespace.ɵɵelementEnd();
25584
25642
  }
25585
25643
  }
25586
- function RecipeCatalogComponent_div_9_div_8_span_3_Template(rf, ctx) {
25644
+ function RecipeCatalogComponent_div_8_div_8_span_3_Template(rf, ctx) {
25587
25645
  if (rf & 1) {
25588
- i0__namespace.ɵɵelementStart(0, "span", 54);
25646
+ i0__namespace.ɵɵelementStart(0, "span", 52);
25589
25647
  i0__namespace.ɵɵtext(1);
25590
25648
  i0__namespace.ɵɵelementEnd();
25591
25649
  }
25592
25650
  if (rf & 2) {
25593
- var ctx_r35 = i0__namespace.ɵɵnextContext(3);
25651
+ var ctx_r33 = i0__namespace.ɵɵnextContext(3);
25594
25652
  i0__namespace.ɵɵadvance(1);
25595
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r35.filters.additionalFilters.subtitle, " ");
25653
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx_r33.filters.additionalFilters.subtitle, " ");
25596
25654
  }
25597
25655
  }
25598
- function RecipeCatalogComponent_div_9_div_8_Template(rf, ctx) {
25656
+ function RecipeCatalogComponent_div_8_div_8_Template(rf, ctx) {
25599
25657
  if (rf & 1) {
25600
- i0__namespace.ɵɵelementStart(0, "div", 51);
25601
- i0__namespace.ɵɵelementStart(1, "span", 52);
25658
+ i0__namespace.ɵɵelementStart(0, "div", 49);
25659
+ i0__namespace.ɵɵelementStart(1, "span", 50);
25602
25660
  i0__namespace.ɵɵtext(2);
25603
25661
  i0__namespace.ɵɵelementEnd();
25604
- i0__namespace.ɵɵtemplate(3, RecipeCatalogComponent_div_9_div_8_span_3_Template, 2, 1, "span", 53);
25662
+ i0__namespace.ɵɵtemplate(3, RecipeCatalogComponent_div_8_div_8_span_3_Template, 2, 1, "span", 51);
25605
25663
  i0__namespace.ɵɵelementEnd();
25606
25664
  }
25607
25665
  if (rf & 2) {
25608
- var ctx_r27 = i0__namespace.ɵɵnextContext(2);
25666
+ var ctx_r25 = i0__namespace.ɵɵnextContext(2);
25609
25667
  i0__namespace.ɵɵadvance(2);
25610
- i0__namespace.ɵɵtextInterpolate(ctx_r27.filters.additionalFilters.title);
25668
+ i0__namespace.ɵɵtextInterpolate(ctx_r25.filters.additionalFilters.title);
25611
25669
  i0__namespace.ɵɵadvance(1);
25612
- i0__namespace.ɵɵproperty("ngIf", (ctx_r27.filters.additionalFilters.subtitle == null ? null : ctx_r27.filters.additionalFilters.subtitle.length) > 0);
25670
+ i0__namespace.ɵɵproperty("ngIf", (ctx_r25.filters.additionalFilters.subtitle == null ? null : ctx_r25.filters.additionalFilters.subtitle.length) > 0);
25613
25671
  }
25614
25672
  }
25615
- function RecipeCatalogComponent_div_9_span_9_Template(rf, ctx) {
25673
+ function RecipeCatalogComponent_div_8_span_9_Template(rf, ctx) {
25616
25674
  if (rf & 1) {
25617
- i0__namespace.ɵɵelementStart(0, "span", 55);
25618
- i0__namespace.ɵɵi18n(1, 56);
25675
+ i0__namespace.ɵɵelementStart(0, "span", 53);
25676
+ i0__namespace.ɵɵi18n(1, 54);
25619
25677
  i0__namespace.ɵɵelementEnd();
25620
25678
  }
25621
25679
  }
25622
- function RecipeCatalogComponent_div_9_div_11_Template(rf, ctx) {
25680
+ function RecipeCatalogComponent_div_8_div_11_Template(rf, ctx) {
25623
25681
  if (rf & 1) {
25624
- var _r37_1 = i0__namespace.ɵɵgetCurrentView();
25625
- i0__namespace.ɵɵelementStart(0, "div", 57);
25626
- i0__namespace.ɵɵelementStart(1, "button", 58);
25627
- i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_9_div_11_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r37_1); var ctx_r36 = i0__namespace.ɵɵnextContext(2); return ctx_r36.toggleHistory(false); });
25628
- i0__namespace.ɵɵelement(2, "img", 59);
25682
+ var _r35_1 = i0__namespace.ɵɵgetCurrentView();
25683
+ i0__namespace.ɵɵelementStart(0, "div", 55);
25684
+ i0__namespace.ɵɵelementStart(1, "button", 56);
25685
+ i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_8_div_11_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r35_1); var ctx_r34 = i0__namespace.ɵɵnextContext(2); return ctx_r34.toggleHistory(false); });
25686
+ i0__namespace.ɵɵelement(2, "img", 57);
25629
25687
  i0__namespace.ɵɵelementStart(3, "span");
25630
- i0__namespace.ɵɵi18n(4, 60);
25688
+ i0__namespace.ɵɵi18n(4, 58);
25631
25689
  i0__namespace.ɵɵelementEnd();
25632
25690
  i0__namespace.ɵɵelementEnd();
25633
- i0__namespace.ɵɵelementStart(5, "button", 61);
25634
- i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_9_div_11_Template_button_click_5_listener() { i0__namespace.ɵɵrestoreView(_r37_1); var ctx_r38 = i0__namespace.ɵɵnextContext(2); return ctx_r38.toggleHistory(true); });
25635
- i0__namespace.ɵɵelement(6, "img", 59);
25691
+ i0__namespace.ɵɵelementStart(5, "button", 59);
25692
+ i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_8_div_11_Template_button_click_5_listener() { i0__namespace.ɵɵrestoreView(_r35_1); var ctx_r36 = i0__namespace.ɵɵnextContext(2); return ctx_r36.toggleHistory(true); });
25693
+ i0__namespace.ɵɵelement(6, "img", 57);
25636
25694
  i0__namespace.ɵɵelementStart(7, "span");
25637
- i0__namespace.ɵɵi18n(8, 62);
25695
+ i0__namespace.ɵɵi18n(8, 60);
25638
25696
  i0__namespace.ɵɵelementEnd();
25639
25697
  i0__namespace.ɵɵelementEnd();
25640
25698
  i0__namespace.ɵɵelementEnd();
25641
25699
  }
25642
25700
  if (rf & 2) {
25643
- var ctx_r29 = i0__namespace.ɵɵnextContext(2);
25701
+ var ctx_r27 = i0__namespace.ɵɵnextContext(2);
25644
25702
  i0__namespace.ɵɵadvance(1);
25645
- i0__namespace.ɵɵclassProp("active", !ctx_r29.historyDisplayed)("inactive", ctx_r29.historyDisplayed);
25646
- i0__namespace.ɵɵattribute("aria-selected", !ctx_r29.historyDisplayed);
25703
+ i0__namespace.ɵɵclassProp("active", !ctx_r27.historyDisplayed)("inactive", ctx_r27.historyDisplayed);
25704
+ i0__namespace.ɵɵattribute("aria-selected", !ctx_r27.historyDisplayed);
25647
25705
  i0__namespace.ɵɵadvance(1);
25648
- i0__namespace.ɵɵproperty("src", !ctx_r29.historyDisplayed ? "https://storage.googleapis.com/assets.miam.tech/generic/icons/Heart.svg" : "https://storage.googleapis.com/assets.miam.tech/generic/icons/Heart_Grey.svg", i0__namespace.ɵɵsanitizeUrl);
25706
+ i0__namespace.ɵɵproperty("src", !ctx_r27.historyDisplayed ? "https://storage.googleapis.com/assets.miam.tech/generic/icons/Heart.svg" : "https://storage.googleapis.com/assets.miam.tech/generic/icons/Heart_Grey.svg", i0__namespace.ɵɵsanitizeUrl);
25649
25707
  i0__namespace.ɵɵadvance(3);
25650
- i0__namespace.ɵɵclassProp("active", ctx_r29.historyDisplayed)("inactive", !ctx_r29.historyDisplayed);
25651
- i0__namespace.ɵɵattribute("aria-selected", ctx_r29.historyDisplayed);
25708
+ i0__namespace.ɵɵclassProp("active", ctx_r27.historyDisplayed)("inactive", !ctx_r27.historyDisplayed);
25709
+ i0__namespace.ɵɵattribute("aria-selected", ctx_r27.historyDisplayed);
25652
25710
  i0__namespace.ɵɵadvance(1);
25653
- i0__namespace.ɵɵproperty("src", ctx_r29.historyDisplayed ? "https://storage.googleapis.com/assets.miam.tech/generic/icons/History.svg" : "https://storage.googleapis.com/assets.miam.tech/generic/icons/History_Grey.svg", i0__namespace.ɵɵsanitizeUrl);
25711
+ i0__namespace.ɵɵproperty("src", ctx_r27.historyDisplayed ? "https://storage.googleapis.com/assets.miam.tech/generic/icons/History.svg" : "https://storage.googleapis.com/assets.miam.tech/generic/icons/History_Grey.svg", i0__namespace.ɵɵsanitizeUrl);
25654
25712
  }
25655
25713
  }
25656
25714
  var _c20 = function (a0, a1, a2, a3, a4) { return { "miam-recipe-catalog__favorites-list": a0, "miam-recipe-catalog__search-list": a1, "miam-recipe-catalog__all-recipes-list": a2, "miam-recipe-catalog__category-list": a3, "miam-recipe-catalog__default-list": a4 }; };
25657
- function RecipeCatalogComponent_div_9_ng_miam_catalog_list_15_Template(rf, ctx) {
25715
+ function RecipeCatalogComponent_div_8_ng_miam_catalog_list_15_Template(rf, ctx) {
25658
25716
  if (rf & 1) {
25659
- var _r40_1 = i0__namespace.ɵɵgetCurrentView();
25660
- i0__namespace.ɵɵelementStart(0, "ng-miam-catalog-list", 63);
25661
- i0__namespace.ɵɵlistener("filterRemoved", function RecipeCatalogComponent_div_9_ng_miam_catalog_list_15_Template_ng_miam_catalog_list_filterRemoved_0_listener($event) { i0__namespace.ɵɵrestoreView(_r40_1); var ctx_r39 = i0__namespace.ɵɵnextContext(2); return ctx_r39.removeFilter($event); });
25717
+ var _r38_1 = i0__namespace.ɵɵgetCurrentView();
25718
+ i0__namespace.ɵɵelementStart(0, "ng-miam-catalog-list", 61);
25719
+ i0__namespace.ɵɵlistener("filterRemoved", function RecipeCatalogComponent_div_8_ng_miam_catalog_list_15_Template_ng_miam_catalog_list_filterRemoved_0_listener($event) { i0__namespace.ɵɵrestoreView(_r38_1); var ctx_r37 = i0__namespace.ɵɵnextContext(2); return ctx_r37.removeFilter($event); });
25662
25720
  i0__namespace.ɵɵelementEnd();
25663
25721
  }
25664
25722
  if (rf & 2) {
25665
- var ctx_r31 = i0__namespace.ɵɵnextContext(2);
25666
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction5(8, _c20, ctx_r31.isFavoritesPage(), ctx_r31.isSearchPage(), ctx_r31.isAllRecipesPage(), ctx_r31.isCategoryPage(), ctx_r31.isDefaultPage()))("filters", ctx_r31.filters)("originTrace", ctx_r31.eventTrace)("displayPricing", ctx_r31.displayPricing)("displayInfos", ctx_r31.displayInfos)("modifiedGuests", ctx_r31.guests)("displayRecipeVariant", ctx_r31.displayRecipeVariant);
25667
- i0__namespace.ɵɵattribute("aria-labelledby", ctx_r31.isFavoritesPage() && ctx_r31.contextService.orderHistoryEnabled$.value ? "favorites-tab" : null);
25723
+ var ctx_r29 = i0__namespace.ɵɵnextContext(2);
25724
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction5(8, _c20, ctx_r29.isFavoritesPage(), ctx_r29.isSearchPage(), ctx_r29.isAllRecipesPage(), ctx_r29.isCategoryPage(), ctx_r29.isDefaultPage()))("filters", ctx_r29.filters)("originTrace", ctx_r29.eventTrace)("displayPricing", ctx_r29.displayPricing)("displayInfos", ctx_r29.displayInfos)("modifiedGuests", ctx_r29.guests)("displayRecipeVariant", ctx_r29.displayRecipeVariant);
25725
+ i0__namespace.ɵɵattribute("aria-labelledby", ctx_r29.isFavoritesPage() && ctx_r29.contextService.orderHistoryEnabled$.value ? "favorites-tab" : null);
25668
25726
  }
25669
25727
  }
25670
- function RecipeCatalogComponent_div_9_div_16_div_1_Template(rf, ctx) {
25728
+ function RecipeCatalogComponent_div_8_div_16_div_1_Template(rf, ctx) {
25671
25729
  if (rf & 1) {
25672
- i0__namespace.ɵɵelementStart(0, "div", 67);
25730
+ i0__namespace.ɵɵelementStart(0, "div", 65);
25673
25731
  i0__namespace.ɵɵelement(1, "ng-miam-loader");
25674
25732
  i0__namespace.ɵɵelementStart(2, "span");
25675
- i0__namespace.ɵɵi18n(3, 68);
25733
+ i0__namespace.ɵɵi18n(3, 66);
25676
25734
  i0__namespace.ɵɵelementEnd();
25677
25735
  i0__namespace.ɵɵelementEnd();
25678
25736
  }
25679
25737
  }
25680
- function RecipeCatalogComponent_div_9_div_16_Template(rf, ctx) {
25738
+ function RecipeCatalogComponent_div_8_div_16_Template(rf, ctx) {
25681
25739
  if (rf & 1) {
25682
- i0__namespace.ɵɵelementStart(0, "div", 64);
25683
- i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_9_div_16_div_1_Template, 4, 0, "div", 65);
25684
- i0__namespace.ɵɵelement(2, "div", 66);
25740
+ i0__namespace.ɵɵelementStart(0, "div", 62);
25741
+ i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_8_div_16_div_1_Template, 4, 0, "div", 63);
25742
+ i0__namespace.ɵɵelement(2, "div", 64);
25685
25743
  i0__namespace.ɵɵelementEnd();
25686
25744
  }
25687
25745
  if (rf & 2) {
25688
- var ctx_r32 = i0__namespace.ɵɵnextContext(2);
25746
+ var ctx_r30 = i0__namespace.ɵɵnextContext(2);
25689
25747
  i0__namespace.ɵɵattribute("aria-labelledby", "history-tab");
25690
25748
  i0__namespace.ɵɵadvance(1);
25691
- i0__namespace.ɵɵproperty("ngIf", ctx_r32.historyService.fetchingHTMLLoader$.value);
25749
+ i0__namespace.ɵɵproperty("ngIf", ctx_r30.historyService.fetchingHTMLLoader$.value);
25692
25750
  i0__namespace.ɵɵadvance(1);
25693
- i0__namespace.ɵɵproperty("innerHTML", ctx_r32.historyHTML, i0__namespace.ɵɵsanitizeHtml);
25751
+ i0__namespace.ɵɵproperty("innerHTML", ctx_r30.historyHTML, i0__namespace.ɵɵsanitizeHtml);
25694
25752
  }
25695
25753
  }
25696
- function RecipeCatalogComponent_div_9_Template(rf, ctx) {
25754
+ function RecipeCatalogComponent_div_8_Template(rf, ctx) {
25697
25755
  if (rf & 1) {
25698
- var _r43_1 = i0__namespace.ɵɵgetCurrentView();
25699
- i0__namespace.ɵɵelementStart(0, "div", 28);
25700
- i0__namespace.ɵɵelementStart(1, "div", 29);
25701
- i0__namespace.ɵɵelementStart(2, "button", 30);
25702
- i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_9_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(_r43_1); var ctx_r42 = i0__namespace.ɵɵnextContext(); return ctx_r42.returnToHomePage(); });
25703
- i0__namespace.ɵɵelement(3, "img", 31);
25756
+ var _r41_1 = i0__namespace.ɵɵgetCurrentView();
25757
+ i0__namespace.ɵɵelementStart(0, "div", 25);
25758
+ i0__namespace.ɵɵelementStart(1, "div", 26);
25759
+ i0__namespace.ɵɵelementStart(2, "button", 27);
25760
+ i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_8_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(_r41_1); var ctx_r40 = i0__namespace.ɵɵnextContext(); return ctx_r40.returnToHomePage(); });
25761
+ i0__namespace.ɵɵelement(3, "img", 28);
25704
25762
  i0__namespace.ɵɵelementEnd();
25705
- i0__namespace.ɵɵtemplate(4, RecipeCatalogComponent_div_9_div_4_Template, 5, 1, "div", 32);
25706
- i0__namespace.ɵɵtemplate(5, RecipeCatalogComponent_div_9_div_5_Template, 3, 2, "div", 33);
25707
- i0__namespace.ɵɵtemplate(6, RecipeCatalogComponent_div_9_span_6_Template, 2, 0, "span", 34);
25708
- i0__namespace.ɵɵtemplate(7, RecipeCatalogComponent_div_9_span_7_Template, 2, 0, "span", 35);
25709
- i0__namespace.ɵɵtemplate(8, RecipeCatalogComponent_div_9_div_8_Template, 4, 2, "div", 36);
25710
- i0__namespace.ɵɵtemplate(9, RecipeCatalogComponent_div_9_span_9_Template, 2, 0, "span", 37);
25763
+ i0__namespace.ɵɵtemplate(4, RecipeCatalogComponent_div_8_div_4_Template, 5, 1, "div", 29);
25764
+ i0__namespace.ɵɵtemplate(5, RecipeCatalogComponent_div_8_div_5_Template, 3, 2, "div", 30);
25765
+ i0__namespace.ɵɵtemplate(6, RecipeCatalogComponent_div_8_span_6_Template, 2, 0, "span", 31);
25766
+ i0__namespace.ɵɵtemplate(7, RecipeCatalogComponent_div_8_span_7_Template, 2, 0, "span", 32);
25767
+ i0__namespace.ɵɵtemplate(8, RecipeCatalogComponent_div_8_div_8_Template, 4, 2, "div", 33);
25768
+ i0__namespace.ɵɵtemplate(9, RecipeCatalogComponent_div_8_span_9_Template, 2, 0, "span", 34);
25711
25769
  i0__namespace.ɵɵelementEnd();
25712
- i0__namespace.ɵɵelement(10, "div", 17);
25713
- i0__namespace.ɵɵtemplate(11, RecipeCatalogComponent_div_9_div_11_Template, 9, 12, "div", 38);
25714
- i0__namespace.ɵɵelementStart(12, "div", 18, 39);
25715
- i0__namespace.ɵɵelementStart(14, "ng-miam-catalog-toolbar", 20);
25716
- i0__namespace.ɵɵlistener("filterButtonPressed", function RecipeCatalogComponent_div_9_Template_ng_miam_catalog_toolbar_filterButtonPressed_14_listener() { i0__namespace.ɵɵrestoreView(_r43_1); var ctx_r44 = i0__namespace.ɵɵnextContext(); return ctx_r44.onFilterCollapsed(); })("preferencesButtonPressed", function RecipeCatalogComponent_div_9_Template_ng_miam_catalog_toolbar_preferencesButtonPressed_14_listener() { i0__namespace.ɵɵrestoreView(_r43_1); var ctx_r45 = i0__namespace.ɵɵnextContext(); return ctx_r45.isPreferenceModalOpen = !ctx_r45.isPreferenceModalOpen; })("searchStringChanged", function RecipeCatalogComponent_div_9_Template_ng_miam_catalog_toolbar_searchStringChanged_14_listener($event) { i0__namespace.ɵɵrestoreView(_r43_1); var ctx_r46 = i0__namespace.ɵɵnextContext(); return ctx_r46.updateSearch($event); })("favoritesButtonPressed", function RecipeCatalogComponent_div_9_Template_ng_miam_catalog_toolbar_favoritesButtonPressed_14_listener() { i0__namespace.ɵɵrestoreView(_r43_1); var ctx_r47 = i0__namespace.ɵɵnextContext(); return ctx_r47.checkAndSetFavoritesFilter(); })("returnHomePressed", function RecipeCatalogComponent_div_9_Template_ng_miam_catalog_toolbar_returnHomePressed_14_listener() { i0__namespace.ɵɵrestoreView(_r43_1); var ctx_r48 = i0__namespace.ɵɵnextContext(); return ctx_r48.returnToHomePage(); });
25770
+ i0__namespace.ɵɵelement(10, "div", 16);
25771
+ i0__namespace.ɵɵtemplate(11, RecipeCatalogComponent_div_8_div_11_Template, 9, 12, "div", 35);
25772
+ i0__namespace.ɵɵelementStart(12, "div", 17, 36);
25773
+ i0__namespace.ɵɵelementStart(14, "ng-miam-catalog-toolbar", 37);
25774
+ i0__namespace.ɵɵlistener("filterButtonPressed", function RecipeCatalogComponent_div_8_Template_ng_miam_catalog_toolbar_filterButtonPressed_14_listener() { i0__namespace.ɵɵrestoreView(_r41_1); var ctx_r42 = i0__namespace.ɵɵnextContext(); return ctx_r42.onFilterCollapsed(); })("preferencesButtonPressed", function RecipeCatalogComponent_div_8_Template_ng_miam_catalog_toolbar_preferencesButtonPressed_14_listener() { i0__namespace.ɵɵrestoreView(_r41_1); var ctx_r43 = i0__namespace.ɵɵnextContext(); return ctx_r43.isPreferenceModalOpen = !ctx_r43.isPreferenceModalOpen; })("searchStringChanged", function RecipeCatalogComponent_div_8_Template_ng_miam_catalog_toolbar_searchStringChanged_14_listener($event) { i0__namespace.ɵɵrestoreView(_r41_1); var ctx_r44 = i0__namespace.ɵɵnextContext(); return ctx_r44.updateSearch($event); })("favoritesButtonPressed", function RecipeCatalogComponent_div_8_Template_ng_miam_catalog_toolbar_favoritesButtonPressed_14_listener() { i0__namespace.ɵɵrestoreView(_r41_1); var ctx_r45 = i0__namespace.ɵɵnextContext(); return ctx_r45.checkAndSetFavoritesFilter(); })("discountButtonPressed", function RecipeCatalogComponent_div_8_Template_ng_miam_catalog_toolbar_discountButtonPressed_14_listener() { i0__namespace.ɵɵrestoreView(_r41_1); var ctx_r46 = i0__namespace.ɵɵnextContext(); return ctx_r46.goToPromotions(); })("returnHomePressed", function RecipeCatalogComponent_div_8_Template_ng_miam_catalog_toolbar_returnHomePressed_14_listener() { i0__namespace.ɵɵrestoreView(_r41_1); var ctx_r47 = i0__namespace.ɵɵnextContext(); return ctx_r47.returnToHomePage(); });
25717
25775
  i0__namespace.ɵɵelementEnd();
25718
25776
  i0__namespace.ɵɵelementEnd();
25719
- i0__namespace.ɵɵtemplate(15, RecipeCatalogComponent_div_9_ng_miam_catalog_list_15_Template, 1, 14, "ng-miam-catalog-list", 40);
25720
- i0__namespace.ɵɵtemplate(16, RecipeCatalogComponent_div_9_div_16_Template, 3, 3, "div", 41);
25777
+ i0__namespace.ɵɵtemplate(15, RecipeCatalogComponent_div_8_ng_miam_catalog_list_15_Template, 1, 14, "ng-miam-catalog-list", 38);
25778
+ i0__namespace.ɵɵtemplate(16, RecipeCatalogComponent_div_8_div_16_Template, 3, 3, "div", 39);
25721
25779
  i0__namespace.ɵɵelementEnd();
25722
25780
  }
25723
25781
  if (rf & 2) {
25724
- var _r30 = i0__namespace.ɵɵreference(13);
25725
- var ctx_r6 = i0__namespace.ɵɵnextContext();
25782
+ var _r28 = i0__namespace.ɵɵreference(13);
25783
+ var ctx_r5 = i0__namespace.ɵɵnextContext();
25726
25784
  i0__namespace.ɵɵadvance(4);
25727
- i0__namespace.ɵɵproperty("ngIf", ctx_r6.isSearchPage());
25785
+ i0__namespace.ɵɵproperty("ngIf", ctx_r5.isSearchPage());
25728
25786
  i0__namespace.ɵɵadvance(1);
25729
- i0__namespace.ɵɵproperty("ngIf", ctx_r6.isFavoritesPage());
25787
+ i0__namespace.ɵɵproperty("ngIf", ctx_r5.isFavoritesPage());
25730
25788
  i0__namespace.ɵɵadvance(1);
25731
- i0__namespace.ɵɵproperty("ngIf", ctx_r6.isPromotionsPage());
25789
+ i0__namespace.ɵɵproperty("ngIf", ctx_r5.isPromotionsPage());
25732
25790
  i0__namespace.ɵɵadvance(1);
25733
- i0__namespace.ɵɵproperty("ngIf", ctx_r6.isAllRecipesPage());
25791
+ i0__namespace.ɵɵproperty("ngIf", ctx_r5.isAllRecipesPage());
25734
25792
  i0__namespace.ɵɵadvance(1);
25735
- i0__namespace.ɵɵproperty("ngIf", ctx_r6.isCategoryPage());
25793
+ i0__namespace.ɵɵproperty("ngIf", ctx_r5.isCategoryPage());
25736
25794
  i0__namespace.ɵɵadvance(1);
25737
- i0__namespace.ɵɵproperty("ngIf", ctx_r6.isDefaultPage());
25795
+ i0__namespace.ɵɵproperty("ngIf", ctx_r5.isDefaultPage());
25738
25796
  i0__namespace.ɵɵadvance(2);
25739
- i0__namespace.ɵɵproperty("ngIf", ctx_r6.isFavoritesPage() && ctx_r6.contextService.orderHistoryEnabled$.value);
25797
+ i0__namespace.ɵɵproperty("ngIf", ctx_r5.isFavoritesPage() && ctx_r5.contextService.orderHistoryEnabled$.value);
25740
25798
  i0__namespace.ɵɵadvance(3);
25741
- i0__namespace.ɵɵproperty("home", ctx_r6.displayHomePage())("history", ctx_r6.historyDisplayed)("searchTerm", ctx_r6.filters == null ? null : ctx_r6.filters.search)("additionalFiltersTitle", ctx_r6.filters == null ? null : ctx_r6.filters.additionalFilters == null ? null : ctx_r6.filters.additionalFilters.title)("hideButtons", ctx_r6.isFavoritesPage())("filterBadgeCount", ctx_r6.filters.selectableFiltersCount())("reduced", _r30.classList.contains("sticking"));
25799
+ i0__namespace.ɵɵproperty("favorites", ctx_r5.isFavoritesPage())("home", ctx_r5.displayHomePage())("history", ctx_r5.historyDisplayed)("searchTerm", ctx_r5.filters == null ? null : ctx_r5.filters.search)("additionalFiltersTitle", ctx_r5.filters == null ? null : ctx_r5.filters.additionalFilters == null ? null : ctx_r5.filters.additionalFilters.title)("filterBadgeCount", ctx_r5.filters.selectableFiltersCount())("reduced", _r28.classList.contains("sticking"));
25742
25800
  i0__namespace.ɵɵadvance(1);
25743
- i0__namespace.ɵɵproperty("ngIf", !ctx_r6.historyDisplayed);
25801
+ i0__namespace.ɵɵproperty("ngIf", !ctx_r5.historyDisplayed);
25744
25802
  i0__namespace.ɵɵadvance(1);
25745
- i0__namespace.ɵɵproperty("ngIf", ctx_r6.contextService.orderHistoryEnabled$.value && ctx_r6.historyDisplayed);
25803
+ i0__namespace.ɵɵproperty("ngIf", ctx_r5.contextService.orderHistoryEnabled$.value && ctx_r5.historyDisplayed);
25746
25804
  }
25747
25805
  }
25748
- function RecipeCatalogComponent_ng_template_12_div_0_Template(rf, ctx) {
25806
+ function RecipeCatalogComponent_ng_template_11_div_0_Template(rf, ctx) {
25749
25807
  if (rf & 1) {
25750
- i0__namespace.ɵɵelementStart(0, "div", 72);
25751
- i0__namespace.ɵɵelement(1, "div", 73);
25808
+ i0__namespace.ɵɵelementStart(0, "div", 70);
25809
+ i0__namespace.ɵɵelement(1, "div", 71);
25752
25810
  i0__namespace.ɵɵelementEnd();
25753
25811
  }
25754
25812
  }
25755
- function RecipeCatalogComponent_ng_template_12_ng_template_1_Template(rf, ctx) {
25813
+ function RecipeCatalogComponent_ng_template_11_ng_template_1_Template(rf, ctx) {
25756
25814
  if (rf & 1) {
25757
- i0__namespace.ɵɵelement(0, "div", 74);
25815
+ i0__namespace.ɵɵelement(0, "div", 72);
25758
25816
  }
25759
25817
  if (rf & 2) {
25760
- var ctx_r51 = i0__namespace.ɵɵnextContext(2);
25761
- i0__namespace.ɵɵproperty("innerHTML", ctx_r51.plannerEntryHTML, i0__namespace.ɵɵsanitizeHtml);
25818
+ var ctx_r50 = i0__namespace.ɵɵnextContext(2);
25819
+ i0__namespace.ɵɵproperty("innerHTML", ctx_r50.plannerEntryHTML, i0__namespace.ɵɵsanitizeHtml);
25762
25820
  }
25763
25821
  }
25764
- function RecipeCatalogComponent_ng_template_12_div_3_ng_container_1_ng_container_1_Template(rf, ctx) {
25822
+ function RecipeCatalogComponent_ng_template_11_div_3_ng_container_1_ng_container_1_Template(rf, ctx) {
25765
25823
  if (rf & 1) {
25766
- var _r60_1 = i0__namespace.ɵɵgetCurrentView();
25824
+ var _r59_1 = i0__namespace.ɵɵgetCurrentView();
25767
25825
  i0__namespace.ɵɵelementContainerStart(0);
25768
- i0__namespace.ɵɵelementStart(1, "ng-miam-catalog-category", 79);
25769
- i0__namespace.ɵɵlistener("displayList", function RecipeCatalogComponent_ng_template_12_div_3_ng_container_1_ng_container_1_Template_ng_miam_catalog_category_displayList_1_listener($event) { i0__namespace.ɵɵrestoreView(_r60_1); var ctx_r59 = i0__namespace.ɵɵnextContext(4); return ctx_r59.categoryTitleClicked($event); });
25826
+ i0__namespace.ɵɵelementStart(1, "ng-miam-catalog-category", 77);
25827
+ i0__namespace.ɵɵlistener("displayList", function RecipeCatalogComponent_ng_template_11_div_3_ng_container_1_ng_container_1_Template_ng_miam_catalog_category_displayList_1_listener($event) { i0__namespace.ɵɵrestoreView(_r59_1); var ctx_r58 = i0__namespace.ɵɵnextContext(4); return ctx_r58.categoryTitleClicked($event); });
25770
25828
  i0__namespace.ɵɵelementEnd();
25771
25829
  i0__namespace.ɵɵelementContainerEnd();
25772
25830
  }
25773
25831
  if (rf & 2) {
25774
- var category_r54 = i0__namespace.ɵɵnextContext().$implicit;
25775
- var ctx_r56 = i0__namespace.ɵɵnextContext(3);
25832
+ var category_r53 = i0__namespace.ɵɵnextContext().$implicit;
25833
+ var ctx_r55 = i0__namespace.ɵɵnextContext(3);
25776
25834
  i0__namespace.ɵɵadvance(1);
25777
- i0__namespace.ɵɵproperty("title", category_r54.title)("subtitle", category_r54.subtitle)("filters", category_r54.filters)("maxRecipeNumber", ctx_r56.maxRecipesPerCategory)("displayInfos", ctx_r56.displayInfos)("displayPricing", ctx_r56.displayPricing)("originTrace", ctx_r56.eventTrace)("modifiedGuests", ctx_r56.guests)("displayRecipeVariant", ctx_r56.displayRecipeVariant);
25835
+ i0__namespace.ɵɵproperty("title", category_r53.title)("subtitle", category_r53.subtitle)("filters", category_r53.filters)("maxRecipeNumber", ctx_r55.maxRecipesPerCategory)("displayInfos", ctx_r55.displayInfos)("displayPricing", ctx_r55.displayPricing)("originTrace", ctx_r55.eventTrace)("modifiedGuests", ctx_r55.guests)("displayRecipeVariant", ctx_r55.displayRecipeVariant);
25778
25836
  }
25779
25837
  }
25780
- function RecipeCatalogComponent_ng_template_12_div_3_ng_container_1_ng_template_2_Template(rf, ctx) {
25838
+ function RecipeCatalogComponent_ng_template_11_div_3_ng_container_1_ng_template_2_Template(rf, ctx) {
25781
25839
  if (rf & 1) {
25782
- var _r63_1 = i0__namespace.ɵɵgetCurrentView();
25783
- i0__namespace.ɵɵelementStart(0, "div", 80);
25784
- i0__namespace.ɵɵelementStart(1, "ng-miam-catalog-category", 81);
25785
- i0__namespace.ɵɵlistener("displayList", function RecipeCatalogComponent_ng_template_12_div_3_ng_container_1_ng_template_2_Template_ng_miam_catalog_category_displayList_1_listener($event) { i0__namespace.ɵɵrestoreView(_r63_1); var ctx_r62 = i0__namespace.ɵɵnextContext(4); return ctx_r62.categoryTitleClicked($event); })("isHidden", function RecipeCatalogComponent_ng_template_12_div_3_ng_container_1_ng_template_2_Template_ng_miam_catalog_category_isHidden_1_listener($event) { i0__namespace.ɵɵrestoreView(_r63_1); var ctx_r64 = i0__namespace.ɵɵnextContext(4); return ctx_r64.categoryHidden($event); });
25840
+ var _r62_1 = i0__namespace.ɵɵgetCurrentView();
25841
+ i0__namespace.ɵɵelementStart(0, "div", 78);
25842
+ i0__namespace.ɵɵelementStart(1, "ng-miam-catalog-category", 79);
25843
+ i0__namespace.ɵɵlistener("displayList", function RecipeCatalogComponent_ng_template_11_div_3_ng_container_1_ng_template_2_Template_ng_miam_catalog_category_displayList_1_listener($event) { i0__namespace.ɵɵrestoreView(_r62_1); var ctx_r61 = i0__namespace.ɵɵnextContext(4); return ctx_r61.categoryTitleClicked($event); })("isHidden", function RecipeCatalogComponent_ng_template_11_div_3_ng_container_1_ng_template_2_Template_ng_miam_catalog_category_isHidden_1_listener($event) { i0__namespace.ɵɵrestoreView(_r62_1); var ctx_r63 = i0__namespace.ɵɵnextContext(4); return ctx_r63.categoryHidden($event); });
25786
25844
  i0__namespace.ɵɵelementEnd();
25787
25845
  i0__namespace.ɵɵelementEnd();
25788
- i0__namespace.ɵɵelementStart(2, "button", 82);
25789
- i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_ng_template_12_div_3_ng_container_1_ng_template_2_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(_r63_1); var ctx_r65 = i0__namespace.ɵɵnextContext(4); return ctx_r65.seeAllRecipes(); });
25790
- i0__namespace.ɵɵelementStart(3, "div", 83);
25791
- i0__namespace.ɵɵi18n(4, 84);
25846
+ i0__namespace.ɵɵelementStart(2, "button", 80);
25847
+ i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_ng_template_11_div_3_ng_container_1_ng_template_2_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(_r62_1); var ctx_r64 = i0__namespace.ɵɵnextContext(4); return ctx_r64.seeAllRecipes(); });
25848
+ i0__namespace.ɵɵelementStart(3, "div", 81);
25849
+ i0__namespace.ɵɵi18n(4, 82);
25792
25850
  i0__namespace.ɵɵelementEnd();
25793
- i0__namespace.ɵɵelementStart(5, "div", 85);
25794
- i0__namespace.ɵɵelement(6, "img", 86);
25851
+ i0__namespace.ɵɵelementStart(5, "div", 83);
25852
+ i0__namespace.ɵɵelement(6, "img", 84);
25795
25853
  i0__namespace.ɵɵelementEnd();
25796
25854
  i0__namespace.ɵɵelementEnd();
25797
25855
  }
25798
25856
  if (rf & 2) {
25799
- var category_r54 = i0__namespace.ɵɵnextContext().$implicit;
25800
- var ctx_r58 = i0__namespace.ɵɵnextContext(3);
25857
+ var category_r53 = i0__namespace.ɵɵnextContext().$implicit;
25858
+ var ctx_r57 = i0__namespace.ɵɵnextContext(3);
25801
25859
  i0__namespace.ɵɵadvance(1);
25802
- i0__namespace.ɵɵproperty("title", category_r54.title)("subtitle", category_r54.subtitle)("filters", category_r54.filters)("displayInfos", ctx_r58.displayInfos)("displayPricing", ctx_r58.displayPricing)("maxRecipeNumber", ctx_r58.maxRecipesPerCategory)("modifiedGuests", ctx_r58.guests)("displayRecipeVariant", ctx_r58.displayRecipeVariant)("originTrace", ctx_r58.eventTrace);
25860
+ i0__namespace.ɵɵproperty("title", category_r53.title)("subtitle", category_r53.subtitle)("filters", category_r53.filters)("displayInfos", ctx_r57.displayInfos)("displayPricing", ctx_r57.displayPricing)("maxRecipeNumber", ctx_r57.maxRecipesPerCategory)("modifiedGuests", ctx_r57.guests)("displayRecipeVariant", ctx_r57.displayRecipeVariant)("originTrace", ctx_r57.eventTrace);
25803
25861
  }
25804
25862
  }
25805
- function RecipeCatalogComponent_ng_template_12_div_3_ng_container_1_Template(rf, ctx) {
25863
+ function RecipeCatalogComponent_ng_template_11_div_3_ng_container_1_Template(rf, ctx) {
25806
25864
  if (rf & 1) {
25807
25865
  i0__namespace.ɵɵelementContainerStart(0);
25808
- i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_ng_template_12_div_3_ng_container_1_ng_container_1_Template, 2, 9, "ng-container", 77);
25809
- i0__namespace.ɵɵtemplate(2, RecipeCatalogComponent_ng_template_12_div_3_ng_container_1_ng_template_2_Template, 7, 9, "ng-template", null, 78, i0__namespace.ɵɵtemplateRefExtractor);
25866
+ i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_ng_template_11_div_3_ng_container_1_ng_container_1_Template, 2, 9, "ng-container", 75);
25867
+ i0__namespace.ɵɵtemplate(2, RecipeCatalogComponent_ng_template_11_div_3_ng_container_1_ng_template_2_Template, 7, 9, "ng-template", null, 76, i0__namespace.ɵɵtemplateRefExtractor);
25810
25868
  i0__namespace.ɵɵelementContainerEnd();
25811
25869
  }
25812
25870
  if (rf & 2) {
25813
- var i_r55 = ctx.index;
25814
- var _r57 = i0__namespace.ɵɵreference(3);
25871
+ var i_r54 = ctx.index;
25872
+ var _r56 = i0__namespace.ɵɵreference(3);
25815
25873
  i0__namespace.ɵɵadvance(1);
25816
- i0__namespace.ɵɵproperty("ngIf", i_r55 !== 0)("ngIfElse", _r57);
25874
+ i0__namespace.ɵɵproperty("ngIf", i_r54 !== 0)("ngIfElse", _r56);
25817
25875
  }
25818
25876
  }
25819
- function RecipeCatalogComponent_ng_template_12_div_3_Template(rf, ctx) {
25877
+ function RecipeCatalogComponent_ng_template_11_div_3_Template(rf, ctx) {
25820
25878
  if (rf & 1) {
25821
- i0__namespace.ɵɵelementStart(0, "div", 75);
25822
- i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_ng_template_12_div_3_ng_container_1_Template, 4, 2, "ng-container", 76);
25879
+ i0__namespace.ɵɵelementStart(0, "div", 73);
25880
+ i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_ng_template_11_div_3_ng_container_1_Template, 4, 2, "ng-container", 74);
25823
25881
  i0__namespace.ɵɵelementEnd();
25824
25882
  }
25825
25883
  if (rf & 2) {
25826
- var ctx_r52 = i0__namespace.ɵɵnextContext(2);
25884
+ var ctx_r51 = i0__namespace.ɵɵnextContext(2);
25827
25885
  i0__namespace.ɵɵadvance(1);
25828
- i0__namespace.ɵɵproperty("ngForOf", ctx_r52.categories);
25886
+ i0__namespace.ɵɵproperty("ngForOf", ctx_r51.categories);
25829
25887
  }
25830
25888
  }
25831
- function RecipeCatalogComponent_ng_template_12_Template(rf, ctx) {
25889
+ function RecipeCatalogComponent_ng_template_11_Template(rf, ctx) {
25832
25890
  if (rf & 1) {
25833
- i0__namespace.ɵɵtemplate(0, RecipeCatalogComponent_ng_template_12_div_0_Template, 2, 0, "div", 69);
25834
- i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_ng_template_12_ng_template_1_Template, 1, 1, "ng-template", null, 70, i0__namespace.ɵɵtemplateRefExtractor);
25835
- i0__namespace.ɵɵtemplate(3, RecipeCatalogComponent_ng_template_12_div_3_Template, 2, 1, "div", 71);
25891
+ i0__namespace.ɵɵtemplate(0, RecipeCatalogComponent_ng_template_11_div_0_Template, 2, 0, "div", 67);
25892
+ i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_ng_template_11_ng_template_1_Template, 1, 1, "ng-template", null, 68, i0__namespace.ɵɵtemplateRefExtractor);
25893
+ i0__namespace.ɵɵtemplate(3, RecipeCatalogComponent_ng_template_11_div_3_Template, 2, 1, "div", 69);
25836
25894
  }
25837
25895
  if (rf & 2) {
25838
- var _r50 = i0__namespace.ɵɵreference(2);
25839
- var ctx_r8 = i0__namespace.ɵɵnextContext();
25840
- i0__namespace.ɵɵproperty("ngIf", ctx_r8.plannerEntryLoading || !ctx_r8.plannerEntryHTML)("ngIfElse", _r50);
25896
+ var _r49 = i0__namespace.ɵɵreference(2);
25897
+ var ctx_r7 = i0__namespace.ɵɵnextContext();
25898
+ i0__namespace.ɵɵproperty("ngIf", ctx_r7.plannerEntryLoading || !ctx_r7.plannerEntryHTML)("ngIfElse", _r49);
25841
25899
  i0__namespace.ɵɵadvance(3);
25842
- i0__namespace.ɵɵproperty("ngIf", ctx_r8.categories.length > 0);
25900
+ i0__namespace.ɵɵproperty("ngIf", ctx_r7.categories.length > 0);
25843
25901
  }
25844
25902
  }
25845
25903
  var RecipeCatalogComponent = /** @class */ (function (_super) {
@@ -26337,7 +26395,7 @@
26337
26395
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.returnHomeButton = _t.first);
26338
26396
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.categoriesComp = _t);
26339
26397
  }
26340
- }, inputs: { headerPictureUrl: "headerPictureUrl", initialRoute: "initialRoute", filtersPosition: "filtersPosition", homeLabel: "homeLabel", displayInfos: "displayInfos", displayPricing: "displayPricing", displayRecipeVariant: "displayRecipeVariant", maxRecipesPerCategory: "maxRecipesPerCategory", customFilters: "customFilters" }, features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 14, vars: 13, consts: function () {
26398
+ }, inputs: { headerPictureUrl: "headerPictureUrl", initialRoute: "initialRoute", filtersPosition: "filtersPosition", homeLabel: "homeLabel", displayInfos: "displayInfos", displayPricing: "displayPricing", displayRecipeVariant: "displayRecipeVariant", maxRecipesPerCategory: "maxRecipesPerCategory", customFilters: "customFilters" }, features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 13, vars: 12, consts: function () {
26341
26399
  var i18n_2;
26342
26400
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
26343
26401
  var MSG_EXTERNAL_8364051788143087484$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS__3 = goog.getMsg(" repas dans votre panier");
@@ -26426,7 +26484,7 @@
26426
26484
  else {
26427
26485
  i18n_23 = $localize(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject([":\u241F6a492aeb2aa6401461c8cc248fff941988ab5dda\u241F371620413575748610:Toutes nos recettes"], [":\u241F6a492aeb2aa6401461c8cc248fff941988ab5dda\u241F371620413575748610:Toutes nos recettes"])));
26428
26486
  }
26429
- return [[1, "miam-catalog-anchor"], ["miamCatalogTopAnchor", ""], [1, "miam-recipe-catalog"], [1, "miam-recipe-catalog__content"], [4, "ngIf"], ["class", "miam-recipe-catalog__toolbar-container-anchor", 4, "ngIf"], ["class", "miam-recipe-catalog__toolbar-container", 4, "ngIf"], ["class", "miam-recipe-catalog__promotions-banner", 4, "ngIf"], ["class", "miam-recipe-catalog__content__myMeal__button", 3, "click", 4, "ngIf"], ["class", "miam-recipe-catalog__list", 4, "ngIf", "ngIfElse"], [3, "filters", "isFilterCollapsed", "filterToRemove", "position", "filterChanged", "filterCollapsed", "preferencesChanged"], [3, "isOpen", "filters", "isOpenChange", "preferencesChanged"], ["categoriesComponents", ""], ["class", "miam-recipe-catalog__header-container", 3, "innerHTML", 4, "ngIf", "ngIfElse"], ["headerSkeleton", ""], [1, "miam-recipe-catalog__header-container", 3, "innerHTML"], ["aria-hidden", "true", 1, "miam-recipe-catalog__header-skeleton"], [1, "miam-recipe-catalog__toolbar-container-anchor"], [1, "miam-recipe-catalog__toolbar-container"], ["stickyToolbar", ""], [3, "home", "history", "searchTerm", "additionalFiltersTitle", "hideButtons", "filterBadgeCount", "reduced", "filterButtonPressed", "preferencesButtonPressed", "searchStringChanged", "favoritesButtonPressed", "returnHomePressed"], [1, "miam-recipe-catalog__promotions-banner"], [3, "clicked"], [1, "miam-recipe-catalog__content__myMeal__button", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/cutlery-white.svg", "alt", "", "aria-hidden", "true", 1, "miam-recipe-catalog__myMeal__first__icon"], [1, "miam-recipe-catalog__myMeal__button__text", "miam-ds-text", "weight-xl"], i18n_2, ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/chevron-down-white.svg", "alt", "", "aria-hidden", "true", 1, "miam-recipe-catalog__myMeal__second__icon"], [1, "miam-recipe-catalog__list"], [1, "miam-recipe-catalog__content__title"], ["aria-label", "Retour \u00E0 la page d'accueil", 1, "miam-recipe-catalog__content__title-icon", "miam-ds-button", "primary", "square", 3, "click"], ["alt", "", "aria-hidden", "true", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_white.svg"], ["class", "miam-recipe-catalog__content__title__search__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__favorites__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__promotions__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__all-recipes__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__category", 4, "ngIf"], ["class", "miam-recipe-catalog__content__default__text", 4, "ngIf"], ["class", "miam-catalog-tabs miam-ds-tabs", "role", "tablist", "aria-label", "Options de favoris", 4, "ngIf"], ["stickyToolbarCollection", ""], ["id", "favorites-panel", 3, "ngClass", "filters", "originTrace", "displayPricing", "displayInfos", "modifiedGuests", "displayRecipeVariant", "filterRemoved", 4, "ngIf"], ["class", "miam-recipe-catalog__history-container", "id", "history-panel", 4, "ngIf"], [1, "miam-recipe-catalog__content__title__search__text"], i18n_4, [1, "miam-recipe-catalog__content__title__favorites__text"], i18n_6, i18n_8, [1, "miam-recipe-catalog__content__title__promotions__text"], i18n_10, [1, "miam-recipe-catalog__content__title__all-recipes__text"], i18n_12, [1, "miam-recipe-catalog__content__title__category"], [1, "miam-ds-text", "size-l", "weight-xxl"], ["class", "miam-ds-text size-s weight-l", 4, "ngIf"], [1, "miam-ds-text", "size-s", "weight-l"], [1, "miam-recipe-catalog__content__default__text"], i18n_14, ["role", "tablist", "aria-label", "Options de favoris", 1, "miam-catalog-tabs", "miam-ds-tabs"], ["role", "tab", "id", "favorites-tab", "aria-controls", "favorites-panel", 1, "miam-catalog-tabs__item", "miam-ds-tab-item", "miam-ds-text", 3, "click"], ["alt", "", "aria-hidden", "true", 3, "src"], i18n_16, ["role", "tab", "id", "history-tab", "aria-controls", "history-panel", 1, "miam-catalog-tabs__item", "miam-ds-tab-item", "miam-ds-text", 3, "click"], i18n_18, ["id", "favorites-panel", 3, "ngClass", "filters", "originTrace", "displayPricing", "displayInfos", "modifiedGuests", "displayRecipeVariant", "filterRemoved"], ["id", "history-panel", 1, "miam-recipe-catalog__history-container"], ["class", "miam-recipe-catalog__history-loader", "aria-live", "polite", 4, "ngIf"], [3, "innerHTML"], ["aria-live", "polite", 1, "miam-recipe-catalog__history-loader"], i18n_21, ["class", "mealz-planner-entry-skeleton", "role", "status", "aria-label", "Chargement du planner", 4, "ngIf", "ngIfElse"], ["plannerEntryContent", ""], ["class", "miam-recipe-catalog__categories", 4, "ngIf"], ["role", "status", "aria-label", "Chargement du planner", 1, "mealz-planner-entry-skeleton"], [1, "mealz-planner-entry-skeleton__banner"], [1, "mealz-planner-entry-container", 3, "innerHTML"], [1, "miam-recipe-catalog__categories"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["firstCategory", ""], [3, "title", "subtitle", "filters", "maxRecipeNumber", "displayInfos", "displayPricing", "originTrace", "modifiedGuests", "displayRecipeVariant", "displayList"], [1, "miam-recipe-catalog__first-category"], [3, "title", "subtitle", "filters", "displayInfos", "displayPricing", "maxRecipeNumber", "modifiedGuests", "displayRecipeVariant", "originTrace", "displayList", "isHidden"], [1, "miam-recipe-catalog__all-banner", 3, "click"], [1, "miam-recipe-catalog__all-banner__text", "miam-ds-text", "size-m", "weight-xl"], i18n_23, [1, "miam-recipe-catalog__all-banner__icon"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_black.svg", "alt", "", "aria-hidden", "true"]];
26487
+ return [[1, "miam-catalog-anchor"], ["miamCatalogTopAnchor", ""], [1, "miam-recipe-catalog"], [1, "miam-recipe-catalog__content"], [4, "ngIf"], ["class", "miam-recipe-catalog__toolbar-container-anchor", 4, "ngIf"], ["class", "miam-recipe-catalog__toolbar-container", 4, "ngIf"], ["class", "miam-recipe-catalog__content__myMeal__button", 3, "click", 4, "ngIf"], ["class", "miam-recipe-catalog__list", 4, "ngIf", "ngIfElse"], [3, "filters", "isFilterCollapsed", "filterToRemove", "position", "filterChanged", "filterCollapsed", "preferencesChanged"], [3, "isOpen", "filters", "isOpenChange", "preferencesChanged"], ["categoriesComponents", ""], ["class", "miam-recipe-catalog__header-container", 3, "innerHTML", 4, "ngIf", "ngIfElse"], ["headerSkeleton", ""], [1, "miam-recipe-catalog__header-container", 3, "innerHTML"], ["aria-hidden", "true", 1, "miam-recipe-catalog__header-skeleton"], [1, "miam-recipe-catalog__toolbar-container-anchor"], [1, "miam-recipe-catalog__toolbar-container"], ["stickyToolbar", ""], [3, "favorites", "history", "home", "searchTerm", "additionalFiltersTitle", "filterBadgeCount", "reduced", "filterButtonPressed", "preferencesButtonPressed", "searchStringChanged", "favoritesButtonPressed", "discountButtonPressed", "returnHomePressed"], [1, "miam-recipe-catalog__content__myMeal__button", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/cutlery-white.svg", "alt", "", "aria-hidden", "true", 1, "miam-recipe-catalog__myMeal__first__icon"], [1, "miam-recipe-catalog__myMeal__button__text", "miam-ds-text", "weight-xl"], i18n_2, ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/chevron-down-white.svg", "alt", "", "aria-hidden", "true", 1, "miam-recipe-catalog__myMeal__second__icon"], [1, "miam-recipe-catalog__list"], [1, "miam-recipe-catalog__content__title"], ["aria-label", "Retour \u00E0 la page d'accueil", 1, "miam-recipe-catalog__content__title-icon", "miam-ds-button", "primary", "square", 3, "click"], ["alt", "", "aria-hidden", "true", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_white.svg"], ["class", "miam-recipe-catalog__content__title__search__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__favorites__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__promotions__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__all-recipes__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__category", 4, "ngIf"], ["class", "miam-recipe-catalog__content__default__text", 4, "ngIf"], ["class", "miam-catalog-tabs miam-ds-tabs", "role", "tablist", "aria-label", "Options de favoris", 4, "ngIf"], ["stickyToolbarCollection", ""], [3, "favorites", "home", "history", "searchTerm", "additionalFiltersTitle", "filterBadgeCount", "reduced", "filterButtonPressed", "preferencesButtonPressed", "searchStringChanged", "favoritesButtonPressed", "discountButtonPressed", "returnHomePressed"], ["id", "favorites-panel", 3, "ngClass", "filters", "originTrace", "displayPricing", "displayInfos", "modifiedGuests", "displayRecipeVariant", "filterRemoved", 4, "ngIf"], ["class", "miam-recipe-catalog__history-container", "id", "history-panel", 4, "ngIf"], [1, "miam-recipe-catalog__content__title__search__text"], i18n_4, [1, "miam-recipe-catalog__content__title__favorites__text"], i18n_6, i18n_8, [1, "miam-recipe-catalog__content__title__promotions__text"], i18n_10, [1, "miam-recipe-catalog__content__title__all-recipes__text"], i18n_12, [1, "miam-recipe-catalog__content__title__category"], [1, "miam-ds-text", "size-l", "weight-xxl"], ["class", "miam-ds-text size-s weight-l", 4, "ngIf"], [1, "miam-ds-text", "size-s", "weight-l"], [1, "miam-recipe-catalog__content__default__text"], i18n_14, ["role", "tablist", "aria-label", "Options de favoris", 1, "miam-catalog-tabs", "miam-ds-tabs"], ["role", "tab", "id", "favorites-tab", "aria-controls", "favorites-panel", 1, "miam-catalog-tabs__item", "miam-ds-tab-item", "miam-ds-text", 3, "click"], ["alt", "", "aria-hidden", "true", 3, "src"], i18n_16, ["role", "tab", "id", "history-tab", "aria-controls", "history-panel", 1, "miam-catalog-tabs__item", "miam-ds-tab-item", "miam-ds-text", 3, "click"], i18n_18, ["id", "favorites-panel", 3, "ngClass", "filters", "originTrace", "displayPricing", "displayInfos", "modifiedGuests", "displayRecipeVariant", "filterRemoved"], ["id", "history-panel", 1, "miam-recipe-catalog__history-container"], ["class", "miam-recipe-catalog__history-loader", "aria-live", "polite", 4, "ngIf"], [3, "innerHTML"], ["aria-live", "polite", 1, "miam-recipe-catalog__history-loader"], i18n_21, ["class", "mealz-planner-entry-skeleton", "role", "status", "aria-label", "Chargement du planner", 4, "ngIf", "ngIfElse"], ["plannerEntryContent", ""], ["class", "miam-recipe-catalog__categories", 4, "ngIf"], ["role", "status", "aria-label", "Chargement du planner", 1, "mealz-planner-entry-skeleton"], [1, "mealz-planner-entry-skeleton__banner"], [1, "mealz-planner-entry-container", 3, "innerHTML"], [1, "miam-recipe-catalog__categories"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["firstCategory", ""], [3, "title", "subtitle", "filters", "maxRecipeNumber", "displayInfos", "displayPricing", "originTrace", "modifiedGuests", "displayRecipeVariant", "displayList"], [1, "miam-recipe-catalog__first-category"], [3, "title", "subtitle", "filters", "displayInfos", "displayPricing", "maxRecipeNumber", "modifiedGuests", "displayRecipeVariant", "originTrace", "displayList", "isHidden"], [1, "miam-recipe-catalog__all-banner", 3, "click"], [1, "miam-recipe-catalog__all-banner__text", "miam-ds-text", "size-m", "weight-xl"], i18n_23, [1, "miam-recipe-catalog__all-banner__icon"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_black.svg", "alt", "", "aria-hidden", "true"]];
26430
26488
  }, template: function RecipeCatalogComponent_Template(rf, ctx) {
26431
26489
  if (rf & 1) {
26432
26490
  i0__namespace.ɵɵelement(0, "div", 0, 1);
@@ -26435,21 +26493,20 @@
26435
26493
  i0__namespace.ɵɵtemplate(4, RecipeCatalogComponent_ng_container_4_Template, 4, 2, "ng-container", 4);
26436
26494
  i0__namespace.ɵɵtemplate(5, RecipeCatalogComponent_div_5_Template, 1, 0, "div", 5);
26437
26495
  i0__namespace.ɵɵtemplate(6, RecipeCatalogComponent_div_6_Template, 3, 7, "div", 6);
26438
- i0__namespace.ɵɵtemplate(7, RecipeCatalogComponent_div_7_Template, 2, 0, "div", 7);
26439
- i0__namespace.ɵɵtemplate(8, RecipeCatalogComponent_button_8_Template, 8, 2, "button", 8);
26440
- i0__namespace.ɵɵtemplate(9, RecipeCatalogComponent_div_9_Template, 17, 16, "div", 9);
26496
+ i0__namespace.ɵɵtemplate(7, RecipeCatalogComponent_button_7_Template, 8, 2, "button", 7);
26497
+ i0__namespace.ɵɵtemplate(8, RecipeCatalogComponent_div_8_Template, 17, 16, "div", 8);
26441
26498
  i0__namespace.ɵɵelementEnd();
26442
- i0__namespace.ɵɵelementStart(10, "ng-miam-recipe-filters", 10);
26443
- i0__namespace.ɵɵlistener("filterChanged", function RecipeCatalogComponent_Template_ng_miam_recipe_filters_filterChanged_10_listener($event) { return ctx.updateFilters($event); })("filterCollapsed", function RecipeCatalogComponent_Template_ng_miam_recipe_filters_filterCollapsed_10_listener() { return ctx.onFilterCollapsed(); })("preferencesChanged", function RecipeCatalogComponent_Template_ng_miam_recipe_filters_preferencesChanged_10_listener() { return ctx.reloadPackages(); });
26499
+ i0__namespace.ɵɵelementStart(9, "ng-miam-recipe-filters", 9);
26500
+ i0__namespace.ɵɵlistener("filterChanged", function RecipeCatalogComponent_Template_ng_miam_recipe_filters_filterChanged_9_listener($event) { return ctx.updateFilters($event); })("filterCollapsed", function RecipeCatalogComponent_Template_ng_miam_recipe_filters_filterCollapsed_9_listener() { return ctx.onFilterCollapsed(); })("preferencesChanged", function RecipeCatalogComponent_Template_ng_miam_recipe_filters_preferencesChanged_9_listener() { return ctx.reloadPackages(); });
26444
26501
  i0__namespace.ɵɵelementEnd();
26445
- i0__namespace.ɵɵelementStart(11, "ng-miam-preferences", 11);
26446
- i0__namespace.ɵɵlistener("isOpenChange", function RecipeCatalogComponent_Template_ng_miam_preferences_isOpenChange_11_listener($event) { return ctx.isPreferenceModalOpen = $event; })("preferencesChanged", function RecipeCatalogComponent_Template_ng_miam_preferences_preferencesChanged_11_listener() { ctx.updateFilters(ctx.filters, false); return ctx.reloadPackages(); });
26502
+ i0__namespace.ɵɵelementStart(10, "ng-miam-preferences", 10);
26503
+ i0__namespace.ɵɵlistener("isOpenChange", function RecipeCatalogComponent_Template_ng_miam_preferences_isOpenChange_10_listener($event) { return ctx.isPreferenceModalOpen = $event; })("preferencesChanged", function RecipeCatalogComponent_Template_ng_miam_preferences_preferencesChanged_10_listener() { ctx.updateFilters(ctx.filters, false); return ctx.reloadPackages(); });
26447
26504
  i0__namespace.ɵɵelementEnd();
26448
- i0__namespace.ɵɵtemplate(12, RecipeCatalogComponent_ng_template_12_Template, 4, 3, "ng-template", null, 12, i0__namespace.ɵɵtemplateRefExtractor);
26505
+ i0__namespace.ɵɵtemplate(11, RecipeCatalogComponent_ng_template_11_Template, 4, 3, "ng-template", null, 11, i0__namespace.ɵɵtemplateRefExtractor);
26449
26506
  i0__namespace.ɵɵelementEnd();
26450
26507
  }
26451
26508
  if (rf & 2) {
26452
- var _r7 = i0__namespace.ɵɵreference(13);
26509
+ var _r6 = i0__namespace.ɵɵreference(12);
26453
26510
  i0__namespace.ɵɵadvance(4);
26454
26511
  i0__namespace.ɵɵproperty("ngIf", ctx.displayHomePage());
26455
26512
  i0__namespace.ɵɵadvance(1);
@@ -26457,17 +26514,15 @@
26457
26514
  i0__namespace.ɵɵadvance(1);
26458
26515
  i0__namespace.ɵɵproperty("ngIf", ctx.displayHomePage());
26459
26516
  i0__namespace.ɵɵadvance(1);
26460
- i0__namespace.ɵɵproperty("ngIf", ctx.displayHomePage());
26461
- i0__namespace.ɵɵadvance(1);
26462
26517
  i0__namespace.ɵɵproperty("ngIf", ctx.recipeCount > 0);
26463
26518
  i0__namespace.ɵɵadvance(1);
26464
- i0__namespace.ɵɵproperty("ngIf", !ctx.displayHomePage() || ctx.forceListView)("ngIfElse", _r7);
26519
+ i0__namespace.ɵɵproperty("ngIf", !ctx.displayHomePage() || ctx.forceListView)("ngIfElse", _r6);
26465
26520
  i0__namespace.ɵɵadvance(1);
26466
26521
  i0__namespace.ɵɵproperty("filters", ctx.filters)("isFilterCollapsed", ctx.isFilterCollapsed)("filterToRemove", ctx.filterToRemove)("position", ctx.filtersPosition);
26467
26522
  i0__namespace.ɵɵadvance(1);
26468
26523
  i0__namespace.ɵɵproperty("isOpen", ctx.isPreferenceModalOpen)("filters", ctx.filters);
26469
26524
  }
26470
- }, directives: [i1__namespace.NgIf, RecipeFiltersComponent, PreferencesComponent, CatalogToolbarComponent, PromotionsBannerComponent, CatalogListComponent, i1__namespace.NgClass, LoaderComponent, i1__namespace.NgForOf, CatalogCategoryComponent], styles: [".miam-recipe-catalog{display:flex;justify-content:space-between;width:100%;position:relative;background-color:var(--miam-ds-color-neutral-white)}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container-anchor{width:100%}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container{width:-moz-available;width:-webkit-fill-available;width:fill-available;padding:33px 80px 0;box-sizing:border-box;background-color:var(--miam-ds-color-neutral-white);transition:padding .3s ease}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container.sticking{position:fixed;top:0;z-index:10;border-bottom:1px solid var(--miam-ds-color-neutral-200,#d9dde1);padding:16px 40px}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__toolbar-container{padding:24px 16px 0}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container.sticking{padding:8px}}.miam-recipe-catalog .mealz-planner-entry-skeleton{width:100%;padding:24px 80px 16px;box-sizing:border-box}.miam-recipe-catalog .mealz-planner-entry-skeleton .mealz-planner-entry-skeleton__banner{width:100%;height:200px;border-radius:12px;background:linear-gradient(90deg,#f2f4f6 25%,#e7eaed 37%,#f2f4f6 63%);background-size:400px 100%;animation:mealz-planner-skeleton-shimmer 1.6s infinite}@media (max-width:1023px){.miam-recipe-catalog .mealz-planner-entry-skeleton{padding:16px 24px 8px}}@keyframes mealz-planner-skeleton-shimmer{0%{background-position:-200px 0}to{background-position:200px 0}}.miam-recipe-catalog .miam-recipe-catalog__content{width:100%;position:relative}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__header-skeleton{width:100%;height:124px;background-color:var(--miam-ds-color-neutral-100,#eff1f3)}@media (max-width:767px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__header-skeleton{height:168px}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title{width:100%;padding:0 80px;font-size:20px;line-height:34px;font-weight:900;display:flex;align-items:center;gap:16px;color:var(--miam-ds-color-neutral-black,#0f191f);box-sizing:border-box}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__search__text{display:flex;flex-wrap:wrap;gap:6px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title-icon{width:32px;height:32px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title-icon img{cursor:pointer;width:13px;height:13px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__category{display:flex;flex-direction:column;gap:4px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__category .size-s{color:var(--miam-ds-color-neutral-500)}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title{width:100%;padding:0 24px;box-sizing:border-box}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__promotions-banner{display:none;justify-content:center;margin-top:36px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories{display:flex;flex-direction:column;width:100%;padding:4px 80px 48px;box-sizing:border-box;gap:24px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category{display:flex;flex-direction:row;width:100%;align-items:flex-end}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-meals-planner-link{margin:0 16px 36px 0}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-catalog-category{flex:1}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner{border:none;display:flex;padding:24px 0;justify-content:center;align-items:center;gap:8px;align-self:stretch;border-radius:8px;background:var(--miam-ds-color-neutral-100,#eff1f3);cursor:pointer}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner .miam-recipe-catalog__all-banner__text{color:var(--miam-ds-color-neutral-black,#0f191f)}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner .miam-recipe-catalog__all-banner__icon{transform:rotate(-180deg);height:24px}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories{padding:24px 0 48px;gap:16px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category{flex-direction:column;align-items:flex-start}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-catalog-category{width:100%}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-meals-planner-link{width:100%;padding:0 24px 24px;box-sizing:border-box;margin:unset;display:block}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner{margin:0 24px}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list{width:100%;padding:24px 0;box-sizing:border-box}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__toolbar-container:not(.sticking){padding-bottom:24px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__toolbar-container.sticking{padding:8px 24px}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__toolbar-container .sticking{padding:8px}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__history-container .miam-recipe-catalog__history-loader{width:100%;font-size:20px;font-weight:700;color:var(--m-color-grey-text);text-align:center}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__history-container .miam-recipe-catalog__history-loader .miam-loader{margin-top:80px;margin-bottom:16px;margin-left:calc(50% - 40px);height:80px;width:80px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs{position:relative;display:flex;box-sizing:border-box;width:100%;padding:24px 80px 0;background-color:var(--miam-ds-color-neutral-white,#fff);transition:padding .3s ease}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs button.miam-catalog-tabs__item{background:none;border:none;border-bottom:2px solid var(--miam-ds-color-border);display:flex;align-items:center;gap:4px;text-decoration:none}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs button.miam-catalog-tabs__item.active{border-bottom:2px solid var(--miam-ds-color-primary)}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs button.miam-catalog-tabs__item.inactive span{color:var(--miam-ds-color-neutral-black,#0f191f);opacity:.7}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs{padding:24px 24px 0}}@media (max-width:700px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs{padding:24px 0 0}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs .miam-catalog-tabs__item{width:100%;justify-content:center;display:flex}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__all-banner{background:none;border:none;padding:0;margin:0;text-align:left;cursor:pointer;font-family:inherit;font-size:inherit;outline:none}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__myMeal__button{border:none;display:flex;align-items:center;justify-content:space-between;width:400px;position:fixed;left:50%;bottom:16px;transform:translate(-50%);z-index:1;min-height:48px;padding:0 16px;border-radius:1000px;background:var(--miam-color-primary-900,#10323f);box-shadow:0 8px 16px 0 rgba(0,0,0,.2)}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__myMeal__button>:not(:last-child){margin-right:12px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__myMeal__button .miam-recipe-catalog__myMeal__button__text{font-weight:700;color:var(--miam-ds-color-neutral-white,#fff);white-space:nowrap}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__myMeal__button .miam-recipe-catalog__myMeal__second__icon{transform:rotate(-90deg)}@media (max-width:607px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__myMeal__button{width:auto;z-index:2}}.miam-recipe-catalog ng-miam-recipe-card .miam-recipe-card{height:var(--m-catalog-card-height);width:var(--m-catalog-card-width)}"], encapsulation: 2, changeDetection: 0 });
26525
+ }, directives: [i1__namespace.NgIf, RecipeFiltersComponent, PreferencesComponent, CatalogToolbarComponent, CatalogListComponent, i1__namespace.NgClass, LoaderComponent, i1__namespace.NgForOf, CatalogCategoryComponent], styles: [".miam-recipe-catalog{display:flex;justify-content:space-between;width:100%;position:relative;background-color:var(--miam-ds-color-neutral-white)}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container-anchor{width:100%}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container{width:-moz-available;width:-webkit-fill-available;width:fill-available;padding:33px 80px 0;box-sizing:border-box;background-color:var(--miam-ds-color-neutral-white);transition:padding .3s ease;overflow-x:visible;overflow-y:visible}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container.sticking{position:fixed;top:0;z-index:10;border-bottom:1px solid var(--miam-ds-color-neutral-200,#d9dde1);padding:16px 80px}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__toolbar-container{padding:24px 16px 0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container::-webkit-scrollbar{display:none}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container.sticking{padding:8px 24px}}.miam-recipe-catalog .mealz-planner-entry-skeleton{width:100%;padding:24px 80px 16px;box-sizing:border-box}.miam-recipe-catalog .mealz-planner-entry-skeleton .mealz-planner-entry-skeleton__banner{width:100%;height:200px;border-radius:12px;background:linear-gradient(90deg,#f2f4f6 25%,#e7eaed 37%,#f2f4f6 63%);background-size:400px 100%;animation:mealz-planner-skeleton-shimmer 1.6s infinite}@media (max-width:1023px){.miam-recipe-catalog .mealz-planner-entry-skeleton{padding:16px 24px 8px}}@keyframes mealz-planner-skeleton-shimmer{0%{background-position:-200px 0}to{background-position:200px 0}}.miam-recipe-catalog .miam-recipe-catalog__content{width:100%;position:relative}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__header-skeleton{width:100%;height:124px;background-color:var(--miam-ds-color-neutral-100,#eff1f3)}@media (max-width:767px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__header-skeleton{height:168px}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title{width:100%;padding:0 80px;font-size:20px;line-height:34px;font-weight:900;display:flex;align-items:center;gap:16px;color:var(--miam-ds-color-neutral-black,#0f191f);box-sizing:border-box}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__search__text{display:flex;flex-wrap:wrap;gap:6px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title-icon{width:32px;height:32px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title-icon img{cursor:pointer;width:13px;height:13px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__category{display:flex;flex-direction:column;gap:4px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__category .size-s{color:var(--miam-ds-color-neutral-500)}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title{width:100%;padding:0 24px;box-sizing:border-box}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories{display:flex;flex-direction:column;width:100%;padding:4px 80px 48px;box-sizing:border-box;gap:24px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category{display:flex;flex-direction:row;width:100%;align-items:flex-end}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-meals-planner-link{margin:0 16px 36px 0}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-catalog-category{flex:1}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner{border:none;display:flex;padding:24px 0;justify-content:center;align-items:center;gap:8px;align-self:stretch;border-radius:8px;background:var(--miam-ds-color-neutral-100,#eff1f3);cursor:pointer}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner .miam-recipe-catalog__all-banner__text{color:var(--miam-ds-color-neutral-black,#0f191f)}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner .miam-recipe-catalog__all-banner__icon{transform:rotate(-180deg);height:24px}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories{padding:24px 0 48px;gap:16px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category{flex-direction:column;align-items:flex-start}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-catalog-category{width:100%}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-meals-planner-link{width:100%;padding:0 24px 24px;box-sizing:border-box;margin:unset;display:block}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner{margin:0 24px}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list{width:100%;padding:24px 0;box-sizing:border-box}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__toolbar-container:not(.sticking){padding-bottom:24px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__toolbar-container.sticking{padding:8px 24px}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__toolbar-container .sticking{padding:8px}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__history-container .miam-recipe-catalog__history-loader{width:100%;font-size:20px;font-weight:700;color:var(--m-color-grey-text);text-align:center}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__history-container .miam-recipe-catalog__history-loader .miam-loader{margin-top:80px;margin-bottom:16px;margin-left:calc(50% - 40px);height:80px;width:80px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs{position:relative;display:flex;box-sizing:border-box;width:100%;padding:24px 80px 0;background-color:var(--miam-ds-color-neutral-white,#fff);transition:padding .3s ease}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs button.miam-catalog-tabs__item{background:none;border:none;border-bottom:2px solid var(--miam-ds-color-border);display:flex;align-items:center;gap:4px;text-decoration:none}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs button.miam-catalog-tabs__item.active{border-bottom:2px solid var(--miam-ds-color-primary)}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs button.miam-catalog-tabs__item.inactive span{color:var(--miam-ds-color-neutral-black,#0f191f);opacity:.7}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs{padding:24px 24px 0}}@media (max-width:700px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs{padding:24px 0 0}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs .miam-catalog-tabs__item{width:100%;justify-content:center;display:flex}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__all-banner{background:none;border:none;padding:0;margin:0;text-align:left;cursor:pointer;font-family:inherit;font-size:inherit;outline:none}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__myMeal__button{border:none;display:flex;align-items:center;justify-content:space-between;width:400px;position:fixed;left:50%;bottom:16px;transform:translate(-50%);z-index:1;min-height:48px;padding:0 16px;border-radius:1000px;background:var(--miam-color-primary-900,#10323f);box-shadow:0 8px 16px 0 rgba(0,0,0,.2)}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__myMeal__button>:not(:last-child){margin-right:12px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__myMeal__button .miam-recipe-catalog__myMeal__button__text{font-weight:700;color:var(--miam-ds-color-neutral-white,#fff);white-space:nowrap}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__myMeal__button .miam-recipe-catalog__myMeal__second__icon{transform:rotate(-90deg)}@media (max-width:607px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__myMeal__button{width:auto;z-index:2}}.miam-recipe-catalog ng-miam-recipe-card .miam-recipe-card{height:var(--m-catalog-card-height);width:var(--m-catalog-card-width)}"], encapsulation: 2, changeDetection: 0 });
26471
26526
  (function () {
26472
26527
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RecipeCatalogComponent, [{
26473
26528
  type: i0.Component,
@@ -28999,13 +29054,9 @@
28999
29054
  var _c0$1 = ["tag"];
29000
29055
  function RecipeTagsComponent_ng_container_0_div_1_div_2_Template(rf, ctx) {
29001
29056
  if (rf & 1) {
29002
- var _r9_1 = i0__namespace.ɵɵgetCurrentView();
29003
29057
  i0__namespace.ɵɵelementStart(0, "div", 11, 12);
29004
- i0__namespace.ɵɵelementStart(2, "ng-miam-icon", 13);
29005
- i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_container_0_div_1_div_2_Template_ng_miam_icon_click_2_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var recipeLine_r5 = ctx.$implicit; var ctx_r8 = i0__namespace.ɵɵnextContext(3); return ctx_r8.toggleRecipe(recipeLine_r5.id); });
29006
- i0__namespace.ɵɵelementEnd();
29058
+ i0__namespace.ɵɵelement(2, "ng-miam-icon", 13);
29007
29059
  i0__namespace.ɵɵelementStart(3, "span", 14);
29008
- i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_container_0_div_1_div_2_Template_span_click_3_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var recipeLine_r5 = ctx.$implicit; var ctx_r10 = i0__namespace.ɵɵnextContext(3); return ctx_r10.toggleRecipe(recipeLine_r5.id); });
29009
29060
  i0__namespace.ɵɵtext(4);
29010
29061
  i0__namespace.ɵɵpipe(5, "ellipsis");
29011
29062
  i0__namespace.ɵɵelementEnd();
@@ -29025,19 +29076,19 @@
29025
29076
  var _c3 = function (a0) { return { "opacity": a0 }; };
29026
29077
  function RecipeTagsComponent_ng_container_0_div_1_Template(rf, ctx) {
29027
29078
  if (rf & 1) {
29028
- var _r12_1 = i0__namespace.ɵɵgetCurrentView();
29079
+ var _r9_1 = i0__namespace.ɵɵgetCurrentView();
29029
29080
  i0__namespace.ɵɵelementStart(0, "div", 3);
29030
29081
  i0__namespace.ɵɵelementStart(1, "div", 4);
29031
29082
  i0__namespace.ɵɵtemplate(2, RecipeTagsComponent_ng_container_0_div_1_div_2_Template, 6, 5, "div", 5);
29032
29083
  i0__namespace.ɵɵelementEnd();
29033
29084
  i0__namespace.ɵɵelementStart(3, "div", 6);
29034
29085
  i0__namespace.ɵɵelementStart(4, "span", 7);
29035
- i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_container_0_div_1_Template_span_click_4_listener() { i0__namespace.ɵɵrestoreView(_r12_1); var ctx_r11 = i0__namespace.ɵɵnextContext(2); return ctx_r11.toggleList(); });
29086
+ i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_container_0_div_1_Template_span_click_4_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var ctx_r8 = i0__namespace.ɵɵnextContext(2); return ctx_r8.toggleList(); });
29036
29087
  i0__namespace.ɵɵtext(5);
29037
29088
  i0__namespace.ɵɵelementEnd();
29038
29089
  i0__namespace.ɵɵelement(6, "div", 8);
29039
29090
  i0__namespace.ɵɵelementStart(7, "span", 9);
29040
- i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_container_0_div_1_Template_span_click_7_listener() { i0__namespace.ɵɵrestoreView(_r12_1); var ctx_r13 = i0__namespace.ɵɵnextContext(2); return ctx_r13.toggleList(); });
29091
+ i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_container_0_div_1_Template_span_click_7_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var ctx_r10 = i0__namespace.ɵɵnextContext(2); return ctx_r10.toggleList(); });
29041
29092
  i0__namespace.ɵɵelement(8, "ng-miam-icon", 10);
29042
29093
  i0__namespace.ɵɵelementEnd();
29043
29094
  i0__namespace.ɵɵelementEnd();
@@ -29072,9 +29123,9 @@
29072
29123
  }
29073
29124
  function RecipeTagsComponent_ng_template_1_div_0_Template(rf, ctx) {
29074
29125
  if (rf & 1) {
29075
- var _r17_1 = i0__namespace.ɵɵgetCurrentView();
29126
+ var _r14_1 = i0__namespace.ɵɵgetCurrentView();
29076
29127
  i0__namespace.ɵɵelementStart(0, "div", 17);
29077
- i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_template_1_div_0_Template_div_click_0_listener() { i0__namespace.ɵɵrestoreView(_r17_1); var ctx_r16 = i0__namespace.ɵɵnextContext(2); return ctx_r16.toggleModal(); });
29128
+ i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_template_1_div_0_Template_div_click_0_listener() { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r13 = i0__namespace.ɵɵnextContext(2); return ctx_r13.toggleModal(); });
29078
29129
  i0__namespace.ɵɵelementStart(1, "span", 18);
29079
29130
  i0__namespace.ɵɵtext(2);
29080
29131
  i0__namespace.ɵɵelementEnd();
@@ -29084,48 +29135,44 @@
29084
29135
  i0__namespace.ɵɵelementEnd();
29085
29136
  }
29086
29137
  if (rf & 2) {
29087
- var ctx_r14 = i0__namespace.ɵɵnextContext(2);
29138
+ var ctx_r11 = i0__namespace.ɵɵnextContext(2);
29088
29139
  i0__namespace.ɵɵadvance(2);
29089
- i0__namespace.ɵɵtextInterpolate(ctx_r14.recipePreviewLines.length);
29140
+ i0__namespace.ɵɵtextInterpolate(ctx_r11.recipePreviewLines.length);
29090
29141
  }
29091
29142
  }
29092
29143
  function RecipeTagsComponent_ng_template_1_ng_miam_modal_1_div_2_Template(rf, ctx) {
29093
29144
  if (rf & 1) {
29094
- var _r23_1 = i0__namespace.ɵɵgetCurrentView();
29095
29145
  i0__namespace.ɵɵelementStart(0, "div", 11, 12);
29096
- i0__namespace.ɵɵelementStart(2, "ng-miam-icon", 13);
29097
- i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_template_1_ng_miam_modal_1_div_2_Template_ng_miam_icon_click_2_listener() { i0__namespace.ɵɵrestoreView(_r23_1); var recipeLine_r19 = ctx.$implicit; var ctx_r22 = i0__namespace.ɵɵnextContext(3); return ctx_r22.toggleRecipe(recipeLine_r19.id); });
29098
- i0__namespace.ɵɵelementEnd();
29146
+ i0__namespace.ɵɵelement(2, "ng-miam-icon", 13);
29099
29147
  i0__namespace.ɵɵelementStart(3, "span", 14);
29100
- i0__namespace.ɵɵlistener("click", function RecipeTagsComponent_ng_template_1_ng_miam_modal_1_div_2_Template_span_click_3_listener() { i0__namespace.ɵɵrestoreView(_r23_1); var recipeLine_r19 = ctx.$implicit; var ctx_r24 = i0__namespace.ɵɵnextContext(3); return ctx_r24.toggleRecipe(recipeLine_r19.id); });
29101
29148
  i0__namespace.ɵɵtext(4);
29102
29149
  i0__namespace.ɵɵelementEnd();
29103
29150
  i0__namespace.ɵɵelementEnd();
29104
29151
  }
29105
29152
  if (rf & 2) {
29106
- var recipeLine_r19 = ctx.$implicit;
29107
- var ctx_r18 = i0__namespace.ɵɵnextContext(3);
29153
+ var recipeLine_r16 = ctx.$implicit;
29154
+ var ctx_r15 = i0__namespace.ɵɵnextContext(3);
29108
29155
  i0__namespace.ɵɵadvance(2);
29109
- i0__namespace.ɵɵproperty("iconName", ctx_r18.icon.Meal);
29156
+ i0__namespace.ɵɵproperty("iconName", ctx_r15.icon.Meal);
29110
29157
  i0__namespace.ɵɵadvance(2);
29111
- i0__namespace.ɵɵtextInterpolate(recipeLine_r19.title);
29158
+ i0__namespace.ɵɵtextInterpolate(recipeLine_r16.title);
29112
29159
  }
29113
29160
  }
29114
29161
  function RecipeTagsComponent_ng_template_1_ng_miam_modal_1_Template(rf, ctx) {
29115
29162
  if (rf & 1) {
29116
- var _r26_1 = i0__namespace.ɵɵgetCurrentView();
29163
+ var _r20_1 = i0__namespace.ɵɵgetCurrentView();
29117
29164
  i0__namespace.ɵɵelementStart(0, "ng-miam-modal", 20);
29118
- i0__namespace.ɵɵlistener("close", function RecipeTagsComponent_ng_template_1_ng_miam_modal_1_Template_ng_miam_modal_close_0_listener() { i0__namespace.ɵɵrestoreView(_r26_1); var ctx_r25 = i0__namespace.ɵɵnextContext(2); return ctx_r25.toggleModal(); });
29165
+ i0__namespace.ɵɵlistener("close", function RecipeTagsComponent_ng_template_1_ng_miam_modal_1_Template_ng_miam_modal_close_0_listener() { i0__namespace.ɵɵrestoreView(_r20_1); var ctx_r19 = i0__namespace.ɵɵnextContext(2); return ctx_r19.toggleModal(); });
29119
29166
  i0__namespace.ɵɵelementStart(1, "div", 4);
29120
29167
  i0__namespace.ɵɵtemplate(2, RecipeTagsComponent_ng_template_1_ng_miam_modal_1_div_2_Template, 5, 2, "div", 5);
29121
29168
  i0__namespace.ɵɵelementEnd();
29122
29169
  i0__namespace.ɵɵelementEnd();
29123
29170
  }
29124
29171
  if (rf & 2) {
29125
- var ctx_r15 = i0__namespace.ɵɵnextContext(2);
29126
- i0__namespace.ɵɵproperty("display", ctx_r15.modalIsOpened)("noHeaderMode", false)("recipesCount", ctx_r15.recipePreviewLines.length);
29172
+ var ctx_r12 = i0__namespace.ɵɵnextContext(2);
29173
+ i0__namespace.ɵɵproperty("display", ctx_r12.modalIsOpened)("noHeaderMode", false)("recipesCount", ctx_r12.recipePreviewLines.length);
29127
29174
  i0__namespace.ɵɵadvance(2);
29128
- i0__namespace.ɵɵproperty("ngForOf", ctx_r15.recipePreviewLines);
29175
+ i0__namespace.ɵɵproperty("ngForOf", ctx_r12.recipePreviewLines);
29129
29176
  }
29130
29177
  }
29131
29178
  function RecipeTagsComponent_ng_template_1_Template(rf, ctx) {
@@ -29201,9 +29248,6 @@
29201
29248
  this.wrappedItemsCount = tags.toArray().length - (this.lastItemIndexOfFirstRow + 1);
29202
29249
  this.cdr.detectChanges();
29203
29250
  };
29204
- RecipeTagsComponent.prototype.toggleRecipe = function (id) {
29205
- this.recipesService.display(id, { previewAllowed: this.recipeDetailPreviewAllowed, previewMode: false });
29206
- };
29207
29251
  RecipeTagsComponent.prototype.toggleList = function () {
29208
29252
  this.isListOpen = !this.isListOpen;
29209
29253
  this.cdr.detectChanges();
@@ -29232,7 +29276,7 @@
29232
29276
  else {
29233
29277
  i18n_4 = $localize(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject([":\u241F3c5bb82ed6e0c7ec470e7e044e3d12f9642d5356\u241F8273924711540568207:repas"], [":\u241F3c5bb82ed6e0c7ec470e7e044e3d12f9642d5356\u241F8273924711540568207:repas"])));
29234
29278
  }
29235
- return [[4, "ngIf", "ngIfElse"], ["reduced", ""], ["class", "miam-recipe-tags__container", 3, "ngStyle", 4, "ngIf"], [1, "miam-recipe-tags__container", 3, "ngStyle"], [1, "miam-recipe-tags__container__list"], ["class", "miam-recipe-tags__list__badge", 4, "ngFor", "ngForOf"], [1, "miam-recipe-tags__container__toggle", 3, "ngClass"], [1, "miam-recipe-tags__toggle__open", 3, "click"], [1, "miam-recipe-tags__toggle__ligne"], [1, "miam-recipe-tags__toggle__close", 3, "ngStyle", "click"], ["width", "24", "height", "24", "primaryColor", "var(--m-color-white)", 3, "iconName"], [1, "miam-recipe-tags__list__badge"], ["tag", ""], ["primaryColor", "var(--m-color-white)", 1, "miam-recipe-tags__badge__icon", 3, "iconName", "click"], [1, "miam-recipe-tag__badge__text", 3, "click"], ["class", "miam-recipe-tags__recipes", 3, "click", 4, "ngIf"], ["class", "miam-recipe-tags__modal", 3, "display", "noHeaderMode", "recipesCount", "close", 4, "ngIf"], [1, "miam-recipe-tags__recipes", 3, "click"], [1, "miam-recipe-tags__recipes__count"], i18n_4, [1, "miam-recipe-tags__modal", 3, "display", "noHeaderMode", "recipesCount", "close"]];
29279
+ return [[4, "ngIf", "ngIfElse"], ["reduced", ""], ["class", "miam-recipe-tags__container", 3, "ngStyle", 4, "ngIf"], [1, "miam-recipe-tags__container", 3, "ngStyle"], [1, "miam-recipe-tags__container__list"], ["class", "miam-recipe-tags__list__badge", 4, "ngFor", "ngForOf"], [1, "miam-recipe-tags__container__toggle", 3, "ngClass"], [1, "miam-recipe-tags__toggle__open", 3, "click"], [1, "miam-recipe-tags__toggle__ligne"], [1, "miam-recipe-tags__toggle__close", 3, "ngStyle", "click"], ["width", "24", "height", "24", "primaryColor", "var(--m-color-white)", 3, "iconName"], [1, "miam-recipe-tags__list__badge"], ["tag", ""], ["primaryColor", "var(--m-color-white)", 1, "miam-recipe-tags__badge__icon", 3, "iconName"], [1, "miam-recipe-tag__badge__text"], ["class", "miam-recipe-tags__recipes", 3, "click", 4, "ngIf"], ["class", "miam-recipe-tags__modal", 3, "display", "noHeaderMode", "recipesCount", "close", 4, "ngIf"], [1, "miam-recipe-tags__recipes", 3, "click"], [1, "miam-recipe-tags__recipes__count"], i18n_4, [1, "miam-recipe-tags__modal", 3, "display", "noHeaderMode", "recipesCount", "close"]];
29236
29280
  }, template: function RecipeTagsComponent_Template(rf, ctx) {
29237
29281
  if (rf & 1) {
29238
29282
  i0__namespace.ɵɵtemplate(0, RecipeTagsComponent_ng_container_0_Template, 2, 1, "ng-container", 0);
@@ -29242,7 +29286,7 @@
29242
29286
  var _r1 = i0__namespace.ɵɵreference(2);
29243
29287
  i0__namespace.ɵɵproperty("ngIf", !ctx.reduce)("ngIfElse", _r1);
29244
29288
  }
29245
- }, directives: [i1__namespace.NgIf, i1__namespace.NgStyle, i1__namespace.NgForOf, i1__namespace.NgClass, IconComponent, ModalComponent], pipes: [EllipsisPipe], styles: [".miam-recipe-tags__container__list{display:flex;flex-wrap:wrap;gap:8px;flex:1 1}.miam-recipe-tags__container__list .miam-recipe-tags__list__badge{display:flex;align-items:center;padding:0 8px 0 0;height:24px;border:1px solid #e9e9e9;box-sizing:border-box;border-radius:100px;cursor:pointer;position:relative;max-width:50vw}.miam-recipe-tags__container__list .miam-recipe-tags__list__badge .miam-recipe-tags__badge__icon{padding:4px 8px;background:var(--m-color-primary);border-radius:100px 0 0 100px;flex:none;order:0;flex-grow:0}.miam-recipe-tags__container__list .miam-recipe-tags__list__badge .miam-recipe-tag__badge__text{font-size:12px;line-height:16px;color:#676767;margin:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.miam-recipe-tags__container{display:flex;transition:height .25s cubic-bezier(0,0,.2,1);overflow:hidden;padding:0 8px;margin-top:16px}.miam-recipe-tags__container .miam-recipe-tags__container__toggle{display:flex;flex-direction:column;align-items:center;width:80px;visibility:visible}.miam-recipe-tags__container .miam-recipe-tags__container__toggle.miam-recipe-tags__container__toggle__hidden{visibility:hidden}.miam-recipe-tags__container .miam-recipe-tags__container__toggle .miam-recipe-tags__toggle__open{display:flex;justify-content:center;padding:4px 8px;height:24px;background:#f6f6f6;min-width:40px;border-radius:100px;cursor:pointer;line-height:100%}.miam-recipe-tags__container .miam-recipe-tags__container__toggle .miam-recipe-tags__toggle__ligne{width:2px;flex:1;background-color:var(--m-color-grey);transform:height 1s linear}.miam-recipe-tags__container .miam-recipe-tags__container__toggle .miam-recipe-tags__toggle__close{background:var(--m-color-primary);min-width:40px;cursor:pointer;border-radius:100px;transition:opacity .2s linear}.miam-recipe-tags__container .miam-recipe-tags__container__toggle .miam-recipe-tags__toggle__close ng-miam-icon .icon-container{transform:rotate(180deg)}.miam-recipe-tags__recipes{display:flex;align-items:center;padding:0 8px 0 0;height:24px;border:1px solid #e9e9e9;box-sizing:border-box;border-radius:100px;cursor:pointer;position:relative;max-width:50vw}.miam-recipe-tags__recipes .miam-recipe-tags__recipes__count{margin-right:4px}.miam-recipe-tags__modal .miam-modal{top:50%;right:50%;transform:translate3d(50%,-50%,0);height:auto;animation-name:none}.miam-recipe-tags__modal .miam-modal .miam-modal__container .miam-recipe-tags__container__list{display:flex;flex-flow:row wrap;max-width:480px;padding:24px}@media (max-width:1023px){.miam-recipe-tags__modal .miam-modal .miam-modal__container .miam-recipe-tags__container__list{flex-flow:column}}"], encapsulation: 2, changeDetection: 0 });
29289
+ }, directives: [i1__namespace.NgIf, i1__namespace.NgStyle, i1__namespace.NgForOf, i1__namespace.NgClass, IconComponent, ModalComponent], pipes: [EllipsisPipe], styles: [".miam-recipe-tags__container__list{display:flex;flex-wrap:wrap;gap:8px;flex:1 1}.miam-recipe-tags__container__list .miam-recipe-tags__list__badge{display:flex;align-items:center;padding:0 8px 0 0;height:24px;border:1px solid #e9e9e9;box-sizing:border-box;border-radius:100px;position:relative;max-width:50vw}.miam-recipe-tags__container__list .miam-recipe-tags__list__badge .miam-recipe-tags__badge__icon{padding:4px 8px;background:var(--m-color-primary);border-radius:100px 0 0 100px;flex:none;order:0;flex-grow:0}.miam-recipe-tags__container__list .miam-recipe-tags__list__badge .miam-recipe-tag__badge__text{font-size:12px;line-height:16px;color:#676767;margin:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.miam-recipe-tags__container{display:flex;transition:height .25s cubic-bezier(0,0,.2,1);overflow:hidden;padding:0 8px;margin-top:16px}.miam-recipe-tags__container .miam-recipe-tags__container__toggle{display:flex;flex-direction:column;align-items:center;width:80px;visibility:visible}.miam-recipe-tags__container .miam-recipe-tags__container__toggle.miam-recipe-tags__container__toggle__hidden{visibility:hidden}.miam-recipe-tags__container .miam-recipe-tags__container__toggle .miam-recipe-tags__toggle__open{display:flex;justify-content:center;padding:4px 8px;height:24px;background:#f6f6f6;min-width:40px;border-radius:100px;cursor:pointer;line-height:100%}.miam-recipe-tags__container .miam-recipe-tags__container__toggle .miam-recipe-tags__toggle__ligne{width:2px;flex:1;background-color:var(--m-color-grey);transform:height 1s linear}.miam-recipe-tags__container .miam-recipe-tags__container__toggle .miam-recipe-tags__toggle__close{background:var(--m-color-primary);min-width:40px;cursor:pointer;border-radius:100px;transition:opacity .2s linear}.miam-recipe-tags__container .miam-recipe-tags__container__toggle .miam-recipe-tags__toggle__close ng-miam-icon .icon-container{transform:rotate(180deg)}.miam-recipe-tags__recipes{display:flex;align-items:center;padding:0 8px 0 0;height:24px;border:1px solid #e9e9e9;box-sizing:border-box;border-radius:100px;cursor:pointer;position:relative;max-width:50vw}.miam-recipe-tags__recipes .miam-recipe-tags__recipes__count{margin-right:4px}.miam-recipe-tags__modal .miam-modal{top:50%;right:50%;transform:translate3d(50%,-50%,0);height:auto;animation-name:none}.miam-recipe-tags__modal .miam-modal .miam-modal__container .miam-recipe-tags__container__list{display:flex;flex-flow:row wrap;max-width:480px;padding:24px}@media (max-width:1023px){.miam-recipe-tags__modal .miam-modal .miam-modal__container .miam-recipe-tags__container__list{flex-flow:column}}"], encapsulation: 2, changeDetection: 0 });
29246
29290
  (function () {
29247
29291
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RecipeTagsComponent, [{
29248
29292
  type: i0.Component,
@@ -30785,7 +30829,6 @@
30785
30829
  exports.ProductsPickerComponent = ProductsPickerComponent;
30786
30830
  exports.ProgressTrackerComponent = ProgressTrackerComponent;
30787
30831
  exports.PromotionBadgeComponent = PromotionBadgeComponent;
30788
- exports.PromotionsBannerComponent = PromotionsBannerComponent;
30789
30832
  exports.QuantityUnit = QuantityUnit;
30790
30833
  exports.Recipe = Recipe;
30791
30834
  exports.RecipeAddonComponent = RecipeAddonComponent;