{"version":3,"names":["findSection","element","section","querySelector","sectionSelector"],"sources":["src/components/common/atomic-layout-section/sections.ts"],"sourcesContent":["export type Section =\n | 'search'\n | 'facets'\n | 'main'\n | 'status'\n | 'results'\n | 'horizontal-facets'\n | 'pagination';\n\nexport function findSection(element: HTMLElement, section: Section) {\n return element.querySelector(\n sectionSelector(section)\n ) as HTMLAtomicLayoutSectionElement | null;\n}\n\nexport function sectionSelector(section: Section) {\n return `atomic-layout-section[section=\"${section}\"]`;\n}\n"],"mappings":"SASgBA,EAAYC,EAAsBC,GAChD,OAAOD,EAAQE,cACbC,EAAgBF,GAEpB,C,SAEgBE,EAAgBF,GAC9B,MAAO,kCAAkCA,KAC3C,Q"}