"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[45],{123:function(e,a,r){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0}),a.TabSelector=void 0;const t=r(0),n=r(1),i=r(2),l=s(r(493)),{wrapperTabs:c,wrapperTabsCart:p,wrapperTabsContainer:b,wrapperTabsContainerCart:o,wrapperTabsContainerItem:u,wrapperTabsContainerItemCart:C,wrapperTabsContainerItemTabPill:T,wrapperTabsContainerItemTabPillCart:d,wrapperTabsContainerItemTabPillActive:h,wrapperTabsContainerItemTabPillActiveCart:j}=l.default;a.TabSelector=function({activeIndex:e,tabLabels:a,onChange:r,title:s,isCart:l=!1}){return(0,t.jsxs)(n.Fragment,{children:[(0,t.jsxs)("div",Object.assign({class:"is-sr-only"},{children:[s,":"]})),(0,t.jsx)("div",Object.assign({class:(0,i.cx)(c,l&&p)},{children:(0,t.jsx)("ul",Object.assign({class:(0,i.cx)(b,l&&o)},{children:a.map(((a,s)=>(0,t.jsx)("li",Object.assign({class:(0,i.cx)(u,l&&C,e===s&&h,e===s&&l&&j)},{children:(0,t.jsx)("a",Object.assign({href:"#",class:(0,i.cx)(T,l&&d),onClick:e=>{e.preventDefault(),r(a)}},{children:a}))}),a)))}))}))]})}}}]);