import{buildSectionSelector,normalizeSectionId,sectionRenderer}from"@theme/section-renderer";import{requestIdleCallback,onDocumentReady}from"@theme/utilities";async function hydrateSection(sectionId,url){const normalizedId=normalizeSectionId(sectionId),section=document.getElementById(buildSectionSelector(normalizedId));!section||section.dataset.hydrated==="true"||(await sectionRenderer.renderSection(normalizedId,{cache:!1,url,mode:"hydration"}),section.dataset.hydrated="true")}export async function hydrate(sectionId,url){onDocumentReady(()=>{requestIdleCallback(()=>hydrateSection(sectionId,url))})}
//# sourceMappingURL=/s/files/1/0677/1399/0759/t/1/assets/section-hydration.js.map?v=1783078800
