Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(document.documentElement.contains(t))do{if(t.matches(e))return t}while(null!==(t=t.parentElement||t.parentNode)&&1===t.nodeType);return null}),(()=>{var u,w,b=window.CQ&&window.CQ.CoreComponents&&window.CQ.CoreComponents.container&&window.CQ.CoreComponents.container.utils?window.CQ.CoreComponents.container.utils:void 0,f=(b||console.warn("Tabs: container utilities at window.CQ.CoreComponents.container.utils are not available. This can lead to missing features. Ensure the core.wcm.components.commons.site.container client library is included on the page."),"cmp"),v="tabs",h={END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40},_={self:"[data-"+f+'-is="'+v+'"]',active:{tab:"cmp-tabs__tab--active",tabpanel:"cmp-tabs__tabpanel--active"}};function o(e){var s=this;if(e&&e.element){(s._config=e).element.removeAttribute("data-"+f+"-is"),e=e.element,s._elements={},s._elements.self=e;for(var t=s._elements.self.querySelectorAll("[data-"+f+"-hook-"+v+"]"),n=0;n{if(e)for(var t=0;t{r[l].addEventListener("click",function(e){p(t)}),r[l].addEventListener("keydown",function(e){var t=e,n=s._active,a=s._elements.tab.length-1;switch(t.keyCode){case h.ARROW_LEFT:case h.ARROW_UP:t.preventDefault(),0