{"en_US": "<t name=\"Collapse Category Recursive\" t-name=\"website_sale.option_collapse_categories_recursive\">\n        <t t-set=\"children\" t-value=\"not search and c.child_id or c.child_id.filtered(lambda c: c.id in search_categories_ids)\"/>\n        <t t-set=\"children\" t-value=\"request.env.user._is_internal() and children or children.filtered('has_published_products')\"/>\n\n        <t t-if=\"children\">\n            <t t-set=\"isOpen\" t-value=\"c.id in category.parents_and_self.ids\"/>\n\n            <li class=\"nav-item\" t-att-data-publish=\"c.has_published_products and 'on' or 'off'\">\n                <div class=\"accordion-header d-flex mb-1\">\n                    <t t-call=\"website_sale.categorie_link\"/>\n                    <button t-attf-id=\"o_wsale_cat_accordion_title_{{c.id}}\" t-attf-class=\"o_categories_recursive_button accordion-button p-0 ms-3 {{not isOpen and 'collapsed'}} w-auto flex-grow-1 bg-transparent shadow-none\" t-attf-data-bs-target=\"#o_wsale_cat_accordion_{{c.id}}\" t-att-aria-expanded=\"isOpen and 'true' or 'false'\" t-attf-aria-controls=\"o_wsale_cat_accordion_{{c.id}}\" data-bs-toggle=\"collapse\" type=\"button\"/>\n                </div>\n                <ul t-attf-id=\"o_wsale_cat_accordion_{{c.id}}\" t-attf-class=\"accordion-collapse list-unstyled ps-2 collapse {{isOpen and 'show'}}\" t-attf-aria-labelledby=\"o_wsale_cat_accordion_title_{{c.id}}\">\n                    <t t-set=\"parentCategoryId\" t-value=\"c.id\"/>\n                    <t t-if=\"isOffcanvas\" t-set=\"parentCategoryId\" t-valuef=\"offcanvas_{{c.id}}\"/>\n\n                    <t t-foreach=\"children\" t-as=\"c\">\n                        <t t-call=\"website_sale.option_collapse_categories_recursive\"/>\n                    </t>\n                </ul>\n            </li>\n        </t>\n\n        <li t-else=\"\" class=\"nav-item mb-1\" t-att-data-publish=\"c.has_published_products and 'on' or 'off'\">\n            <t t-if=\"isOffcanvas\" t-set=\"parentCategoryId\" t-valuef=\"offcanvas\"/>\n            <div class=\"d-flex flex-wrap justify-content-between align-items-center\">\n                <t t-call=\"website_sale.categorie_link\"/>\n            </div>\n        </li>\n    </t>"}