ng-miam 6.2.2 → 6.2.4

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.
@@ -1676,15 +1676,6 @@ class IngredientsService extends Service {
1676
1676
  this.resource = Ingredient;
1677
1677
  this.type = 'ingredients';
1678
1678
  this.register();
1679
- // if you are using this service you will need this, prefetch it when user logs
1680
- userService.isLogged$
1681
- .pipe(skipWhile(isLogged => !isLogged), take(1))
1682
- .subscribe(isLogged => {
1683
- if (isLogged) {
1684
- this.fetchReviewedNames();
1685
- this.fetchReviewedUnits();
1686
- }
1687
- });
1688
1679
  }
1689
1680
  getReviewedNames() {
1690
1681
  if (!this.reviewedNames) {
@@ -2462,6 +2453,7 @@ class BasketsService extends Service {
2462
2453
  this._basket$ = new BehaviorSubject(null);
2463
2454
  this._basketPreview$ = new BehaviorSubject(null);
2464
2455
  this.basketStats$ = new BehaviorSubject(null);
2456
+ this.canSaveBasket$ = new BehaviorSubject(true);
2465
2457
  this.basketIsFetching = false;
2466
2458
  this.basketPreviewIsCalculating = false;
2467
2459
  this.basketInitCalled = false;
@@ -2525,7 +2517,7 @@ class BasketsService extends Service {
2525
2517
  }), switchMap(basket => {
2526
2518
  console.log('[Miam] Save basket with confirmed=true');
2527
2519
  basket.attributes.confirmed = true;
2528
- return basket.save();
2520
+ return this.saveBasket(basket);
2529
2521
  }), switchMap((resp) => {
2530
2522
  confirmedBasket = this.new();
2531
2523
  confirmedBasket.fill(resp);
@@ -2591,13 +2583,17 @@ class BasketsService extends Service {
2591
2583
  // fall case to a default pricebook
2592
2584
  updatePricebook(pricebookName) {
2593
2585
  return this.basket$.pipe(skipWhile(b => !b), take(1), switchMap(basket => {
2586
+ if (!pricebookName) {
2587
+ console.log(`[Miam] no pricebook ${JSON.stringify(pricebookName)}`);
2588
+ return of(basket);
2589
+ }
2594
2590
  if (basket.pricebookKey === pricebookName) {
2595
2591
  console.log(`[Miam] same pricebook ${JSON.stringify(pricebookName)}`);
2596
2592
  return of(basket);
2597
2593
  }
2598
2594
  console.log(`[Miam] update pricebook to ${JSON.stringify(pricebookName)}`);
2599
2595
  basket.pricebookKey = pricebookName;
2600
- return basket.save().pipe(map((resp) => {
2596
+ return this.saveBasket(basket).pipe(map((resp) => {
2601
2597
  const updatedBasket = this.new();
2602
2598
  updatedBasket.fill(resp);
2603
2599
  this._basket$.next(updatedBasket);
@@ -2605,6 +2601,12 @@ class BasketsService extends Service {
2605
2601
  }));
2606
2602
  }));
2607
2603
  }
2604
+ saveBasket(basket) {
2605
+ return this.canSaveBasket$.pipe(skipWhile(canSave => !canSave), take(1), switchMap(() => {
2606
+ this.canSaveBasket$.next(false);
2607
+ return basket.save().pipe(tap(() => this.canSaveBasket$.next(true)));
2608
+ }));
2609
+ }
2608
2610
  loadPreview() {
2609
2611
  return this.basket$.pipe(skipWhile(b => !b), switchMap(() => this.recipesService.loadRecipes()), switchMap(recipes => {
2610
2612
  const basket = this._basket$.value;
@@ -3373,6 +3375,9 @@ class ContextService {
3373
3375
  setDefaultIngredientPicture: (url) => {
3374
3376
  this.defaultIngredientPicture = url;
3375
3377
  },
3378
+ search: (provider, query) => {
3379
+ return this.recipesService.all({ remotefilter: { recipe_provider_id: provider, search: query } }).pipe(skipWhile(result => !result), map(response => response['data']));
3380
+ },
3376
3381
  // We keep those just in case
3377
3382
  // setRecipesPrimaryButtonActions: (display = true, addToBasket = true) => {
3378
3383
  // this.recipesService.setRecipesPrimaryButtonActions(display, addToBasket);
@@ -6201,6 +6206,8 @@ class ListInputComponent {
6201
6206
  this.orderHasChanged = new EventEmitter();
6202
6207
  this.previousQuantities = [];
6203
6208
  this.maxSelectionNumber = 5;
6209
+ this.ingredientService.getReviewedNames();
6210
+ this.ingredientService.getReviewedUnits();
6204
6211
  }
6205
6212
  delete(index) {
6206
6213
  var _a;
@@ -9494,33 +9501,105 @@ function RecipeCardComponent_div_0_div_12_ng_container_4_Template(rf, ctx) { if
9494
9501
  ɵɵadvance(1);
9495
9502
  ɵɵproperty("width", 60)("height", 20)("iconName", ctx_r36.icon.DifficultyLow);
9496
9503
  } }
9504
+ function RecipeCardComponent_div_0_div_12_ng_container_6_span_1_Template(rf, ctx) { if (rf & 1) {
9505
+ ɵɵelementStart(0, "span", 56);
9506
+ ɵɵtext(1);
9507
+ ɵɵelementEnd();
9508
+ } if (rf & 2) {
9509
+ const ctx_r41 = ɵɵnextContext(4);
9510
+ ɵɵadvance(1);
9511
+ ɵɵtextInterpolate1(" ", ctx_r41.recipeService.difficultyLevels[0].label, " ");
9512
+ } }
9513
+ function RecipeCardComponent_div_0_div_12_ng_container_6_ng_template_2_Template(rf, ctx) { if (rf & 1) {
9514
+ ɵɵelementStart(0, "span", 56);
9515
+ ɵɵi18n(1, 57);
9516
+ ɵɵelementEnd();
9517
+ } }
9497
9518
  function RecipeCardComponent_div_0_div_12_ng_container_6_Template(rf, ctx) { if (rf & 1) {
9498
9519
  ɵɵelementContainerStart(0);
9499
- ɵɵelementStart(1, "span", 48);
9500
- ɵɵi18n(2, 54);
9501
- ɵɵelementEnd();
9520
+ ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_6_span_1_Template, 2, 1, "span", 54);
9521
+ ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_6_ng_template_2_Template, 2, 0, "ng-template", null, 55, ɵɵtemplateRefExtractor);
9502
9522
  ɵɵelementContainerEnd();
9523
+ } if (rf & 2) {
9524
+ const _r42 = ɵɵreference(3);
9525
+ const ctx_r37 = ɵɵnextContext(3);
9526
+ ɵɵadvance(1);
9527
+ ɵɵproperty("ngIf", (ctx_r37.recipeService.difficultyLevels[0] == null ? null : ctx_r37.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r42);
9528
+ } }
9529
+ function RecipeCardComponent_div_0_div_12_ng_container_7_span_1_Template(rf, ctx) { if (rf & 1) {
9530
+ ɵɵelementStart(0, "span", 60);
9531
+ ɵɵtext(1);
9532
+ ɵɵelementEnd();
9533
+ } if (rf & 2) {
9534
+ const ctx_r44 = ɵɵnextContext(4);
9535
+ ɵɵadvance(1);
9536
+ ɵɵtextInterpolate1(" ", ctx_r44.recipeService.difficultyLevels[1].label, " ");
9537
+ } }
9538
+ function RecipeCardComponent_div_0_div_12_ng_container_7_ng_template_2_Template(rf, ctx) { if (rf & 1) {
9539
+ ɵɵelementStart(0, "span", 60);
9540
+ ɵɵi18n(1, 61);
9541
+ ɵɵelementEnd();
9503
9542
  } }
9504
9543
  function RecipeCardComponent_div_0_div_12_ng_container_7_Template(rf, ctx) { if (rf & 1) {
9505
9544
  ɵɵelementContainerStart(0);
9506
- ɵɵelementStart(1, "span", 48);
9507
- ɵɵi18n(2, 55);
9508
- ɵɵelementEnd();
9545
+ ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_7_span_1_Template, 2, 1, "span", 58);
9546
+ ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_7_ng_template_2_Template, 2, 0, "ng-template", null, 59, ɵɵtemplateRefExtractor);
9509
9547
  ɵɵelementContainerEnd();
9548
+ } if (rf & 2) {
9549
+ const _r45 = ɵɵreference(3);
9550
+ const ctx_r38 = ɵɵnextContext(3);
9551
+ ɵɵadvance(1);
9552
+ ɵɵproperty("ngIf", (ctx_r38.recipeService.difficultyLevels[1] == null ? null : ctx_r38.recipeService.difficultyLevels[1].label) !== "Chef interm\u00E9diaire")("ngIfElse", _r45);
9553
+ } }
9554
+ function RecipeCardComponent_div_0_div_12_ng_container_8_span_1_Template(rf, ctx) { if (rf & 1) {
9555
+ ɵɵelementStart(0, "span", 64);
9556
+ ɵɵtext(1);
9557
+ ɵɵelementEnd();
9558
+ } if (rf & 2) {
9559
+ const ctx_r47 = ɵɵnextContext(4);
9560
+ ɵɵadvance(1);
9561
+ ɵɵtextInterpolate1(" ", ctx_r47.recipeService.difficultyLevels[2].label, " ");
9562
+ } }
9563
+ function RecipeCardComponent_div_0_div_12_ng_container_8_ng_template_2_Template(rf, ctx) { if (rf & 1) {
9564
+ ɵɵelementStart(0, "span", 64);
9565
+ ɵɵi18n(1, 65);
9566
+ ɵɵelementEnd();
9510
9567
  } }
9511
9568
  function RecipeCardComponent_div_0_div_12_ng_container_8_Template(rf, ctx) { if (rf & 1) {
9512
9569
  ɵɵelementContainerStart(0);
9513
- ɵɵelementStart(1, "span", 48);
9514
- ɵɵi18n(2, 56);
9515
- ɵɵelementEnd();
9570
+ ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_8_span_1_Template, 2, 1, "span", 62);
9571
+ ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_8_ng_template_2_Template, 2, 0, "ng-template", null, 63, ɵɵtemplateRefExtractor);
9516
9572
  ɵɵelementContainerEnd();
9573
+ } if (rf & 2) {
9574
+ const _r48 = ɵɵreference(3);
9575
+ const ctx_r39 = ɵɵnextContext(3);
9576
+ ɵɵadvance(1);
9577
+ ɵɵproperty("ngIf", (ctx_r39.recipeService.difficultyLevels[2] == null ? null : ctx_r39.recipeService.difficultyLevels[2].label) !== "Top chef")("ngIfElse", _r48);
9578
+ } }
9579
+ function RecipeCardComponent_div_0_div_12_ng_container_9_span_1_Template(rf, ctx) { if (rf & 1) {
9580
+ ɵɵelementStart(0, "span", 56);
9581
+ ɵɵtext(1);
9582
+ ɵɵelementEnd();
9583
+ } if (rf & 2) {
9584
+ const ctx_r50 = ɵɵnextContext(4);
9585
+ ɵɵadvance(1);
9586
+ ɵɵtextInterpolate1(" ", ctx_r50.recipeService.difficultyLevels[0].label, " ");
9587
+ } }
9588
+ function RecipeCardComponent_div_0_div_12_ng_container_9_ng_template_2_Template(rf, ctx) { if (rf & 1) {
9589
+ ɵɵelementStart(0, "span", 56);
9590
+ ɵɵi18n(1, 67);
9591
+ ɵɵelementEnd();
9517
9592
  } }
9518
9593
  function RecipeCardComponent_div_0_div_12_ng_container_9_Template(rf, ctx) { if (rf & 1) {
9519
9594
  ɵɵelementContainerStart(0);
9520
- ɵɵelementStart(1, "span", 48);
9521
- ɵɵi18n(2, 57);
9522
- ɵɵelementEnd();
9595
+ ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_9_span_1_Template, 2, 1, "span", 54);
9596
+ ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_9_ng_template_2_Template, 2, 0, "ng-template", null, 66, ɵɵtemplateRefExtractor);
9523
9597
  ɵɵelementContainerEnd();
9598
+ } if (rf & 2) {
9599
+ const _r51 = ɵɵreference(3);
9600
+ const ctx_r40 = ɵɵnextContext(3);
9601
+ ɵɵadvance(1);
9602
+ ɵɵproperty("ngIf", (ctx_r40.recipeService.difficultyLevels[0] == null ? null : ctx_r40.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r51);
9524
9603
  } }
9525
9604
  const _c8 = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
9526
9605
  function RecipeCardComponent_div_0_div_12_Template(rf, ctx) { if (rf & 1) {
@@ -9531,10 +9610,10 @@ function RecipeCardComponent_div_0_div_12_Template(rf, ctx) { if (rf & 1) {
9531
9610
  ɵɵtemplate(4, RecipeCardComponent_div_0_div_12_ng_container_4_Template, 2, 3, "ng-container", 52);
9532
9611
  ɵɵelementContainerEnd();
9533
9612
  ɵɵelementContainerStart(5, 50);
9534
- ɵɵtemplate(6, RecipeCardComponent_div_0_div_12_ng_container_6_Template, 3, 0, "ng-container", 51);
9535
- ɵɵtemplate(7, RecipeCardComponent_div_0_div_12_ng_container_7_Template, 3, 0, "ng-container", 51);
9536
- ɵɵtemplate(8, RecipeCardComponent_div_0_div_12_ng_container_8_Template, 3, 0, "ng-container", 51);
9537
- ɵɵtemplate(9, RecipeCardComponent_div_0_div_12_ng_container_9_Template, 3, 0, "ng-container", 52);
9613
+ ɵɵtemplate(6, RecipeCardComponent_div_0_div_12_ng_container_6_Template, 4, 2, "ng-container", 51);
9614
+ ɵɵtemplate(7, RecipeCardComponent_div_0_div_12_ng_container_7_Template, 4, 2, "ng-container", 51);
9615
+ ɵɵtemplate(8, RecipeCardComponent_div_0_div_12_ng_container_8_Template, 4, 2, "ng-container", 51);
9616
+ ɵɵtemplate(9, RecipeCardComponent_div_0_div_12_ng_container_9_Template, 4, 2, "ng-container", 52);
9538
9617
  ɵɵelementContainerEnd();
9539
9618
  ɵɵelementEnd();
9540
9619
  } if (rf & 2) {
@@ -9556,14 +9635,14 @@ function RecipeCardComponent_div_0_div_12_Template(rf, ctx) { if (rf & 1) {
9556
9635
  ɵɵproperty("ngSwitchCase", 3);
9557
9636
  } }
9558
9637
  function RecipeCardComponent_div_0_div_13_Template(rf, ctx) { if (rf & 1) {
9559
- ɵɵelementStart(0, "div", 58);
9560
- ɵɵelement(1, "ng-miam-icon", 59);
9638
+ ɵɵelementStart(0, "div", 68);
9639
+ ɵɵelement(1, "ng-miam-icon", 69);
9561
9640
  ɵɵelementStart(2, "span", 48);
9562
9641
  ɵɵelementStart(3, "span");
9563
9642
  ɵɵtext(4);
9564
9643
  ɵɵelementEnd();
9565
9644
  ɵɵelementStart(5, "span");
9566
- ɵɵi18n(6, 60);
9645
+ ɵɵi18n(6, 70);
9567
9646
  ɵɵelementEnd();
9568
9647
  ɵɵelementEnd();
9569
9648
  ɵɵelementEnd();
@@ -9581,23 +9660,23 @@ function RecipeCardComponent_div_0_ng_template_14_Template(rf, ctx) { if (rf & 1
9581
9660
  ɵɵproperty("type", ctx_r13.skeleton == null ? null : ctx_r13.skeleton.IconWithInfo);
9582
9661
  } }
9583
9662
  function RecipeCardComponent_div_0_div_21_div_5_Template(rf, ctx) { if (rf & 1) {
9584
- ɵɵelementStart(0, "div", 64);
9663
+ ɵɵelementStart(0, "div", 74);
9585
9664
  ɵɵtext(1);
9586
9665
  ɵɵelementEnd();
9587
9666
  } if (rf & 2) {
9588
- const ctx_r41 = ɵɵnextContext(3);
9667
+ const ctx_r53 = ɵɵnextContext(3);
9589
9668
  ɵɵadvance(1);
9590
- ɵɵtextInterpolate1(" + ", ctx_r41.recipe.modifiedIngredients.length - 2, " ");
9669
+ ɵɵtextInterpolate1(" + ", ctx_r53.recipe.modifiedIngredients.length - 2, " ");
9591
9670
  } }
9592
9671
  function RecipeCardComponent_div_0_div_21_Template(rf, ctx) { if (rf & 1) {
9593
- ɵɵelementStart(0, "div", 61);
9594
- ɵɵelementStart(1, "div", 62);
9672
+ ɵɵelementStart(0, "div", 71);
9673
+ ɵɵelementStart(1, "div", 72);
9595
9674
  ɵɵelement(2, "img", 42);
9596
9675
  ɵɵelementEnd();
9597
- ɵɵelementStart(3, "div", 62);
9676
+ ɵɵelementStart(3, "div", 72);
9598
9677
  ɵɵelement(4, "img", 42);
9599
9678
  ɵɵelementEnd();
9600
- ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div", 63);
9679
+ ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div", 73);
9601
9680
  ɵɵelementEnd();
9602
9681
  } if (rf & 2) {
9603
9682
  const ctx_r14 = ɵɵnextContext(2);
@@ -9609,10 +9688,10 @@ function RecipeCardComponent_div_0_div_21_Template(rf, ctx) { if (rf & 1) {
9609
9688
  ɵɵproperty("ngIf", ctx_r14.recipe.modifiedIngredients.length > 2);
9610
9689
  } }
9611
9690
  function RecipeCardComponent_div_0_div_22_Template(rf, ctx) { if (rf & 1) {
9612
- const _r43 = ɵɵgetCurrentView();
9613
- ɵɵelementStart(0, "div", 65);
9614
- ɵɵelementStart(1, "ng-miam-counter-input", 66);
9615
- ɵɵlistener("counterChange", function RecipeCardComponent_div_0_div_22_Template_ng_miam_counter_input_counterChange_1_listener($event) { ɵɵrestoreView(_r43); const ctx_r42 = ɵɵnextContext(2); return ctx_r42.updateGuests($event); });
9691
+ const _r55 = ɵɵgetCurrentView();
9692
+ ɵɵelementStart(0, "div", 75);
9693
+ ɵɵelementStart(1, "ng-miam-counter-input", 76);
9694
+ ɵɵlistener("counterChange", function RecipeCardComponent_div_0_div_22_Template_ng_miam_counter_input_counterChange_1_listener($event) { ɵɵrestoreView(_r55); const ctx_r54 = ɵɵnextContext(2); return ctx_r54.updateGuests($event); });
9616
9695
  ɵɵelementEnd();
9617
9696
  ɵɵelementEnd();
9618
9697
  } if (rf & 2) {
@@ -9627,8 +9706,8 @@ function RecipeCardComponent_div_0_ng_template_23_Template(rf, ctx) { if (rf & 1
9627
9706
  ɵɵproperty("type", ctx_r17.skeleton == null ? null : ctx_r17.skeleton.IconWithInfo);
9628
9707
  } }
9629
9708
  function RecipeCardComponent_div_0_div_26_Template(rf, ctx) { if (rf & 1) {
9630
- ɵɵelementStart(0, "div", 67);
9631
- ɵɵelement(1, "ng-miam-recipe-pricing", 68);
9709
+ ɵɵelementStart(0, "div", 77);
9710
+ ɵɵelement(1, "ng-miam-recipe-pricing", 78);
9632
9711
  ɵɵelementEnd();
9633
9712
  } if (rf & 2) {
9634
9713
  const ctx_r18 = ɵɵnextContext(2);
@@ -9637,12 +9716,12 @@ function RecipeCardComponent_div_0_div_26_Template(rf, ctx) { if (rf & 1) {
9637
9716
  } }
9638
9717
  function RecipeCardComponent_div_0_span_31_Template(rf, ctx) { if (rf & 1) {
9639
9718
  ɵɵelementStart(0, "span");
9640
- ɵɵi18n(1, 69);
9719
+ ɵɵi18n(1, 79);
9641
9720
  ɵɵelementEnd();
9642
9721
  } }
9643
9722
  function RecipeCardComponent_div_0_ng_container_33_span_1_Template(rf, ctx) { if (rf & 1) {
9644
9723
  ɵɵelementStart(0, "span");
9645
- ɵɵi18n(1, 70);
9724
+ ɵɵi18n(1, 80);
9646
9725
  ɵɵelementEnd();
9647
9726
  } }
9648
9727
  function RecipeCardComponent_div_0_ng_container_33_Template(rf, ctx) { if (rf & 1) {
@@ -9657,7 +9736,7 @@ function RecipeCardComponent_div_0_ng_container_33_Template(rf, ctx) { if (rf &
9657
9736
  } }
9658
9737
  function RecipeCardComponent_div_0_ng_template_34_span_0_Template(rf, ctx) { if (rf & 1) {
9659
9738
  ɵɵelementStart(0, "span");
9660
- ɵɵi18n(1, 71);
9739
+ ɵɵi18n(1, 81);
9661
9740
  ɵɵelementEnd();
9662
9741
  } }
9663
9742
  function RecipeCardComponent_div_0_ng_template_34_Template(rf, ctx) { if (rf & 1) {
@@ -9668,7 +9747,7 @@ function RecipeCardComponent_div_0_ng_template_34_Template(rf, ctx) { if (rf & 1
9668
9747
  ɵɵproperty("ngIf", !ɵɵpipeBind1(1, 1, ctx_r22.groceriesListsService.recipeIsInList(ctx_r22.recipe == null ? null : ctx_r22.recipe.id)));
9669
9748
  } }
9670
9749
  function RecipeCardComponent_div_0_ng_miam_icon_36_Template(rf, ctx) { if (rf & 1) {
9671
- ɵɵelement(0, "ng-miam-icon", 72);
9750
+ ɵɵelement(0, "ng-miam-icon", 82);
9672
9751
  ɵɵpipe(1, "async");
9673
9752
  } if (rf & 2) {
9674
9753
  const ctx_r23 = ɵɵnextContext(2);
@@ -9679,7 +9758,7 @@ function RecipeCardComponent_div_0_ng_template_37_Template(rf, ctx) { if (rf & 1
9679
9758
  } }
9680
9759
  const _c17 = function (a0, a1) { return { "in-basket": a0, "loading": a1 }; };
9681
9760
  function RecipeCardComponent_div_0_Template(rf, ctx) { if (rf & 1) {
9682
- const _r47 = ɵɵgetCurrentView();
9761
+ const _r59 = ɵɵgetCurrentView();
9683
9762
  ɵɵelementStart(0, "div", 2);
9684
9763
  ɵɵelementStart(1, "div", 3);
9685
9764
  ɵɵelement(2, "img", 4);
@@ -9699,7 +9778,7 @@ function RecipeCardComponent_div_0_Template(rf, ctx) { if (rf & 1) {
9699
9778
  ɵɵelementStart(17, "div", 16);
9700
9779
  ɵɵelementStart(18, "div", 17);
9701
9780
  ɵɵelementStart(19, "div", 18);
9702
- ɵɵlistener("click", function RecipeCardComponent_div_0_Template_div_click_19_listener() { ɵɵrestoreView(_r47); const ctx_r46 = ɵɵnextContext(); return ctx_r46.toggleHelper(); });
9781
+ ɵɵlistener("click", function RecipeCardComponent_div_0_Template_div_click_19_listener() { ɵɵrestoreView(_r59); const ctx_r58 = ɵɵnextContext(); return ctx_r58.toggleHelper(); });
9703
9782
  ɵɵelement(20, "ng-miam-icon", 19);
9704
9783
  ɵɵelementEnd();
9705
9784
  ɵɵtemplate(21, RecipeCardComponent_div_0_div_21_Template, 6, 3, "div", 20);
@@ -9713,7 +9792,7 @@ function RecipeCardComponent_div_0_Template(rf, ctx) { if (rf & 1) {
9713
9792
  ɵɵelementEnd();
9714
9793
  ɵɵelementStart(27, "div", 25);
9715
9794
  ɵɵelementStart(28, "button", 26);
9716
- ɵɵlistener("click", function RecipeCardComponent_div_0_Template_button_click_28_listener() { ɵɵrestoreView(_r47); const ctx_r48 = ɵɵnextContext(); return ctx_r48.clickPrimary(); });
9795
+ ɵɵlistener("click", function RecipeCardComponent_div_0_Template_button_click_28_listener() { ɵɵrestoreView(_r59); const ctx_r60 = ɵɵnextContext(); return ctx_r60.clickPrimary(); });
9717
9796
  ɵɵpipe(29, "async");
9718
9797
  ɵɵelementStart(30, "span");
9719
9798
  ɵɵtemplate(31, RecipeCardComponent_div_0_span_31_Template, 2, 0, "span", 27);
@@ -9877,26 +9956,26 @@ class RecipeCardComponent extends AbstractRecipeCardComponent {
9877
9956
  }
9878
9957
  RecipeCardComponent.ɵfac = function RecipeCardComponent_Factory(t) { return new (t || RecipeCardComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(RecipesService), ɵɵdirectiveInject(RecipeEventsService), ɵɵdirectiveInject(GroceriesListsService), ɵɵdirectiveInject(UserService), ɵɵdirectiveInject(PointOfSalesService), ɵɵdirectiveInject(ContextService), ɵɵdirectiveInject(AnalyticsService), ɵɵdirectiveInject(ElementRef), ɵɵdirectiveInject(ToasterService)); };
9879
9958
  RecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeCardComponent, selectors: [["ng-miam-recipe-card"]], inputs: { recipeId: "recipeId", recipe: "recipe" }, outputs: { removedFromFavorite: "removedFromFavorite", displayed: "displayed", guestsChanged: "guestsChanged" }, features: [ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature], decls: 3, vars: 1, consts: function () { var i18n_0; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
9880
- const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____1 = goog.getMsg("Chef d\u00E9butant");
9881
- i18n_0 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____1;
9959
+ const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____1 = goog.getMsg("Chef d\u00E9butant");
9960
+ i18n_0 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____1;
9882
9961
  }
9883
9962
  else {
9884
9963
  i18n_0 = $localize `:␟96cca7cb17582a9b01053a242ca907b721fad7fe␟3684169623116339825:Chef débutant`;
9885
9964
  } var i18n_2; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
9886
- const MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____3 = goog.getMsg("Chef interm\u00E9diaire");
9887
- i18n_2 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____3;
9965
+ const MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____3 = goog.getMsg("Chef interm\u00E9diaire");
9966
+ i18n_2 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____3;
9888
9967
  }
9889
9968
  else {
9890
9969
  i18n_2 = $localize `:␟ccfd103e2bbd9a80c6d3a226332a77c93c88d871␟7733455880752157102:Chef intermédiaire`;
9891
9970
  } var i18n_4; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
9892
- const MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____5 = goog.getMsg("Top chef");
9893
- i18n_4 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____5;
9971
+ const MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____5 = goog.getMsg("Top chef");
9972
+ i18n_4 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____5;
9894
9973
  }
9895
9974
  else {
9896
9975
  i18n_4 = $localize `:␟fb603a6dffb1bfa95a9b7eda7e134156ab67f0b3␟8735393154824887316:Top chef`;
9897
9976
  } var i18n_6; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
9898
- const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____7 = goog.getMsg("Chef d\u00E9butant");
9899
- i18n_6 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____7;
9977
+ const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____7 = goog.getMsg("Chef d\u00E9butant");
9978
+ i18n_6 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____7;
9900
9979
  }
9901
9980
  else {
9902
9981
  i18n_6 = $localize `:␟96cca7cb17582a9b01053a242ca907b721fad7fe␟3684169623116339825:Chef débutant`;
@@ -9924,7 +10003,7 @@ RecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeCardComponent, sel
9924
10003
  }
9925
10004
  else {
9926
10005
  i18n_15 = $localize `:␟e3d3d7039794cbbd2e16e8548bfbf9ee8fa29247␟1225769932237505428:Ajouter les ingrédients`;
9927
- } return [["class", "miam-recipe-card", 4, "ngIf"], ["cors", ""], [1, "miam-recipe-card"], [1, "miam-recipe-card__bookmark"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-card/Bookmark.svg", "alt", "Id\u00E9es repas"], ["class", "miam-recipe-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-recipe-card__attributes"], [4, "ngIf", "ngIfElse"], ["textSkeleton", ""], [1, "miam-recipe-card__attributes__infos"], ["class", "miam-recipe-card__attributes__info recipe__total__time", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__attributes__info recipe__difficulty", 3, "ngClass", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__attributes__info recipe__ingredients", 4, "ngIf", "ngIfElse"], ["skeletonInfo", ""], [1, "miam-recipe-card__attributes__control"], [1, "miam-recipe-card__control__left__col"], [1, "miam-recipe-card__left__col__custom"], [1, "miam-recipe-card__help", 3, "click"], ["primaryColor", "var(--m-color-grey02)", "secondaryColor", "var(--m-color-grey07)", 3, "width", "height", "iconName"], ["class", "miam-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-recipe-card__left__col__counter", 4, "ngIf", "ngIfElse"], ["skeletoncounter", ""], [1, "miam-recipe-card__control__right__col"], ["class", "miam-recipe-card__right__col__price", 4, "ngIf"], [1, "miam-recipe-card__cta"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [4, "ngIf"], ["originalCTA", ""], ["primaryColor", "#fff", 3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-recipe-card__picture", 3, "click"], ["loading", "lazy", 3, "src"], ["class", "miam-recipe-card__picture__video", 4, "ngIf"], [1, "miam-recipe-card__picture__actions"], ["class", "miam-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], ["class", "miam-recipe-card__picture__sponsor", 4, "ngIf"], ["class", "miam-recipe-card__picture__filigrane", 4, "ngIf"], [1, "miam-recipe-card__picture__video"], ["primaryColor", "black", 3, "iconName", "width", "height"], [1, "miam-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-recipe-card__picture__sponsor"], [3, "src"], [1, "miam-recipe-card__picture__filigrane"], [3, "type"], [1, "miam-recipe-card__attributes__title", 3, "click"], [1, "miam-recipe-card__attributes__info", "recipe__total__time"], [3, "width", "height", "iconName"], [1, "miam-recipe-card__info__label"], [1, "miam-recipe-card__attributes__info", "recipe__difficulty", 3, "ngClass"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-color-black)", 3, "width", "height", "iconName"], i18n_0, i18n_2, i18n_4, i18n_6, [1, "miam-recipe-card__attributes__info", "recipe__ingredients"], [3, "iconName"], i18n_9, [1, "miam-recipe-card__ingredients__pictures"], [1, "miam-recipe-card__ingredients__picture"], ["class", "miam-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-recipe-card__ingredients__more"], [1, "miam-recipe-card__left__col__counter"], [3, "counter", "counterChange"], [1, "miam-recipe-card__right__col__price"], [3, "recipe", "serves"], i18n_11, i18n_13, i18n_15, ["primaryColor", "#fff", 3, "width", "height", "iconName"]]; }, template: function RecipeCardComponent_Template(rf, ctx) { if (rf & 1) {
10006
+ } return [["class", "miam-recipe-card", 4, "ngIf"], ["cors", ""], [1, "miam-recipe-card"], [1, "miam-recipe-card__bookmark"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-card/Bookmark.svg", "alt", "Id\u00E9es repas"], ["class", "miam-recipe-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-recipe-card__attributes"], [4, "ngIf", "ngIfElse"], ["textSkeleton", ""], [1, "miam-recipe-card__attributes__infos"], ["class", "miam-recipe-card__attributes__info recipe__total__time", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__attributes__info recipe__difficulty", 3, "ngClass", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__attributes__info recipe__ingredients", 4, "ngIf", "ngIfElse"], ["skeletonInfo", ""], [1, "miam-recipe-card__attributes__control"], [1, "miam-recipe-card__control__left__col"], [1, "miam-recipe-card__left__col__custom"], [1, "miam-recipe-card__help", 3, "click"], ["primaryColor", "var(--m-color-grey02)", "secondaryColor", "var(--m-color-grey07)", 3, "width", "height", "iconName"], ["class", "miam-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-recipe-card__left__col__counter", 4, "ngIf", "ngIfElse"], ["skeletoncounter", ""], [1, "miam-recipe-card__control__right__col"], ["class", "miam-recipe-card__right__col__price", 4, "ngIf"], [1, "miam-recipe-card__cta"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [4, "ngIf"], ["originalCTA", ""], ["primaryColor", "#fff", 3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-recipe-card__picture", 3, "click"], ["loading", "lazy", 3, "src"], ["class", "miam-recipe-card__picture__video", 4, "ngIf"], [1, "miam-recipe-card__picture__actions"], ["class", "miam-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], ["class", "miam-recipe-card__picture__sponsor", 4, "ngIf"], ["class", "miam-recipe-card__picture__filigrane", 4, "ngIf"], [1, "miam-recipe-card__picture__video"], ["primaryColor", "black", 3, "iconName", "width", "height"], [1, "miam-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-recipe-card__picture__sponsor"], [3, "src"], [1, "miam-recipe-card__picture__filigrane"], [3, "type"], [1, "miam-recipe-card__attributes__title", 3, "click"], [1, "miam-recipe-card__attributes__info", "recipe__total__time"], [3, "width", "height", "iconName"], [1, "miam-recipe-card__info__label"], [1, "miam-recipe-card__attributes__info", "recipe__difficulty", 3, "ngClass"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-color-black)", 3, "width", "height", "iconName"], ["class", "miam-recipe-card__info__label easy", 4, "ngIf", "ngIfElse"], ["difficultyEasyDefault", ""], [1, "miam-recipe-card__info__label", "easy"], i18n_0, ["class", "miam-recipe-card__info__label medium", 4, "ngIf", "ngIfElse"], ["difficultyMediumDefault", ""], [1, "miam-recipe-card__info__label", "medium"], i18n_2, ["class", "miam-recipe-card__info__label hard", 4, "ngIf", "ngIfElse"], ["difficultyHardDefault", ""], [1, "miam-recipe-card__info__label", "hard"], i18n_4, ["difficultyDefault", ""], i18n_6, [1, "miam-recipe-card__attributes__info", "recipe__ingredients"], [3, "iconName"], i18n_9, [1, "miam-recipe-card__ingredients__pictures"], [1, "miam-recipe-card__ingredients__picture"], ["class", "miam-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-recipe-card__ingredients__more"], [1, "miam-recipe-card__left__col__counter"], [3, "counter", "counterChange"], [1, "miam-recipe-card__right__col__price"], [3, "recipe", "serves"], i18n_11, i18n_13, i18n_15, ["primaryColor", "#fff", 3, "width", "height", "iconName"]]; }, template: function RecipeCardComponent_Template(rf, ctx) { if (rf & 1) {
9928
10007
  ɵɵtemplate(0, RecipeCardComponent_div_0_Template, 39, 31, "div", 0);
9929
10008
  ɵɵtemplate(1, RecipeCardComponent_ng_template_1_Template, 1, 0, "ng-template", null, 1, ɵɵtemplateRefExtractor);
9930
10009
  } if (rf & 2) {
@@ -13476,40 +13555,112 @@ function RecipeDetailsInfosComponent_ng_container_6_Template(rf, ctx) { if (rf &
13476
13555
  ɵɵadvance(1);
13477
13556
  ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r2.icon.DifficultyLow);
13478
13557
  } }
13558
+ function RecipeDetailsInfosComponent_ng_container_8_span_1_Template(rf, ctx) { if (rf & 1) {
13559
+ ɵɵelementStart(0, "span", 17);
13560
+ ɵɵtext(1);
13561
+ ɵɵelementEnd();
13562
+ } if (rf & 2) {
13563
+ const ctx_r10 = ɵɵnextContext(2);
13564
+ ɵɵadvance(1);
13565
+ ɵɵtextInterpolate1(" ", ctx_r10.recipesService.difficultyLevels[0].label, " ");
13566
+ } }
13567
+ function RecipeDetailsInfosComponent_ng_container_8_ng_template_2_Template(rf, ctx) { if (rf & 1) {
13568
+ ɵɵelementStart(0, "span", 17);
13569
+ ɵɵi18n(1, 18);
13570
+ ɵɵelementEnd();
13571
+ } }
13479
13572
  function RecipeDetailsInfosComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) {
13480
13573
  ɵɵelementContainerStart(0);
13481
- ɵɵelementStart(1, "span", 15);
13482
- ɵɵi18n(2, 16);
13483
- ɵɵelementEnd();
13574
+ ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_8_span_1_Template, 2, 1, "span", 15);
13575
+ ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_8_ng_template_2_Template, 2, 0, "ng-template", null, 16, ɵɵtemplateRefExtractor);
13484
13576
  ɵɵelementContainerEnd();
13577
+ } if (rf & 2) {
13578
+ const _r11 = ɵɵreference(3);
13579
+ const ctx_r3 = ɵɵnextContext();
13580
+ ɵɵadvance(1);
13581
+ ɵɵproperty("ngIf", (ctx_r3.recipesService.difficultyLevels[0] == null ? null : ctx_r3.recipesService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r11);
13582
+ } }
13583
+ function RecipeDetailsInfosComponent_ng_container_9_span_1_Template(rf, ctx) { if (rf & 1) {
13584
+ ɵɵelementStart(0, "span", 21);
13585
+ ɵɵtext(1);
13586
+ ɵɵelementEnd();
13587
+ } if (rf & 2) {
13588
+ const ctx_r13 = ɵɵnextContext(2);
13589
+ ɵɵadvance(1);
13590
+ ɵɵtextInterpolate1(" ", ctx_r13.recipesService.difficultyLevels[1].label, " ");
13591
+ } }
13592
+ function RecipeDetailsInfosComponent_ng_container_9_ng_template_2_Template(rf, ctx) { if (rf & 1) {
13593
+ ɵɵelementStart(0, "span", 21);
13594
+ ɵɵi18n(1, 22);
13595
+ ɵɵelementEnd();
13485
13596
  } }
13486
13597
  function RecipeDetailsInfosComponent_ng_container_9_Template(rf, ctx) { if (rf & 1) {
13487
13598
  ɵɵelementContainerStart(0);
13488
- ɵɵelementStart(1, "span", 15);
13489
- ɵɵi18n(2, 17);
13490
- ɵɵelementEnd();
13599
+ ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_9_span_1_Template, 2, 1, "span", 19);
13600
+ ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_9_ng_template_2_Template, 2, 0, "ng-template", null, 20, ɵɵtemplateRefExtractor);
13491
13601
  ɵɵelementContainerEnd();
13602
+ } if (rf & 2) {
13603
+ const _r14 = ɵɵreference(3);
13604
+ const ctx_r4 = ɵɵnextContext();
13605
+ ɵɵadvance(1);
13606
+ ɵɵproperty("ngIf", (ctx_r4.recipesService.difficultyLevels[1] == null ? null : ctx_r4.recipesService.difficultyLevels[1].label) !== "Chef interm\u00E9diaire")("ngIfElse", _r14);
13607
+ } }
13608
+ function RecipeDetailsInfosComponent_ng_container_10_span_1_Template(rf, ctx) { if (rf & 1) {
13609
+ ɵɵelementStart(0, "span", 25);
13610
+ ɵɵtext(1);
13611
+ ɵɵelementEnd();
13612
+ } if (rf & 2) {
13613
+ const ctx_r16 = ɵɵnextContext(2);
13614
+ ɵɵadvance(1);
13615
+ ɵɵtextInterpolate1(" ", ctx_r16.recipesService.difficultyLevels[2].label, " ");
13616
+ } }
13617
+ function RecipeDetailsInfosComponent_ng_container_10_ng_template_2_Template(rf, ctx) { if (rf & 1) {
13618
+ ɵɵelementStart(0, "span", 25);
13619
+ ɵɵi18n(1, 26);
13620
+ ɵɵelementEnd();
13492
13621
  } }
13493
13622
  function RecipeDetailsInfosComponent_ng_container_10_Template(rf, ctx) { if (rf & 1) {
13494
13623
  ɵɵelementContainerStart(0);
13495
- ɵɵelementStart(1, "span", 15);
13496
- ɵɵi18n(2, 18);
13497
- ɵɵelementEnd();
13624
+ ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_10_span_1_Template, 2, 1, "span", 23);
13625
+ ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_10_ng_template_2_Template, 2, 0, "ng-template", null, 24, ɵɵtemplateRefExtractor);
13498
13626
  ɵɵelementContainerEnd();
13627
+ } if (rf & 2) {
13628
+ const _r17 = ɵɵreference(3);
13629
+ const ctx_r5 = ɵɵnextContext();
13630
+ ɵɵadvance(1);
13631
+ ɵɵproperty("ngIf", (ctx_r5.recipesService.difficultyLevels[2] == null ? null : ctx_r5.recipesService.difficultyLevels[2].label) !== "Top chef")("ngIfElse", _r17);
13632
+ } }
13633
+ function RecipeDetailsInfosComponent_ng_container_11_span_1_Template(rf, ctx) { if (rf & 1) {
13634
+ ɵɵelementStart(0, "span", 17);
13635
+ ɵɵtext(1);
13636
+ ɵɵelementEnd();
13637
+ } if (rf & 2) {
13638
+ const ctx_r19 = ɵɵnextContext(2);
13639
+ ɵɵadvance(1);
13640
+ ɵɵtextInterpolate1(" ", ctx_r19.recipesService.difficultyLevels[0].label, " ");
13641
+ } }
13642
+ function RecipeDetailsInfosComponent_ng_container_11_ng_template_2_Template(rf, ctx) { if (rf & 1) {
13643
+ ɵɵelementStart(0, "span", 17);
13644
+ ɵɵi18n(1, 28);
13645
+ ɵɵelementEnd();
13499
13646
  } }
13500
13647
  function RecipeDetailsInfosComponent_ng_container_11_Template(rf, ctx) { if (rf & 1) {
13501
13648
  ɵɵelementContainerStart(0);
13502
- ɵɵelementStart(1, "span", 15);
13503
- ɵɵi18n(2, 19);
13504
- ɵɵelementEnd();
13649
+ ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_11_span_1_Template, 2, 1, "span", 15);
13650
+ ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_11_ng_template_2_Template, 2, 0, "ng-template", null, 27, ɵɵtemplateRefExtractor);
13505
13651
  ɵɵelementContainerEnd();
13652
+ } if (rf & 2) {
13653
+ const _r20 = ɵɵreference(3);
13654
+ const ctx_r6 = ɵɵnextContext();
13655
+ ɵɵadvance(1);
13656
+ ɵɵproperty("ngIf", (ctx_r6.recipesService.difficultyLevels[0] == null ? null : ctx_r6.recipesService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r20);
13506
13657
  } }
13507
13658
  function RecipeDetailsInfosComponent_div_19_Template(rf, ctx) { if (rf & 1) {
13508
13659
  ɵɵelementStart(0, "div", 6);
13509
13660
  ɵɵelement(1, "ng-miam-icon", 7);
13510
13661
  ɵɵelementStart(2, "div", 8);
13511
13662
  ɵɵelementStart(3, "span");
13512
- ɵɵi18n(4, 20);
13663
+ ɵɵi18n(4, 29);
13513
13664
  ɵɵelementEnd();
13514
13665
  ɵɵelementStart(5, "span");
13515
13666
  ɵɵtext(6);
@@ -13524,11 +13675,11 @@ function RecipeDetailsInfosComponent_div_19_Template(rf, ctx) { if (rf & 1) {
13524
13675
  ɵɵtextInterpolate(ctx_r7.recipe == null ? null : ctx_r7.recipe.cookingTime);
13525
13676
  } }
13526
13677
  function RecipeDetailsInfosComponent_div_21_div_1_Template(rf, ctx) { if (rf & 1) {
13527
- ɵɵelementStart(0, "div", 23);
13678
+ ɵɵelementStart(0, "div", 32);
13528
13679
  ɵɵelement(1, "ng-miam-icon", 7);
13529
13680
  ɵɵelementStart(2, "div", 8);
13530
13681
  ɵɵelementStart(3, "span");
13531
- ɵɵi18n(4, 24);
13682
+ ɵɵi18n(4, 33);
13532
13683
  ɵɵelementEnd();
13533
13684
  ɵɵelementStart(5, "span");
13534
13685
  ɵɵtext(6);
@@ -13536,18 +13687,18 @@ function RecipeDetailsInfosComponent_div_21_div_1_Template(rf, ctx) { if (rf & 1
13536
13687
  ɵɵelementEnd();
13537
13688
  ɵɵelementEnd();
13538
13689
  } if (rf & 2) {
13539
- const ctx_r10 = ɵɵnextContext(2);
13690
+ const ctx_r22 = ɵɵnextContext(2);
13540
13691
  ɵɵadvance(1);
13541
- ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r10.icon.Preparation);
13692
+ ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r22.icon.Preparation);
13542
13693
  ɵɵadvance(5);
13543
- ɵɵtextInterpolate(ctx_r10.recipe == null ? null : ctx_r10.recipe.preparationTime);
13694
+ ɵɵtextInterpolate(ctx_r22.recipe == null ? null : ctx_r22.recipe.preparationTime);
13544
13695
  } }
13545
13696
  function RecipeDetailsInfosComponent_div_21_div_2_Template(rf, ctx) { if (rf & 1) {
13546
- ɵɵelementStart(0, "div", 23);
13697
+ ɵɵelementStart(0, "div", 32);
13547
13698
  ɵɵelement(1, "ng-miam-icon", 7);
13548
13699
  ɵɵelementStart(2, "div", 8);
13549
13700
  ɵɵelementStart(3, "span");
13550
- ɵɵi18n(4, 25);
13701
+ ɵɵi18n(4, 34);
13551
13702
  ɵɵelementEnd();
13552
13703
  ɵɵelementStart(5, "span");
13553
13704
  ɵɵtext(6);
@@ -13555,18 +13706,18 @@ function RecipeDetailsInfosComponent_div_21_div_2_Template(rf, ctx) { if (rf & 1
13555
13706
  ɵɵelementEnd();
13556
13707
  ɵɵelementEnd();
13557
13708
  } if (rf & 2) {
13558
- const ctx_r11 = ɵɵnextContext(2);
13709
+ const ctx_r23 = ɵɵnextContext(2);
13559
13710
  ɵɵadvance(1);
13560
- ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r11.icon.Hot);
13711
+ ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r23.icon.Hot);
13561
13712
  ɵɵadvance(5);
13562
- ɵɵtextInterpolate(ctx_r11.recipe == null ? null : ctx_r11.recipe.cookingTime);
13713
+ ɵɵtextInterpolate(ctx_r23.recipe == null ? null : ctx_r23.recipe.cookingTime);
13563
13714
  } }
13564
13715
  function RecipeDetailsInfosComponent_div_21_div_3_Template(rf, ctx) { if (rf & 1) {
13565
- ɵɵelementStart(0, "div", 23);
13716
+ ɵɵelementStart(0, "div", 32);
13566
13717
  ɵɵelement(1, "ng-miam-icon", 7);
13567
13718
  ɵɵelementStart(2, "div", 8);
13568
13719
  ɵɵelementStart(3, "span");
13569
- ɵɵi18n(4, 26);
13720
+ ɵɵi18n(4, 35);
13570
13721
  ɵɵelementEnd();
13571
13722
  ɵɵelementStart(5, "span");
13572
13723
  ɵɵtext(6);
@@ -13574,17 +13725,17 @@ function RecipeDetailsInfosComponent_div_21_div_3_Template(rf, ctx) { if (rf & 1
13574
13725
  ɵɵelementEnd();
13575
13726
  ɵɵelementEnd();
13576
13727
  } if (rf & 2) {
13577
- const ctx_r12 = ɵɵnextContext(2);
13728
+ const ctx_r24 = ɵɵnextContext(2);
13578
13729
  ɵɵadvance(1);
13579
- ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r12.icon.Wait);
13730
+ ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r24.icon.Wait);
13580
13731
  ɵɵadvance(5);
13581
- ɵɵtextInterpolate(ctx_r12.recipe == null ? null : ctx_r12.recipe.restingTime);
13732
+ ɵɵtextInterpolate(ctx_r24.recipe == null ? null : ctx_r24.recipe.restingTime);
13582
13733
  } }
13583
13734
  function RecipeDetailsInfosComponent_div_21_Template(rf, ctx) { if (rf & 1) {
13584
- ɵɵelementStart(0, "div", 21);
13585
- ɵɵtemplate(1, RecipeDetailsInfosComponent_div_21_div_1_Template, 7, 4, "div", 22);
13586
- ɵɵtemplate(2, RecipeDetailsInfosComponent_div_21_div_2_Template, 7, 4, "div", 22);
13587
- ɵɵtemplate(3, RecipeDetailsInfosComponent_div_21_div_3_Template, 7, 4, "div", 22);
13735
+ ɵɵelementStart(0, "div", 30);
13736
+ ɵɵtemplate(1, RecipeDetailsInfosComponent_div_21_div_1_Template, 7, 4, "div", 31);
13737
+ ɵɵtemplate(2, RecipeDetailsInfosComponent_div_21_div_2_Template, 7, 4, "div", 31);
13738
+ ɵɵtemplate(3, RecipeDetailsInfosComponent_div_21_div_3_Template, 7, 4, "div", 31);
13588
13739
  ɵɵelementEnd();
13589
13740
  } if (rf & 2) {
13590
13741
  const ctx_r8 = ɵɵnextContext();
@@ -13596,30 +13747,30 @@ function RecipeDetailsInfosComponent_div_21_Template(rf, ctx) { if (rf & 1) {
13596
13747
  ɵɵproperty("ngIf", (ctx_r8.recipe == null ? null : ctx_r8.recipe.restingTime) !== "-");
13597
13748
  } }
13598
13749
  function RecipeDetailsInfosComponent_div_22_div_1_img_1_Template(rf, ctx) { if (rf & 1) {
13599
- ɵɵelement(0, "img", 32);
13750
+ ɵɵelement(0, "img", 41);
13600
13751
  } if (rf & 2) {
13601
- const tag_r14 = ɵɵnextContext().$implicit;
13602
- ɵɵproperty("src", tag_r14.attributes.icon, ɵɵsanitizeUrl);
13752
+ const tag_r26 = ɵɵnextContext().$implicit;
13753
+ ɵɵproperty("src", tag_r26.attributes.icon, ɵɵsanitizeUrl);
13603
13754
  } }
13604
13755
  function RecipeDetailsInfosComponent_div_22_div_1_Template(rf, ctx) { if (rf & 1) {
13605
- ɵɵelementStart(0, "div", 29);
13606
- ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_img_1_Template, 1, 1, "img", 30);
13607
- ɵɵelementStart(2, "span", 31);
13756
+ ɵɵelementStart(0, "div", 38);
13757
+ ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_img_1_Template, 1, 1, "img", 39);
13758
+ ɵɵelementStart(2, "span", 40);
13608
13759
  ɵɵtext(3);
13609
13760
  ɵɵelementEnd();
13610
13761
  ɵɵelementEnd();
13611
13762
  } if (rf & 2) {
13612
- const tag_r14 = ctx.$implicit;
13613
- const ctx_r13 = ɵɵnextContext(2);
13614
- ɵɵproperty("ngClass", ctx_r13.tagClass(tag_r14));
13763
+ const tag_r26 = ctx.$implicit;
13764
+ const ctx_r25 = ɵɵnextContext(2);
13765
+ ɵɵproperty("ngClass", ctx_r25.tagClass(tag_r26));
13615
13766
  ɵɵadvance(1);
13616
- ɵɵproperty("ngIf", ctx_r13.displayTagsIcons);
13767
+ ɵɵproperty("ngIf", ctx_r25.displayTagsIcons);
13617
13768
  ɵɵadvance(2);
13618
- ɵɵtextInterpolate1(" ", tag_r14.name, " ");
13769
+ ɵɵtextInterpolate1(" ", tag_r26.name, " ");
13619
13770
  } }
13620
13771
  function RecipeDetailsInfosComponent_div_22_Template(rf, ctx) { if (rf & 1) {
13621
- ɵɵelementStart(0, "div", 27);
13622
- ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_Template, 4, 3, "div", 28);
13772
+ ɵɵelementStart(0, "div", 36);
13773
+ ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_Template, 4, 3, "div", 37);
13623
13774
  ɵɵelementEnd();
13624
13775
  } if (rf & 2) {
13625
13776
  const ctx_r9 = ɵɵnextContext();
@@ -13663,26 +13814,26 @@ RecipeDetailsInfosComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeDetailsInf
13663
13814
  else {
13664
13815
  i18n_0 = $localize `:␟8ab1e7d73efd46f5bd0a4656ac4d2d526d9fd86e␟5781436871887557035: Temps total : `;
13665
13816
  } var i18n_2; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
13666
- const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__3 = goog.getMsg("Chef d\u00E9butant");
13667
- i18n_2 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__3;
13817
+ const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___3 = goog.getMsg("Chef d\u00E9butant");
13818
+ i18n_2 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___3;
13668
13819
  }
13669
13820
  else {
13670
13821
  i18n_2 = $localize `:␟96cca7cb17582a9b01053a242ca907b721fad7fe␟3684169623116339825:Chef débutant`;
13671
13822
  } var i18n_4; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
13672
- const MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__5 = goog.getMsg("Chef interm\u00E9diaire");
13673
- i18n_4 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__5;
13823
+ const MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___5 = goog.getMsg("Chef interm\u00E9diaire");
13824
+ i18n_4 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___5;
13674
13825
  }
13675
13826
  else {
13676
13827
  i18n_4 = $localize `:␟ccfd103e2bbd9a80c6d3a226332a77c93c88d871␟7733455880752157102:Chef intermédiaire`;
13677
13828
  } var i18n_6; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
13678
- const MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__7 = goog.getMsg("Top chef");
13679
- i18n_6 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__7;
13829
+ const MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___7 = goog.getMsg("Top chef");
13830
+ i18n_6 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___7;
13680
13831
  }
13681
13832
  else {
13682
13833
  i18n_6 = $localize `:␟fb603a6dffb1bfa95a9b7eda7e134156ab67f0b3␟8735393154824887316:Top chef`;
13683
13834
  } var i18n_8; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
13684
- const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__9 = goog.getMsg("Chef d\u00E9butant");
13685
- i18n_8 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__9;
13835
+ const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___9 = goog.getMsg("Chef d\u00E9butant");
13836
+ i18n_8 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___9;
13686
13837
  }
13687
13838
  else {
13688
13839
  i18n_8 = $localize `:␟96cca7cb17582a9b01053a242ca907b721fad7fe␟3684169623116339825:Chef débutant`;
@@ -13710,7 +13861,7 @@ RecipeDetailsInfosComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeDetailsInf
13710
13861
  }
13711
13862
  else {
13712
13863
  i18n_16 = $localize `:␟09ad69ce9c59d2894e56c5667c5ba0a1b61be4d3␟7324854353917632472:Repos : `;
13713
- } return [[1, "miam-recipe-details-infos"], [1, "miam-recipe-details-infos__main"], [1, "miam-recipe-details-infos__difficulty"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [1, "miam-recipe-details-infos__time", "miam-recipe-details-infos__time__total"], ["primaryColor", "var(--m-color-black)", 3, "width", "height", "iconName"], [1, "miam-recipe-details-infos__time__text"], i18n_0, ["class", "miam-recipe-details-infos__time miam-recipe-details-infos__time__total", 4, "ngIf"], [1, "miam-recipe-details-infos__additional"], ["class", "miam-recipe-details-infos__times", 4, "ngIf"], ["class", "miam-recipe-details__tags", 4, "ngIf"], [3, "width", "height", "iconName"], [1, "miam-recipe-card__info__label"], i18n_2, i18n_4, i18n_6, i18n_8, i18n_10, [1, "miam-recipe-details-infos__times"], ["class", "miam-recipe-details-infos__time", 4, "ngIf"], [1, "miam-recipe-details-infos__time"], i18n_12, i18n_14, i18n_16, [1, "miam-recipe-details__tags"], ["class", "miam-recipe-details__tag", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "miam-recipe-details__tag", 3, "ngClass"], ["class", "miam-recipe-details__tag__icon", 3, "src", 4, "ngIf"], [1, "miam-recipe-details__tag__name"], [1, "miam-recipe-details__tag__icon", 3, "src"]]; }, template: function RecipeDetailsInfosComponent_Template(rf, ctx) { if (rf & 1) {
13864
+ } return [[1, "miam-recipe-details-infos"], [1, "miam-recipe-details-infos__main"], [1, "miam-recipe-details-infos__difficulty"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [1, "miam-recipe-details-infos__time", "miam-recipe-details-infos__time__total"], ["primaryColor", "var(--m-color-black)", 3, "width", "height", "iconName"], [1, "miam-recipe-details-infos__time__text"], i18n_0, ["class", "miam-recipe-details-infos__time miam-recipe-details-infos__time__total", 4, "ngIf"], [1, "miam-recipe-details-infos__additional"], ["class", "miam-recipe-details-infos__times", 4, "ngIf"], ["class", "miam-recipe-details__tags", 4, "ngIf"], [3, "width", "height", "iconName"], ["class", "miam-recipe-details-infos__label easy", 4, "ngIf", "ngIfElse"], ["difficultyEasyDefault", ""], [1, "miam-recipe-details-infos__label", "easy"], i18n_2, ["class", "miam-recipe-details-infos__label medium", 4, "ngIf", "ngIfElse"], ["difficultyMediumDefault", ""], [1, "miam-recipe-details-infos__label", "medium"], i18n_4, ["class", "miam-recipe-details-infos__label hard", 4, "ngIf", "ngIfElse"], ["difficultyHardDefault", ""], [1, "miam-recipe-details-infos__label", "hard"], i18n_6, ["difficultyDefault", ""], i18n_8, i18n_10, [1, "miam-recipe-details-infos__times"], ["class", "miam-recipe-details-infos__time", 4, "ngIf"], [1, "miam-recipe-details-infos__time"], i18n_12, i18n_14, i18n_16, [1, "miam-recipe-details__tags"], ["class", "miam-recipe-details__tag", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "miam-recipe-details__tag", 3, "ngClass"], ["class", "miam-recipe-details__tag__icon", 3, "src", 4, "ngIf"], [1, "miam-recipe-details__tag__name"], [1, "miam-recipe-details__tag__icon", 3, "src"]]; }, template: function RecipeDetailsInfosComponent_Template(rf, ctx) { if (rf & 1) {
13714
13865
  ɵɵelementStart(0, "div", 0);
13715
13866
  ɵɵelementStart(1, "div", 1);
13716
13867
  ɵɵelementStart(2, "div", 2);
@@ -13720,10 +13871,10 @@ RecipeDetailsInfosComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeDetailsInf
13720
13871
  ɵɵtemplate(6, RecipeDetailsInfosComponent_ng_container_6_Template, 2, 3, "ng-container", 5);
13721
13872
  ɵɵelementContainerEnd();
13722
13873
  ɵɵelementContainerStart(7, 3);
13723
- ɵɵtemplate(8, RecipeDetailsInfosComponent_ng_container_8_Template, 3, 0, "ng-container", 4);
13724
- ɵɵtemplate(9, RecipeDetailsInfosComponent_ng_container_9_Template, 3, 0, "ng-container", 4);
13725
- ɵɵtemplate(10, RecipeDetailsInfosComponent_ng_container_10_Template, 3, 0, "ng-container", 4);
13726
- ɵɵtemplate(11, RecipeDetailsInfosComponent_ng_container_11_Template, 3, 0, "ng-container", 5);
13874
+ ɵɵtemplate(8, RecipeDetailsInfosComponent_ng_container_8_Template, 4, 2, "ng-container", 4);
13875
+ ɵɵtemplate(9, RecipeDetailsInfosComponent_ng_container_9_Template, 4, 2, "ng-container", 4);
13876
+ ɵɵtemplate(10, RecipeDetailsInfosComponent_ng_container_10_Template, 4, 2, "ng-container", 4);
13877
+ ɵɵtemplate(11, RecipeDetailsInfosComponent_ng_container_11_Template, 4, 2, "ng-container", 5);
13727
13878
  ɵɵelementContainerEnd();
13728
13879
  ɵɵelementEnd();
13729
13880
  ɵɵelementStart(12, "div", 6);
@@ -15585,33 +15736,105 @@ function CatalogRecipeCardComponent_div_23_ng_container_4_Template(rf, ctx) { if
15585
15736
  ɵɵadvance(1);
15586
15737
  ɵɵproperty("width", 18)("height", 18)("iconName", ctx_r44.icon.DifficultyLow);
15587
15738
  } }
15739
+ function CatalogRecipeCardComponent_div_23_ng_container_6_span_1_Template(rf, ctx) { if (rf & 1) {
15740
+ ɵɵelementStart(0, "span", 66);
15741
+ ɵɵtext(1);
15742
+ ɵɵelementEnd();
15743
+ } if (rf & 2) {
15744
+ const ctx_r49 = ɵɵnextContext(3);
15745
+ ɵɵadvance(1);
15746
+ ɵɵtextInterpolate1(" ", ctx_r49.recipeService.difficultyLevels[0].label, " ");
15747
+ } }
15748
+ function CatalogRecipeCardComponent_div_23_ng_container_6_ng_template_2_Template(rf, ctx) { if (rf & 1) {
15749
+ ɵɵelementStart(0, "span", 66);
15750
+ ɵɵi18n(1, 67);
15751
+ ɵɵelementEnd();
15752
+ } }
15588
15753
  function CatalogRecipeCardComponent_div_23_ng_container_6_Template(rf, ctx) { if (rf & 1) {
15589
15754
  ɵɵelementContainerStart(0);
15590
- ɵɵelementStart(1, "span", 58);
15591
- ɵɵi18n(2, 64);
15592
- ɵɵelementEnd();
15755
+ ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_6_span_1_Template, 2, 1, "span", 64);
15756
+ ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_6_ng_template_2_Template, 2, 0, "ng-template", null, 65, ɵɵtemplateRefExtractor);
15593
15757
  ɵɵelementContainerEnd();
15758
+ } if (rf & 2) {
15759
+ const _r50 = ɵɵreference(3);
15760
+ const ctx_r45 = ɵɵnextContext(2);
15761
+ ɵɵadvance(1);
15762
+ ɵɵproperty("ngIf", (ctx_r45.recipeService.difficultyLevels[0] == null ? null : ctx_r45.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r50);
15763
+ } }
15764
+ function CatalogRecipeCardComponent_div_23_ng_container_7_span_1_Template(rf, ctx) { if (rf & 1) {
15765
+ ɵɵelementStart(0, "span", 70);
15766
+ ɵɵtext(1);
15767
+ ɵɵelementEnd();
15768
+ } if (rf & 2) {
15769
+ const ctx_r52 = ɵɵnextContext(3);
15770
+ ɵɵadvance(1);
15771
+ ɵɵtextInterpolate1(" ", ctx_r52.recipeService.difficultyLevels[1].label, " ");
15772
+ } }
15773
+ function CatalogRecipeCardComponent_div_23_ng_container_7_ng_template_2_Template(rf, ctx) { if (rf & 1) {
15774
+ ɵɵelementStart(0, "span", 70);
15775
+ ɵɵi18n(1, 71);
15776
+ ɵɵelementEnd();
15594
15777
  } }
15595
15778
  function CatalogRecipeCardComponent_div_23_ng_container_7_Template(rf, ctx) { if (rf & 1) {
15596
15779
  ɵɵelementContainerStart(0);
15597
- ɵɵelementStart(1, "span", 58);
15598
- ɵɵi18n(2, 65);
15599
- ɵɵelementEnd();
15780
+ ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_7_span_1_Template, 2, 1, "span", 68);
15781
+ ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_7_ng_template_2_Template, 2, 0, "ng-template", null, 69, ɵɵtemplateRefExtractor);
15600
15782
  ɵɵelementContainerEnd();
15783
+ } if (rf & 2) {
15784
+ const _r53 = ɵɵreference(3);
15785
+ const ctx_r46 = ɵɵnextContext(2);
15786
+ ɵɵadvance(1);
15787
+ ɵɵproperty("ngIf", (ctx_r46.recipeService.difficultyLevels[1] == null ? null : ctx_r46.recipeService.difficultyLevels[1].label) !== "Chef interm\u00E9diaire")("ngIfElse", _r53);
15788
+ } }
15789
+ function CatalogRecipeCardComponent_div_23_ng_container_8_span_1_Template(rf, ctx) { if (rf & 1) {
15790
+ ɵɵelementStart(0, "span", 74);
15791
+ ɵɵtext(1);
15792
+ ɵɵelementEnd();
15793
+ } if (rf & 2) {
15794
+ const ctx_r55 = ɵɵnextContext(3);
15795
+ ɵɵadvance(1);
15796
+ ɵɵtextInterpolate1(" ", ctx_r55.recipeService.difficultyLevels[2].label, " ");
15797
+ } }
15798
+ function CatalogRecipeCardComponent_div_23_ng_container_8_ng_template_2_Template(rf, ctx) { if (rf & 1) {
15799
+ ɵɵelementStart(0, "span", 74);
15800
+ ɵɵi18n(1, 75);
15801
+ ɵɵelementEnd();
15601
15802
  } }
15602
15803
  function CatalogRecipeCardComponent_div_23_ng_container_8_Template(rf, ctx) { if (rf & 1) {
15603
15804
  ɵɵelementContainerStart(0);
15604
- ɵɵelementStart(1, "span", 58);
15605
- ɵɵi18n(2, 66);
15606
- ɵɵelementEnd();
15805
+ ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_8_span_1_Template, 2, 1, "span", 72);
15806
+ ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_8_ng_template_2_Template, 2, 0, "ng-template", null, 73, ɵɵtemplateRefExtractor);
15607
15807
  ɵɵelementContainerEnd();
15808
+ } if (rf & 2) {
15809
+ const _r56 = ɵɵreference(3);
15810
+ const ctx_r47 = ɵɵnextContext(2);
15811
+ ɵɵadvance(1);
15812
+ ɵɵproperty("ngIf", (ctx_r47.recipeService.difficultyLevels[2] == null ? null : ctx_r47.recipeService.difficultyLevels[2].label) !== "Top chef")("ngIfElse", _r56);
15813
+ } }
15814
+ function CatalogRecipeCardComponent_div_23_ng_container_9_span_1_Template(rf, ctx) { if (rf & 1) {
15815
+ ɵɵelementStart(0, "span", 66);
15816
+ ɵɵtext(1);
15817
+ ɵɵelementEnd();
15818
+ } if (rf & 2) {
15819
+ const ctx_r58 = ɵɵnextContext(3);
15820
+ ɵɵadvance(1);
15821
+ ɵɵtextInterpolate1(" ", ctx_r58.recipeService.difficultyLevels[0].label, " ");
15822
+ } }
15823
+ function CatalogRecipeCardComponent_div_23_ng_container_9_ng_template_2_Template(rf, ctx) { if (rf & 1) {
15824
+ ɵɵelementStart(0, "span", 66);
15825
+ ɵɵi18n(1, 77);
15826
+ ɵɵelementEnd();
15608
15827
  } }
15609
15828
  function CatalogRecipeCardComponent_div_23_ng_container_9_Template(rf, ctx) { if (rf & 1) {
15610
15829
  ɵɵelementContainerStart(0);
15611
- ɵɵelementStart(1, "span", 58);
15612
- ɵɵi18n(2, 67);
15613
- ɵɵelementEnd();
15830
+ ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_9_span_1_Template, 2, 1, "span", 64);
15831
+ ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_9_ng_template_2_Template, 2, 0, "ng-template", null, 76, ɵɵtemplateRefExtractor);
15614
15832
  ɵɵelementContainerEnd();
15833
+ } if (rf & 2) {
15834
+ const _r59 = ɵɵreference(3);
15835
+ const ctx_r48 = ɵɵnextContext(2);
15836
+ ɵɵadvance(1);
15837
+ ɵɵproperty("ngIf", (ctx_r48.recipeService.difficultyLevels[0] == null ? null : ctx_r48.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r59);
15615
15838
  } }
15616
15839
  const _c17$1 = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
15617
15840
  function CatalogRecipeCardComponent_div_23_Template(rf, ctx) { if (rf & 1) {
@@ -15622,10 +15845,10 @@ function CatalogRecipeCardComponent_div_23_Template(rf, ctx) { if (rf & 1) {
15622
15845
  ɵɵtemplate(4, CatalogRecipeCardComponent_div_23_ng_container_4_Template, 2, 3, "ng-container", 62);
15623
15846
  ɵɵelementContainerEnd();
15624
15847
  ɵɵelementContainerStart(5, 60);
15625
- ɵɵtemplate(6, CatalogRecipeCardComponent_div_23_ng_container_6_Template, 3, 0, "ng-container", 61);
15626
- ɵɵtemplate(7, CatalogRecipeCardComponent_div_23_ng_container_7_Template, 3, 0, "ng-container", 61);
15627
- ɵɵtemplate(8, CatalogRecipeCardComponent_div_23_ng_container_8_Template, 3, 0, "ng-container", 61);
15628
- ɵɵtemplate(9, CatalogRecipeCardComponent_div_23_ng_container_9_Template, 3, 0, "ng-container", 62);
15848
+ ɵɵtemplate(6, CatalogRecipeCardComponent_div_23_ng_container_6_Template, 4, 2, "ng-container", 61);
15849
+ ɵɵtemplate(7, CatalogRecipeCardComponent_div_23_ng_container_7_Template, 4, 2, "ng-container", 61);
15850
+ ɵɵtemplate(8, CatalogRecipeCardComponent_div_23_ng_container_8_Template, 4, 2, "ng-container", 61);
15851
+ ɵɵtemplate(9, CatalogRecipeCardComponent_div_23_ng_container_9_Template, 4, 2, "ng-container", 62);
15629
15852
  ɵɵelementContainerEnd();
15630
15853
  ɵɵelementEnd();
15631
15854
  } if (rf & 2) {
@@ -15653,9 +15876,9 @@ function CatalogRecipeCardComponent_ng_template_24_Template(rf, ctx) { if (rf &
15653
15876
  ɵɵproperty("type", ctx_r15.skeleton == null ? null : ctx_r15.skeleton.IconWithInfo);
15654
15877
  } }
15655
15878
  function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template(rf, ctx) { if (rf & 1) {
15656
- const _r50 = ɵɵgetCurrentView();
15657
- ɵɵelementStart(0, "ng-miam-actions-popin", 68);
15658
- ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template_ng_miam_actions_popin_close_0_listener() { ɵɵrestoreView(_r50); const ctx_r49 = ɵɵnextContext(); return ctx_r49.closeMoreActions(); })("actionTriggered", function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { ɵɵrestoreView(_r50); const ctx_r51 = ɵɵnextContext(); return ctx_r51.actionTriggered.emit($event); });
15879
+ const _r62 = ɵɵgetCurrentView();
15880
+ ɵɵelementStart(0, "ng-miam-actions-popin", 78);
15881
+ ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template_ng_miam_actions_popin_close_0_listener() { ɵɵrestoreView(_r62); const ctx_r61 = ɵɵnextContext(); return ctx_r61.closeMoreActions(); })("actionTriggered", function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { ɵɵrestoreView(_r62); const ctx_r63 = ɵɵnextContext(); return ctx_r63.actionTriggered.emit($event); });
15659
15882
  ɵɵelementEnd();
15660
15883
  } }
15661
15884
  function CatalogRecipeCardComponent_ng_template_27_Template(rf, ctx) { if (rf & 1) {
@@ -15771,30 +15994,30 @@ CatalogRecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: CatalogRecipeCard
15771
15994
  else {
15772
15995
  i18n_7 = $localize `:␟e3d3d7039794cbbd2e16e8548bfbf9ee8fa29247␟1225769932237505428:Ajouter les ingrédients`;
15773
15996
  } var i18n_9; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
15774
- const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___10 = goog.getMsg("Chef d\u00E9butant");
15775
- i18n_9 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___10;
15997
+ const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____10 = goog.getMsg("Chef d\u00E9butant");
15998
+ i18n_9 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____10;
15776
15999
  }
15777
16000
  else {
15778
16001
  i18n_9 = $localize `:␟96cca7cb17582a9b01053a242ca907b721fad7fe␟3684169623116339825:Chef débutant`;
15779
16002
  } var i18n_11; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
15780
- const MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___12 = goog.getMsg("Chef interm\u00E9diaire");
15781
- i18n_11 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___12;
16003
+ const MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____12 = goog.getMsg("Chef interm\u00E9diaire");
16004
+ i18n_11 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____12;
15782
16005
  }
15783
16006
  else {
15784
16007
  i18n_11 = $localize `:␟ccfd103e2bbd9a80c6d3a226332a77c93c88d871␟7733455880752157102:Chef intermédiaire`;
15785
16008
  } var i18n_13; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
15786
- const MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___14 = goog.getMsg("Top chef");
15787
- i18n_13 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___14;
16009
+ const MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____14 = goog.getMsg("Top chef");
16010
+ i18n_13 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____14;
15788
16011
  }
15789
16012
  else {
15790
16013
  i18n_13 = $localize `:␟fb603a6dffb1bfa95a9b7eda7e134156ab67f0b3␟8735393154824887316:Top chef`;
15791
16014
  } var i18n_15; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
15792
- const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___16 = goog.getMsg("Chef d\u00E9butant");
15793
- i18n_15 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___16;
16015
+ const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____16 = goog.getMsg("Chef d\u00E9butant");
16016
+ i18n_15 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____16;
15794
16017
  }
15795
16018
  else {
15796
16019
  i18n_15 = $localize `:␟96cca7cb17582a9b01053a242ca907b721fad7fe␟3684169623116339825:Chef débutant`;
15797
- } return [[1, "miam-catalog-recipe-card"], [1, "miam-catalog-recipe-card__header"], ["class", "miam-catalog-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-catalog-card__attributes"], [1, "miam-catalog-recipe-card__attributes__control"], ["class", "miam-catalog-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-catalog-recipe-card__right__col__price", 4, "ngIf"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [4, "ngIf"], [4, "ngIf", "ngIfElse"], ["originalCTA", ""], [3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-catalog-card__attributes__infos"], ["class", "miam-catalog-card__attributes__info recipe__total__time", 4, "ngIf", "ngIfElse"], ["class", "miam-catalog-card__attributes__info recipe__difficulty", 3, "ngClass", 4, "ngIf"], ["skeletonInfo", ""], [3, "close", "actionTriggered", 4, "ngIf"], ["cors", ""], [1, "miam-catalog-card__picture", 3, "click"], [1, "miam-catalog-card__picture__gradient"], ["loading", "lazy", 1, "miam-catalog-card__picture__img", 3, "src"], ["class", "miam-catalog-card__picture__sponsor", 4, "ngIf"], ["class", "miam-catalog-card__picture__filigrane", 4, "ngIf"], ["class", "miam-catalog-recipe-card__picture__video", 4, "ngIf"], ["textSkeleton", ""], [1, "miam-catalog-recipe-card__picture__actions"], ["class", "miam-catalog-recipe-card__actions__icon m-button-primary reverse", 3, "click", 4, "ngIf", "ngIfElse"], ["like", ""], [1, "miam-catalog-card__picture__sponsor"], [3, "src"], [1, "miam-catalog-card__picture__filigrane"], [1, "miam-catalog-recipe-card__picture__video"], ["primaryColor", "black", 3, "iconName", "width", "height"], ["class", "miam-catalog-recipe-card__picture__tag", 4, "ngIf"], [1, "miam-catalog-recipe-card__picture__tag"], i18n_1, [1, "miam-catalog-recipe-card__attributes__title", 3, "click"], [3, "type"], [1, "miam-catalog-recipe-card__actions__icon", "m-button-primary", "reverse", 3, "click"], ["miamMoreActions", ""], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], ["width", "17", "height", "17", "class", "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], ["width", "17", "height", "17", 1, "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-catalog-recipe-card__ingredients__pictures"], [1, "miam-catalog-recipe-card__ingredients__picture"], ["class", "miam-catalog-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-catalog-recipe-card__ingredients__more"], [1, "miam-catalog-recipe-card__right__col__price"], [3, "recipe", "serves", 4, "ngIf"], [3, "recipe", "serves"], i18n_3, i18n_5, i18n_7, [3, "width", "height", "iconName"], [1, "miam-catalog-card__attributes__info", "recipe__total__time"], ["width", "18", "height", "18", "primaryColor", "var(--m-catalog-card-details-color)", 3, "iconName"], [1, "miam-catalog-card__info__label"], [1, "miam-catalog-card__attributes__info", "recipe__difficulty", 3, "ngClass"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-catalog-card-details-color)", 3, "width", "height", "iconName"], i18n_9, i18n_11, i18n_13, i18n_15, [3, "close", "actionTriggered"]]; }, template: function CatalogRecipeCardComponent_Template(rf, ctx) { if (rf & 1) {
16020
+ } return [[1, "miam-catalog-recipe-card"], [1, "miam-catalog-recipe-card__header"], ["class", "miam-catalog-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-catalog-card__attributes"], [1, "miam-catalog-recipe-card__attributes__control"], ["class", "miam-catalog-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-catalog-recipe-card__right__col__price", 4, "ngIf"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [4, "ngIf"], [4, "ngIf", "ngIfElse"], ["originalCTA", ""], [3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-catalog-card__attributes__infos"], ["class", "miam-catalog-card__attributes__info recipe__total__time", 4, "ngIf", "ngIfElse"], ["class", "miam-catalog-card__attributes__info recipe__difficulty", 3, "ngClass", 4, "ngIf"], ["skeletonInfo", ""], [3, "close", "actionTriggered", 4, "ngIf"], ["cors", ""], [1, "miam-catalog-card__picture", 3, "click"], [1, "miam-catalog-card__picture__gradient"], ["loading", "lazy", 1, "miam-catalog-card__picture__img", 3, "src"], ["class", "miam-catalog-card__picture__sponsor", 4, "ngIf"], ["class", "miam-catalog-card__picture__filigrane", 4, "ngIf"], ["class", "miam-catalog-recipe-card__picture__video", 4, "ngIf"], ["textSkeleton", ""], [1, "miam-catalog-recipe-card__picture__actions"], ["class", "miam-catalog-recipe-card__actions__icon m-button-primary reverse", 3, "click", 4, "ngIf", "ngIfElse"], ["like", ""], [1, "miam-catalog-card__picture__sponsor"], [3, "src"], [1, "miam-catalog-card__picture__filigrane"], [1, "miam-catalog-recipe-card__picture__video"], ["primaryColor", "black", 3, "iconName", "width", "height"], ["class", "miam-catalog-recipe-card__picture__tag", 4, "ngIf"], [1, "miam-catalog-recipe-card__picture__tag"], i18n_1, [1, "miam-catalog-recipe-card__attributes__title", 3, "click"], [3, "type"], [1, "miam-catalog-recipe-card__actions__icon", "m-button-primary", "reverse", 3, "click"], ["miamMoreActions", ""], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], ["width", "17", "height", "17", "class", "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], ["width", "17", "height", "17", 1, "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-catalog-recipe-card__ingredients__pictures"], [1, "miam-catalog-recipe-card__ingredients__picture"], ["class", "miam-catalog-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-catalog-recipe-card__ingredients__more"], [1, "miam-catalog-recipe-card__right__col__price"], [3, "recipe", "serves", 4, "ngIf"], [3, "recipe", "serves"], i18n_3, i18n_5, i18n_7, [3, "width", "height", "iconName"], [1, "miam-catalog-card__attributes__info", "recipe__total__time"], ["width", "18", "height", "18", "primaryColor", "var(--m-catalog-card-details-color)", 3, "iconName"], [1, "miam-catalog-card__info__label"], [1, "miam-catalog-card__attributes__info", "recipe__difficulty", 3, "ngClass"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-catalog-card-details-color)", 3, "width", "height", "iconName"], ["class", "miam-catalog-card__info__label easy", 4, "ngIf", "ngIfElse"], ["difficultyEasyDefault", ""], [1, "miam-catalog-card__info__label", "easy"], i18n_9, ["class", "miam-catalog-card__info__label medium", 4, "ngIf", "ngIfElse"], ["difficultyMediumDefault", ""], [1, "miam-catalog-card__info__label", "medium"], i18n_11, ["class", "miam-catalog-card__info__label hard", 4, "ngIf", "ngIfElse"], ["difficultyHardDefault", ""], [1, "miam-catalog-card__info__label", "hard"], i18n_13, ["difficultyDefault", ""], i18n_15, [3, "close", "actionTriggered"]]; }, template: function CatalogRecipeCardComponent_Template(rf, ctx) { if (rf & 1) {
15798
16021
  ɵɵelementStart(0, "div", 0);
15799
16022
  ɵɵelementStart(1, "div", 1);
15800
16023
  ɵɵelementStart(2, "span");
@@ -20040,7 +20263,7 @@ class MiamInterceptor {
20040
20263
  request = request.clone({
20041
20264
  setHeaders: {
20042
20265
  'miam-origin': context.origin,
20043
- 'miam-front-version': '6.2.2',
20266
+ 'miam-front-version': '6.2.3',
20044
20267
  'miam-front-type': 'web',
20045
20268
  'miam-api-version': '4.7.0'
20046
20269
  }