package.dist.prod.util.getFastNavigationGroups.js Maven / Gradle / Ivy
"use strict";let i=[];const a=e=>e.getAttribute("data-sap-ui-fastnavgroup")==="true",u=e=>{const s=window.getComputedStyle(e);return s.width!=="0px"&&s.height!=="0px"&&s.opacity!=="0"&&s.display!=="none"&&s.visibility!=="hidden"},n=(e,s)=>{let t,l,o=0;if(u(e))for(a(e)&&i.push(e),e.shadowRoot?t=e.shadowRoot.firstChild:e instanceof HTMLSlotElement&&e.assignedNodes()?(l=e.assignedNodes(),t=l[0]):s?t=e:t=e.firstElementChild;t;){const d=t;if(!t)return;t.nodeType===1&&n(t,!1),t=l&&l.length?l[++o]:d.nextElementSibling}},m=e=>(i=[],n(e,!0),i);export default m;
//# sourceMappingURL=getFastNavigationGroups.js.map