{"id":8317,"date":"2026-10-01T12:54:20","date_gmt":"2026-10-01T10:54:20","guid":{"rendered":"https:\/\/delidej.com\/?page_id=8317"},"modified":"2026-10-02T19:53:25","modified_gmt":"2026-10-02T17:53:25","slug":"feedback-repas","status":"publish","type":"page","link":"https:\/\/delidej.com\/fr\/feedback-repas\/","title":{"rendered":"Feedback repas"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"8317\" class=\"elementor elementor-8317\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4427ee96 e-flex e-con-boxed e-con e-parent\" data-id=\"4427ee96\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-12ae6921 elementor-widget elementor-widget-text-editor\" data-id=\"12ae6921\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t\n<p class=\"wp-block-paragraph\"><code><\/code><\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-5d67ddd e-con e-atomic-element e-flexbox-base e-default-div e-df0daff \" data-id=\"5d67ddd\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"5d67ddd\" data-e-type=\"e-flexbox\" data-id=\"5d67ddd\">\n    \t\t\t<img decoding=\"async\" class=\"e-image-base e-default-img e-ca85c96-77d1ba9\" data-interaction-id=\"ca85c96\" data-e-type=\"widget\" data-id=\"ca85c96\" id=\"60\" src=\"https:\/\/delidej.com\/app\/uploads\/2025\/07\/delidej-logo.png?wsr\" width=\"140\" height=\"128\" srcset=\"\" alt=\"\"\/>\t\t\t\t<div class=\"elementor-element elementor-element-50871d9 elementor-widget__width-initial elementor-widget-mobile__width-initial elementor-widget elementor-widget-heading\" data-id=\"50871d9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Lunch Feedback<\/h2>\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-3b8c504 e-con e-atomic-element e-flexbox-base e-default-div e-7b7befd \" data-id=\"3b8c504\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"3b8c504\" data-e-type=\"e-flexbox\" data-id=\"3b8c504\">\n    \t\t<div class=\"elementor-element elementor-element-1a0b595 elementor-widget-mobile__width-auto elementor-widget elementor-widget-trp_language_switcher\" data-id=\"1a0b595\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"trp_language_switcher.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"trp-elementor-language-switcher\"><div class=\"trp-shortcode-switcher__wrapper\"\r\n     style=\"--bg:#ffffff00;--bg-hover:#0000000d;--text:#143852;--text-hover:#1d2327;--border:none;--border-width:0px;--border-color:#1438521a;--border-radius:0px;--flag-radius:2px;--flag-size:18px;--aspect-ratio:4\/3;--font-size:14px;--transition-duration:0.2s\"\r\n     role=\"group\"\r\n     data-open-mode=\"click\">\r\n\r\n    \r\n        <!-- ANCHOR (in-flow only; sizing\/borders; inert) -->\r\n        <div class=\"trp-language-switcher trp-ls-dropdown trp-shortcode-switcher trp-shortcode-anchor trp-open-on-click\"\r\n             aria-hidden=\"true\"\r\n             inert\r\n             data-no-translation>\r\n                <div class=\"trp-current-language-item__wrapper\">\r\n        <a class=\"trp-language-item trp-language-item__default trp-language-item__current\" data-no-translation href=\"https:\/\/delidej.com\/fr\/wp-json\/wp\/v2\/pages\/8317#TRPLINKPROCESSED\" title=\"FR\"><img decoding=\"async\" src=\"https:\/\/delidej.com\/app\/plugins\/translatepress-multilingual\/assets\/flags\/4x3\/fr_FR.svg\" class=\"trp-flag-image\" alt=\"\" role=\"presentation\" loading=\"lazy\" \/><span class=\"trp-language-item-name\">FR<\/span><\/a>                    <svg class=\"trp-shortcode-arrow\" width=\"20\" height=\"20\" viewBox=\"0 0 20 21\" fill=\"none\" aria-hidden=\"true\" focusable=\"false\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\r\n                <path d=\"M5 8L10 13L15 8\" stroke=\"var(--text)\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/>\r\n            <\/svg>\r\n            <\/div>\r\n            <\/div>\r\n\r\n        <!-- OVERLAY (positioned; interactive surface) -->\r\n        <div class=\"trp-language-switcher trp-ls-dropdown trp-shortcode-switcher trp-shortcode-overlay trp-open-on-click\"\r\n             role=\"navigation\"\r\n             aria-label=\"S\u00e9lecteur de langue du site web\"\r\n             data-no-translation\r\n        >\r\n                <div class=\"trp-current-language-item__wrapper\">\r\n        <div class=\"trp-language-item trp-language-item__default trp-language-item__current\" data-no-translation role=\"button\" aria-expanded=\"false\" tabindex=\"0\" aria-label=\"Changer de langue\" aria-controls=\"trp-shortcode-dropdown-6adaf4b606d28\"><img decoding=\"async\" src=\"https:\/\/delidej.com\/app\/plugins\/translatepress-multilingual\/assets\/flags\/4x3\/fr_FR.svg\" class=\"trp-flag-image\" alt=\"\" role=\"presentation\" loading=\"lazy\" \/><span class=\"trp-language-item-name\">FR<\/span><\/div>                    <svg class=\"trp-shortcode-arrow\" width=\"20\" height=\"20\" viewBox=\"0 0 20 21\" fill=\"none\" aria-hidden=\"true\" focusable=\"false\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\r\n                <path d=\"M5 8L10 13L15 8\" stroke=\"var(--text)\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/>\r\n            <\/svg>\r\n            <\/div>\r\n    \r\n            <div class=\"trp-switcher-dropdown-list\"\r\n                 id=\"trp-shortcode-dropdown-6adaf4b606d28\"\r\n                 role=\"group\"\r\n                 aria-label=\"Langues disponibles\"\r\n                 hidden\r\n                 inert\r\n            >\r\n                                                            <a class=\"trp-language-item\" href=\"https:\/\/delidej.com\/fr\/wp-json\/wp\/v2\/pages\/8317#TRPLINKPROCESSED\" title=\"EN\">\r\n                            <img decoding=\"async\" src=\"https:\/\/delidej.com\/app\/plugins\/translatepress-multilingual\/assets\/flags\/4x3\/en_GB.svg\" class=\"trp-flag-image\" alt=\"\" role=\"presentation\" loading=\"lazy\" \/>                                                            <span class=\"trp-language-item-name\" data-no-translation>EN<\/span>\r\n                                                                                <\/a>\r\n                                                <\/div>\r\n        <\/div>\r\n\r\n    <\/div>\r\n<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\n<\/div>\n\n<\/div>\n<div class=\"elementor-element elementor-element-b2a7d39 e-flex e-con-boxed e-con e-parent\" data-id=\"b2a7d39\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b81dd3e elementor-widget elementor-widget-html\" data-id=\"b81dd3e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div id=\"dd-feedback-wrap\">\n\n  <!-- UNAUTHORIZED -->\n  <div id=\"dd-unauthorized\" style=\"display:none;\">\n    <div class=\"dd-access-card\">\n\n      <img decoding=\"async\"\n        src=\"https:\/\/delidej.com\/app\/uploads\/2025\/07\/delidej-logo.png\"\n        alt=\"DeliDej\"\n        class=\"dd-logo-large\"\n      >\n\n      <div id=\"dd-access-title\" class=\"dd-access-title\"><\/div>\n      <div id=\"dd-access-text\" class=\"dd-access-text\"><\/div>\n\n    <\/div>\n  <\/div>\n\n\n  <!-- APP -->\n  <div id=\"dd-feedback-app\" style=\"display:none;\">\n\n    <div id=\"dd-site\" class=\"dd-site\"><\/div>\n    <div id=\"dd-date\" class=\"dd-date\"><\/div>\n\n\n    <!-- MODE -->\n\n    <div class=\"dd-mode-grid\">\n\n      <button\n        type=\"button\"\n        id=\"dd-mode-meal\"\n        class=\"dd-mode dd-mode-active\"\n      ><\/button>\n\n      <button\n        type=\"button\"\n        id=\"dd-mode-waste\"\n        class=\"dd-mode\"\n      ><\/button>\n\n    <\/div>\n\n\n    <!-- MENU -->\n\n    <div class=\"dd-menu-card\">\n\n      <div\n        id=\"dd-menu-title\"\n        class=\"dd-menu-title\"\n      ><\/div>\n\n      <div class=\"dd-menu-line\">\n        <strong id=\"dd-label-standard\"><\/strong>\n        <span id=\"dd-menu-standard\"><\/span>\n      <\/div>\n\n      <div class=\"dd-menu-line\">\n        <strong id=\"dd-label-meatfree\"><\/strong>\n        <span id=\"dd-menu-meatfree\"><\/span>\n      <\/div>\n\n      <div class=\"dd-menu-line\">\n        <strong id=\"dd-label-dessert\"><\/strong>\n        <span id=\"dd-menu-dessert\"><\/span>\n      <\/div>\n\n    <\/div>\n\n\n    <!-- ============================== -->\n    <!-- MEAL -->\n    <!-- ============================== -->\n\n    <div id=\"dd-meal-form\">\n\n      <div\n        id=\"dd-level-title\"\n        class=\"dd-section-title\"\n      ><\/div>\n\n      <div\n        id=\"dd-levels\"\n        class=\"dd-button-grid\"\n      ><\/div>\n\n\n      <!-- APPRECIATION -->\n\n      <div class=\"dd-card\">\n\n        <div\n          id=\"dd-question-appreciation\"\n          class=\"dd-question\"\n        ><\/div>\n\n        <div\n          class=\"dd-answer dd-answer-active\"\n          id=\"answer-appreciation\"\n        ><\/div>\n\n        <input\n          type=\"range\"\n          id=\"appreciation\"\n          min=\"1\"\n          max=\"5\"\n          step=\"1\"\n          value=\"5\"\n        >\n\n        <div class=\"dd-scale\">\n          <span id=\"dd-appreciation-min\"><\/span>\n          <span id=\"dd-appreciation-max\"><\/span>\n        <\/div>\n\n      <\/div>\n\n\n      <!-- QUANTITY -->\n\n      <div class=\"dd-card\">\n\n        <div\n          id=\"dd-question-quantity\"\n          class=\"dd-question\"\n        ><\/div>\n\n        <div\n          class=\"dd-answer dd-answer-active\"\n          id=\"answer-quantity\"\n        ><\/div>\n\n        <input\n          type=\"range\"\n          id=\"quantity\"\n          min=\"1\"\n          max=\"5\"\n          step=\"1\"\n          value=\"3\"\n        >\n\n        <div class=\"dd-scale dd-scale-three\">\n          <span id=\"dd-quantity-min\"><\/span>\n          <span id=\"dd-quantity-mid\"><\/span>\n          <span id=\"dd-quantity-max\"><\/span>\n        <\/div>\n\n      <\/div>\n\n\n      <!-- EASY TO EAT -->\n\n      <div class=\"dd-card\">\n\n        <div\n          id=\"dd-question-service\"\n          class=\"dd-question\"\n        ><\/div>\n\n        <div\n          class=\"dd-answer dd-answer-active\"\n          id=\"answer-service\"\n        ><\/div>\n\n        <input\n          type=\"range\"\n          id=\"service\"\n          min=\"1\"\n          max=\"5\"\n          step=\"1\"\n          value=\"5\"\n        >\n\n        <div class=\"dd-scale\">\n          <span id=\"dd-service-min\"><\/span>\n          <span id=\"dd-service-max\"><\/span>\n        <\/div>\n\n      <\/div>\n\n    <\/div>\n\n\n    <!-- ============================== -->\n    <!-- CLEAN UP \/ VIDAGE -->\n    <!-- ============================== -->\n\n    <div id=\"dd-waste-form\" style=\"display:none;\">\n\n      <div\n        id=\"dd-waste-intro\"\n        class=\"dd-waste-intro\"\n      ><\/div>\n\n\n      <!-- CARBS -->\n\n      <div class=\"dd-card\">\n\n        <div\n          id=\"dd-carbs-title\"\n          class=\"dd-question\"\n        ><\/div>\n\n        <div\n          id=\"dd-carbs-subtitle\"\n          class=\"dd-subquestion\"\n        ><\/div>\n\n        <div\n          class=\"dd-answer dd-answer-active\"\n          id=\"answer-waste_carbs\"\n        ><\/div>\n\n        <input\n          type=\"range\"\n          id=\"waste_carbs\"\n          min=\"1\"\n          max=\"5\"\n          step=\"1\"\n          value=\"3\"\n        >\n\n        <div class=\"dd-scale\">\n          <span id=\"dd-waste-min-1\"><\/span>\n          <span id=\"dd-waste-max-1\"><\/span>\n        <\/div>\n\n      <\/div>\n\n\n      <!-- PROTEIN -->\n\n      <div class=\"dd-card\">\n\n        <div\n          id=\"dd-protein-title\"\n          class=\"dd-question\"\n        ><\/div>\n\n        <div\n          id=\"dd-protein-subtitle\"\n          class=\"dd-subquestion\"\n        ><\/div>\n\n        <div\n          class=\"dd-answer dd-answer-active\"\n          id=\"answer-waste_protein\"\n        ><\/div>\n\n        <input\n          type=\"range\"\n          id=\"waste_protein\"\n          min=\"1\"\n          max=\"5\"\n          step=\"1\"\n          value=\"3\"\n        >\n\n        <div class=\"dd-scale\">\n          <span id=\"dd-waste-min-2\"><\/span>\n          <span id=\"dd-waste-max-2\"><\/span>\n        <\/div>\n\n      <\/div>\n\n\n      <!-- VEGETABLES -->\n\n      <div class=\"dd-card\">\n\n        <div\n          id=\"dd-vegetables-title\"\n          class=\"dd-question\"\n        ><\/div>\n\n        <div\n          class=\"dd-answer dd-answer-active\"\n          id=\"answer-waste_vegetables\"\n        ><\/div>\n\n        <input\n          type=\"range\"\n          id=\"waste_vegetables\"\n          min=\"1\"\n          max=\"5\"\n          step=\"1\"\n          value=\"3\"\n        >\n\n        <div class=\"dd-scale\">\n          <span id=\"dd-waste-min-3\"><\/span>\n          <span id=\"dd-waste-max-3\"><\/span>\n        <\/div>\n\n      <\/div>\n\n    <\/div>\n\n\n    <!-- INCIDENT -->\n\n    <button\n      id=\"dd-incident-button\"\n      type=\"button\"\n    ><\/button>\n\n    <div\n      id=\"dd-incident-zone\"\n      style=\"display:none;\"\n    >\n\n      <select id=\"incident_type\">\n\n        <option id=\"incident-empty\" value=\"\"><\/option>\n        <option id=\"incident-quantity\" value=\"quantite\"><\/option>\n        <option id=\"incident-temperature\" value=\"temperature\"><\/option>\n        <option id=\"incident-missing\" value=\"repas_manquant\"><\/option>\n        <option id=\"incident-quality\" value=\"qualite\"><\/option>\n        <option id=\"incident-organisation\" value=\"organisation\"><\/option>\n        <option id=\"incident-other\" value=\"autre\"><\/option>\n\n      <\/select>\n\n      <textarea\n        id=\"comment\"\n      ><\/textarea>\n\n    <\/div>\n\n\n    <!-- SUBMIT -->\n\n    <button\n      id=\"dd-submit\"\n      type=\"button\"\n      disabled\n    ><\/button>\n\n    <div id=\"dd-message\"><\/div>\n\n  <\/div>\n\n<\/div>\n\n\n<style>\n\n#dd-feedback-wrap {\n    max-width: 520px;\n    margin: 0 auto;\n    padding: 18px 10px 40px;\n    font-family: Arial, sans-serif;\n    color: #575755;\n}\n\n.dd-site {\n    margin-top: 6px;\n    color: #95c11f;\n    font-size: 18px;\n    font-weight: 700;\n    text-align: center;\n}\n\n.dd-date {\n    margin-top: 4px;\n    margin-bottom: 18px;\n    color: #777;\n    font-size: 14px;\n    text-align: center;\n}\n\n\n\/* MODE *\/\n\n.dd-mode-grid {\n    display: grid;\n    grid-template-columns: 1fr 1fr;\n    gap: 8px;\n    margin-bottom: 18px;\n}\n\n.dd-mode {\n    min-height: 48px;\n    padding: 10px;\n    border: 1px solid #ccc;\n    border-radius: 12px;\n    background: #fff;\n    color: #575755;\n    font-size: 15px;\n    font-weight: 700;\n    cursor: pointer;\n}\n\n.dd-mode.dd-mode-active {\n    background: #6f9417 !important;\n    border-color: #6f9417 !important;\n    color: #fff !important;\n}\n\n\n\/* MENU *\/\n\n.dd-menu-card {\n    background: #fdf9eb;\n    border-radius: 16px;\n    padding: 16px;\n    margin-bottom: 20px;\n}\n\n.dd-menu-title {\n    font-size: 17px;\n    font-weight: 700;\n    margin-bottom: 10px;\n}\n\n.dd-menu-line {\n    margin-bottom: 9px;\n    font-size: 14px;\n    line-height: 1.4;\n}\n\n.dd-menu-line strong {\n    display: block;\n    color: #95c11f;\n}\n\n\n\/* SECTION *\/\n\n.dd-section-title {\n    margin: 18px 0 10px;\n    font-size: 17px;\n    font-weight: 700;\n    text-align: center;\n}\n\n\n\/* LEVELS *\/\n\n.dd-button-grid {\n    display: grid;\n    grid-template-columns: repeat(3, 1fr);\n    gap: 8px;\n    margin-bottom: 18px;\n}\n\n.dd-choice {\n    min-height: 48px;\n    padding: 10px 8px;\n    border: 1px solid #ccc;\n    background: #fff;\n    color: #575755;\n    border-radius: 12px;\n    font-size: 15px;\n    font-weight: 600;\n    cursor: pointer;\n}\n\n\n\/* CARDS *\/\n\n.dd-card {\n    background: #fdf9eb;\n    border-radius: 18px;\n    padding: 17px 16px 14px;\n    margin-bottom: 13px;\n}\n\n.dd-question {\n    text-align: center;\n    font-size: 17px;\n    font-weight: 700;\n}\n\n.dd-subquestion {\n    margin-top: 3px;\n    text-align: center;\n    font-size: 12px;\n    color: #888;\n}\n\n.dd-answer {\n    min-height: 21px;\n    margin-top: 7px;\n    text-align: center;\n    color: #999;\n    font-size: 14px;\n    font-weight: 600;\n}\n\n.dd-answer.dd-answer-active {\n    color: #95c11f;\n}\n\n\n\/* SLIDERS *\/\n\n#dd-feedback-app input[type=\"range\"] {\n    width: 100%;\n    height: 42px;\n    margin: 9px 0 2px;\n    accent-color: #95c11f;\n}\n\n.dd-scale {\n    display: flex;\n    justify-content: space-between;\n    gap: 8px;\n    font-size: 11px;\n    color: #777;\n}\n\n.dd-scale span:last-child {\n    text-align: right;\n}\n\n.dd-scale-three span:nth-child(2) {\n    text-align: center;\n}\n\n\n\/* CLEAN UP *\/\n\n.dd-waste-intro {\n    margin: 4px 0 14px;\n    text-align: center;\n    font-size: 14px;\n    color: #777;\n}\n\n\n\/* INCIDENT *\/\n\n#dd-incident-button {\n    width: 100%;\n    padding: 13px;\n    margin: 1px 0 12px;\n    background: #fff;\n    color: #575755;\n    border: 1px solid #ddd;\n    border-radius: 13px;\n    font-size: 15px;\n}\n\n#dd-incident-zone select,\n#dd-incident-zone textarea {\n    width: 100%;\n    box-sizing: border-box;\n    padding: 13px;\n    margin-bottom: 9px;\n    border: 1px solid #ddd;\n    border-radius: 11px;\n    font-size: 16px;\n}\n\n#dd-incident-zone textarea {\n    min-height: 75px;\n}\n\n\n\/* SUBMIT *\/\n\n#dd-submit {\n    width: 100%;\n    padding: 18px;\n    border: 0;\n    border-radius: 15px;\n    background: #d5d5d5;\n    color: #fff;\n    font-size: 20px;\n    font-weight: 700;\n}\n\n#dd-submit:not(:disabled) {\n    background: #95c11f;\n    cursor: pointer;\n}\n\n\n\/* MESSAGE *\/\n\n#dd-message {\n    min-height: 30px;\n    margin-top: 17px;\n    text-align: center;\n    font-size: 17px;\n    font-weight: 700;\n}\n\n.dd-success {\n    color: #95c11f;\n}\n\n.dd-error {\n    color: #b00020;\n}\n\n\n\/* UNAUTHORIZED *\/\n\n.dd-access-card {\n    margin-top: 60px;\n    padding: 30px 20px;\n    background: #fdf9eb;\n    border-radius: 18px;\n    text-align: center;\n}\n\n.dd-logo-large {\n    width: 90px;\n    height: auto;\n    margin-bottom: 20px;\n}\n\n.dd-access-title {\n    font-size: 20px;\n    font-weight: 700;\n    margin-bottom: 8px;\n}\n\n.dd-access-text {\n    font-size: 15px;\n    line-height: 1.4;\n}\n\n\n\/* MOBILE *\/\n\n@media (max-width: 420px) {\n\n    .dd-button-grid {\n        grid-template-columns: repeat(2, 1fr);\n    }\n\n    .dd-mode {\n        font-size: 14px;\n        padding-left: 6px;\n        padding-right: 6px;\n    }\n\n}\n\n<\/style>\n\n\n<script>\n\n(function () {\n\n    function startDeliDejFeedback() {\n\n        const context = window.DELIDEJ_FEEDBACK;\n\n\n        \/*\n        |--------------------------------------------------------------------------\n        | LANGUAGE\n        |--------------------------------------------------------------------------\n        *\/\n\n        const isFrench =\n            window.location.pathname === '\/fr'\n            ||\n            window.location.pathname.indexOf('\/fr\/') === 0;\n\n        const lang =\n            isFrench ? 'fr' : 'en';\n\n\n        const T = {\n\n            en: {\n\n                unauthorizedTitle:\n                    'Unauthorized access',\n\n                unauthorizedText:\n                    'This phone is not registered for DeliDej feedback.',\n\n                mealMode:\n                    '\ud83c\udf7d\ufe0f Meal',\n\n                wasteMode:\n                    '\ud83e\uddfa Clean up',\n\n                todaysMeal:\n                    \"Today's meal\",\n\n                standard:\n                    'Standard',\n\n                meatFree:\n                    'Meat-free',\n\n                dessert:\n                    'Dessert',\n\n                level:\n                    'Which grade?',\n\n                childrenEnjoy:\n                    'Did the children enjoy it?',\n\n                appreciationDefault:\n                    'Really enjoyed',\n\n                appreciationMin:\n                    '\ud83d\ude15 Very little',\n\n                appreciationMax:\n                    '\ud83e\udd29 A lot',\n\n                quantity:\n                    'Quantity',\n\n                quantityDefault:\n                    'Right amount',\n\n                quantityMin:\n                    'Too little',\n\n                quantityMid:\n                    'Right amount',\n\n                quantityMax:\n                    'Too much',\n\n                easyEat:\n                    'Easy to eat?',\n\n                easyDefault:\n                    'Very easy',\n\n                easyMin:\n                    'Difficult',\n\n                easyMax:\n                    'Very easy',\n\n                wasteIntro:\n                    'Please indicate how much food is left in the lunchboxes.',\n\n                carbs:\n                    'Carbohydrates',\n\n                carbsSub:\n                    'pasta, rice, potatoes\u2026',\n\n                protein:\n                    'Protein',\n\n                proteinSub:\n                    'meat, fish, egg\u2026',\n\n                vegetables:\n                    'Vegetables',\n\n                wasteDefault:\n                    'Medium',\n\n                wasteMin:\n                    'Almost none left',\n\n                wasteMax:\n                    'A lot left',\n\n                report:\n                    '\u26a0\ufe0f Report a problem',\n\n                issue:\n                    'Select the issue',\n\n                issueQuantity:\n                    'Quantity',\n\n                temperature:\n                    'Temperature',\n\n                missingMeal:\n                    'Missing meal',\n\n                mealQuality:\n                    'Meal quality',\n\n                organisation:\n                    'Organisation \/ service',\n\n                other:\n                    'Other',\n\n                comment:\n                    'Optional comment',\n\n                submit:\n                    'Submit',\n\n                sending:\n                    'Sending\u2026',\n\n                saved:\n                    '\u2713 Thank you, feedback saved',\n\n                error:\n                    'Error while saving the feedback.',\n\n                networkError:\n                    'Network error.',\n\n                noLevel:\n                    'No grade configured for this school.',\n\n                notProvided:\n                    'Not provided',\n\n                locale:\n                    'en-GB'\n            },\n\n\n            fr: {\n\n                unauthorizedTitle:\n                    'Acc\u00e8s non autoris\u00e9',\n\n                unauthorizedText:\n                    'Ce t\u00e9l\u00e9phone n\u2019est pas enregistr\u00e9 pour le feedback DeliDej.',\n\n                mealMode:\n                    '\ud83c\udf7d\ufe0f Repas',\n\n                wasteMode:\n                    '\ud83e\uddfa Vidage',\n\n                todaysMeal:\n                    'Repas du jour',\n\n                standard:\n                    'Standard',\n\n                meatFree:\n                    'Sans viande',\n\n                dessert:\n                    'Dessert',\n\n                level:\n                    'Quel niveau ?',\n\n                childrenEnjoy:\n                    'Les enfants ont aim\u00e9 ?',\n\n                appreciationDefault:\n                    'Beaucoup appr\u00e9ci\u00e9',\n\n                appreciationMin:\n                    '\ud83d\ude15 Tr\u00e8s peu',\n\n                appreciationMax:\n                    '\ud83e\udd29 Beaucoup',\n\n                quantity:\n                    'La quantit\u00e9 ?',\n\n                quantityDefault:\n                    'Quantit\u00e9 adapt\u00e9e',\n\n                quantityMin:\n                    'Trop peu',\n\n                quantityMid:\n                    'Adapt\u00e9e',\n\n                quantityMax:\n                    'Trop',\n\n                easyEat:\n                    'Facile \u00e0 manger ?',\n\n                easyDefault:\n                    'Tr\u00e8s facile',\n\n                easyMin:\n                    'Difficile',\n\n                easyMax:\n                    'Tr\u00e8s facile',\n\n                wasteIntro:\n                    '\u00c9valuez la quantit\u00e9 de nourriture restant dans les lunchboxes.',\n\n                carbs:\n                    'Glucides',\n\n                carbsSub:\n                    'p\u00e2tes, riz, pommes de terre\u2026',\n\n                protein:\n                    'Prot\u00e9ines',\n\n                proteinSub:\n                    'viande, poisson, \u0153uf\u2026',\n\n                vegetables:\n                    'L\u00e9gumes',\n\n                wasteDefault:\n                    'Moyen',\n\n                wasteMin:\n                    'Presque rien',\n\n                wasteMax:\n                    'Beaucoup',\n\n                report:\n                    '\u26a0\ufe0f Signaler un probl\u00e8me',\n\n                issue:\n                    'Choisir le probl\u00e8me',\n\n                issueQuantity:\n                    'Quantit\u00e9',\n\n                temperature:\n                    'Temp\u00e9rature',\n\n                missingMeal:\n                    'Repas manquant',\n\n                mealQuality:\n                    'Qualit\u00e9 du repas',\n\n                organisation:\n                    'Organisation \/ service',\n\n                other:\n                    'Autre',\n\n                comment:\n                    'Commentaire facultatif',\n\n                submit:\n                    'Envoyer',\n\n                sending:\n                    'Envoi\u2026',\n\n                saved:\n                    '\u2713 Merci, feedback enregistr\u00e9',\n\n                error:\n                    'Erreur lors de l\u2019enregistrement.',\n\n                networkError:\n                    'Erreur r\u00e9seau.',\n\n                noLevel:\n                    'Aucun niveau configur\u00e9 pour cette \u00e9cole.',\n\n                notProvided:\n                    'Non renseign\u00e9',\n\n                locale:\n                    'fr-FR'\n            }\n        };\n\n\n        const tr =\n            T[lang];\n\n\n        \/*\n        |--------------------------------------------------------------------------\n        | STATIC TEXT\n        |--------------------------------------------------------------------------\n        *\/\n\n        document.getElementById(\n            'dd-access-title'\n        ).textContent =\n            tr.unauthorizedTitle;\n\n        document.getElementById(\n            'dd-access-text'\n        ).textContent =\n            tr.unauthorizedText;\n\n        document.getElementById(\n            'dd-mode-meal'\n        ).textContent =\n            tr.mealMode;\n\n        document.getElementById(\n            'dd-mode-waste'\n        ).textContent =\n            tr.wasteMode;\n\n        document.getElementById(\n            'dd-menu-title'\n        ).textContent =\n            tr.todaysMeal;\n\n        document.getElementById(\n            'dd-label-standard'\n        ).textContent =\n            tr.standard;\n\n        document.getElementById(\n            'dd-label-meatfree'\n        ).textContent =\n            tr.meatFree;\n\n        document.getElementById(\n            'dd-label-dessert'\n        ).textContent =\n            tr.dessert;\n\n        document.getElementById(\n            'dd-level-title'\n        ).textContent =\n            tr.level;\n\n        document.getElementById(\n            'dd-question-appreciation'\n        ).textContent =\n            tr.childrenEnjoy;\n\n        document.getElementById(\n            'answer-appreciation'\n        ).textContent =\n            tr.appreciationDefault;\n\n        document.getElementById(\n            'dd-appreciation-min'\n        ).textContent =\n            tr.appreciationMin;\n\n        document.getElementById(\n            'dd-appreciation-max'\n        ).textContent =\n            tr.appreciationMax;\n\n        document.getElementById(\n            'dd-question-quantity'\n        ).textContent =\n            tr.quantity;\n\n        document.getElementById(\n            'answer-quantity'\n        ).textContent =\n            tr.quantityDefault;\n\n        document.getElementById(\n            'dd-quantity-min'\n        ).textContent =\n            tr.quantityMin;\n\n        document.getElementById(\n            'dd-quantity-mid'\n        ).textContent =\n            tr.quantityMid;\n\n        document.getElementById(\n            'dd-quantity-max'\n        ).textContent =\n            tr.quantityMax;\n\n        document.getElementById(\n            'dd-question-service'\n        ).textContent =\n            tr.easyEat;\n\n        document.getElementById(\n            'answer-service'\n        ).textContent =\n            tr.easyDefault;\n\n        document.getElementById(\n            'dd-service-min'\n        ).textContent =\n            tr.easyMin;\n\n        document.getElementById(\n            'dd-service-max'\n        ).textContent =\n            tr.easyMax;\n\n        document.getElementById(\n            'dd-waste-intro'\n        ).textContent =\n            tr.wasteIntro;\n\n        document.getElementById(\n            'dd-carbs-title'\n        ).textContent =\n            tr.carbs;\n\n        document.getElementById(\n            'dd-carbs-subtitle'\n        ).textContent =\n            tr.carbsSub;\n\n        document.getElementById(\n            'dd-protein-title'\n        ).textContent =\n            tr.protein;\n\n        document.getElementById(\n            'dd-protein-subtitle'\n        ).textContent =\n            tr.proteinSub;\n\n        document.getElementById(\n            'dd-vegetables-title'\n        ).textContent =\n            tr.vegetables;\n\n        document.getElementById(\n            'answer-waste_carbs'\n        ).textContent =\n            tr.wasteDefault;\n\n        document.getElementById(\n            'answer-waste_protein'\n        ).textContent =\n            tr.wasteDefault;\n\n        document.getElementById(\n            'answer-waste_vegetables'\n        ).textContent =\n            tr.wasteDefault;\n\n        document.getElementById(\n            'dd-waste-min-1'\n        ).textContent =\n            tr.wasteMin;\n\n        document.getElementById(\n            'dd-waste-max-1'\n        ).textContent =\n            tr.wasteMax;\n\n        document.getElementById(\n            'dd-waste-min-2'\n        ).textContent =\n            tr.wasteMin;\n\n        document.getElementById(\n            'dd-waste-max-2'\n        ).textContent =\n            tr.wasteMax;\n\n        document.getElementById(\n            'dd-waste-min-3'\n        ).textContent =\n            tr.wasteMin;\n\n        document.getElementById(\n            'dd-waste-max-3'\n        ).textContent =\n            tr.wasteMax;\n\n        document.getElementById(\n            'dd-incident-button'\n        ).textContent =\n            tr.report;\n\n        document.getElementById(\n            'incident-empty'\n        ).textContent =\n            tr.issue;\n\n        document.getElementById(\n            'incident-quantity'\n        ).textContent =\n            tr.issueQuantity;\n\n        document.getElementById(\n            'incident-temperature'\n        ).textContent =\n            tr.temperature;\n\n        document.getElementById(\n            'incident-missing'\n        ).textContent =\n            tr.missingMeal;\n\n        document.getElementById(\n            'incident-quality'\n        ).textContent =\n            tr.mealQuality;\n\n        document.getElementById(\n            'incident-organisation'\n        ).textContent =\n            tr.organisation;\n\n        document.getElementById(\n            'incident-other'\n        ).textContent =\n            tr.other;\n\n        document.getElementById(\n            'comment'\n        ).placeholder =\n            tr.comment;\n\n        document.getElementById(\n            'dd-submit'\n        ).textContent =\n            tr.submit;\n\n\n        \/*\n        |--------------------------------------------------------------------------\n        | AUTHORIZATION\n        |--------------------------------------------------------------------------\n        *\/\n\n        if (!context || !context.authorized) {\n\n            document.getElementById(\n                'dd-unauthorized'\n            ).style.display =\n                'block';\n\n            return;\n        }\n\n\n        document.getElementById(\n            'dd-feedback-app'\n        ).style.display =\n            'block';\n\n\n        document.getElementById(\n            'dd-site'\n        ).textContent =\n            context.site || 'DeliDej';\n\n\n        \/*\n        |--------------------------------------------------------------------------\n        | DATE\n        |--------------------------------------------------------------------------\n        *\/\n\n        if (context.menuDate) {\n\n            const parts =\n                context.menuDate.split('-');\n\n            if (parts.length === 3) {\n\n                const date =\n                    new Date(\n                        Number(parts[0]),\n                        Number(parts[1]) - 1,\n                        Number(parts[2])\n                    );\n\n                document.getElementById(\n                    'dd-date'\n                ).textContent =\n                    date.toLocaleDateString(\n                        tr.locale,\n                        {\n                            weekday: 'long',\n                            day: 'numeric',\n                            month: 'long'\n                        }\n                    );\n            }\n        }\n\n\n        \/*\n        |--------------------------------------------------------------------------\n        | MENU\n        |--------------------------------------------------------------------------\n        *\/\n\n        const menu =\n            context.menu || {};\n\n\n        \/*\n         * If the plugin provides separate English\n         * fields, use them in EN.\n         *\n         * Otherwise fall back to the current menu.\n         *\/\n\n        const standard =\n            lang === 'en'\n            ? (\n                menu.standardEn\n                ||\n                menu.standard_en\n                ||\n                menu.standard\n              )\n            : (\n                menu.standardFr\n                ||\n                menu.standard_fr\n                ||\n                menu.standard\n              );\n\n\n        const meatFree =\n            lang === 'en'\n            ? (\n                menu.meatFreeEn\n                ||\n                menu.meat_free_en\n                ||\n                menu.meatFree\n              )\n            : (\n                menu.meatFreeFr\n                ||\n                menu.meat_free_fr\n                ||\n                menu.meatFree\n              );\n\n\n        const dessert =\n            lang === 'en'\n            ? (\n                menu.dessertEn\n                ||\n                menu.dessert_en\n                ||\n                menu.dessert\n              )\n            : (\n                menu.dessertFr\n                ||\n                menu.dessert_fr\n                ||\n                menu.dessert\n              );\n\n\n        document.getElementById(\n            'dd-menu-standard'\n        ).textContent =\n            standard || tr.notProvided;\n\n        document.getElementById(\n            'dd-menu-meatfree'\n        ).textContent =\n            meatFree || tr.notProvided;\n\n        document.getElementById(\n            'dd-menu-dessert'\n        ).textContent =\n            dessert || tr.notProvided;\n\n\n        \/*\n        |--------------------------------------------------------------------------\n        | MODE\n        |--------------------------------------------------------------------------\n        *\/\n\n        let currentMode =\n            'meal';\n\n        const mealForm =\n            document.getElementById(\n                'dd-meal-form'\n            );\n\n        const wasteForm =\n            document.getElementById(\n                'dd-waste-form'\n            );\n\n        const mealButton =\n            document.getElementById(\n                'dd-mode-meal'\n            );\n\n        const wasteButton =\n            document.getElementById(\n                'dd-mode-waste'\n            );\n\n\n        function setMode(mode) {\n\n            currentMode =\n                mode;\n\n            if (mode === 'meal') {\n\n                mealForm.style.display =\n                    'block';\n\n                wasteForm.style.display =\n                    'none';\n\n                mealButton.classList.add(\n                    'dd-mode-active'\n                );\n\n                wasteButton.classList.remove(\n                    'dd-mode-active'\n                );\n\n            } else {\n\n                mealForm.style.display =\n                    'none';\n\n                wasteForm.style.display =\n                    'block';\n\n                wasteButton.classList.add(\n                    'dd-mode-active'\n                );\n\n                mealButton.classList.remove(\n                    'dd-mode-active'\n                );\n            }\n\n            refreshButton();\n        }\n\n\n        mealButton.addEventListener(\n            'click',\n            function () {\n\n                setMode(\n                    'meal'\n                );\n            }\n        );\n\n\n        wasteButton.addEventListener(\n            'click',\n            function () {\n\n                setMode(\n                    'lunchbox_waste'\n                );\n            }\n        );\n\n\n        \/*\n        |--------------------------------------------------------------------------\n        | LEVELS\n        |--------------------------------------------------------------------------\n        *\/\n\n        let selectedLevel =\n            '';\n\n        const levelContainer =\n            document.getElementById(\n                'dd-levels'\n            );\n\n        const levels =\n            Array.isArray(\n                context.levels\n            )\n            ? context.levels\n            : [];\n\n\n        function resetLevelStyles() {\n\n            document.querySelectorAll(\n                '.dd-level'\n            ).forEach(\n                function (btn) {\n\n                    btn.style.backgroundColor =\n                        '#ffffff';\n\n                    btn.style.borderColor =\n                        '#cccccc';\n\n                    btn.style.color =\n                        '#575755';\n\n                    btn.style.fontWeight =\n                        '600';\n                }\n            );\n        }\n\n\n        if (!levels.length) {\n\n            levelContainer.innerHTML =\n                '<div style=\"grid-column:1\/-1;text-align:center;color:#b00020;\">'\n                +\n                tr.noLevel\n                +\n                '<\/div>';\n\n        } else {\n\n            levels.forEach(\n                function (levelName) {\n\n                    const button =\n                        document.createElement(\n                            'button'\n                        );\n\n                    button.type =\n                        'button';\n\n                    button.className =\n                        'dd-choice dd-level';\n\n                    button.textContent =\n                        levelName;\n\n\n                    button.addEventListener(\n                        'click',\n                        function (event) {\n\n                            event.preventDefault();\n\n                            resetLevelStyles();\n\n                            button.style.backgroundColor =\n                                '#6f9417';\n\n                            button.style.borderColor =\n                                '#6f9417';\n\n                            button.style.color =\n                                '#ffffff';\n\n                            button.style.fontWeight =\n                                '700';\n\n                            selectedLevel =\n                                levelName;\n\n                            refreshButton();\n                        }\n                    );\n\n\n                    levelContainer.appendChild(\n                        button\n                    );\n                }\n            );\n        }\n\n\n        \/*\n        |--------------------------------------------------------------------------\n        | MEAL SLIDERS\n        |--------------------------------------------------------------------------\n        *\/\n\n        const mealSliders = {\n\n            appreciation:\n                document.getElementById(\n                    'appreciation'\n                ),\n\n            quantity:\n                document.getElementById(\n                    'quantity'\n                ),\n\n            service:\n                document.getElementById(\n                    'service'\n                )\n        };\n\n\n        const mealLabels = {\n\n            en: {\n\n                appreciation: [\n                    '',\n                    'Very poorly received',\n                    'Not much enjoyed',\n                    'Average',\n                    'Enjoyed',\n                    'Really enjoyed'\n                ],\n\n                quantity: [\n                    '',\n                    'Far too little',\n                    'A little too little',\n                    'Right amount',\n                    'A little too much',\n                    'Far too much'\n                ],\n\n                service: [\n                    '',\n                    'Very difficult',\n                    'Difficult',\n                    'OK',\n                    'Easy',\n                    'Very easy'\n                ]\n            },\n\n\n            fr: {\n\n                appreciation: [\n                    '',\n                    'Tr\u00e8s peu appr\u00e9ci\u00e9',\n                    'Peu appr\u00e9ci\u00e9',\n                    'Moyennement appr\u00e9ci\u00e9',\n                    'Bien appr\u00e9ci\u00e9',\n                    'Beaucoup appr\u00e9ci\u00e9'\n                ],\n\n                quantity: [\n                    '',\n                    'Beaucoup trop peu',\n                    'Un peu juste',\n                    'Quantit\u00e9 adapt\u00e9e',\n                    'Un peu trop',\n                    'Beaucoup trop'\n                ],\n\n                service: [\n                    '',\n                    'Tr\u00e8s difficile',\n                    'Difficile',\n                    'Correct',\n                    'Facile',\n                    'Tr\u00e8s facile'\n                ]\n            }\n        };\n\n\n        Object.keys(\n            mealSliders\n        ).forEach(\n            function (key) {\n\n                const slider =\n                    mealSliders[key];\n\n                slider.addEventListener(\n                    'input',\n                    function () {\n\n                        const answer =\n                            document.getElementById(\n                                'answer-' + key\n                            );\n\n                        answer.textContent =\n                            mealLabels[lang][key][\n                                parseInt(\n                                    slider.value,\n                                    10\n                                )\n                            ];\n\n                        answer.classList.add(\n                            'dd-answer-active'\n                        );\n                    }\n                );\n            }\n        );\n\n\n        \/*\n        |--------------------------------------------------------------------------\n        | WASTE SLIDERS\n        |--------------------------------------------------------------------------\n        *\/\n\n        const wasteSliders = {\n\n            waste_carbs:\n                document.getElementById(\n                    'waste_carbs'\n                ),\n\n            waste_protein:\n                document.getElementById(\n                    'waste_protein'\n                ),\n\n            waste_vegetables:\n                document.getElementById(\n                    'waste_vegetables'\n                )\n        };\n\n\n        const wasteLabels = {\n\n            en: [\n                '',\n                'Almost none',\n                'A little',\n                'Medium',\n                'A lot',\n                'A great deal'\n            ],\n\n            fr: [\n                '',\n                'Presque rien',\n                'Peu',\n                'Moyen',\n                'Beaucoup',\n                '\u00c9norm\u00e9ment'\n            ]\n        };\n\n\n        Object.keys(\n            wasteSliders\n        ).forEach(\n            function (key) {\n\n                const slider =\n                    wasteSliders[key];\n\n                slider.addEventListener(\n                    'input',\n                    function () {\n\n                        const answer =\n                            document.getElementById(\n                                'answer-' + key\n                            );\n\n                        answer.textContent =\n                            wasteLabels[lang][\n                                parseInt(\n                                    slider.value,\n                                    10\n                                )\n                            ];\n\n                        answer.classList.add(\n                            'dd-answer-active'\n                        );\n                    }\n                );\n            }\n        );\n\n\n        \/*\n        |--------------------------------------------------------------------------\n        | BUTTON\n        |--------------------------------------------------------------------------\n        *\/\n\n        function refreshButton() {\n\n            const submit =\n                document.getElementById(\n                    'dd-submit'\n                );\n\n            if (\n                currentMode ===\n                'meal'\n            ) {\n\n                submit.disabled =\n                    !selectedLevel;\n\n                return;\n            }\n\n            submit.disabled =\n                false;\n        }\n\n\n        \/*\n        |--------------------------------------------------------------------------\n        | INCIDENT\n        |--------------------------------------------------------------------------\n        *\/\n\n        document.getElementById(\n            'dd-incident-button'\n        ).addEventListener(\n            'click',\n            function () {\n\n                const zone =\n                    document.getElementById(\n                        'dd-incident-zone'\n                    );\n\n                zone.style.display =\n                    zone.style.display ===\n                    'none'\n                    ? 'block'\n                    : 'none';\n            }\n        );\n\n\n        \/*\n        |--------------------------------------------------------------------------\n        | SUBMIT\n        |--------------------------------------------------------------------------\n        *\/\n\n        document.getElementById(\n            'dd-submit'\n        ).addEventListener(\n            'click',\n            function () {\n\n                if (\n                    currentMode ===\n                    'meal'\n                    &&\n                    !selectedLevel\n                ) {\n                    return;\n                }\n\n\n                const button =\n                    this;\n\n                const message =\n                    document.getElementById(\n                        'dd-message'\n                    );\n\n\n                button.disabled =\n                    true;\n\n                button.textContent =\n                    tr.sending;\n\n                message.textContent =\n                    '';\n\n\n                const body =\n                    new URLSearchParams();\n\n\n                body.append(\n                    'action',\n                    'delidej_submit_feedback'\n                );\n\n                body.append(\n                    'nonce',\n                    context.nonce\n                );\n\n                body.append(\n                    'feedback_type',\n                    currentMode\n                );\n\n\n                if (\n                    currentMode ===\n                    'meal'\n                ) {\n\n                    body.append(\n                        'level_name',\n                        selectedLevel\n                    );\n\n                    body.append(\n                        'appreciation',\n                        mealSliders.appreciation.value\n                    );\n\n                    body.append(\n                        'quantity',\n                        mealSliders.quantity.value\n                    );\n\n                    body.append(\n                        'service',\n                        mealSliders.service.value\n                    );\n                }\n\n\n                if (\n                    currentMode ===\n                    'lunchbox_waste'\n                ) {\n\n                    body.append(\n                        'waste_carbs',\n                        wasteSliders.waste_carbs.value\n                    );\n\n                    body.append(\n                        'waste_protein',\n                        wasteSliders.waste_protein.value\n                    );\n\n                    body.append(\n                        'waste_vegetables',\n                        wasteSliders.waste_vegetables.value\n                    );\n                }\n\n\n                body.append(\n                    'incident_type',\n                    document.getElementById(\n                        'incident_type'\n                    ).value\n                );\n\n                body.append(\n                    'comment',\n                    document.getElementById(\n                        'comment'\n                    ).value\n                );\n\n\n                fetch(\n                    context.ajaxUrl,\n                    {\n\n                        method:\n                            'POST',\n\n                        credentials:\n                            'same-origin',\n\n                        headers: {\n                            'Content-Type':\n                                'application\/x-www-form-urlencoded; charset=UTF-8'\n                        },\n\n                        body:\n                            body.toString()\n                    }\n                )\n\n\n                .then(\n                    function (response) {\n\n                        return response.json();\n                    }\n                )\n\n\n                .then(\n                    function (data) {\n\n                        if (!data.success) {\n\n                            throw new Error(\n\n                                data.data\n                                &&\n                                data.data.message\n\n                                ?\n\n                                data.data.message\n\n                                :\n\n                                tr.error\n                            );\n                        }\n\n\n                        message.textContent =\n                            tr.saved;\n\n                        message.className =\n                            'dd-success';\n\n\n                        if (\n                            navigator.vibrate\n                        ) {\n\n                            navigator.vibrate(\n                                80\n                            );\n                        }\n\n\n                        selectedLevel =\n                            '';\n\n                        resetLevelStyles();\n\n\n                        \/*\n                         * RESET MEAL\n                         * 5 \/ 3 \/ 5\n                         *\/\n\n                        mealSliders.appreciation.value =\n                            5;\n\n                        mealSliders.quantity.value =\n                            3;\n\n                        mealSliders.service.value =\n                            5;\n\n\n                        document.getElementById(\n                            'answer-appreciation'\n                        ).textContent =\n                            tr.appreciationDefault;\n\n                        document.getElementById(\n                            'answer-quantity'\n                        ).textContent =\n                            tr.quantityDefault;\n\n                        document.getElementById(\n                            'answer-service'\n                        ).textContent =\n                            tr.easyDefault;\n\n\n                        \/*\n                         * RESET CLEAN UP\n                         * 3 \/ 3 \/ 3\n                         *\/\n\n                        wasteSliders.waste_carbs.value =\n                            3;\n\n                        wasteSliders.waste_protein.value =\n                            3;\n\n                        wasteSliders.waste_vegetables.value =\n                            3;\n\n\n                        document.getElementById(\n                            'answer-waste_carbs'\n                        ).textContent =\n                            tr.wasteDefault;\n\n                        document.getElementById(\n                            'answer-waste_protein'\n                        ).textContent =\n                            tr.wasteDefault;\n\n                        document.getElementById(\n                            'answer-waste_vegetables'\n                        ).textContent =\n                            tr.wasteDefault;\n\n\n                        \/*\n                         * RESET INCIDENT\n                         *\/\n\n                        document.getElementById(\n                            'incident_type'\n                        ).value =\n                            '';\n\n                        document.getElementById(\n                            'comment'\n                        ).value =\n                            '';\n\n                        document.getElementById(\n                            'dd-incident-zone'\n                        ).style.display =\n                            'none';\n\n\n                        refreshButton();\n\n\n                        setTimeout(\n                            function () {\n\n                                message.textContent =\n                                    '';\n                            },\n                            3500\n                        );\n                    }\n                )\n\n\n                .catch(\n                    function (error) {\n\n                        message.textContent =\n                            error.message\n                            ||\n                            tr.networkError;\n\n                        message.className =\n                            'dd-error';\n                    }\n                )\n\n\n                .finally(\n                    function () {\n\n                        button.textContent =\n                            tr.submit;\n\n                        refreshButton();\n                    }\n                );\n            }\n        );\n\n\n        \/*\n        |--------------------------------------------------------------------------\n        | INIT\n        |--------------------------------------------------------------------------\n        *\/\n\n        setMode(\n            'meal'\n        );\n\n    }\n\n\n    if (\n        document.readyState ===\n        'loading'\n    ) {\n\n        document.addEventListener(\n            'DOMContentLoaded',\n            startDeliDejFeedback\n        );\n\n    } else {\n\n        startDeliDejFeedback();\n\n    }\n\n})();\n\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Lunch Feedback EN EN FR<\/p>","protected":false},"author":44,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-8317","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/delidej.com\/fr\/wp-json\/wp\/v2\/pages\/8317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/delidej.com\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/delidej.com\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/delidej.com\/fr\/wp-json\/wp\/v2\/users\/44"}],"replies":[{"embeddable":true,"href":"https:\/\/delidej.com\/fr\/wp-json\/wp\/v2\/comments?post=8317"}],"version-history":[{"count":34,"href":"https:\/\/delidej.com\/fr\/wp-json\/wp\/v2\/pages\/8317\/revisions"}],"predecessor-version":[{"id":8374,"href":"https:\/\/delidej.com\/fr\/wp-json\/wp\/v2\/pages\/8317\/revisions\/8374"}],"wp:attachment":[{"href":"https:\/\/delidej.com\/fr\/wp-json\/wp\/v2\/media?parent=8317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}