{"en_US": "<t name=\"Submenu\" t-name=\"website.submenu\">\n    <t t-set=\"show_dropdown\" t-value=\"(submenu.is_mega_menu and submenu.is_visible) or submenu.child_id.filtered(lambda menu: menu.is_visible)\"/>\n    <li t-if=\"submenu.is_visible and not (submenu.child_id or submenu.is_mega_menu)\" t-attf-class=\"#{item_class or ''}\" role=\"presentation\">\n        <a t-att-href=\"submenu.clean_url()\" t-attf-class=\"#{link_class or ''} #{'active' if submenu.clean_url() and unslug_url(request.httprequest.path) == unslug_url(submenu.clean_url()) else ''}\" role=\"menuitem\" t-ignore=\"true\" t-att-target=\"'_blank' if submenu.new_window else None\">\n            <span t-field=\"submenu.name\"/>\n        </a>\n    </li>\n    <li t-elif=\"show_dropdown\" t-attf-class=\"#{item_class or ''} dropdown #{         (submenu.clean_url() and submenu.clean_url() != '/' and any(request.httprequest.path == child.url for child in submenu.child_id if child.url) or          (submenu.clean_url() and request.httprequest.path == submenu.clean_url())) and 'active'         } #{submenu.is_mega_menu and 'position-static'}\">\n        <a t-attf-class=\"#{link_class or ''} dropdown-toggle #{submenu.is_mega_menu and 'o_mega_menu_toggle'}\" data-bs-toggle=\"dropdown\" href=\"#\">\n            <span t-field=\"submenu.name\"/>\n        </a>\n        <div t-if=\"submenu.is_mega_menu\" t-attf-class=\"dropdown-menu o_mega_menu #{submenu.mega_menu_classes}\" data-name=\"Mega Menu\" t-field=\"submenu.mega_menu_content\"/>\n        <ul t-else=\"\" class=\"dropdown-menu\" role=\"menu\">\n            <t t-foreach=\"submenu.child_id\" t-as=\"submenu\">\n                <t t-call=\"website.submenu\">\n                    <t t-set=\"item_class\" t-value=\"None\"/>\n                    <t t-set=\"link_class\" t-valuef=\"dropdown-item\"/>\n                </t>\n            </t>\n        </ul>\n    </li>\n</t>"}