ng-miam 4.7.10 → 4.7.12
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.
- package/bundles/ng-miam.umd.js +377 -276
- package/bundles/ng-miam.umd.js.map +1 -1
- package/bundles/ng-miam.umd.min.js +2 -2
- package/bundles/ng-miam.umd.min.js.map +1 -1
- package/esm2015/lib/_components/abstracts/abstract-recipe-card.component.js +6 -1
- package/esm2015/lib/_components/addon-link/addon-link.component.js +3 -3
- package/esm2015/lib/_models/recipe.js +6 -3
- package/esm2015/lib/_services/context.service.js +3 -4
- package/esm2015/lib/_services/recipes.service.js +14 -1
- package/esm2015/lib/_web-components/catalog-article-card/catalog-article-card.component.js +1 -1
- package/esm2015/lib/_web-components/catalog-recipe-card/catalog-recipe-card.component.js +150 -119
- package/esm2015/lib/_web-components/recipe-card/recipe-card.component.js +77 -62
- package/esm2015/lib/_web-components/recipe-details/recipe-addon/recipe-addon.component.js +3 -3
- package/esm2015/lib/_web-components/recipe-details/recipe-details.component.js +100 -88
- package/fesm2015/ng-miam.js +355 -277
- package/fesm2015/ng-miam.js.map +1 -1
- package/lib/_models/recipe.d.ts +3 -2
- package/lib/_services/recipes.service.d.ts +4 -0
- package/package.json +1 -1
package/bundles/ng-miam.umd.js
CHANGED
|
@@ -2169,6 +2169,13 @@
|
|
|
2169
2169
|
if (this.attributes['filigrane-logo-url']) {
|
|
2170
2170
|
return this.attributes['filigrane-logo-url'];
|
|
2171
2171
|
}
|
|
2172
|
+
return null;
|
|
2173
|
+
},
|
|
2174
|
+
enumerable: false,
|
|
2175
|
+
configurable: true
|
|
2176
|
+
});
|
|
2177
|
+
Object.defineProperty(Recipe.prototype, "sponsorLogoUrl", {
|
|
2178
|
+
get: function () {
|
|
2172
2179
|
if (this.sponsors.length > 0) {
|
|
2173
2180
|
return this.sponsors[0].attributes['logo-url'];
|
|
2174
2181
|
}
|
|
@@ -2250,7 +2257,7 @@
|
|
|
2250
2257
|
configurable: true
|
|
2251
2258
|
});
|
|
2252
2259
|
Object.defineProperty(Recipe.prototype, "ingredients", {
|
|
2253
|
-
// Returns ingredients, putting the sponsored ones first
|
|
2260
|
+
// Returns ingredients, putting the sponsored ones first
|
|
2254
2261
|
get: function () {
|
|
2255
2262
|
return this.relationships.ingredients.data
|
|
2256
2263
|
.filter(function (i) { return i.attributes.active; })
|
|
@@ -3850,6 +3857,7 @@
|
|
|
3850
3857
|
_this.hidden = new i0.EventEmitter();
|
|
3851
3858
|
_this.suggestionsPrimaryButtonActions = { display: true, addToBasket: true };
|
|
3852
3859
|
_this.recipesPrimaryButtonActions = { display: true, addToBasket: true };
|
|
3860
|
+
_this.reloadRecipes$ = new rxjs.BehaviorSubject(false);
|
|
3853
3861
|
_this.difficultyLevels = [
|
|
3854
3862
|
{ value: 1, label: 'Chef débutant' },
|
|
3855
3863
|
{ value: 2, label: 'Chef intermédiaire' },
|
|
@@ -4044,6 +4052,19 @@
|
|
|
4044
4052
|
RecipesService.prototype.addTagToRecipe = function (recipe, tag) {
|
|
4045
4053
|
return this.http.post(MIAM_API_HOST$4 + ("recipes/" + recipe.id + "/tags/" + tag.id), {});
|
|
4046
4054
|
};
|
|
4055
|
+
RecipesService.prototype.setRecipesPrimaryButtonActions = function (display, addToBasket) {
|
|
4056
|
+
if (display === void 0) { display = true; }
|
|
4057
|
+
if (addToBasket === void 0) { addToBasket = true; }
|
|
4058
|
+
this.recipesPrimaryButtonActions = { display: display, addToBasket: addToBasket };
|
|
4059
|
+
this.suggestionsPrimaryButtonActions = { display: display, addToBasket: addToBasket };
|
|
4060
|
+
this.reloadAllRecipes();
|
|
4061
|
+
};
|
|
4062
|
+
RecipesService.prototype.setSuggestionsPrimaryButtonActions = function (display, addToBasket) {
|
|
4063
|
+
if (display === void 0) { display = true; }
|
|
4064
|
+
if (addToBasket === void 0) { addToBasket = true; }
|
|
4065
|
+
this.suggestionsPrimaryButtonActions = { display: display, addToBasket: addToBasket };
|
|
4066
|
+
this.reloadAllRecipes();
|
|
4067
|
+
};
|
|
4047
4068
|
// DEPRECATED / use TTL instead
|
|
4048
4069
|
RecipesService.prototype.getOrFetch = function (recipeId) {
|
|
4049
4070
|
var recipe = this.recipes.find(function (r) { return r.id === recipeId; });
|
|
@@ -4089,6 +4110,9 @@
|
|
|
4089
4110
|
RecipesService.prototype.intRandomSeed = function () {
|
|
4090
4111
|
this.randomSeed = Date.now();
|
|
4091
4112
|
};
|
|
4113
|
+
RecipesService.prototype.reloadAllRecipes = function () {
|
|
4114
|
+
this.reloadRecipes$.next(true);
|
|
4115
|
+
};
|
|
4092
4116
|
return RecipesService;
|
|
4093
4117
|
}(i1.Service));
|
|
4094
4118
|
RecipesService.ɵfac = function RecipesService_Factory(t) { return new (t || RecipesService)(i0.ɵɵinject(i1$1.HttpClient), i0.ɵɵinject(RecipeProviderService), i0.ɵɵinject(RecipeStatusService), i0.ɵɵinject(RecipeTypeService), i0.ɵɵinject(SuppliersService), i0.ɵɵinject(PointOfSalesService), i0.ɵɵinject(GroceriesListsService), i0.ɵɵinject(IngredientsService), i0.ɵɵinject(RecipeStepsService), i0.ɵɵinject(RecipeEventsService), i0.ɵɵinject(SponsorService), i0.ɵɵinject(PackageService), i0.ɵɵinject(TagsService), i0.ɵɵinject(RecipeLikesService)); };
|
|
@@ -4496,13 +4520,12 @@
|
|
|
4496
4520
|
setRecipesPrimaryButtonActions: function (display, addToBasket) {
|
|
4497
4521
|
if (display === void 0) { display = true; }
|
|
4498
4522
|
if (addToBasket === void 0) { addToBasket = true; }
|
|
4499
|
-
_this.recipesService.
|
|
4500
|
-
_this.recipesService.suggestionsPrimaryButtonActions = { display: display, addToBasket: addToBasket };
|
|
4523
|
+
_this.recipesService.setRecipesPrimaryButtonActions(display, addToBasket);
|
|
4501
4524
|
},
|
|
4502
4525
|
setSuggestionsPrimaryButtonActions: function (display, addToBasket) {
|
|
4503
4526
|
if (display === void 0) { display = true; }
|
|
4504
4527
|
if (addToBasket === void 0) { addToBasket = true; }
|
|
4505
|
-
_this.recipesService.
|
|
4528
|
+
_this.recipesService.setSuggestionsPrimaryButtonActions(display, addToBasket);
|
|
4506
4529
|
},
|
|
4507
4530
|
setDifficultyLevels: function (levels) {
|
|
4508
4531
|
_this.recipesService.difficultyLevels = levels;
|
|
@@ -8599,7 +8622,7 @@
|
|
|
8599
8622
|
if (rf & 2) {
|
|
8600
8623
|
var ctx_r4 = i0.ɵɵnextContext();
|
|
8601
8624
|
i0.ɵɵadvance(1);
|
|
8602
|
-
i0.ɵɵpropertyInterpolate("src", ctx_r4.recipe.
|
|
8625
|
+
i0.ɵɵpropertyInterpolate("src", ctx_r4.recipe.sponsorLogoUrl, i0.ɵɵsanitizeUrl);
|
|
8603
8626
|
}
|
|
8604
8627
|
}
|
|
8605
8628
|
var AddonLinkComponent = /** @class */ (function () {
|
|
@@ -8627,7 +8650,7 @@
|
|
|
8627
8650
|
i0.ɵɵadvance(3);
|
|
8628
8651
|
i0.ɵɵproperty("ngIf", ctx.recipe.attributes["informational-page-html"]);
|
|
8629
8652
|
i0.ɵɵadvance(1);
|
|
8630
|
-
i0.ɵɵproperty("ngIf", ctx.recipe == null ? null : ctx.recipe.
|
|
8653
|
+
i0.ɵɵproperty("ngIf", ctx.recipe == null ? null : ctx.recipe.sponsorLogoUrl);
|
|
8631
8654
|
}
|
|
8632
8655
|
}, directives: [i4.NgIf], styles: [".miam-addon-link[_ngcontent-%COMP%]{align-items:center;background-color:var(--m-color-white);display:flex;flex-direction:row;font-size:16px;justify-content:space-between;margin-left:96px;padding:12px 16px}@media (max-width:1023px){.miam-addon-link[_ngcontent-%COMP%]{margin-left:unset}}.miam-addon-link[_ngcontent-%COMP%] .miam-addon-link__logo[_ngcontent-%COMP%]{align-items:center;display:flex;height:64px;justify-content:center;order:2;padding:0 16px;width:168px}.miam-addon-link[_ngcontent-%COMP%] .miam-addon-link__logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{-o-object-fit:contain;max-height:100%;max-width:100%;object-fit:contain}.miam-addon-link[_ngcontent-%COMP%] .miam-addon-link__info[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-right:8px}.miam-addon-link[_ngcontent-%COMP%] .miam-addon-link__info[_ngcontent-%COMP%] .miam-addon-link__link[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent;color:var(--m-color-primary);cursor:pointer;margin-top:8px}"] });
|
|
8633
8656
|
/*@__PURE__*/ (function () {
|
|
@@ -11006,7 +11029,7 @@
|
|
|
11006
11029
|
i0.ɵɵadvance(3);
|
|
11007
11030
|
i0.ɵɵproperty("href", ctx.article.url, i0.ɵɵsanitizeUrl);
|
|
11008
11031
|
}
|
|
11009
|
-
}, directives: [i4.NgIf], pipes: [EllipsisPipe, i4.DatePipe], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}@media (min-width:1023px){.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}@media (min-width:1023px){.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}@media (min-width:1023px){.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-catalog-article-card .miam-catalog-card__attributes,.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}@media (min-width:1023px){#toast-container>div:hover{opacity:1!important}}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}.miam-catalog-article-card{background-color:var(--m-catalog-card-bg-color);border:1px solid #ddd;border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);cursor:pointer;display:flex;flex-direction:column;height:var(--m-catalog-card-height);min-width:var(--m-catalog-card-minwidth);position:relative;width:100%}@media (min-width:1023px){.miam-catalog-article-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.05)}}.miam-catalog-article-card .miam-catalog-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:var(--m-catalog-card-picture-height);position:relative}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:calc(var(--m-catalog-card-picture-height) + 1px);left:-1px;position:absolute;top:-1px;width:calc(100% + 2px)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;height:var(--m-catalog-card-picture-height);object-fit:cover;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor{-o-object-fit:contain;height:auto;left:16px;max-height:48px;max-width:64px;object-fit:contain;position:absolute;top:16px;transform:none;width:auto;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-article-card .miam-catalog-card__attributes{flex:1 1;flex-direction:column-reverse;justify-content:flex-start;padding:12px 16px}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{display:flex;flex-direction:row;justify-content:space-around}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info{align-items:center;display:flex;flex-direction:column;padding:0 16px;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info:first-child{border-right:1px solid #ddd}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label{color:var(--m-catalog-card-details-color);font-size:var(--m-catalog-card-details-size);line-height:var(--m-catalog-card-details-line-height);margin:2px 0 0;text-align:center;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label:first-letter{text-transform:capitalize}.miam-catalog-article-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.1)}.miam-catalog-article-card:hover .miam-catalog-card__attributes .miam-catalog-card__attributes__info a,.miam-catalog-article-card:hover .miam-catalog-card__attributes h4.miam-catalog-article-card__attributes__title{color:var(--m-color-primary)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{overflow:hidden}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient:after{display:none}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{position:relative;transition:all .3s ease}.miam-catalog-article-card .miam-catalog-card__attributes{align-items:center}.miam-catalog-article-card .miam-catalog-card__attributes h4.miam-catalog-article-card__attributes__title{font-weight:700;line-height:1.3;margin:0;max-height:50px;overflow:hidden;text-align:center;transition:all .3s ease}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{justify-content:space-between;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info a{transition:all .3s ease}"], encapsulation: 2, changeDetection: 0 });
|
|
11032
|
+
}, directives: [i4.NgIf], pipes: [EllipsisPipe, i4.DatePipe], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}@media (min-width:1023px){.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}@media (min-width:1023px){.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}@media (min-width:1023px){.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-catalog-article-card .miam-catalog-card__attributes,.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}@media (min-width:1023px){#toast-container>div:hover{opacity:1!important}}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}.miam-catalog-article-card{background-color:var(--m-catalog-card-bg-color);border:1px solid #ddd;border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);cursor:pointer;display:flex;flex-direction:column;height:var(--m-catalog-card-height);min-width:var(--m-catalog-card-minwidth);position:relative;width:100%}@media (min-width:1023px){.miam-catalog-article-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.05)}}.miam-catalog-article-card .miam-catalog-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:var(--m-catalog-card-picture-height);position:relative}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:calc(var(--m-catalog-card-picture-height) + 1px);left:-1px;position:absolute;top:-1px;width:calc(100% + 2px)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;height:var(--m-catalog-card-picture-height);object-fit:cover;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor{align-items:flex-start;display:flex;height:48px;justify-content:flex-start;left:16px;order:2;position:absolute;top:16px;width:64px}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor img{-o-object-fit:contain;height:auto;max-height:100%;max-width:100%;object-fit:contain;width:auto}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__filigrane{align-items:flex-end;bottom:16px;display:flex;height:48px;justify-content:flex-end;order:2;position:absolute;right:16px;width:72px}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__filigrane img{-o-object-fit:contain;height:auto;max-height:100%;max-width:100%;object-fit:contain;width:auto}.miam-catalog-article-card .miam-catalog-card__attributes{flex:1 1;flex-direction:column-reverse;justify-content:flex-start;padding:12px 16px}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{display:flex;flex-direction:row;justify-content:space-around}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info{align-items:center;display:flex;flex-direction:column;padding:0 16px;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info:first-child{border-right:1px solid #ddd}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label{color:var(--m-catalog-card-details-color);font-size:var(--m-catalog-card-details-size);line-height:var(--m-catalog-card-details-line-height);margin:2px 0 0;text-align:center;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label:first-letter{text-transform:capitalize}.miam-catalog-article-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.1)}.miam-catalog-article-card:hover .miam-catalog-card__attributes .miam-catalog-card__attributes__info a,.miam-catalog-article-card:hover .miam-catalog-card__attributes h4.miam-catalog-article-card__attributes__title{color:var(--m-color-primary)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{overflow:hidden}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient:after{display:none}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{position:relative;transition:all .3s ease}.miam-catalog-article-card .miam-catalog-card__attributes{align-items:center}.miam-catalog-article-card .miam-catalog-card__attributes h4.miam-catalog-article-card__attributes__title{font-weight:700;line-height:1.3;margin:0;max-height:50px;overflow:hidden;text-align:center;transition:all .3s ease}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{justify-content:space-between;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info a{transition:all .3s ease}"], encapsulation: 2, changeDetection: 0 });
|
|
11010
11033
|
/*@__PURE__*/ (function () {
|
|
11011
11034
|
i0.ɵsetClassMetadata(CatalogArticleCardComponent, [{
|
|
11012
11035
|
type: i0.Component,
|
|
@@ -11068,6 +11091,11 @@
|
|
|
11068
11091
|
this.sendShowEvent();
|
|
11069
11092
|
this.displayPrice();
|
|
11070
11093
|
this.subscriptions.push(this.groceriesListsService.list$.subscribe(function () { return _this.cdr.detectChanges(); }));
|
|
11094
|
+
this.subscriptions.push(this.recipeService.reloadRecipes$.subscribe(function (shouldReload) {
|
|
11095
|
+
if (shouldReload) {
|
|
11096
|
+
_this.cdr.detectChanges();
|
|
11097
|
+
}
|
|
11098
|
+
}));
|
|
11071
11099
|
};
|
|
11072
11100
|
AbstractRecipeCardComponent.prototype.ngOnDestroy = function () {
|
|
11073
11101
|
this.subscriptions.forEach(function (sub) { return sub.unsubscribe(); });
|
|
@@ -11203,8 +11231,8 @@
|
|
|
11203
11231
|
|
|
11204
11232
|
function RecipeCardComponent_div_0_div_3_div_2_Template(rf, ctx) {
|
|
11205
11233
|
if (rf & 1) {
|
|
11206
|
-
i0.ɵɵelementStart(0, "div",
|
|
11207
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11234
|
+
i0.ɵɵelementStart(0, "div", 37);
|
|
11235
|
+
i0.ɵɵelement(1, "ng-miam-icon", 38);
|
|
11208
11236
|
i0.ɵɵelementEnd();
|
|
11209
11237
|
}
|
|
11210
11238
|
if (rf & 2) {
|
|
@@ -11215,34 +11243,50 @@
|
|
|
11215
11243
|
}
|
|
11216
11244
|
function RecipeCardComponent_div_0_div_3_ng_miam_like_button_4_Template(rf, ctx) {
|
|
11217
11245
|
if (rf & 1) {
|
|
11218
|
-
i0.ɵɵelement(0, "ng-miam-like-button",
|
|
11246
|
+
i0.ɵɵelement(0, "ng-miam-like-button", 39);
|
|
11219
11247
|
}
|
|
11220
11248
|
if (rf & 2) {
|
|
11221
11249
|
var ctx_r26 = i0.ɵɵnextContext(3);
|
|
11222
11250
|
i0.ɵɵproperty("recipe", ctx_r26.recipe)("originTrace", ctx_r26.eventTrace());
|
|
11223
11251
|
}
|
|
11224
11252
|
}
|
|
11225
|
-
function
|
|
11253
|
+
function RecipeCardComponent_div_0_div_3_div_6_Template(rf, ctx) {
|
|
11226
11254
|
if (rf & 1) {
|
|
11227
|
-
i0.ɵɵ
|
|
11255
|
+
i0.ɵɵelementStart(0, "div", 40);
|
|
11256
|
+
i0.ɵɵelement(1, "img", 41);
|
|
11257
|
+
i0.ɵɵelementEnd();
|
|
11228
11258
|
}
|
|
11229
11259
|
if (rf & 2) {
|
|
11230
11260
|
var ctx_r27 = i0.ɵɵnextContext(3);
|
|
11231
|
-
i0.ɵɵ
|
|
11261
|
+
i0.ɵɵadvance(1);
|
|
11262
|
+
i0.ɵɵproperty("src", ctx_r27.recipe.sponsorLogoUrl, i0.ɵɵsanitizeUrl);
|
|
11263
|
+
}
|
|
11264
|
+
}
|
|
11265
|
+
function RecipeCardComponent_div_0_div_3_div_7_Template(rf, ctx) {
|
|
11266
|
+
if (rf & 1) {
|
|
11267
|
+
i0.ɵɵelementStart(0, "div", 42);
|
|
11268
|
+
i0.ɵɵelement(1, "img", 41);
|
|
11269
|
+
i0.ɵɵelementEnd();
|
|
11270
|
+
}
|
|
11271
|
+
if (rf & 2) {
|
|
11272
|
+
var ctx_r28 = i0.ɵɵnextContext(3);
|
|
11273
|
+
i0.ɵɵadvance(1);
|
|
11274
|
+
i0.ɵɵproperty("src", ctx_r28.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
|
|
11232
11275
|
}
|
|
11233
11276
|
}
|
|
11234
11277
|
function RecipeCardComponent_div_0_div_3_Template(rf, ctx) {
|
|
11235
11278
|
if (rf & 1) {
|
|
11236
|
-
var
|
|
11279
|
+
var _r30_1 = i0.ɵɵgetCurrentView();
|
|
11237
11280
|
i0.ɵɵelementStart(0, "div", 30);
|
|
11238
|
-
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_div_3_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
11281
|
+
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_div_3_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r30_1); var ctx_r29 = i0.ɵɵnextContext(2); return ctx_r29.openRecipe(); });
|
|
11239
11282
|
i0.ɵɵelement(1, "img", 31);
|
|
11240
11283
|
i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_3_div_2_Template, 2, 3, "div", 32);
|
|
11241
11284
|
i0.ɵɵelementStart(3, "div", 33);
|
|
11242
11285
|
i0.ɵɵtemplate(4, RecipeCardComponent_div_0_div_3_ng_miam_like_button_4_Template, 1, 2, "ng-miam-like-button", 34);
|
|
11243
11286
|
i0.ɵɵpipe(5, "async");
|
|
11244
11287
|
i0.ɵɵelementEnd();
|
|
11245
|
-
i0.ɵɵtemplate(6,
|
|
11288
|
+
i0.ɵɵtemplate(6, RecipeCardComponent_div_0_div_3_div_6_Template, 2, 1, "div", 35);
|
|
11289
|
+
i0.ɵɵtemplate(7, RecipeCardComponent_div_0_div_3_div_7_Template, 2, 1, "div", 36);
|
|
11246
11290
|
i0.ɵɵelementEnd();
|
|
11247
11291
|
}
|
|
11248
11292
|
if (rf & 2) {
|
|
@@ -11252,14 +11296,16 @@
|
|
|
11252
11296
|
i0.ɵɵadvance(1);
|
|
11253
11297
|
i0.ɵɵproperty("ngIf", ctx_r3.contextService.videoRecipesEnabled && (ctx_r3.recipe == null ? null : ctx_r3.recipe.videoId));
|
|
11254
11298
|
i0.ɵɵadvance(2);
|
|
11255
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(5,
|
|
11299
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(5, 5, ctx_r3.userService.isLogged$));
|
|
11256
11300
|
i0.ɵɵadvance(2);
|
|
11301
|
+
i0.ɵɵproperty("ngIf", ctx_r3.recipe.sponsorLogoUrl);
|
|
11302
|
+
i0.ɵɵadvance(1);
|
|
11257
11303
|
i0.ɵɵproperty("ngIf", ctx_r3.recipe.filigraneLogoUrl);
|
|
11258
11304
|
}
|
|
11259
11305
|
}
|
|
11260
11306
|
function RecipeCardComponent_div_0_ng_template_4_Template(rf, ctx) {
|
|
11261
11307
|
if (rf & 1) {
|
|
11262
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11308
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 43);
|
|
11263
11309
|
}
|
|
11264
11310
|
if (rf & 2) {
|
|
11265
11311
|
var ctx_r5 = i0.ɵɵnextContext(2);
|
|
@@ -11268,10 +11314,10 @@
|
|
|
11268
11314
|
}
|
|
11269
11315
|
function RecipeCardComponent_div_0_div_7_Template(rf, ctx) {
|
|
11270
11316
|
if (rf & 1) {
|
|
11271
|
-
var
|
|
11317
|
+
var _r32_1 = i0.ɵɵgetCurrentView();
|
|
11272
11318
|
i0.ɵɵelementStart(0, "div");
|
|
11273
|
-
i0.ɵɵelementStart(1, "div",
|
|
11274
|
-
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_div_7_Template_div_click_1_listener() { i0.ɵɵrestoreView(
|
|
11319
|
+
i0.ɵɵelementStart(1, "div", 44);
|
|
11320
|
+
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_div_7_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r32_1); var ctx_r31 = i0.ɵɵnextContext(2); return ctx_r31.openRecipe(); });
|
|
11275
11321
|
i0.ɵɵtext(2);
|
|
11276
11322
|
i0.ɵɵelementEnd();
|
|
11277
11323
|
i0.ɵɵelementEnd();
|
|
@@ -11284,7 +11330,7 @@
|
|
|
11284
11330
|
}
|
|
11285
11331
|
function RecipeCardComponent_div_0_ng_template_8_Template(rf, ctx) {
|
|
11286
11332
|
if (rf & 1) {
|
|
11287
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11333
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 43);
|
|
11288
11334
|
}
|
|
11289
11335
|
if (rf & 2) {
|
|
11290
11336
|
var ctx_r8 = i0.ɵɵnextContext(2);
|
|
@@ -11293,9 +11339,9 @@
|
|
|
11293
11339
|
}
|
|
11294
11340
|
function RecipeCardComponent_div_0_div_11_Template(rf, ctx) {
|
|
11295
11341
|
if (rf & 1) {
|
|
11296
|
-
i0.ɵɵelementStart(0, "div",
|
|
11297
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11298
|
-
i0.ɵɵelementStart(2, "span",
|
|
11342
|
+
i0.ɵɵelementStart(0, "div", 45);
|
|
11343
|
+
i0.ɵɵelement(1, "ng-miam-icon", 46);
|
|
11344
|
+
i0.ɵɵelementStart(2, "span", 47);
|
|
11299
11345
|
i0.ɵɵtext(3);
|
|
11300
11346
|
i0.ɵɵelementEnd();
|
|
11301
11347
|
i0.ɵɵelementEnd();
|
|
@@ -11311,49 +11357,49 @@
|
|
|
11311
11357
|
function RecipeCardComponent_div_0_div_12_ng_container_2_Template(rf, ctx) {
|
|
11312
11358
|
if (rf & 1) {
|
|
11313
11359
|
i0.ɵɵelementContainerStart(0);
|
|
11314
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11360
|
+
i0.ɵɵelement(1, "ng-miam-icon", 52);
|
|
11315
11361
|
i0.ɵɵelementContainerEnd();
|
|
11316
11362
|
}
|
|
11317
11363
|
if (rf & 2) {
|
|
11318
|
-
var
|
|
11364
|
+
var ctx_r33 = i0.ɵɵnextContext(3);
|
|
11319
11365
|
i0.ɵɵadvance(1);
|
|
11320
|
-
i0.ɵɵproperty("width", 44)("height", 20)("iconName",
|
|
11366
|
+
i0.ɵɵproperty("width", 44)("height", 20)("iconName", ctx_r33.icon.DifficultyMedium);
|
|
11321
11367
|
}
|
|
11322
11368
|
}
|
|
11323
11369
|
function RecipeCardComponent_div_0_div_12_ng_container_3_Template(rf, ctx) {
|
|
11324
11370
|
if (rf & 1) {
|
|
11325
11371
|
i0.ɵɵelementContainerStart(0);
|
|
11326
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11372
|
+
i0.ɵɵelement(1, "ng-miam-icon", 52);
|
|
11327
11373
|
i0.ɵɵelementContainerEnd();
|
|
11328
11374
|
}
|
|
11329
11375
|
if (rf & 2) {
|
|
11330
|
-
var
|
|
11376
|
+
var ctx_r34 = i0.ɵɵnextContext(3);
|
|
11331
11377
|
i0.ɵɵadvance(1);
|
|
11332
|
-
i0.ɵɵproperty("width", 67)("height", 20)("iconName",
|
|
11378
|
+
i0.ɵɵproperty("width", 67)("height", 20)("iconName", ctx_r34.icon.DifficultyHigh);
|
|
11333
11379
|
}
|
|
11334
11380
|
}
|
|
11335
11381
|
function RecipeCardComponent_div_0_div_12_ng_container_4_Template(rf, ctx) {
|
|
11336
11382
|
if (rf & 1) {
|
|
11337
11383
|
i0.ɵɵelementContainerStart(0);
|
|
11338
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11384
|
+
i0.ɵɵelement(1, "ng-miam-icon", 52);
|
|
11339
11385
|
i0.ɵɵelementContainerEnd();
|
|
11340
11386
|
}
|
|
11341
11387
|
if (rf & 2) {
|
|
11342
|
-
var
|
|
11388
|
+
var ctx_r35 = i0.ɵɵnextContext(3);
|
|
11343
11389
|
i0.ɵɵadvance(1);
|
|
11344
|
-
i0.ɵɵproperty("width", 20)("height", 20)("iconName",
|
|
11390
|
+
i0.ɵɵproperty("width", 20)("height", 20)("iconName", ctx_r35.icon.DifficultyLow);
|
|
11345
11391
|
}
|
|
11346
11392
|
}
|
|
11347
11393
|
var _c0$e = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
|
|
11348
11394
|
function RecipeCardComponent_div_0_div_12_Template(rf, ctx) {
|
|
11349
11395
|
if (rf & 1) {
|
|
11350
|
-
i0.ɵɵelementStart(0, "div",
|
|
11351
|
-
i0.ɵɵelementContainerStart(1,
|
|
11352
|
-
i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_2_Template, 2, 3, "ng-container",
|
|
11353
|
-
i0.ɵɵtemplate(3, RecipeCardComponent_div_0_div_12_ng_container_3_Template, 2, 3, "ng-container",
|
|
11354
|
-
i0.ɵɵtemplate(4, RecipeCardComponent_div_0_div_12_ng_container_4_Template, 2, 3, "ng-container",
|
|
11396
|
+
i0.ɵɵelementStart(0, "div", 48);
|
|
11397
|
+
i0.ɵɵelementContainerStart(1, 49);
|
|
11398
|
+
i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_2_Template, 2, 3, "ng-container", 50);
|
|
11399
|
+
i0.ɵɵtemplate(3, RecipeCardComponent_div_0_div_12_ng_container_3_Template, 2, 3, "ng-container", 50);
|
|
11400
|
+
i0.ɵɵtemplate(4, RecipeCardComponent_div_0_div_12_ng_container_4_Template, 2, 3, "ng-container", 51);
|
|
11355
11401
|
i0.ɵɵelementContainerEnd();
|
|
11356
|
-
i0.ɵɵelementStart(5, "span",
|
|
11402
|
+
i0.ɵɵelementStart(5, "span", 47);
|
|
11357
11403
|
i0.ɵɵtext(6);
|
|
11358
11404
|
i0.ɵɵelementEnd();
|
|
11359
11405
|
i0.ɵɵelementEnd();
|
|
@@ -11373,9 +11419,9 @@
|
|
|
11373
11419
|
}
|
|
11374
11420
|
function RecipeCardComponent_div_0_div_13_Template(rf, ctx) {
|
|
11375
11421
|
if (rf & 1) {
|
|
11376
|
-
i0.ɵɵelementStart(0, "div",
|
|
11377
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11378
|
-
i0.ɵɵelementStart(2, "span",
|
|
11422
|
+
i0.ɵɵelementStart(0, "div", 53);
|
|
11423
|
+
i0.ɵɵelement(1, "ng-miam-icon", 54);
|
|
11424
|
+
i0.ɵɵelementStart(2, "span", 47);
|
|
11379
11425
|
i0.ɵɵtext(3);
|
|
11380
11426
|
i0.ɵɵelementEnd();
|
|
11381
11427
|
i0.ɵɵelementEnd();
|
|
@@ -11390,7 +11436,7 @@
|
|
|
11390
11436
|
}
|
|
11391
11437
|
function RecipeCardComponent_div_0_ng_template_14_Template(rf, ctx) {
|
|
11392
11438
|
if (rf & 1) {
|
|
11393
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11439
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 43);
|
|
11394
11440
|
}
|
|
11395
11441
|
if (rf & 2) {
|
|
11396
11442
|
var ctx_r13 = i0.ɵɵnextContext(2);
|
|
@@ -11399,26 +11445,26 @@
|
|
|
11399
11445
|
}
|
|
11400
11446
|
function RecipeCardComponent_div_0_div_21_div_5_Template(rf, ctx) {
|
|
11401
11447
|
if (rf & 1) {
|
|
11402
|
-
i0.ɵɵelementStart(0, "div",
|
|
11448
|
+
i0.ɵɵelementStart(0, "div", 58);
|
|
11403
11449
|
i0.ɵɵtext(1);
|
|
11404
11450
|
i0.ɵɵelementEnd();
|
|
11405
11451
|
}
|
|
11406
11452
|
if (rf & 2) {
|
|
11407
|
-
var
|
|
11453
|
+
var ctx_r36 = i0.ɵɵnextContext(3);
|
|
11408
11454
|
i0.ɵɵadvance(1);
|
|
11409
|
-
i0.ɵɵtextInterpolate1(" + ",
|
|
11455
|
+
i0.ɵɵtextInterpolate1(" + ", ctx_r36.recipe.modifiedIngredients.length - 2, " ");
|
|
11410
11456
|
}
|
|
11411
11457
|
}
|
|
11412
11458
|
function RecipeCardComponent_div_0_div_21_Template(rf, ctx) {
|
|
11413
11459
|
if (rf & 1) {
|
|
11414
|
-
i0.ɵɵelementStart(0, "div",
|
|
11415
|
-
i0.ɵɵelementStart(1, "div",
|
|
11416
|
-
i0.ɵɵelement(2, "img",
|
|
11460
|
+
i0.ɵɵelementStart(0, "div", 55);
|
|
11461
|
+
i0.ɵɵelementStart(1, "div", 56);
|
|
11462
|
+
i0.ɵɵelement(2, "img", 41);
|
|
11417
11463
|
i0.ɵɵelementEnd();
|
|
11418
|
-
i0.ɵɵelementStart(3, "div",
|
|
11419
|
-
i0.ɵɵelement(4, "img",
|
|
11464
|
+
i0.ɵɵelementStart(3, "div", 56);
|
|
11465
|
+
i0.ɵɵelement(4, "img", 41);
|
|
11420
11466
|
i0.ɵɵelementEnd();
|
|
11421
|
-
i0.ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div",
|
|
11467
|
+
i0.ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div", 57);
|
|
11422
11468
|
i0.ɵɵelementEnd();
|
|
11423
11469
|
}
|
|
11424
11470
|
if (rf & 2) {
|
|
@@ -11433,10 +11479,10 @@
|
|
|
11433
11479
|
}
|
|
11434
11480
|
function RecipeCardComponent_div_0_div_22_Template(rf, ctx) {
|
|
11435
11481
|
if (rf & 1) {
|
|
11436
|
-
var
|
|
11437
|
-
i0.ɵɵelementStart(0, "div",
|
|
11438
|
-
i0.ɵɵelementStart(1, "ng-miam-counter-input",
|
|
11439
|
-
i0.ɵɵlistener("counterChange", function RecipeCardComponent_div_0_div_22_Template_ng_miam_counter_input_counterChange_1_listener($event) { i0.ɵɵrestoreView(
|
|
11482
|
+
var _r38_1 = i0.ɵɵgetCurrentView();
|
|
11483
|
+
i0.ɵɵelementStart(0, "div", 59);
|
|
11484
|
+
i0.ɵɵelementStart(1, "ng-miam-counter-input", 60);
|
|
11485
|
+
i0.ɵɵlistener("counterChange", function RecipeCardComponent_div_0_div_22_Template_ng_miam_counter_input_counterChange_1_listener($event) { i0.ɵɵrestoreView(_r38_1); var ctx_r37 = i0.ɵɵnextContext(2); return ctx_r37.updateGuests($event); });
|
|
11440
11486
|
i0.ɵɵelementEnd();
|
|
11441
11487
|
i0.ɵɵelementEnd();
|
|
11442
11488
|
}
|
|
@@ -11448,7 +11494,7 @@
|
|
|
11448
11494
|
}
|
|
11449
11495
|
function RecipeCardComponent_div_0_ng_template_23_Template(rf, ctx) {
|
|
11450
11496
|
if (rf & 1) {
|
|
11451
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11497
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 43);
|
|
11452
11498
|
}
|
|
11453
11499
|
if (rf & 2) {
|
|
11454
11500
|
var ctx_r17 = i0.ɵɵnextContext(2);
|
|
@@ -11457,8 +11503,8 @@
|
|
|
11457
11503
|
}
|
|
11458
11504
|
function RecipeCardComponent_div_0_div_26_Template(rf, ctx) {
|
|
11459
11505
|
if (rf & 1) {
|
|
11460
|
-
i0.ɵɵelementStart(0, "div",
|
|
11461
|
-
i0.ɵɵelement(1, "ng-miam-recipe-pricing",
|
|
11506
|
+
i0.ɵɵelementStart(0, "div", 61);
|
|
11507
|
+
i0.ɵɵelement(1, "ng-miam-recipe-pricing", 62);
|
|
11462
11508
|
i0.ɵɵelementEnd();
|
|
11463
11509
|
}
|
|
11464
11510
|
if (rf & 2) {
|
|
@@ -11495,7 +11541,7 @@
|
|
|
11495
11541
|
}
|
|
11496
11542
|
function RecipeCardComponent_div_0_ng_miam_icon_33_Template(rf, ctx) {
|
|
11497
11543
|
if (rf & 1) {
|
|
11498
|
-
i0.ɵɵelement(0, "ng-miam-icon",
|
|
11544
|
+
i0.ɵɵelement(0, "ng-miam-icon", 63);
|
|
11499
11545
|
i0.ɵɵpipe(1, "async");
|
|
11500
11546
|
}
|
|
11501
11547
|
if (rf & 2) {
|
|
@@ -11511,12 +11557,12 @@
|
|
|
11511
11557
|
var _c1$5 = function (a0, a1) { return { "in-basket": a0, "loading": a1 }; };
|
|
11512
11558
|
function RecipeCardComponent_div_0_Template(rf, ctx) {
|
|
11513
11559
|
if (rf & 1) {
|
|
11514
|
-
var
|
|
11560
|
+
var _r40_1 = i0.ɵɵgetCurrentView();
|
|
11515
11561
|
i0.ɵɵelementStart(0, "div", 2);
|
|
11516
11562
|
i0.ɵɵelementStart(1, "div", 3);
|
|
11517
11563
|
i0.ɵɵelement(2, "img", 4);
|
|
11518
11564
|
i0.ɵɵelementEnd();
|
|
11519
|
-
i0.ɵɵtemplate(3, RecipeCardComponent_div_0_div_3_Template,
|
|
11565
|
+
i0.ɵɵtemplate(3, RecipeCardComponent_div_0_div_3_Template, 8, 7, "div", 5);
|
|
11520
11566
|
i0.ɵɵtemplate(4, RecipeCardComponent_div_0_ng_template_4_Template, 1, 1, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
|
11521
11567
|
i0.ɵɵelementStart(6, "div", 7);
|
|
11522
11568
|
i0.ɵɵtemplate(7, RecipeCardComponent_div_0_div_7_Template, 3, 1, "div", 8);
|
|
@@ -11531,7 +11577,7 @@
|
|
|
11531
11577
|
i0.ɵɵelementStart(17, "div", 16);
|
|
11532
11578
|
i0.ɵɵelementStart(18, "div", 17);
|
|
11533
11579
|
i0.ɵɵelementStart(19, "div", 18);
|
|
11534
|
-
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_div_click_19_listener() { i0.ɵɵrestoreView(
|
|
11580
|
+
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_div_click_19_listener() { i0.ɵɵrestoreView(_r40_1); var ctx_r39 = i0.ɵɵnextContext(); return ctx_r39.toggleHelper(); });
|
|
11535
11581
|
i0.ɵɵelement(20, "ng-miam-icon", 19);
|
|
11536
11582
|
i0.ɵɵelementEnd();
|
|
11537
11583
|
i0.ɵɵtemplate(21, RecipeCardComponent_div_0_div_21_Template, 6, 3, "div", 20);
|
|
@@ -11545,7 +11591,7 @@
|
|
|
11545
11591
|
i0.ɵɵelementEnd();
|
|
11546
11592
|
i0.ɵɵelementStart(27, "div", 25);
|
|
11547
11593
|
i0.ɵɵelementStart(28, "button", 26);
|
|
11548
|
-
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_button_click_28_listener() { i0.ɵɵrestoreView(
|
|
11594
|
+
i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_button_click_28_listener() { i0.ɵɵrestoreView(_r40_1); var ctx_r41 = i0.ɵɵnextContext(); return ctx_r41.clickPrimary(); });
|
|
11549
11595
|
i0.ɵɵpipe(29, "async");
|
|
11550
11596
|
i0.ɵɵtemplate(30, RecipeCardComponent_div_0_span_30_Template, 3, 3, "span", 8);
|
|
11551
11597
|
i0.ɵɵtemplate(31, RecipeCardComponent_div_0_ng_template_31_Template, 3, 3, "ng-template", null, 27, i0.ɵɵtemplateRefExtractor);
|
|
@@ -11585,7 +11631,7 @@
|
|
|
11585
11631
|
i0.ɵɵadvance(2);
|
|
11586
11632
|
i0.ɵɵproperty("disabled", !ctx_r0.recipe)("ngClass", i0.ɵɵpureFunction2(25, _c1$5, i0.ɵɵpipeBind1(29, 23, ctx_r0.groceriesListsService.recipeIsInList(ctx_r0.recipe == null ? null : ctx_r0.recipe.id)), ctx_r0.addButtonLoading));
|
|
11587
11633
|
i0.ɵɵadvance(2);
|
|
11588
|
-
i0.ɵɵproperty("ngIf", ctx_r0.recipeService.recipesPrimaryButtonActions.display && !ctx_r0.recipeService.recipesPrimaryButtonActions.addToBasket)("ngIfElse", _r20);
|
|
11634
|
+
i0.ɵɵproperty("ngIf", ctx_r0.recipeService.suggestionsPrimaryButtonActions.display && !ctx_r0.recipeService.suggestionsPrimaryButtonActions.addToBasket || ctx_r0.recipeService.recipesPrimaryButtonActions.display && !ctx_r0.recipeService.recipesPrimaryButtonActions.addToBasket)("ngIfElse", _r20);
|
|
11589
11635
|
i0.ɵɵadvance(3);
|
|
11590
11636
|
i0.ɵɵproperty("ngIf", !ctx_r0.addButtonLoading)("ngIfElse", _r23);
|
|
11591
11637
|
}
|
|
@@ -11712,7 +11758,7 @@
|
|
|
11712
11758
|
return RecipeCardComponent;
|
|
11713
11759
|
}(AbstractRecipeCardComponent));
|
|
11714
11760
|
RecipeCardComponent.ɵfac = function RecipeCardComponent_Factory(t) { return new (t || RecipeCardComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(RecipesService), i0.ɵɵdirectiveInject(RecipeEventsService), i0.ɵɵdirectiveInject(GroceriesListsService), i0.ɵɵdirectiveInject(UserService), i0.ɵɵdirectiveInject(PointOfSalesService), i0.ɵɵdirectiveInject(ContextService), i0.ɵɵdirectiveInject(AnalyticsService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(ToastrService)); };
|
|
11715
|
-
RecipeCardComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeCardComponent, selectors: [["ng-miam-recipe-card"]], inputs: { recipeId: "recipeId", recipe: "recipe" }, outputs: { removedFromFavorite: "removedFromFavorite", displayed: "displayed", guestsChanged: "guestsChanged" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 3, vars: 1, consts: [["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"], ["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",
|
|
11761
|
+
RecipeCardComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeCardComponent, selectors: [["ng-miam-recipe-card"]], inputs: { recipeId: "recipeId", recipe: "recipe" }, outputs: { removedFromFavorite: "removedFromFavorite", displayed: "displayed", guestsChanged: "guestsChanged" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 3, vars: 1, consts: [["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"], ["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"], [1, "miam-recipe-card__attributes__info", "recipe__ingredients"], [3, "iconName"], [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"], ["primaryColor", "#fff", 3, "width", "height", "iconName"]], template: function RecipeCardComponent_Template(rf, ctx) {
|
|
11716
11762
|
if (rf & 1) {
|
|
11717
11763
|
i0.ɵɵtemplate(0, RecipeCardComponent_div_0_Template, 36, 28, "div", 0);
|
|
11718
11764
|
i0.ɵɵtemplate(1, RecipeCardComponent_ng_template_1_Template, 1, 0, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
@@ -11720,7 +11766,7 @@
|
|
|
11720
11766
|
if (rf & 2) {
|
|
11721
11767
|
i0.ɵɵproperty("ngIf", ctx.isloaded);
|
|
11722
11768
|
}
|
|
11723
|
-
}, directives: [i4.NgIf, IconComponent, i4.NgClass, LikeButtonComponent, SkeletonComponent, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, CounterInputComponent, RecipePricingComponent, LoaderComponent, CORSOverlayComponent], pipes: [i4.AsyncPipe], styles: [".miam-recipe-card{background-color:var(--m-color-white);border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);display:flex;flex-direction:column;height:100%;min-height:440px;position:relative;width:320px}.miam-recipe-card .miam-recipe-card__bookmark{filter:drop-shadow(0 6px 8px rgba(0,0,0,.1));left:0;position:absolute;top:10px;z-index:1}.miam-recipe-card .miam-recipe-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:60%;position:relative}.miam-recipe-card .miam-recipe-card__picture img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;object-fit:cover;position:absolute;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__video{left:calc(50% - 50px);position:absolute;top:calc(50% - 50px)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions{display:flex;position:absolute;right:16px;top:20px;z-index:var(--m-z-index-position-absolute-high)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions ng-miam-like-button.miam-recipe-card__actions__icon{-o-object-fit:contain;background-color:var(--m-color-white);border-radius:var(--m-border-radius-circle);filter:drop-shadow(0 6px 8px rgba(0,0,0,.1));margin:0 0 16px;object-fit:contain;width:-webkit-max-content;width:-moz-max-content;width:max-content}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__sponsor{-o-object-fit:contain;
|
|
11769
|
+
}, directives: [i4.NgIf, IconComponent, i4.NgClass, LikeButtonComponent, SkeletonComponent, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, CounterInputComponent, RecipePricingComponent, LoaderComponent, CORSOverlayComponent], pipes: [i4.AsyncPipe], styles: [".miam-recipe-card{background-color:var(--m-color-white);border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);display:flex;flex-direction:column;height:100%;min-height:440px;position:relative;width:320px}.miam-recipe-card .miam-recipe-card__bookmark{filter:drop-shadow(0 6px 8px rgba(0,0,0,.1));left:0;position:absolute;top:10px;z-index:1}.miam-recipe-card .miam-recipe-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:60%;position:relative}.miam-recipe-card .miam-recipe-card__picture img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;object-fit:cover;position:absolute;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__video{left:calc(50% - 50px);position:absolute;top:calc(50% - 50px)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions{display:flex;position:absolute;right:16px;top:20px;z-index:var(--m-z-index-position-absolute-high)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions ng-miam-like-button.miam-recipe-card__actions__icon{-o-object-fit:contain;background-color:var(--m-color-white);border-radius:var(--m-border-radius-circle);filter:drop-shadow(0 6px 8px rgba(0,0,0,.1));margin:0 0 16px;object-fit:contain;width:-webkit-max-content;width:-moz-max-content;width:max-content}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__sponsor{align-items:flex-start;display:flex;height:48px;justify-content:flex-start;left:16px;order:2;position:absolute;top:16px;width:64px}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__sponsor img{-o-object-fit:contain;border-radius:0;height:auto;max-height:100%;max-width:100%;object-fit:contain;position:unset;transition:unset;width:auto;z-index:unset}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__filigrane{align-items:flex-end;bottom:16px;display:flex;height:48px;justify-content:flex-end;order:2;position:absolute;right:16px;width:72px}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__filigrane img{-o-object-fit:contain;border-radius:0;height:auto;max-height:100%;max-width:100%;object-fit:contain;position:unset;transition:unset;width:auto;z-index:unset}.miam-recipe-card .miam-recipe-card__attributes{display:flex;flex:1 1;flex-direction:column;justify-content:space-around;justify-content:space-between;padding:8px 16px 16px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;-webkit-tap-highlight-color:transparent;color:var(--m-color-slate);cursor:pointer;display:-webkit-box;font-size:20px;font-weight:700;font-weight:500;letter-spacing:normal;line-height:30;line-height:1.5;overflow:hidden;text-align:center;text-overflow:ellipsis;transition:var(--m-default-transition)}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__title:hover{color:var(--m-color-primary);text-decoration:underline}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos{display:flex;flex-direction:row;justify-content:space-around;padding:8px 0}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos .miam-recipe-card__attributes__info{align-items:center;display:flex;flex-direction:column;width:100%}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos .miam-recipe-card__attributes__info.recipe__total__time{border-right:1px solid #e9e9e9}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos .miam-recipe-card__attributes__info.recipe__ingredients{border-left:1px solid #e9e9e9;display:none}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos .miam-recipe-card__attributes__info .miam-recipe-card__info__label{font-size:14px;margin-top:10px;text-transform:capitalize}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control{align-items:center;display:flex;justify-content:space-between}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col{display:flex;flex-direction:column-reverse}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__counter{align-items:center;display:none}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__counter ng-miam-counter-input .miam-counter-input__icon{margin-right:8px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__custom{align-items:flex-end;display:flex;justify-content:flex-start}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__custom .icon-container{cursor:pointer}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__custom .miam-recipe-card__help,.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__custom .miam-recipe-card__ingredients__pictures{display:none}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__right__col{align-items:center;display:flex;flex-direction:column;min-width:60px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__right__col .miam-recipe-card__right__col__price{display:none;height:48px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__cta{display:flex;justify-content:center;width:100%}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__cta button{padding:12px 16px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__cta button .miam-loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:24px;width:24px}@media (max-width:1023px){.miam-recipe-card{height:440px}.miam-recipe-card .miam-recipe-card__picture{height:55%}}"], encapsulation: 2, changeDetection: 0 });
|
|
11724
11770
|
/*@__PURE__*/ (function () {
|
|
11725
11771
|
i0.ɵsetClassMetadata(RecipeCardComponent, [{
|
|
11726
11772
|
type: i0.Component,
|
|
@@ -11770,127 +11816,142 @@
|
|
|
11770
11816
|
var _c0$f = ["miamMoreActions"];
|
|
11771
11817
|
function CatalogRecipeCardComponent_div_4_div_3_Template(rf, ctx) {
|
|
11772
11818
|
if (rf & 1) {
|
|
11773
|
-
i0.ɵɵelementStart(0, "div");
|
|
11774
|
-
i0.ɵɵelement(1, "img",
|
|
11819
|
+
i0.ɵɵelementStart(0, "div", 32);
|
|
11820
|
+
i0.ɵɵelement(1, "img", 33);
|
|
11775
11821
|
i0.ɵɵelementEnd();
|
|
11776
11822
|
}
|
|
11777
11823
|
if (rf & 2) {
|
|
11778
|
-
var
|
|
11824
|
+
var ctx_r18 = i0.ɵɵnextContext(2);
|
|
11779
11825
|
i0.ɵɵadvance(1);
|
|
11780
|
-
i0.ɵɵproperty("src",
|
|
11826
|
+
i0.ɵɵproperty("src", ctx_r18.recipe.sponsorLogoUrl, i0.ɵɵsanitizeUrl);
|
|
11781
11827
|
}
|
|
11782
11828
|
}
|
|
11783
11829
|
function CatalogRecipeCardComponent_div_4_div_4_Template(rf, ctx) {
|
|
11784
11830
|
if (rf & 1) {
|
|
11785
|
-
i0.ɵɵelementStart(0, "div",
|
|
11786
|
-
i0.ɵɵelement(1, "
|
|
11831
|
+
i0.ɵɵelementStart(0, "div", 34);
|
|
11832
|
+
i0.ɵɵelement(1, "img", 33);
|
|
11787
11833
|
i0.ɵɵelementEnd();
|
|
11788
11834
|
}
|
|
11789
11835
|
if (rf & 2) {
|
|
11790
|
-
var
|
|
11836
|
+
var ctx_r19 = i0.ɵɵnextContext(2);
|
|
11791
11837
|
i0.ɵɵadvance(1);
|
|
11792
|
-
i0.ɵɵproperty("
|
|
11838
|
+
i0.ɵɵproperty("src", ctx_r19.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
|
|
11793
11839
|
}
|
|
11794
11840
|
}
|
|
11795
|
-
function
|
|
11841
|
+
function CatalogRecipeCardComponent_div_4_div_5_Template(rf, ctx) {
|
|
11796
11842
|
if (rf & 1) {
|
|
11797
|
-
i0.ɵɵelementStart(0, "div",
|
|
11843
|
+
i0.ɵɵelementStart(0, "div", 35);
|
|
11844
|
+
i0.ɵɵelement(1, "ng-miam-icon", 36);
|
|
11845
|
+
i0.ɵɵelementEnd();
|
|
11846
|
+
}
|
|
11847
|
+
if (rf & 2) {
|
|
11848
|
+
var ctx_r20 = i0.ɵɵnextContext(2);
|
|
11849
|
+
i0.ɵɵadvance(1);
|
|
11850
|
+
i0.ɵɵproperty("iconName", ctx_r20.icon.Video)("width", 80)("height", 80);
|
|
11851
|
+
}
|
|
11852
|
+
}
|
|
11853
|
+
function CatalogRecipeCardComponent_div_4_ng_container_6_div_1_Template(rf, ctx) {
|
|
11854
|
+
if (rf & 1) {
|
|
11855
|
+
i0.ɵɵelementStart(0, "div", 38);
|
|
11798
11856
|
i0.ɵɵtext(1, " D\u00E9j\u00E0 ajout\u00E9e ");
|
|
11799
11857
|
i0.ɵɵelementEnd();
|
|
11800
11858
|
}
|
|
11801
11859
|
}
|
|
11802
|
-
function
|
|
11860
|
+
function CatalogRecipeCardComponent_div_4_ng_container_6_Template(rf, ctx) {
|
|
11803
11861
|
if (rf & 1) {
|
|
11804
11862
|
i0.ɵɵelementContainerStart(0);
|
|
11805
|
-
i0.ɵɵtemplate(1,
|
|
11863
|
+
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_4_ng_container_6_div_1_Template, 2, 0, "div", 37);
|
|
11806
11864
|
i0.ɵɵpipe(2, "async");
|
|
11807
11865
|
i0.ɵɵelementContainerEnd();
|
|
11808
11866
|
}
|
|
11809
11867
|
if (rf & 2) {
|
|
11810
|
-
var
|
|
11868
|
+
var ctx_r21 = i0.ɵɵnextContext(2);
|
|
11811
11869
|
i0.ɵɵadvance(1);
|
|
11812
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 1,
|
|
11870
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 1, ctx_r21.groceriesListsService.recipeIsInList(ctx_r21.recipe == null ? null : ctx_r21.recipe.id)));
|
|
11813
11871
|
}
|
|
11814
11872
|
}
|
|
11815
|
-
function
|
|
11873
|
+
function CatalogRecipeCardComponent_div_4_ng_container_7_Template(rf, ctx) {
|
|
11816
11874
|
if (rf & 1) {
|
|
11817
|
-
var
|
|
11875
|
+
var _r29_1 = i0.ɵɵgetCurrentView();
|
|
11818
11876
|
i0.ɵɵelementContainerStart(0);
|
|
11819
|
-
i0.ɵɵelementStart(1, "div",
|
|
11820
|
-
i0.ɵɵlistener("click", function
|
|
11877
|
+
i0.ɵɵelementStart(1, "div", 39);
|
|
11878
|
+
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_ng_container_7_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r29_1); var ctx_r28 = i0.ɵɵnextContext(2); return ctx_r28.openRecipe(); });
|
|
11821
11879
|
i0.ɵɵtext(2);
|
|
11822
11880
|
i0.ɵɵelementEnd();
|
|
11823
11881
|
i0.ɵɵelementContainerEnd();
|
|
11824
11882
|
}
|
|
11825
11883
|
if (rf & 2) {
|
|
11826
|
-
var
|
|
11884
|
+
var ctx_r22 = i0.ɵɵnextContext(2);
|
|
11827
11885
|
i0.ɵɵadvance(2);
|
|
11828
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
11886
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r22.recipe == null ? null : ctx_r22.recipe.attributes["title"], " ");
|
|
11829
11887
|
}
|
|
11830
11888
|
}
|
|
11831
|
-
function
|
|
11889
|
+
function CatalogRecipeCardComponent_div_4_ng_template_8_Template(rf, ctx) {
|
|
11832
11890
|
if (rf & 1) {
|
|
11833
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11891
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 40);
|
|
11834
11892
|
}
|
|
11835
11893
|
if (rf & 2) {
|
|
11836
|
-
var
|
|
11837
|
-
i0.ɵɵproperty("type",
|
|
11894
|
+
var ctx_r24 = i0.ɵɵnextContext(2);
|
|
11895
|
+
i0.ɵɵproperty("type", ctx_r24.skeleton.Text);
|
|
11838
11896
|
}
|
|
11839
11897
|
}
|
|
11840
|
-
function
|
|
11898
|
+
function CatalogRecipeCardComponent_div_4_ng_miam_like_button_11_Template(rf, ctx) {
|
|
11841
11899
|
if (rf & 1) {
|
|
11842
|
-
i0.ɵɵelement(0, "ng-miam-like-button",
|
|
11900
|
+
i0.ɵɵelement(0, "ng-miam-like-button", 41);
|
|
11843
11901
|
}
|
|
11844
11902
|
if (rf & 2) {
|
|
11845
|
-
var
|
|
11846
|
-
i0.ɵɵproperty("recipe",
|
|
11903
|
+
var ctx_r25 = i0.ɵɵnextContext(2);
|
|
11904
|
+
i0.ɵɵproperty("recipe", ctx_r25.recipe)("originTrace", ctx_r25.eventTrace());
|
|
11847
11905
|
}
|
|
11848
11906
|
}
|
|
11849
11907
|
function CatalogRecipeCardComponent_div_4_Template(rf, ctx) {
|
|
11850
11908
|
if (rf & 1) {
|
|
11851
|
-
var
|
|
11852
|
-
i0.ɵɵelementStart(0, "div",
|
|
11853
|
-
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_0_listener() { i0.ɵɵrestoreView(
|
|
11854
|
-
i0.ɵɵelementStart(1, "div",
|
|
11855
|
-
i0.ɵɵelement(2, "img",
|
|
11856
|
-
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_4_div_3_Template, 2, 1, "div",
|
|
11857
|
-
i0.ɵɵ
|
|
11858
|
-
i0.ɵɵ
|
|
11859
|
-
i0.ɵɵtemplate(5,
|
|
11860
|
-
i0.ɵɵtemplate(6, CatalogRecipeCardComponent_div_4_ng_container_6_Template, 3,
|
|
11861
|
-
i0.ɵɵtemplate(7,
|
|
11862
|
-
i0.ɵɵ
|
|
11863
|
-
i0.ɵɵ
|
|
11864
|
-
i0.ɵɵ
|
|
11865
|
-
i0.ɵɵ
|
|
11866
|
-
i0.ɵɵ
|
|
11867
|
-
i0.ɵɵ
|
|
11909
|
+
var _r31_1 = i0.ɵɵgetCurrentView();
|
|
11910
|
+
i0.ɵɵelementStart(0, "div", 19);
|
|
11911
|
+
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r31_1); var ctx_r30 = i0.ɵɵnextContext(); return ctx_r30.openRecipe(); });
|
|
11912
|
+
i0.ɵɵelementStart(1, "div", 20);
|
|
11913
|
+
i0.ɵɵelement(2, "img", 21);
|
|
11914
|
+
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_4_div_3_Template, 2, 1, "div", 22);
|
|
11915
|
+
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_4_div_4_Template, 2, 1, "div", 23);
|
|
11916
|
+
i0.ɵɵelementEnd();
|
|
11917
|
+
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_4_div_5_Template, 2, 3, "div", 24);
|
|
11918
|
+
i0.ɵɵtemplate(6, CatalogRecipeCardComponent_div_4_ng_container_6_Template, 3, 3, "ng-container", 25);
|
|
11919
|
+
i0.ɵɵtemplate(7, CatalogRecipeCardComponent_div_4_ng_container_7_Template, 3, 1, "ng-container", 9);
|
|
11920
|
+
i0.ɵɵtemplate(8, CatalogRecipeCardComponent_div_4_ng_template_8_Template, 1, 1, "ng-template", null, 26, i0.ɵɵtemplateRefExtractor);
|
|
11921
|
+
i0.ɵɵelementStart(10, "div", 27);
|
|
11922
|
+
i0.ɵɵtemplate(11, CatalogRecipeCardComponent_div_4_ng_miam_like_button_11_Template, 1, 2, "ng-miam-like-button", 28);
|
|
11923
|
+
i0.ɵɵpipe(12, "async");
|
|
11924
|
+
i0.ɵɵelementStart(13, "div", 29, 30);
|
|
11925
|
+
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_13_listener($event) { i0.ɵɵrestoreView(_r31_1); var ctx_r32 = i0.ɵɵnextContext(); return ctx_r32.toggleMoreActions($event); });
|
|
11926
|
+
i0.ɵɵelement(15, "ng-miam-icon", 31);
|
|
11868
11927
|
i0.ɵɵelementEnd();
|
|
11869
11928
|
i0.ɵɵelementEnd();
|
|
11870
11929
|
i0.ɵɵelementEnd();
|
|
11871
11930
|
}
|
|
11872
11931
|
if (rf & 2) {
|
|
11873
|
-
var
|
|
11932
|
+
var _r23 = i0.ɵɵreference(9);
|
|
11874
11933
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
11875
11934
|
i0.ɵɵadvance(2);
|
|
11876
11935
|
i0.ɵɵproperty("src", ctx_r0.recipe.attributes["media-url"], i0.ɵɵsanitizeUrl);
|
|
11877
11936
|
i0.ɵɵadvance(1);
|
|
11937
|
+
i0.ɵɵproperty("ngIf", ctx_r0.recipe.sponsorLogoUrl);
|
|
11938
|
+
i0.ɵɵadvance(1);
|
|
11878
11939
|
i0.ɵɵproperty("ngIf", ctx_r0.recipe.filigraneLogoUrl);
|
|
11879
11940
|
i0.ɵɵadvance(1);
|
|
11880
11941
|
i0.ɵɵproperty("ngIf", ctx_r0.contextService.videoRecipesEnabled && (ctx_r0.recipe == null ? null : ctx_r0.recipe.videoId));
|
|
11881
11942
|
i0.ɵɵadvance(1);
|
|
11882
11943
|
i0.ɵɵproperty("ngIf", ctx_r0.recipe && ctx_r0.displayAddedOnPicture);
|
|
11883
11944
|
i0.ɵɵadvance(1);
|
|
11884
|
-
i0.ɵɵproperty("ngIf", ctx_r0.recipe)("ngIfElse",
|
|
11945
|
+
i0.ɵɵproperty("ngIf", ctx_r0.recipe)("ngIfElse", _r23);
|
|
11885
11946
|
i0.ɵɵadvance(4);
|
|
11886
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(
|
|
11947
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(12, 9, ctx_r0.userService.isLogged$));
|
|
11887
11948
|
i0.ɵɵadvance(4);
|
|
11888
11949
|
i0.ɵɵproperty("iconName", ctx_r0.actionsOpened ? ctx_r0.icon.Clear : ctx_r0.icon.HorizontalDots);
|
|
11889
11950
|
}
|
|
11890
11951
|
}
|
|
11891
11952
|
function CatalogRecipeCardComponent_ng_template_5_Template(rf, ctx) {
|
|
11892
11953
|
if (rf & 1) {
|
|
11893
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
11954
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 40);
|
|
11894
11955
|
}
|
|
11895
11956
|
if (rf & 2) {
|
|
11896
11957
|
var ctx_r2 = i0.ɵɵnextContext();
|
|
@@ -11899,26 +11960,26 @@
|
|
|
11899
11960
|
}
|
|
11900
11961
|
function CatalogRecipeCardComponent_div_9_div_5_Template(rf, ctx) {
|
|
11901
11962
|
if (rf & 1) {
|
|
11902
|
-
i0.ɵɵelementStart(0, "div",
|
|
11963
|
+
i0.ɵɵelementStart(0, "div", 45);
|
|
11903
11964
|
i0.ɵɵtext(1);
|
|
11904
11965
|
i0.ɵɵelementEnd();
|
|
11905
11966
|
}
|
|
11906
11967
|
if (rf & 2) {
|
|
11907
|
-
var
|
|
11968
|
+
var ctx_r33 = i0.ɵɵnextContext(2);
|
|
11908
11969
|
i0.ɵɵadvance(1);
|
|
11909
|
-
i0.ɵɵtextInterpolate1(" + ",
|
|
11970
|
+
i0.ɵɵtextInterpolate1(" + ", ctx_r33.recipe.modifiedIngredients.length - 2, " ");
|
|
11910
11971
|
}
|
|
11911
11972
|
}
|
|
11912
11973
|
function CatalogRecipeCardComponent_div_9_Template(rf, ctx) {
|
|
11913
11974
|
if (rf & 1) {
|
|
11914
|
-
i0.ɵɵelementStart(0, "div",
|
|
11915
|
-
i0.ɵɵelementStart(1, "div",
|
|
11916
|
-
i0.ɵɵelement(2, "img",
|
|
11975
|
+
i0.ɵɵelementStart(0, "div", 42);
|
|
11976
|
+
i0.ɵɵelementStart(1, "div", 43);
|
|
11977
|
+
i0.ɵɵelement(2, "img", 33);
|
|
11917
11978
|
i0.ɵɵelementEnd();
|
|
11918
|
-
i0.ɵɵelementStart(3, "div",
|
|
11919
|
-
i0.ɵɵelement(4, "img",
|
|
11979
|
+
i0.ɵɵelementStart(3, "div", 43);
|
|
11980
|
+
i0.ɵɵelement(4, "img", 33);
|
|
11920
11981
|
i0.ɵɵelementEnd();
|
|
11921
|
-
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_9_div_5_Template, 2, 1, "div",
|
|
11982
|
+
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_9_div_5_Template, 2, 1, "div", 44);
|
|
11922
11983
|
i0.ɵɵelementEnd();
|
|
11923
11984
|
}
|
|
11924
11985
|
if (rf & 2) {
|
|
@@ -11933,17 +11994,17 @@
|
|
|
11933
11994
|
}
|
|
11934
11995
|
function CatalogRecipeCardComponent_div_10_ng_miam_recipe_pricing_1_Template(rf, ctx) {
|
|
11935
11996
|
if (rf & 1) {
|
|
11936
|
-
i0.ɵɵelement(0, "ng-miam-recipe-pricing",
|
|
11997
|
+
i0.ɵɵelement(0, "ng-miam-recipe-pricing", 48);
|
|
11937
11998
|
}
|
|
11938
11999
|
if (rf & 2) {
|
|
11939
|
-
var
|
|
11940
|
-
i0.ɵɵproperty("recipe",
|
|
12000
|
+
var ctx_r34 = i0.ɵɵnextContext(2);
|
|
12001
|
+
i0.ɵɵproperty("recipe", ctx_r34.recipe)("serves", ctx_r34.recipe == null ? null : ctx_r34.recipe.modifiedGuests);
|
|
11941
12002
|
}
|
|
11942
12003
|
}
|
|
11943
12004
|
function CatalogRecipeCardComponent_div_10_Template(rf, ctx) {
|
|
11944
12005
|
if (rf & 1) {
|
|
11945
|
-
i0.ɵɵelementStart(0, "div",
|
|
11946
|
-
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_10_ng_miam_recipe_pricing_1_Template, 1, 2, "ng-miam-recipe-pricing",
|
|
12006
|
+
i0.ɵɵelementStart(0, "div", 46);
|
|
12007
|
+
i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_10_ng_miam_recipe_pricing_1_Template, 1, 2, "ng-miam-recipe-pricing", 47);
|
|
11947
12008
|
i0.ɵɵelementEnd();
|
|
11948
12009
|
}
|
|
11949
12010
|
if (rf & 2) {
|
|
@@ -11952,14 +12013,40 @@
|
|
|
11952
12013
|
i0.ɵɵproperty("ngIf", ctx_r4.isPriceDisplayed);
|
|
11953
12014
|
}
|
|
11954
12015
|
}
|
|
12016
|
+
function CatalogRecipeCardComponent_span_13_Template(rf, ctx) {
|
|
12017
|
+
if (rf & 1) {
|
|
12018
|
+
i0.ɵɵelementStart(0, "span");
|
|
12019
|
+
i0.ɵɵtext(1);
|
|
12020
|
+
i0.ɵɵpipe(2, "async");
|
|
12021
|
+
i0.ɵɵelementEnd();
|
|
12022
|
+
}
|
|
12023
|
+
if (rf & 2) {
|
|
12024
|
+
var ctx_r5 = i0.ɵɵnextContext();
|
|
12025
|
+
i0.ɵɵadvance(1);
|
|
12026
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r5.groceriesListsService.recipeIsInList(ctx_r5.recipe == null ? null : ctx_r5.recipe.id)) ? "Voir le d\u00E9tail" : "D\u00E9couvrir l'id\u00E9e repas", " ");
|
|
12027
|
+
}
|
|
12028
|
+
}
|
|
12029
|
+
function CatalogRecipeCardComponent_ng_template_14_Template(rf, ctx) {
|
|
12030
|
+
if (rf & 1) {
|
|
12031
|
+
i0.ɵɵelementStart(0, "span");
|
|
12032
|
+
i0.ɵɵtext(1);
|
|
12033
|
+
i0.ɵɵpipe(2, "async");
|
|
12034
|
+
i0.ɵɵelementEnd();
|
|
12035
|
+
}
|
|
12036
|
+
if (rf & 2) {
|
|
12037
|
+
var ctx_r7 = i0.ɵɵnextContext();
|
|
12038
|
+
i0.ɵɵadvance(1);
|
|
12039
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r7.groceriesListsService.recipeIsInList(ctx_r7.recipe == null ? null : ctx_r7.recipe.id)) ? "Voir le d\u00E9tail" : "Ajouter les ingr\u00E9dients", " ");
|
|
12040
|
+
}
|
|
12041
|
+
}
|
|
11955
12042
|
function CatalogRecipeCardComponent_ng_miam_icon_16_Template(rf, ctx) {
|
|
11956
12043
|
if (rf & 1) {
|
|
11957
|
-
i0.ɵɵelement(0, "ng-miam-icon",
|
|
12044
|
+
i0.ɵɵelement(0, "ng-miam-icon", 49);
|
|
11958
12045
|
i0.ɵɵpipe(1, "async");
|
|
11959
12046
|
}
|
|
11960
12047
|
if (rf & 2) {
|
|
11961
|
-
var
|
|
11962
|
-
i0.ɵɵproperty("width", 16)("height", 16)("iconName", i0.ɵɵpipeBind1(1, 3,
|
|
12048
|
+
var ctx_r8 = i0.ɵɵnextContext();
|
|
12049
|
+
i0.ɵɵproperty("width", 16)("height", 16)("iconName", i0.ɵɵpipeBind1(1, 3, ctx_r8.groceriesListsService.recipeIsInList(ctx_r8.recipe == null ? null : ctx_r8.recipe.id)) ? ctx_r8.icon.CheckList : ctx_r8.icon.Cart);
|
|
11963
12050
|
}
|
|
11964
12051
|
}
|
|
11965
12052
|
function CatalogRecipeCardComponent_ng_template_17_Template(rf, ctx) {
|
|
@@ -11969,98 +12056,98 @@
|
|
|
11969
12056
|
}
|
|
11970
12057
|
function CatalogRecipeCardComponent_div_20_Template(rf, ctx) {
|
|
11971
12058
|
if (rf & 1) {
|
|
11972
|
-
i0.ɵɵelementStart(0, "div",
|
|
11973
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
11974
|
-
i0.ɵɵelementStart(2, "span",
|
|
12059
|
+
i0.ɵɵelementStart(0, "div", 50);
|
|
12060
|
+
i0.ɵɵelement(1, "ng-miam-icon", 51);
|
|
12061
|
+
i0.ɵɵelementStart(2, "span", 52);
|
|
11975
12062
|
i0.ɵɵtext(3);
|
|
11976
12063
|
i0.ɵɵelementEnd();
|
|
11977
12064
|
i0.ɵɵelementEnd();
|
|
11978
12065
|
}
|
|
11979
12066
|
if (rf & 2) {
|
|
11980
|
-
var
|
|
12067
|
+
var ctx_r11 = i0.ɵɵnextContext();
|
|
11981
12068
|
i0.ɵɵadvance(1);
|
|
11982
|
-
i0.ɵɵproperty("iconName",
|
|
12069
|
+
i0.ɵɵproperty("iconName", ctx_r11.icon.Time);
|
|
11983
12070
|
i0.ɵɵadvance(2);
|
|
11984
|
-
i0.ɵɵtextInterpolate(
|
|
12071
|
+
i0.ɵɵtextInterpolate(ctx_r11.recipe == null ? null : ctx_r11.recipe.totalTime);
|
|
11985
12072
|
}
|
|
11986
12073
|
}
|
|
11987
12074
|
function CatalogRecipeCardComponent_div_21_ng_container_2_Template(rf, ctx) {
|
|
11988
12075
|
if (rf & 1) {
|
|
11989
12076
|
i0.ɵɵelementContainerStart(0);
|
|
11990
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
12077
|
+
i0.ɵɵelement(1, "ng-miam-icon", 57);
|
|
11991
12078
|
i0.ɵɵelementContainerEnd();
|
|
11992
12079
|
}
|
|
11993
12080
|
if (rf & 2) {
|
|
11994
|
-
var
|
|
12081
|
+
var ctx_r35 = i0.ɵɵnextContext(2);
|
|
11995
12082
|
i0.ɵɵadvance(1);
|
|
11996
|
-
i0.ɵɵproperty("width", 39)("height", 18)("iconName",
|
|
12083
|
+
i0.ɵɵproperty("width", 39)("height", 18)("iconName", ctx_r35.icon.DifficultyMedium);
|
|
11997
12084
|
}
|
|
11998
12085
|
}
|
|
11999
12086
|
function CatalogRecipeCardComponent_div_21_ng_container_3_Template(rf, ctx) {
|
|
12000
12087
|
if (rf & 1) {
|
|
12001
12088
|
i0.ɵɵelementContainerStart(0);
|
|
12002
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
12089
|
+
i0.ɵɵelement(1, "ng-miam-icon", 57);
|
|
12003
12090
|
i0.ɵɵelementContainerEnd();
|
|
12004
12091
|
}
|
|
12005
12092
|
if (rf & 2) {
|
|
12006
|
-
var
|
|
12093
|
+
var ctx_r36 = i0.ɵɵnextContext(2);
|
|
12007
12094
|
i0.ɵɵadvance(1);
|
|
12008
|
-
i0.ɵɵproperty("width", 60)("height", 18)("iconName",
|
|
12095
|
+
i0.ɵɵproperty("width", 60)("height", 18)("iconName", ctx_r36.icon.DifficultyHigh);
|
|
12009
12096
|
}
|
|
12010
12097
|
}
|
|
12011
12098
|
function CatalogRecipeCardComponent_div_21_ng_container_4_Template(rf, ctx) {
|
|
12012
12099
|
if (rf & 1) {
|
|
12013
12100
|
i0.ɵɵelementContainerStart(0);
|
|
12014
|
-
i0.ɵɵelement(1, "ng-miam-icon",
|
|
12101
|
+
i0.ɵɵelement(1, "ng-miam-icon", 57);
|
|
12015
12102
|
i0.ɵɵelementContainerEnd();
|
|
12016
12103
|
}
|
|
12017
12104
|
if (rf & 2) {
|
|
12018
|
-
var
|
|
12105
|
+
var ctx_r37 = i0.ɵɵnextContext(2);
|
|
12019
12106
|
i0.ɵɵadvance(1);
|
|
12020
|
-
i0.ɵɵproperty("width", 18)("height", 18)("iconName",
|
|
12107
|
+
i0.ɵɵproperty("width", 18)("height", 18)("iconName", ctx_r37.icon.DifficultyLow);
|
|
12021
12108
|
}
|
|
12022
12109
|
}
|
|
12023
12110
|
var _c1$6 = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
|
|
12024
12111
|
function CatalogRecipeCardComponent_div_21_Template(rf, ctx) {
|
|
12025
12112
|
if (rf & 1) {
|
|
12026
|
-
i0.ɵɵelementStart(0, "div",
|
|
12027
|
-
i0.ɵɵelementContainerStart(1,
|
|
12028
|
-
i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_21_ng_container_2_Template, 2, 3, "ng-container",
|
|
12029
|
-
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_21_ng_container_3_Template, 2, 3, "ng-container",
|
|
12030
|
-
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_21_ng_container_4_Template, 2, 3, "ng-container",
|
|
12113
|
+
i0.ɵɵelementStart(0, "div", 53);
|
|
12114
|
+
i0.ɵɵelementContainerStart(1, 54);
|
|
12115
|
+
i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_21_ng_container_2_Template, 2, 3, "ng-container", 55);
|
|
12116
|
+
i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_21_ng_container_3_Template, 2, 3, "ng-container", 55);
|
|
12117
|
+
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_21_ng_container_4_Template, 2, 3, "ng-container", 56);
|
|
12031
12118
|
i0.ɵɵelementContainerEnd();
|
|
12032
|
-
i0.ɵɵelementStart(5, "span",
|
|
12119
|
+
i0.ɵɵelementStart(5, "span", 52);
|
|
12033
12120
|
i0.ɵɵtext(6);
|
|
12034
12121
|
i0.ɵɵelementEnd();
|
|
12035
12122
|
i0.ɵɵelementEnd();
|
|
12036
12123
|
}
|
|
12037
12124
|
if (rf & 2) {
|
|
12038
|
-
var
|
|
12039
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(5, _c1$6, (
|
|
12125
|
+
var ctx_r12 = i0.ɵɵnextContext();
|
|
12126
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(5, _c1$6, (ctx_r12.recipe == null ? null : ctx_r12.recipe.difficulty) === 1, (ctx_r12.recipe == null ? null : ctx_r12.recipe.difficulty) === 2, (ctx_r12.recipe == null ? null : ctx_r12.recipe.difficulty) === 3));
|
|
12040
12127
|
i0.ɵɵadvance(1);
|
|
12041
|
-
i0.ɵɵproperty("ngSwitch",
|
|
12128
|
+
i0.ɵɵproperty("ngSwitch", ctx_r12.recipe == null ? null : ctx_r12.recipe.difficulty);
|
|
12042
12129
|
i0.ɵɵadvance(1);
|
|
12043
12130
|
i0.ɵɵproperty("ngSwitchCase", 2);
|
|
12044
12131
|
i0.ɵɵadvance(1);
|
|
12045
12132
|
i0.ɵɵproperty("ngSwitchCase", 3);
|
|
12046
12133
|
i0.ɵɵadvance(3);
|
|
12047
|
-
i0.ɵɵtextInterpolate(
|
|
12134
|
+
i0.ɵɵtextInterpolate(ctx_r12.recipeService.difficultyLabel(ctx_r12.recipe == null ? null : ctx_r12.recipe.difficulty));
|
|
12048
12135
|
}
|
|
12049
12136
|
}
|
|
12050
12137
|
function CatalogRecipeCardComponent_ng_template_22_Template(rf, ctx) {
|
|
12051
12138
|
if (rf & 1) {
|
|
12052
|
-
i0.ɵɵelement(0, "ng-miam-skeleton",
|
|
12139
|
+
i0.ɵɵelement(0, "ng-miam-skeleton", 40);
|
|
12053
12140
|
}
|
|
12054
12141
|
if (rf & 2) {
|
|
12055
|
-
var
|
|
12056
|
-
i0.ɵɵproperty("type",
|
|
12142
|
+
var ctx_r14 = i0.ɵɵnextContext();
|
|
12143
|
+
i0.ɵɵproperty("type", ctx_r14.skeleton == null ? null : ctx_r14.skeleton.IconWithInfo);
|
|
12057
12144
|
}
|
|
12058
12145
|
}
|
|
12059
12146
|
function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template(rf, ctx) {
|
|
12060
12147
|
if (rf & 1) {
|
|
12061
|
-
var
|
|
12062
|
-
i0.ɵɵelementStart(0, "ng-miam-actions-popin",
|
|
12063
|
-
i0.ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template_ng_miam_actions_popin_close_0_listener() { i0.ɵɵrestoreView(
|
|
12148
|
+
var _r39_1 = i0.ɵɵgetCurrentView();
|
|
12149
|
+
i0.ɵɵelementStart(0, "ng-miam-actions-popin", 58);
|
|
12150
|
+
i0.ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template_ng_miam_actions_popin_close_0_listener() { i0.ɵɵrestoreView(_r39_1); var ctx_r38 = i0.ɵɵnextContext(); return ctx_r38.closeMoreActions(); })("actionTriggered", function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { i0.ɵɵrestoreView(_r39_1); var ctx_r40 = i0.ɵɵnextContext(); return ctx_r40.actionTriggered.emit($event); });
|
|
12064
12151
|
i0.ɵɵelementEnd();
|
|
12065
12152
|
}
|
|
12066
12153
|
}
|
|
@@ -12171,7 +12258,7 @@
|
|
|
12171
12258
|
var _t;
|
|
12172
12259
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moreActions = _t.first);
|
|
12173
12260
|
}
|
|
12174
|
-
}, inputs: { displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture" }, outputs: { actionTriggered: "actionTriggered" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 27, vars:
|
|
12261
|
+
}, inputs: { displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture" }, outputs: { actionTriggered: "actionTriggered" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 27, vars: 20, consts: [[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", "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"], [4, "ngIf"], ["textSkeleton", ""], [1, "miam-catalog-recipe-card__picture__actions"], ["width", "17", "height", "17", "class", "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], [1, "miam-catalog-recipe-card__actions__icon", 3, "click"], ["miamMoreActions", ""], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], [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"], [1, "miam-catalog-recipe-card__attributes__title", 3, "click"], [3, "type"], ["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"], [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"], [3, "close", "actionTriggered"]], template: function CatalogRecipeCardComponent_Template(rf, ctx) {
|
|
12175
12262
|
if (rf & 1) {
|
|
12176
12263
|
i0.ɵɵelementStart(0, "div", 0);
|
|
12177
12264
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -12179,7 +12266,7 @@
|
|
|
12179
12266
|
i0.ɵɵtext(3);
|
|
12180
12267
|
i0.ɵɵelementEnd();
|
|
12181
12268
|
i0.ɵɵelementEnd();
|
|
12182
|
-
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_4_Template,
|
|
12269
|
+
i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_4_Template, 16, 11, "div", 2);
|
|
12183
12270
|
i0.ɵɵtemplate(5, CatalogRecipeCardComponent_ng_template_5_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
12184
12271
|
i0.ɵɵelementStart(7, "div", 4);
|
|
12185
12272
|
i0.ɵɵelementStart(8, "div", 5);
|
|
@@ -12188,28 +12275,27 @@
|
|
|
12188
12275
|
i0.ɵɵelementStart(11, "button", 8);
|
|
12189
12276
|
i0.ɵɵlistener("click", function CatalogRecipeCardComponent_Template_button_click_11_listener() { return ctx.clickPrimary(); });
|
|
12190
12277
|
i0.ɵɵpipe(12, "async");
|
|
12191
|
-
i0.ɵɵ
|
|
12192
|
-
i0.ɵɵ
|
|
12193
|
-
i0.ɵɵ
|
|
12194
|
-
i0.ɵɵ
|
|
12195
|
-
i0.ɵɵtemplate(16, CatalogRecipeCardComponent_ng_miam_icon_16_Template, 2, 5, "ng-miam-icon", 9);
|
|
12196
|
-
i0.ɵɵtemplate(17, CatalogRecipeCardComponent_ng_template_17_Template, 1, 0, "ng-template", null, 10, i0.ɵɵtemplateRefExtractor);
|
|
12278
|
+
i0.ɵɵtemplate(13, CatalogRecipeCardComponent_span_13_Template, 3, 3, "span", 9);
|
|
12279
|
+
i0.ɵɵtemplate(14, CatalogRecipeCardComponent_ng_template_14_Template, 3, 3, "ng-template", null, 10, i0.ɵɵtemplateRefExtractor);
|
|
12280
|
+
i0.ɵɵtemplate(16, CatalogRecipeCardComponent_ng_miam_icon_16_Template, 2, 5, "ng-miam-icon", 11);
|
|
12281
|
+
i0.ɵɵtemplate(17, CatalogRecipeCardComponent_ng_template_17_Template, 1, 0, "ng-template", null, 12, i0.ɵɵtemplateRefExtractor);
|
|
12197
12282
|
i0.ɵɵelementEnd();
|
|
12198
12283
|
i0.ɵɵelementEnd();
|
|
12199
|
-
i0.ɵɵelementStart(19, "div",
|
|
12200
|
-
i0.ɵɵtemplate(20, CatalogRecipeCardComponent_div_20_Template, 4, 2, "div",
|
|
12201
|
-
i0.ɵɵtemplate(21, CatalogRecipeCardComponent_div_21_Template, 7, 9, "div",
|
|
12202
|
-
i0.ɵɵtemplate(22, CatalogRecipeCardComponent_ng_template_22_Template, 1, 1, "ng-template", null,
|
|
12284
|
+
i0.ɵɵelementStart(19, "div", 13);
|
|
12285
|
+
i0.ɵɵtemplate(20, CatalogRecipeCardComponent_div_20_Template, 4, 2, "div", 14);
|
|
12286
|
+
i0.ɵɵtemplate(21, CatalogRecipeCardComponent_div_21_Template, 7, 9, "div", 15);
|
|
12287
|
+
i0.ɵɵtemplate(22, CatalogRecipeCardComponent_ng_template_22_Template, 1, 1, "ng-template", null, 16, i0.ɵɵtemplateRefExtractor);
|
|
12203
12288
|
i0.ɵɵelementEnd();
|
|
12204
12289
|
i0.ɵɵelementEnd();
|
|
12205
|
-
i0.ɵɵtemplate(24, CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template, 1, 0, "ng-miam-actions-popin",
|
|
12290
|
+
i0.ɵɵtemplate(24, CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template, 1, 0, "ng-miam-actions-popin", 17);
|
|
12206
12291
|
i0.ɵɵelementEnd();
|
|
12207
|
-
i0.ɵɵtemplate(25, CatalogRecipeCardComponent_ng_template_25_Template, 1, 0, "ng-template", null,
|
|
12292
|
+
i0.ɵɵtemplate(25, CatalogRecipeCardComponent_ng_template_25_Template, 1, 0, "ng-template", null, 18, i0.ɵɵtemplateRefExtractor);
|
|
12208
12293
|
}
|
|
12209
12294
|
if (rf & 2) {
|
|
12210
12295
|
var _r1 = i0.ɵɵreference(6);
|
|
12211
|
-
var _r6 = i0.ɵɵreference(
|
|
12212
|
-
var
|
|
12296
|
+
var _r6 = i0.ɵɵreference(15);
|
|
12297
|
+
var _r9 = i0.ɵɵreference(18);
|
|
12298
|
+
var _r13 = i0.ɵɵreference(23);
|
|
12213
12299
|
i0.ɵɵadvance(3);
|
|
12214
12300
|
i0.ɵɵtextInterpolate1(" ", ctx.headerText, "");
|
|
12215
12301
|
i0.ɵɵadvance(1);
|
|
@@ -12219,19 +12305,19 @@
|
|
|
12219
12305
|
i0.ɵɵadvance(1);
|
|
12220
12306
|
i0.ɵɵproperty("ngIf", ctx.recipe && ctx.displayPricing);
|
|
12221
12307
|
i0.ɵɵadvance(1);
|
|
12222
|
-
i0.ɵɵproperty("disabled", !ctx.recipe)("ngClass", i0.ɵɵpureFunction2(
|
|
12223
|
-
i0.ɵɵadvance(3);
|
|
12224
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 16, ctx.groceriesListsService.recipeIsInList(ctx.recipe == null ? null : ctx.recipe.id)) ? "Voir le d\u00E9tail" : "Ajouter les ingr\u00E9dients", " ");
|
|
12308
|
+
i0.ɵɵproperty("disabled", !ctx.recipe)("ngClass", i0.ɵɵpureFunction2(17, _c2$1, ctx.addButtonLoading, i0.ɵɵpipeBind1(12, 15, ctx.groceriesListsService.recipeIsInList(ctx.recipe == null ? null : ctx.recipe.id))));
|
|
12225
12309
|
i0.ɵɵadvance(2);
|
|
12226
|
-
i0.ɵɵproperty("ngIf", !ctx.
|
|
12310
|
+
i0.ɵɵproperty("ngIf", ctx.recipeService.recipesPrimaryButtonActions.display && !ctx.recipeService.recipesPrimaryButtonActions.addToBasket)("ngIfElse", _r6);
|
|
12311
|
+
i0.ɵɵadvance(3);
|
|
12312
|
+
i0.ɵɵproperty("ngIf", !ctx.addButtonLoading)("ngIfElse", _r9);
|
|
12227
12313
|
i0.ɵɵadvance(4);
|
|
12228
|
-
i0.ɵɵproperty("ngIf", ctx.recipe)("ngIfElse",
|
|
12314
|
+
i0.ɵɵproperty("ngIf", ctx.recipe)("ngIfElse", _r13);
|
|
12229
12315
|
i0.ɵɵadvance(1);
|
|
12230
12316
|
i0.ɵɵproperty("ngIf", ctx.recipe);
|
|
12231
12317
|
i0.ɵɵadvance(3);
|
|
12232
12318
|
i0.ɵɵproperty("ngIf", ctx.actionsOpened);
|
|
12233
12319
|
}
|
|
12234
|
-
}, directives: [i4.NgIf, i4.NgClass, IconComponent, SkeletonComponent, LikeButtonComponent, RecipePricingComponent, LoaderComponent, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, ActionsPopinComponent, CORSOverlayComponent], pipes: [i4.AsyncPipe], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}@media (min-width:1023px){.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}@media (min-width:1023px){.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}@media (min-width:1023px){.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-catalog-recipe-card .miam-catalog-card__attributes,.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions,.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}@media (min-width:1023px){#toast-container>div:hover{opacity:1!important}}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}ng-miam-catalog-recipe-card{flex-grow:1;margin:calc(var(--m-catalog-cards-spacing)/2);max-width:calc(var(--m-catalog-card-minwidth)*1.1)}.miam-catalog-recipe-card{background-color:var(--m-catalog-card-bg-color);border:1px solid #ddd;border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);display:flex;flex-direction:column;height:var(--m-catalog-card-height);min-width:var(--m-catalog-card-minwidth);position:relative;width:100%}@media (min-width:1023px){.miam-catalog-recipe-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.05)}}.miam-catalog-recipe-card .miam-catalog-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:var(--m-catalog-card-picture-height);position:relative}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:calc(var(--m-catalog-card-picture-height) + 1px);left:-1px;overflow:hidden;position:absolute;top:-1px;width:calc(100% + 2px)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;height:var(--m-catalog-card-picture-height);object-fit:cover;position:relative;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor{-o-object-fit:contain;height:auto;left:16px;max-height:48px;max-width:64px;object-fit:contain;position:absolute;top:16px;transform:none;width:auto;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-recipe-card .miam-catalog-card__attributes{align-items:center;flex:1 1;flex-direction:column-reverse;justify-content:flex-start;padding:12px 16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{display:flex;flex-direction:row;justify-content:space-around;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info{align-items:center;display:flex;flex-direction:column;padding:0 16px;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info:first-child{border-right:1px solid #ddd}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label{color:var(--m-catalog-card-details-color);font-size:var(--m-catalog-card-details-size);line-height:var(--m-catalog-card-details-line-height);margin:2px 0 0;text-align:center;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label:first-letter{text-transform:capitalize}.miam-catalog-recipe-card .miam-catalog-recipe-card__header{display:none}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__video{left:calc(50% - 40px);position:absolute;top:calc(50% - 50px)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__tag{background-color:rgba(0,0,0,.6);border-radius:5px;color:var(--m-color-white);font-weight:500;left:16px;padding:8px;position:absolute;text-transform:uppercase;top:16px}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__attributes__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;-webkit-tap-highlight-color:transparent;color:var(--m-color-black);cursor:pointer;display:-webkit-box;font-size:var(--m-catalog-card-title-size);font-weight:700;left:0;letter-spacing:normal;line-height:var(--m-catalog-card-line-height);margin:12px 0;overflow:hidden;padding:0 16px;position:absolute;text-align:center;text-overflow:ellipsis;top:var(--m-catalog-card-picture-height);transition:var(--m-default-transition);width:100%}@media (min-width:1022px){.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__attributes__title:hover{text-decoration:underline}}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions{position:absolute;right:16px;top:16px;z-index:var(--m-z-index-position-absolute-high)}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control{align-items:center;display:flex;justify-content:center;margin-top:12px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-recipe-card__ingredients__pictures{display:none}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__right__col__price{margin-right:16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__right__col__price .miam-recipe-pricing__wrapper__price{line-height:20px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control button.m-button-primary .miam-loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:16px;margin-left:8px;width:16px}"], encapsulation: 2, changeDetection: 0 });
|
|
12320
|
+
}, directives: [i4.NgIf, i4.NgClass, IconComponent, SkeletonComponent, LikeButtonComponent, RecipePricingComponent, LoaderComponent, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, ActionsPopinComponent, CORSOverlayComponent], pipes: [i4.AsyncPipe], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}@media (min-width:1023px){.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}@media (min-width:1023px){.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}@media (min-width:1023px){.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-catalog-recipe-card .miam-catalog-card__attributes,.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions,.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}@media (min-width:1023px){#toast-container>div:hover{opacity:1!important}}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}ng-miam-catalog-recipe-card{flex-grow:1;margin:calc(var(--m-catalog-cards-spacing)/2);max-width:calc(var(--m-catalog-card-minwidth)*1.1)}.miam-catalog-recipe-card{background-color:var(--m-catalog-card-bg-color);border:1px solid #ddd;border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);display:flex;flex-direction:column;height:var(--m-catalog-card-height);min-width:var(--m-catalog-card-minwidth);position:relative;width:100%}@media (min-width:1023px){.miam-catalog-recipe-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.05)}}.miam-catalog-recipe-card .miam-catalog-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:var(--m-catalog-card-picture-height);position:relative}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:calc(var(--m-catalog-card-picture-height) + 1px);left:-1px;overflow:hidden;position:absolute;top:-1px;width:calc(100% + 2px)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;height:var(--m-catalog-card-picture-height);object-fit:cover;position:relative;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor{align-items:flex-start;display:flex;height:48px;justify-content:flex-start;left:16px;order:2;position:absolute;top:16px;width:64px}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor img{-o-object-fit:contain;height:auto;max-height:100%;max-width:100%;object-fit:contain;width:auto}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__filigrane{align-items:flex-end;bottom:16px;display:flex;height:48px;justify-content:flex-end;order:2;position:absolute;right:16px;width:72px}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__filigrane img{-o-object-fit:contain;height:auto;max-height:100%;max-width:100%;object-fit:contain;width:auto}.miam-catalog-recipe-card .miam-catalog-card__attributes{align-items:center;flex:1 1;flex-direction:column-reverse;justify-content:flex-start;padding:12px 16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{display:flex;flex-direction:row;justify-content:space-around;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info{align-items:center;display:flex;flex-direction:column;padding:0 16px;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info:first-child{border-right:1px solid #ddd}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label{color:var(--m-catalog-card-details-color);font-size:var(--m-catalog-card-details-size);line-height:var(--m-catalog-card-details-line-height);margin:2px 0 0;text-align:center;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label:first-letter{text-transform:capitalize}.miam-catalog-recipe-card .miam-catalog-recipe-card__header{display:none}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__video{left:calc(50% - 40px);position:absolute;top:calc(50% - 50px)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__tag{background-color:rgba(0,0,0,.6);border-radius:5px;color:var(--m-color-white);font-weight:500;left:16px;padding:8px;position:absolute;text-transform:uppercase;top:16px}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__attributes__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;-webkit-tap-highlight-color:transparent;color:var(--m-color-black);cursor:pointer;display:-webkit-box;font-size:var(--m-catalog-card-title-size);font-weight:700;left:0;letter-spacing:normal;line-height:var(--m-catalog-card-line-height);margin:12px 0;overflow:hidden;padding:0 16px;position:absolute;text-align:center;text-overflow:ellipsis;top:var(--m-catalog-card-picture-height);transition:var(--m-default-transition);width:100%}@media (min-width:1022px){.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__attributes__title:hover{text-decoration:underline}}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions{position:absolute;right:16px;top:16px;z-index:var(--m-z-index-position-absolute-high)}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control{align-items:center;display:flex;justify-content:center;margin-top:12px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-recipe-card__ingredients__pictures{display:none}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__right__col__price{margin-right:16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__right__col__price .miam-recipe-pricing__wrapper__price{line-height:20px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control button.m-button-primary .miam-loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:16px;margin-left:8px;width:16px}"], encapsulation: 2, changeDetection: 0 });
|
|
12235
12321
|
/*@__PURE__*/ (function () {
|
|
12236
12322
|
i0.ɵsetClassMetadata(CatalogRecipeCardComponent, [{
|
|
12237
12323
|
type: i0.Component,
|
|
@@ -16383,7 +16469,7 @@
|
|
|
16383
16469
|
}
|
|
16384
16470
|
if (rf & 2) {
|
|
16385
16471
|
var ctx_r0 = i0.ɵɵnextContext();
|
|
16386
|
-
i0.ɵɵpropertyInterpolate("src", ctx_r0.recipe.
|
|
16472
|
+
i0.ɵɵpropertyInterpolate("src", ctx_r0.recipe.sponsorLogoUrl, i0.ɵɵsanitizeUrl);
|
|
16387
16473
|
}
|
|
16388
16474
|
}
|
|
16389
16475
|
var RecipeAddonComponent = /** @class */ (function () {
|
|
@@ -16417,7 +16503,7 @@
|
|
|
16417
16503
|
i0.ɵɵadvance(3);
|
|
16418
16504
|
i0.ɵɵproperty("iconName", ctx.icon.ChevronDown);
|
|
16419
16505
|
i0.ɵɵadvance(3);
|
|
16420
|
-
i0.ɵɵproperty("ngIf", ctx.recipe == null ? null : ctx.recipe.
|
|
16506
|
+
i0.ɵɵproperty("ngIf", ctx.recipe == null ? null : ctx.recipe.sponsorLogoUrl);
|
|
16421
16507
|
i0.ɵɵadvance(2);
|
|
16422
16508
|
i0.ɵɵproperty("src", i0.ɵɵpipeBind1(9, 3, ctx.recipe == null ? null : ctx.recipe.attributes["informational-page-html"]), i0.ɵɵsanitizeResourceUrl);
|
|
16423
16509
|
}
|
|
@@ -16955,12 +17041,12 @@
|
|
|
16955
17041
|
var _c0$t = ["topContainerImg"];
|
|
16956
17042
|
function RecipeDetailsComponent_div_0_img_4_Template(rf, ctx) {
|
|
16957
17043
|
if (rf & 1) {
|
|
16958
|
-
i0.ɵɵelement(0, "img",
|
|
17044
|
+
i0.ɵɵelement(0, "img", 38);
|
|
16959
17045
|
}
|
|
16960
17046
|
}
|
|
16961
17047
|
function RecipeDetailsComponent_div_0_ng_template_5_Template(rf, ctx) {
|
|
16962
17048
|
if (rf & 1) {
|
|
16963
|
-
i0.ɵɵelement(0, "img",
|
|
17049
|
+
i0.ɵɵelement(0, "img", 39);
|
|
16964
17050
|
}
|
|
16965
17051
|
}
|
|
16966
17052
|
function RecipeDetailsComponent_div_0_span_8_Template(rf, ctx) {
|
|
@@ -16977,9 +17063,9 @@
|
|
|
16977
17063
|
}
|
|
16978
17064
|
function RecipeDetailsComponent_div_0_ng_miam_addon_link_16_Template(rf, ctx) {
|
|
16979
17065
|
if (rf & 1) {
|
|
16980
|
-
var
|
|
16981
|
-
i0.ɵɵelementStart(0, "ng-miam-addon-link",
|
|
16982
|
-
i0.ɵɵlistener("showAddon", function RecipeDetailsComponent_div_0_ng_miam_addon_link_16_Template_ng_miam_addon_link_showAddon_0_listener() { i0.ɵɵrestoreView(
|
|
17066
|
+
var _r23_1 = i0.ɵɵgetCurrentView();
|
|
17067
|
+
i0.ɵɵelementStart(0, "ng-miam-addon-link", 40);
|
|
17068
|
+
i0.ɵɵlistener("showAddon", function RecipeDetailsComponent_div_0_ng_miam_addon_link_16_Template_ng_miam_addon_link_showAddon_0_listener() { i0.ɵɵrestoreView(_r23_1); var ctx_r22 = i0.ɵɵnextContext(2); return ctx_r22.toggleAddon(); });
|
|
16983
17069
|
i0.ɵɵelementEnd();
|
|
16984
17070
|
}
|
|
16985
17071
|
if (rf & 2) {
|
|
@@ -16990,7 +17076,7 @@
|
|
|
16990
17076
|
var _c1$d = function (a0, a1) { return { "sponsor": a0, "tags": a1 }; };
|
|
16991
17077
|
function RecipeDetailsComponent_div_0_img_18_Template(rf, ctx) {
|
|
16992
17078
|
if (rf & 1) {
|
|
16993
|
-
i0.ɵɵelement(0, "img",
|
|
17079
|
+
i0.ɵɵelement(0, "img", 41);
|
|
16994
17080
|
}
|
|
16995
17081
|
if (rf & 2) {
|
|
16996
17082
|
var ctx_r10 = i0.ɵɵnextContext(2);
|
|
@@ -16999,146 +17085,158 @@
|
|
|
16999
17085
|
}
|
|
17000
17086
|
function RecipeDetailsComponent_div_0_youtube_player_19_Template(rf, ctx) {
|
|
17001
17087
|
if (rf & 1) {
|
|
17002
|
-
i0.ɵɵelement(0, "youtube-player",
|
|
17088
|
+
i0.ɵɵelement(0, "youtube-player", 42);
|
|
17003
17089
|
}
|
|
17004
17090
|
if (rf & 2) {
|
|
17005
17091
|
var ctx_r11 = i0.ɵɵnextContext(2);
|
|
17006
17092
|
i0.ɵɵproperty("videoId", ctx_r11.recipe.videoId)("width", ctx_r11.playerWidth)("height", ctx_r11.playerHeight);
|
|
17007
17093
|
}
|
|
17008
17094
|
}
|
|
17009
|
-
function
|
|
17095
|
+
function RecipeDetailsComponent_div_0_div_20_Template(rf, ctx) {
|
|
17010
17096
|
if (rf & 1) {
|
|
17011
|
-
i0.ɵɵ
|
|
17097
|
+
i0.ɵɵelementStart(0, "div", 43);
|
|
17098
|
+
i0.ɵɵelement(1, "img", 37);
|
|
17099
|
+
i0.ɵɵelementEnd();
|
|
17012
17100
|
}
|
|
17013
17101
|
if (rf & 2) {
|
|
17014
17102
|
var ctx_r12 = i0.ɵɵnextContext(2);
|
|
17015
|
-
i0.ɵɵ
|
|
17103
|
+
i0.ɵɵadvance(1);
|
|
17104
|
+
i0.ɵɵproperty("src", ctx_r12.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
|
|
17016
17105
|
}
|
|
17017
17106
|
}
|
|
17018
|
-
function
|
|
17107
|
+
function RecipeDetailsComponent_div_0_ng_miam_like_button_23_Template(rf, ctx) {
|
|
17019
17108
|
if (rf & 1) {
|
|
17020
|
-
i0.ɵɵelement(0, "ng-miam-
|
|
17109
|
+
i0.ɵɵelement(0, "ng-miam-like-button", 44);
|
|
17021
17110
|
}
|
|
17022
17111
|
if (rf & 2) {
|
|
17023
17112
|
var ctx_r13 = i0.ɵɵnextContext(2);
|
|
17024
|
-
i0.ɵɵproperty("recipe", ctx_r13.recipe)("
|
|
17113
|
+
i0.ɵɵproperty("recipe", ctx_r13.recipe)("originTrace", ctx_r13.eventTrace())("width", 24)("height", 24);
|
|
17025
17114
|
}
|
|
17026
17115
|
}
|
|
17027
|
-
function
|
|
17116
|
+
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_infos_28_Template(rf, ctx) {
|
|
17028
17117
|
if (rf & 1) {
|
|
17029
|
-
i0.ɵɵelement(0, "ng-miam-recipe-details-
|
|
17118
|
+
i0.ɵɵelement(0, "ng-miam-recipe-details-infos", 45);
|
|
17030
17119
|
}
|
|
17031
17120
|
if (rf & 2) {
|
|
17032
17121
|
var ctx_r14 = i0.ɵɵnextContext(2);
|
|
17033
|
-
i0.ɵɵproperty("recipe", ctx_r14.recipe);
|
|
17122
|
+
i0.ɵɵproperty("recipe", ctx_r14.recipe)("displayTags", ctx_r14.displayTags)("displayTagsIcons", ctx_r14.displayTagsIcons)("reduced", ctx_r14.cookingTimeAsPrimaryInfo);
|
|
17034
17123
|
}
|
|
17035
17124
|
}
|
|
17036
|
-
function
|
|
17125
|
+
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_29_Template(rf, ctx) {
|
|
17037
17126
|
if (rf & 1) {
|
|
17038
|
-
i0.ɵɵelement(0, "ng-miam-recipe-
|
|
17127
|
+
i0.ɵɵelement(0, "ng-miam-recipe-details-steps", 46);
|
|
17039
17128
|
}
|
|
17040
17129
|
if (rf & 2) {
|
|
17041
17130
|
var ctx_r15 = i0.ɵɵnextContext(2);
|
|
17042
|
-
i0.ɵɵproperty("recipe", ctx_r15.recipe)
|
|
17131
|
+
i0.ɵɵproperty("recipe", ctx_r15.recipe);
|
|
17132
|
+
}
|
|
17133
|
+
}
|
|
17134
|
+
function RecipeDetailsComponent_div_0_ng_miam_recipe_pricing_32_Template(rf, ctx) {
|
|
17135
|
+
if (rf & 1) {
|
|
17136
|
+
i0.ɵɵelement(0, "ng-miam-recipe-pricing", 47);
|
|
17137
|
+
}
|
|
17138
|
+
if (rf & 2) {
|
|
17139
|
+
var ctx_r16 = i0.ɵɵnextContext(2);
|
|
17140
|
+
i0.ɵɵproperty("recipe", ctx_r16.recipe)("serves", ctx_r16.recipe == null ? null : ctx_r16.recipe.modifiedGuests)("guestsText", ctx_r16.pricingGuestsText);
|
|
17043
17141
|
}
|
|
17044
17142
|
}
|
|
17045
|
-
function
|
|
17143
|
+
function RecipeDetailsComponent_div_0_div_33_div_2_ng_miam_icon_4_Template(rf, ctx) {
|
|
17046
17144
|
if (rf & 1) {
|
|
17047
|
-
i0.ɵɵelement(0, "ng-miam-icon",
|
|
17145
|
+
i0.ɵɵelement(0, "ng-miam-icon", 53);
|
|
17048
17146
|
}
|
|
17049
17147
|
if (rf & 2) {
|
|
17050
|
-
var
|
|
17051
|
-
i0.ɵɵproperty("width", 24)("height", 24)("iconName",
|
|
17148
|
+
var ctx_r27 = i0.ɵɵnextContext(4);
|
|
17149
|
+
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r27.icon.Cart);
|
|
17052
17150
|
}
|
|
17053
17151
|
}
|
|
17054
|
-
function
|
|
17152
|
+
function RecipeDetailsComponent_div_0_div_33_div_2_Template(rf, ctx) {
|
|
17055
17153
|
if (rf & 1) {
|
|
17056
|
-
i0.ɵɵelementStart(0, "div",
|
|
17154
|
+
i0.ɵɵelementStart(0, "div", 51);
|
|
17057
17155
|
i0.ɵɵelementStart(1, "span");
|
|
17058
17156
|
i0.ɵɵtext(2);
|
|
17059
17157
|
i0.ɵɵpipe(3, "async");
|
|
17060
17158
|
i0.ɵɵelementEnd();
|
|
17061
|
-
i0.ɵɵtemplate(4,
|
|
17159
|
+
i0.ɵɵtemplate(4, RecipeDetailsComponent_div_0_div_33_div_2_ng_miam_icon_4_Template, 1, 3, "ng-miam-icon", 52);
|
|
17062
17160
|
i0.ɵɵpipe(5, "async");
|
|
17063
17161
|
i0.ɵɵelementEnd();
|
|
17064
17162
|
}
|
|
17065
17163
|
if (rf & 2) {
|
|
17066
|
-
var
|
|
17164
|
+
var ctx_r24 = i0.ɵɵnextContext(3);
|
|
17067
17165
|
i0.ɵɵadvance(2);
|
|
17068
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2,
|
|
17166
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, ctx_r24.groceriesListsService.recipeIsInList(ctx_r24.recipe == null ? null : ctx_r24.recipe.id)) ? "Voir les produits" : "Ajouter les ingr\u00E9dients", " ");
|
|
17069
17167
|
i0.ɵɵadvance(2);
|
|
17070
|
-
i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(5, 4,
|
|
17168
|
+
i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(5, 4, ctx_r24.groceriesListsService.recipeIsInList(ctx_r24.recipe == null ? null : ctx_r24.recipe.id)));
|
|
17071
17169
|
}
|
|
17072
17170
|
}
|
|
17073
|
-
function
|
|
17171
|
+
function RecipeDetailsComponent_div_0_div_33_ng_template_3_Template(rf, ctx) {
|
|
17074
17172
|
if (rf & 1) {
|
|
17075
17173
|
i0.ɵɵelement(0, "ng-miam-loader");
|
|
17076
17174
|
}
|
|
17077
17175
|
}
|
|
17078
17176
|
var _c2$4 = function (a0, a1) { return { "in-basket": a0, "loading": a1 }; };
|
|
17079
|
-
function
|
|
17177
|
+
function RecipeDetailsComponent_div_0_div_33_Template(rf, ctx) {
|
|
17080
17178
|
if (rf & 1) {
|
|
17081
|
-
var
|
|
17082
|
-
i0.ɵɵelementStart(0, "div",
|
|
17083
|
-
i0.ɵɵlistener("click", function
|
|
17179
|
+
var _r29_1 = i0.ɵɵgetCurrentView();
|
|
17180
|
+
i0.ɵɵelementStart(0, "div", 48);
|
|
17181
|
+
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_33_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r29_1); var ctx_r28 = i0.ɵɵnextContext(2); return ctx_r28.clickPrimary(); });
|
|
17084
17182
|
i0.ɵɵpipe(1, "async");
|
|
17085
|
-
i0.ɵɵtemplate(2,
|
|
17086
|
-
i0.ɵɵtemplate(3,
|
|
17183
|
+
i0.ɵɵtemplate(2, RecipeDetailsComponent_div_0_div_33_div_2_Template, 6, 6, "div", 49);
|
|
17184
|
+
i0.ɵɵtemplate(3, RecipeDetailsComponent_div_0_div_33_ng_template_3_Template, 1, 0, "ng-template", null, 50, i0.ɵɵtemplateRefExtractor);
|
|
17087
17185
|
i0.ɵɵelementEnd();
|
|
17088
17186
|
}
|
|
17089
17187
|
if (rf & 2) {
|
|
17090
|
-
var
|
|
17091
|
-
var
|
|
17092
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c2$4, i0.ɵɵpipeBind1(1, 3,
|
|
17188
|
+
var _r25 = i0.ɵɵreference(4);
|
|
17189
|
+
var ctx_r17 = i0.ɵɵnextContext(2);
|
|
17190
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c2$4, i0.ɵɵpipeBind1(1, 3, ctx_r17.groceriesListsService.recipeIsInList(ctx_r17.recipe == null ? null : ctx_r17.recipe.id)), ctx_r17.addButtonLoading));
|
|
17093
17191
|
i0.ɵɵadvance(2);
|
|
17094
|
-
i0.ɵɵproperty("ngIf", !
|
|
17192
|
+
i0.ɵɵproperty("ngIf", !ctx_r17.addButtonLoading)("ngIfElse", _r25);
|
|
17095
17193
|
}
|
|
17096
17194
|
}
|
|
17097
|
-
function
|
|
17195
|
+
function RecipeDetailsComponent_div_0_div_36_Template(rf, ctx) {
|
|
17098
17196
|
if (rf & 1) {
|
|
17099
|
-
i0.ɵɵelementStart(0, "div",
|
|
17197
|
+
i0.ɵɵelementStart(0, "div", 54);
|
|
17100
17198
|
i0.ɵɵtext(1);
|
|
17101
17199
|
i0.ɵɵelementEnd();
|
|
17102
17200
|
}
|
|
17103
17201
|
if (rf & 2) {
|
|
17104
|
-
var
|
|
17202
|
+
var ctx_r18 = i0.ɵɵnextContext(2);
|
|
17105
17203
|
i0.ɵɵadvance(1);
|
|
17106
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
17204
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r18.recipe == null ? null : ctx_r18.recipe.attributes["title"], " ");
|
|
17107
17205
|
}
|
|
17108
17206
|
}
|
|
17109
|
-
function
|
|
17207
|
+
function RecipeDetailsComponent_div_0_div_37_Template(rf, ctx) {
|
|
17110
17208
|
if (rf & 1) {
|
|
17111
|
-
i0.ɵɵelementStart(0, "div",
|
|
17209
|
+
i0.ɵɵelementStart(0, "div", 55);
|
|
17112
17210
|
i0.ɵɵtext(1);
|
|
17113
17211
|
i0.ɵɵelementEnd();
|
|
17114
17212
|
}
|
|
17115
17213
|
if (rf & 2) {
|
|
17116
|
-
var
|
|
17214
|
+
var ctx_r19 = i0.ɵɵnextContext(2);
|
|
17117
17215
|
i0.ɵɵadvance(1);
|
|
17118
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
17216
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r19.recipe == null ? null : ctx_r19.recipe.attributes.description, " ");
|
|
17119
17217
|
}
|
|
17120
17218
|
}
|
|
17121
|
-
function
|
|
17219
|
+
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_infos_38_Template(rf, ctx) {
|
|
17122
17220
|
if (rf & 1) {
|
|
17123
|
-
i0.ɵɵelement(0, "ng-miam-recipe-details-infos",
|
|
17221
|
+
i0.ɵɵelement(0, "ng-miam-recipe-details-infos", 45);
|
|
17124
17222
|
}
|
|
17125
17223
|
if (rf & 2) {
|
|
17126
|
-
var
|
|
17127
|
-
i0.ɵɵproperty("recipe",
|
|
17224
|
+
var ctx_r20 = i0.ɵɵnextContext(2);
|
|
17225
|
+
i0.ɵɵproperty("recipe", ctx_r20.recipe)("displayTags", ctx_r20.displayTags)("displayTagsIcons", ctx_r20.displayTagsIcons)("reduced", ctx_r20.cookingTimeAsPrimaryInfo);
|
|
17128
17226
|
}
|
|
17129
17227
|
}
|
|
17130
|
-
function
|
|
17228
|
+
function RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_40_Template(rf, ctx) {
|
|
17131
17229
|
if (rf & 1) {
|
|
17132
|
-
i0.ɵɵelement(0, "ng-miam-recipe-details-steps",
|
|
17230
|
+
i0.ɵɵelement(0, "ng-miam-recipe-details-steps", 46);
|
|
17133
17231
|
}
|
|
17134
17232
|
if (rf & 2) {
|
|
17135
|
-
var
|
|
17136
|
-
i0.ɵɵproperty("recipe",
|
|
17233
|
+
var ctx_r21 = i0.ɵɵnextContext(2);
|
|
17234
|
+
i0.ɵɵproperty("recipe", ctx_r21.recipe);
|
|
17137
17235
|
}
|
|
17138
17236
|
}
|
|
17139
17237
|
function RecipeDetailsComponent_div_0_Template(rf, ctx) {
|
|
17140
17238
|
if (rf & 1) {
|
|
17141
|
-
var
|
|
17239
|
+
var _r31_1 = i0.ɵɵgetCurrentView();
|
|
17142
17240
|
i0.ɵɵelementStart(0, "div", 2, 3);
|
|
17143
17241
|
i0.ɵɵelementStart(2, "div", 4);
|
|
17144
17242
|
i0.ɵɵelementStart(3, "div", 5);
|
|
@@ -17161,43 +17259,44 @@
|
|
|
17161
17259
|
i0.ɵɵelementStart(17, "div", 17);
|
|
17162
17260
|
i0.ɵɵtemplate(18, RecipeDetailsComponent_div_0_img_18_Template, 1, 5, "img", 18);
|
|
17163
17261
|
i0.ɵɵtemplate(19, RecipeDetailsComponent_div_0_youtube_player_19_Template, 1, 3, "youtube-player", 19);
|
|
17262
|
+
i0.ɵɵtemplate(20, RecipeDetailsComponent_div_0_div_20_Template, 2, 1, "div", 20);
|
|
17164
17263
|
i0.ɵɵelementEnd();
|
|
17165
|
-
i0.ɵɵelementStart(20, "div", 20);
|
|
17166
17264
|
i0.ɵɵelementStart(21, "div", 21);
|
|
17167
|
-
i0.ɵɵ
|
|
17168
|
-
i0.ɵɵ
|
|
17169
|
-
i0.ɵɵ
|
|
17170
|
-
i0.ɵɵ
|
|
17265
|
+
i0.ɵɵelementStart(22, "div", 22);
|
|
17266
|
+
i0.ɵɵtemplate(23, RecipeDetailsComponent_div_0_ng_miam_like_button_23_Template, 1, 4, "ng-miam-like-button", 23);
|
|
17267
|
+
i0.ɵɵpipe(24, "async");
|
|
17268
|
+
i0.ɵɵelementStart(25, "ng-miam-icon", 24);
|
|
17269
|
+
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_Template_ng_miam_icon_click_25_listener() { i0.ɵɵrestoreView(_r31_1); var ctx_r30 = i0.ɵɵnextContext(); return ctx_r30.print(); });
|
|
17171
17270
|
i0.ɵɵelementEnd();
|
|
17172
17271
|
i0.ɵɵelementEnd();
|
|
17173
|
-
i0.ɵɵelementStart(
|
|
17174
|
-
i0.ɵɵelementStart(
|
|
17175
|
-
i0.ɵɵlistener("click", function
|
|
17272
|
+
i0.ɵɵelementStart(26, "div", 22);
|
|
17273
|
+
i0.ɵɵelementStart(27, "ng-miam-icon", 25);
|
|
17274
|
+
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_Template_ng_miam_icon_click_27_listener() { i0.ɵɵrestoreView(_r31_1); var ctx_r32 = i0.ɵɵnextContext(); return ctx_r32.toggleHelper(); });
|
|
17176
17275
|
i0.ɵɵelementEnd();
|
|
17177
17276
|
i0.ɵɵelementEnd();
|
|
17178
17277
|
i0.ɵɵelementEnd();
|
|
17179
|
-
i0.ɵɵtemplate(
|
|
17180
|
-
i0.ɵɵtemplate(
|
|
17181
|
-
i0.ɵɵelementStart(29, "div", 27);
|
|
17278
|
+
i0.ɵɵtemplate(28, RecipeDetailsComponent_div_0_ng_miam_recipe_details_infos_28_Template, 1, 4, "ng-miam-recipe-details-infos", 26);
|
|
17279
|
+
i0.ɵɵtemplate(29, RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_29_Template, 1, 1, "ng-miam-recipe-details-steps", 27);
|
|
17182
17280
|
i0.ɵɵelementStart(30, "div", 28);
|
|
17183
|
-
i0.ɵɵ
|
|
17281
|
+
i0.ɵɵelementStart(31, "div", 29);
|
|
17282
|
+
i0.ɵɵtemplate(32, RecipeDetailsComponent_div_0_ng_miam_recipe_pricing_32_Template, 1, 3, "ng-miam-recipe-pricing", 30);
|
|
17184
17283
|
i0.ɵɵelementEnd();
|
|
17185
|
-
i0.ɵɵtemplate(
|
|
17284
|
+
i0.ɵɵtemplate(33, RecipeDetailsComponent_div_0_div_33_Template, 5, 8, "div", 31);
|
|
17186
17285
|
i0.ɵɵelementEnd();
|
|
17187
17286
|
i0.ɵɵelementEnd();
|
|
17188
17287
|
i0.ɵɵelementEnd();
|
|
17189
|
-
i0.ɵɵelementStart(
|
|
17190
|
-
i0.ɵɵelementStart(
|
|
17191
|
-
i0.ɵɵtemplate(35, RecipeDetailsComponent_div_0_div_35_Template, 2, 1, "div", 32);
|
|
17192
|
-
i0.ɵɵelementEnd();
|
|
17288
|
+
i0.ɵɵelementStart(34, "div", 32);
|
|
17289
|
+
i0.ɵɵelementStart(35, "div");
|
|
17193
17290
|
i0.ɵɵtemplate(36, RecipeDetailsComponent_div_0_div_36_Template, 2, 1, "div", 33);
|
|
17194
|
-
i0.ɵɵtemplate(37, RecipeDetailsComponent_div_0_ng_miam_recipe_details_infos_37_Template, 1, 4, "ng-miam-recipe-details-infos", 25);
|
|
17195
|
-
i0.ɵɵelementStart(38, "ng-miam-recipe-details-ingredients", 34);
|
|
17196
|
-
i0.ɵɵlistener("guestsUpdated", function RecipeDetailsComponent_div_0_Template_ng_miam_recipe_details_ingredients_guestsUpdated_38_listener() { i0.ɵɵrestoreView(_r30_1); var ctx_r32 = i0.ɵɵnextContext(); return ctx_r32.updateGuests(); });
|
|
17197
17291
|
i0.ɵɵelementEnd();
|
|
17198
|
-
i0.ɵɵtemplate(
|
|
17199
|
-
i0.ɵɵ
|
|
17200
|
-
i0.ɵɵ
|
|
17292
|
+
i0.ɵɵtemplate(37, RecipeDetailsComponent_div_0_div_37_Template, 2, 1, "div", 34);
|
|
17293
|
+
i0.ɵɵtemplate(38, RecipeDetailsComponent_div_0_ng_miam_recipe_details_infos_38_Template, 1, 4, "ng-miam-recipe-details-infos", 26);
|
|
17294
|
+
i0.ɵɵelementStart(39, "ng-miam-recipe-details-ingredients", 35);
|
|
17295
|
+
i0.ɵɵlistener("guestsUpdated", function RecipeDetailsComponent_div_0_Template_ng_miam_recipe_details_ingredients_guestsUpdated_39_listener() { i0.ɵɵrestoreView(_r31_1); var ctx_r33 = i0.ɵɵnextContext(); return ctx_r33.updateGuests(); });
|
|
17296
|
+
i0.ɵɵelementEnd();
|
|
17297
|
+
i0.ɵɵtemplate(40, RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_40_Template, 1, 1, "ng-miam-recipe-details-steps", 27);
|
|
17298
|
+
i0.ɵɵelementStart(41, "a", 36);
|
|
17299
|
+
i0.ɵɵelement(42, "img", 37);
|
|
17201
17300
|
i0.ɵɵelementEnd();
|
|
17202
17301
|
i0.ɵɵelementEnd();
|
|
17203
17302
|
i0.ɵɵelementEnd();
|
|
@@ -17218,8 +17317,10 @@
|
|
|
17218
17317
|
i0.ɵɵproperty("ngIf", !ctx_r0.showVideo);
|
|
17219
17318
|
i0.ɵɵadvance(1);
|
|
17220
17319
|
i0.ɵɵproperty("ngIf", ctx_r0.showVideo && ctx_r0.playerWidth);
|
|
17320
|
+
i0.ɵɵadvance(1);
|
|
17321
|
+
i0.ɵɵproperty("ngIf", ctx_r0.recipe.filigraneLogoUrl);
|
|
17221
17322
|
i0.ɵɵadvance(3);
|
|
17222
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(
|
|
17323
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(24, 27, ctx_r0.userService.isLogged$));
|
|
17223
17324
|
i0.ɵɵadvance(2);
|
|
17224
17325
|
i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r0.icon.Print);
|
|
17225
17326
|
i0.ɵɵadvance(2);
|
|
@@ -17250,9 +17351,9 @@
|
|
|
17250
17351
|
}
|
|
17251
17352
|
function RecipeDetailsComponent_ng_template_1_Template(rf, ctx) {
|
|
17252
17353
|
if (rf & 1) {
|
|
17253
|
-
var
|
|
17254
|
-
i0.ɵɵelementStart(0, "ng-miam-recipe-addon",
|
|
17255
|
-
i0.ɵɵlistener("hideAddon", function RecipeDetailsComponent_ng_template_1_Template_ng_miam_recipe_addon_hideAddon_0_listener() { i0.ɵɵrestoreView(
|
|
17354
|
+
var _r35_1 = i0.ɵɵgetCurrentView();
|
|
17355
|
+
i0.ɵɵelementStart(0, "ng-miam-recipe-addon", 56);
|
|
17356
|
+
i0.ɵɵlistener("hideAddon", function RecipeDetailsComponent_ng_template_1_Template_ng_miam_recipe_addon_hideAddon_0_listener() { i0.ɵɵrestoreView(_r35_1); var ctx_r34 = i0.ɵɵnextContext(); return ctx_r34.toggleAddon(); });
|
|
17256
17357
|
i0.ɵɵelementEnd();
|
|
17257
17358
|
}
|
|
17258
17359
|
if (rf & 2) {
|
|
@@ -17467,16 +17568,16 @@
|
|
|
17467
17568
|
var _t;
|
|
17468
17569
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.topContainerImg = _t.first);
|
|
17469
17570
|
}
|
|
17470
|
-
}, inputs: { recipe: "recipe", previewAllowed: "previewAllowed", ingredientsPictures: "ingredientsPictures", forceDisplayTags: "forceDisplayTags", displayTagsIcons: "displayTagsIcons", displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture", stepsOnLeftSide: "stepsOnLeftSide", cookingTimeAsPrimaryInfo: "cookingTimeAsPrimaryInfo", moreRecipesImageURL: "moreRecipesImageURL", pricingGuestsText: "pricingGuestsText", recipeAddedToastText: "recipeAddedToastText" }, outputs: { recipeAdded: "recipeAdded", recipeError: "recipeError" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 3, vars: 2, consts: [["class", "miam-recipe-details", 4, "ngIf", "ngIfElse"], ["addon", ""], [1, "miam-recipe-details"], ["mainContainer", ""], [1, "miam-recipe-details__header"], [1, "miam-recipe-details__bookmark"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-bookmark.svg", 4, "ngIf", "ngIfElse"], ["stamp", ""], [1, "miam-recipe-details__title"], [4, "ngIf"], [1, "miam-recipe-details__header__link", 3, "href"], [1, "miam-recipe-details__container"], [1, "miam-recipe-details__summary"], ["topContainerImg", ""], [1, "miam-recipe-details__summary__container"], [1, "miam-recipe-details__sponsor"], [3, "recipe", "showAddon", 4, "ngIf"], [1, "miam-recipe-details__picture"], [3, "src", "ngClass", 4, "ngIf"], [3, "videoId", "width", "height", 4, "ngIf"], [1, "miam-recipe-details__actionbar"], [1, "miam-recipe-details__actionbar__group"], ["class", "miam-recipe-details__actions__icon like", 3, "recipe", "originTrace", "width", "height", 4, "ngIf"], ["primaryColor", "var(--m-color-primary)", 1, "miam-recipe-details__actions__icon", "print", 3, "width", "height", "iconName", "click"], ["primaryColor", "var(--m-color-grey02)", "secondaryColor", "var(--m-color-grey07)", 1, "miam-recipe-details__actions__icon", "help", 3, "width", "height", "iconName", "click"], [3, "recipe", "displayTags", "displayTagsIcons", "reduced", 4, "ngIf"], [3, "recipe", 4, "ngIf"], [1, "miam-recipe-details__action__container"], [1, "miam-recipe-details__price"], [3, "recipe", "serves", "guestsText", 4, "ngIf"], ["class", "miam-recipe-details__addbasket", 3, "ngClass", "click", 4, "ngIf"], ["id", "miam-recipe-details__content", 1, "miam-recipe-details__content"], ["class", "miam-recipe-details__title", "id", "miam-recipe-details__title", 4, "ngIf"], ["class", "miam-recipe-details__content__description", 4, "ngIf"], [3, "recipe", "ingredientsPictures", "guestsUpdated"], [1, "miam-recipe-details__content__image", 3, "href"], [3, "src"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-bookmark.svg"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-stamp.svg"], [3, "recipe", "showAddon"], [3, "src", "ngClass"], [3, "videoId", "width", "height"], [1, "miam-recipe-details__actions__icon", "like", 3, "recipe", "originTrace", "width", "height"], [3, "recipe", "displayTags", "displayTagsIcons", "reduced"], [3, "recipe"], [3, "recipe", "serves", "guestsText"], [1, "miam-recipe-details__addbasket", 3, "ngClass", "click"], ["class", "miam-recipe-details__addbasket__cta", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-recipe-details__addbasket__cta"], ["primaryColor", "#fff", 3, "width", "height", "iconName", 4, "ngIf"], ["primaryColor", "#fff", 3, "width", "height", "iconName"], ["id", "miam-recipe-details__title", 1, "miam-recipe-details__title"], [1, "miam-recipe-details__content__description"], [3, "recipe", "hideAddon"]], template: function RecipeDetailsComponent_Template(rf, ctx) {
|
|
17571
|
+
}, inputs: { recipe: "recipe", previewAllowed: "previewAllowed", ingredientsPictures: "ingredientsPictures", forceDisplayTags: "forceDisplayTags", displayTagsIcons: "displayTagsIcons", displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture", stepsOnLeftSide: "stepsOnLeftSide", cookingTimeAsPrimaryInfo: "cookingTimeAsPrimaryInfo", moreRecipesImageURL: "moreRecipesImageURL", pricingGuestsText: "pricingGuestsText", recipeAddedToastText: "recipeAddedToastText" }, outputs: { recipeAdded: "recipeAdded", recipeError: "recipeError" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 3, vars: 2, consts: [["class", "miam-recipe-details", 4, "ngIf", "ngIfElse"], ["addon", ""], [1, "miam-recipe-details"], ["mainContainer", ""], [1, "miam-recipe-details__header"], [1, "miam-recipe-details__bookmark"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-bookmark.svg", 4, "ngIf", "ngIfElse"], ["stamp", ""], [1, "miam-recipe-details__title"], [4, "ngIf"], [1, "miam-recipe-details__header__link", 3, "href"], [1, "miam-recipe-details__container"], [1, "miam-recipe-details__summary"], ["topContainerImg", ""], [1, "miam-recipe-details__summary__container"], [1, "miam-recipe-details__sponsor"], [3, "recipe", "showAddon", 4, "ngIf"], [1, "miam-recipe-details__picture"], [3, "src", "ngClass", 4, "ngIf"], [3, "videoId", "width", "height", 4, "ngIf"], ["class", "miam-recipe-details__picture__filigrane", 4, "ngIf"], [1, "miam-recipe-details__actionbar"], [1, "miam-recipe-details__actionbar__group"], ["class", "miam-recipe-details__actions__icon like", 3, "recipe", "originTrace", "width", "height", 4, "ngIf"], ["primaryColor", "var(--m-color-primary)", 1, "miam-recipe-details__actions__icon", "print", 3, "width", "height", "iconName", "click"], ["primaryColor", "var(--m-color-grey02)", "secondaryColor", "var(--m-color-grey07)", 1, "miam-recipe-details__actions__icon", "help", 3, "width", "height", "iconName", "click"], [3, "recipe", "displayTags", "displayTagsIcons", "reduced", 4, "ngIf"], [3, "recipe", 4, "ngIf"], [1, "miam-recipe-details__action__container"], [1, "miam-recipe-details__price"], [3, "recipe", "serves", "guestsText", 4, "ngIf"], ["class", "miam-recipe-details__addbasket", 3, "ngClass", "click", 4, "ngIf"], ["id", "miam-recipe-details__content", 1, "miam-recipe-details__content"], ["class", "miam-recipe-details__title", "id", "miam-recipe-details__title", 4, "ngIf"], ["class", "miam-recipe-details__content__description", 4, "ngIf"], [3, "recipe", "ingredientsPictures", "guestsUpdated"], [1, "miam-recipe-details__content__image", 3, "href"], [3, "src"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-bookmark.svg"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-stamp.svg"], [3, "recipe", "showAddon"], [3, "src", "ngClass"], [3, "videoId", "width", "height"], [1, "miam-recipe-details__picture__filigrane"], [1, "miam-recipe-details__actions__icon", "like", 3, "recipe", "originTrace", "width", "height"], [3, "recipe", "displayTags", "displayTagsIcons", "reduced"], [3, "recipe"], [3, "recipe", "serves", "guestsText"], [1, "miam-recipe-details__addbasket", 3, "ngClass", "click"], ["class", "miam-recipe-details__addbasket__cta", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-recipe-details__addbasket__cta"], ["primaryColor", "#fff", 3, "width", "height", "iconName", 4, "ngIf"], ["primaryColor", "#fff", 3, "width", "height", "iconName"], ["id", "miam-recipe-details__title", 1, "miam-recipe-details__title"], [1, "miam-recipe-details__content__description"], [3, "recipe", "hideAddon"]], template: function RecipeDetailsComponent_Template(rf, ctx) {
|
|
17471
17572
|
if (rf & 1) {
|
|
17472
|
-
i0.ɵɵtemplate(0, RecipeDetailsComponent_div_0_Template,
|
|
17573
|
+
i0.ɵɵtemplate(0, RecipeDetailsComponent_div_0_Template, 43, 29, "div", 0);
|
|
17473
17574
|
i0.ɵɵtemplate(1, RecipeDetailsComponent_ng_template_1_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
17474
17575
|
}
|
|
17475
17576
|
if (rf & 2) {
|
|
17476
17577
|
var _r1 = i0.ɵɵreference(2);
|
|
17477
17578
|
i0.ɵɵproperty("ngIf", ctx.showDetail)("ngIfElse", _r1);
|
|
17478
17579
|
}
|
|
17479
|
-
}, directives: [i4.NgIf, IconComponent, RecipeDetailsIngredientsComponent, AddonLinkComponent, i4.NgClass, i8.YouTubePlayer, LikeButtonComponent, RecipeDetailsInfosComponent, RecipeDetailsStepsComponent, RecipePricingComponent, LoaderComponent, RecipeAddonComponent], pipes: [i4.AsyncPipe], styles: [".miam-recipe-details{display:flex;flex-direction:column;height:100vh;width:100%}.miam-recipe-details .miam-recipe-details__title{font-size:32px;font-weight:700;line-height:40px;margin-left:112px;max-width:calc(100% - 352px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.miam-recipe-details .miam-recipe-details__header{align-items:center;background-color:var(--m-color-white);box-shadow:0 1px 0 #e9e9e9;display:flex;flex-direction:row;height:80px;justify-content:space-between;position:relative;width:100%}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark{height:126px;left:20px;position:absolute;top:0;width:72px;z-index:1}@media (min-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark img{height:100%}}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__header__link{cursor:pointer;font-size:14px;line-height:20px;margin-right:64px}.miam-recipe-details .miam-recipe-details__container{display:flex;flex-direction:row;height:calc(100% - 80px);width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary{border-right:1px solid #e9e9e9;display:flex;margin-bottom:80px;width:60%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container{display:flex;flex-direction:column;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture{height:auto;max-height:48vh;position:relative;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img{-o-object-fit:cover;height:100%;object-fit:cover;width:100%}@media (min-width:1023px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img{max-height:calc(100vh - 396px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor{max-height:calc(100vh - 504px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.tags{max-height:calc(100vh - 476px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor.tags{max-height:calc(100vh - 584px)}}@media (min-width:1023px) and (max-height:816px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor.tags{max-height:232px}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{background-color:var(--m-color-white);display:flex;filter:drop-shadow(0 8px 28px rgba(0,0,0,.07));flex-direction:row;justify-content:space-between}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar .miam-recipe-details__actionbar__group{display:flex;flex-direction:row}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar .miam-recipe-details__actionbar__group .miam-recipe-details__actions__icon{-webkit-tap-highlight-color:transparent;align-items:center;cursor:pointer;display:flex;height:40px;justify-content:center;margin:8px 16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{background-color:var(--m-color-white);bottom:0;box-shadow:0 -1px 0 #e9e9e9,0 1px 0 #e9e9e9;display:flex;flex-direction:row;height:80px;left:0;position:absolute;right:40%}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;position:relative;width:34%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{color:var(--m-color-primary);flex-direction:row}@media (max-width:1022px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{display:flex;flex-direction:column}}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__price{font-size:20px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__subline{font-size:14px;margin-left:12px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket{align-items:center;background-color:var(--m-color-secondary);color:var(--m-color-white);cursor:pointer;display:flex;font-size:19px;font-weight:700;justify-content:center;width:66%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket .miam-recipe-details__addbasket__cta{display:flex;flex-direction:row}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket{display:none}}@media (min-width:1022px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket:hover{background-color:var(--m-color-secondary-dark)}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket ng-miam-icon{margin-left:16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket .miam-loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:24px;width:24px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content{background-color:var(--m-color-white);display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:24px 24px 0;width:40%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__description{color:var(--m-color-grey-text-dark);display:flex;flex-direction:column;font-size:16px;line-height:20px;margin-bottom:40px;text-align:left;word-break:break-word}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content ng-miam-recipe-details-ingredients{margin-bottom:40px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__image,.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__image img{width:100%}@media print{.miam-recipe-details{height:unset!important}}@media (max-width:1023px){.miam-recipe-details .miam-recipe-details__header{height:48px}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark{left:16px;top:4px}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__title{font-size:16px;font-weight:900;line-height:20px;margin-left:64px;max-width:calc(100% - 200px)}}@media print and (max-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__title{margin-left:112px}}@media (max-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__header__link{display:none}.miam-recipe-details .miam-recipe-details__container{flex-direction:column;overflow-y:auto}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary{height:100%;margin-bottom:8px;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{filter:unset}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{position:fixed;right:0;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content{height:100%;overflow-y:unset;padding:0 24px;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;font-size:24px;line-height:28px;margin:0;max-width:unset;overflow:hidden;text-overflow:ellipsis;white-space:unset;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__description{margin:16px 0 0}}"], encapsulation: 2, changeDetection: 0 });
|
|
17580
|
+
}, directives: [i4.NgIf, IconComponent, RecipeDetailsIngredientsComponent, AddonLinkComponent, i4.NgClass, i8.YouTubePlayer, LikeButtonComponent, RecipeDetailsInfosComponent, RecipeDetailsStepsComponent, RecipePricingComponent, LoaderComponent, RecipeAddonComponent], pipes: [i4.AsyncPipe], styles: [".miam-recipe-details{display:flex;flex-direction:column;height:100vh;width:100%}.miam-recipe-details .miam-recipe-details__title{font-size:32px;font-weight:700;line-height:40px;margin-left:112px;max-width:calc(100% - 352px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.miam-recipe-details .miam-recipe-details__header{align-items:center;background-color:var(--m-color-white);box-shadow:0 1px 0 #e9e9e9;display:flex;flex-direction:row;height:80px;justify-content:space-between;position:relative;width:100%}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark{height:126px;left:20px;position:absolute;top:0;width:72px;z-index:1}@media (min-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark img{height:100%}}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__header__link{cursor:pointer;font-size:14px;line-height:20px;margin-right:64px}.miam-recipe-details .miam-recipe-details__container{display:flex;flex-direction:row;height:calc(100% - 80px);width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary{border-right:1px solid #e9e9e9;display:flex;margin-bottom:80px;width:60%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container{display:flex;flex-direction:column;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture{height:auto;max-height:48vh;position:relative;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img{-o-object-fit:cover;height:100%;object-fit:cover;width:100%}@media (min-width:1023px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img{max-height:calc(100vh - 396px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor{max-height:calc(100vh - 504px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.tags{max-height:calc(100vh - 476px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor.tags{max-height:calc(100vh - 584px)}}@media (min-width:1023px) and (max-height:816px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor.tags{max-height:232px}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture .miam-recipe-details__picture__filigrane{align-items:flex-end;bottom:16px;display:flex;height:64px;justify-content:flex-end;order:2;position:absolute;right:16px;width:124px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture .miam-recipe-details__picture__filigrane img{-o-object-fit:contain;height:auto;max-height:100%;max-width:100%;object-fit:contain;width:auto}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{background-color:var(--m-color-white);display:flex;filter:drop-shadow(0 8px 28px rgba(0,0,0,.07));flex-direction:row;justify-content:space-between}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar .miam-recipe-details__actionbar__group{display:flex;flex-direction:row}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar .miam-recipe-details__actionbar__group .miam-recipe-details__actions__icon{-webkit-tap-highlight-color:transparent;align-items:center;cursor:pointer;display:flex;height:40px;justify-content:center;margin:8px 16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{background-color:var(--m-color-white);bottom:0;box-shadow:0 -1px 0 #e9e9e9,0 1px 0 #e9e9e9;display:flex;flex-direction:row;height:80px;left:0;position:absolute;right:40%}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;position:relative;width:34%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{color:var(--m-color-primary);flex-direction:row}@media (max-width:1022px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{display:flex;flex-direction:column}}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__price{font-size:20px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__subline{font-size:14px;margin-left:12px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket{align-items:center;background-color:var(--m-color-secondary);color:var(--m-color-white);cursor:pointer;display:flex;font-size:19px;font-weight:700;justify-content:center;width:66%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket .miam-recipe-details__addbasket__cta{display:flex;flex-direction:row}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket{display:none}}@media (min-width:1022px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket:hover{background-color:var(--m-color-secondary-dark)}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket ng-miam-icon{margin-left:16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket .miam-loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:24px;width:24px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content{background-color:var(--m-color-white);display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:24px 24px 0;width:40%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__description{color:var(--m-color-grey-text-dark);display:flex;flex-direction:column;font-size:16px;line-height:20px;margin-bottom:40px;text-align:left;word-break:break-word}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content ng-miam-recipe-details-ingredients{margin-bottom:40px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__image,.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__image img{width:100%}@media print{.miam-recipe-details{height:unset!important}}@media (max-width:1023px){.miam-recipe-details .miam-recipe-details__header{height:48px}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark{left:16px;top:4px}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__title{font-size:16px;font-weight:900;line-height:20px;margin-left:64px;max-width:calc(100% - 200px)}}@media print and (max-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__title{margin-left:112px}}@media (max-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__header__link{display:none}.miam-recipe-details .miam-recipe-details__container{flex-direction:column;overflow-y:auto}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary{height:100%;margin-bottom:8px;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{filter:unset}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{position:fixed;right:0;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content{height:100%;overflow-y:unset;padding:0 24px;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;font-size:24px;line-height:28px;margin:0;max-width:unset;overflow:hidden;text-overflow:ellipsis;white-space:unset;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__description{margin:16px 0 0}}"], encapsulation: 2, changeDetection: 0 });
|
|
17480
17581
|
/*@__PURE__*/ (function () {
|
|
17481
17582
|
i0.ɵsetClassMetadata(RecipeDetailsComponent, [{
|
|
17482
17583
|
type: i0.Component,
|