/** * Collapsible Table of Contents for mkdocs-material with toc.integrate. * * Behaviour: * - ALL nested TOC items start collapsed on page load. * - Clicking a parent item toggles it and marks it as "user-pinned" so it * stays in whatever state the user chose. * - As the reader scrolls, the ancestors of the currently-active TOC link * are automatically expanded so the highlighted item is always visible. * - When the reader scrolls past a section, any items that were only * auto-expanded (not user-pinned) collapse back down. * - Works with mkdocs-material instant-loading / SPA navigation. */ (function () { "use strict"; /** * Set of TOC