mealz-injector 2.1.0-beta.1 → 2.1.0-beta.2

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.
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";:root .mealz-catalog__list .mealz-recipe-card{width:var(--mealz-recipe-card-width, 227px);height:var(--mealz-recipe-card-height, 360px)}:root .mealz-recipe-card{height:100%;width:100%;border-radius:0;border:1px solid var(--mealz-color-border, #d9d9d9)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__top .mealz-recipe-card__content .mealz-recipe-card__top-container:not(.planner){flex-direction:unset}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__top .mealz-recipe-card__content .mealz-recipe-card__top-container .mealz-recipe-card__actions__icon .mealz-like-button{display:none}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__top .mealz-recipe-card__content .mealz-recipe-card__top-container .mealz-recipe-card__badge-container .mealz-recipe-card__badge{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/recipe_badge.svg)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom{height:80px;border-radius:0}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__price-and-promotion .mealz-recipe-card__price .mealz-recipe-pricing{max-width:unset}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__price-and-promotion .mealz-recipe-card__price .mealz-recipe-pricing .mealz-recipe-pricing__wrapper{align-items:center;flex-flow:unset}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-basket{padding:20px;height:56px;border-radius:4px}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-basket.add:after,:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-basket.in-basket:after{font-size:16px;font-weight:700;line-height:16px;margin-left:4px}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-basket.add:after{content:"Acheter";color:var(--mealz-ds-color-neutral-white, #ffffff)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-basket.in-basket:after{content:"Dans le panier";color:var(--mealz-color-primary, #0970e6)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-basket img.in-basket{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/check_primary.svg)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-basket img.add{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cart_white.svg)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-menu img.in-basket{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/check_primary.svg)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-menu img.in-menu{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cross_primary.svg)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-menu img.add{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/calendar_white.svg)}:root .mealz-like-button{display:none}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__picture .mealz-recipe-details__banner-buttons .mealz-recipe-details__top-button-wrapper .mealz-recipe-details__close-button img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cross_primary.svg)}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__picture .mealz-recipe-details__banner-buttons .mealz-counter .mealz-counter__counter .mealz-counter__minus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/minus-black.svg)}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__picture .mealz-recipe-details__banner-buttons .mealz-counter .mealz-counter__counter .mealz-counter__plus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/plus-black.svg)}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__tab-content .mealz-recipe-details__products-tab .mealz-no-pos-selected img.mealz-no-pos-selected__picture{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/images/empty_pos.svg)}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__tab-content .mealz-recipe-details__products-tab .mealz-no-pos-selected .mealz-no-pos-selected__select-pos-button{background-color:var(--mealz-ds-color-primary, #0970e6);color:var(--mealz-ds-color-primary-text, #ffffff);border:none}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__sticky-header .mealz-recipe-details__title-container .mealz-recipe-details__actions__icon .mealz-recipe-details__hideable-actions .mealz-recipe-details__close-button{background:unset}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__sticky-header .mealz-recipe-details__title-container .mealz-recipe-details__actions__icon .mealz-recipe-details__hideable-actions .mealz-recipe-details__close-button img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/Cross_Black.svg)}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__footer .mealz-recipe-details__add-to-basket-cta.mealz-recipe-details__add-to-basket-cta--to-basket img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cart_white.svg)}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__footer .mealz-recipe-details__add-to-basket-cta.mealz-recipe-details__add-to-basket-cta--to-menu{flex-direction:row-reverse}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__footer .mealz-recipe-details__add-to-basket-cta.mealz-recipe-details__add-to-basket-cta--to-menu span{margin:0 0 0 8px}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__footer .mealz-recipe-details__add-to-basket-cta.mealz-recipe-details__add-to-basket-cta--to-menu img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/calendar_white.svg)}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__footer .mealz-recipe-details__recipe-is-in-basket-cta-container .mealz-recipe-details__remove-from-menu-cta img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cross_primary.svg)}:root mealz-recipe-to-basket-v2{width:100%}:root .mealz-recipe-to-basket-v2{display:flex;flex-direction:column;padding:16px;border:1px solid var(--miam-color-border, #d9d9d9);border-radius:4px;box-sizing:border-box}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0;margin-bottom:16px}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header>.mealz-ds-text{margin-right:0;font-family:Ubuntu,BlinkMacSystemFont,Open Sans,sans-serif;font-size:20px;line-height:28px;font-weight:400;color:var(--miam-color-neutral-black, #121212)}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-recipe-to-basket-v2__counter,:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-recipe-to-basket-v2__counter .mealz-counter{padding:0}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter{border-radius:4px;border:1px solid var(--miam-color-neutral-black, #121212);align-items:center;justify-content:center}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter .mealz-counter__minus img,:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter .mealz-counter__plus img{width:24px;height:24px}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter .mealz-counter__minus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/minus-black.svg)}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter .mealz-counter__plus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/plus-neutral-black.svg)}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter .mealz-counter__value-container{width:initial}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter .mealz-counter__value-container .mealz-counter__value-text{display:flex;align-items:center;font-weight:700;font-size:16px;line-height:24px;color:var(--miam-color-neutral-black, #121212)}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter .mealz-counter__value-container .mealz-counter__value-text:after{content:"";display:inline-block;width:16px;height:16px;margin-left:4px;background:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/single-user.svg) center/contain no-repeat}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__cta{padding:0;margin-bottom:16px}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__cta-add-all{flex-direction:row-reverse;min-height:48px;border-radius:4px}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__cta-add-all img{margin-right:0;margin-left:4px;width:20px;height:20px;content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cart_white.svg)}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__cta-add-all .mealz-ds-text{font-weight:700;font-size:14px;line-height:16px}:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__shopping{padding:0}:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__section-header{display:none}:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__cards>mealz-rdv2-product-card{margin:0 4px 8px;width:auto;max-width:none;box-sizing:border-box}:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__cards>mealz-rdv2-product-card:nth-child(odd){margin-left:0}:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__cards>mealz-rdv2-product-card:nth-child(2n){margin-right:0}:root .mealz-recipe-to-basket-v2 .mealz-product-badges{margin:4px 0 0}:root .mealz-recipe-to-basket-v2 .mealz-product-badges .mealz-ds-badge{flex-shrink:0;white-space:nowrap}:root .mealz-recipe-to-basket-v2 .mealz-product-badges .mealz-product-badges__details{flex-shrink:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:root .mealz-recipe-to-basket-v2 .mealz-product-card{container-type:inline-size}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content.disabled .mealz-product-card__disabled-text{font-size:14px;line-height:20px;font-weight:400}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product>*:not(:last-child){margin-right:8px}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__picture-column{flex-shrink:0;width:clamp(72px,45.9770114943cqw,120px)}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__picture,:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-rdv2-product-card-skeleton__picture{width:100%;height:auto;aspect-ratio:1;object-fit:contain;display:block}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__info-column .mealz-product-card__details{max-width:100%}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__info-column .mealz-product-card__details.product-brand{font-size:12px;line-height:16px;font-weight:700}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__info-column .mealz-product-card__details.product-fullname{font-size:12px;line-height:16px}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__info-column .mealz-product-badges .mealz-ds-badge{font-weight:500;font-size:14px;line-height:16px}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__info-column .mealz-product-card__details.product-name{font-size:14px;line-height:16px}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__footer__actions{justify-content:center}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__footer__actions>*:not(:last-child){margin-right:8px}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__footer__actions .mealz-product-card__ignore-product,:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__footer__actions .mealz-product-card__replace-product{font-weight:700;font-size:14px;line-height:16px;min-height:32px}@media(max-width:599px){:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__cards{grid-template-columns:1fr}:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__cards>mealz-rdv2-product-card{margin:0 0 8px}}:root .mealz-product-card{border-radius:0;border:1px solid var(--mealz-color-border, #d9d9d9)}:root .mealz-product-card .mealz-product-card__header.disabled{opacity:70%}:root .mealz-product-card .mealz-product-card__header .mealz-product-card__header-quantity{font-weight:700}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__info-column .mealz-product-badges .mealz-ds-badge{border:1px solid var(--mealz-color-neutral-black, #121212);outline:0}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__info-column .mealz-product-badges .mealz-product-badges__details{opacity:70%}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__add-product{border-radius:4px}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__add-product img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cart_white.svg)}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__lower-action .mealz-product-card__cta .mealz-counter{border:1px solid var(--mealz-color-neutral-black, #121212);border-radius:4px}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__lower-action .mealz-product-card__cta .mealz-counter .mealz-ds-button{background:unset;border:unset}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__lower-action .mealz-product-card__cta .mealz-counter .mealz-ds-button:hover{background:unset}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__lower-action .mealz-product-card__cta .mealz-counter .mealz-counter__minus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/minus-black.svg)}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__lower-action .mealz-product-card__cta .mealz-counter .mealz-counter__plus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/plus-black.svg)}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__footer__actions .mealz-product-card__ignore-product{font-weight:700}:root .mealz-product-card-planner{border-radius:0;border:1px solid var(--mealz-color-border, #d9d9d9)}:root .mealz-product-card-planner .mealz-product-card-planner__header .mealz-product-card-planner__header-quantity{font-weight:700}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__selected-product .mealz-product-card-planner__info-column .mealz-product-badges .mealz-ds-badge{border:1px solid var(--mealz-color-neutral-black, #121212);outline:0}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__add-product{border-radius:4px}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__add-product img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cart_white.svg)}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__lower-action .mealz-product-card-planner__cta .mealz-product-card-planner__checkbox input{border-radius:4px}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__lower-action .mealz-product-card-planner__cta .mealz-counter{border:1px solid var(--mealz-color-neutral-black, #121212);border-radius:4px}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__lower-action .mealz-product-card-planner__cta .mealz-counter .mealz-ds-button{background:unset;border:unset}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__lower-action .mealz-product-card-planner__cta .mealz-counter .mealz-ds-button:hover{background:unset}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__lower-action .mealz-product-card-planner__cta .mealz-counter .mealz-counter__minus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/minus-black.svg)}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__lower-action .mealz-product-card-planner__cta .mealz-counter .mealz-counter__plus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/plus-black.svg)}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__footer__actions .mealz-product-card-planner__ignore-product{font-weight:700}:root .mealz-replace-item .mealz-replace-item__header .mealz-replace-item__back-button{background:unset}:root .mealz-replace-item .mealz-replace-item__product-list .mealz-replace-item-card .mealz-replace-item-card__upper-section .mealz-replace-item-card__info .mealz-product-badges .mealz-ds-badge.outline{background-color:var(--mealz-ds-color-neutral-white, #ffffff);outline:0;border:1px solid var(--mealz-ds-color-neutral-black, #121212)}:root .mealz-replace-item .mealz-replace-item__product-list .mealz-replace-item-card .mealz-replace-item-card__upper-section .mealz-replace-item-card__info .mealz-product-badges .mealz-product-badges__details{opacity:70%}:root .mealz-replace-item .mealz-replace-item__product-list .mealz-replace-item__error .mealz-replace-item__error-image-container img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/images/product_issue.svg)}:root .mealz-replace-item-planner .mealz-replace-item-planner__header .mealz-replace-item-planner__back-button{background:unset}:root .mealz-replace-item-planner .mealz-replace-item-planner__product-list .mealz-replace-item-card-planner .mealz-replace-item-card-planner__upper-section .mealz-replace-item-card-planner__info .mealz-product-badges .mealz-ds-badge.outline{background-color:var(--mealz-ds-color-neutral-white, #ffffff);outline:0;border:1px solid var(--mealz-ds-color-neutral-black, #121212)}:root .mealz-replace-item-planner .mealz-replace-item-planner__product-list .mealz-replace-item-planner__error .mealz-replace-item-planner__error-image-container img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/images/product_issue.svg)}:root .mealz-planner-entry__content .mealz-planner-entry__header .mealz-planner-entry__header-left .mealz-planner-entry__stepper{border:1px solid var(--mealz-ds-color-content-default, #1f2a2e);border-radius:4px}:root .mealz-planner-entry__content .mealz-planner-entry__header .mealz-planner-entry__header-left .mealz-planner-entry__stepper .mealz-planner-entry__stepper-button{background:none;border:none}:root .mealz-planner-entry__content .mealz-planner-entry__header .mealz-planner-entry__header-left .mealz-planner-entry__stepper .mealz-planner-entry__stepper-button.mealz-planner-entry__stepper-button--plus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/plus-black.svg)}:root .mealz-planner-entry__content .mealz-planner-entry__banner{border-radius:0}:root .mealz-planner-entry__content .mealz-planner-entry__banner .mealz-planner-entry__options .mealz-planner-menu-option .mealz-planner-menu-option__container img.mealz-planner-menu-option__redirect{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/arrow-right_primary.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__menu-header .mealz-planner-current-menu__menu-header-actions .mealz-planner-current-menu__mobile-onboarding-button img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/help_black.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__menu-header .mealz-planner-current-menu__menu-header-actions .mealz-planner-current-menu__onboarding-button img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/help_black.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__menu-header .mealz-planner-current-menu__menu-header-actions .mealz-planner-current-menu__mobile-preferences-button{border:1px solid var(--mealz-color-neutral-black, #121212)}:root .mealz-planner-current-menu .mealz-planner-current-menu__menu-header .mealz-planner-current-menu__menu-header-actions .mealz-planner-current-menu__mobile-preferences-button img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/settings_black.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__menu-header .mealz-planner-current-menu__menu-header-actions .mealz-planner-current-menu__menu-header-preferences:not(.ghost):not(.hidden){border:1px solid var(--mealz-color-neutral-black, #121212);background:inherit}:root .mealz-planner-current-menu .mealz-planner-current-menu__menu-header .mealz-planner-current-menu__menu-header-actions .mealz-planner-current-menu__menu-header-preferences:not(.ghost):not(.hidden) img{width:24px;height:24px;content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/settings_black.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__menu-header .mealz-planner-current-menu__menu-header-actions .mealz-planner-current-menu__menu-header-preferences:not(.ghost):not(.hidden) .mealz-catalog-toolbar__controls__preferences-label{font-size:16px}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__recipe .mealz-planner-recipe-suggestion__badge{border-radius:4px;background:#effafe}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__recipe .mealz-planner-recipe-suggestion__badge img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/lightbulb_primary.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__recipe .mealz-planner-recipe-suggestion__badge .mealz-ds-text.weight-m{font-weight:500}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-recipe-suggestion{border-radius:0}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-recipe-suggestion .mealz-planner-recipe-suggestion__picture{border-radius:0}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-recipe-suggestion .mealz-planner-recipe-suggestion__picture img{border-radius:0}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-recipe-suggestion__content .mealz-planner-recipe-suggestion__actions .mealz-planner-recipe-suggestion__actions-add-and-swap .mealz-planner-recipe-suggestion__actions-swap-button img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/swap_black.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-recipe-suggestion__content .mealz-planner-recipe-suggestion__actions .mealz-planner-recipe-suggestion__actions-add-and-swap .mealz-planner-recipe-suggestion__actions-swap-button{border:1px solid var(--mealz-color-neutral-black, #121212);color:var(--mealz-color-neutral-black, #121212)}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-recipe-suggestion__content .mealz-planner-recipe-suggestion__actions .mealz-planner-recipe-suggestion__actions-add-and-swap .mealz-planner-recipe-suggestion__actions-swap-button:hover{background:inherit;color:inherit}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__menu .mealz-planner-current-menu__menu-content .mealz-planner-current-menu__menu-top .mealz-planner-current-menu__menu-recipes .mealz-planner-recipe-list .mealz-planner-recipe-list__header .mealz-planner-recipe-list__suggestions-button img{margin-right:4px;content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/lightbulb_primary.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__menu .mealz-planner-current-menu__menu-content .mealz-planner-current-menu__menu-top .mealz-planner-current-menu__menu-recipes .mealz-planner-recipe-list .mealz-planner-recipe-list__grid .mealz-planner-recipe-list__add-to-menu img{height:24px;width:24px;content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/plus_primary.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__menu .mealz-planner-current-menu__menu-content .mealz-planner-current-menu__menu-top .mealz-planner-current-menu__menu-recipes .mealz-planner-recipe-list .mealz-planner-recipe-list__grid>*{border-radius:0}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__menu .mealz-planner-current-menu__menu-content .mealz-planner-current-menu__menu-top .mealz-planner-current-menu__menu-recipes .mealz-planner-recipe-list .mealz-planner-recipe-list__grid .mealz-planner-recipe-list__in-menu .mealz-planner-recipe-card .mealz-planner-recipe-card__picture{border-radius:0}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__menu .mealz-planner-current-menu__menu-content .mealz-planner-current-menu__menu-top .mealz-planner-current-menu__menu-recipes .mealz-planner-recipe-list .mealz-planner-recipe-list__grid .mealz-planner-recipe-list__in-menu .mealz-planner-recipe-card .mealz-planner-recipe-card__picture .mealz-planner-recipe-card__picture-overlay{border-radius:0}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__menu .mealz-planner-current-menu__menu-content .mealz-planner-current-menu__menu-top .mealz-planner-current-menu__menu-recipes .mealz-planner-recipe-list .mealz-planner-recipe-list__grid .mealz-planner-recipe-list__in-menu .mealz-planner-recipe-card .mealz-planner-recipe-card__content .mealz-planner-recipe-card__badges-and-actions .mealz-planner-recipe-card__remove-button{border-radius:4px;background:var(--mealz-color-primary, #0970e6)}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__menu .mealz-planner-current-menu__menu-content .mealz-planner-current-menu__menu-top .mealz-planner-current-menu__menu-recipes .mealz-planner-recipe-list .mealz-planner-recipe-list__grid .mealz-planner-recipe-list__in-menu .mealz-planner-recipe-card .mealz-planner-recipe-card__content .mealz-planner-recipe-card__badges-and-actions .mealz-planner-recipe-card__remove-button img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cross_white.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__footer .mealz-planner-current-menu__footer-primary .mealz-planner-budget-gauge .mealz-planner-budget-gauge__budget-define{border:1px solid var(--mealz-color-neutral-black, #121212);background:inherit}:root .mealz-planner-current-menu .mealz-planner-current-menu__footer .mealz-planner-current-menu__footer-primary .mealz-planner-budget-gauge .mealz-planner-budget-gauge__budget-define:hover{background:inherit;color:inherit}:root .mealz-planner-current-menu .mealz-planner-current-menu__footer .mealz-planner-current-menu__footer-primary .mealz-planner-current-menu__footer-button img{display:none}:root .mealz-planner-current-menu .mealz-planner-current-menu__footer .mealz-planner-current-menu__footer-quick-menu .mealz-planner-quick-menu__recipes .mealz-planner-quick-menu__thumb{border-radius:0}:root .mealz-drawer.with-header .mealz-drawer__header .mealz-drawer__header-container .mealz-drawer__close-icon{background:unset}:root .mealz-drawer.with-header .mealz-drawer__header .mealz-drawer__header-container .mealz-drawer__close-icon img{height:24px;width:24px}.miam-no-scroll{overflow:hidden!important}:root{--mealz-color-primary: #0970e6;--mealz-color-primary-hover: #0863cc;--mealz-color-primary-900: #121212;--mealz-color-primary-100: #f7f7f7;--mealz-color-neutral-black: #121212;--mealz-color-neutral-200: #f7f7f7;--mealz-ds-color-neutral-50: #F3F6F6;--mealz-color-secondary-text: #575757;--mealz-color-border: #d9d9d9;--mealz-color-background-primary-hover: #f7f7f7}:root .mealz-ds-text{font-family:Ubuntu,BlinkMacSystemFont,Open Sans,sans-serif}:root .mealz-ds-text img{margin:unset}:root .mealz-ds-button{transition:background-color .3s,border-color .3s,color .3s;border-radius:4px}:root .mealz-ds-button img{margin:unset}:root .mealz-recipe-to-basket{display:flex;flex-direction:column;padding:16px;border:1px solid var(--mealz-color-border, #d9d9d9);border-radius:4px}:root .mealz-recipe-to-basket .mealz-counter{justify-content:space-between;padding:0}:root .mealz-recipe-to-basket .mealz-counter:before{content:"Ingrédients pour";font-family:Ubuntu,BlinkMacSystemFont,Open Sans,sans-serif;font-size:20px;line-height:28px;font-weight:400;display:block;color:var(--mealz-color-neutral-black, #121212)}:root .mealz-recipe-to-basket .mealz-counter .mealz-counter__counter{border-radius:4px;border:1px solid var(--mealz-color-neutral-black, #121212);gap:0;align-items:center;justify-content:center}:root .mealz-recipe-to-basket .mealz-counter .mealz-counter__counter .mealz-counter__minus img{width:24px;height:24px;content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/minus-black.svg)}:root .mealz-recipe-to-basket .mealz-counter .mealz-counter__counter .mealz-counter__value-container{width:initial}:root .mealz-recipe-to-basket .mealz-counter .mealz-counter__counter .mealz-counter__value-container .mealz-counter__value-text{font-weight:700}:root .mealz-recipe-to-basket .mealz-counter .mealz-counter__counter .mealz-counter__value-container .mealz-counter__value-text:after{content:" personnes"}:root .mealz-recipe-to-basket .mealz-counter .mealz-counter__counter .mealz-counter__plus img{width:24px;height:24px;content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/plus-neutral-black.svg)}:root .mealz-recipe-to-basket .mealz-products-to-basket-cta>img{display:none}:root .mealz-recipe-to-basket .mealz-products-to-basket-cta .mealz-products-to-basket__add-to-basket-cta__text:after{content:"";width:20px;height:20px;background-image:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/CartPlus.svg);background-repeat:no-repeat;background-position:center;background-size:contain}:root .mealz-recipe-to-basket .mealz-products-picker{padding:0}:root .mealz-recipe-to-basket .mealz-products-picker .mealz-products-picker__header{display:none}:root .mealz-recipe-to-basket .mealz-products-picker .mealz-products-picker__list{grid-template-columns:repeat(auto-fill,minmax(261px,1fr))}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";:root .mealz-catalog__list .mealz-recipe-card{width:var(--mealz-recipe-card-width, 227px);height:var(--mealz-recipe-card-height, 360px)}:root .mealz-recipe-card{height:100%;width:100%;border-radius:0;border:1px solid var(--mealz-color-border, #d9d9d9)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__top .mealz-recipe-card__content .mealz-recipe-card__top-container:not(.planner){flex-direction:unset}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__top .mealz-recipe-card__content .mealz-recipe-card__top-container .mealz-recipe-card__actions__icon .mealz-like-button{display:none}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__top .mealz-recipe-card__content .mealz-recipe-card__top-container .mealz-recipe-card__badge-container .mealz-recipe-card__badge{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/recipe_badge.svg)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom{height:80px;border-radius:0}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__price-and-promotion .mealz-recipe-card__price .mealz-recipe-pricing{max-width:unset}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__price-and-promotion .mealz-recipe-card__price .mealz-recipe-pricing .mealz-recipe-pricing__wrapper{align-items:center;flex-flow:unset}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-basket{padding:20px;height:56px;border-radius:4px}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-basket.add:after,:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-basket.in-basket:after{font-size:16px;font-weight:700;line-height:16px;margin-left:4px}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-basket.add:after{content:"Acheter";color:var(--mealz-ds-color-neutral-white, #ffffff)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-basket.in-basket:after{content:"Dans le panier";color:var(--mealz-color-primary, #0970e6)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-basket img.in-basket{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/check_primary.svg)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-basket img.add{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cart_white.svg)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-menu img.in-basket{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/check_primary.svg)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-menu img.in-menu{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cross_primary.svg)}:root .mealz-recipe-card .mealz-recipe-card__container .mealz-recipe-card__bottom .mealz-recipe-card__actions .mealz-recipe-card__cta .mealz-recipe-card-cta.mealz-recipe-card-cta--to-menu img.add{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/calendar_white.svg)}:root .mealz-like-button{display:none}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__picture .mealz-recipe-details__banner-buttons .mealz-recipe-details__top-button-wrapper .mealz-recipe-details__close-button img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cross_primary.svg)}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__picture .mealz-recipe-details__banner-buttons .mealz-counter .mealz-counter__counter .mealz-counter__minus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/minus-black.svg)}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__picture .mealz-recipe-details__banner-buttons .mealz-counter .mealz-counter__counter .mealz-counter__plus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/plus-black.svg)}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__tab-content .mealz-recipe-details__products-tab .mealz-no-pos-selected img.mealz-no-pos-selected__picture{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/images/empty_pos.svg)}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__tab-content .mealz-recipe-details__products-tab .mealz-no-pos-selected .mealz-no-pos-selected__select-pos-button{background-color:var(--mealz-ds-color-primary, #0970e6);color:var(--mealz-ds-color-primary-text, #ffffff);border:none}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__sticky-header .mealz-recipe-details__title-container .mealz-recipe-details__actions__icon .mealz-recipe-details__hideable-actions .mealz-recipe-details__close-button{background:unset}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__sticky-header .mealz-recipe-details__title-container .mealz-recipe-details__actions__icon .mealz-recipe-details__hideable-actions .mealz-recipe-details__close-button img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/Cross_Black.svg)}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__footer .mealz-recipe-details__add-to-basket-cta.mealz-recipe-details__add-to-basket-cta--to-basket img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cart_white.svg)}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__footer .mealz-recipe-details__add-to-basket-cta.mealz-recipe-details__add-to-basket-cta--to-menu{flex-direction:row-reverse}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__footer .mealz-recipe-details__add-to-basket-cta.mealz-recipe-details__add-to-basket-cta--to-menu span{margin:0 0 0 8px}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__footer .mealz-recipe-details__add-to-basket-cta.mealz-recipe-details__add-to-basket-cta--to-menu img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/calendar_white.svg)}:root .mealz-recipe-details .mealz-recipe-details__container .mealz-recipe-details__footer .mealz-recipe-details__recipe-is-in-basket-cta-container .mealz-recipe-details__remove-from-menu-cta img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cross_primary.svg)}:root mealz-recipe-to-basket-v2{width:100%}:root .mealz-recipe-to-basket-v2{display:flex;flex-direction:column;padding:16px;border:1px solid var(--miam-color-border, #d9d9d9);border-radius:4px;box-sizing:border-box}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0;margin-bottom:16px}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header>.mealz-ds-text{margin-right:0;font-family:Ubuntu,BlinkMacSystemFont,Open Sans,sans-serif;font-size:20px;line-height:28px;font-weight:400;color:var(--miam-color-neutral-black, #121212)}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-recipe-to-basket-v2__counter,:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-recipe-to-basket-v2__counter .mealz-counter{padding:0}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter{border-radius:4px;border:1px solid var(--miam-color-neutral-black, #121212);align-items:center;justify-content:center}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter .mealz-counter__minus img,:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter .mealz-counter__plus img{width:24px;height:24px}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter .mealz-counter__minus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/minus-black.svg)}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter .mealz-counter__plus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/plus-neutral-black.svg)}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter .mealz-counter__value-container{width:initial}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter .mealz-counter__value-container .mealz-counter__value-text{display:flex;align-items:center;font-weight:700;font-size:16px;line-height:24px;color:var(--miam-color-neutral-black, #121212)}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__header .mealz-counter__counter .mealz-counter__value-container .mealz-counter__value-text:after{content:"";display:inline-block;width:16px;height:16px;margin-left:4px;background:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/single-user.svg) center/contain no-repeat}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__cta{padding:0;margin-bottom:16px}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__cta-add-all{flex-direction:row-reverse;min-height:48px;border-radius:4px}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__cta-add-all img{margin-right:0;margin-left:4px;width:20px;height:20px;content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cart_white.svg)}:root .mealz-recipe-to-basket-v2 .mealz-recipe-to-basket-v2__cta-add-all .mealz-ds-text{font-weight:700;font-size:14px;line-height:16px}:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__shopping{padding:0}:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__section-header{display:none}:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__cards>mealz-rdv2-product-card{margin:0 4px 8px;width:auto;max-width:none;box-sizing:border-box}:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__cards>mealz-rdv2-product-card:nth-child(odd){margin-left:0}:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__cards>mealz-rdv2-product-card:nth-child(2n){margin-right:0}:root .mealz-recipe-to-basket-v2 .mealz-product-badges{margin:4px 0 0}:root .mealz-recipe-to-basket-v2 .mealz-product-badges .mealz-ds-badge{flex-shrink:0;white-space:nowrap}:root .mealz-recipe-to-basket-v2 .mealz-product-badges .mealz-product-badges__details{flex-shrink:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:root .mealz-recipe-to-basket-v2 .mealz-product-card{container-type:inline-size}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content.disabled .mealz-product-card__disabled-text{font-size:14px;line-height:20px;font-weight:400}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product>*:not(:last-child){margin-right:8px}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__picture-column{flex-shrink:0;width:clamp(72px,45.9770114943cqw,120px)}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__picture,:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-rdv2-product-card-skeleton__picture{width:100%;height:auto;aspect-ratio:1;object-fit:contain;display:block}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__info-column .mealz-product-card__details{max-width:100%}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__info-column .mealz-product-card__details.product-brand{font-size:12px;line-height:16px;font-weight:700}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__info-column .mealz-product-card__details.product-fullname{font-size:12px;line-height:16px}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__info-column .mealz-product-badges .mealz-ds-badge{font-weight:500;font-size:14px;line-height:16px}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__info-column .mealz-product-card__details.product-name{font-size:14px;line-height:16px}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__footer__actions{justify-content:center}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__footer__actions>*:not(:last-child){margin-right:8px}:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__footer__actions .mealz-product-card__ignore-product,:root .mealz-recipe-to-basket-v2 .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__footer__actions .mealz-product-card__replace-product{font-weight:700;font-size:14px;line-height:16px;min-height:32px}@media(max-width:599px){:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__cards{grid-template-columns:1fr}:root .mealz-recipe-to-basket-v2 .mealz-recipe-details-v2__cards>mealz-rdv2-product-card{margin:0 0 8px}}:root .mealz-product-card{border-radius:0;border:1px solid var(--mealz-color-border, #d9d9d9)}:root .mealz-product-card .mealz-product-card__header.disabled{opacity:70%}:root .mealz-product-card .mealz-product-card__header .mealz-product-card__header-quantity{font-weight:700}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__info-column .mealz-product-badges .mealz-ds-badge{border:1px solid var(--mealz-color-neutral-black, #121212);outline:0}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__selected-product .mealz-product-card__info-column .mealz-product-badges .mealz-product-badges__details{opacity:70%}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__add-product{border-radius:4px}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__add-product img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cart_white.svg)}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__lower-action .mealz-product-card__cta .mealz-counter{border:1px solid var(--mealz-color-neutral-black, #121212);border-radius:4px}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__lower-action .mealz-product-card__cta .mealz-counter .mealz-ds-button{background:unset;border:unset}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__lower-action .mealz-product-card__cta .mealz-counter .mealz-ds-button:hover{background:unset}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__lower-action .mealz-product-card__cta .mealz-counter .mealz-counter__minus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/minus-black.svg)}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__lower-action .mealz-product-card__cta .mealz-counter .mealz-counter__plus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/plus-black.svg)}:root .mealz-product-card .mealz-product-card__content .mealz-product-card__footer__actions .mealz-product-card__ignore-product{font-weight:700}:root .mealz-product-card-planner{border-radius:0;border:1px solid var(--mealz-color-border, #d9d9d9)}:root .mealz-product-card-planner .mealz-product-card-planner__header .mealz-product-card-planner__header-quantity{font-weight:700}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__selected-product .mealz-product-card-planner__info-column .mealz-product-badges .mealz-ds-badge{border:1px solid var(--mealz-color-neutral-black, #121212);outline:0}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__add-product{border-radius:4px}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__add-product img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cart_white.svg)}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__lower-action .mealz-product-card-planner__cta .mealz-product-card-planner__checkbox input{border-radius:4px}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__lower-action .mealz-product-card-planner__cta .mealz-counter{border:1px solid var(--mealz-color-neutral-black, #121212);border-radius:4px}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__lower-action .mealz-product-card-planner__cta .mealz-counter .mealz-ds-button{background:unset;border:unset}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__lower-action .mealz-product-card-planner__cta .mealz-counter .mealz-ds-button:hover{background:unset}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__lower-action .mealz-product-card-planner__cta .mealz-counter .mealz-counter__minus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/minus-black.svg)}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__lower-action .mealz-product-card-planner__cta .mealz-counter .mealz-counter__plus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/plus-black.svg)}:root .mealz-product-card-planner .mealz-product-card-planner__content .mealz-product-card-planner__footer__actions .mealz-product-card-planner__ignore-product{font-weight:700}:root .mealz-replace-item .mealz-replace-item__header .mealz-replace-item__back-button{background:unset}:root .mealz-replace-item .mealz-replace-item__product-list .mealz-replace-item-card .mealz-replace-item-card__upper-section .mealz-replace-item-card__info .mealz-product-badges .mealz-ds-badge.outline{background-color:var(--mealz-ds-color-neutral-white, #ffffff);outline:0;border:1px solid var(--mealz-ds-color-neutral-black, #121212)}:root .mealz-replace-item .mealz-replace-item__product-list .mealz-replace-item-card .mealz-replace-item-card__upper-section .mealz-replace-item-card__info .mealz-product-badges .mealz-product-badges__details{opacity:70%}:root .mealz-replace-item .mealz-replace-item__product-list .mealz-replace-item__error .mealz-replace-item__error-image-container img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/images/product_issue.svg)}:root .mealz-replace-item-planner .mealz-replace-item-planner__header .mealz-replace-item-planner__back-button{background:unset}:root .mealz-replace-item-planner .mealz-replace-item-planner__product-list .mealz-replace-item-card-planner .mealz-replace-item-card-planner__upper-section .mealz-replace-item-card-planner__info .mealz-product-badges .mealz-ds-badge.outline{background-color:var(--mealz-ds-color-neutral-white, #ffffff);outline:0;border:1px solid var(--mealz-ds-color-neutral-black, #121212)}:root .mealz-replace-item-planner .mealz-replace-item-planner__product-list .mealz-replace-item-planner__error .mealz-replace-item-planner__error-image-container img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/images/product_issue.svg)}:root .mealz-planner-entry__content .mealz-planner-entry__header .mealz-planner-entry__header-left .mealz-planner-entry__stepper{border:1px solid var(--mealz-ds-color-content-default, #1f2a2e);border-radius:4px}:root .mealz-planner-entry__content .mealz-planner-entry__header .mealz-planner-entry__header-left .mealz-planner-entry__stepper .mealz-planner-entry__stepper-button{background:none;border:none}:root .mealz-planner-entry__content .mealz-planner-entry__header .mealz-planner-entry__header-left .mealz-planner-entry__stepper .mealz-planner-entry__stepper-button.mealz-planner-entry__stepper-button--plus img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/plus-black.svg)}:root .mealz-planner-entry__content .mealz-planner-entry__banner{border-radius:0}:root .mealz-planner-entry__content .mealz-planner-entry__banner .mealz-planner-entry__options .mealz-planner-menu-option .mealz-planner-menu-option__container img.mealz-planner-menu-option__redirect{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/arrow-right_primary.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__menu-header .mealz-planner-current-menu__menu-header-actions .mealz-planner-current-menu__mobile-onboarding-button img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/help_black.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__menu-header .mealz-planner-current-menu__menu-header-actions .mealz-planner-current-menu__onboarding-button img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/help_black.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__menu-header .mealz-planner-current-menu__menu-header-actions .mealz-planner-current-menu__mobile-preferences-button{border:1px solid var(--mealz-color-neutral-black, #121212)}:root .mealz-planner-current-menu .mealz-planner-current-menu__menu-header .mealz-planner-current-menu__menu-header-actions .mealz-planner-current-menu__mobile-preferences-button img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/settings_black.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__menu-header .mealz-planner-current-menu__menu-header-actions .mealz-planner-current-menu__menu-header-preferences:not(.ghost):not(.hidden){border:1px solid var(--mealz-color-neutral-black, #121212);background:inherit}:root .mealz-planner-current-menu .mealz-planner-current-menu__menu-header .mealz-planner-current-menu__menu-header-actions .mealz-planner-current-menu__menu-header-preferences:not(.ghost):not(.hidden) img{width:24px;height:24px;content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/settings_black.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__menu-header .mealz-planner-current-menu__menu-header-actions .mealz-planner-current-menu__menu-header-preferences:not(.ghost):not(.hidden) .mealz-catalog-toolbar__controls__preferences-label{font-size:16px}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__recipe .mealz-planner-recipe-suggestion__badge{border-radius:4px;background:#effafe}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__recipe .mealz-planner-recipe-suggestion__badge img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/lightbulb_primary.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__recipe .mealz-planner-recipe-suggestion__badge .mealz-ds-text.weight-m{font-weight:500}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-recipe-suggestion{border-radius:0}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-recipe-suggestion .mealz-planner-recipe-suggestion__picture{border-radius:0}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-recipe-suggestion .mealz-planner-recipe-suggestion__picture img{border-radius:0}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-recipe-suggestion__content .mealz-planner-recipe-suggestion__actions .mealz-planner-recipe-suggestion__actions-add-and-swap .mealz-planner-recipe-suggestion__actions-swap-button img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/swap_black.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-recipe-suggestion__content .mealz-planner-recipe-suggestion__actions .mealz-planner-recipe-suggestion__actions-add-and-swap .mealz-planner-recipe-suggestion__actions-swap-button{border:1px solid var(--mealz-color-neutral-black, #121212);color:var(--mealz-color-neutral-black, #121212)}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-recipe-suggestion__content .mealz-planner-recipe-suggestion__actions .mealz-planner-recipe-suggestion__actions-add-and-swap .mealz-planner-recipe-suggestion__actions-swap-button:hover{background:inherit;color:inherit}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__menu .mealz-planner-current-menu__menu-content .mealz-planner-current-menu__menu-top .mealz-planner-current-menu__menu-recipes .mealz-planner-recipe-list .mealz-planner-recipe-list__header .mealz-planner-recipe-list__suggestions-button img{margin-right:4px;content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/lightbulb_primary.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__menu .mealz-planner-current-menu__menu-content .mealz-planner-current-menu__menu-top .mealz-planner-current-menu__menu-recipes .mealz-planner-recipe-list .mealz-planner-recipe-list__grid .mealz-planner-recipe-list__add-to-menu img{height:24px;width:24px;content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/plus_primary.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__menu .mealz-planner-current-menu__menu-content .mealz-planner-current-menu__menu-top .mealz-planner-current-menu__menu-recipes .mealz-planner-recipe-list .mealz-planner-recipe-list__grid>*{border-radius:0}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__menu .mealz-planner-current-menu__menu-content .mealz-planner-current-menu__menu-top .mealz-planner-current-menu__menu-recipes .mealz-planner-recipe-list .mealz-planner-recipe-list__grid .mealz-planner-recipe-list__in-menu .mealz-planner-recipe-card .mealz-planner-recipe-card__picture{border-radius:0}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__menu .mealz-planner-current-menu__menu-content .mealz-planner-current-menu__menu-top .mealz-planner-current-menu__menu-recipes .mealz-planner-recipe-list .mealz-planner-recipe-list__grid .mealz-planner-recipe-list__in-menu .mealz-planner-recipe-card .mealz-planner-recipe-card__picture .mealz-planner-recipe-card__picture-overlay{border-radius:0}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__menu .mealz-planner-current-menu__menu-content .mealz-planner-current-menu__menu-top .mealz-planner-current-menu__menu-recipes .mealz-planner-recipe-list .mealz-planner-recipe-list__grid .mealz-planner-recipe-list__in-menu .mealz-planner-recipe-card .mealz-planner-recipe-card__content .mealz-planner-recipe-card__badges-and-actions .mealz-planner-recipe-card__remove-button{border-radius:4px;background:var(--mealz-color-primary, #0970e6)}:root .mealz-planner-current-menu .mealz-planner-current-menu__content .mealz-planner-current-menu__menu .mealz-planner-current-menu__menu-content .mealz-planner-current-menu__menu-top .mealz-planner-current-menu__menu-recipes .mealz-planner-recipe-list .mealz-planner-recipe-list__grid .mealz-planner-recipe-list__in-menu .mealz-planner-recipe-card .mealz-planner-recipe-card__content .mealz-planner-recipe-card__badges-and-actions .mealz-planner-recipe-card__remove-button img{content:url(https://storage.googleapis.com/assets.miam.tech/carrefour-be/icons/cross_white.svg)}:root .mealz-planner-current-menu .mealz-planner-current-menu__footer .mealz-planner-current-menu__footer-primary .mealz-planner-budget-gauge .mealz-planner-budget-gauge__budget-define{border:1px solid var(--mealz-color-neutral-black, #121212);background:inherit}:root .mealz-planner-current-menu .mealz-planner-current-menu__footer .mealz-planner-current-menu__footer-primary .mealz-planner-budget-gauge .mealz-planner-budget-gauge__budget-define:hover{background:inherit;color:inherit}:root .mealz-planner-current-menu .mealz-planner-current-menu__footer .mealz-planner-current-menu__footer-primary .mealz-planner-current-menu__footer-button img{display:none}:root .mealz-planner-current-menu .mealz-planner-current-menu__footer .mealz-planner-current-menu__footer-quick-menu .mealz-planner-quick-menu__recipes .mealz-planner-quick-menu__thumb{border-radius:0}:root .mealz-drawer.with-header .mealz-drawer__header .mealz-drawer__header-container .mealz-drawer__close-icon{background:unset}:root .mealz-drawer.with-header .mealz-drawer__header .mealz-drawer__header-container .mealz-drawer__close-icon img{height:24px;width:24px}.miam-no-scroll{overflow:hidden!important}:root{--mealz-color-primary: #0970e6;--mealz-color-primary-hover: #0863cc;--mealz-color-primary-900: #121212;--mealz-color-primary-100: #f7f7f7;--mealz-color-neutral-black: #121212;--mealz-color-neutral-200: #f7f7f7;--mealz-ds-color-neutral-50: #F3F6F6;--mealz-color-secondary-text: #575757;--mealz-color-border: #d9d9d9;--mealz-color-background-primary-hover: #f7f7f7;--miam-color-primary: var(--mealz-color-primary);--miam-color-primary-hover: var(--mealz-color-primary-hover);--miam-color-primary-900: var(--mealz-color-primary-900);--miam-color-primary-100: var(--mealz-color-primary-100);--miam-color-neutral-black: var(--mealz-color-neutral-black);--miam-color-neutral-200: var(--mealz-color-neutral-200);--miam-color-secondary-text: var(--mealz-color-secondary-text);--miam-color-border: var(--mealz-color-border);--miam-color-background-primary-hover: var(--mealz-color-background-primary-hover)}:root .mealz-ds-text{font-family:Ubuntu,BlinkMacSystemFont,Open Sans,sans-serif}:root .mealz-ds-text img{margin:unset}:root .mealz-ds-button{transition:background-color .3s,border-color .3s,color .3s;border-radius:4px}:root .mealz-ds-button img{margin:unset}:root .mealz-recipe-to-basket{display:flex;flex-direction:column;padding:16px;border:1px solid var(--mealz-color-border, #d9d9d9);border-radius:4px}:root .mealz-recipe-to-basket .mealz-counter{justify-content:space-between;padding:0}:root .mealz-recipe-to-basket .mealz-counter:before{content:"Ingrédients pour";font-family:Ubuntu,BlinkMacSystemFont,Open Sans,sans-serif;font-size:20px;line-height:28px;font-weight:400;display:block;color:var(--mealz-color-neutral-black, #121212)}:root .mealz-recipe-to-basket .mealz-counter .mealz-counter__counter{border-radius:4px;border:1px solid var(--mealz-color-neutral-black, #121212);gap:0;align-items:center;justify-content:center}:root .mealz-recipe-to-basket .mealz-counter .mealz-counter__counter .mealz-counter__minus img{width:24px;height:24px;content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/minus-black.svg)}:root .mealz-recipe-to-basket .mealz-counter .mealz-counter__counter .mealz-counter__value-container{width:initial}:root .mealz-recipe-to-basket .mealz-counter .mealz-counter__counter .mealz-counter__value-container .mealz-counter__value-text{font-weight:700}:root .mealz-recipe-to-basket .mealz-counter .mealz-counter__counter .mealz-counter__value-container .mealz-counter__value-text:after{content:" personnes"}:root .mealz-recipe-to-basket .mealz-counter .mealz-counter__counter .mealz-counter__plus img{width:24px;height:24px;content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/plus-neutral-black.svg)}:root .mealz-recipe-to-basket .mealz-products-to-basket-cta>img{display:none}:root .mealz-recipe-to-basket .mealz-products-to-basket-cta .mealz-products-to-basket__add-to-basket-cta__text:after{content:"";width:20px;height:20px;background-image:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/CartPlus.svg);background-repeat:no-repeat;background-position:center;background-size:contain}:root .mealz-recipe-to-basket .mealz-products-picker{padding:0}:root .mealz-recipe-to-basket .mealz-products-picker .mealz-products-picker__header{display:none}:root .mealz-recipe-to-basket .mealz-products-picker .mealz-products-picker__list{grid-template-columns:repeat(auto-fill,minmax(261px,1fr))}')),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
2
2
  import{g as e,a as t,b as n,f as r,c as o,w as i,o as a}from"./mealz-injector-ssr-utils.js";import{e as s}from"./mealz-injector-environment.js";const c="_mealz/cabe/retailer-cart-empty",l=[".minicart-quantity",".js-minicart-quantity",".minicart-icon .badge strong"];let u=!1,f=null,d=null,m=null,g=!0;function b(e){if("number"==typeof e&&Number.isFinite(e))return`€${e.toFixed(2).replace(".",",")}`;if("string"!=typeof e||!e.trim())return"€0,00";const t=e.trim(),n=t.match(/^([\d\s]+,\d{2})\s*€$/);if(n)return`€${n[1].replace(/\s/g,"")}`;if(t.startsWith("€"))return t;const r=Number.parseFloat(t.replace(/[^\d,.-]/g,"").replace(",","."));return Number.isFinite(r)?`€${r.toFixed(2).replace(".",",")}`:"€0,00"}function p(e){const t=String(e.numItems),n=`${b(e.totalPrice.subTotalFormatted).replace(/^€\s*/,"").trim()} €`;for(const r of l)document.querySelectorAll(r).forEach(e=>{e.textContent=t});document.querySelectorAll(".minicart-price").forEach(e=>{e.textContent=n})}function y(e){if(null==e)return null;const t=String(e).trim();return""===t?"0":t}function h(e){const t=e?.numItems;if("number"==typeof t&&Number.isFinite(t))return t;if("string"==typeof t&&""!==t.trim()){const e=Number.parseInt(t.trim(),10);if(Number.isFinite(e))return e}const n=e?.items;if(!Array.isArray(n))return;let r=0;for(const o of n){const e=o?.quantity;"number"==typeof e&&Number.isFinite(e)&&(r+=e)}return r}function T(e){return 0===h(e)||Array.isArray(e?.items)&&0===e.items.length}function w(){for(const e of l){const t=document.querySelector(e);if(!t)continue;const n=y(t.textContent);if(null!=n)return n}return null}function v(e){const t=function(e){const t=Array.isArray(e?.items)?e.items:[];let n=0,r=0;for(const a of t){const e=a?.quantity,t="number"==typeof e&&Number.isFinite(e)?e:0;n+=t;const o=a?.price;"number"==typeof o&&Number.isFinite(o)&&(r+=o*t)}const o=e?.subTotalFormatted,i=b(null!=o&&""!==String(o).trim()?o:r);return{numItems:n,items:t.map(e=>({id:e?.id,quantity:e?.quantity??0,name:e?.name,price:e?.price})),totalPrice:{subTotalFormatted:i},totals:{subTotalFormatted:i}}}(e);u=!0,m=String(t.numItems);const n=globalThis.window?.jQuery||globalThis.window?.$;if(n&&"function"==typeof n.fn?.trigger)try{n("body").trigger("cart:update",t)}catch(r){console.warn("[Carrefour-BE] cart:update handler failed",r)}else console.warn("[Carrefour-BE] jQuery missing; skip cart:update");p(t)}function _(e){e?.detail&&v(e.detail)}function C(){try{localStorage.setItem(c,"1")}catch{}}function E(){try{return"1"===localStorage.getItem(c)}catch{return!1}}function S(){A({numItems:0,retailerCartEmpty:!0})}function z(){return Boolean(document.querySelector("mealz-recipe-to-basket-v2"))}function k(e=0){if(!E())return;if(!z())return void(e<48&&globalThis.setTimeout(()=>k(e+1),250));const t=globalThis.customElements?.whenDefined?.("mealz-recipe-to-basket-v2");(t?t.then(()=>{}):Promise.resolve()).then(()=>{globalThis.requestAnimationFrame(()=>{E()&&z()&&A({numItems:0,retailerCartEmpty:!0})})})}function B(){globalThis.setTimeout(()=>k(0),0)}function A(e={}){const t=function(e={}){const t=w(),n=null!=t?Number.parseInt(t,10):Number.NaN,r=Number.isFinite(n)?n:void 0,o="number"==typeof e.numItems?e.numItems:r,i=!0===e.retailerCartEmpty||0===o||"0"===t;return{...e,...void 0!==o?{numItems:o}:{},...i?{retailerCartEmpty:!0}:{}}}(e);t.retailerCartEmpty&&C(),document.dispatchEvent(new CustomEvent("mealz:retailer-cart-changed",{detail:t}))}function I(e={}){null!=f&&clearTimeout(f),f=setTimeout(()=>{f=null,A(e)},80)}function x(){if(u)return u=!1,void(m=w());const e=w();if(null!=e){if(e===m)return;return m=e,void I({numItems:Number.parseInt(e,10),retailerCartEmpty:"0"===e})}null!=m&&"0"!==m&&(m="0",S())}function q(e=0){const t=document.querySelectorAll(".minicart-quantity, .js-minicart-quantity, .minicart-icon .badge");if(t.length){d&&d.disconnect(),d=new MutationObserver(x);for(const e of t)d.observe(e,{childList:!0,characterData:!0,subtree:!0});m=w()}else e<40&&globalThis.setTimeout(()=>q(e+1),250)}function j(e,t){if(u)return void(u=!1);const n=h(t);A({...void 0!==n?{numItems:n}:{},...T(t)?{retailerCartEmpty:!0}:{}})}function L(e){if(!e)return!1;if(Array.isArray(e))return"event"===e[0]&&"remove_from_cart"===e[1]&&"remove_all_cart"===e[2]?.event_action;if("object"==typeof e){const t=e.event??e[1],n=e.event_action??e.eventAction??e.event_action_name;return"remove_from_cart"===t&&("remove_all_cart"===n||"remove_all"===n)}return!1}function M(){globalThis.__mealzCabeTabSyncBound||(globalThis.__mealzCabeTabSyncBound=!0,globalThis.window?.addEventListener?.("storage",e=>{e.key===c&&"1"===e.newValue&&k(0)}),globalThis.document?.addEventListener?.("visibilitychange",()=>{"visible"===globalThis.document?.visibilityState&&(E()?k(0):z()&&I())}))}function N(e){return"string"==typeof e&&e.includes("Cart-Clear")&&!e.includes("Cart-ClearModal")}function F(e){T(e)&&S()}function H(){const e=globalThis.window?.jQuery||globalThis.window?.$;e&&"function"==typeof e.fn?.on&&(e("body").off("cart:update.mealzCabe"),e("body").on("cart:update.mealzCabe",j))}function $(){if(E())return k(0),void(g=!1);g?g=!1:I()}function D(){globalThis.__mealzCabeBasketSyncedBound||(globalThis.__mealzCabeBasketSyncedBound=!0,document.addEventListener("mealz:basket-synced",_,!0),window.addEventListener("pageshow",$),function(){if(globalThis.__mealzCabeCartClearNetworkBound)return;globalThis.__mealzCabeCartClearNetworkBound=!0;const e=globalThis.fetch;"function"==typeof e&&(globalThis.fetch=function(t,n){const r="string"==typeof t?t:t instanceof Request?t.url:t?.url??"",o=e.call(this,t,n);return N(r)?o.then(e=>e.ok?(e.clone().json().then(e=>F(e)).catch(()=>{}),e):e):o});const t=globalThis.window?.jQuery||globalThis.window?.$;t&&"function"==typeof t.fn?.on&&t(document).on("ajaxSuccess.mealzCabe",(e,t,n)=>{if(N(n?.url??""))try{F(JSON.parse(t.responseText))}catch{}})}(),globalThis.__mealzCabeEmptyCartClickBound||(globalThis.__mealzCabeEmptyCartClickBound=!0,document.addEventListener("click",e=>{const t=e.target;t instanceof Element&&t.closest("button.js-remove-all-products")&&C()},!0)),function(){if(globalThis.__mealzCabeDataLayerEmptyCartBound)return;globalThis.__mealzCabeDataLayerEmptyCartBound=!0;const e=globalThis.window?.dataLayer;if(!e||"function"!=typeof e.push)return;const t=e.push.bind(e);e.push=function(...e){const n=t(...e);for(const t of e)if(L(t)){S();break}return n}}(),M(),H(),globalThis.setTimeout(H,0),q(),B())}const G=/\/api\/v[12]\//;let O={token:"",expSec:0};function R(e){const t=String(e||"").replace(/^Bearer\s+/i,"").trim();if(!t)return!1;const n=globalThis.window?.mealz;if(!n||"object"!=typeof n)return!1;const r=function(e){try{const t=String(e).split(".");if(t.length<2)return 0;const n=t[1].replace(/-/g,"+").replace(/_/g,"/"),r=JSON.parse(globalThis.atob(n));return"number"==typeof r.exp?r.exp:0}catch{return 0}}(t);return O={token:t,expSec:r},n.accessToken=t,n.accessTokenExpiresAtSec=r,n.getAccessToken=()=>O.token,globalThis.window.dispatchEvent(new CustomEvent("mealz-bridge-token-ready")),!0}function P(){O={token:"",expSec:0};const e=globalThis.window?.mealz;e&&"object"==typeof e&&(e.accessToken="",e.accessTokenExpiresAtSec=0,e.getAccessToken=()=>"")}function J(){return function(e=Math.floor(Date.now()/1e3)){const{token:t,expSec:n}=O;return!t||!n||e>=n}()?U():Promise.resolve(Boolean(O.token))}function U(){const e=globalThis.window?.gigya;return e?.accounts?.getJWT&&"function"==typeof e.hasSession?e.hasSession().then(t=>t?new Promise(t=>{e.accounts.getJWT({fields:"email,data.carrefour.personuid,data.carrefour.accountuid,data.loyalty.card",callback(e){const n=0===e?.errorCode?e?.id_token:void 0;if(!n)return P(),void t(!1);t(R(n))}})}):(P(),!1)):Promise.resolve(!1)}function W(e,t){const n=function(e){return"string"==typeof e?e:e instanceof URL?e.href:e&&"object"==typeof e&&"url"in e?String(e.url):""}(e);return!!G.test(n)&&Boolean(function(e){if(!e?.headers)return"";const t=new Headers(e.headers).get("Authorization")||"",n=/^Bearer\s+(.+)$/i.exec(t);return n?n[1].trim():""}(t))}function Q(e){const t=O.token,n=new Headers(e?.headers||{});return t&&n.set("Authorization",`Bearer ${t}`),{...e,headers:n}}function V(){globalThis.__mealzCabeGigyaBridgeTimer&&clearInterval(globalThis.__mealzCabeGigyaBridgeTimer);let e=0;const t=setInterval(()=>{e+=1;const n=null!=globalThis.window?.mealz,r=globalThis.window?.gigya?.accounts?.getJWT&&"function"==typeof globalThis.window.gigya.hasSession;n&&r?(!function(){if(globalThis.__mealzCabeGigyaAccountHandlers)return;const e=globalThis.window?.gigya;e?.accounts?.addEventHandlers&&(e.accounts.addEventHandlers({onLogin(){U()},onLogout(){P()}}),globalThis.__mealzCabeGigyaAccountHandlers=!0)}(),U().then(n=>{n&&console.info("[Carrefour-BE] Gigya JWT bridge installed on window.mealz"),(n||e>=80)&&(clearInterval(t),globalThis.__mealzCabeGigyaBridgeTimer=null)})):e>=80&&(clearInterval(t),globalThis.__mealzCabeGigyaBridgeTimer=null)},250);globalThis.__mealzCabeGigyaBridgeTimer=t}const K=/([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/i,X=[".recipe-ingredients-placeholder",".recipe-ingredients"],Y={maxAttempts:120,intervalMs:250};function Z(e){const t=String(e);return t.replace(/^0+/,"")||t}function ee(e){const t=globalThis.window?.dataLayer;if(Array.isArray(t))for(let n=t.length-1;n>=0;n-=1){const r=t[n];if(r&&null!=r[e]&&""!==r[e])return r[e]}}function te(){for(const e of X){const t=document.querySelector(e);if(t)return t}return null}function ne(e){const t=e?.getAttribute?.("data-mealz-context");if(t)try{const e=JSON.parse(t),n=e?.["recipe-id"]??e?.recipe_id??e?.recipeId;return null!=n&&""!==n?String(n):void 0}catch{return}}function re(){const e=ne(te());if(e)return e;const t=document.querySelector("[data-recipe-id]")?.getAttribute("data-recipe-id");if(t)return t;const n=(globalThis.window?.location?.pathname||"").match(K);if(n?.[1])return n[1];const r=ee("recipe_id");return null!=r&&""!==r?String(r):void 0}function oe(e){const t="string"==typeof document?.cookie?document.cookie:"";if(!t)return;const n=t.split(";");for(const r of n){const t=r.trim();if(!t)continue;const n=t.indexOf("=");if(-1===n)continue;const o=t.substring(0,n).trim();if(e.test(o)){const e=t.substring(n+1);return decodeURIComponent(e)}}}function ie(e){return/Cart-Add|AddProduct/i.test(e)}function ae(e){for(const t of e){const e=t.getAttribute("href");if(e&&!ie(e)&&/cart/i.test(e))return e}return null}function se(){const e=ae(document.querySelectorAll(".minicart a[href], .mini-cart a[href]"))||ae(document.querySelectorAll("a[href*='cart'], a[href*='Cart']"))||(console.warn("[Carrefour-BE] cart URL not found on page"),null);if(!e)return;const t=()=>{const t=globalThis.window?.mealz?.router?.setRetailerCartUrl;return"function"==typeof t&&(t(e),!0)};if(t())return;let n=0;const r=setInterval(()=>{n+=1,(t()||n>=20)&&clearInterval(r)},250)}const ce={"use-basket-sync":"true"};function le(e){return"string"!=typeof e||""===e.trim()}function ue(e,t,n={}){const r={store_id:t,...n};return/^\d+$/.test(e)?r.recipe_id=e:r.recipe_ext_id=e,r}function fe(e,t){const n=r("/v3/styles/recipe-to-basket");(function(){const{maxAttempts:e,intervalMs:t}=Y;return new Promise(n=>{let r=0;const o=()=>{const i=te();return i?n(i):(r+=1,r>=e?n(null):void setTimeout(o,t))};o()})})().then(async r=>{if(!r)return void console.warn("[Carrefour-BE] recipe ingredients hook not found (.recipe-ingredients-placeholder or .recipe-ingredients)");const i=ne(r)||re();if(i)try{await n;const a=ue(i,t),s=await o({route:"/v3/recipe-to-basket",query:a,headers:e});if(le(s))return void console.warn("[Carrefour-BE] Empty SSR HTML, leaving retailer DOM");r.replaceWith(document.createRange().createContextualFragment(s)),V(),B()}catch(a){console.error("[Carrefour-BE] Injection failed",a)}else console.warn("[Carrefour-BE] recipe_id not found, leaving retailer DOM")})}"undefined"!=typeof globalThis&&globalThis.window&&(globalThis.__mealzCarrefourBeInitialized||(globalThis.__mealzCarrefourBeInitialized=!0,function(){if(globalThis.__mealzCabeMiamFetchGuard)return;const e=globalThis.fetch.bind(globalThis);globalThis.fetch=async(t,n)=>{const r=n?{...n}:{};if(!W(t,r))return e(t,n);await J();let o=await e(t,Q(r));return 401===o.status&&(await U()&&(o=await e(t,Q(r))),401===o.status&&P()),o},globalThis.__mealzCabeMiamFetchGuard=!0}(),D(),V(),a(async()=>{try{const a=await async function(){const r=t(),o=e("_miam/supplierToken")||s?.carrefour_be?.token||"",i=oe(/^dwcustomer_/),a=oe(/^dwanonymous_/);return n(i||a?{defaultLanguage:"fr",supplierToken:o,userId:i||a,sessionId:r,extraHeaders:ce}:{language:e("_miam/lang")||"fr",supplierToken:o,sessionId:r,cookiesConsent:!1,extraHeaders:ce,baseUrl:s?.ssr?.baseUrl})}(),c=function(){const t=ee("store_id");if(null!=t&&""!==t)return Z(t);const n=e("_miam/posId");return n?Z(n):(globalThis.window?.location?.hostname||"").includes("development.carrefour.be")?"1":"678"}();await r("/v3/styles/base"),se(),fe(a,c),function(){const e=globalThis.window?.location?.pathname||"";return/\/recettes\//i.test(e)||K.test(e)}()||(function(e,t){i(".product-grid",{maxAttempts:20,intervalMs:250}).then(async n=>{if(!n)return void console.warn("[Carrefour-BE] .product-grid not found");const i=re();if(i)try{await r("/v3/styles/recipe-card?variant=2");const a=ue(i,t,{variant:"2"}),s=await o({route:"/v3/recipe-card",query:a,headers:e});if(le(s))return void console.warn("[Carrefour-BE] Empty SSR HTML, leaving retailer DOM");n.insertAdjacentHTML("afterbegin",s)}catch(a){console.error("[Carrefour-BE] Injection failed",a)}else console.warn("[Carrefour-BE] recipe_id not found, skipping recipe card")})}(a,c),function(e,t){i(".main-container",{maxAttempts:20,intervalMs:250}).then(async n=>{if(n){if(!document.querySelector("mealz-planner-entry")&&!document.querySelector("mealz-planner-current-menu"))try{await r("/v3/styles/planner/planner-current-menu"),await r("/v3/styles/planner/planner-entry");const i=await o({route:"/v3/planner/current-menu",query:{store_id:t},headers:e}),a=await o({route:"/v3/planner/entry",query:{store_id:t},headers:e});if(le(i))return void console.warn("[Carrefour-BE] Empty planner current-menu SSR HTML, leaving retailer DOM");if(le(a))return void console.warn("[Carrefour-BE] Empty planner entry SSR HTML, leaving retailer DOM");n.insertAdjacentHTML("afterbegin",`${i}${a}`)}catch(i){console.error("[Carrefour-BE] Injection failed",i)}}else console.warn("[Carrefour-BE] .main-container not found")})}(a,c))}catch(a){console.error("[Carrefour-BE] Init failed",a)}})));
3
3
  //# sourceMappingURL=mealz-injector-carrefour-be.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mealz-injector",
3
- "version": "2.1.0-beta.1",
3
+ "version": "2.1.0-beta.2",
4
4
  "author": "Miam",
5
5
  "repository": {
6
6
  "type": "git"