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C,IAAZqhB,GAAqB,QACtEzc,EAAAA,cAAA,OAAKP,UAAW,sBAAArE,OAAsBgR,EAAK,KAAAhR,OAAIqhB,EAAU,MAAQ,QAAUslB,GAC3E/hC,EAAAA,cAAA,WACEA,EAAAA,cAAA,OAAKP,UAAW,yBAAArE,OAAyBgR,IAAUlM,GACnDF,EAAAA,cAAA,OAAKP,UAAU,yDAAyD+8B,KAG3E+C,GAAUv/B,EAAAA,cAACwO,GAAW,KAAE+wB,GAG/B,IAGF4C,GAAchiC,UAAY,CACxBV,UAAWW,EAAUpD,OACrBoP,MAAON,EACPyzB,OAAQn/B,EAAU1C,UAAU,CAAC0C,EAAUpD,OAAQoD,EAAU7C,OACzDwkC,KAAM3hC,EAAU1C,UAAU,CAAC0C,EAAUpD,OAAQoD,EAAU7C,OACvDkf,QAASrc,EAAUxD,KACnB4/B,MAAOp8B,EAAU1C,UAAU,CAAC0C,EAAUpD,OAAQoD,EAAU7C,OACxD2C,MAAOE,EAAU1C,UAAU,CAAC0C,EAAUpD,OAAQoD,EAAU7C,KAAM6C,EAAUtD,UAG1EqlC,GAAc9hC,YAAc","sources":["../node_modules/@coreui/tslib/tslib.es6.js","../node_modules/@coreui/prop-types/lib/ReactPropTypesSecret.js","../node_modules/@coreui/prop-types/index.js","../node_modules/@coreui/prop-types/factoryWithThrowingShims.js","../node_modules/@coreui/classnames/index.js","../node_modules/@coreui/react/src/components/accordion/CAccordion.tsx","../node_modules/@coreui/react/src/components/accordion/CAccordionItem.tsx","../node_modules/@coreui/@babel/runtime/helpers/esm/extends.js","../node_modules/@coreui/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/@coreui/@babel/runtime/helpers/esm/setPrototypeOf.js","../node_modules/@coreui/@babel/runtime/helpers/esm/inheritsLoose.js","../node_modules/@coreui/dom-helpers/esm/removeClass.js","../node_modules/@coreui/react-transition-group/esm/config.js","../node_modules/@coreui/react-transition-group/esm/TransitionGroupContext.js","../node_modules/@coreui/react-transition-group/esm/utils/reflow.js","../node_modules/@coreui/react-transition-group/esm/Transition.js","../node_modules/@coreui/react-transition-group/esm/CSSTransition.js","../node_modules/@coreui/dom-helpers/esm/addClass.js","../node_modules/@coreui/dom-helpers/esm/hasClass.js","../node_modules/@coreui/react/src/hooks/useForkedRef.ts","../node_modules/@coreui/react/src/components/collapse/CCollapse.tsx","../node_modules/@coreui/react/src/components/accordion/CAccordionBody.tsx","../node_modules/@coreui/react/src/components/accordion/CAccordionButton.tsx","../node_modules/@coreui/react/src/components/accordion/CAccordionCollapse.tsx","../node_modules/@coreui/react/src/components/accordion/CAccordionHeader.tsx","../node_modules/@coreui/react/src/components/close-button/CCloseButton.tsx","../node_modules/@coreui/react/src/props.ts","../node_modules/@coreui/react/src/components/alert/CAlert.tsx","../node_modules/@coreui/react/src/components/alert/CAlertHeading.tsx","../node_modules/@coreui/react/src/components/link/CLink.tsx","../node_modules/@coreui/react/src/components/alert/CAlertLink.tsx","../node_modules/@coreui/react/src/components/avatar/CAvatar.tsx","../node_modules/@coreui/react/src/components/backdrop/CBackdrop.tsx","../node_modules/@coreui/react/src/components/badge/CBadge.tsx","../node_modules/@coreui/react/src/components/breadcrumb/CBreadcrumb.tsx","../node_modules/@coreui/react/src/components/breadcrumb/CBreadcrumbItem.tsx","../node_modules/@coreui/react/src/components/button/CButton.tsx","../node_modules/@coreui/react/src/components/button-group/CButtonToolbar.tsx","../node_modules/@coreui/react/src/components/button-group/CButtonGroup.tsx","../node_modules/@coreui/react/src/components/callout/CCallout.tsx","../node_modules/@coreui/react/src/components/card/CCard.tsx","../node_modules/@coreui/react/src/components/card/CCardBody.tsx","../node_modules/@coreui/react/src/components/card/CCardFooter.tsx","../node_modules/@coreui/react/src/components/card/CCardGroup.tsx","../node_modules/@coreui/react/src/components/card/CCardHeader.tsx","../node_modules/@coreui/react/src/components/card/CCardImage.tsx","../node_modules/@coreui/react/src/components/card/CCardImageOverlay.tsx","../node_modules/@coreui/react/src/components/card/CCardLink.tsx","../node_modules/@coreui/react/src/components/card/CCardSubtitle.tsx","../node_modules/@coreui/react/src/components/card/CCardText.tsx","../node_modules/@coreui/react/src/components/card/CCardTitle.tsx","../node_modules/@coreui/react/src/utils/isInViewport.ts","../node_modules/@coreui/react/src/components/carousel/CCarousel.tsx","../node_modules/@coreui/react/src/components/carousel/CCarouselCaption.tsx","../node_modules/@coreui/react/src/components/carousel/CCarouselItem.tsx","../node_modules/@coreui/react/src/components/conditional-portal/CConditionalPortal.tsx","../node_modules/@coreui/react-popper/lib/esm/Manager.js","../node_modules/@coreui/react-popper/lib/esm/utils.js","../node_modules/@coreui/@popperjs/core/lib/enums.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getNodeName.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getWindow.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/instanceOf.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/applyStyles.js","../node_modules/@coreui/@popperjs/core/lib/utils/getBasePlacement.js","../node_modules/@coreui/@popperjs/core/lib/utils/math.js","../node_modules/@coreui/@popperjs/core/lib/utils/userAgent.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/isLayoutViewport.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getLayoutRect.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/contains.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getComputedStyle.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/isTableElement.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getDocumentElement.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getParentNode.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getOffsetParent.js","../node_modules/@coreui/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","../node_modules/@coreui/@popperjs/core/lib/utils/within.js","../node_modules/@coreui/@popperjs/core/lib/utils/mergePaddingObject.js","../node_modules/@coreui/@popperjs/core/lib/utils/getFreshSideObject.js","../node_modules/@coreui/@popperjs/core/lib/utils/expandToHashMap.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/arrow.js","../node_modules/@coreui/@popperjs/core/lib/utils/getVariation.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/computeStyles.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/eventListeners.js","../node_modules/@coreui/@popperjs/core/lib/utils/getOppositePlacement.js","../node_modules/@coreui/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getWindowScroll.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/isScrollParent.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getScrollParent.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/listScrollParents.js","../node_modules/@coreui/@popperjs/core/lib/utils/rectToClientRect.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getClippingRect.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getViewportRect.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getDocumentRect.js","../node_modules/@coreui/@popperjs/core/lib/utils/computeOffsets.js","../node_modules/@coreui/@popperjs/core/lib/utils/detectOverflow.js","../node_modules/@coreui/@popperjs/core/lib/utils/computeAutoPlacement.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/flip.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/hide.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/offset.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/preventOverflow.js","../node_modules/@coreui/@popperjs/core/lib/utils/getAltAxis.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getCompositeRect.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getNodeScroll.js","../node_modules/@coreui/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","../node_modules/@coreui/@popperjs/core/lib/utils/orderModifiers.js","../node_modules/@coreui/@popperjs/core/lib/utils/debounce.js","../node_modules/@coreui/@popperjs/core/lib/createPopper.js","../node_modules/@coreui/@popperjs/core/lib/utils/mergeByName.js","../node_modules/@coreui/@popperjs/core/lib/popper.js","../node_modules/@coreui/@popperjs/core/lib/modifiers/popperOffsets.js","../node_modules/@coreui/react-fast-compare/index.js","../node_modules/@coreui/react-popper/lib/esm/usePopper.js","../node_modules/@coreui/react-popper/lib/esm/Popper.js","../node_modules/@coreui/warning/warning.js","../node_modules/@coreui/react-popper/lib/esm/Reference.js","../node_modules/@coreui/react/src/components/dropdown/CDropdown.tsx","../node_modules/@coreui/react/src/components/dropdown/CDropdownDivider.tsx","../node_modules/@coreui/react/src/components/dropdown/CDropdownHeader.tsx","../node_modules/@coreui/react/src/components/dropdown/CDropdownItem.tsx","../node_modules/@coreui/react/src/components/dropdown/CDropdownItemPlain.tsx","../node_modules/@coreui/react/src/components/dropdown/CDropdownMenu.tsx","../node_modules/@coreui/react/src/components/dropdown/CDropdownToggle.tsx","../node_modules/@coreui/react/src/components/footer/CFooter.tsx","../node_modules/@coreui/react/src/components/form/CForm.tsx","../node_modules/@coreui/react/src/components/form/CFormFeedback.tsx","../node_modules/@coreui/react/src/components/form/CFormControlValidation.tsx","../node_modules/@coreui/react/src/components/form/CFormLabel.tsx","../node_modules/@coreui/react/src/components/form/CFormCheck.tsx","../node_modules/@coreui/react/src/components/form/CFormFloating.tsx","../node_modules/@coreui/react/src/components/form/CFormText.tsx","../node_modules/@coreui/react/src/components/form/CFormControlWrapper.tsx","../node_modules/@coreui/react/src/components/form/CFormInput.tsx","../node_modules/@coreui/react/src/components/form/CFormRange.tsx","../node_modules/@coreui/react/src/components/form/CFormSelect.tsx","../node_modules/@coreui/react/src/components/form/CFormSwitch.tsx","../node_modules/@coreui/react/src/components/form/CFormTextarea.tsx","../node_modules/@coreui/react/src/components/form/CInputGroup.tsx","../node_modules/@coreui/react/src/components/form/CInputGroupText.tsx","../node_modules/@coreui/react/src/components/grid/CCol.tsx","../node_modules/@coreui/react/src/components/grid/CContainer.tsx","../node_modules/@coreui/react/src/components/grid/CRow.tsx","../node_modules/@coreui/react/src/components/header/CHeader.tsx","../node_modules/@coreui/react/src/components/header/CHeaderBrand.tsx","../node_modules/@coreui/react/src/components/header/CHeaderDivider.tsx","../node_modules/@coreui/react/src/components/header/CHeaderNav.tsx","../node_modules/@coreui/react/src/components/header/CHeaderText.tsx","../node_modules/@coreui/react/src/components/header/CHeaderToggler.tsx","../node_modules/@coreui/react/src/components/image/CImage.tsx","../node_modules/@coreui/react/src/components/list-group/CListGroup.tsx","../node_modules/@coreui/react/src/components/list-group/CListGroupItem.tsx","../node_modules/@coreui/react/src/components/modal/CModalContent.tsx","../node_modules/@coreui/react/src/components/modal/CModalDialog.tsx","../node_modules/@coreui/react/src/components/modal/CModal.tsx","../node_modules/@coreui/react/src/components/modal/CModalBody.tsx","../node_modules/@coreui/react/src/components/modal/CModalFooter.tsx","../node_modules/@coreui/react/src/components/modal/CModalHeader.tsx","../node_modules/@coreui/react/src/components/modal/CModalTitle.tsx","../node_modules/@coreui/react/src/components/nav/CNav.tsx","../node_modules/@coreui/react/src/components/nav/CNavGroupItems.tsx","../node_modules/@coreui/react/src/components/sidebar/CSidebarNav.tsx","../node_modules/@coreui/react/src/components/nav/CNavGroup.tsx","../node_modules/@coreui/react/src/components/nav/CNavLink.tsx","../node_modules/@coreui/react/src/components/nav/CNavItem.tsx","../node_modules/@coreui/react/src/components/nav/CNavTitle.tsx","../node_modules/@coreui/react/src/components/navbar/CNavbar.tsx","../node_modules/@coreui/react/src/components/navbar/CNavbarBrand.tsx","../node_modules/@coreui/react/src/components/navbar/CNavbarNav.tsx","../node_modules/@coreui/react/src/components/navbar/CNavbarText.tsx","../node_modules/@coreui/react/src/components/navbar/CNavbarToggler.tsx","../node_modules/@coreui/react/src/components/offcanvas/COffcanvas.tsx","../node_modules/@coreui/react/src/components/offcanvas/COffcanvasBody.tsx","../node_modules/@coreui/react/src/components/offcanvas/COffcanvasHeader.tsx","../node_modules/@coreui/react/src/components/offcanvas/COffcanvasTitle.tsx","../node_modules/@coreui/react/src/components/pagination/CPagination.tsx","../node_modules/@coreui/react/src/components/pagination/CPaginationItem.tsx","../node_modules/@coreui/react/src/components/placeholder/CPlaceholder.tsx","../node_modules/@coreui/react/src/components/progress/CProgressBar.tsx","../node_modules/@coreui/react/src/components/progress/CProgress.tsx","../node_modules/@coreui/react/src/components/popover/CPopover.tsx","../node_modules/@coreui/react/src/components/sidebar/CSidebar.tsx","../node_modules/@coreui/react/src/components/sidebar/CSidebarBrand.tsx","../node_modules/@coreui/react/src/components/sidebar/CSidebarFooter.tsx","../node_modules/@coreui/react/src/components/sidebar/CSidebarToggler.tsx","../node_modules/@coreui/react/src/components/sidebar/CSidebarHeader.tsx","../node_modules/@coreui/react/src/components/spinner/CSpinner.tsx","../node_modules/@coreui/react/src/components/table/CTableHead.tsx","../node_modules/@coreui/react/src/components/table/CTableHeaderCell.tsx","../node_modules/@coreui/react/src/components/table/CTableBody.tsx","../node_modules/@coreui/react/src/components/table/CTableDataCell.tsx","../node_modules/@coreui/react/src/components/table/CTableRow.tsx","../node_modules/@coreui/react/src/components/table/CTableFoot.tsx","../node_modules/@coreui/react/src/components/table/CTableCaption.tsx","../node_modules/@coreui/react/src/components/table/CTableResponsiveWrapper.tsx","../node_modules/@coreui/react/src/components/table/utils.ts","../node_modules/@coreui/react/src/components/table/CTable.tsx","../node_modules/@coreui/react/src/components/tabs/CTabContent.tsx","../node_modules/@coreui/react/src/components/tabs/CTabPane.tsx","../node_modules/@coreui/react/src/components/toast/CToast.tsx","../node_modules/@coreui/react/src/components/toast/CToastBody.tsx","../node_modules/@coreui/react/src/components/toast/CToastClose.tsx","../node_modules/@coreui/react/src/components/toast/CToastHeader.tsx","../node_modules/@coreui/react/src/components/toast/CToaster.tsx","../node_modules/@coreui/react/src/components/tooltip/CTooltip.tsx","../node_modules/@coreui/react/src/components/widgets/CWidgetStatsA.tsx","../node_modules/@coreui/react/src/components/widgets/CWidgetStatsB.tsx","../node_modules/@coreui/react/src/components/widgets/CWidgetStatsC.tsx","../node_modules/@coreui/react/src/components/widgets/CWidgetStatsD.tsx","../node_modules/@coreui/react/src/components/widgets/CWidgetStatsE.tsx","../node_modules/@coreui/react/src/components/widgets/CWidgetStatsF.tsx"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.push(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.push(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\tvar nativeCodeString = '[native code]';\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import React, { createContext, forwardRef, HTMLAttributes, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CAccordionProps extends HTMLAttributes {\n /**\n * The active item key.\n */\n activeItemKey?: number | string\n /**\n * Make accordion items stay open when another item is opened\n */\n alwaysOpen?: boolean\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Removes the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container.\n */\n flush?: boolean\n}\n\nexport interface CAccordionContextProps {\n _activeItemKey?: number | string\n alwaysOpen?: boolean\n setActiveKey: React.Dispatch>\n}\n\nexport const CAccordionContext = createContext({} as CAccordionContextProps)\n\nexport const CAccordion = forwardRef(\n ({ children, activeItemKey, alwaysOpen = false, className, flush, ...rest }, ref) => {\n const [_activeItemKey, setActiveKey] = useState(activeItemKey)\n\n return (\n \n \n {children}\n \n \n )\n },\n)\n\nCAccordion.propTypes = {\n alwaysOpen: PropTypes.bool,\n activeItemKey: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n children: PropTypes.node,\n className: PropTypes.string,\n flush: PropTypes.bool,\n}\n\nCAccordion.displayName = 'CAccordion'\n","import React, {\n createContext,\n forwardRef,\n HTMLAttributes,\n useContext,\n useEffect,\n useRef,\n useState,\n} from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CAccordionContext } from './CAccordion'\n\nexport interface CAccordionItemContextProps {\n setVisible: (a: boolean) => void\n visible?: boolean\n}\n\nexport const CAccordionItemContext = createContext({} as CAccordionItemContextProps)\n\nexport interface CAccordionItemProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Item key.\n */\n itemKey?: number | string\n}\n\nexport const CAccordionItem = forwardRef(\n ({ children, className, itemKey, ...rest }, ref) => {\n const _itemKey = useRef(itemKey ?? Math.random().toString(36).slice(2, 11))\n\n const { _activeItemKey, alwaysOpen, setActiveKey } = useContext(CAccordionContext)\n const [visible, setVisible] = useState(Boolean(_activeItemKey === _itemKey.current))\n\n useEffect(() => {\n !alwaysOpen && visible && setActiveKey(_itemKey.current)\n }, [visible])\n\n useEffect(() => {\n setVisible(Boolean(_activeItemKey === _itemKey.current))\n }, [_activeItemKey])\n\n return (\n
\n \n {children}\n \n
\n )\n },\n)\n\nCAccordionItem.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n itemKey: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n}\n\nCAccordionItem.displayName = 'CAccordionItem'\n","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}","function replaceClassName(origClass, classToRemove) {\n return origClass.replace(new RegExp(\"(^|\\\\s)\" + classToRemove + \"(?:\\\\s|$)\", 'g'), '$1').replace(/\\s+/g, ' ').replace(/^\\s*|\\s*$/g, '');\n}\n/**\n * Removes a CSS class from a given element.\n * \n * @param element the element\n * @param className the CSS class name\n */\n\n\nexport default function removeClass(element, className) {\n if (element.classList) {\n element.classList.remove(className);\n } else if (typeof element.className === 'string') {\n element.className = replaceClassName(element.className, className);\n } else {\n element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));\n }\n}","export default {\n disabled: false\n};","import React from 'react';\nexport default React.createContext(null);","export var forceReflow = function forceReflow(node) {\n return node.scrollTop;\n};","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { forceReflow } from './utils/reflow';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * \n * {state => (\n *
\n * I'm a fade Transition!\n *
\n * )}\n *
\n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n *
\n * \n * {state => (\n * // ...\n * )}\n * \n * \n *
\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n if (this.props.unmountOnExit || this.props.mountOnEnter) {\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749\n // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.\n // To make the animation happen, we have to separate each rendering and avoid being processed as batched.\n\n if (node) forceReflow(node);\n }\n\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A React reference to DOM element that need to transition:\n * https://stackoverflow.com/a/51127130/4671932\n *\n * - When `nodeRef` prop is used, `node` is not passed to callback functions\n * (e.g. `onEnter`) because user already has direct access to the node.\n * - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n * `nodeRef` need to be provided to `Transition` with changed `key` prop\n * (see\n * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n */\n nodeRef: PropTypes.shape({\n current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n var value = propValue[key];\n return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n }\n }),\n\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * \n * {state => (\n * \n * )}\n * \n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. Timeouts are still used as a fallback if provided.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport addOneClass from 'dom-helpers/addClass';\nimport removeOneClass from 'dom-helpers/removeClass';\nimport React from 'react';\nimport Transition from './Transition';\nimport { classNamesShape } from './utils/PropTypes';\nimport { forceReflow } from './utils/reflow';\n\nvar _addClass = function addClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return addOneClass(node, c);\n });\n};\n\nvar removeClass = function removeClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return removeOneClass(node, c);\n });\n};\n/**\n * A transition component inspired by the excellent\n * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should\n * use it if you're using CSS transitions or animations. It's built upon the\n * [`Transition`](https://reactcommunity.org/react-transition-group/transition)\n * component, so it inherits all of its props.\n *\n * `CSSTransition` applies a pair of class names during the `appear`, `enter`,\n * and `exit` states of the transition. The first class is applied and then a\n * second `*-active` class in order to activate the CSS transition. After the\n * transition, matching `*-done` class names are applied to persist the\n * transition state.\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n *
\n * \n *
\n * {\"I'll receive my-node-* classes\"}\n *
\n *
\n * \n *
\n * );\n * }\n * ```\n *\n * When the `in` prop is set to `true`, the child component will first receive\n * the class `example-enter`, then the `example-enter-active` will be added in\n * the next tick. `CSSTransition` [forces a\n * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)\n * between before adding the `example-enter-active`. This is an important trick\n * because it allows us to transition between `example-enter` and\n * `example-enter-active` even though they were added immediately one after\n * another. Most notably, this is what makes it possible for us to animate\n * _appearance_.\n *\n * ```css\n * .my-node-enter {\n * opacity: 0;\n * }\n * .my-node-enter-active {\n * opacity: 1;\n * transition: opacity 200ms;\n * }\n * .my-node-exit {\n * opacity: 1;\n * }\n * .my-node-exit-active {\n * opacity: 0;\n * transition: opacity 200ms;\n * }\n * ```\n *\n * `*-active` classes represent which styles you want to animate **to**, so it's\n * important to add `transition` declaration only to them, otherwise transitions\n * might not behave as intended! This might not be obvious when the transitions\n * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in\n * the example above (minus `transition`), but it becomes apparent in more\n * complex transitions.\n *\n * **Note**: If you're using the\n * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)\n * prop, make sure to define styles for `.appear-*` classes as well.\n */\n\n\nvar CSSTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(CSSTransition, _React$Component);\n\n function CSSTransition() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.appliedClasses = {\n appear: {},\n enter: {},\n exit: {}\n };\n\n _this.onEnter = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument[0],\n appearing = _this$resolveArgument[1];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, appearing ? 'appear' : 'enter', 'base');\n\n if (_this.props.onEnter) {\n _this.props.onEnter(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntering = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument2[0],\n appearing = _this$resolveArgument2[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.addClass(node, type, 'active');\n\n if (_this.props.onEntering) {\n _this.props.onEntering(maybeNode, maybeAppearing);\n }\n };\n\n _this.onEntered = function (maybeNode, maybeAppearing) {\n var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),\n node = _this$resolveArgument3[0],\n appearing = _this$resolveArgument3[1];\n\n var type = appearing ? 'appear' : 'enter';\n\n _this.removeClasses(node, type);\n\n _this.addClass(node, type, 'done');\n\n if (_this.props.onEntered) {\n _this.props.onEntered(maybeNode, maybeAppearing);\n }\n };\n\n _this.onExit = function (maybeNode) {\n var _this$resolveArgument4 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument4[0];\n\n _this.removeClasses(node, 'appear');\n\n _this.removeClasses(node, 'enter');\n\n _this.addClass(node, 'exit', 'base');\n\n if (_this.props.onExit) {\n _this.props.onExit(maybeNode);\n }\n };\n\n _this.onExiting = function (maybeNode) {\n var _this$resolveArgument5 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument5[0];\n\n _this.addClass(node, 'exit', 'active');\n\n if (_this.props.onExiting) {\n _this.props.onExiting(maybeNode);\n }\n };\n\n _this.onExited = function (maybeNode) {\n var _this$resolveArgument6 = _this.resolveArguments(maybeNode),\n node = _this$resolveArgument6[0];\n\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, 'exit', 'done');\n\n if (_this.props.onExited) {\n _this.props.onExited(maybeNode);\n }\n };\n\n _this.resolveArguments = function (maybeNode, maybeAppearing) {\n return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`\n : [maybeNode, maybeAppearing];\n };\n\n _this.getClassNames = function (type) {\n var classNames = _this.props.classNames;\n var isStringClassNames = typeof classNames === 'string';\n var prefix = isStringClassNames && classNames ? classNames + \"-\" : '';\n var baseClassName = isStringClassNames ? \"\" + prefix + type : classNames[type];\n var activeClassName = isStringClassNames ? baseClassName + \"-active\" : classNames[type + \"Active\"];\n var doneClassName = isStringClassNames ? baseClassName + \"-done\" : classNames[type + \"Done\"];\n return {\n baseClassName: baseClassName,\n activeClassName: activeClassName,\n doneClassName: doneClassName\n };\n };\n\n return _this;\n }\n\n var _proto = CSSTransition.prototype;\n\n _proto.addClass = function addClass(node, type, phase) {\n var className = this.getClassNames(type)[phase + \"ClassName\"];\n\n var _this$getClassNames = this.getClassNames('enter'),\n doneClassName = _this$getClassNames.doneClassName;\n\n if (type === 'appear' && phase === 'done' && doneClassName) {\n className += \" \" + doneClassName;\n } // This is to force a repaint,\n // which is necessary in order to transition styles when adding a class name.\n\n\n if (phase === 'active') {\n if (node) forceReflow(node);\n }\n\n if (className) {\n this.appliedClasses[type][phase] = className;\n\n _addClass(node, className);\n }\n };\n\n _proto.removeClasses = function removeClasses(node, type) {\n var _this$appliedClasses$ = this.appliedClasses[type],\n baseClassName = _this$appliedClasses$.base,\n activeClassName = _this$appliedClasses$.active,\n doneClassName = _this$appliedClasses$.done;\n this.appliedClasses[type] = {};\n\n if (baseClassName) {\n removeClass(node, baseClassName);\n }\n\n if (activeClassName) {\n removeClass(node, activeClassName);\n }\n\n if (doneClassName) {\n removeClass(node, doneClassName);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n _ = _this$props.classNames,\n props = _objectWithoutPropertiesLoose(_this$props, [\"classNames\"]);\n\n return /*#__PURE__*/React.createElement(Transition, _extends({}, props, {\n onEnter: this.onEnter,\n onEntered: this.onEntered,\n onEntering: this.onEntering,\n onExit: this.onExit,\n onExiting: this.onExiting,\n onExited: this.onExited\n }));\n };\n\n return CSSTransition;\n}(React.Component);\n\nCSSTransition.defaultProps = {\n classNames: ''\n};\nCSSTransition.propTypes = process.env.NODE_ENV !== \"production\" ? _extends({}, Transition.propTypes, {\n /**\n * The animation classNames applied to the component as it appears, enters,\n * exits or has finished the transition. A single name can be provided, which\n * will be suffixed for each stage, e.g. `classNames=\"fade\"` applies:\n *\n * - `fade-appear`, `fade-appear-active`, `fade-appear-done`\n * - `fade-enter`, `fade-enter-active`, `fade-enter-done`\n * - `fade-exit`, `fade-exit-active`, `fade-exit-done`\n *\n * A few details to note about how these classes are applied:\n *\n * 1. They are _joined_ with the ones that are already defined on the child\n * component, so if you want to add some base styles, you can use\n * `className` without worrying that it will be overridden.\n *\n * 2. If the transition component mounts with `in={false}`, no classes are\n * applied yet. You might be expecting `*-exit-done`, but if you think\n * about it, a component cannot finish exiting if it hasn't entered yet.\n *\n * 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This\n * allows you to define different behavior for when appearing is done and\n * when regular entering is done, using selectors like\n * `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply\n * an epic entrance animation when element first appears in the DOM using\n * [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can\n * simply use `fade-enter-done` for defining both cases.\n *\n * Each individual classNames can also be specified independently like:\n *\n * ```js\n * classNames={{\n * appear: 'my-appear',\n * appearActive: 'my-active-appear',\n * appearDone: 'my-done-appear',\n * enter: 'my-enter',\n * enterActive: 'my-active-enter',\n * enterDone: 'my-done-enter',\n * exit: 'my-exit',\n * exitActive: 'my-active-exit',\n * exitDone: 'my-done-exit',\n * }}\n * ```\n *\n * If you want to set these classes using CSS Modules:\n *\n * ```js\n * import styles from './styles.css';\n * ```\n *\n * you might want to use camelCase in your CSS file, that way could simply\n * spread them instead of listing them one by one:\n *\n * ```js\n * classNames={{ ...styles }}\n * ```\n *\n * @type {string | {\n * appear?: string,\n * appearActive?: string,\n * appearDone?: string,\n * enter?: string,\n * enterActive?: string,\n * enterDone?: string,\n * exit?: string,\n * exitActive?: string,\n * exitDone?: string,\n * }}\n */\n classNames: classNamesShape,\n\n /**\n * A `` callback fired immediately after the 'enter' or 'appear' class is\n * applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEnter: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'enter-active' or\n * 'appear-active' class is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'enter' or\n * 'appear' classes are **removed** and the `done` class is added to the DOM node.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntered: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'exit' class is\n * applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExit: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'exit-active' is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExiting: PropTypes.func,\n\n /**\n * A `` callback fired immediately after the 'exit' classes\n * are **removed** and the `exit-done` class is added to the DOM node.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement)\n */\n onExited: PropTypes.func\n}) : {};\nexport default CSSTransition;","import hasClass from './hasClass';\n/**\n * Adds a CSS class to a given element.\n * \n * @param element the element\n * @param className the CSS class name\n */\n\nexport default function addClass(element, className) {\n if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + \" \" + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + \" \" + className);\n}","/**\n * Checks if a given element has a CSS class.\n * \n * @param element the element\n * @param className the CSS class name\n */\nexport default function hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);\n return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}","// code borrowed from https://github.com/reach/reach-ui\n// problem described https://github.com/facebook/react/issues/13029\n\nimport { useMemo } from 'react'\n\nexport type AssignableRef =\n | {\n bivarianceHack(instance: ValueType | null): void\n }['bivarianceHack']\n | React.MutableRefObject\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function useForkedRef(\n ...refs: (AssignableRef | null | undefined)[]\n) {\n return useMemo(() => {\n if (refs.every((ref) => ref == null)) {\n return null\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (node: any) => {\n refs.forEach((ref) => {\n assignRef(ref, node)\n })\n }\n }, refs)\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function assignRef(\n ref: AssignableRef | null | undefined,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n value: any,\n) {\n if (ref == null) return\n if (isFunction(ref)) {\n ref(value)\n } else {\n try {\n ref.current = value\n } catch (error) {\n throw new Error(`Cannot assign value \"${value}\" to ref \"${ref}\"`)\n }\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types\nexport function isFunction(value: any): value is Function {\n return !!(value && {}.toString.call(value) == '[object Function]')\n}\n","import React, { forwardRef, HTMLAttributes, useRef, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CSSTransition } from 'react-transition-group'\n\nimport { useForkedRef } from '../../hooks'\n\nexport interface CCollapseProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Set horizontal collapsing to transition the width instead of height.\n */\n horizontal?: boolean\n /**\n * Callback fired when the component requests to be hidden.\n */\n onHide?: () => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: () => void\n /**\n * Toggle the visibility of component.\n */\n visible?: boolean\n}\n\nexport const CCollapse = forwardRef(\n ({ children, className, horizontal, onHide, onShow, visible, ...rest }, ref) => {\n const collapseRef = useRef(null)\n const forkedRef = useForkedRef(ref, collapseRef)\n\n const [height, setHeight] = useState()\n const [width, setWidth] = useState()\n\n const onEntering = () => {\n onShow && onShow()\n\n if (horizontal) {\n collapseRef.current && setWidth(collapseRef.current.scrollWidth)\n return\n }\n collapseRef.current && setHeight(collapseRef.current.scrollHeight)\n }\n\n const onEntered = () => {\n if (horizontal) {\n setWidth(0)\n return\n }\n setHeight(0)\n }\n\n const onExit = () => {\n if (horizontal) {\n collapseRef.current && setWidth(collapseRef.current.scrollWidth)\n return\n }\n collapseRef.current && setHeight(collapseRef.current.scrollHeight)\n }\n\n const onExiting = () => {\n onHide && onHide()\n if (horizontal) {\n setWidth(0)\n return\n }\n setHeight(0)\n }\n\n const onExited = () => {\n if (horizontal) {\n setWidth(0)\n return\n }\n setHeight(0)\n }\n\n return (\n \n {(state) => {\n const currentHeight = height === 0 ? null : { height }\n const currentWidth = width === 0 ? null : { width }\n return (\n \n {children}\n \n )\n }}\n
\n )\n },\n)\n\nCCollapse.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n horizontal: PropTypes.bool,\n onHide: PropTypes.func,\n onShow: PropTypes.func,\n visible: PropTypes.bool,\n}\n\nCCollapse.displayName = 'CCollapse'\n","import React, { forwardRef, HTMLAttributes, useContext } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CAccordionItemContext } from './CAccordionItem'\n\nimport { CCollapse } from './../collapse/CCollapse'\n\nexport interface CAccordionBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CAccordionBody = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const { visible } = useContext(CAccordionItemContext)\n\n return (\n \n
\n {children}\n
\n
\n )\n },\n)\n\nCAccordionBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCAccordionBody.displayName = 'CAccordionBody'\n","import React, { forwardRef, HTMLAttributes, useContext } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CAccordionItemContext } from './CAccordionItem'\n\nexport interface CAccordionButtonProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CAccordionButton = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const { visible, setVisible } = useContext(CAccordionItemContext)\n\n return (\n setVisible(!visible)}\n {...rest}\n ref={ref}\n >\n {children}\n \n )\n },\n)\n\nCAccordionButton.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCAccordionButton.displayName = 'CAccordionButton'\n","import React, { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { CCollapse, CCollapseProps } from '../collapse/CCollapse'\n\nexport const CAccordionCollapse = forwardRef>(\n ({ children, ...props }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCAccordionCollapse.propTypes = {\n children: PropTypes.node,\n}\n\nCAccordionCollapse.displayName = 'CAccordionCollapse'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CAccordionButton } from './CAccordionButton'\n\nexport interface CAccordionHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CAccordionHeader = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n
\n {children}\n
\n )\n },\n)\n\nCAccordionHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCAccordionHeader.displayName = 'CAccordionHeader'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CCloseButtonProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n /**\n * Change the default color to white.\n */\n white?: boolean\n}\n\nexport const CCloseButton = forwardRef(\n ({ className, disabled, white, ...rest }, ref) => {\n return (\n \n )\n },\n)\n\nCCloseButton.propTypes = {\n className: PropTypes.string,\n disabled: PropTypes.bool,\n white: PropTypes.bool,\n}\n\nCCloseButton.displayName = 'CCloseButton'\n","import PropTypes from 'prop-types'\n\nimport type { Placements, Triggers } from './types'\n\nexport const colorPropType = PropTypes.oneOfType([\n PropTypes.oneOf([\n 'primary',\n 'secondary',\n 'success',\n 'danger',\n 'warning',\n 'info',\n 'dark',\n 'light',\n ]),\n PropTypes.string,\n])\n\nexport const placementPropType = PropTypes.oneOf([\n 'auto',\n 'auto-start',\n 'auto-end',\n 'top-end',\n 'top',\n 'top-start',\n 'bottom-end',\n 'bottom',\n 'bottom-start',\n 'right-start',\n 'right',\n 'right-end',\n 'left-start',\n 'left',\n 'left-end',\n])\n\nexport const shapePropType = PropTypes.oneOfType([\n PropTypes.oneOf([\n 'rounded',\n 'rounded-top',\n 'rounded-end',\n 'rounded-bottom',\n 'rounded-start',\n 'rounded-circle',\n 'rounded-pill',\n 'rounded-0',\n 'rounded-1',\n 'rounded-2',\n 'rounded-3',\n ]),\n PropTypes.string,\n])\n\nexport const textColorsPropType = PropTypes.oneOfType([\n colorPropType,\n PropTypes.oneOf(['white', 'muted']),\n PropTypes.string,\n])\n\nexport const triggerPropType = PropTypes.oneOf(['hover', 'focus', 'click'])\n","import React, { forwardRef, HTMLAttributes, useEffect, useState, useRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Transition } from 'react-transition-group'\n\nimport { CCloseButton } from '../close-button/CCloseButton'\n\nimport { useForkedRef } from '../../hooks'\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CAlertProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color: Colors\n /**\n * Optionally add a close button to alert and allow it to self dismiss.\n */\n dismissible?: boolean\n /**\n * Callback fired when the component requests to be closed.\n */\n onClose?: () => void\n /**\n * Set the alert variant to a solid.\n */\n variant?: 'solid' | string\n /**\n * Toggle the visibility of component.\n */\n visible?: boolean\n}\n\nexport const CAlert = forwardRef(\n (\n {\n children,\n className,\n color = 'primary',\n dismissible,\n variant,\n visible = true,\n onClose,\n ...rest\n },\n ref,\n ) => {\n const alertRef = useRef(null)\n const forkedRef = useForkedRef(ref, alertRef)\n const [_visible, setVisible] = useState(visible)\n\n useEffect(() => {\n setVisible(visible)\n }, [visible])\n\n return (\n \n {(state) => (\n \n {children}\n {dismissible && setVisible(false)} />}\n \n )}\n \n )\n },\n)\n\nCAlert.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType.isRequired,\n dismissible: PropTypes.bool,\n onClose: PropTypes.func,\n variant: PropTypes.string,\n visible: PropTypes.bool,\n}\n\nCAlert.displayName = 'CAlert'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CAlertHeadingProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const CAlertHeading = forwardRef(\n ({ children, className, component: Component = 'h4', ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCAlertHeading.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCAlertHeading.displayName = 'CAlertHeading'\n","import React, { AllHTMLAttributes, ElementType, forwardRef, MouseEvent } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CLinkProps extends AllHTMLAttributes {\n /**\n * Toggle the active state for the component.\n */\n active?: boolean\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n /**\n * The href attribute specifies the URL of the page the link goes to.\n */\n href?: string\n}\n\nexport const CLink = forwardRef(\n ({ children, active, className, component: Component = 'a', disabled, ...rest }, ref) => {\n return (\n `\n className={classNames(className, { active, disabled })}\n {...(active && { 'aria-current': 'page' })}\n {...(Component === 'a' && disabled && { 'aria-disabled': true, tabIndex: -1 })}\n {...((Component === 'a' || Component === 'button') && {\n onClick: (event: MouseEvent) => {\n event.preventDefault\n !disabled && rest.onClick && rest.onClick(event)\n },\n })}\n disabled={disabled}\n {...rest}\n ref={ref}\n >\n {children}\n \n )\n },\n)\n\nCLink.propTypes = {\n active: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n disabled: PropTypes.bool,\n}\n\nCLink.displayName = 'CLink'\n","import React, { AnchorHTMLAttributes, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CLink } from '../link/CLink'\n\nexport interface CAlertLinkProps extends AnchorHTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CAlertLink = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCAlertLink.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCAlertLink.displayName = 'CAlertLink'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { colorPropType, shapePropType, textColorsPropType } from '../../props'\nimport type { Colors, Shapes, TextColors } from '../../types'\n\nexport interface CAvatarProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Select the shape of the component.\n *\n * @type 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string\n */\n shape?: Shapes\n /**\n * Size the component small, large, or extra large.\n */\n size?: string\n /**\n * The src attribute for the img element.\n */\n src?: string\n /**\n * Sets the color context of the status indicator to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n status?: Colors\n /**\n * Sets the text color of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | 'white' | 'muted' | 'high-emphasis' | 'medium-emphasis' | 'disabled' | 'high-emphasis-inverse' | 'medium-emphasis-inverse' | 'disabled-inverse' | string\n */\n textColor?: TextColors\n}\n\nexport const CAvatar = forwardRef(\n ({ children, className, color, shape, size, src, status, textColor, ...rest }, ref) => {\n const statusClassName = status && classNames('avatar-status', `bg-${status}`)\n\n return (\n \n {src ? : children}\n {status && }\n \n )\n },\n)\n\nCAvatar.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n shape: shapePropType,\n size: PropTypes.string,\n src: PropTypes.string,\n status: PropTypes.string,\n textColor: textColorsPropType,\n}\n\nCAvatar.displayName = 'CAvatar'\n","import React, { forwardRef, HTMLAttributes, useRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Transition } from 'react-transition-group'\n\nimport { useForkedRef } from '../../hooks'\n\nexport interface CBackdropProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Toggle the visibility of modal component.\n */\n visible?: boolean\n}\n\nexport const CBackdrop = forwardRef(\n ({ className = 'modal-backdrop', visible, ...rest }, ref) => {\n const backdropRef = useRef(null)\n const forkedRef = useForkedRef(ref, backdropRef)\n\n return (\n \n {(state) => (\n \n )}\n \n )\n },\n)\n\nCBackdrop.propTypes = {\n className: PropTypes.string,\n visible: PropTypes.bool,\n}\n\nCBackdrop.displayName = 'CBackdrop'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { colorPropType, shapePropType, textColorsPropType } from '../../props'\nimport type { Colors, Shapes, TextColors } from '../../types'\n\nexport interface CBadgeProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Position badge in one of the corners of a link or button.\n */\n position?: 'top-start' | 'top-end' | 'bottom-end' | 'bottom-start'\n /**\n * Select the shape of the component.\n *\n * @type 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string\n */\n shape?: Shapes\n /**\n * Size the component small.\n */\n size?: 'sm'\n /**\n * Sets the text color of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | 'white' | 'muted' | 'high-emphasis' | 'medium-emphasis' | 'disabled' | 'high-emphasis-inverse' | 'medium-emphasis-inverse' | 'disabled-inverse' | string\n */\n textColor?: TextColors\n}\nexport const CBadge = forwardRef(\n (\n {\n children,\n className,\n color,\n component: Component = 'span',\n position,\n shape,\n size,\n textColor,\n ...rest\n },\n ref,\n ) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCBadge.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n component: PropTypes.string,\n position: PropTypes.oneOf(['top-start', 'top-end', 'bottom-end', 'bottom-start']),\n shape: shapePropType,\n size: PropTypes.oneOf(['sm']),\n textColor: textColorsPropType,\n}\n\nCBadge.displayName = 'CBadge'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CBreadcrumbProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n}\n\nexport const CBreadcrumb = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n \n )\n },\n)\n\nCBreadcrumb.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCBreadcrumb.displayName = 'CBreadcrumb'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CLink } from '../link/CLink'\n\nexport interface CBreadcrumbItemProps extends HTMLAttributes {\n /**\n * Toggle the active state for the component.\n */\n active?: boolean\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * The `href` attribute for the inner `` component.\n */\n href?: string\n}\n\nexport const CBreadcrumbItem = forwardRef(\n ({ children, active, className, href, ...rest }, ref) => {\n return (\n \n {href ? {children} : children}\n \n )\n },\n)\n\nCBreadcrumbItem.propTypes = {\n active: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n href: PropTypes.string,\n}\n\nCBreadcrumbItem.displayName = 'CBreadcrumbItem'\n","import React, { ElementType, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CLink, CLinkProps } from '../link/CLink'\n\nimport { colorPropType } from '../../props'\nimport type { Colors, Shapes } from '../../types'\n\nexport interface CButtonProps extends Omit {\n /**\n * Toggle the active state for the component.\n */\n active?: boolean\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n /**\n * The href attribute specifies the URL of the page the link goes to.\n */\n href?: string\n /**\n * The role attribute describes the role of an element in programs that can make use of it, such as screen readers or magnifiers.\n */\n role?: string\n /**\n * Select the shape of the component.\n *\n * @type 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string\n */\n shape?: Shapes\n /**\n * Size the component small or large.\n */\n size?: 'sm' | 'lg'\n /**\n * Specifies the type of button. Always specify the type attribute for the `\n \n \n )}\n \n \n )\n },\n)\n\nCCarousel.propTypes = {\n activeIndex: PropTypes.number,\n children: PropTypes.node,\n className: PropTypes.string,\n controls: PropTypes.bool,\n dark: PropTypes.bool,\n indicators: PropTypes.bool,\n interval: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),\n onSlid: PropTypes.func,\n onSlide: PropTypes.func,\n pause: PropTypes.oneOf([false, 'hover']),\n touch: PropTypes.bool,\n transition: PropTypes.oneOf(['slide', 'crossfade']),\n wrap: PropTypes.bool,\n}\n\nCCarousel.displayName = 'CCarousel'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CCarouselCaptionProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CCarouselCaption = forwardRef(\n ({ className, ...rest }, ref) => {\n return
\n },\n)\n\nCCarouselCaption.propTypes = {\n className: PropTypes.string,\n}\n\nCCarouselCaption.displayName = 'CCarouselCaption'\n","import React, { forwardRef, HTMLAttributes, useContext, useEffect, useState, useRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { useForkedRef } from '../../hooks'\nimport { CCarouselContext } from './CCarousel'\nexport interface CCarouselItemProps extends HTMLAttributes {\n /**\n * @ignore\n */\n active?: boolean\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * @ignore\n */\n direction?: string\n /**\n * The amount of time to delay between automatically cycling an item.\n */\n interval?: boolean | number\n}\n\nexport const CCarouselItem = forwardRef(\n ({ children, className, active, direction, interval = false, ...rest }, ref) => {\n const { setAnimating, setCustomInterval } = useContext(CCarouselContext)\n const carouselItemRef = useRef(null)\n const forkedRef = useForkedRef(ref, carouselItemRef)\n\n const prevActive = useRef()\n const [directionClassName, setDirectionClassName] = useState()\n const [orderClassName, setOrderClassName] = useState()\n const [activeClassName, setActiveClassName] = useState(active && 'active')\n const [count, setCount] = useState(0)\n\n useEffect(() => {\n if (active) {\n setCustomInterval(interval)\n if (count !== 0) setOrderClassName(`carousel-item-${direction}`)\n }\n\n if (prevActive.current && !active) {\n setActiveClassName('active')\n }\n\n if (active || prevActive.current) {\n setTimeout(() => {\n if (count !== 0) {\n // @ts-expect-error reflow is necessary to proper transition\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const reflow = carouselItemRef.current?.offsetHeight\n setDirectionClassName(`carousel-item-${direction === 'next' ? 'start' : 'end'}`)\n }\n }, 0)\n }\n\n prevActive.current = active\n\n if (count === 0) setCount(count + 1)\n }, [active])\n\n useEffect(() => {\n carouselItemRef.current?.addEventListener('transitionstart', () => {\n active && setAnimating(true)\n })\n carouselItemRef.current?.addEventListener('transitionend', () => {\n active && setAnimating(false)\n setDirectionClassName('')\n setOrderClassName('')\n if (active) {\n setActiveClassName('active')\n }\n if (!active) {\n setActiveClassName('')\n }\n })\n return () => {\n carouselItemRef.current?.removeEventListener('transitionstart', () => {\n active && setAnimating(true)\n })\n carouselItemRef.current?.removeEventListener('transitionend', () => {\n active && setAnimating(false)\n setDirectionClassName('')\n setOrderClassName('')\n if (active) {\n setActiveClassName('active')\n }\n if (!active) {\n setActiveClassName('')\n }\n })\n }\n })\n\n return (\n \n {children}\n
\n )\n },\n)\n\nCCarouselItem.propTypes = {\n active: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n direction: PropTypes.string,\n interval: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),\n}\n\nCCarouselItem.displayName = 'CCarouselItem'\n","import React, { FC, ReactNode } from 'react'\nimport { createPortal } from 'react-dom'\nimport PropTypes from 'prop-types'\n\nexport interface CConditionalPortalProps {\n /**\n * @ignore\n */\n children: ReactNode\n /**\n * Render some children into a different part of the DOM\n */\n portal: boolean\n}\n\nexport const CConditionalPortal: FC = ({ children, portal }) => {\n return typeof window !== 'undefined' && portal ? (\n createPortal(children, document.body)\n ) : (\n <>{children}\n )\n}\n\nCConditionalPortal.propTypes = {\n children: PropTypes.node,\n portal: PropTypes.bool.isRequired,\n}\n\nCConditionalPortal.displayName = 'CConditionalPortal'\n","import * as React from 'react';\nexport var ManagerReferenceNodeContext = React.createContext();\nexport var ManagerReferenceNodeSetterContext = React.createContext();\nexport function Manager(_ref) {\n var children = _ref.children;\n\n var _React$useState = React.useState(null),\n referenceNode = _React$useState[0],\n setReferenceNode = _React$useState[1];\n\n var hasUnmounted = React.useRef(false);\n React.useEffect(function () {\n return function () {\n hasUnmounted.current = true;\n };\n }, []);\n var handleSetReferenceNode = React.useCallback(function (node) {\n if (!hasUnmounted.current) {\n setReferenceNode(node);\n }\n }, []);\n return /*#__PURE__*/React.createElement(ManagerReferenceNodeContext.Provider, {\n value: referenceNode\n }, /*#__PURE__*/React.createElement(ManagerReferenceNodeSetterContext.Provider, {\n value: handleSetReferenceNode\n }, children));\n}","import * as React from 'react';\n\n/**\n * Takes an argument and if it's an array, returns the first item in the array,\n * otherwise returns the argument. Used for Preact compatibility.\n */\nexport var unwrapArray = function unwrapArray(arg) {\n return Array.isArray(arg) ? arg[0] : arg;\n};\n/**\n * Takes a maybe-undefined function and arbitrary args and invokes the function\n * only if it is defined.\n */\n\nexport var safeInvoke = function safeInvoke(fn) {\n if (typeof fn === 'function') {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return fn.apply(void 0, args);\n }\n};\n/**\n * Sets a ref using either a ref callback or a ref object\n */\n\nexport var setRef = function setRef(ref, node) {\n // if its a function call it\n if (typeof ref === 'function') {\n return safeInvoke(ref, node);\n } // otherwise we should treat it as a ref object\n else if (ref != null) {\n ref.current = node;\n }\n};\n/**\n * Simple ponyfill for Object.fromEntries\n */\n\nexport var fromEntries = function fromEntries(entries) {\n return entries.reduce(function (acc, _ref) {\n var key = _ref[0],\n value = _ref[1];\n acc[key] = value;\n return acc;\n }, {});\n};\n/**\n * Small wrapper around `useLayoutEffect` to get rid of the warning on SSR envs\n */\n\nexport var useIsomorphicLayoutEffect = typeof window !== 'undefined' && window.document && window.document.createElement ? React.useLayoutEffect : React.useEffect;","export var top = 'top';\nexport var bottom = 'bottom';\nexport var right = 'right';\nexport var left = 'left';\nexport var auto = 'auto';\nexport var basePlacements = [top, bottom, right, left];\nexport var start = 'start';\nexport var end = 'end';\nexport var clippingParents = 'clippingParents';\nexport var viewport = 'viewport';\nexport var popper = 'popper';\nexport var reference = 'reference';\nexport var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {\n return acc.concat([placement + \"-\" + start, placement + \"-\" + end]);\n}, []);\nexport var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {\n return acc.concat([placement, placement + \"-\" + start, placement + \"-\" + end]);\n}, []); // modifiers that need to read the DOM\n\nexport var beforeRead = 'beforeRead';\nexport var read = 'read';\nexport var afterRead = 'afterRead'; // pure-logic modifiers\n\nexport var beforeMain = 'beforeMain';\nexport var main = 'main';\nexport var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)\n\nexport var beforeWrite = 'beforeWrite';\nexport var write = 'write';\nexport var afterWrite = 'afterWrite';\nexport var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];","export default function getNodeName(element) {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}","export default function getWindow(node) {\n if (node == null) {\n return window;\n }\n\n if (node.toString() !== '[object Window]') {\n var ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}","import getWindow from \"./getWindow.js\";\n\nfunction isElement(node) {\n var OwnElement = getWindow(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n\nfunction isHTMLElement(node) {\n var OwnElement = getWindow(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\nfunction isShadowRoot(node) {\n // IE 11 has no ShadowRoot\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n\n var OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };","import getNodeName from \"../dom-utils/getNodeName.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n var state = _ref.state;\n Object.keys(state.elements).forEach(function (name) {\n var style = state.styles[name] || {};\n var attributes = state.attributes[name] || {};\n var element = state.elements[name]; // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (name) {\n var value = attributes[name];\n\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state;\n var initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0'\n },\n arrow: {\n position: 'absolute'\n },\n reference: {}\n };\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return function () {\n Object.keys(state.elements).forEach(function (name) {\n var element = state.elements[name];\n var attributes = state.attributes[name] || {};\n var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n var style = styleProperties.reduce(function (style, property) {\n style[property] = '';\n return style;\n }, {}); // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (attribute) {\n element.removeAttribute(attribute);\n });\n });\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect: effect,\n requires: ['computeStyles']\n};","import { auto } from \"../enums.js\";\nexport default function getBasePlacement(placement) {\n return placement.split('-')[0];\n}","export var max = Math.max;\nexport var min = Math.min;\nexport var round = Math.round;","export default function getUAString() {\n var uaData = navigator.userAgentData;\n\n if (uaData != null && uaData.brands) {\n return uaData.brands.map(function (item) {\n return item.brand + \"/\" + item.version;\n }).join(' ');\n }\n\n return navigator.userAgent;\n}","import getUAString from \"../utils/userAgent.js\";\nexport default function isLayoutViewport() {\n return !/^((?!chrome|android).)*safari/i.test(getUAString());\n}","import { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport { round } from \"../utils/math.js\";\nimport getWindow from \"./getWindow.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getBoundingClientRect(element, includeScale, isFixedStrategy) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n\n var clientRect = element.getBoundingClientRect();\n var scaleX = 1;\n var scaleY = 1;\n\n if (includeScale && isHTMLElement(element)) {\n scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;\n scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;\n }\n\n var _ref = isElement(element) ? getWindow(element) : window,\n visualViewport = _ref.visualViewport;\n\n var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;\n var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;\n var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;\n var width = clientRect.width / scaleX;\n var height = clientRect.height / scaleY;\n return {\n width: width,\n height: height,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x,\n x: x,\n y: y\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\"; // Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\n\nexport default function getLayoutRect(element) {\n var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.\n // Fixes https://github.com/popperjs/popper-core/issues/1223\n\n var width = element.offsetWidth;\n var height = element.offsetHeight;\n\n if (Math.abs(clientRect.width - width) <= 1) {\n width = clientRect.width;\n }\n\n if (Math.abs(clientRect.height - height) <= 1) {\n height = clientRect.height;\n }\n\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width: width,\n height: height\n };\n}","import { isShadowRoot } from \"./instanceOf.js\";\nexport default function contains(parent, child) {\n var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method\n\n if (parent.contains(child)) {\n return true;\n } // then fallback to custom implementation with Shadow DOM support\n else if (rootNode && isShadowRoot(rootNode)) {\n var next = child;\n\n do {\n if (next && parent.isSameNode(next)) {\n return true;\n } // $FlowFixMe[prop-missing]: need a better way to handle this...\n\n\n next = next.parentNode || next.host;\n } while (next);\n } // Give up, the result is false\n\n\n return false;\n}","import getWindow from \"./getWindow.js\";\nexport default function getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}","import getNodeName from \"./getNodeName.js\";\nexport default function isTableElement(element) {\n return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;\n}","import { isElement } from \"./instanceOf.js\";\nexport default function getDocumentElement(element) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]\n element.document) || window.document).documentElement;\n}","import getNodeName from \"./getNodeName.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport { isShadowRoot } from \"./instanceOf.js\";\nexport default function getParentNode(element) {\n if (getNodeName(element) === 'html') {\n return element;\n }\n\n return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || ( // DOM Element detected\n isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n getDocumentElement(element) // fallback\n\n );\n}","import getWindow from \"./getWindow.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isHTMLElement, isShadowRoot } from \"./instanceOf.js\";\nimport isTableElement from \"./isTableElement.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getUAString from \"../utils/userAgent.js\";\n\nfunction getTrueOffsetParent(element) {\n if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837\n getComputedStyle(element).position === 'fixed') {\n return null;\n }\n\n return element.offsetParent;\n} // `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\n\n\nfunction getContainingBlock(element) {\n var isFirefox = /firefox/i.test(getUAString());\n var isIE = /Trident/i.test(getUAString());\n\n if (isIE && isHTMLElement(element)) {\n // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n var elementCss = getComputedStyle(element);\n\n if (elementCss.position === 'fixed') {\n return null;\n }\n }\n\n var currentNode = getParentNode(element);\n\n if (isShadowRoot(currentNode)) {\n currentNode = currentNode.host;\n }\n\n while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {\n var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n\n if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\n\n\nexport default function getOffsetParent(element) {\n var window = getWindow(element);\n var offsetParent = getTrueOffsetParent(element);\n\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}","export default function getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';\n}","import { max as mathMax, min as mathMin } from \"./math.js\";\nexport function within(min, value, max) {\n return mathMax(min, mathMin(value, max));\n}\nexport function withinMaxClamp(min, value, max) {\n var v = within(min, value, max);\n return v > max ? max : v;\n}","import getFreshSideObject from \"./getFreshSideObject.js\";\nexport default function mergePaddingObject(paddingObject) {\n return Object.assign({}, getFreshSideObject(), paddingObject);\n}","export default function getFreshSideObject() {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n };\n}","export default function expandToHashMap(value, keys) {\n return keys.reduce(function (hashMap, key) {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport { within } from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n placement: state.placement\n })) : padding;\n return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = toPaddingObject(options.padding, state);\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = getOffsetParent(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (process.env.NODE_ENV !== \"production\") {\n if (!isHTMLElement(arrowElement)) {\n console.error(['Popper: \"arrow\" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(['Popper: \"arrow\" modifier\\'s `element` must be a child of the popper', 'element.'].join(' '));\n }\n\n return;\n }\n\n state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};","export default function getVariation(placement) {\n return placement.split('-')[1];\n}","import { top, left, right, bottom, end } from \"../enums.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getWindow from \"../dom-utils/getWindow.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getComputedStyle from \"../dom-utils/getComputedStyle.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport { round } from \"../utils/math.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsetsByDPR(_ref) {\n var x = _ref.x,\n y = _ref.y;\n var win = window;\n var dpr = win.devicePixelRatio || 1;\n return {\n x: round(x * dpr) / dpr || 0,\n y: round(y * dpr) / dpr || 0\n };\n}\n\nexport function mapToStyles(_ref2) {\n var _Object$assign2;\n\n var popper = _ref2.popper,\n popperRect = _ref2.popperRect,\n placement = _ref2.placement,\n variation = _ref2.variation,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive,\n roundOffsets = _ref2.roundOffsets,\n isFixed = _ref2.isFixed;\n var _offsets$x = offsets.x,\n x = _offsets$x === void 0 ? 0 : _offsets$x,\n _offsets$y = offsets.y,\n y = _offsets$y === void 0 ? 0 : _offsets$y;\n\n var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({\n x: x,\n y: y\n }) : {\n x: x,\n y: y\n };\n\n x = _ref3.x;\n y = _ref3.y;\n var hasX = offsets.hasOwnProperty('x');\n var hasY = offsets.hasOwnProperty('y');\n var sideX = left;\n var sideY = top;\n var win = window;\n\n if (adaptive) {\n var offsetParent = getOffsetParent(popper);\n var heightProp = 'clientHeight';\n var widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n\n offsetParent = offsetParent;\n\n if (placement === top || (placement === left || placement === right) && variation === end) {\n sideY = bottom;\n var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]\n offsetParent[heightProp];\n y -= offsetY - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === left || (placement === top || placement === bottom) && variation === end) {\n sideX = right;\n var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]\n offsetParent[widthProp];\n x -= offsetX - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n var _ref4 = roundOffsets === true ? roundOffsetsByDPR({\n x: x,\n y: y\n }) : {\n x: x,\n y: y\n };\n\n x = _ref4.x;\n y = _ref4.y;\n\n if (gpuAcceleration) {\n var _Object$assign;\n\n return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n }\n\n return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref5) {\n var state = _ref5.state,\n options = _ref5.options;\n var _options$gpuAccelerat = options.gpuAcceleration,\n gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n _options$adaptive = options.adaptive,\n adaptive = _options$adaptive === void 0 ? true : _options$adaptive,\n _options$roundOffsets = options.roundOffsets,\n roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;\n\n if (process.env.NODE_ENV !== \"production\") {\n var transitionProperty = getComputedStyle(state.elements.popper).transitionProperty || '';\n\n if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {\n return transitionProperty.indexOf(property) >= 0;\n })) {\n console.warn(['Popper: Detected CSS transitions on at least one of the following', 'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".', '\\n\\n', 'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow', 'for smooth transitions, or remove these properties from the CSS', 'transition declaration on the popper element if only transitioning', 'opacity or background-color for example.', '\\n\\n', 'We recommend using the popper element as a wrapper around an inner', 'element that can have any CSS property transitioned for animations.'].join(' '));\n }\n }\n\n var commonStyles = {\n placement: getBasePlacement(state.placement),\n variation: getVariation(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration,\n isFixed: state.options.strategy === 'fixed'\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive: adaptive,\n roundOffsets: roundOffsets\n })));\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets: roundOffsets\n })));\n }\n\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-placement': state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {}\n};","import getWindow from \"../dom-utils/getWindow.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar passive = {\n passive: true\n};\n\nfunction effect(_ref) {\n var state = _ref.state,\n instance = _ref.instance,\n options = _ref.options;\n var _options$scroll = options.scroll,\n scroll = _options$scroll === void 0 ? true : _options$scroll,\n _options$resize = options.resize,\n resize = _options$resize === void 0 ? true : _options$resize;\n var window = getWindow(state.elements.popper);\n var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return function () {\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: function fn() {},\n effect: effect,\n data: {}\n};","var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nexport default function getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}","var hash = {\n start: 'end',\n end: 'start'\n};\nexport default function getOppositeVariationPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}","import getWindow from \"./getWindow.js\";\nexport default function getWindowScroll(node) {\n var win = getWindow(node);\n var scrollLeft = win.pageXOffset;\n var scrollTop = win.pageYOffset;\n return {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nexport default function getWindowScrollBarX(element) {\n // If has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on \n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n}","import getComputedStyle from \"./getComputedStyle.js\";\nexport default function isScrollParent(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = getComputedStyle(element),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY;\n\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}","import getParentNode from \"./getParentNode.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nexport default function getScrollParent(node) {\n if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (isHTMLElement(node) && isScrollParent(node)) {\n return node;\n }\n\n return getScrollParent(getParentNode(node));\n}","import getScrollParent from \"./getScrollParent.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getWindow from \"./getWindow.js\";\nimport isScrollParent from \"./isScrollParent.js\";\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\n\nexport default function listScrollParents(element, list) {\n var _element$ownerDocumen;\n\n if (list === void 0) {\n list = [];\n }\n\n var scrollParent = getScrollParent(element);\n var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);\n var win = getWindow(scrollParent);\n var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n var updatedList = list.concat(target);\n return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(getParentNode(target)));\n}","export default function rectToClientRect(rect) {\n return Object.assign({}, rect, {\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n });\n}","import { viewport } from \"../enums.js\";\nimport getViewportRect from \"./getViewportRect.js\";\nimport getDocumentRect from \"./getDocumentRect.js\";\nimport listScrollParents from \"./listScrollParents.js\";\nimport getOffsetParent from \"./getOffsetParent.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport contains from \"./contains.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport rectToClientRect from \"../utils/rectToClientRect.js\";\nimport { max, min } from \"../utils/math.js\";\n\nfunction getInnerBoundingClientRect(element, strategy) {\n var rect = getBoundingClientRect(element, false, strategy === 'fixed');\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n return rect;\n}\n\nfunction getClientRectFromMixedType(element, clippingParent, strategy) {\n return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n} // A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingParents(element) {\n var clippingParents = listScrollParents(getParentNode(element));\n var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;\n var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;\n\n if (!isElement(clipperElement)) {\n return [];\n } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n\n\n return clippingParents.filter(function (clippingParent) {\n return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';\n });\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping parents\n\n\nexport default function getClippingRect(element, boundary, rootBoundary, strategy) {\n var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n var clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n var firstClippingParent = clippingParents[0];\n var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {\n var rect = getClientRectFromMixedType(element, clippingParent, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent, strategy));\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n return clippingRect;\n}","import getWindow from \"./getWindow.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getViewportRect(element, strategy) {\n var win = getWindow(element);\n var html = getDocumentElement(element);\n var visualViewport = win.visualViewport;\n var width = html.clientWidth;\n var height = html.clientHeight;\n var x = 0;\n var y = 0;\n\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n var layoutViewport = isLayoutViewport();\n\n if (layoutViewport || !layoutViewport && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width: width,\n height: height,\n x: x + getWindowScrollBarX(element),\n y: y\n };\n}","import getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nimport { max } from \"../utils/math.js\"; // Gets the entire size of the scrollable document area, even extending outside\n// of the `` and `` rect bounds if horizontally scrollable\n\nexport default function getDocumentRect(element) {\n var _element$ownerDocumen;\n\n var html = getDocumentElement(element);\n var winScroll = getWindowScroll(element);\n var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n var x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n var y = -winScroll.scrollTop;\n\n if (getComputedStyle(body || html).direction === 'rtl') {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return {\n width: width,\n height: height,\n x: x,\n y: y\n };\n}","import getBasePlacement from \"./getBasePlacement.js\";\nimport getVariation from \"./getVariation.js\";\nimport getMainAxisFromPlacement from \"./getMainAxisFromPlacement.js\";\nimport { top, right, bottom, left, start, end } from \"../enums.js\";\nexport default function computeOffsets(_ref) {\n var reference = _ref.reference,\n element = _ref.element,\n placement = _ref.placement;\n var basePlacement = placement ? getBasePlacement(placement) : null;\n var variation = placement ? getVariation(placement) : null;\n var commonX = reference.x + reference.width / 2 - element.width / 2;\n var commonY = reference.y + reference.height / 2 - element.height / 2;\n var offsets;\n\n switch (basePlacement) {\n case top:\n offsets = {\n x: commonX,\n y: reference.y - element.height\n };\n break;\n\n case bottom:\n offsets = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n\n case right:\n offsets = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n\n case left:\n offsets = {\n x: reference.x - element.width,\n y: commonY\n };\n break;\n\n default:\n offsets = {\n x: reference.x,\n y: reference.y\n };\n }\n\n var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;\n\n if (mainAxis != null) {\n var len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case start:\n offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n\n case end:\n offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n\n default:\n }\n }\n\n return offsets;\n}","import getClippingRect from \"../dom-utils/getClippingRect.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getBoundingClientRect from \"../dom-utils/getBoundingClientRect.js\";\nimport computeOffsets from \"./computeOffsets.js\";\nimport rectToClientRect from \"./rectToClientRect.js\";\nimport { clippingParents, reference, popper, bottom, top, right, basePlacements, viewport } from \"../enums.js\";\nimport { isElement } from \"../dom-utils/instanceOf.js\";\nimport mergePaddingObject from \"./mergePaddingObject.js\";\nimport expandToHashMap from \"./expandToHashMap.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport default function detectOverflow(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$placement = _options.placement,\n placement = _options$placement === void 0 ? state.placement : _options$placement,\n _options$strategy = _options.strategy,\n strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,\n _options$boundary = _options.boundary,\n boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,\n _options$rootBoundary = _options.rootBoundary,\n rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,\n _options$elementConte = _options.elementContext,\n elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,\n _options$altBoundary = _options.altBoundary,\n altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,\n _options$padding = _options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding;\n var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n var altContext = elementContext === popper ? reference : popper;\n var popperRect = state.rects.popper;\n var element = state.elements[altBoundary ? altContext : elementContext];\n var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);\n var referenceClientRect = getBoundingClientRect(state.elements.reference);\n var popperOffsets = computeOffsets({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement: placement\n });\n var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));\n var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n\n var overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n };\n var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element\n\n if (elementContext === popper && offsetData) {\n var offset = offsetData[placement];\n Object.keys(overflowOffsets).forEach(function (key) {\n var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;\n var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}","import getVariation from \"./getVariation.js\";\nimport { variationPlacements, basePlacements, placements as allPlacements } from \"../enums.js\";\nimport detectOverflow from \"./detectOverflow.js\";\nimport getBasePlacement from \"./getBasePlacement.js\";\nexport default function computeAutoPlacement(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n placement = _options.placement,\n boundary = _options.boundary,\n rootBoundary = _options.rootBoundary,\n padding = _options.padding,\n flipVariations = _options.flipVariations,\n _options$allowedAutoP = _options.allowedAutoPlacements,\n allowedAutoPlacements = _options$allowedAutoP === void 0 ? allPlacements : _options$allowedAutoP;\n var variation = getVariation(placement);\n var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {\n return getVariation(placement) === variation;\n }) : basePlacements;\n var allowedPlacements = placements.filter(function (placement) {\n return allowedAutoPlacements.indexOf(placement) >= 0;\n });\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n\n if (process.env.NODE_ENV !== \"production\") {\n console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, \"auto\" cannot be used to allow \"bottom-start\".', 'Use \"auto-start\" instead.'].join(' '));\n }\n } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n\n\n var overflows = allowedPlacements.reduce(function (acc, placement) {\n acc[placement] = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n })[getBasePlacement(placement)];\n return acc;\n }, {});\n return Object.keys(overflows).sort(function (a, b) {\n return overflows[a] - overflows[b];\n });\n}","import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\"; // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = getBasePlacement(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = getBasePlacement(placement);\n\n var isStartVariation = getVariation(placement) === start;\n var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n var altVariationSide = getOppositePlacement(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n};","import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = getBasePlacement(placement);\n var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [left, right].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = placements.reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n};","import { top, left, right, bottom, start } from \"../enums.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport getAltAxis from \"../utils/getAltAxis.js\";\nimport { within, withinMaxClamp } from \"../utils/within.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport getFreshSideObject from \"../utils/getFreshSideObject.js\";\nimport { min as mathMin, max as mathMax } from \"../utils/math.js\";\n\nfunction preventOverflow(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n padding = options.padding,\n _options$tether = options.tether,\n tether = _options$tether === void 0 ? true : _options$tether,\n _options$tetherOffset = options.tetherOffset,\n tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;\n var overflow = detectOverflow(state, {\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n altBoundary: altBoundary\n });\n var basePlacement = getBasePlacement(state.placement);\n var variation = getVariation(state.placement);\n var isBasePlacement = !variation;\n var mainAxis = getMainAxisFromPlacement(basePlacement);\n var altAxis = getAltAxis(mainAxis);\n var popperOffsets = state.modifiersData.popperOffsets;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {\n placement: state.placement\n })) : tetherOffset;\n var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {\n mainAxis: tetherOffsetValue,\n altAxis: tetherOffsetValue\n } : Object.assign({\n mainAxis: 0,\n altAxis: 0\n }, tetherOffsetValue);\n var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;\n var data = {\n x: 0,\n y: 0\n };\n\n if (!popperOffsets) {\n return;\n }\n\n if (checkMainAxis) {\n var _offsetModifierState$;\n\n var mainSide = mainAxis === 'y' ? top : left;\n var altSide = mainAxis === 'y' ? bottom : right;\n var len = mainAxis === 'y' ? 'height' : 'width';\n var offset = popperOffsets[mainAxis];\n var min = offset + overflow[mainSide];\n var max = offset - overflow[altSide];\n var additive = tether ? -popperRect[len] / 2 : 0;\n var minLen = variation === start ? referenceRect[len] : popperRect[len];\n var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go\n // outside the reference bounds\n\n var arrowElement = state.elements.arrow;\n var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {\n width: 0,\n height: 0\n };\n var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();\n var arrowPaddingMin = arrowPaddingObject[mainSide];\n var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want\n // to include its full size in the calculation. If the reference is small\n // and near the edge of a boundary, the popper can overflow even if the\n // reference is not overflowing as well (e.g. virtual elements with no\n // width or height)\n\n var arrowLen = within(0, referenceRect[len], arrowRect[len]);\n var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;\n var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;\n var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);\n var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;\n var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;\n var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;\n var tetherMax = offset + maxOffset - offsetModifierValue;\n var preventedOffset = within(tether ? mathMin(min, tetherMin) : min, offset, tether ? mathMax(max, tetherMax) : max);\n popperOffsets[mainAxis] = preventedOffset;\n data[mainAxis] = preventedOffset - offset;\n }\n\n if (checkAltAxis) {\n var _offsetModifierState$2;\n\n var _mainSide = mainAxis === 'x' ? top : left;\n\n var _altSide = mainAxis === 'x' ? bottom : right;\n\n var _offset = popperOffsets[altAxis];\n\n var _len = altAxis === 'y' ? 'height' : 'width';\n\n var _min = _offset + overflow[_mainSide];\n\n var _max = _offset - overflow[_altSide];\n\n var isOriginSide = [top, left].indexOf(basePlacement) !== -1;\n\n var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;\n\n var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;\n\n var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;\n\n var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);\n\n popperOffsets[altAxis] = _preventedOffset;\n data[altAxis] = _preventedOffset - _offset;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'preventOverflow',\n enabled: true,\n phase: 'main',\n fn: preventOverflow,\n requiresIfExists: ['offset']\n};","export default function getAltAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getNodeScroll from \"./getNodeScroll.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport { round } from \"../utils/math.js\";\n\nfunction isElementScaled(element) {\n var rect = element.getBoundingClientRect();\n var scaleX = round(rect.width) / element.offsetWidth || 1;\n var scaleY = round(rect.height) / element.offsetHeight || 1;\n return scaleX !== 1 || scaleY !== 1;\n} // Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\n\n\nexport default function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n\n var isOffsetParentAnElement = isHTMLElement(offsetParent);\n var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);\n var documentElement = getDocumentElement(offsetParent);\n var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);\n var scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n var offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078\n isScrollParent(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n\n if (isHTMLElement(offsetParent)) {\n offsets = getBoundingClientRect(offsetParent, true);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}","import getWindowScroll from \"./getWindowScroll.js\";\nimport getWindow from \"./getWindow.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getHTMLElementScroll from \"./getHTMLElementScroll.js\";\nexport default function getNodeScroll(node) {\n if (node === getWindow(node) || !isHTMLElement(node)) {\n return getWindowScroll(node);\n } else {\n return getHTMLElementScroll(node);\n }\n}","export default function getHTMLElementScroll(element) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n}","import { modifierPhases } from \"../enums.js\"; // source: https://stackoverflow.com/questions/49875255\n\nfunction order(modifiers) {\n var map = new Map();\n var visited = new Set();\n var result = [];\n modifiers.forEach(function (modifier) {\n map.set(modifier.name, modifier);\n }); // On visiting object, check for its dependencies and visit them recursively\n\n function sort(modifier) {\n visited.add(modifier.name);\n var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n requires.forEach(function (dep) {\n if (!visited.has(dep)) {\n var depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n result.push(modifier);\n }\n\n modifiers.forEach(function (modifier) {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n return result;\n}\n\nexport default function orderModifiers(modifiers) {\n // order based on dependencies\n var orderedModifiers = order(modifiers); // order based on phase\n\n return modifierPhases.reduce(function (acc, phase) {\n return acc.concat(orderedModifiers.filter(function (modifier) {\n return modifier.phase === phase;\n }));\n }, []);\n}","export default function debounce(fn) {\n var pending;\n return function () {\n if (!pending) {\n pending = new Promise(function (resolve) {\n Promise.resolve().then(function () {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}","import getCompositeRect from \"./dom-utils/getCompositeRect.js\";\nimport getLayoutRect from \"./dom-utils/getLayoutRect.js\";\nimport listScrollParents from \"./dom-utils/listScrollParents.js\";\nimport getOffsetParent from \"./dom-utils/getOffsetParent.js\";\nimport getComputedStyle from \"./dom-utils/getComputedStyle.js\";\nimport orderModifiers from \"./utils/orderModifiers.js\";\nimport debounce from \"./utils/debounce.js\";\nimport validateModifiers from \"./utils/validateModifiers.js\";\nimport uniqueBy from \"./utils/uniqueBy.js\";\nimport getBasePlacement from \"./utils/getBasePlacement.js\";\nimport mergeByName from \"./utils/mergeByName.js\";\nimport detectOverflow from \"./utils/detectOverflow.js\";\nimport { isElement } from \"./dom-utils/instanceOf.js\";\nimport { auto } from \"./enums.js\";\nvar INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\nvar INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\nvar DEFAULT_OPTIONS = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute'\n};\n\nfunction areValidElements() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return !args.some(function (element) {\n return !(element && typeof element.getBoundingClientRect === 'function');\n });\n}\n\nexport function popperGenerator(generatorOptions) {\n if (generatorOptions === void 0) {\n generatorOptions = {};\n }\n\n var _generatorOptions = generatorOptions,\n _generatorOptions$def = _generatorOptions.defaultModifiers,\n defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,\n _generatorOptions$def2 = _generatorOptions.defaultOptions,\n defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;\n return function createPopper(reference, popper, options) {\n if (options === void 0) {\n options = defaultOptions;\n }\n\n var state = {\n placement: 'bottom',\n orderedModifiers: [],\n options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),\n modifiersData: {},\n elements: {\n reference: reference,\n popper: popper\n },\n attributes: {},\n styles: {}\n };\n var effectCleanupFns = [];\n var isDestroyed = false;\n var instance = {\n state: state,\n setOptions: function setOptions(setOptionsAction) {\n var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;\n cleanupModifierEffects();\n state.options = Object.assign({}, defaultOptions, state.options, options);\n state.scrollParents = {\n reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],\n popper: listScrollParents(popper)\n }; // Orders the modifiers based on their dependencies and `phase`\n // properties\n\n var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers\n\n state.orderedModifiers = orderedModifiers.filter(function (m) {\n return m.enabled;\n }); // Validate the provided modifiers so that the consumer will get warned\n // if one of the modifiers is invalid for any reason\n\n if (process.env.NODE_ENV !== \"production\") {\n var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref) {\n var name = _ref.name;\n return name;\n });\n validateModifiers(modifiers);\n\n if (getBasePlacement(state.options.placement) === auto) {\n var flipModifier = state.orderedModifiers.find(function (_ref2) {\n var name = _ref2.name;\n return name === 'flip';\n });\n\n if (!flipModifier) {\n console.error(['Popper: \"auto\" placements require the \"flip\" modifier be', 'present and enabled to work.'].join(' '));\n }\n }\n\n var _getComputedStyle = getComputedStyle(popper),\n marginTop = _getComputedStyle.marginTop,\n marginRight = _getComputedStyle.marginRight,\n marginBottom = _getComputedStyle.marginBottom,\n marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can\n // cause bugs with positioning, so we'll warn the consumer\n\n\n if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) {\n return parseFloat(margin);\n })) {\n console.warn(['Popper: CSS \"margin\" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' '));\n }\n }\n\n runModifierEffects();\n return instance.update();\n },\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate: function forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n var _state$elements = state.elements,\n reference = _state$elements.reference,\n popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n\n if (!areValidElements(reference, popper)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return;\n } // Store the reference and popper rects to be read by modifiers\n\n\n state.rects = {\n reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),\n popper: getLayoutRect(popper)\n }; // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n\n state.reset = false;\n state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n\n state.orderedModifiers.forEach(function (modifier) {\n return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);\n });\n var __debug_loops__ = 0;\n\n for (var index = 0; index < state.orderedModifiers.length; index++) {\n if (process.env.NODE_ENV !== \"production\") {\n __debug_loops__ += 1;\n\n if (__debug_loops__ > 100) {\n console.error(INFINITE_LOOP_ERROR);\n break;\n }\n }\n\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n var _state$orderedModifie = state.orderedModifiers[index],\n fn = _state$orderedModifie.fn,\n _state$orderedModifie2 = _state$orderedModifie.options,\n _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,\n name = _state$orderedModifie.name;\n\n if (typeof fn === 'function') {\n state = fn({\n state: state,\n options: _options,\n name: name,\n instance: instance\n }) || state;\n }\n }\n },\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: debounce(function () {\n return new Promise(function (resolve) {\n instance.forceUpdate();\n resolve(state);\n });\n }),\n destroy: function destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n }\n };\n\n if (!areValidElements(reference, popper)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return instance;\n }\n\n instance.setOptions(options).then(function (state) {\n if (!isDestroyed && options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n }); // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n\n function runModifierEffects() {\n state.orderedModifiers.forEach(function (_ref3) {\n var name = _ref3.name,\n _ref3$options = _ref3.options,\n options = _ref3$options === void 0 ? {} : _ref3$options,\n effect = _ref3.effect;\n\n if (typeof effect === 'function') {\n var cleanupFn = effect({\n state: state,\n name: name,\n instance: instance,\n options: options\n });\n\n var noopFn = function noopFn() {};\n\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach(function (fn) {\n return fn();\n });\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\nexport var createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules\n\nexport { detectOverflow };","export default function mergeByName(modifiers) {\n var merged = modifiers.reduce(function (merged, current) {\n var existing = merged[current.name];\n merged[current.name] = existing ? Object.assign({}, existing, current, {\n options: Object.assign({}, existing.options, current.options),\n data: Object.assign({}, existing.data, current.data)\n }) : current;\n return merged;\n }, {}); // IE11 does not support Object.values\n\n return Object.keys(merged).map(function (key) {\n return merged[key];\n });\n}","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nimport offset from \"./modifiers/offset.js\";\nimport flip from \"./modifiers/flip.js\";\nimport preventOverflow from \"./modifiers/preventOverflow.js\";\nimport arrow from \"./modifiers/arrow.js\";\nimport hide from \"./modifiers/hide.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];\nvar createPopper = /*#__PURE__*/popperGenerator({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper as createPopperLite } from \"./popper-lite.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport * from \"./modifiers/index.js\";","import computeOffsets from \"../utils/computeOffsets.js\";\n\nfunction popperOffsets(_ref) {\n var state = _ref.state,\n name = _ref.name;\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {}\n};","/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */\n\nvar hasElementType = typeof Element !== 'undefined';\nvar hasMap = typeof Map === 'function';\nvar hasSet = typeof Set === 'function';\nvar hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;\n\n// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js\n\nfunction equal(a, b) {\n // START: fast-deep-equal es6/index.js 3.1.3\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n // START: Modifications:\n // 1. Extra `has &&` helpers in initial condition allow es6 code\n // to co-exist with es5.\n // 2. Replace `for of` with es5 compliant iteration using `for`.\n // Basically, take:\n //\n // ```js\n // for (i of a.entries())\n // if (!b.has(i[0])) return false;\n // ```\n //\n // ... and convert to:\n //\n // ```js\n // it = a.entries();\n // while (!(i = it.next()).done)\n // if (!b.has(i.value[0])) return false;\n // ```\n //\n // **Note**: `i` access switches to `i.value`.\n var it;\n if (hasMap && (a instanceof Map) && (b instanceof Map)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!equal(i.value[1], b.get(i.value[0]))) return false;\n return true;\n }\n\n if (hasSet && (a instanceof Set) && (b instanceof Set)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n return true;\n }\n // END: Modifications\n\n if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (a[i] !== b[i]) return false;\n return true;\n }\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n // START: Modifications:\n // Apply guards for `Object.create(null)` handling. See:\n // - https://github.com/FormidableLabs/react-fast-compare/issues/64\n // - https://github.com/epoberezkin/fast-deep-equal/issues/49\n if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === 'function' && typeof b.valueOf === 'function') return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString && typeof a.toString === 'function' && typeof b.toString === 'function') return a.toString() === b.toString();\n // END: Modifications\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n // END: fast-deep-equal\n\n // START: react-fast-compare\n // custom handling for DOM elements\n if (hasElementType && a instanceof Element) return false;\n\n // custom handling for React/Preact\n for (i = length; i-- !== 0;) {\n if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {\n // React-specific: avoid traversing React elements' _owner\n // Preact-specific: avoid traversing Preact elements' __v and __o\n // __v = $_original / $_vnode\n // __o = $_owner\n // These properties contain circular references and are not needed when\n // comparing the actual elements (and not their owners)\n // .$$typeof and ._store on just reasonable markers of elements\n\n continue;\n }\n\n // all other properties should be traversed as usual\n if (!equal(a[keys[i]], b[keys[i]])) return false;\n }\n // END: react-fast-compare\n\n // START: fast-deep-equal\n return true;\n }\n\n return a !== a && b !== b;\n}\n// end fast-deep-equal\n\nmodule.exports = function isEqual(a, b) {\n try {\n return equal(a, b);\n } catch (error) {\n if (((error.message || '').match(/stack|recursion/i))) {\n // warn on circular references, don't crash\n // browsers give this different errors name and messages:\n // chrome/safari: \"RangeError\", \"Maximum call stack size exceeded\"\n // firefox: \"InternalError\", too much recursion\"\n // edge: \"Error\", \"Out of stack space\"\n console.warn('react-fast-compare cannot handle circular refs');\n return false;\n }\n // some other error. we should definitely know about these\n throw error;\n }\n};\n","import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { createPopper as defaultCreatePopper } from '@popperjs/core';\nimport isEqual from 'react-fast-compare';\nimport { fromEntries, useIsomorphicLayoutEffect } from './utils';\nvar EMPTY_MODIFIERS = [];\nexport var usePopper = function usePopper(referenceElement, popperElement, options) {\n if (options === void 0) {\n options = {};\n }\n\n var prevOptions = React.useRef(null);\n var optionsWithDefaults = {\n onFirstUpdate: options.onFirstUpdate,\n placement: options.placement || 'bottom',\n strategy: options.strategy || 'absolute',\n modifiers: options.modifiers || EMPTY_MODIFIERS\n };\n\n var _React$useState = React.useState({\n styles: {\n popper: {\n position: optionsWithDefaults.strategy,\n left: '0',\n top: '0'\n },\n arrow: {\n position: 'absolute'\n }\n },\n attributes: {}\n }),\n state = _React$useState[0],\n setState = _React$useState[1];\n\n var updateStateModifier = React.useMemo(function () {\n return {\n name: 'updateState',\n enabled: true,\n phase: 'write',\n fn: function fn(_ref) {\n var state = _ref.state;\n var elements = Object.keys(state.elements);\n ReactDOM.flushSync(function () {\n setState({\n styles: fromEntries(elements.map(function (element) {\n return [element, state.styles[element] || {}];\n })),\n attributes: fromEntries(elements.map(function (element) {\n return [element, state.attributes[element]];\n }))\n });\n });\n },\n requires: ['computeStyles']\n };\n }, []);\n var popperOptions = React.useMemo(function () {\n var newOptions = {\n onFirstUpdate: optionsWithDefaults.onFirstUpdate,\n placement: optionsWithDefaults.placement,\n strategy: optionsWithDefaults.strategy,\n modifiers: [].concat(optionsWithDefaults.modifiers, [updateStateModifier, {\n name: 'applyStyles',\n enabled: false\n }])\n };\n\n if (isEqual(prevOptions.current, newOptions)) {\n return prevOptions.current || newOptions;\n } else {\n prevOptions.current = newOptions;\n return newOptions;\n }\n }, [optionsWithDefaults.onFirstUpdate, optionsWithDefaults.placement, optionsWithDefaults.strategy, optionsWithDefaults.modifiers, updateStateModifier]);\n var popperInstanceRef = React.useRef();\n useIsomorphicLayoutEffect(function () {\n if (popperInstanceRef.current) {\n popperInstanceRef.current.setOptions(popperOptions);\n }\n }, [popperOptions]);\n useIsomorphicLayoutEffect(function () {\n if (referenceElement == null || popperElement == null) {\n return;\n }\n\n var createPopper = options.createPopper || defaultCreatePopper;\n var popperInstance = createPopper(referenceElement, popperElement, popperOptions);\n popperInstanceRef.current = popperInstance;\n return function () {\n popperInstance.destroy();\n popperInstanceRef.current = null;\n };\n }, [referenceElement, popperElement, options.createPopper]);\n return {\n state: popperInstanceRef.current ? popperInstanceRef.current.state : null,\n styles: state.styles,\n attributes: state.attributes,\n update: popperInstanceRef.current ? popperInstanceRef.current.update : null,\n forceUpdate: popperInstanceRef.current ? popperInstanceRef.current.forceUpdate : null\n };\n};","import * as React from 'react';\nimport { ManagerReferenceNodeContext } from './Manager';\nimport { unwrapArray, setRef } from './utils';\nimport { usePopper } from './usePopper';\n\nvar NOOP = function NOOP() {\n return void 0;\n};\n\nvar NOOP_PROMISE = function NOOP_PROMISE() {\n return Promise.resolve(null);\n};\n\nvar EMPTY_MODIFIERS = [];\nexport function Popper(_ref) {\n var _ref$placement = _ref.placement,\n placement = _ref$placement === void 0 ? 'bottom' : _ref$placement,\n _ref$strategy = _ref.strategy,\n strategy = _ref$strategy === void 0 ? 'absolute' : _ref$strategy,\n _ref$modifiers = _ref.modifiers,\n modifiers = _ref$modifiers === void 0 ? EMPTY_MODIFIERS : _ref$modifiers,\n referenceElement = _ref.referenceElement,\n onFirstUpdate = _ref.onFirstUpdate,\n innerRef = _ref.innerRef,\n children = _ref.children;\n var referenceNode = React.useContext(ManagerReferenceNodeContext);\n\n var _React$useState = React.useState(null),\n popperElement = _React$useState[0],\n setPopperElement = _React$useState[1];\n\n var _React$useState2 = React.useState(null),\n arrowElement = _React$useState2[0],\n setArrowElement = _React$useState2[1];\n\n React.useEffect(function () {\n setRef(innerRef, popperElement);\n }, [innerRef, popperElement]);\n var options = React.useMemo(function () {\n return {\n placement: placement,\n strategy: strategy,\n onFirstUpdate: onFirstUpdate,\n modifiers: [].concat(modifiers, [{\n name: 'arrow',\n enabled: arrowElement != null,\n options: {\n element: arrowElement\n }\n }])\n };\n }, [placement, strategy, onFirstUpdate, modifiers, arrowElement]);\n\n var _usePopper = usePopper(referenceElement || referenceNode, popperElement, options),\n state = _usePopper.state,\n styles = _usePopper.styles,\n forceUpdate = _usePopper.forceUpdate,\n update = _usePopper.update;\n\n var childrenProps = React.useMemo(function () {\n return {\n ref: setPopperElement,\n style: styles.popper,\n placement: state ? state.placement : placement,\n hasPopperEscaped: state && state.modifiersData.hide ? state.modifiersData.hide.hasPopperEscaped : null,\n isReferenceHidden: state && state.modifiersData.hide ? state.modifiersData.hide.isReferenceHidden : null,\n arrowProps: {\n style: styles.arrow,\n ref: setArrowElement\n },\n forceUpdate: forceUpdate || NOOP,\n update: update || NOOP_PROMISE\n };\n }, [setPopperElement, setArrowElement, placement, state, styles, update, forceUpdate]);\n return unwrapArray(children)(childrenProps);\n}","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar __DEV__ = process.env.NODE_ENV !== 'production';\n\nvar warning = function() {};\n\nif (__DEV__) {\n var printWarning = function printWarning(format, args) {\n var len = arguments.length;\n args = new Array(len > 1 ? len - 1 : 0);\n for (var key = 1; key < len; key++) {\n args[key - 1] = arguments[key];\n }\n var argIndex = 0;\n var message = 'Warning: ' +\n format.replace(/%s/g, function() {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n }\n\n warning = function(condition, format, args) {\n var len = arguments.length;\n args = new Array(len > 2 ? len - 2 : 0);\n for (var key = 2; key < len; key++) {\n args[key - 2] = arguments[key];\n }\n if (format === undefined) {\n throw new Error(\n '`warning(condition, format, ...args)` requires a warning ' +\n 'message argument'\n );\n }\n if (!condition) {\n printWarning.apply(null, [format].concat(args));\n }\n };\n}\n\nmodule.exports = warning;\n","import * as React from 'react';\nimport warning from 'warning';\nimport { ManagerReferenceNodeSetterContext } from './Manager';\nimport { safeInvoke, unwrapArray, setRef } from './utils';\nexport function Reference(_ref) {\n var children = _ref.children,\n innerRef = _ref.innerRef;\n var setReferenceNode = React.useContext(ManagerReferenceNodeSetterContext);\n var refHandler = React.useCallback(function (node) {\n setRef(innerRef, node);\n safeInvoke(setReferenceNode, node);\n }, [innerRef, setReferenceNode]); // ran on unmount\n // eslint-disable-next-line react-hooks/exhaustive-deps\n\n React.useEffect(function () {\n return function () {\n return setRef(innerRef, null);\n };\n }, []);\n React.useEffect(function () {\n warning(Boolean(setReferenceNode), '`Reference` should not be used outside of a `Manager` component.');\n }, [setReferenceNode]);\n return unwrapArray(children)({\n ref: refHandler\n });\n}","import React, {\n createContext,\n ElementType,\n forwardRef,\n HTMLAttributes,\n RefObject,\n useEffect,\n useRef,\n useState,\n} from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Manager } from 'react-popper'\n\nimport { useForkedRef } from '../../hooks'\nimport { placementPropType } from '../../props'\nimport type { Placements } from '../../types'\n\nexport type Directions = 'start' | 'end'\n\nexport type Breakpoints =\n | { xs: Directions }\n | { sm: Directions }\n | { md: Directions }\n | { lg: Directions }\n | { xl: Directions }\n | { xxl: Directions }\n\nexport type Alignments = Directions | Breakpoints\n\nexport interface CDropdownProps extends HTMLAttributes {\n /**\n * Set aligment of dropdown menu.\n *\n * @type 'start' | 'end' | { xs: 'start' | 'end' } | { sm: 'start' | 'end' } | { md: 'start' | 'end' } | { lg: 'start' | 'end' } | { xl: 'start' | 'end'} | { xxl: 'start' | 'end'}\n */\n alignment?: Alignments\n /**\n * Configure the auto close behavior of the dropdown:\n * - `true` - the dropdown will be closed by clicking outside or inside the dropdown menu.\n * - `false` - the dropdown will be closed by clicking the toggle button and manually calling hide or toggle method. (Also will not be closed by pressing esc key)\n * - `'inside'` - the dropdown will be closed (only) by clicking inside the dropdown menu.\n * - `'outside'` - the dropdown will be closed (only) by clicking outside the dropdown menu.\n */\n autoClose?: 'inside' | 'outside' | boolean\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Sets a darker color scheme to match a dark navbar.\n */\n dark?: boolean\n /**\n * Sets a specified direction and location of the dropdown menu.\n */\n direction?: 'center' | 'dropup' | 'dropup-center' | 'dropend' | 'dropstart'\n /**\n * Callback fired when the component requests to be hidden.\n */\n onHide?: () => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: () => void\n /**\n * Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.\n *\n * @type 'auto' | 'top-end' | 'top' | 'top-start' | 'bottom-end' | 'bottom' | 'bottom-start' | 'right-start' | 'right' | 'right-end' | 'left-start' | 'left' | 'left-end'\n */\n placement?: Placements\n /**\n * If you want to disable dynamic positioning set this property to `true`.\n */\n popper?: boolean\n /**\n * Set the dropdown variant to an btn-group, dropdown, input-group, and nav-item.\n */\n variant?: 'btn-group' | 'dropdown' | 'input-group' | 'nav-item'\n /**\n * Toggle the visibility of dropdown menu component.\n */\n visible?: boolean\n}\n\ninterface ContextProps extends CDropdownProps {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n dropdownToggleRef: RefObject | undefined\n setVisible: React.Dispatch>\n}\n\nexport const CDropdownContext = createContext({} as ContextProps)\n\nexport const CDropdown = forwardRef(\n (\n {\n children,\n alignment,\n autoClose = true,\n className,\n dark,\n direction,\n onHide,\n onShow,\n placement = 'bottom-start',\n popper = true,\n variant = 'btn-group',\n component = 'div',\n visible = false,\n ...rest\n },\n ref,\n ) => {\n const dropdownRef = useRef(null)\n const dropdownToggleRef = useRef(null)\n const forkedRef = useForkedRef(ref, dropdownRef)\n const [_visible, setVisible] = useState(visible)\n\n const Component = variant === 'nav-item' ? 'li' : component\n\n // Disable popper if responsive aligment is set.\n if (typeof alignment === 'object') {\n popper = false\n }\n\n const contextValues = {\n alignment,\n autoClose,\n dark,\n direction: direction,\n dropdownToggleRef,\n placement: placement,\n popper,\n variant,\n visible: _visible,\n setVisible,\n }\n\n useEffect(() => {\n setVisible(visible)\n }, [visible])\n\n useEffect(() => {\n _visible && onShow && onShow()\n !_visible && onHide && onHide()\n }, [_visible])\n\n const DropdownContent = () => {\n return variant === 'input-group' ? (\n <>{children}\n ) : (\n \n {children}\n \n )\n }\n\n return (\n \n {popper ? (\n \n \n \n ) : (\n \n )}\n \n )\n },\n)\n\nconst alignmentDirection = PropTypes.oneOf(['start', 'end'])\n\nCDropdown.propTypes = {\n // @ts-expect-error TODO: we have to find a solution\n alignment: PropTypes.oneOfType([\n alignmentDirection,\n PropTypes.shape({ xs: alignmentDirection }),\n PropTypes.shape({ sm: alignmentDirection }),\n PropTypes.shape({ md: alignmentDirection }),\n PropTypes.shape({ lg: alignmentDirection }),\n PropTypes.shape({ xl: alignmentDirection }),\n PropTypes.shape({ xxl: alignmentDirection }),\n ]),\n autoClose: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'inside' | 'outside'>(['inside', 'outside']),\n ]),\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n dark: PropTypes.bool,\n direction: PropTypes.oneOf(['center', 'dropup', 'dropup-center', 'dropend', 'dropstart']),\n onHide: PropTypes.func,\n onShow: PropTypes.func,\n placement: placementPropType,\n popper: PropTypes.bool,\n variant: PropTypes.oneOf(['btn-group', 'dropdown', 'input-group', 'nav-item']),\n visible: PropTypes.bool,\n}\n\nCDropdown.displayName = 'CDropdown'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CDropdownDividerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n}\n\nexport const CDropdownDivider = forwardRef(\n ({ className, ...rest }, ref) => {\n return
\n },\n)\n\nCDropdownDivider.propTypes = {\n className: PropTypes.string,\n}\n\nCDropdownDivider.displayName = 'CDropdownDivider'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CDropdownHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const CDropdownHeader = forwardRef(\n ({ children, className, component: Component = 'h6', ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCDropdownHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCDropdownHeader.displayName = 'CDropdownHeader'\n","import React, { ElementType, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CLink, CLinkProps } from '../link/CLink'\n\nexport interface CDropdownItemProps extends CLinkProps {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const CDropdownItem = forwardRef(\n ({ children, className, component = 'a', ...rest }, ref) => {\n return (\n \n {children}\n
\n )\n },\n)\n\nCDropdownItem.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCDropdownItem.displayName = 'CDropdownItem'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CDropdownItemPlainProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const CDropdownItemPlain = forwardRef(\n ({ children, className, component: Component = 'span', ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCDropdownItemPlain.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCDropdownItemPlain.displayName = 'CDropdownItemPlain'\n","import React, { ElementType, FC, HTMLAttributes, useContext, useEffect, useRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Popper, PopperChildrenProps } from 'react-popper'\n\nimport { Alignments, CDropdownContext } from './CDropdown'\n\nimport type { Placements } from '../../types'\n\nexport interface CDropdownMenuProps\n extends HTMLAttributes,\n Omit<\n PopperChildrenProps,\n | 'arrowProps'\n | 'forceUpdate'\n | 'hasPopperEscaped'\n | 'isReferenceHidden'\n | 'placement'\n | 'ref'\n | 'style'\n | 'update'\n > {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const CDropdownMenu: FC = ({\n children,\n className,\n component: Component = 'ul',\n ...rest\n}) => {\n const {\n alignment,\n autoClose,\n dark,\n direction,\n dropdownToggleRef,\n placement,\n popper,\n visible,\n setVisible,\n } = useContext(CDropdownContext)\n\n const dropdownMenuRef = useRef(null)\n\n useEffect(() => {\n visible && window.addEventListener('mouseup', handleMouseUp)\n visible && window.addEventListener('keyup', handleKeyup)\n\n return () => {\n window.removeEventListener('mouseup', handleMouseUp)\n window.removeEventListener('keyup', handleKeyup)\n }\n }, [visible])\n\n const handleKeyup = (event: KeyboardEvent) => {\n if (autoClose === false) {\n return\n }\n\n if (event.key === 'Escape') {\n setVisible(false)\n }\n }\n\n const handleMouseUp = (event: Event) => {\n if (dropdownToggleRef && dropdownToggleRef.current.contains(event.target as HTMLElement)) {\n return\n }\n\n if (\n autoClose === true ||\n (autoClose === 'inside' && dropdownMenuRef.current?.contains(event.target as HTMLElement)) ||\n (autoClose === 'outside' && !dropdownMenuRef.current?.contains(event.target as HTMLElement))\n ) {\n setTimeout(() => setVisible(false), 1)\n return\n }\n }\n\n let _placement: Placements = placement\n\n if (direction === 'center') {\n _placement = 'bottom'\n }\n\n if (direction === 'dropup') {\n _placement = 'top-start'\n }\n\n if (direction === 'dropup-center') {\n _placement = 'top'\n }\n\n if (direction === 'dropend') {\n _placement = 'right-start'\n }\n\n if (direction === 'dropstart') {\n _placement = 'left-start'\n }\n\n if (alignment === 'end') {\n _placement = 'bottom-end'\n }\n\n const alignmentClassNames = (alignment: Alignments) => {\n const classNames: string[] = []\n if (typeof alignment === 'object') {\n Object.keys(alignment).map((key) => {\n classNames.push(`dropdown-menu${key === 'xs' ? '' : `-${key}`}-${alignment[key]}`)\n })\n }\n\n if (typeof alignment === 'string') {\n classNames.push(`dropdown-menu-${alignment}`)\n }\n\n return classNames\n }\n\n const dropdownMenuComponent = (style?: React.CSSProperties, ref?: React.Ref) => (\n \n {Component === 'ul'\n ? React.Children.map(children, (child, index) => {\n if (React.isValidElement(child)) {\n return
  • {React.cloneElement(child)}
  • \n }\n return\n })\n : children}\n \n )\n\n return popper && visible ? (\n \n {({ ref, style }) => dropdownMenuComponent(style, ref)}\n \n ) : (\n dropdownMenuComponent()\n )\n}\n\nCDropdownMenu.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCDropdownMenu.displayName = 'CDropdownMenu'\n","import React, { FC, useContext } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Reference } from 'react-popper'\n\nimport { CButton, CButtonProps } from '../button/CButton'\n\nimport { CDropdownContext } from './CDropdown'\n\nimport { useForkedRef } from '../../hooks'\nimport { triggerPropType } from '../../props'\nimport type { Triggers } from '../../types'\n\nexport interface CDropdownToggleProps extends Omit {\n /**\n * Enables pseudo element caret on toggler.\n */\n caret?: boolean\n /**\n * Create a custom toggler which accepts any content.\n */\n custom?: boolean\n /**\n * Similarly, create split button dropdowns with virtually the same markup as single button dropdowns, but with the addition of `.dropdown-toggle-split` className for proper spacing around the dropdown caret.\n */\n split?: boolean\n /**\n * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.\n *\n * @type 'hover' | 'focus' | 'click'\n */\n trigger?: Triggers | Triggers[]\n}\n\nexport const CDropdownToggle: FC = ({\n children,\n caret = true,\n custom,\n className,\n split,\n trigger = 'click',\n ...rest\n}) => {\n const { dropdownToggleRef, popper, variant, visible, setVisible } = useContext(CDropdownContext)\n\n const triggers = {\n ...((trigger === 'click' || trigger.includes('click')) && {\n onClick: (event: React.MouseEvent) => {\n event.preventDefault()\n setVisible(!visible)\n },\n }),\n ...((trigger === 'focus' || trigger.includes('focus')) && {\n onFocus: () => setVisible(true),\n onBlur: () => setVisible(false),\n }),\n }\n\n const togglerProps = {\n className: classNames(\n {\n 'dropdown-toggle': caret,\n 'dropdown-toggle-split': split,\n 'nav-link': variant === 'nav-item',\n },\n className,\n ),\n 'aria-expanded': visible,\n ...(!rest.disabled && { ...triggers }),\n }\n\n // We use any because Toggler can be `a` as well as `button`.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const Toggler = (ref?: React.Ref) => {\n if (custom && React.isValidElement(children)) {\n return (\n <>\n {React.cloneElement(children as React.ReactElement, {\n 'aria-expanded': visible,\n ...(!rest.disabled && { ...triggers }),\n ref: useForkedRef(ref, dropdownToggleRef),\n })}\n \n )\n }\n\n if (variant === 'nav-item') {\n return (\n \n {children}\n \n )\n }\n\n return (\n \n {children}\n {split && Toggle Dropdown}\n \n )\n }\n\n return popper ? {({ ref }) => Toggler(ref)} : Toggler(dropdownToggleRef)\n}\n\nCDropdownToggle.propTypes = {\n caret: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n custom: PropTypes.bool,\n split: PropTypes.bool,\n trigger: triggerPropType,\n}\n\nCDropdownToggle.displayName = 'CDropdownToggle'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFooterProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Place footer in non-static positions.\n */\n position?: 'fixed' | 'sticky'\n}\n\nexport const CFooter = forwardRef(\n ({ children, className, position, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCFooter.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n position: PropTypes.oneOf(['fixed', 'sticky']),\n}\n\nCFooter.displayName = 'CFooter'\n","import React, { forwardRef, FormHTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormProps extends FormHTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Mark a form as validated. If you set it `true`, all validation styles will be applied to the forms component.\n */\n validated?: boolean\n}\n\nexport const CForm = forwardRef(\n ({ children, className, validated, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCForm.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n validated: PropTypes.bool,\n}\n\nCForm.displayName = 'CForm'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormFeedbackProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Method called immediately after the `value` prop changes.\n */\n invalid?: boolean\n /**\n * If your form layout allows it, you can display validation feedback in a styled tooltip.\n */\n tooltip?: boolean\n /**\n * Set component validation state to valid.\n */\n valid?: boolean\n}\n\nexport const CFormFeedback = forwardRef(\n (\n { children, className, component: Component = 'div', invalid, tooltip, valid, ...rest },\n ref,\n ) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCFormFeedback.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n invalid: PropTypes.bool,\n tooltip: PropTypes.bool,\n valid: PropTypes.bool,\n}\n\nCFormFeedback.displayName = 'CFormFeedback'\n","import React, { FC, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { CFormFeedback } from './CFormFeedback'\n\nexport interface CFormControlValidationProps {\n /**\n * @ignore\n */\n describedby?: string\n /**\n * Provide valuable, actionable feedback.\n *\n * @since 4.2.0\n */\n feedback?: ReactNode | string\n /**\n * Provide valuable, actionable feedback.\n *\n * @since 4.2.0\n */\n feedbackInvalid?: ReactNode | string\n /**\n * Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.\n *\n * @since 4.2.0\n */\n feedbackValid?: ReactNode | string\n /**\n * Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.\n *\n * @since 4.2.0\n */\n floatingLabel?: ReactNode | string\n /**\n * Set component validation state to invalid.\n */\n invalid?: boolean\n /**\n * Display validation feedback in a styled tooltip.\n *\n * @since 4.2.0\n */\n tooltipFeedback?: boolean\n /**\n * Set component validation state to valid.\n */\n valid?: boolean\n}\n\nexport const CFormControlValidation: FC = ({\n describedby,\n feedback,\n feedbackInvalid,\n feedbackValid,\n invalid,\n tooltipFeedback,\n valid,\n}) => {\n return (\n <>\n {feedback && (valid || invalid) && (\n \n {feedback}\n \n )}\n {feedbackInvalid && (\n \n {feedbackInvalid}\n \n )}\n {feedbackValid && (\n \n {feedbackValid}\n \n )}\n \n )\n}\n\nCFormControlValidation.propTypes = {\n describedby: PropTypes.string,\n feedback: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n feedbackValid: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n feedbackInvalid: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n invalid: PropTypes.bool,\n tooltipFeedback: PropTypes.bool,\n valid: PropTypes.bool,\n}\n\nCFormControlValidation.displayName = 'CFormControlValidation'\n","import React, { forwardRef, LabelHTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormLabelProps extends LabelHTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * A string of all className you want to be applied to the component, and override standard className value.\n */\n customClassName?: string\n}\n\nexport const CFormLabel = forwardRef(\n ({ children, className, customClassName, ...rest }, ref) => {\n return (\n \n )\n },\n)\n\nCFormLabel.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n customClassName: PropTypes.string,\n}\n\nCFormLabel.displayName = 'CFormLabel'\n","import React, { forwardRef, InputHTMLAttributes, ReactNode, useEffect, useRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CFormControlValidation, CFormControlValidationProps } from './CFormControlValidation'\nimport { CFormLabel } from './CFormLabel'\n\nimport { useForkedRef } from '../../hooks'\nimport type { Colors, Shapes } from '../../types'\n\nexport type ButtonObject = {\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Select the shape of the component.\n *\n * @type 'rounded' | 'rounded-top' | 'rounded-end' | 'rounded-bottom' | 'rounded-start' | 'rounded-circle' | 'rounded-pill' | 'rounded-0' | 'rounded-1' | 'rounded-2' | 'rounded-3' | string\n */\n shape?: Shapes\n /**\n * Size the component small or large.\n */\n size?: 'sm' | 'lg'\n /**\n * Set the button variant to an outlined button or a ghost button.\n */\n variant?: 'outline' | 'ghost'\n}\n\nexport interface CFormCheckProps\n extends CFormControlValidationProps,\n InputHTMLAttributes {\n /**\n * Create button-like checkboxes and radio buttons.\n */\n button?: ButtonObject\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets hit area to the full area of the component.\n */\n hitArea?: 'full'\n /**\n * The id global attribute defines an identifier (ID) that must be unique in the whole document.\n */\n id?: string\n /**\n * Input Checkbox indeterminate Property.\n */\n indeterminate?: boolean\n /**\n * Group checkboxes or radios on the same horizontal row.\n */\n inline?: boolean\n /**\n * Set component validation state to invalid.\n */\n invalid?: boolean\n /**\n * The element represents a caption for a component.\n */\n label?: string | ReactNode\n /**\n * Put checkboxes or radios on the opposite side.\n *\n * @sinve 4.7.0\n */\n reverse?: boolean\n /**\n * Specifies the type of component.\n */\n type?: 'checkbox' | 'radio'\n /**\n * Set component validation state to valid.\n */\n valid?: boolean\n}\n\nexport const CFormCheck = forwardRef(\n (\n {\n className,\n button,\n feedback,\n feedbackInvalid,\n feedbackValid,\n floatingLabel,\n tooltipFeedback,\n hitArea,\n id,\n indeterminate,\n inline,\n invalid,\n label,\n reverse,\n type = 'checkbox',\n valid,\n ...rest\n },\n ref,\n ) => {\n const inputRef = useRef(null)\n const forkedRef = useForkedRef(ref, inputRef)\n\n useEffect(() => {\n if (inputRef.current && indeterminate) {\n inputRef.current.indeterminate = indeterminate\n }\n }, [indeterminate])\n\n const FormControl = () => (\n \n )\n\n const FormValidation = () => (\n \n )\n\n const FormLabel = () => (\n \n {label}\n \n )\n\n const FormCheck = () => {\n if (button) {\n return (\n <>\n \n {label && }\n \n \n )\n }\n\n if (label) {\n return hitArea ? (\n <>\n \n \n {label}\n \n \n \n ) : (\n \n \n \n \n \n )\n }\n\n return \n }\n\n return \n },\n)\n\nCFormCheck.propTypes = {\n button: PropTypes.object,\n className: PropTypes.string,\n hitArea: PropTypes.oneOf(['full']),\n id: PropTypes.string,\n indeterminate: PropTypes.bool,\n inline: PropTypes.bool,\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n reverse: PropTypes.bool,\n type: PropTypes.oneOf(['checkbox', 'radio']),\n ...CFormControlValidation.propTypes,\n}\n\nCFormCheck.displayName = 'CFormCheck'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormFloatingProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n}\n\nexport const CFormFloating = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCFormFloating.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCFormFloating.displayName = 'CFormFloating'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CFormTextProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const CFormText = forwardRef(\n ({ children, className, component: Component = 'div', ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCFormText.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCFormText.displayName = 'CFormText'\n","import React, { FC, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { CFormControlValidation, CFormControlValidationProps } from './CFormControlValidation'\nimport { CFormFloating } from './CFormFloating'\nimport { CFormLabel } from './CFormLabel'\nimport { CFormText } from './CFormText'\n\nexport interface CFormControlWrapperProps extends CFormControlValidationProps {\n /**\n * @ignore\n */\n children?: ReactNode\n /**\n * A string of all className you want applied to the floating label wrapper.\n *\n * @since 4.5.0\n */\n floatingClassName?: string\n /**\n * Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.\n *\n * @since 4.2.0\n */\n floatingLabel?: ReactNode | string\n /**\n * @ignore\n */\n id?: string\n /**\n * Add a caption for a component.\n *\n * @since 4.2.0\n */\n label?: ReactNode | string\n /**\n * Add helper text to the component.\n *\n * @since 4.2.0\n */\n text?: ReactNode | string\n}\n\nexport const CFormControlWrapper: FC = ({\n children,\n describedby,\n feedback,\n feedbackInvalid,\n feedbackValid,\n floatingClassName,\n floatingLabel,\n id,\n invalid,\n label,\n text,\n tooltipFeedback,\n valid,\n}) => {\n const FormControlValidation = () => (\n \n )\n return floatingLabel ? (\n \n {children}\n {label || floatingLabel}\n {text && {text}}\n \n \n ) : (\n <>\n {label && {label}}\n {children}\n {text && {text}}\n \n \n )\n}\n\nCFormControlWrapper.propTypes = {\n children: PropTypes.node,\n floatingClassName: PropTypes.string,\n floatingLabel: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n label: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n text: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n ...CFormControlValidation.propTypes,\n}\n\nCFormControlWrapper.displayName = 'CFormControlWrapper'\n","import React, {\n ChangeEventHandler,\n forwardRef,\n InputHTMLAttributes,\n useEffect,\n useState,\n} from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CFormControlWrapper, CFormControlWrapperProps } from './CFormControlWrapper'\n\nexport interface CFormInputProps\n extends CFormControlWrapperProps,\n Omit, 'size'> {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Delay onChange event while typing. If set to true onChange event will be delayed 500ms, you can also provide the number of milliseconds you want to delay the onChange event.\n */\n delay?: boolean | number\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n /**\n * Method called immediately after the `value` prop changes.\n */\n onChange?: ChangeEventHandler\n /**\n * Render the component styled as plain text. Removes the default form field styling and preserve the correct margin and padding. Recommend to use only along side `readonly`.\n */\n plainText?: boolean\n /**\n * Toggle the readonly state for the component.\n */\n readOnly?: boolean\n /**\n * Size the component small or large.\n */\n size?: 'sm' | 'lg'\n /**\n * Specifies the type of component.\n */\n type?: 'color' | 'file' | 'text' | string\n /**\n * The `value` attribute of component.\n *\n * @controllable onChange\n * */\n value?: string | string[] | number\n}\n\nexport const CFormInput = forwardRef(\n (\n {\n children,\n className,\n delay = false,\n feedback,\n feedbackInvalid,\n feedbackValid,\n floatingClassName,\n floatingLabel,\n id,\n invalid,\n label,\n onChange,\n plainText,\n size,\n text,\n tooltipFeedback,\n type = 'text',\n valid,\n ...rest\n },\n ref,\n ) => {\n const [value, setValue] = useState>()\n\n useEffect(() => {\n const timeOutId = setTimeout(\n () => value && onChange && onChange(value),\n typeof delay === 'number' ? delay : 500,\n )\n\n return () => clearTimeout(timeOutId)\n }, [value])\n\n return (\n \n (delay ? setValue(event) : onChange && onChange(event))}\n {...rest}\n ref={ref}\n >\n {children}\n \n \n )\n },\n)\n\nCFormInput.propTypes = {\n className: PropTypes.string,\n id: PropTypes.string,\n delay: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),\n plainText: PropTypes.bool,\n size: PropTypes.oneOf(['sm', 'lg']),\n type: PropTypes.oneOfType([PropTypes.oneOf(['color', 'file', 'text']), PropTypes.string]),\n ...CFormControlWrapper.propTypes,\n}\n\nCFormInput.displayName = 'CFormInput'\n","import React, { ChangeEventHandler, forwardRef, InputHTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CFormLabel } from './CFormLabel'\nexport interface CFormRangeProps extends InputHTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n /**\n * Add a caption for a component.\n *\n * @since 4.2.0\n */\n label?: ReactNode | string\n /**\n * Specifies the maximum value for the component.\n */\n max?: number\n /**\n * Specifies the minimum value for the component.\n */\n min?: number\n /**\n * Method called immediately after the `value` prop changes.\n */\n onChange?: ChangeEventHandler\n /**\n * Toggle the readonly state for the component.\n */\n readOnly?: boolean\n /**\n * Specifies the interval between legal numbers in the component.\n */\n step?: number\n /**\n * The `value` attribute of component.\n *\n * @controllable onChange\n * */\n value?: string | string[] | number\n}\n\nexport const CFormRange = forwardRef(\n ({ className, label, ...rest }, ref) => {\n return (\n <>\n {label && {label}}\n \n \n )\n },\n)\n\nCFormRange.propTypes = {\n className: PropTypes.string,\n label: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n}\n\nCFormRange.displayName = 'CFormRange'\n","import React, { ChangeEventHandler, forwardRef, InputHTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CFormControlWrapper, CFormControlWrapperProps } from './CFormControlWrapper'\n\ntype Option = {\n disabled?: boolean\n label?: string\n value?: string\n}\nexport interface CFormSelectProps\n extends CFormControlWrapperProps,\n Omit, 'size'> {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Specifies the number of visible options in a drop-down list.\n */\n htmlSize?: number\n /**\n * Method called immediately after the `value` prop changes.\n */\n onChange?: ChangeEventHandler\n /**\n * Options list of the select component. Available keys: `label`, `value`, `disabled`.\n * Examples:\n * - `options={[{ value: 'js', label: 'JavaScript' }, { value: 'html', label: 'HTML', disabled: true }]}`\n * - `options={['js', 'html']}`\n */\n options?: Option[] | string[]\n /**\n * Size the component small or large.\n */\n size?: 'sm' | 'lg'\n /**\n * The `value` attribute of component.\n *\n * @controllable onChange\n */\n value?: string | string[] | number\n}\n\nexport const CFormSelect = forwardRef(\n (\n {\n children,\n className,\n feedback,\n feedbackInvalid,\n feedbackValid,\n floatingClassName,\n floatingLabel,\n htmlSize,\n id,\n invalid,\n label,\n options,\n size,\n text,\n tooltipFeedback,\n valid,\n ...rest\n },\n ref,\n ) => {\n return (\n \n \n {options\n ? options.map((option, index) => {\n return (\n \n {typeof option === 'string' ? option : option.label}\n \n )\n })\n : children}\n \n \n )\n },\n)\n\nCFormSelect.propTypes = {\n className: PropTypes.string,\n htmlSize: PropTypes.number,\n options: PropTypes.array,\n ...CFormControlWrapper.propTypes,\n}\n\nCFormSelect.displayName = 'CFormSelect'\n","import React, { forwardRef, InputHTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CFormLabel } from './CFormLabel'\n\nexport interface CFormSwitchProps extends Omit, 'size'> {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * The id global attribute defines an identifier (ID) that must be unique in the whole document.\n */\n id?: string\n /**\n * Set component validation state to invalid.\n */\n invalid?: boolean\n /**\n * The element represents a caption for a component.\n */\n label?: string | ReactNode\n /**\n * Put switch on the opposite side.\n *\n * @sinve 4.7.0\n */\n reverse?: boolean\n /**\n * Size the component large or extra large. Works only with `switch`.\n */\n size?: 'lg' | 'xl'\n /**\n * Specifies the type of component.\n */\n type?: 'checkbox' | 'radio'\n /**\n * Set component validation state to valid.\n */\n valid?: boolean\n}\n\nexport const CFormSwitch = forwardRef(\n ({ className, id, invalid, label, reverse, size, type = 'checkbox', valid, ...rest }, ref) => {\n return (\n \n \n {label && (\n \n {label}\n \n )}\n \n )\n },\n)\n\nCFormSwitch.propTypes = {\n className: PropTypes.string,\n id: PropTypes.string,\n invalid: PropTypes.bool,\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n reverse: PropTypes.bool,\n size: PropTypes.oneOf(['lg', 'xl']),\n type: PropTypes.oneOf(['checkbox', 'radio']),\n valid: PropTypes.bool,\n}\n\nCFormSwitch.displayName = 'CFormSwitch'\n","import React, { ChangeEventHandler, forwardRef, TextareaHTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CFormControlWrapper, CFormControlWrapperProps } from './CFormControlWrapper'\n\nexport interface CFormTextareaProps\n extends CFormControlWrapperProps,\n TextareaHTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n /**\n * Method called immediately after the `value` prop changes.\n */\n onChange?: ChangeEventHandler\n /**\n * Render the component styled as plain text. Removes the default form field styling and preserve the correct margin and padding. Recommend to use only along side `readonly`.\n */\n plainText?: boolean\n /**\n * Toggle the readonly state for the component.\n */\n readOnly?: boolean\n /**\n * The `value` attribute of component.\n *\n * @controllable onChange\n * */\n value?: string | string[] | number\n}\n\nexport const CFormTextarea = forwardRef(\n (\n {\n children,\n className,\n feedback,\n feedbackInvalid,\n feedbackValid,\n floatingClassName,\n floatingLabel,\n id,\n invalid,\n label,\n plainText,\n text,\n tooltipFeedback,\n valid,\n ...rest\n },\n ref,\n ) => {\n return (\n \n \n {children}\n \n \n )\n },\n)\n\nCFormTextarea.propTypes = {\n className: PropTypes.string,\n id: PropTypes.string,\n plainText: PropTypes.bool,\n ...CFormControlWrapper.propTypes,\n}\n\nCFormTextarea.displayName = 'CFormTextarea'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CInputGroupProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Size the component small or large.\n */\n size?: 'sm' | 'lg'\n}\n\nexport const CInputGroup = forwardRef(\n ({ children, className, size, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCInputGroup.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n size: PropTypes.oneOf(['sm', 'lg']),\n}\n\nCInputGroup.displayName = 'CInputGroup'\n","import React, { ElementType, forwardRef, LabelHTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CInputGroupTextProps\n extends LabelHTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const CInputGroupText = forwardRef(\n ({ children, className, component: Component = 'span', ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCInputGroupText.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCInputGroupText.displayName = 'CInputGroupText'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\ntype Span = 'auto' | number | string | boolean | null\n\ntype BPObject = {\n span?: Span\n offset?: number | string | null\n order?: 'first' | 'last' | number | string | null\n}\n\ntype Col = Span | BPObject\n\nexport interface CColProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * The number of columns/offset/order on extra small devices (<576px).\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n xs?: Col\n /**\n * The number of columns/offset/order on small devices (<768px).\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n sm?: Col\n /**\n * The number of columns/offset/order on medium devices (<992px).\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n md?: Col\n /**\n * The number of columns/offset/order on large devices (<1200px).\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n lg?: Col\n /**\n * The number of columns/offset/order on X-Large devices (<1400px).\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n xl?: Col\n /**\n * The number of columns/offset/order on XX-Large devices (≥1400px).\n *\n * @type { 'auto' | number | string | boolean | { span: 'auto' | number | string | boolean } | { offset: number | string } | { order: 'first' | 'last' | number | string }}\n */\n xxl?: Col\n}\n\nconst BREAKPOINTS = [\n 'xxl' as const,\n 'xl' as const,\n 'lg' as const,\n 'md' as const,\n 'sm' as const,\n 'xs' as const,\n]\n\nexport const CCol = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const repsonsiveClassNames: string[] = []\n\n BREAKPOINTS.forEach((bp) => {\n const breakpoint = rest[bp]\n delete rest[bp]\n\n const infix = bp === 'xs' ? '' : `-${bp}`\n\n if (typeof breakpoint === 'number' || typeof breakpoint === 'string') {\n repsonsiveClassNames.push(`col${infix}-${breakpoint}`)\n }\n\n if (typeof breakpoint === 'boolean') {\n repsonsiveClassNames.push(`col${infix}`)\n }\n\n if (breakpoint && typeof breakpoint === 'object') {\n if (typeof breakpoint.span === 'number' || typeof breakpoint.span === 'string') {\n repsonsiveClassNames.push(`col${infix}-${breakpoint.span}`)\n }\n\n if (typeof breakpoint.span === 'boolean') {\n repsonsiveClassNames.push(`col${infix}`)\n }\n\n if (typeof breakpoint.order === 'number' || typeof breakpoint.order === 'string') {\n repsonsiveClassNames.push(`order${infix}-${breakpoint.order}`)\n }\n\n if (typeof breakpoint.offset === 'number') {\n repsonsiveClassNames.push(`offset${infix}-${breakpoint.offset}`)\n }\n }\n })\n\n return (\n 0 ? repsonsiveClassNames : 'col',\n className,\n )}\n {...rest}\n ref={ref}\n >\n {children}\n \n )\n },\n)\n\nconst span = PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.number,\n PropTypes.string,\n PropTypes.oneOf(['auto']),\n])\n\nconst col = PropTypes.oneOfType([\n span,\n PropTypes.shape({\n span: span,\n offset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n order: PropTypes.oneOfType([\n PropTypes.oneOf(['first', 'last']),\n PropTypes.number,\n PropTypes.string,\n ]),\n }),\n])\n\nCCol.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n xs: col,\n sm: col,\n md: col,\n lg: col,\n xl: col,\n xxl: col,\n}\n\nCCol.displayName = 'CCol'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CContainerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Set container 100% wide until small breakpoint.\n */\n sm?: boolean\n /**\n * Set container 100% wide until medium breakpoint.\n */\n md?: boolean\n /**\n * Set container 100% wide until large breakpoint.\n */\n lg?: boolean\n /**\n * Set container 100% wide until X-large breakpoint.\n */\n xl?: boolean\n /**\n * Set container 100% wide until XX-large breakpoint.\n */\n xxl?: boolean\n /**\n * Set container 100% wide, spanning the entire width of the viewport.\n */\n fluid?: boolean\n}\n\nconst BREAKPOINTS = [\n 'xxl' as const,\n 'xl' as const,\n 'lg' as const,\n 'md' as const,\n 'sm' as const,\n 'fluid' as const,\n]\n\nexport const CContainer = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const repsonsiveClassNames: string[] = []\n\n BREAKPOINTS.forEach((bp) => {\n const breakpoint = rest[bp]\n delete rest[bp]\n\n breakpoint && repsonsiveClassNames.push(`container-${bp}`)\n })\n\n return (\n 0 ? repsonsiveClassNames : 'container',\n className,\n )}\n {...rest}\n ref={ref}\n >\n {children}\n \n )\n },\n)\n\nCContainer.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n sm: PropTypes.bool,\n md: PropTypes.bool,\n lg: PropTypes.bool,\n xl: PropTypes.bool,\n xxl: PropTypes.bool,\n fluid: PropTypes.bool,\n}\n\nCContainer.displayName = 'CContainer'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport type BPObject = {\n cols?: 'auto' | number | string | null\n gutter?: number | string | null\n gutterX?: number | string | null\n gutterY?: number | string | null\n}\n\nexport interface CRowProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * The number of columns/offset/order on extra small devices (<576px).\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n xs?: BPObject\n /**\n * The number of columns/offset/order on small devices (<768px).\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n sm?: BPObject\n /**\n * The number of columns/offset/order on medium devices (<992px).\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n md?: BPObject\n /**\n * The number of columns/offset/order on large devices (<1200px).\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n lg?: BPObject\n /**\n * The number of columns/offset/order on X-Large devices (<1400px).\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n xl?: BPObject\n /**\n * The number of columns/offset/order on XX-Large devices (≥1400px).\n *\n * @type {{ cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }}\n */\n xxl?: BPObject\n}\n\nconst BREAKPOINTS = [\n 'xxl' as const,\n 'xl' as const,\n 'lg' as const,\n 'md' as const,\n 'sm' as const,\n 'xs' as const,\n]\n\nexport const CRow = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const repsonsiveClassNames: string[] = []\n\n BREAKPOINTS.forEach((bp) => {\n const breakpoint = rest[bp]\n delete rest[bp]\n\n const infix = bp === 'xs' ? '' : `-${bp}`\n\n if (typeof breakpoint === 'object') {\n if (breakpoint.cols) {\n repsonsiveClassNames.push(`row-cols${infix}-${breakpoint.cols}`)\n }\n\n if (typeof breakpoint.gutter === 'number') {\n repsonsiveClassNames.push(`g${infix}-${breakpoint.gutter}`)\n }\n\n if (typeof breakpoint.gutterX === 'number') {\n repsonsiveClassNames.push(`gx${infix}-${breakpoint.gutterX}`)\n }\n\n if (typeof breakpoint.gutterY === 'number') {\n repsonsiveClassNames.push(`gy${infix}-${breakpoint.gutterY}`)\n }\n }\n })\n\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nconst bp = PropTypes.shape({\n cols: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.string]),\n gutter: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n gutterX: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n gutterY: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n})\n\nCRow.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n xs: bp,\n sm: bp,\n md: bp,\n lg: bp,\n xl: bp,\n xxl: bp,\n}\n\nCRow.displayName = 'CRow'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Defines optional container wrapping children elements.\n */\n container?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'\n /**\n * Place header in non-static positions.\n */\n position?: 'fixed' | 'sticky'\n}\n\nexport const CHeader = forwardRef(\n ({ children, className, container, position, ...rest }, ref) => {\n return (\n \n {container ? (\n
    \n {children}\n
    \n ) : (\n <>{children}\n )}\n \n )\n },\n)\n\nCHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n container: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'>([\n 'sm',\n 'md',\n 'lg',\n 'xl',\n 'xxl',\n 'fluid',\n ]),\n ]),\n position: PropTypes.oneOf(['fixed', 'sticky']),\n}\n\nCHeader.displayName = 'CHeader'\n","import React, { ElementType, forwardRef, AnchorHTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderBrandProps\n extends AnchorHTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const CHeaderBrand = forwardRef(\n ({ children, component: Component = 'a', className, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCHeaderBrand.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCHeaderBrand.displayName = 'CHeaderBrand'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderDividerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n}\n\nexport const CHeaderDivider = forwardRef(\n ({ className, ...rest }, ref) => {\n return
    \n },\n)\n\nCHeaderDivider.propTypes = {\n className: PropTypes.string,\n}\n\nCHeaderDivider.displayName = 'CHeaderDivider'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderNavProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const CHeaderNav = forwardRef(\n ({ children, component: Component = 'ul', className, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCHeaderNav.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCHeaderNav.displayName = 'CHeaderNav'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderTextProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CHeaderText = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCHeaderText.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCHeaderText.displayName = 'CHeaderText'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CHeaderTogglerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CHeaderToggler = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n \n )\n },\n)\n\nCHeaderToggler.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCHeaderToggler.displayName = 'CHeaderToggler'\n","import React, { forwardRef, ImgHTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CImageProps extends ImgHTMLAttributes {\n /**\n * Set the horizontal aligment.\n */\n align?: 'start' | 'center' | 'end'\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Make image responsive.\n */\n fluid?: boolean\n /**\n * Make image rounded.\n */\n rounded?: boolean\n /**\n * Give an image a rounded 1px border appearance.\n */\n thumbnail?: boolean\n}\n\nexport const CImage = forwardRef(\n ({ align, className, fluid, rounded, thumbnail, ...rest }, ref) => {\n return (\n \n )\n },\n)\n\nCImage.propTypes = {\n align: PropTypes.oneOf(['start', 'center', 'end']),\n className: PropTypes.string,\n fluid: PropTypes.bool,\n rounded: PropTypes.bool,\n thumbnail: PropTypes.bool,\n}\n\nCImage.displayName = 'CImage'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CListGroupProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Remove some borders and rounded corners to render list group items edge-to-edge in a parent component (e.g., ``).\n */\n flush?: boolean\n /**\n * Specify a layout type.\n */\n layout?:\n | 'horizontal'\n | 'horizontal-sm'\n | 'horizontal-md'\n | 'horizontal-lg'\n | 'horizontal-xl'\n | 'horizontal-xxl'\n}\n\nexport const CListGroup = forwardRef(\n ({ children, className, component: Component = 'ul', flush, layout }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCListGroup.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n flush: PropTypes.bool,\n layout: PropTypes.oneOf([\n 'horizontal',\n 'horizontal-sm',\n 'horizontal-md',\n 'horizontal-lg',\n 'horizontal-xl',\n 'horizontal-xxl',\n ]),\n}\n\nCListGroup.displayName = 'CListGroup'\n","import React, { ElementType, AnchorHTMLAttributes, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CLink } from '../link/CLink'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CListGroupItemProps\n extends AnchorHTMLAttributes {\n /**\n * Toggle the active state for the component.\n */\n active?: boolean\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const CListGroupItem = forwardRef<\n HTMLLIElement | HTMLAnchorElement | HTMLButtonElement,\n CListGroupItemProps\n>(({ children, active, className, disabled, color, component = 'li', ...rest }, ref) => {\n const Component = component === 'a' || component === 'button' ? CLink : component\n\n rest = {\n ...((component === 'a' || component === 'button') && {\n active,\n disabled,\n component,\n ref: ref,\n }),\n ...(active && { 'aria-current': true }),\n ...(disabled && { 'aria-disabled': true }),\n ...rest,\n }\n\n return (\n \n {children}\n \n )\n})\n\nCListGroupItem.propTypes = {\n active: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n component: PropTypes.elementType,\n disabled: PropTypes.bool,\n}\n\nCListGroupItem.displayName = 'CListGroupItem'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CModalContentProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CModalContent = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCModalContent.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCModalContent.displayName = 'CModalContent'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CModalDialogProps extends HTMLAttributes {\n /**\n * Align the modal in the center or top of the screen.\n */\n alignment?: 'top' | 'center'\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Set modal to covers the entire user viewport.\n */\n fullscreen?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Does the modal dialog itself scroll, or does the whole dialog scroll within the window.\n */\n scrollable?: boolean\n /**\n * Size the component small, large, or extra large.\n */\n size?: 'sm' | 'lg' | 'xl'\n}\n\nexport const CModalDialog = forwardRef(\n ({ children, alignment, className, fullscreen, scrollable, size, ...rest }, ref) => {\n return (\n \n {children}\n
    \n )\n },\n)\n\nCModalDialog.propTypes = {\n alignment: PropTypes.oneOf(['top', 'center']),\n children: PropTypes.node,\n className: PropTypes.string,\n fullscreen: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n scrollable: PropTypes.bool,\n size: PropTypes.oneOf(['sm', 'lg', 'xl']),\n}\n\nCModalDialog.displayName = 'CModalDialog'\n","import React, {\n createContext,\n forwardRef,\n HTMLAttributes,\n useEffect,\n useLayoutEffect,\n useRef,\n useState,\n} from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Transition } from 'react-transition-group'\n\nimport { CBackdrop } from '../backdrop/CBackdrop'\nimport { CConditionalPortal } from '../conditional-portal'\nimport { CModalContent } from './CModalContent'\nimport { CModalDialog } from './CModalDialog'\n\nimport { useForkedRef } from '../../hooks'\n\nexport interface CModalProps extends HTMLAttributes {\n /**\n * Align the modal in the center or top of the screen.\n */\n alignment?: 'top' | 'center'\n /**\n * Apply a backdrop on body while modal is open.\n */\n backdrop?: boolean | 'static'\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * @ignore\n */\n duration?: number\n /**\n * Set modal to covers the entire user viewport.\n */\n fullscreen?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Closes the modal when escape key is pressed.\n */\n keyboard?: boolean\n /**\n * Callback fired when the component requests to be closed.\n */\n onClose?: () => void\n /**\n * Callback fired when the component requests to be closed.\n */\n onClosePrevented?: () => void\n /**\n * Callback fired when the modal is shown, its backdrop is static and a click outside the modal or an escape key press is performed with the keyboard option set to false.\n */\n onShow?: () => void\n /**\n * Generates modal using createPortal.\n */\n portal?: boolean\n /**\n * Create a scrollable modal that allows scrolling the modal body.\n */\n scrollable?: boolean\n /**\n * Size the component small, large, or extra large.\n */\n size?: 'sm' | 'lg' | 'xl'\n /**\n * Remove animation to create modal that simply appear rather than fade in to view.\n */\n transition?: boolean\n /**\n * By default the component is unmounted after close animation, if you want to keep the component mounted set this property to false.\n */\n unmountOnClose?: boolean\n /**\n * Toggle the visibility of modal component.\n */\n visible?: boolean\n}\n\ninterface ModalContextProps {\n visible?: boolean\n setVisible: React.Dispatch>\n}\n\nexport const CModalContext = createContext({} as ModalContextProps)\n\nexport const CModal = forwardRef(\n (\n {\n children,\n alignment,\n backdrop = true,\n className,\n duration = 150,\n fullscreen,\n keyboard = true,\n onClose,\n onClosePrevented,\n onShow,\n portal = true,\n scrollable,\n size,\n transition = true,\n unmountOnClose = true,\n visible,\n ...rest\n },\n ref,\n ) => {\n const modalRef = useRef(null)\n const modalContentRef = useRef(null)\n const forkedRef = useForkedRef(ref, modalRef)\n\n const [_visible, setVisible] = useState(visible)\n const [staticBackdrop, setStaticBackdrop] = useState(false)\n\n const contextValues = {\n visible: _visible,\n setVisible,\n }\n\n useEffect(() => {\n setVisible(visible)\n }, [visible])\n\n useEffect(() => {\n document.addEventListener('click', handleClickOutside)\n document.addEventListener('keydown', handleKeyDown)\n\n return () => {\n document.removeEventListener('click', handleClickOutside)\n document.removeEventListener('keydown', handleKeyDown)\n }\n }, [_visible])\n\n const handleDismiss = () => {\n if (backdrop === 'static') {\n return setStaticBackdrop(true)\n }\n\n return onClose && onClose()\n }\n\n useLayoutEffect(() => {\n onClosePrevented && onClosePrevented()\n setTimeout(() => setStaticBackdrop(false), duration)\n }, [staticBackdrop])\n\n // Set focus to modal after open\n useLayoutEffect(() => {\n if (_visible) {\n document.body.classList.add('modal-open')\n\n if (backdrop) {\n document.body.style.overflow = 'hidden'\n document.body.style.paddingRight = '0px'\n }\n\n setTimeout(\n () => {\n modalRef.current?.focus()\n },\n transition ? duration : 0,\n )\n } else {\n document.body.classList.remove('modal-open')\n\n if (backdrop) {\n document.body.style.removeProperty('overflow')\n document.body.style.removeProperty('padding-right')\n }\n }\n return () => {\n document.body.classList.remove('modal-open')\n if (backdrop) {\n document.body.style.removeProperty('overflow')\n document.body.style.removeProperty('padding-right')\n }\n }\n }, [_visible])\n\n const handleClickOutside = (event: Event) => {\n if (\n modalContentRef.current &&\n !modalContentRef.current.contains(event.target as HTMLElement)\n ) {\n handleDismiss()\n }\n }\n\n const handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape' && keyboard) {\n handleDismiss()\n }\n }\n\n return (\n <>\n \n {(state) => (\n \n \n \n \n \n {children}\n \n \n \n \n \n )}\n \n {backdrop && (\n \n \n \n )}\n \n )\n },\n)\n\nCModal.propTypes = {\n alignment: PropTypes.oneOf(['top', 'center']),\n backdrop: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf<'static'>(['static'])]),\n children: PropTypes.node,\n className: PropTypes.string,\n duration: PropTypes.number,\n fullscreen: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n keyboard: PropTypes.bool,\n onClose: PropTypes.func,\n onClosePrevented: PropTypes.func,\n onShow: PropTypes.func,\n portal: PropTypes.bool,\n scrollable: PropTypes.bool,\n size: PropTypes.oneOf(['sm', 'lg', 'xl']),\n transition: PropTypes.bool,\n unmountOnClose: PropTypes.bool,\n visible: PropTypes.bool,\n}\n\nCModal.displayName = 'CModal'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CModalBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CModalBody = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCModalBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCModalBody.displayName = 'CModalBody'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CModalFooterProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CModalFooter = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCModalFooter.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCModalFooter.displayName = 'CModalFooter'\n","import React, { forwardRef, HTMLAttributes, useContext } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CCloseButton } from '../close-button/CCloseButton'\nimport { CModalContext } from './CModal'\n\nexport interface CModalHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Add a close button component to the header.\n */\n closeButton?: boolean\n}\n\nexport const CModalHeader = forwardRef(\n ({ children, className, closeButton = true, ...rest }, ref) => {\n const { setVisible } = useContext(CModalContext)\n\n return (\n
    \n {children}\n {closeButton && setVisible(false)} />}\n
    \n )\n },\n)\n\nCModalHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n closeButton: PropTypes.bool,\n}\n\nCModalHeader.displayName = 'CModalHeader'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CModalTitleProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const CModalTitle = forwardRef(\n ({ children, component: Component = 'h5', className, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCModalTitle.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCModalTitle.displayName = 'CModalTitle'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavProps\n extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Specify a layout type for component.\n */\n layout?: 'fill' | 'justified'\n /**\n * Set the nav variant to tabs or pills.\n */\n variant?: 'tabs' | 'pills'\n}\n\nexport const CNav = forwardRef(\n ({ children, className, component: Component = 'ul', layout, variant, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCNav.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n layout: PropTypes.oneOf(['fill', 'justified']),\n variant: PropTypes.oneOf(['tabs', 'pills']),\n}\n\nCNav.displayName = 'CNav'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavGroupItemsProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n}\n\nexport const CNavGroupItems = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n
      \n {children}\n
    \n )\n },\n)\n\nCNavGroupItems.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCNavGroupItems.displayName = 'CNavGroupItems'\n","import React, { createContext, forwardRef, HTMLAttributes, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CSidebarNavProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n}\n\ninterface ContextProps {\n visibleGroup: string\n setVisibleGroup: React.Dispatch>\n}\n\nexport const CNavContext = createContext({} as ContextProps)\n\nexport const CSidebarNav = forwardRef(\n ({ children, className, ...rest }, ref) => {\n const [visibleGroup, setVisibleGroup] = useState('')\n const CNavContextValues = {\n visibleGroup,\n setVisibleGroup,\n }\n\n return (\n
      \n \n {React.Children.map(children, (child, index) => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child as React.ReactElement, {\n key: index,\n idx: `${index}`,\n })\n }\n return\n })}\n \n
    \n )\n },\n)\n\nCSidebarNav.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCSidebarNav.displayName = 'CSidebarNav'\n","import React, {\n CSSProperties,\n forwardRef,\n ReactNode,\n useContext,\n useEffect,\n useRef,\n useState,\n} from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Transition } from 'react-transition-group'\n\nimport { CNavContext } from '../sidebar/CSidebarNav'\nexport interface CNavGroupProps {\n children?: ReactNode\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Make nav group more compact by cutting all `padding` in half.\n */\n compact?: boolean\n /**\n * Set group toggler label.\n */\n toggler?: string | ReactNode\n /**\n * Show nav group items.\n */\n visible?: boolean\n /**\n * @ignore\n */\n idx?: string\n}\n\nexport const CNavGroup = forwardRef(\n ({ children, className, compact, idx, toggler, visible, ...rest }, ref) => {\n const [height, setHeight] = useState()\n const navItemsRef = useRef(null)\n\n const { visibleGroup, setVisibleGroup } = useContext(CNavContext)\n\n const [_visible, setVisible] = useState(\n Boolean(\n visible || (idx && visibleGroup && visibleGroup.toString().startsWith(idx.toString())),\n ),\n )\n\n useEffect(() => {\n setVisible(Boolean(idx && visibleGroup && visibleGroup.toString().startsWith(idx.toString())))\n }, [visibleGroup])\n\n const handleTogglerOnCLick = (event: React.MouseEvent) => {\n event.preventDefault()\n setVisibleGroup(\n _visible ? (idx?.toString().includes('.') ? idx.slice(0, idx.lastIndexOf('.')) : '') : idx,\n )\n setVisible(!_visible)\n }\n\n const style: CSSProperties = {\n height: 0,\n }\n\n const onEntering = () => {\n navItemsRef.current && setHeight(navItemsRef.current.scrollHeight)\n }\n\n const onEntered = () => {\n setHeight('auto')\n }\n\n const onExit = () => {\n navItemsRef.current && setHeight(navItemsRef.current.scrollHeight)\n }\n\n const onExiting = () => {\n // @ts-expect-error reflow is necessary to get correct height of the element\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const reflow = navItemsRef.current?.offsetHeight\n setHeight(0)\n }\n\n const onExited = () => {\n setHeight(0)\n }\n\n const transitionStyles = {\n entering: { display: 'block', height: height },\n entered: { display: 'block', height: height },\n exiting: { display: 'block', height: height },\n exited: { height: height },\n }\n\n return (\n
  • \n {toggler && (\n handleTogglerOnCLick(event)}>\n {toggler}\n \n )}\n \n {(state) => (\n \n {React.Children.map(children, (child, index) => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child as React.ReactElement, {\n key: index,\n idx: `${idx}.${index}`,\n })\n }\n return\n })}\n \n )}\n \n
  • \n )\n },\n)\n\nCNavGroup.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n compact: PropTypes.bool,\n idx: PropTypes.string,\n toggler: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n visible: PropTypes.bool,\n}\n\nCNavGroup.displayName = 'CNavGroup'\n","import React, { ElementType, forwardRef, useContext, useEffect, useRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CLinkProps, CLink } from '../link/CLink'\nimport { CNavContext } from '../sidebar/CSidebarNav'\n\nimport { useForkedRef } from '../../hooks'\n\nexport interface CNavLinkProps extends Omit {\n /**\n * Toggle the active state for the component.\n */\n active?: boolean\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n /**\n * @ignore\n */\n idx?: string\n /**\n * @ignore\n */\n to?: string\n}\n\nexport const CNavLink = forwardRef<\n HTMLButtonElement | HTMLAnchorElement | HTMLLIElement,\n CNavLinkProps\n>(({ children, className, idx, ...rest }, ref) => {\n const navLinkRef = useRef(null)\n const forkedRef = useForkedRef(ref, navLinkRef)\n\n const { setVisibleGroup } = useContext(CNavContext)\n\n useEffect(() => {\n rest.active = navLinkRef.current?.classList.contains('active')\n idx && rest.active && setVisibleGroup(idx)\n }, [rest.active, className])\n\n return (\n \n {children}\n \n )\n})\n\nCNavLink.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n idx: PropTypes.string,\n}\n\nCNavLink.displayName = 'CNavLink'\n","import React, { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CNavLink, CNavLinkProps } from './CNavLink'\n\nexport const CNavItem = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n
  • \n {rest.href || rest.to ? (\n \n {children}\n \n ) : (\n children\n )}\n
  • \n )\n },\n)\n\nCNavItem.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCNavItem.displayName = 'CNavItem'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavTitleProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n}\n\nexport const CNavTitle = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n
  • \n {children}\n
  • \n )\n },\n)\n\nCNavTitle.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCNavTitle.displayName = 'CNavTitle'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CNavbarProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Sets if the color of text should be colored for a light or dark dark background.\n */\n colorScheme?: 'dark' | 'light'\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Defines optional container wrapping children elements.\n */\n container?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'\n /**\n * Defines the responsive breakpoint to determine when content collapses.\n */\n expand?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Place component in non-static positions.\n */\n placement?: 'fixed-top' | 'fixed-bottom' | 'sticky-top'\n}\n\nexport const CNavbar = forwardRef(\n (\n {\n children,\n className,\n color,\n colorScheme,\n component: Component = 'nav',\n container,\n expand,\n placement,\n ...rest\n },\n ref,\n ) => {\n return (\n \n {container ? (\n
    \n {children}\n
    \n ) : (\n <>{children}\n )}\n \n )\n },\n)\n\nCNavbar.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n colorScheme: PropTypes.oneOf(['dark', 'light']),\n component: PropTypes.elementType,\n container: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid'>([\n 'sm',\n 'md',\n 'lg',\n 'xl',\n 'xxl',\n 'fluid',\n ]),\n ]),\n expand: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n placement: PropTypes.oneOf(['fixed-top', 'fixed-bottom', 'sticky-top']),\n}\n\nCNavbar.displayName = 'CNavbar'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavbarBrandProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n *\n */\n component?: string | ElementType\n /**\n * The href attribute specifies the URL of the page the link goes to.\n */\n href?: string\n}\n\nexport const CNavbarBrand = forwardRef(\n ({ children, component, className, ...rest }, ref) => {\n const Component = component ?? (rest.href ? 'a' : 'span')\n\n return (\n \n {children}\n \n )\n },\n)\n\nCNavbarBrand.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCNavbarBrand.displayName = 'CNavbarBrand'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavbarNavProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const CNavbarNav = forwardRef(\n ({ children, component: Component = 'ul', className, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCNavbarNav.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCNavbarNav.displayName = 'CNavbarNav'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavbarTextProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CNavbarText = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCNavbarText.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCNavbarText.displayName = 'CNavbarText'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CNavbarTogglerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CNavbarToggler = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n \n )\n },\n)\n\nCNavbarToggler.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCNavbarToggler.displayName = 'CNavbarToggler'\n","import React, { forwardRef, HTMLAttributes, useEffect, useRef, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Transition } from 'react-transition-group'\n\nimport { CBackdrop } from '../backdrop/CBackdrop'\nimport { CConditionalPortal } from '../conditional-portal'\n\nimport { useForkedRef } from '../../hooks'\n\nexport interface COffcanvasProps extends HTMLAttributes {\n /**\n * Apply a backdrop on body while offcanvas is open.\n */\n backdrop?: boolean | 'static'\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Closes the offcanvas when escape key is pressed.\n */\n keyboard?: boolean\n /**\n * Callback fired when the component requests to be hidden.\n */\n onHide?: () => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: () => void\n /**\n * Components placement, there’s no default placement.\n */\n placement: 'start' | 'end' | 'top' | 'bottom'\n /**\n * Generates modal using createPortal.\n */\n portal?: boolean\n /**\n * Responsive offcanvas property hide content outside the viewport from a specified breakpoint and down.\n *\n * @since 4.6.0\n */\n responsive?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Allow body scrolling while offcanvas is open\n */\n scroll?: boolean\n /**\n * Toggle the visibility of offcanvas component.\n */\n visible?: boolean\n}\n\nexport const COffcanvas = forwardRef(\n (\n {\n children,\n backdrop = true,\n className,\n keyboard = true,\n onHide,\n onShow,\n placement,\n portal = false,\n responsive = true,\n scroll = false,\n visible = false,\n ...rest\n },\n ref,\n ) => {\n const [_visible, setVisible] = useState(visible)\n const offcanvasRef = useRef(null)\n const forkedRef = useForkedRef(ref, offcanvasRef)\n\n useEffect(() => {\n setVisible(visible)\n }, [visible])\n\n useEffect(() => {\n if (_visible) {\n if (!scroll) {\n document.body.style.overflow = 'hidden'\n document.body.style.paddingRight = '0px'\n }\n return\n }\n\n if (!scroll) {\n document.body.style.removeProperty('overflow')\n document.body.style.removeProperty('padding-right')\n }\n }, [_visible])\n\n const handleDismiss = () => {\n setVisible(false)\n }\n\n const handleBackdropDismiss = () => {\n if (backdrop !== 'static') {\n setVisible(false)\n }\n }\n\n const handleKeyDown = (event: React.KeyboardEvent) => {\n if (event.key === 'Escape' && keyboard) {\n return handleDismiss()\n }\n }\n\n return (\n <>\n offcanvasRef.current?.focus()}\n onExit={onHide}\n timeout={300}\n >\n {(state) => (\n \n \n {children}\n \n \n )}\n \n {backdrop && (\n \n \n \n )}\n \n )\n },\n)\n\nCOffcanvas.propTypes = {\n backdrop: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf<'static'>(['static'])]),\n children: PropTypes.node,\n className: PropTypes.string,\n keyboard: PropTypes.bool,\n onHide: PropTypes.func,\n onShow: PropTypes.func,\n placement: PropTypes.oneOf<'start' | 'end' | 'top' | 'bottom'>(['start', 'end', 'top', 'bottom'])\n .isRequired,\n portal: PropTypes.bool,\n responsive: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n scroll: PropTypes.bool,\n visible: PropTypes.bool,\n}\n\nCOffcanvas.displayName = 'COffcanvas'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface COffcanvasBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const COffcanvasBody = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCOffcanvasBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCOffcanvasBody.displayName = 'COffcanvasBody'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface COffcanvasHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const COffcanvasHeader = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCOffcanvasHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCOffcanvasHeader.displayName = 'COffcanvasHeader'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface COffcanvasTitleProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const COffcanvasTitle = forwardRef(\n ({ children, component: Component = 'h5', className, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCOffcanvasTitle.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCOffcanvasTitle.displayName = 'COffcanvasTitle'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CPaginationProps extends HTMLAttributes {\n /**\n * Set the alignment of pagination components.\n */\n align?: 'start' | 'center' | 'end'\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Size the component small or large.\n */\n size?: 'sm' | 'lg'\n}\n\nexport const CPagination = forwardRef(\n ({ children, align, className, size, ...rest }, ref) => {\n return (\n \n )\n },\n)\n\nCPagination.propTypes = {\n align: PropTypes.oneOf(['start', 'center', 'end']),\n children: PropTypes.node,\n className: PropTypes.string,\n size: PropTypes.oneOf(['sm', 'lg']),\n}\n\nCPagination.displayName = 'CPagination'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CLink } from '../link/CLink'\n\nexport interface CPaginationItemProps extends HTMLAttributes {\n /**\n * Toggle the active state for the component.\n */\n active?: boolean\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n}\n\nexport const CPaginationItem = forwardRef(\n ({ children, className, component, ...rest }, ref) => {\n const Component = component ?? (rest.active ? 'span' : 'a')\n\n return (\n \n {Component === 'a' ? (\n \n {children}\n \n ) : (\n \n {children}\n \n )}\n \n )\n },\n)\n\nCPaginationItem.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.elementType,\n}\n\nCPaginationItem.displayName = 'CPaginationItem'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CPlaceholderProps extends HTMLAttributes {\n /**\n * Set animation type to better convey the perception of something being actively loaded.\n */\n animation?: 'glow' | 'wave'\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Size the component extra small, small, or large.\n */\n size?: 'xs' | 'sm' | 'lg'\n /**\n * The number of columns on extra small devices (<576px).\n */\n xs?: number\n /**\n * The number of columns on small devices (<768px).\n */\n sm?: number\n /**\n * The number of columns on medium devices (<992px).\n */\n md?: number\n /**\n * The number of columns on large devices (<1200px).\n */\n lg?: number\n /**\n * The number of columns on X-Large devices (<1400px).\n */\n xl?: number\n /**\n * The number of columns on XX-Large devices (≥1400px).\n */\n xxl?: number\n}\n\nconst BREAKPOINTS = [\n 'xxl' as const,\n 'xl' as const,\n 'lg' as const,\n 'md' as const,\n 'sm' as const,\n 'xs' as const,\n]\n\nexport const CPlaceholder = forwardRef(\n (\n { children, animation, className, color, component: Component = 'span', size, ...rest },\n ref,\n ) => {\n const repsonsiveClassNames: string[] = []\n\n BREAKPOINTS.forEach((bp) => {\n const breakpoint = rest[bp]\n delete rest[bp]\n\n const infix = bp === 'xs' ? '' : `-${bp}`\n\n if (typeof breakpoint === 'number') {\n repsonsiveClassNames.push(`col${infix}-${breakpoint}`)\n }\n\n if (typeof breakpoint === 'boolean') {\n repsonsiveClassNames.push(`col${infix}`)\n }\n })\n\n return (\n \n {children}\n \n )\n },\n)\n\nCPlaceholder.propTypes = {\n animation: PropTypes.oneOf(['glow', 'wave']),\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n component: PropTypes.elementType,\n size: PropTypes.oneOf(['xs', 'sm', 'lg']),\n}\n\nCPlaceholder.displayName = 'CPlaceholder'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CProgressBarProps extends HTMLAttributes {\n /**\n * Use to animate the stripes right to left via CSS3 animations.\n */\n animated?: boolean\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * The percent to progress the ProgressBar.\n */\n value?: number\n /**\n * Set the progress bar variant to optional striped.\n */\n variant?: 'striped'\n}\n\nexport const CProgressBar = forwardRef(\n ({ children, animated, className, color, value = 0, variant, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\nCProgressBar.propTypes = {\n animated: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n value: PropTypes.number,\n variant: PropTypes.oneOf(['striped']),\n}\n\nCProgressBar.displayName = 'CProgressBar'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CProgressBar, CProgressBarProps } from './CProgressBar'\n\nexport interface CProgressProps\n extends Omit, 'color'>,\n CProgressBarProps {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the height of the component. If you set that value the inner `` will automatically resize accordingly.\n */\n height?: number\n /**\n * Makes progress bar thinner.\n */\n thin?: boolean\n /**\n * The percent to progress the ProgressBar (out of 100).\n */\n value?: number\n /**\n * Change the default color to white.\n */\n white?: boolean\n}\n\nexport const CProgress = forwardRef(\n ({ children, className, height, thin, value = 0, white, ...rest }, ref) => {\n return (\n \n {value ? (\n \n {children}\n \n ) : (\n children\n )}\n \n )\n },\n)\n\nCProgress.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n height: PropTypes.number,\n thin: PropTypes.bool,\n value: PropTypes.number,\n white: PropTypes.bool,\n}\n\nCProgress.displayName = 'CProgress'\n","import React, { FC, HTMLAttributes, ReactNode, useRef, useEffect, useState } from 'react'\nimport { createPortal } from 'react-dom'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { usePopper } from 'react-popper'\nimport { Transition } from 'react-transition-group'\n\nimport { triggerPropType } from '../../props'\nimport type { Triggers } from '../../types'\n\nexport interface CPopoverProps extends Omit, 'title'> {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Content node for your component.\n */\n content: ReactNode | string\n /**\n * Offset of the popover relative to its target.\n */\n offset?: [number, number]\n /**\n * Callback fired when the component requests to be hidden.\n */\n onHide?: () => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: () => void\n /**\n * Title node for your component.\n */\n title?: ReactNode | string\n /**\n * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.\n *\n * @type 'hover' | 'focus' | 'click'\n */\n trigger?: Triggers | Triggers[]\n /**\n * Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.\n */\n placement?: 'auto' | 'top' | 'right' | 'bottom' | 'left'\n /**\n * Toggle the visibility of popover component.\n */\n visible?: boolean\n}\n\nexport const CPopover: FC = ({\n children,\n className,\n content,\n offset = [0, 8],\n onHide,\n onShow,\n placement = 'top',\n title,\n trigger = 'click',\n visible,\n ...rest\n}) => {\n const [_visible, setVisible] = useState(visible)\n const popoverRef = useRef()\n\n const [referenceElement, setReferenceElement] = useState(null)\n const [popperElement, setPopperElement] = useState(null)\n const [arrowElement, setArrowElement] = useState(null)\n const { styles, attributes } = usePopper(referenceElement, popperElement, {\n modifiers: [\n { name: 'arrow', options: { element: arrowElement } },\n {\n name: 'offset',\n options: {\n offset: offset,\n },\n },\n ],\n placement: placement,\n })\n\n useEffect(() => {\n setVisible(visible)\n }, [visible])\n\n return (\n <>\n {React.cloneElement(children as React.ReactElement, {\n ref: setReferenceElement,\n ...((trigger === 'click' || trigger.includes('click')) && {\n onClick: () => setVisible(!_visible),\n }),\n ...((trigger === 'focus' || trigger.includes('focus')) && {\n onFocus: () => setVisible(true),\n onBlur: () => setVisible(false),\n }),\n ...((trigger === 'hover' || trigger.includes('hover')) && {\n onMouseEnter: () => setVisible(true),\n onMouseLeave: () => setVisible(false),\n }),\n })}\n {typeof window !== 'undefined' &&\n createPortal(\n \n {(state) => (\n \n
    \n
    {title}
    \n
    {content}
    \n \n )}\n ,\n document.body,\n )}\n \n )\n}\n\nCPopover.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n content: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n offset: PropTypes.any, // TODO: find good proptype\n onHide: PropTypes.func,\n onShow: PropTypes.func,\n placement: PropTypes.oneOf(['auto', 'top', 'right', 'bottom', 'left']),\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n trigger: triggerPropType,\n visible: PropTypes.bool,\n}\n\nCPopover.displayName = 'CPopover'\n","import React, { forwardRef, HTMLAttributes, useEffect, useRef, useState } from 'react'\nimport { createPortal } from 'react-dom'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CBackdrop } from '../backdrop/CBackdrop'\n\nimport { isInViewport } from '../../utils'\nimport { useForkedRef } from '../../hooks'\n\nexport interface CSidebarProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Make sidebar narrow.\n */\n narrow?: boolean\n /**\n * Callback fired when the component requests to be hidden.\n */\n onHide?: () => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: () => void\n /**\n * Event emitted after visibility of component changed.\n */\n onVisibleChange?: (visible: boolean) => void\n /**\n * Set sidebar to overlaid variant.\n */\n overlaid?: boolean\n /**\n * Place sidebar in non-static positions.\n */\n position?: 'fixed' | 'sticky'\n /**\n * Size the component small, large, or extra large.\n */\n size?: 'sm' | 'lg' | 'xl'\n /**\n * Expand narrowed sidebar on hover.\n */\n unfoldable?: boolean\n /**\n * Toggle the visibility of sidebar component.\n */\n visible?: boolean\n}\n\nconst isOnMobile = (element: HTMLDivElement) =>\n Boolean(getComputedStyle(element).getPropertyValue('--cui-is-mobile'))\n\nexport const CSidebar = forwardRef(\n (\n {\n children,\n className,\n narrow,\n onHide,\n onShow,\n onVisibleChange,\n overlaid,\n position,\n size,\n unfoldable,\n visible,\n ...rest\n },\n ref,\n ) => {\n const sidebarRef = useRef(null)\n const forkedRef = useForkedRef(ref, sidebarRef)\n const [mobile, setMobile] = useState(false)\n const [_visible, setVisible] = useState(visible)\n const [inViewport, setInViewport] = useState()\n\n useEffect(() => {\n sidebarRef.current && setMobile(isOnMobile(sidebarRef.current))\n\n setVisible(visible)\n }, [visible])\n\n useEffect(() => {\n inViewport !== undefined && onVisibleChange && onVisibleChange(inViewport)\n !inViewport && onHide && onHide()\n inViewport && onShow && onShow()\n }, [inViewport])\n\n useEffect(() => {\n mobile && visible && setVisible(false)\n }, [mobile])\n\n useEffect(() => {\n sidebarRef.current && setMobile(isOnMobile(sidebarRef.current))\n sidebarRef.current && setInViewport(isInViewport(sidebarRef.current))\n\n window.addEventListener('resize', () => handleResize())\n window.addEventListener('mouseup', handleClickOutside)\n window.addEventListener('keyup', handleKeyup)\n\n sidebarRef.current?.addEventListener('mouseup', handleOnClick)\n sidebarRef.current?.addEventListener('transitionend', () => {\n sidebarRef.current && setInViewport(isInViewport(sidebarRef.current))\n })\n\n return () => {\n window.removeEventListener('resize', () => handleResize())\n window.removeEventListener('mouseup', handleClickOutside)\n window.removeEventListener('keyup', handleKeyup)\n\n sidebarRef.current?.removeEventListener('mouseup', handleOnClick)\n sidebarRef.current?.removeEventListener('transitionend', () => {\n sidebarRef.current && setInViewport(isInViewport(sidebarRef.current))\n })\n }\n })\n\n const handleHide = () => {\n setVisible(false)\n }\n\n const handleResize = () => {\n sidebarRef.current && setMobile(isOnMobile(sidebarRef.current))\n sidebarRef.current && setInViewport(isInViewport(sidebarRef.current))\n }\n\n const handleKeyup = (event: Event) => {\n if (\n mobile &&\n sidebarRef.current &&\n !sidebarRef.current.contains(event.target as HTMLElement)\n ) {\n handleHide()\n }\n }\n const handleClickOutside = (event: Event) => {\n if (\n mobile &&\n sidebarRef.current &&\n !sidebarRef.current.contains(event.target as HTMLElement)\n ) {\n handleHide()\n }\n }\n\n const handleOnClick = (event: Event) => {\n const target = event.target as HTMLAnchorElement\n target &&\n target.classList.contains('nav-link') &&\n !target.classList.contains('nav-group-toggle') &&\n mobile &&\n handleHide()\n }\n\n return (\n <>\n \n {children}\n \n {typeof window !== 'undefined' &&\n mobile &&\n createPortal(\n ,\n document.body,\n )}\n \n )\n },\n)\n\nCSidebar.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n narrow: PropTypes.bool,\n onHide: PropTypes.func,\n onShow: PropTypes.func,\n onVisibleChange: PropTypes.func,\n overlaid: PropTypes.bool,\n position: PropTypes.oneOf(['fixed', 'sticky']),\n size: PropTypes.oneOf(['sm', 'lg', 'xl']),\n unfoldable: PropTypes.bool,\n visible: PropTypes.bool,\n}\n\nCSidebar.displayName = 'CSidebar'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CSidebarBrandProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n}\n\nexport const CSidebarBrand = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCSidebarBrand.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCSidebarBrand.displayName = 'CSidebarBrand'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CSidebarFooterProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n}\n\nexport const CSidebarFooter = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCSidebarFooter.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCSidebarFooter.displayName = 'CSidebarFooter'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CSidebarTogglerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n}\n\nexport const CSidebarToggler = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n \n )\n },\n)\n\nCSidebarToggler.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCSidebarToggler.displayName = 'CSidebarToggler'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CSidebarHeaderProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n}\n\nexport const CSidebarHeader = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCSidebarHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCSidebarHeader.displayName = 'CSidebarHeader'\n","import React, { ElementType, forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CSpinnerProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n /**\n * Size the component small.\n */\n size?: 'sm'\n /**\n * Set the button variant to an outlined button or a ghost button.\n */\n variant?: 'border' | 'grow'\n /**\n * Set visually hidden label for accessibility purposes.\n */\n visuallyHiddenLabel?: string\n}\n\nexport const CSpinner = forwardRef(\n (\n {\n className,\n color,\n component: Component = 'div',\n size,\n variant = 'border',\n visuallyHiddenLabel = 'Loading...',\n ...rest\n },\n ref,\n ) => {\n return (\n \n {visuallyHiddenLabel}\n \n )\n },\n)\n\nCSpinner.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n component: PropTypes.string,\n size: PropTypes.oneOf(['sm']),\n variant: PropTypes.oneOf(['border', 'grow']),\n visuallyHiddenLabel: PropTypes.string,\n}\n\nCSpinner.displayName = 'CSpinner'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CTableHeadProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableHead = forwardRef(\n ({ children, className, color, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCTableHead.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableHead.displayName = 'CTableHead'\n","import React, { forwardRef, ThHTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CTableHeaderCellProps extends ThHTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableHeaderCell = forwardRef(\n ({ children, className, color, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCTableHeaderCell.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableHeaderCell.displayName = 'CTableHeaderCell'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CTableBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableBody = forwardRef(\n ({ children, className, color, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCTableBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableBody.displayName = 'CTableBody'\n","import React, { forwardRef, TdHTMLAttributes, ThHTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CTableDataCellProps\n extends Omit, 'align'>,\n Omit, 'align'> {\n /**\n * Highlight a table row or cell.\n */\n active?: boolean\n /**\n * Set the vertical aligment.\n */\n align?: 'bottom' | 'middle' | 'top' | string\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * @ignore\n */\n colSpan?: number\n}\n\nexport const CTableDataCell = forwardRef(\n ({ children, active, align, className, color, ...rest }, ref) => {\n const Component = rest.scope ? 'th' : 'td'\n\n return (\n \n {children}\n \n )\n },\n)\n\nCTableDataCell.propTypes = {\n active: PropTypes.bool,\n align: PropTypes.oneOf(['bottom', 'middle', 'top']),\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableDataCell.displayName = 'CTableDataCell'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CTableRowProps extends HTMLAttributes {\n /**\n * Highlight a table row or cell..\n */\n active?: boolean\n /**\n * Set the vertical aligment.\n */\n align?: 'bottom' | 'middle' | 'top' | string\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableRow = forwardRef(\n ({ children, active, align, className, color, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCTableRow.propTypes = {\n active: PropTypes.bool,\n align: PropTypes.oneOf(['bottom', 'middle', 'top']),\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableRow.displayName = 'CTableRow'\n","import PropTypes from 'prop-types'\nimport React, { forwardRef, HTMLAttributes } from 'react'\nimport classNames from 'classnames'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CTableFootProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n}\n\nexport const CTableFoot = forwardRef(\n ({ children, className, color, ...rest }, ref) => {\n return (\n \n {children}\n \n )\n },\n)\n\nCTableFoot.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n}\n\nCTableFoot.displayName = 'CTableFoot'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\n\nexport const CTableCaption = forwardRef<\n HTMLTableCaptionElement,\n HTMLAttributes\n>(({ children, ...props }, ref) => {\n return (\n \n {children}\n \n )\n})\n\nCTableCaption.propTypes = {\n children: PropTypes.node,\n}\n\nCTableCaption.displayName = 'CTableCaption'\n","import React, { FC, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\n\nexport interface CTableResponsiveWrapperProps extends HTMLAttributes {\n /**\n * Make any table responsive across all viewports or pick a maximum breakpoint with which to have a responsive table up to.\n */\n responsive?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n}\n\nexport const CTableResponsiveWrapper: FC = ({\n children,\n responsive,\n ...rest\n}) => {\n return responsive ? (\n \n {children}\n \n ) : (\n <>{children}\n )\n}\n\nCTableResponsiveWrapper.propTypes = {\n children: PropTypes.node,\n responsive: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n}\n\nCTableResponsiveWrapper.displayName = 'CTableResponsiveWrapper'\n","import type { Column, Item } from './types'\n\nexport const pretifyName = (name: string) => {\n return name\n .replace(/[-_.]/g, ' ')\n .replace(/ +/g, ' ')\n .replace(/([a-z0-9])([A-Z])/g, '$1 $2')\n .split(' ')\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' ')\n}\n\nexport const getColumnLabel = (column: Column | string) =>\n typeof column === 'object' ? column.label ?? pretifyName(column.key) : pretifyName(column)\n\nexport const getColumnNames = (columns: (string | Column)[] | undefined, items?: Item[]) =>\n columns\n ? columns.map((column: Column | string) => {\n return typeof column === 'object' ? column.key : column\n })\n : items && getColumnNamesFromItems(items)\n\nexport const getColumnNamesFromItems = (items: Item[]) =>\n Object.keys(items[0] || {}).filter((el) => el.charAt(0) !== '_')\n","import React, { forwardRef, TableHTMLAttributes, useMemo } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CTableHead, CTableHeadProps } from './CTableHead'\nimport { CTableHeaderCell } from './CTableHeaderCell'\nimport { CTableBody } from './CTableBody'\nimport { CTableDataCell } from './CTableDataCell'\nimport { CTableRow } from './CTableRow'\nimport { CTableFoot, CTableFootProps } from './CTableFoot'\nimport { CTableCaption } from './CTableCaption'\nimport { CTableResponsiveWrapper } from './CTableResponsiveWrapper'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\nimport { getColumnLabel, getColumnNames } from './utils'\nimport type { Column, FooterItem, Item } from './types'\n\nexport interface CTableProps extends Omit, 'align'> {\n /**\n * Set the vertical aligment.\n */\n align?: 'bottom' | 'middle' | 'top' | string\n /**\n * Sets the border color of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n borderColor?: Colors\n /**\n * Add borders on all sides of the table and cells.\n */\n bordered?: boolean\n /**\n * Remove borders on all sides of the table and cells.\n */\n borderless?: boolean\n /**\n * Put the caption on the top if you set `caption=\"top\"` of the table or set the text of the table caption.\n */\n caption?: 'top' | string\n /**\n * Set the text of the table caption and the caption on the top of the table.\n *\n * @since 4.3.0\n */\n captionTop?: string\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Prop for table columns configuration. If prop is not defined, table will display columns based on the first item keys, omitting keys that begins with underscore (e.g. '_props')\n *\n * In columns prop each array item represents one column. Item might be specified in two ways:\n * String: each item define column name equal to item value.\n * Object: item is object with following keys available as column configuration:\n * - key (required)(String) - define column name equal to item key.\n * - label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.\n * - _props (Object) - adds classes to all cels in column, ex. `_props: { scope: 'col', className: 'custom-class' }`,\n * - _style (Object) - adds styles to the column header (useful for defining widths)\n *\n * @since 4.3.0\n */\n columns?: (string | Column)[]\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Array of objects or strings, where each element represents one cell in the table footer.\n *\n * Example items:\n * `['FooterCell', 'FooterCell', 'FooterCell']`\n * or\n * `[{ label: 'FooterCell', _props: { color: 'success' }, ...]`\n *\n * @since 4.3.0\n */\n footer?: (FooterItem | string)[]\n /**\n * Enable a hover state on table rows within a ``.\n */\n hover?: boolean\n /**\n * Array of objects, where each object represents one item - row in table. Additionally, you can add style classes to each row by passing them by '_props' key and to single cell by '_cellProps'.\n *\n * Example item:\n * `{ name: 'John' , age: 12, _props: { color: 'success' }, _cellProps: { age: { className: 'fw-bold'}}}`\n *\n * @since 4.3.0\n */\n items?: Item[]\n /**\n * Make any table responsive across all viewports or pick a maximum breakpoint with which to have a responsive table up to.\n */\n responsive?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'\n /**\n * Make table more compact by cutting all cell `padding` in half.\n */\n small?: boolean\n /**\n * Add zebra-striping to any table row within the ``.\n */\n striped?: boolean\n /**\n * Add zebra-striping to any table column.\n *\n * @since 4.3.0\n */\n stripedColumns?: boolean\n /**\n * Properties that will be passed to the table footer component.\n *\n * @link https://coreui.io/react/docs/components/table/#ctablefoot\n * @since 4.3.0\n */\n tableFootProps?: CTableFootProps\n /**\n * Properties that will be passed to the table head component.\n *\n * @link https://coreui.io/react/docs/components/table/#ctablehead\n * @since 4.3.0\n */\n tableHeadProps?: CTableHeadProps\n}\n\nexport const CTable = forwardRef(\n (\n {\n children,\n align,\n borderColor,\n bordered,\n borderless,\n caption,\n captionTop,\n className,\n color,\n columns,\n footer,\n hover,\n items,\n responsive,\n small,\n striped,\n stripedColumns,\n tableFootProps,\n tableHeadProps,\n ...rest\n },\n ref,\n ) => {\n const columnNames = useMemo(() => getColumnNames(columns, items), [columns, items])\n\n return (\n \n \n {((caption && caption !== 'top') || captionTop) && (\n {caption || captionTop}\n )}\n {columns && (\n \n \n {columns.map((column: Column, index: number) => (\n \n {getColumnLabel(column)}\n \n ))}\n \n \n )}\n {items && (\n \n {items.map((item: Item, index: number) => (\n \n {columnNames &&\n columnNames.map((colName: string, index: number) => {\n return item[colName] ? (\n \n {item[colName]}\n \n ) : null\n })}\n \n ))}\n \n )}\n {children}\n {footer && (\n \n \n {footer.map((item: FooterItem | string, index: number) => (\n \n {typeof item === 'object' ? item.label : item}\n \n ))}\n \n \n )}\n \n \n )\n },\n)\n\nCTable.propTypes = {\n align: PropTypes.oneOf(['bottom', 'middle', 'top']),\n borderColor: PropTypes.string,\n bordered: PropTypes.bool,\n borderless: PropTypes.bool,\n caption: PropTypes.oneOfType([PropTypes.string, PropTypes.oneOf(['top'])]),\n captionTop: PropTypes.string,\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n columns: PropTypes.array,\n footer: PropTypes.array,\n hover: PropTypes.bool,\n items: PropTypes.array,\n responsive: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf<'sm' | 'md' | 'lg' | 'xl' | 'xxl'>(['sm', 'md', 'lg', 'xl', 'xxl']),\n ]),\n small: PropTypes.bool,\n striped: PropTypes.bool,\n stripedColumns: PropTypes.bool,\n tableFootProps: PropTypes.shape({ ...CTableFoot.propTypes }),\n tableHeadProps: PropTypes.shape({ ...CTableHead.propTypes }),\n}\n\nCTable.displayName = 'CTable'\n","import React, { HTMLAttributes, forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CTabContentProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CTabContent = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCTabContent.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCTabContent.displayName = 'CTabContent'\n","import React, { HTMLAttributes, forwardRef, useRef } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Transition } from 'react-transition-group'\n\nimport { useForkedRef } from '../../hooks'\n\nexport interface CTabPaneProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Callback fired when the component requests to be hidden.\n */\n onHide?: () => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: () => void\n /**\n * Toggle the visibility of component.\n */\n visible?: boolean\n}\n\nexport const CTabPane = forwardRef(\n ({ children, className, onHide, onShow, visible, ...rest }, ref) => {\n const tabPaneRef = useRef()\n const forkedRef = useForkedRef(ref, tabPaneRef)\n\n return (\n \n {(state) => (\n \n {children}\n \n )}\n \n )\n },\n)\n\nCTabPane.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n onHide: PropTypes.func,\n onShow: PropTypes.func,\n visible: PropTypes.bool,\n}\n\nCTabPane.displayName = 'CTabPane'\n","import React, {\n createContext,\n forwardRef,\n HTMLAttributes,\n useEffect,\n useRef,\n useState,\n} from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { Transition } from 'react-transition-group'\n\nimport { useForkedRef } from '../../hooks'\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CToastProps extends Omit, 'title'> {\n /**\n * Apply a CSS fade transition to the toast.\n */\n animation?: boolean\n /**\n * Auto hide the toast.\n */\n autohide?: boolean\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Delay hiding the toast (ms).\n */\n delay?: number\n /**\n * @ignore\n */\n index?: number\n /**\n * @ignore\n */\n key?: number\n /**\n * Callback fired when the component requests to be closed.\n */\n onClose?: (index: number | null) => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: (index: number | null) => void\n /**\n * Toggle the visibility of component.\n */\n visible?: boolean\n}\n\ninterface ContextProps extends CToastProps {\n visible?: boolean\n setVisible: React.Dispatch>\n}\n\nexport const CToastContext = createContext({} as ContextProps)\n\nexport const CToast = forwardRef(\n (\n {\n children,\n animation = true,\n autohide = true,\n className,\n color,\n delay = 5000,\n index,\n key,\n visible = false,\n onClose,\n onShow,\n ...rest\n },\n ref,\n ) => {\n const toastRef = useRef()\n const forkedRef = useForkedRef(ref, toastRef)\n const [_visible, setVisible] = useState(false)\n const timeout = useRef()\n\n useEffect(() => {\n setVisible(visible)\n }, [visible])\n\n const contextValues = {\n visible: _visible,\n setVisible,\n }\n\n // triggered on mount and destroy\n useEffect(() => () => clearTimeout(timeout.current), [])\n\n useEffect(() => {\n _autohide()\n }, [_visible])\n\n const _autohide = () => {\n if (autohide) {\n clearTimeout(timeout.current)\n timeout.current = window.setTimeout(() => {\n setVisible(false)\n }, delay)\n }\n }\n\n return (\n onShow && onShow(index ?? null)}\n onExited={() => onClose && onClose(index ?? null)}\n timeout={250}\n unmountOnExit\n >\n {(state) => (\n \n clearTimeout(timeout.current)}\n onMouseLeave={() => _autohide()}\n {...rest}\n key={key}\n ref={forkedRef}\n >\n {children}\n \n \n )}\n \n )\n },\n)\n\nCToast.propTypes = {\n animation: PropTypes.bool,\n autohide: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n color: colorPropType,\n delay: PropTypes.number,\n index: PropTypes.number,\n key: PropTypes.number,\n onClose: PropTypes.func,\n onShow: PropTypes.func,\n visible: PropTypes.bool,\n}\n\nCToast.displayName = 'CToast'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nexport interface CToastBodyProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n}\n\nexport const CToastBody = forwardRef(\n ({ children, className, ...rest }, ref) => {\n return (\n
    \n {children}\n
    \n )\n },\n)\n\nCToastBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n}\n\nCToastBody.displayName = 'CToastBody'\n","import React, { ElementType, forwardRef, useContext } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { CButtonProps } from '../button/CButton'\nimport { CCloseButton, CCloseButtonProps } from '../close-button/CCloseButton'\n\nimport { CToastContext } from './CToast'\n\ntype CombineButtonProps = CCloseButtonProps & CButtonProps\n\nexport interface CToastCloseProps extends CombineButtonProps {\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: string | ElementType\n}\n\nexport const CToastClose = forwardRef(\n ({ children, component: Component, ...rest }, ref) => {\n const { setVisible } = useContext(CToastContext)\n return Component ? (\n setVisible(false)} {...rest} ref={ref}>\n {children}\n \n ) : (\n setVisible(false)} {...rest} ref={ref} />\n )\n },\n)\n\nCToastClose.propTypes = {\n ...CCloseButton.propTypes,\n component: PropTypes.elementType,\n}\n\nCToastClose.displayName = 'CToastClose'\n","import React, { forwardRef, HTMLAttributes } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CToastClose } from './CToastClose'\n\nexport interface CToastHeaderProps extends Omit, 'title'> {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Automatically add a close button to the header.\n */\n closeButton?: boolean\n}\n\nexport const CToastHeader = forwardRef(\n ({ children, className, closeButton, ...rest }, ref) => {\n return (\n
    \n {children}\n {closeButton && }\n
    \n )\n },\n)\n\nCToastHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n closeButton: PropTypes.bool,\n}\n\nCToastHeader.displayName = 'CToastHeader'\n","import React, { forwardRef, HTMLAttributes, useEffect, useState, useRef, ReactElement } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { CConditionalPortal } from '../conditional-portal'\n\nexport interface CToasterProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Describes the placement of your component.\n *\n * @type 'top-start' | 'top' | 'top-end' | 'middle-start' | 'middle' | 'middle-end' | 'bottom-start' | 'bottom' | 'bottom-end' | string\n */\n placement?:\n | 'top-start'\n | 'top-center'\n | 'top-end'\n | 'middle-start'\n | 'middle-center'\n | 'middle-end'\n | 'bottom-start'\n | 'bottom-center'\n | 'bottom-end'\n | string\n /**\n * Adds new `CToast` to `CToaster`.\n */\n push?: ReactElement\n}\n\nexport const CToaster = forwardRef(\n ({ children, className, placement, push, ...rest }, ref) => {\n const [toasts, setToasts] = useState([])\n const index = useRef(0)\n\n useEffect(() => {\n index.current++\n push && addToast(push)\n }, [push])\n\n const addToast = (push: ReactElement) => {\n setToasts((state) => [\n ...state,\n React.cloneElement(push, {\n index: index.current,\n key: index.current,\n onClose: (index: number) =>\n setToasts((state) => state.filter((i) => i.props.index !== index)),\n }),\n ])\n }\n\n return (\n \n {toasts.length > 0 || children ? (\n \n {children}\n {toasts.map((toast) => React.cloneElement(toast, { visible: true }))}\n \n ) : null}\n \n )\n },\n)\n\nCToaster.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n placement: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.oneOf([\n 'top-start',\n 'top-center',\n 'top-end',\n 'middle-start',\n 'middle-center',\n 'middle-end',\n 'bottom-start',\n 'bottom-center',\n 'bottom-end',\n ]),\n ]),\n push: PropTypes.any,\n}\n\nCToaster.displayName = 'CToaster'\n","import React, { FC, HTMLAttributes, ReactNode, useEffect, useRef, useState } from 'react'\nimport { createPortal } from 'react-dom'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\nimport { usePopper } from 'react-popper'\nimport { Transition } from 'react-transition-group'\n\nimport { triggerPropType } from '../../props'\nimport type { Triggers } from '../../types'\n\nexport interface CTooltipProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Content node for your component.\n */\n content: ReactNode | string\n /**\n * Offset of the popover relative to its target.\n */\n offset?: [number, number]\n /**\n * Callback fired when the component requests to be hidden.\n */\n onHide?: () => void\n /**\n * Callback fired when the component requests to be shown.\n */\n onShow?: () => void\n /**\n * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.\n *\n * @type 'hover' | 'focus' | 'click'\n */\n trigger?: Triggers | Triggers[]\n /**\n * Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.\n */\n placement?: 'auto' | 'top' | 'right' | 'bottom' | 'left'\n /**\n * Toggle the visibility of popover component.\n */\n visible?: boolean\n}\n\nexport const CTooltip: FC = ({\n children,\n className,\n content,\n offset = [0, 0],\n onHide,\n onShow,\n placement = 'top',\n trigger = 'hover',\n visible,\n ...rest\n}) => {\n const tooltipRef = useRef()\n const [_visible, setVisible] = useState(visible)\n\n const [referenceElement, setReferenceElement] = useState(null)\n const [popperElement, setPopperElement] = useState(null)\n const [arrowElement, setArrowElement] = useState(null)\n const { styles, attributes } = usePopper(referenceElement, popperElement, {\n modifiers: [\n { name: 'arrow', options: { element: arrowElement } },\n {\n name: 'offset',\n options: {\n offset: offset,\n },\n },\n ],\n placement: placement,\n })\n\n useEffect(() => {\n setVisible(visible)\n }, [visible])\n\n return (\n <>\n {React.cloneElement(children as React.ReactElement, {\n ref: setReferenceElement,\n ...((trigger === 'click' || trigger.includes('click')) && {\n onClick: () => setVisible(!_visible),\n }),\n ...((trigger === 'focus' || trigger.includes('focus')) && {\n onFocus: () => setVisible(true),\n onBlur: () => setVisible(false),\n }),\n ...((trigger === 'hover' || trigger.includes('hover')) && {\n onMouseEnter: () => setVisible(true),\n onMouseLeave: () => setVisible(false),\n }),\n })}\n {typeof window !== 'undefined' &&\n createPortal(\n \n {(state) => (\n \n
    \n
    {content}
    \n \n )}\n ,\n document.body,\n )}\n \n )\n}\n\nCTooltip.propTypes = {\n children: PropTypes.node,\n content: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n offset: PropTypes.any, // TODO: find good proptype\n onHide: PropTypes.func,\n onShow: PropTypes.func,\n placement: PropTypes.oneOf(['auto', 'top', 'right', 'bottom', 'left']),\n trigger: triggerPropType,\n visible: PropTypes.bool,\n}\n\nCTooltip.displayName = 'CTooltip'\n","import React, { forwardRef, HTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CCard, CCardBody } from '../card'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CWidgetStatsAProps extends Omit, 'title'> {\n /**\n * Action node for your component.\n */\n action?: ReactNode\n /**\n * Chart node for your component.\n */\n chart?: string | ReactNode\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Title node for your component.\n */\n title?: string | ReactNode\n /**\n * Value node for your component.\n */\n value?: string | number | ReactNode\n}\n\nexport const CWidgetStatsA = forwardRef(\n ({ action, chart, className, color, title, value, ...rest }, ref) => {\n return (\n \n \n
    \n {value &&
    {value}
    }\n {title &&
    {title}
    }\n
    \n {action}\n
    \n {chart}\n \n )\n },\n)\n\nCWidgetStatsA.propTypes = {\n action: PropTypes.node,\n chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n className: PropTypes.string,\n color: colorPropType,\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),\n}\n\nCWidgetStatsA.displayName = 'CWidgetStatsA'\n","import React, { forwardRef, HTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { CCard, CCardBody } from '../card'\nimport { CProgress, CProgressProps } from '../progress/CProgress'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CWidgetStatsBProps extends Omit, 'title'> {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Colors have been inverted from their default dark shade.\n */\n inverse?: boolean\n /**\n * Sets the color context of the progress bar to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n progress?: CProgressProps\n /**\n * Title node for your component.\n */\n title?: string | ReactNode\n /**\n * Helper text for your component.\n */\n text?: string\n /**\n * Value node for your component.\n */\n value?: string | number | ReactNode\n}\n\nexport const CWidgetStatsB = forwardRef(\n ({ className, color, inverse, progress, text, title, value, ...rest }, ref) => {\n return (\n \n \n {value &&
    {value}
    }\n {title &&
    {title}
    }\n \n {text && (\n \n {text}\n \n )}\n
    \n \n )\n },\n)\n\nCWidgetStatsB.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n inverse: PropTypes.bool,\n progress: PropTypes.object,\n text: PropTypes.string,\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),\n}\n\nCWidgetStatsB.displayName = 'CWidgetCWidgetStatsB'\n","import React, { forwardRef, HTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { CCard, CCardBody } from '../card'\nimport { CProgress, CProgressProps } from '../progress/CProgress'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CWidgetStatsCProps extends Omit, 'title'> {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Icon node for your component.\n */\n icon?: string | ReactNode\n /**\n * Colors have been inverted from their default dark shade.\n */\n inverse?: boolean\n /**\n * Sets the color context of the progress bar to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n progress?: CProgressProps\n /**\n * Title node for your component.\n */\n title?: string | ReactNode\n /**\n * Value node for your component.\n */\n value?: string | number | ReactNode\n}\n\nexport const CWidgetStatsC = forwardRef(\n ({ className, color, icon, inverse, progress, title, value, ...rest }, ref) => {\n return (\n \n \n {icon && (\n
    \n {icon}\n
    \n )}\n {value && (\n
    \n {value}\n
    \n )}\n {title && (\n
    \n {title}\n
    \n )}\n \n
    \n \n )\n },\n)\n\nCWidgetStatsC.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n inverse: PropTypes.bool,\n progress: PropTypes.object,\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),\n}\n\nCWidgetStatsC.displayName = 'CWidgetStatsCWidgetStatsC'\n","import React, { forwardRef, HTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CCard, CCardBody, CCardHeader } from '../card'\nimport { CCol } from '../grid/CCol'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\ntype Value = {\n title?: string | ReactNode\n value?: number | string | ReactNode\n}\n\nexport interface CWidgetStatsDProps extends HTMLAttributes {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Chart node for your component.\n */\n chart?: string | ReactNode\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Icon node for your component.\n */\n icon?: string | ReactNode\n /**\n * Values and titles for your component.\n */\n values?: Value[]\n}\n\nexport const CWidgetStatsD = forwardRef(\n ({ className, chart, color, icon, values, ...rest }, ref) => {\n return (\n \n \n {icon}\n {chart}\n \n \n {values &&\n values.map((value: Value, index: number) => {\n return (\n \n {index % 2 !== 0 &&
    }\n \n
    {value.value}
    \n
    {value.title}
    \n
    \n
    \n )\n })}\n
    \n
    \n )\n },\n)\n\nCWidgetStatsD.propTypes = {\n chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n className: PropTypes.string,\n color: colorPropType,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n values: PropTypes.arrayOf(PropTypes.any),\n}\n\nCWidgetStatsD.displayName = 'CWidgetStatsD'\n","import React, { forwardRef, HTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\nimport classNames from 'classnames'\n\nimport { CCard, CCardBody } from '../card'\n\nexport interface CWidgetStatsEProps extends Omit, 'title'> {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Chart node for your component.\n */\n chart?: string | ReactNode\n /**\n * Title node for your component.\n */\n title?: string | ReactNode\n /**\n * Value node for your component.\n */\n value?: string | number | ReactNode\n}\n\nexport const CWidgetStatsE = forwardRef(\n ({ chart, className, title, value, ...rest }, ref) => {\n return (\n \n \n {title && (\n
    {title}
    \n )}\n {value &&
    {value}
    }\n {chart}\n
    \n
    \n )\n },\n)\n\nCWidgetStatsE.propTypes = {\n children: PropTypes.node,\n chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n className: PropTypes.string,\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),\n}\n\nCWidgetStatsE.displayName = 'CWidgetStatsE'\n","import React, { forwardRef, HTMLAttributes, ReactNode } from 'react'\nimport PropTypes from 'prop-types'\n\nimport { CCard, CCardBody, CCardFooter } from '../card'\n\nimport { colorPropType } from '../../props'\nimport type { Colors } from '../../types'\n\nexport interface CWidgetStatsFProps extends Omit, 'title'> {\n /**\n * A string of all className you want applied to the base component.\n */\n className?: string\n /**\n * Sets the color context of the component to one of CoreUI’s themed colors.\n *\n * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string\n */\n color?: Colors\n /**\n * Footer node for your component.\n */\n footer?: string | ReactNode\n /**\n * Icon node for your component.\n */\n icon?: string | ReactNode\n /**\n * Set padding of your component.\n */\n padding?: boolean\n /**\n * Title node for your component.\n */\n title?: string | ReactNode\n /**\n * Value node for your component.\n */\n value?: string | number | ReactNode\n}\n\nexport const CWidgetStatsF = forwardRef(\n ({ className, color, footer, icon, padding = true, title, value, ...rest }, ref) => {\n return (\n \n \n
    {icon}
    \n
    \n
    {value}
    \n
    {title}
    \n
    \n
    \n {footer && {footer}}\n
    \n )\n },\n)\n\nCWidgetStatsF.propTypes = {\n className: PropTypes.string,\n color: colorPropType,\n footer: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n padding: PropTypes.bool,\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),\n}\n\nCWidgetStatsF.displayName = 'CWidgetStatsF'\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","__spreadArray","to","from","pack","ar","l","Array","slice","concat","ReactPropTypesSecret_1","exports","ReactPropTypesSecret","requireReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","factoryWithThrowingShims","shim","props","propName","componentName","location","propFullName","secret","err","Error","name","getShim","isRequired","ReactPropTypes","array","bigint","bool","func","number","object","string","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes","requireFactoryWithThrowingShims","hasOwn","classNames","classes","arg","argType","push","isArray","inner","toString","includes","key","join","module","default","window","CAccordionContext","createContext","CAccordion","forwardRef","_a","ref","children","activeItemKey","_b","alwaysOpen","className","flush","rest","_c","useState","_activeItemKey","setActiveKey","React__default","Provider","value","propTypes","propTypesExports","displayName","CAccordionItemContext","CAccordionItem","itemKey","_itemKey","useRef","Math","random","useContext","Boolean","current","visible","setVisible","useEffect","_extends","bind","target","source","_objectWithoutPropertiesLoose","excluded","sourceKeys","keys","_setPrototypeOf","o","setPrototypeOf","__proto__","_inheritsLoose","subClass","superClass","create","constructor","replaceClassName","origClass","classToRemove","replace","RegExp","config","TransitionGroupContext","forceReflow","scrollTop","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","Transition","_React$Component","context","_this","initialStatus","appear","isMounting","enter","appearStatus","in","unmountOnExit","mountOnEnter","state","status","nextCallback","getDerivedStateFromProps","_ref","prevState","_proto","componentDidMount","updateStatus","componentDidUpdate","prevProps","nextStatus","componentWillUnmount","cancelNextCallback","getTimeouts","exit","timeout","undefined","mounting","nodeRef","ReactDOM__default","performEnter","performExit","setState","_this2","appearing","_ref2","maybeNode","maybeAppearing","timeouts","enterTimeout","safeSetState","onEntered","onEnter","onEntering","onTransitionEnd","_this3","onExit","onExiting","onExited","cancel","nextState","callback","setNextCallback","_this4","active","event","handler","doesNotHaveTimeoutOrListener","addEndListener","_ref3","maybeNextCallback","setTimeout","render","_this$props","childProps","noop","contextType","defaultProps","Transition$1","_addClass","split","forEach","c","classList","add","contains","baseVal","hasClass","setAttribute","removeClass","remove","CSSTransition","_len","args","_key","appliedClasses","_this$resolveArgument","resolveArguments","removeClasses","addClass","_this$resolveArgument2","type","_this$resolveArgument3","getClassNames","isStringClassNames","baseClassName","activeClassName","doneClassName","phase","_this$appliedClasses$","base","done","CSSTransition$1","useForkedRef","refs","_i","useMemo","every","isFunction","error","assignRef","CCollapse","horizontal","onHide","onShow","collapseRef","forkedRef","height","setHeight","width","setWidth","scrollWidth","scrollHeight","currentHeight","currentWidth","collapsing","collapse","style","CAccordionBody","CAccordionButton","collapsed","onClick","CAccordionCollapse","CAccordionHeader","CCloseButton","disabled","white","colorPropType","placementPropType","shapePropType","textColorsPropType","triggerPropType","CAlert","color","dismissible","variant","onClose","alertRef","_d","_visible","show","role","CAlertHeading","component","Component","CLink","tabIndex","preventDefault","CAlertLink","CAvatar","size","src","textColor","statusClassName","CBackdrop","backdropRef","CBadge","position","CBreadcrumb","CBreadcrumbItem","href","CButton","_e","CButtonToolbar","CButtonGroup","vertical","CCallout","CCard","CCardBody","CCardFooter","CCardGroup","CCardHeader","CCardImage","orientation","CCardImageOverlay","CCardLink","CCardSubtitle","CCardText","CCardTitle","isInViewport","rect","getBoundingClientRect","floor","top","left","bottom","innerHeight","document","documentElement","clientHeight","right","innerWidth","clientWidth","CCarouselContext","CCarousel","activeIndex","controls","dark","indicators","interval","onSlid","onSlide","pause","touch","transition","_f","wrap","carouselRef","data","_g","setActive","_h","animating","setAnimating","_j","customInterval","setCustomInterval","_k","direction","setDirection","_l","itemsNumber","setItemsNumber","_m","touchPosition","setTouchPosition","_o","Children","cycle","addEventListener","handleScroll","removeEventListener","_pause","nextItemWhenVisible","clearTimeout","hidden","handleControlClick","onMouseEnter","onMouseLeave","onTouchStart","touchDown","touches","clientX","onTouchMove","diff","_","map","index","handleIndicatorClick","child","CCarouselCaption","CCarouselItem","carouselItemRef","prevActive","directionClassName","setDirectionClassName","orderClassName","setOrderClassName","setActiveClassName","count","setCount","offsetHeight","CConditionalPortal","portal","createPortal","body","ManagerReferenceNodeContext","React","ManagerReferenceNodeSetterContext","Manager","_React$useState","referenceNode","setReferenceNode","hasUnmounted","handleSetReferenceNode","unwrapArray","safeInvoke","fn","setRef","fromEntries","entries","reduce","acc","useIsomorphicLayoutEffect","createElement","auto","basePlacements","start","end","clippingParents","viewport","popper","reference","variationPlacements","placement","placements","modifierPhases","getNodeName","nodeName","toLowerCase","getWindow","ownerDocument","defaultView","isElement","Element","isHTMLElement","HTMLElement","isShadowRoot","ShadowRoot","applyStyles$1","enabled","elements","styles","attributes","removeAttribute","effect","initialStyles","options","strategy","margin","arrow","property","attribute","requires","getBasePlacement","max","min","round","getUAString","uaData","navigator","userAgentData","brands","item","brand","version","userAgent","isLayoutViewport","test","includeScale","isFixedStrategy","clientRect","scaleX","scaleY","offsetWidth","visualViewport","addVisualOffsets","x","offsetLeft","y","offsetTop","getLayoutRect","abs","parent","rootNode","getRootNode","next","isSameNode","parentNode","host","getComputedStyle$1","getComputedStyle","isTableElement","getDocumentElement","getParentNode","assignedSlot","getTrueOffsetParent","offsetParent","getOffsetParent","isFirefox","currentNode","css","transform","perspective","contain","willChange","filter","getContainingBlock","getMainAxisFromPlacement","within","min$1","max$1","mergePaddingObject","paddingObject","expandToHashMap","hashMap","arrow$1","_state$modifiersData$","arrowElement","popperOffsets","modifiersData","basePlacement","axis","len","padding","rects","toPaddingObject","arrowRect","minProp","maxProp","endDiff","startDiff","arrowOffsetParent","clientSize","centerToReference","center","offset","axisProp","centerOffset","_options$element","querySelector","requiresIfExists","getVariation","unsetSides","mapToStyles","_Object$assign2","popperRect","variation","offsets","gpuAcceleration","adaptive","roundOffsets","isFixed","_offsets$x","_offsets$y","hasX","hasY","sideX","sideY","win","heightProp","widthProp","_Object$assign","commonStyles","_ref4","dpr","devicePixelRatio","roundOffsetsByDPR","passive","hash$1","getOppositePlacement","matched","hash","getOppositeVariationPlacement","getWindowScroll","scrollLeft","pageXOffset","pageYOffset","getWindowScrollBarX","isScrollParent","_getComputedStyle","overflow","overflowX","overflowY","getScrollParent","listScrollParents","list","_element$ownerDocumen","scrollParent","isBody","updatedList","rectToClientRect","getClientRectFromMixedType","clippingParent","html","layoutViewport","getViewportRect","clientTop","clientLeft","getInnerBoundingClientRect","winScroll","getDocumentRect","getClippingRect","boundary","rootBoundary","mainClippingParents","clipperElement","getClippingParents","firstClippingParent","clippingRect","accRect","computeOffsets","commonX","commonY","mainAxis","detectOverflow","_options","_options$placement","_options$strategy","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","clippingClientRect","contextElement","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","computeAutoPlacement","flipVariations","_options$allowedAutoP","allowedAutoPlacements","placements$1","allowedPlacements","overflows","sort","a","b","flip$1","_skip","_options$mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","specifiedFallbackPlacements","fallbackPlacements","_options$flipVariatio","preferredPlacement","oppositePlacement","getExpandedFallbackPlacements","referenceRect","checksMap","Map","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","isVertical","mainVariationSide","altVariationSide","checks","check","set","_loop","fittingPlacement","find","get","reset","getSideOffsets","preventedOffsets","isAnySideFullyClipped","some","side","offset$1","_options$offset","invertDistance","skidding","distance","distanceAndSkiddingToXY","_data$state$placement","preventOverflow$1","_options$tether","tether","_options$tetherOffset","tetherOffset","isBasePlacement","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","minLen","maxLen","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","clientOffset","offsetModifierValue","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_offset","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","v","withinMaxClamp","getCompositeRect","elementOrVirtualElement","isOffsetParentAnElement","offsetParentIsScaled","isElementScaled","scroll","getNodeScroll","order","modifiers","visited","Set","result","modifier","dep","has","depModifier","debounce","pending","Promise","resolve","then","DEFAULT_OPTIONS","areValidElements","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","defaultOptions","orderedModifiers","effectCleanupFns","isDestroyed","instance","setOptions","setOptionsAction","cleanupModifierEffects","scrollParents","orderModifiers","merged","existing","mergeByName","m","_ref3$options","cleanupFn","noopFn","update","forceUpdate","_state$elements","_state$orderedModifie","_state$orderedModifie2","destroy","onFirstUpdate","createPopper","_options$scroll","_options$resize","resize","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","preventOverflow","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","hasElementType","hasMap","hasSet","hasArrayBuffer","ArrayBuffer","isView","equal","it","flags","valueOf","$$typeof","reactFastCompare","message","match","console","warn","EMPTY_MODIFIERS$1","usePopper","referenceElement","popperElement","prevOptions","optionsWithDefaults","updateStateModifier","ReactDOM","popperOptions","newOptions","popperInstanceRef","popperInstance","NOOP","NOOP_PROMISE","EMPTY_MODIFIERS","Popper","_ref$placement","_ref$strategy","_ref$modifiers","innerRef","setPopperElement","_React$useState2","setArrowElement","_usePopper","childrenProps","hide","arrowProps","warning","warning_1","Reference","refHandler","CDropdownContext","CDropdown","alignment","autoClose","dropdownRef","dropdownToggleRef","contextValues","DropdownContent","alignmentDirection","xs","sm","md","lg","xl","xxl","CDropdownDivider","CDropdownHeader","CDropdownItem","CDropdownItemPlain","CDropdownMenu","dropdownMenuRef","handleMouseUp","handleKeyup","_placement","alignmentClassNames","dropdownMenuComponent","CDropdownToggle","caret","custom","trigger","triggers","onFocus","onBlur","togglerProps","Toggler","CFooter","CForm","validated","CFormFeedback","invalid","tooltip","valid","CFormControlValidation","describedby","feedback","feedbackInvalid","feedbackValid","tooltipFeedback","id","CFormLabel","customClassName","CFormCheck","button","floatingLabel","hitArea","indeterminate","inline","label","reverse","inputRef","FormControl","FormValidation","FormLabel","htmlFor","CFormFloating","CFormText","CFormControlWrapper","floatingClassName","text","FormControlValidation","CFormInput","delay","onChange","plainText","setValue","timeOutId","CFormRange","CFormSelect","htmlSize","option","CFormSwitch","CFormTextarea","CInputGroup","CInputGroupText","BREAKPOINTS$3","CCol","repsonsiveClassNames","bp","breakpoint","infix","span","col","BREAKPOINTS$2","CContainer","fluid","BREAKPOINTS$1","CRow","cols","gutter","gutterX","gutterY","CHeader","container","CHeaderBrand","CHeaderDivider","CHeaderNav","CHeaderText","CHeaderToggler","CImage","align","rounded","thumbnail","CListGroup","layout","CListGroupItem","CModalContent","CModalDialog","fullscreen","scrollable","CModalContext","CModal","backdrop","duration","keyboard","onClosePrevented","unmountOnClose","modalRef","modalContentRef","staticBackdrop","setStaticBackdrop","handleClickOutside","handleKeyDown","handleDismiss","useLayoutEffect","paddingRight","focus","removeProperty","fade","display","CModalBody","CModalFooter","CModalHeader","closeButton","CModalTitle","CNav","CNavGroupItems","CNavContext","CSidebarNav","CNavContextValues","visibleGroup","setVisibleGroup","idx","CNavGroup","compact","toggler","navItemsRef","startsWith","transitionStyles","entering","entered","exiting","exited","lastIndexOf","handleTogglerOnCLick","CNavLink","navLinkRef","CNavItem","CNavTitle","CNavbar","colorScheme","expand","CNavbarBrand","CNavbarNav","CNavbarText","CNavbarToggler","COffcanvas","responsive","offcanvasRef","showing","onKeyDown","COffcanvasBody","COffcanvasHeader","COffcanvasTitle","CPagination","CPaginationItem","BREAKPOINTS","CPlaceholder","animation","CProgressBar","animated","CProgress","thin","CPopover","content","title","popoverRef","setReferenceElement","isOnMobile","getPropertyValue","CSidebar","narrow","onVisibleChange","overlaid","unfoldable","sidebarRef","mobile","setMobile","inViewport","setInViewport","handleResize","handleOnClick","handleHide","CSidebarBrand","CSidebarFooter","CSidebarToggler","CSidebarHeader","CSpinner","visuallyHiddenLabel","CTableHead","CTableHeaderCell","CTableBody","CTableDataCell","scope","CTableRow","CTableFoot","CTableCaption","CTableResponsiveWrapper","pretifyName","word","charAt","toUpperCase","getColumnNamesFromItems","items","el","CTable","borderColor","bordered","borderless","caption","captionTop","columns","footer","hover","small","striped","stripedColumns","tableFootProps","tableHeadProps","columnNames","column","getColumnNames","_props","_style","getColumnLabel","colName","_cellProps","CTabContent","CTabPane","tabPaneRef","CToastContext","CToast","autohide","toastRef","_autohide","CToastBody","CToastClose","CToastHeader","CToaster","toasts","setToasts","addToast","toast","CTooltip","tooltipRef","CWidgetStatsA","action","chart","CWidgetStatsB","inverse","progress","CWidgetStatsC","icon","CWidgetStatsD","values","CWidgetStatsE","CWidgetStatsF"],"sourceRoot":""}