@rocket.chat/fuselage 0.32.0-dev.277 → 0.32.0-dev.279
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/Accordion.d.ts +1 -1
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/AccordionItem.d.ts +1 -1
- package/dist/components/Accordion/AccordionItem.d.ts.map +1 -1
- package/dist/components/AnimatedVisibility/AnimatedVisibility.d.ts +2 -2
- package/dist/components/AnimatedVisibility/AnimatedVisibility.d.ts.map +1 -1
- package/dist/components/AnimatedVisibility/index.d.ts +0 -1
- package/dist/components/AnimatedVisibility/index.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts +2 -2
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Badge/Badge.d.ts +1 -1
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/Banner/Banner.d.ts +2 -2
- package/dist/components/Banner/Banner.d.ts.map +1 -1
- package/dist/components/Box/stylingProps.d.ts +3 -3
- package/dist/components/Box/stylingProps.d.ts.map +1 -1
- package/dist/components/Box/withBoxStyling.d.ts +3 -1
- package/dist/components/Box/withBoxStyling.d.ts.map +1 -1
- package/dist/components/Button/ActionButton.d.ts +2 -2
- package/dist/components/Button/ActionButton.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +2 -2
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/IconButton.d.ts +2 -2
- package/dist/components/Button/IconButton.d.ts.map +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
- package/dist/components/Callout/Callout.d.ts +1 -1
- package/dist/components/Callout/Callout.d.ts.map +1 -1
- package/dist/components/CheckBox/CheckBox.d.ts +1 -1
- package/dist/components/Chevron/Chevron.d.ts +1 -1
- package/dist/components/Chevron/Chevron.d.ts.map +1 -1
- package/dist/components/Chip/Chip.d.ts +1 -1
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/CodeSnippet/CodeSnippet.d.ts +1 -1
- package/dist/components/CodeSnippet/CodeSnippet.d.ts.map +1 -1
- package/dist/components/Divider/Divider.d.ts +1 -1
- package/dist/components/Divider/Divider.d.ts.map +1 -1
- package/dist/components/EmailInput/EmailInput.d.ts +2 -2
- package/dist/components/Field/Field.d.ts +1 -1
- package/dist/components/Field/Field.d.ts.map +1 -1
- package/dist/components/Field/FieldDescription.d.ts +1 -1
- package/dist/components/Field/FieldDescription.d.ts.map +1 -1
- package/dist/components/Field/FieldError.d.ts +1 -1
- package/dist/components/Field/FieldError.d.ts.map +1 -1
- package/dist/components/Field/FieldHint.d.ts +1 -1
- package/dist/components/Field/FieldHint.d.ts.map +1 -1
- package/dist/components/Field/FieldLabel.d.ts +1 -1
- package/dist/components/Field/FieldLabel.d.ts.map +1 -1
- package/dist/components/Field/FieldLink.d.ts +1 -1
- package/dist/components/Field/FieldLink.d.ts.map +1 -1
- package/dist/components/Field/FieldRow.d.ts +1 -1
- package/dist/components/Field/FieldRow.d.ts.map +1 -1
- package/dist/components/Field/index.d.ts +5 -6
- package/dist/components/Field/index.d.ts.map +1 -1
- package/dist/components/FieldGroup/FieldGroup.d.ts +1 -1
- package/dist/components/FieldGroup/FieldGroup.d.ts.map +1 -1
- package/dist/components/Flex/FlexContainer.d.ts +1 -1
- package/dist/components/Flex/FlexContainer.d.ts.map +1 -1
- package/dist/components/Flex/FlexItem.d.ts +1 -1
- package/dist/components/Flex/FlexItem.d.ts.map +1 -1
- package/dist/components/Grid/Grid.d.ts +1 -1
- package/dist/components/Grid/Grid.d.ts.map +1 -1
- package/dist/components/Grid/GridItem.d.ts +1 -1
- package/dist/components/Grid/GridItem.d.ts.map +1 -1
- package/dist/components/Icon/Icon.d.ts +2 -2
- package/dist/components/Icon/Icon.d.ts.map +1 -1
- package/dist/components/InputBox/Addon.d.ts +1 -1
- package/dist/components/InputBox/Input.d.ts +1 -1
- package/dist/components/InputBox/InputBox.d.ts +2 -2
- package/dist/components/InputBox/InputBox.d.ts.map +1 -1
- package/dist/components/InputBox/InputBoxSkeleton.d.ts +1 -1
- package/dist/components/InputBox/InputBoxSkeleton.d.ts.map +1 -1
- package/dist/components/InputBox/Option.d.ts +1 -1
- package/dist/components/InputBox/Placeholder.d.ts +1 -1
- package/dist/components/InputBox/index.d.ts +7 -8
- package/dist/components/InputBox/index.d.ts.map +1 -1
- package/dist/components/Label/Label.d.ts +1 -1
- package/dist/components/Label/Label.d.ts.map +1 -1
- package/dist/components/Margins/Margins.d.ts +1 -1
- package/dist/components/Margins/Margins.d.ts.map +1 -1
- package/dist/components/Menu/Menu.d.ts +2 -1
- package/dist/components/Menu/Menu.d.ts.map +1 -1
- package/dist/components/Message/MessageBlock.d.ts +1 -1
- package/dist/components/Message/MessageBlock.d.ts.map +1 -1
- package/dist/components/Message/MessageBody.d.ts +1 -1
- package/dist/components/Message/MessageBody.d.ts.map +1 -1
- package/dist/components/Message/MessageContainer.d.ts +1 -1
- package/dist/components/Message/MessageContainer.d.ts.map +1 -1
- package/dist/components/Message/MessageContainerFixed.d.ts +1 -1
- package/dist/components/Message/MessageContainerFixed.d.ts.map +1 -1
- package/dist/components/Message/MessageDivider/MessageDivider.d.ts +1 -1
- package/dist/components/Message/MessageDivider/MessageDivider.d.ts.map +1 -1
- package/dist/components/Message/MessageEmoji.d.ts +1 -1
- package/dist/components/Message/MessageEmoji.d.ts.map +1 -1
- package/dist/components/Message/MessageEmojiBase.d.ts +1 -1
- package/dist/components/Message/MessageEmojiBase.d.ts.map +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewContent.d.ts +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewContent.d.ts.map +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewCoverImage.d.ts +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewCoverImage.d.ts.map +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewDescription.d.ts +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewDescription.d.ts.map +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewFooter.d.ts +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewFooter.d.ts.map +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewIcon.d.ts +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewIcon.d.ts.map +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewImage.d.ts +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewImage.d.ts.map +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewTitle.d.ts +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewTitle.d.ts.map +1 -1
- package/dist/components/Message/MessageHeader.d.ts +1 -1
- package/dist/components/Message/MessageHeader.d.ts.map +1 -1
- package/dist/components/Message/MessageLeftContainer.d.ts +1 -1
- package/dist/components/Message/MessageLeftContainer.d.ts.map +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetrics.d.ts +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetrics.d.ts.map +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsContent.d.ts +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsContent.d.ts.map +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsContentItem.d.ts +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsContentItem.d.ts.map +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsFollowing.d.ts +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsFollowing.d.ts.map +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItem.d.ts +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItem.d.ts.map +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItemIcon.d.ts +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItemIcon.d.ts.map +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItemLabel.d.ts +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItemLabel.d.ts.map +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsItem/index.d.ts +3 -4
- package/dist/components/Message/MessageMetrics/MessageMetricsItem/index.d.ts.map +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsReply.d.ts +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsReply.d.ts.map +1 -1
- package/dist/components/Message/MessageMetrics/index.d.ts +4 -5
- package/dist/components/Message/MessageMetrics/index.d.ts.map +1 -1
- package/dist/components/Message/MessageName.d.ts +1 -1
- package/dist/components/Message/MessageName.d.ts.map +1 -1
- package/dist/components/Message/MessageNameContainer.d.ts +1 -1
- package/dist/components/Message/MessageNameContainer.d.ts.map +1 -1
- package/dist/components/Message/MessageReactions/MessageReactionCounter.d.ts +1 -1
- package/dist/components/Message/MessageReactions/MessageReactionCounter.d.ts.map +1 -1
- package/dist/components/Message/MessageReactions/MessageReactionEmoji.d.ts +1 -1
- package/dist/components/Message/MessageReactions/MessageReactionEmoji.d.ts.map +1 -1
- package/dist/components/Message/MessageReactions/MessageReactions.d.ts +1 -1
- package/dist/components/Message/MessageReactions/MessageReactions.d.ts.map +1 -1
- package/dist/components/Message/MessageReactions/index.d.ts +0 -1
- package/dist/components/Message/MessageReactions/index.d.ts.map +1 -1
- package/dist/components/Message/MessageRole.d.ts +1 -1
- package/dist/components/Message/MessageRole.d.ts.map +1 -1
- package/dist/components/Message/MessageRoles.d.ts +1 -1
- package/dist/components/Message/MessageRoles.d.ts.map +1 -1
- package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicator.d.ts +1 -1
- package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicator.d.ts.map +1 -1
- package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicatorItem.d.ts +1 -1
- package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicatorItem.d.ts.map +1 -1
- package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicatorText.d.ts +1 -1
- package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicatorText.d.ts.map +1 -1
- package/dist/components/Message/MessageStatusIndicator/MessageStatusPrivateIndicator.d.ts +1 -1
- package/dist/components/Message/MessageStatusIndicator/MessageStatusPrivateIndicator.d.ts.map +1 -1
- package/dist/components/Message/MessageSystem/MessageSystem.d.ts +1 -1
- package/dist/components/Message/MessageSystem/MessageSystem.d.ts.map +1 -1
- package/dist/components/Message/MessageSystem/MessageSystemBlock.d.ts +1 -1
- package/dist/components/Message/MessageSystem/MessageSystemBlock.d.ts.map +1 -1
- package/dist/components/Message/MessageSystem/MessageSystemBody.d.ts +1 -1
- package/dist/components/Message/MessageSystem/MessageSystemBody.d.ts.map +1 -1
- package/dist/components/Message/MessageSystem/MessageSystemContainer.d.ts +1 -1
- package/dist/components/Message/MessageSystem/MessageSystemContainer.d.ts.map +1 -1
- package/dist/components/Message/MessageSystem/MessageSystemTimestamp.d.ts +1 -1
- package/dist/components/Message/MessageSystem/MessageSystemTimestamp.d.ts.map +1 -1
- package/dist/components/Message/MessageSystem/index.d.ts +0 -1
- package/dist/components/Message/MessageSystem/index.d.ts.map +1 -1
- package/dist/components/Message/MessageTimestamp.d.ts +1 -1
- package/dist/components/Message/MessageTimestamp.d.ts.map +1 -1
- package/dist/components/Message/MessageToolbox/MessageToolbox.d.ts +1 -1
- package/dist/components/Message/MessageToolbox/MessageToolbox.d.ts.map +1 -1
- package/dist/components/Message/MessageToolbox/MessageToolboxItem.d.ts +3 -3
- package/dist/components/Message/MessageToolbox/MessageToolboxWrapper.d.ts +1 -1
- package/dist/components/Message/MessageToolbox/MessageToolboxWrapper.d.ts.map +1 -1
- package/dist/components/Message/MessageToolbox/index.d.ts +8 -8
- package/dist/components/Message/MessageToolbox/index.d.ts.map +1 -1
- package/dist/components/Message/MessageUsername.d.ts +1 -1
- package/dist/components/Message/MessageUsername.d.ts.map +1 -1
- package/dist/components/Message/ThreadMessage/ThreadMessage.d.ts +1 -1
- package/dist/components/Message/ThreadMessage/ThreadMessage.d.ts.map +1 -1
- package/dist/components/Message/ThreadMessage/ThreadMessageBody.d.ts +1 -1
- package/dist/components/Message/ThreadMessage/ThreadMessageBody.d.ts.map +1 -1
- package/dist/components/Message/ThreadMessage/ThreadMessageContainer.d.ts +1 -1
- package/dist/components/Message/ThreadMessage/ThreadMessageContainer.d.ts.map +1 -1
- package/dist/components/Message/ThreadMessage/ThreadMessageEmoji.d.ts +1 -1
- package/dist/components/Message/ThreadMessage/ThreadMessageEmoji.d.ts.map +1 -1
- package/dist/components/Message/ThreadMessage/ThreadMessageOrigin.d.ts +1 -1
- package/dist/components/Message/ThreadMessage/ThreadMessageOrigin.d.ts.map +1 -1
- package/dist/components/Message/ThreadMessage/ThreadMessageRow.d.ts +1 -1
- package/dist/components/Message/ThreadMessage/ThreadMessageRow.d.ts.map +1 -1
- package/dist/components/Message/ThreadMessage/index.d.ts +0 -1
- package/dist/components/Message/ThreadMessage/index.d.ts.map +1 -1
- package/dist/components/Message/index.d.ts +12 -11
- package/dist/components/Message/index.d.ts.map +1 -1
- package/dist/components/Modal/Modal.d.ts +1 -1
- package/dist/components/Modal/ModalBackdrop.d.ts +1 -1
- package/dist/components/Modal/ModalBackdrop.d.ts.map +1 -1
- package/dist/components/Modal/ModalClose.d.ts +1 -1
- package/dist/components/Modal/ModalClose.d.ts.map +1 -1
- package/dist/components/Modal/ModalContent.d.ts +1 -1
- package/dist/components/Modal/ModalContent.d.ts.map +1 -1
- package/dist/components/Modal/ModalFooter.d.ts +1 -1
- package/dist/components/Modal/ModalFooter.d.ts.map +1 -1
- package/dist/components/Modal/ModalFooterAnnotation.d.ts +1 -1
- package/dist/components/Modal/ModalFooterAnnotation.d.ts.map +1 -1
- package/dist/components/Modal/ModalFooterControllers.d.ts +1 -1
- package/dist/components/Modal/ModalFooterControllers.d.ts.map +1 -1
- package/dist/components/Modal/ModalHeader.d.ts +1 -1
- package/dist/components/Modal/ModalHeader.d.ts.map +1 -1
- package/dist/components/Modal/ModalHeaderText.d.ts +1 -1
- package/dist/components/Modal/ModalHeaderText.d.ts.map +1 -1
- package/dist/components/Modal/ModalHeroImage.d.ts +1 -1
- package/dist/components/Modal/ModalHeroImage.d.ts.map +1 -1
- package/dist/components/Modal/ModalIcon.d.ts +1 -1
- package/dist/components/Modal/ModalIcon.d.ts.map +1 -1
- package/dist/components/Modal/ModalTagline.d.ts +1 -1
- package/dist/components/Modal/ModalTagline.d.ts.map +1 -1
- package/dist/components/Modal/ModalThumb.d.ts +1 -1
- package/dist/components/Modal/ModalThumb.d.ts.map +1 -1
- package/dist/components/Modal/ModalTitle.d.ts +1 -1
- package/dist/components/Modal/ModalTitle.d.ts.map +1 -1
- package/dist/components/Modal/index.d.ts +1 -1
- package/dist/components/MultiSelect/MultiSelect.d.ts +2 -2
- package/dist/components/MultiSelect/MultiSelectAnchor.d.ts +1 -1
- package/dist/components/MultiSelect/MultiSelectAnchor.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelectAnchorParams.d.ts +1 -1
- package/dist/components/MultiSelect/MultiSelectAnchorParams.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelectFiltered.d.ts +1 -1
- package/dist/components/MultiSelect/MultiSelectFiltered.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelectFilteredAnchor.d.ts +1 -1
- package/dist/components/MultiSelect/MultiSelectFilteredAnchor.d.ts.map +1 -1
- package/dist/components/MultiSelect/SelectedOptions.d.ts +1 -1
- package/dist/components/MultiSelect/SelectedOptions.d.ts.map +1 -1
- package/dist/components/NumberInput/NumberInput.d.ts +2 -2
- package/dist/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/components/Option/CheckOption.d.ts +1 -1
- package/dist/components/Option/Option.d.ts +1 -1
- package/dist/components/Option/Option.d.ts.map +1 -1
- package/dist/components/Option/OptionAvatar.d.ts +1 -1
- package/dist/components/Option/OptionAvatar.d.ts.map +1 -1
- package/dist/components/Option/OptionColumn.d.ts +1 -1
- package/dist/components/Option/OptionColumn.d.ts.map +1 -1
- package/dist/components/Option/OptionContent.d.ts +1 -1
- package/dist/components/Option/OptionContent.d.ts.map +1 -1
- package/dist/components/Option/OptionDescription.d.ts +1 -1
- package/dist/components/Option/OptionDescription.d.ts.map +1 -1
- package/dist/components/Option/OptionDivider.d.ts +1 -1
- package/dist/components/Option/OptionDivider.d.ts.map +1 -1
- package/dist/components/Option/OptionHeader.d.ts +1 -1
- package/dist/components/Option/OptionHeader.d.ts.map +1 -1
- package/dist/components/Option/OptionIcon.d.ts +1 -1
- package/dist/components/Option/OptionIcon.d.ts.map +1 -1
- package/dist/components/Option/OptionMenu.d.ts +1 -1
- package/dist/components/Option/OptionMenu.d.ts.map +1 -1
- package/dist/components/Option/OptionTitle.d.ts +1 -1
- package/dist/components/Option/OptionTitle.d.ts.map +1 -1
- package/dist/components/Option/index.d.ts +3 -4
- package/dist/components/Option/index.d.ts.map +1 -1
- package/dist/components/Options/Options.d.ts +3 -2
- package/dist/components/Options/Options.d.ts.map +1 -1
- package/dist/components/Options/index.d.ts +1 -1
- package/dist/components/Options/useCursor.d.ts +2 -2
- package/dist/components/Options/useCursor.d.ts.map +1 -1
- package/dist/components/OptionsPaginated/OptionsPaginated.d.ts +2 -2
- package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts +3 -3
- package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts.map +1 -1
- package/dist/components/PaginatedSelect/PaginatedSelect.d.ts +2 -2
- package/dist/components/PaginatedSelect/PaginatedSelect.d.ts.map +1 -1
- package/dist/components/PaginatedSelect/PaginatedSelectFiltered.d.ts +1 -1
- package/dist/components/PaginatedSelect/PaginatedSelectFiltered.d.ts.map +1 -1
- package/dist/components/PaginatedSelect/PaginatedSelectWrapper.d.ts +1 -1
- package/dist/components/Pagination/Pagination.d.ts +2 -2
- package/dist/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +2 -2
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
- package/dist/components/Position/Position.d.ts +1 -1
- package/dist/components/Position/Position.d.ts.map +1 -1
- package/dist/components/PositionAnimated/PositionAnimated.d.ts +1 -1
- package/dist/components/PositionAnimated/PositionAnimated.d.ts.map +1 -1
- package/dist/components/RadioButton/RadioButton.d.ts +1 -1
- package/dist/components/Scrollable/Scrollable.d.ts +1 -1
- package/dist/components/Scrollable/Scrollable.d.ts.map +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +2 -2
- package/dist/components/Select/Select.d.ts +4 -4
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/SelectAddon.d.ts +1 -1
- package/dist/components/Select/SelectAnchorParams.d.ts +1 -1
- package/dist/components/Select/SelectAnchorParams.d.ts.map +1 -1
- package/dist/components/Select/SelectFiltered.d.ts +1 -1
- package/dist/components/Select/SelectFiltered.d.ts.map +1 -1
- package/dist/components/Select/SelectFilteredAnchor.d.ts +1 -1
- package/dist/components/Select/SelectFilteredAnchor.d.ts.map +1 -1
- package/dist/components/Select/SelectFocus.d.ts +1 -1
- package/dist/components/SelectInput/SelectInput.d.ts +3 -3
- package/dist/components/SelectInput/SelectInput.d.ts.map +1 -1
- package/dist/components/SelectInput/index.d.ts +1 -1
- package/dist/components/Sidebar/Item.d.ts +15 -15
- package/dist/components/Sidebar/Item.d.ts.map +1 -1
- package/dist/components/Sidebar/Section.d.ts +2 -2
- package/dist/components/Sidebar/Section.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarActions.d.ts +4 -4
- package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarBanner.d.ts +2 -2
- package/dist/components/Sidebar/SidebarBanner.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarFooter.d.ts +2 -2
- package/dist/components/Sidebar/SidebarFooter.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar.d.ts +13 -13
- package/dist/components/Sidebar/TopBar.d.ts.map +1 -1
- package/dist/components/Sidebar/index.d.ts +9 -9
- package/dist/components/Sidebar/index.d.ts.map +1 -1
- package/dist/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/components/Slider/Slider.d.ts +1 -1
- package/dist/components/Slider/Slider.d.ts.map +1 -1
- package/dist/components/Slider/SliderHead.d.ts +1 -1
- package/dist/components/Slider/SliderHead.d.ts.map +1 -1
- package/dist/components/Slider/SliderThumb.d.ts +1 -0
- package/dist/components/Slider/SliderThumb.d.ts.map +1 -1
- package/dist/components/Slider/SliderTrack.d.ts +1 -1
- package/dist/components/Slider/SliderTrack.d.ts.map +1 -1
- package/dist/components/States/States.d.ts +1 -1
- package/dist/components/States/States.d.ts.map +1 -1
- package/dist/components/States/StatesAction.d.ts +1 -1
- package/dist/components/States/StatesAction.d.ts.map +1 -1
- package/dist/components/States/StatesActions.d.ts +1 -1
- package/dist/components/States/StatesActions.d.ts.map +1 -1
- package/dist/components/States/StatesIcon.d.ts +1 -1
- package/dist/components/States/StatesIcon.d.ts.map +1 -1
- package/dist/components/States/StatesSubtitle.d.ts +1 -1
- package/dist/components/States/StatesSubtitle.d.ts.map +1 -1
- package/dist/components/States/StatesSuggestion.d.ts +1 -1
- package/dist/components/States/StatesSuggestion.d.ts.map +1 -1
- package/dist/components/States/StatesSuggestionList.d.ts +1 -1
- package/dist/components/States/StatesSuggestionList.d.ts.map +1 -1
- package/dist/components/States/StatesSuggestionListItem.d.ts +1 -1
- package/dist/components/States/StatesSuggestionListItem.d.ts.map +1 -1
- package/dist/components/States/StatesSuggestionText.d.ts +1 -1
- package/dist/components/States/StatesSuggestionText.d.ts.map +1 -1
- package/dist/components/States/StatesTitle.d.ts +1 -1
- package/dist/components/States/StatesTitle.d.ts.map +1 -1
- package/dist/components/StatusBullet/StatusBullet.d.ts +1 -1
- package/dist/components/StatusBullet/StatusBullet.d.ts.map +1 -1
- package/dist/components/Table/Table.d.ts +1 -1
- package/dist/components/Table/Table.d.ts.map +1 -1
- package/dist/components/Table/TableBody.d.ts +1 -1
- package/dist/components/Table/TableBody.d.ts.map +1 -1
- package/dist/components/Table/TableCell.d.ts +1 -1
- package/dist/components/Table/TableCell.d.ts.map +1 -1
- package/dist/components/Table/TableFoot.d.ts +1 -1
- package/dist/components/Table/TableFoot.d.ts.map +1 -1
- package/dist/components/Table/TableHead.d.ts +1 -1
- package/dist/components/Table/TableHead.d.ts.map +1 -1
- package/dist/components/Table/TableRow.d.ts +1 -1
- package/dist/components/Table/TableRow.d.ts.map +1 -1
- package/dist/components/Table/TableSelection.d.ts +1 -1
- package/dist/components/Table/TableSelection.d.ts.map +1 -1
- package/dist/components/Table/TableSelectionButton.d.ts +1 -1
- package/dist/components/Table/TableSelectionButton.d.ts.map +1 -1
- package/dist/components/Table/index.d.ts +0 -1
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts +2 -2
- package/dist/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/Tabs/TabsItem.d.ts +1 -1
- package/dist/components/Tag/Tag.d.ts +1 -1
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/TelephoneInput/TelephoneInput.d.ts +2 -2
- package/dist/components/TextAreaInput/TextArea.d.ts +2 -2
- package/dist/components/TextInput/TextInput.d.ts +3 -3
- package/dist/components/TextInput/TextInput.d.ts.map +1 -1
- package/dist/components/Throbber/Throbber.d.ts +1 -1
- package/dist/components/Tile/Tile.d.ts +1 -1
- package/dist/components/ToastBar/ToastBar.d.ts +1 -1
- package/dist/components/ToastBar/ToastBar.d.ts.map +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/UrlInput/UrlInput.d.ts +2 -2
- package/dist/components/UrlInput/UrlInput.d.ts.map +1 -1
- package/dist/fuselage.development.js +191 -163
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +1 -1
- package/dist/getPaletteColor.d.ts +1 -1
- package/dist/getPaletteColor.d.ts.map +1 -1
- package/dist/helpers/appendClassName.d.ts +1 -1
- package/dist/helpers/appendClassName.d.ts.map +1 -1
- package/dist/helpers/composeClassNames.d.ts +1 -1
- package/dist/helpers/composeClassNames.d.ts.map +1 -1
- package/dist/helpers/patchChildren.d.ts +2 -2
- package/dist/helpers/patchChildren.d.ts.map +1 -1
- package/dist/helpers/toCSSValue.d.ts +1 -1
- package/dist/helpers/toCSSValue.d.ts.map +1 -1
- package/dist/hooks/useBoxOnlyProps.d.ts +1 -1
- package/dist/hooks/useBoxOnlyProps.d.ts.map +1 -1
- package/dist/types/Falsy.d.ts +1 -1
- package/dist/types/Falsy.d.ts.map +1 -1
- package/package.json +29 -29
|
@@ -1851,14 +1851,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1851
1851
|
var t,
|
|
1852
1852
|
c,
|
|
1853
1853
|
a = function a(r) {
|
|
1854
|
-
return r ? "rcx-css-"
|
|
1854
|
+
return r ? "rcx-css-".concat((0,_emotion_hash__WEBPACK_IMPORTED_MODULE_0__["default"])(r)) : "none";
|
|
1855
1855
|
},
|
|
1856
1856
|
s = function s(r) {
|
|
1857
|
-
return "rcx-css-"
|
|
1857
|
+
return "rcx-css-".concat((0,_emotion_hash__WEBPACK_IMPORTED_MODULE_0__["default"])(r));
|
|
1858
1858
|
},
|
|
1859
1859
|
u = function u(e) {
|
|
1860
1860
|
return e.replace(/@|#|:/g, function (e) {
|
|
1861
|
-
return "\\"
|
|
1861
|
+
return "\\".concat(e);
|
|
1862
1862
|
});
|
|
1863
1863
|
},
|
|
1864
1864
|
o = void 0,
|
|
@@ -1927,7 +1927,7 @@ var t,
|
|
|
1927
1927
|
f = p(e, r, n),
|
|
1928
1928
|
l = a(f),
|
|
1929
1929
|
d = u(l);
|
|
1930
|
-
return s.push("@keyframes "
|
|
1930
|
+
return s.push("@keyframes ".concat(d, "{").concat(f, "}")), o(), d;
|
|
1931
1931
|
};
|
|
1932
1932
|
return t;
|
|
1933
1933
|
},
|
|
@@ -2436,7 +2436,7 @@ var ie,
|
|
|
2436
2436
|
};
|
|
2437
2437
|
}([(0,_rocket_chat_stylis_logical_props_middleware__WEBPACK_IMPORTED_MODULE_3__.createLogicalPropertiesMiddleware)(ie), oe, ue])),
|
|
2438
2438
|
le = function le(e, r, n) {
|
|
2439
|
-
return void 0 === n && (n = fe), se(ee(e
|
|
2439
|
+
return void 0 === n && (n = fe), se(ee("".concat(e, "{").concat(r, "}")), n);
|
|
2440
2440
|
};
|
|
2441
2441
|
|
|
2442
2442
|
|
|
@@ -2798,7 +2798,7 @@ var isDeclaration = function isDeclaration(element) {
|
|
|
2798
2798
|
return element.type === stylis__WEBPACK_IMPORTED_MODULE_0__.DECLARATION;
|
|
2799
2799
|
};
|
|
2800
2800
|
var attachDeclaration = function attachDeclaration(property, value, ruleSet) {
|
|
2801
|
-
var declaration = (0,stylis__WEBPACK_IMPORTED_MODULE_1__.node)(property
|
|
2801
|
+
var declaration = (0,stylis__WEBPACK_IMPORTED_MODULE_1__.node)("".concat(property, ":").concat(value, ";"), ruleSet, ruleSet, stylis__WEBPACK_IMPORTED_MODULE_0__.DECLARATION, property, value, property.length);
|
|
2802
2802
|
ruleSet.children.push(declaration);
|
|
2803
2803
|
};
|
|
2804
2804
|
|
|
@@ -2845,11 +2845,11 @@ var createLogicalPropertiesMiddleware = function createLogicalPropertiesMiddlewa
|
|
|
2845
2845
|
var _b = _a === void 0 ? {} : _a,
|
|
2846
2846
|
_c = _b.isPropertySupported,
|
|
2847
2847
|
isPropertySupported = _c === void 0 ? function (property) {
|
|
2848
|
-
return (0,_rocket_chat_css_supports__WEBPACK_IMPORTED_MODULE_0__.cssSupports)(property
|
|
2848
|
+
return (0,_rocket_chat_css_supports__WEBPACK_IMPORTED_MODULE_0__.cssSupports)("".concat(property, ":inherit"));
|
|
2849
2849
|
} : _c,
|
|
2850
2850
|
_d = _b.isPropertyValueSupported,
|
|
2851
2851
|
isPropertyValueSupported = _d === void 0 ? function (property, value) {
|
|
2852
|
-
return (0,_rocket_chat_css_supports__WEBPACK_IMPORTED_MODULE_0__.cssSupports)(property
|
|
2852
|
+
return (0,_rocket_chat_css_supports__WEBPACK_IMPORTED_MODULE_0__.cssSupports)("".concat(property, ":").concat(value));
|
|
2853
2853
|
} : _d;
|
|
2854
2854
|
var ops = (0,_operations__WEBPACK_IMPORTED_MODULE_2__.compileOperations)({
|
|
2855
2855
|
isPropertySupported: isPropertySupported,
|
|
@@ -2860,14 +2860,14 @@ var createLogicalPropertiesMiddleware = function createLogicalPropertiesMiddlewa
|
|
|
2860
2860
|
return undefined;
|
|
2861
2861
|
}
|
|
2862
2862
|
var ltrRuleSet = (0,stylis__WEBPACK_IMPORTED_MODULE_3__.node)(ruleSet.props.map(function (selector) {
|
|
2863
|
-
return "html:not([dir=rtl]) "
|
|
2863
|
+
return "html:not([dir=rtl]) ".concat(selector);
|
|
2864
2864
|
}).join(','), undefined, undefined, stylis__WEBPACK_IMPORTED_MODULE_4__.RULESET, ruleSet.props.map(function (selector) {
|
|
2865
|
-
return "html:not([dir=rtl]) "
|
|
2865
|
+
return "html:not([dir=rtl]) ".concat(selector);
|
|
2866
2866
|
}), [], 0);
|
|
2867
2867
|
var rtlRuleSet = (0,stylis__WEBPACK_IMPORTED_MODULE_3__.node)(ruleSet.props.map(function (selector) {
|
|
2868
|
-
return "[dir=rtl] "
|
|
2868
|
+
return "[dir=rtl] ".concat(selector);
|
|
2869
2869
|
}).join(','), undefined, undefined, stylis__WEBPACK_IMPORTED_MODULE_4__.RULESET, ruleSet.props.map(function (selector) {
|
|
2870
|
-
return "[dir=rtl] "
|
|
2870
|
+
return "[dir=rtl] ".concat(selector);
|
|
2871
2871
|
}), [], 0);
|
|
2872
2872
|
var rules = ruleSet.children;
|
|
2873
2873
|
ruleSet.children = [];
|
|
@@ -3467,10 +3467,46 @@ module.exports = invariant;
|
|
|
3467
3467
|
|
|
3468
3468
|
/***/ }),
|
|
3469
3469
|
|
|
3470
|
-
/***/ "../../node_modules/react-
|
|
3471
|
-
|
|
3472
|
-
!*** ../../node_modules/react-
|
|
3473
|
-
|
|
3470
|
+
/***/ "../../node_modules/react-keyed-flatten-children/index.js":
|
|
3471
|
+
/*!****************************************************************!*\
|
|
3472
|
+
!*** ../../node_modules/react-keyed-flatten-children/index.js ***!
|
|
3473
|
+
\****************************************************************/
|
|
3474
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3475
|
+
|
|
3476
|
+
|
|
3477
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3478
|
+
/* Returns React children into an array, flattening fragments. */
|
|
3479
|
+
var react_1 = __webpack_require__(/*! react */ "react");
|
|
3480
|
+
var react_is_1 = __webpack_require__(/*! react-is */ "../../node_modules/react-keyed-flatten-children/node_modules/react-is/index.js");
|
|
3481
|
+
function flattenChildren(children, depth, keys) {
|
|
3482
|
+
if (depth === void 0) { depth = 0; }
|
|
3483
|
+
if (keys === void 0) { keys = []; }
|
|
3484
|
+
return react_1.Children.toArray(children).reduce(function (acc, node, nodeIndex) {
|
|
3485
|
+
if (react_is_1.isFragment(node)) {
|
|
3486
|
+
acc.push.apply(acc, flattenChildren(node.props.children, depth + 1, keys.concat(node.key || nodeIndex)));
|
|
3487
|
+
}
|
|
3488
|
+
else {
|
|
3489
|
+
if (react_1.isValidElement(node)) {
|
|
3490
|
+
acc.push(react_1.cloneElement(node, {
|
|
3491
|
+
key: keys.concat(String(node.key)).join('.')
|
|
3492
|
+
}));
|
|
3493
|
+
}
|
|
3494
|
+
else if (typeof node === "string" || typeof node === "number") {
|
|
3495
|
+
acc.push(node);
|
|
3496
|
+
}
|
|
3497
|
+
}
|
|
3498
|
+
return acc;
|
|
3499
|
+
}, []);
|
|
3500
|
+
}
|
|
3501
|
+
exports["default"] = flattenChildren;
|
|
3502
|
+
|
|
3503
|
+
|
|
3504
|
+
/***/ }),
|
|
3505
|
+
|
|
3506
|
+
/***/ "../../node_modules/react-keyed-flatten-children/node_modules/react-is/cjs/react-is.development.js":
|
|
3507
|
+
/*!*********************************************************************************************************!*\
|
|
3508
|
+
!*** ../../node_modules/react-keyed-flatten-children/node_modules/react-is/cjs/react-is.development.js ***!
|
|
3509
|
+
\*********************************************************************************************************/
|
|
3474
3510
|
/***/ (function(__unused_webpack_module, exports) {
|
|
3475
3511
|
|
|
3476
3512
|
/** @license React v16.13.1
|
|
@@ -3658,53 +3694,17 @@ exports.typeOf = typeOf;
|
|
|
3658
3694
|
|
|
3659
3695
|
/***/ }),
|
|
3660
3696
|
|
|
3661
|
-
/***/ "../../node_modules/react-is/index.js":
|
|
3662
|
-
|
|
3663
|
-
!*** ../../node_modules/react-is/index.js ***!
|
|
3664
|
-
|
|
3697
|
+
/***/ "../../node_modules/react-keyed-flatten-children/node_modules/react-is/index.js":
|
|
3698
|
+
/*!**************************************************************************************!*\
|
|
3699
|
+
!*** ../../node_modules/react-keyed-flatten-children/node_modules/react-is/index.js ***!
|
|
3700
|
+
\**************************************************************************************/
|
|
3665
3701
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3666
3702
|
|
|
3667
3703
|
|
|
3668
3704
|
|
|
3669
3705
|
if (false) {} else {
|
|
3670
|
-
module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "../../node_modules/react-is/cjs/react-is.development.js");
|
|
3671
|
-
}
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
/***/ }),
|
|
3675
|
-
|
|
3676
|
-
/***/ "../../node_modules/react-keyed-flatten-children/index.js":
|
|
3677
|
-
/*!****************************************************************!*\
|
|
3678
|
-
!*** ../../node_modules/react-keyed-flatten-children/index.js ***!
|
|
3679
|
-
\****************************************************************/
|
|
3680
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3684
|
-
/* Returns React children into an array, flattening fragments. */
|
|
3685
|
-
var react_1 = __webpack_require__(/*! react */ "react");
|
|
3686
|
-
var react_is_1 = __webpack_require__(/*! react-is */ "../../node_modules/react-is/index.js");
|
|
3687
|
-
function flattenChildren(children, depth, keys) {
|
|
3688
|
-
if (depth === void 0) { depth = 0; }
|
|
3689
|
-
if (keys === void 0) { keys = []; }
|
|
3690
|
-
return react_1.Children.toArray(children).reduce(function (acc, node, nodeIndex) {
|
|
3691
|
-
if (react_is_1.isFragment(node)) {
|
|
3692
|
-
acc.push.apply(acc, flattenChildren(node.props.children, depth + 1, keys.concat(node.key || nodeIndex)));
|
|
3693
|
-
}
|
|
3694
|
-
else {
|
|
3695
|
-
if (react_1.isValidElement(node)) {
|
|
3696
|
-
acc.push(react_1.cloneElement(node, {
|
|
3697
|
-
key: keys.concat(String(node.key)).join('.')
|
|
3698
|
-
}));
|
|
3699
|
-
}
|
|
3700
|
-
else if (typeof node === "string" || typeof node === "number") {
|
|
3701
|
-
acc.push(node);
|
|
3702
|
-
}
|
|
3703
|
-
}
|
|
3704
|
-
return acc;
|
|
3705
|
-
}, []);
|
|
3706
|
+
module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "../../node_modules/react-keyed-flatten-children/node_modules/react-is/cjs/react-is.development.js");
|
|
3706
3707
|
}
|
|
3707
|
-
exports["default"] = flattenChildren;
|
|
3708
3708
|
|
|
3709
3709
|
|
|
3710
3710
|
/***/ }),
|
|
@@ -3722,8 +3722,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3722
3722
|
/* harmony export */ "TableVirtuoso": function() { return /* binding */ dn; },
|
|
3723
3723
|
/* harmony export */ "Virtuoso": function() { return /* binding */ cn; },
|
|
3724
3724
|
/* harmony export */ "VirtuosoGrid": function() { return /* binding */ fn; },
|
|
3725
|
-
/* harmony export */ "VirtuosoGridMockContext": function() { return /* binding */
|
|
3726
|
-
/* harmony export */ "VirtuosoMockContext": function() { return /* binding */
|
|
3725
|
+
/* harmony export */ "VirtuosoGridMockContext": function() { return /* binding */ _t; },
|
|
3726
|
+
/* harmony export */ "VirtuosoMockContext": function() { return /* binding */ Gt; }
|
|
3727
3727
|
/* harmony export */ });
|
|
3728
3728
|
/* harmony import */ var _virtuoso_dev_react_urx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @virtuoso.dev/react-urx */ "../../node_modules/@virtuoso.dev/react-urx/dist/react-urx.esm.js");
|
|
3729
3729
|
/* harmony import */ var _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @virtuoso.dev/urx */ "../../node_modules/@virtuoso.dev/urx/dist/urx.esm.js");
|
|
@@ -3731,7 +3731,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3731
3731
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
3732
3732
|
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "react-dom");
|
|
3733
3733
|
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_1__);
|
|
3734
|
-
function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},c.apply(this,arguments)}function m(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)t.indexOf(n=i[o])>=0||(r[n]=e[n]);return r}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var p,h,g="undefined"!=typeof document?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_0__.useEffect;!function(e){e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR"}(h||(h={}));var v=((p={})[h.DEBUG]="debug",p[h.INFO]="log",p[h.WARN]="warn",p[h.ERROR]="error",p),S=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(){var e=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(h.ERROR);return{log:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(function(n,o,r){var i;void 0===r&&(r=h.INFO),r>=(null!=(i=("undefined"==typeof globalThis?window:globalThis).VIRTUOSO_LOG_LEVEL)?i:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(e))&&console[v[r]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",n,o)}),logLevel:e}},[],{singleton:!0});function C(e,t){void 0===t&&(t=!0);var n=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),o=function(e){};if("undefined"!=typeof ResizeObserver){var r=new ResizeObserver(function(t){var n=t[0].target;null!==n.offsetParent&&e(n)});o=function(e){e&&t?(r.observe(e),n.current=e):(n.current&&r.unobserve(n.current),n.current=null)}}return{ref:n,callbackRef:o}}function I(e,t){return void 0===t&&(t=!0),C(e,t).callbackRef}function T(e,t,n,o,r,i,a){return C(function(n){for(var l=function(e,t,n,o){var r=e.length;if(0===r)return null;for(var i=[],a=0;a<r;a++){var l=e.item(a);if(l&&void 0!==l.dataset.index){var s=parseInt(l.dataset.index),u=parseFloat(l.dataset.knownSize),c=t(l,"offsetHeight");if(0===c&&o("Zero-sized element, this should not happen",{child:l},h.ERROR),c!==u){var m=i[i.length-1];0===i.length||m.size!==c||m.endIndex!==s-1?i.push({startIndex:s,endIndex:s,size:c}):i[i.length-1].endIndex++}}}return i}(n.children,t,0,r),s=n.parentElement;!s.dataset.virtuosoScroller;)s=s.parentElement;var u="window"===s.firstElementChild.dataset.viewportType,c=a?a.scrollTop:u?window.pageYOffset||document.documentElement.scrollTop:s.scrollTop,m=a?a.scrollHeight:u?document.documentElement.scrollHeight:s.scrollHeight,d=a?a.offsetHeight:u?window.innerHeight:s.offsetHeight;o({scrollTop:Math.max(c,0),scrollHeight:m,viewportHeight:d}),null==i||i(function(e,t,n){return"normal"===t||null!=t&&t.endsWith("px")||n("row-gap was not resolved to pixel value correctly",t,h.WARN),"normal"===t?0:parseInt(null!=t?t:"0",10)}(0,getComputedStyle(n).rowGap,r)),null!==l&&e(l)},n)}function w(e,t){return Math.round(e.getBoundingClientRect()[t])}function x(e,t){return Math.abs(e-t)<1.01}function b(e,n,o,l,s){void 0===l&&(l=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.noop);var c=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),m=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),d=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),f=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(!1),p=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(t){var o=t.target,r=o===window||o===document,i=r?window.pageYOffset||document.documentElement.scrollTop:o.scrollTop,a=r?document.documentElement.scrollHeight:o.scrollHeight,l=r?window.innerHeight:o.offsetHeight,s=function(){e({scrollTop:Math.max(i,0),scrollHeight:a,viewportHeight:l})};f.current?(0,react_dom__WEBPACK_IMPORTED_MODULE_1__.flushSync)(s):s(),f.current=!1,null!==m.current&&(i===m.current||i<=0||i===a-l)&&(m.current=null,n(!0),d.current&&(clearTimeout(d.current),d.current=null))},[e,n]);return (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function(){var e=s||c.current;return l(s||c.current),p({target:e}),e.addEventListener("scroll",p,{passive:!0}),function(){l(null),e.removeEventListener("scroll",p)}},[c,p,o,l,s]),{scrollerRef:c,scrollByCallback:function(e){f.current=!0,c.current.scrollBy(e)},scrollToCallback:function(t){var o=c.current;if(o&&(!("offsetHeight"in o)||0!==o.offsetHeight)){var r,i,a,l="smooth"===t.behavior;if(o===window?(i=Math.max(w(document.documentElement,"height"),document.documentElement.scrollHeight),r=window.innerHeight,a=document.documentElement.scrollTop):(i=o.scrollHeight,r=w(o,"height"),a=o.scrollTop),t.top=Math.ceil(Math.max(Math.min(i-r,t.top),0)),x(r,i)||t.top===a)return e({scrollTop:a,scrollHeight:i,viewportHeight:r}),void(l&&n(!0));l?(m.current=t.top,d.current&&clearTimeout(d.current),d.current=setTimeout(function(){d.current=null,m.current=null,n(!0)},1e3)):m.current=null,o.scrollTo(t)}}}}var y=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(){var e=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),n=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),a=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),l=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),s=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),c=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),m=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),d=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),f=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),p=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1),h=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(e,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.scrollTop})),n),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(e,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.scrollHeight})),l),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(n,i),{scrollContainerState:e,scrollTop:n,viewportHeight:a,headerHeight:s,fixedHeaderHeight:u,fixedFooterHeight:c,footerHeight:m,scrollHeight:l,smoothScrollTargetReached:r,react18ConcurrentRendering:h,scrollTo:d,scrollBy:f,statefulScrollTop:i,deviation:o,scrollingInProgress:p}},[],{singleton:!0}),H={lvl:0};function E(e,t,n,o,r){return void 0===o&&(o=H),void 0===r&&(r=H),{k:e,v:t,lvl:n,l:o,r:r}}function R(e){return e===H}function L(){return H}function F(e,t){if(R(e))return H;var n=e.k,o=e.l,r=e.r;if(t===n){if(R(o))return r;if(R(r))return o;var i=O(o);return U(W(e,{k:i[0],v:i[1],l:M(o)}))}return U(W(e,t<n?{l:F(o,t)}:{r:F(r,t)}))}function k(e,t,n){if(void 0===n&&(n="k"),R(e))return[-Infinity,void 0];if(e[n]===t)return[e.k,e.v];if(e[n]<t){var o=k(e.r,t,n);return-Infinity===o[0]?[e.k,e.v]:o}return k(e.l,t,n)}function z(e,t,n){return R(e)?E(t,n,1):t===e.k?W(e,{k:t,v:n}):function(e){return D(G(e))}(W(e,t<e.k?{l:z(e.l,t,n)}:{r:z(e.r,t,n)}))}function B(e,t,n){if(R(e))return[];var o=e.k,r=e.v,i=e.r,a=[];return o>t&&(a=a.concat(B(e.l,t,n))),o>=t&&o<=n&&a.push({k:o,v:r}),o<=n&&(a=a.concat(B(i,t,n))),a}function P(e){return R(e)?[]:[].concat(P(e.l),[{k:e.k,v:e.v}],P(e.r))}function O(e){return R(e.r)?[e.k,e.v]:O(e.r)}function M(e){return R(e.r)?e.l:U(W(e,{r:M(e.r)}))}function W(e,t){return E(void 0!==t.k?t.k:e.k,void 0!==t.v?t.v:e.v,void 0!==t.lvl?t.lvl:e.lvl,void 0!==t.l?t.l:e.l,void 0!==t.r?t.r:e.r)}function V(e){return R(e)||e.lvl>e.r.lvl}function U(e){var t=e.l,n=e.r,o=e.lvl;if(n.lvl>=o-1&&t.lvl>=o-1)return e;if(o>n.lvl+1){if(V(t))return G(W(e,{lvl:o-1}));if(R(t)||R(t.r))throw new Error("Unexpected empty nodes");return W(t.r,{l:W(t,{r:t.r.l}),r:W(e,{l:t.r.r,lvl:o-1}),lvl:o})}if(V(e))return D(W(e,{lvl:o-1}));if(R(n)||R(n.l))throw new Error("Unexpected empty nodes");var r=n.l,i=V(r)?n.lvl-1:n.lvl;return W(r,{l:W(e,{r:r.l,lvl:o-1}),r:D(W(n,{l:r.r,lvl:i})),lvl:r.lvl+1})}function A(e,t,n){return R(e)?[]:N(B(e,k(e,t)[0],n),function(e){return{index:e.k,value:e.v}})}function N(e,t){var n=e.length;if(0===n)return[];for(var o=t(e[0]),r=o.index,i=o.value,a=[],l=1;l<n;l++){var s=t(e[l]),u=s.index,c=s.value;a.push({start:r,end:u-1,value:i}),r=u,i=c}return a.push({start:r,end:Infinity,value:i}),a}function D(e){var t=e.r,n=e.lvl;return R(t)||R(t.r)||t.lvl!==n||t.r.lvl!==n?e:W(t,{l:W(e,{r:t.l}),lvl:n+1})}function G(e){var t=e.l;return R(t)||t.lvl!==e.lvl?e:W(t,{r:W(e,{l:t.r})})}function _(e,t,n,o){void 0===o&&(o=0);for(var r=e.length-1;o<=r;){var i=Math.floor((o+r)/2),a=n(e[i],t);if(0===a)return i;if(-1===a){if(r-o<2)return i-1;r=i-1}else{if(r===o)return i;o=i+1}}throw new Error("Failed binary finding record in array - "+e.join(",")+", searched for "+t)}function j(e,t,n){return e[_(e,t,n)]}var K=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(){return{recalcInProgress:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1)}},[],{singleton:!0});function Y(e){var t=e.size,n=e.startIndex,o=e.endIndex;return function(e){return e.start===n&&(e.end===o||Infinity===e.end)&&e.value===t}}function q(e,t){var n=e.index;return t===n?0:t<n?-1:1}function Z(e,t){var n=e.offset;return t===n?0:t<n?-1:1}function J(e){return{index:e.index,value:e}}function $(e,t,n,o){var r=e,i=0,a=0,l=0,s=0;if(0!==t){l=r[s=_(r,t-1,q)].offset;var u=k(n,t-1);i=u[0],a=u[1],r.length&&r[s].size===k(n,t)[1]&&(s-=1),r=r.slice(0,s+1)}else r=[];for(var c,m=f(A(n,t,Infinity));!(c=m()).done;){var d=c.value,p=d.start,h=d.value,g=p-i,v=g*a+l+g*o;r.push({offset:v,size:h,index:p}),i=p,l=v,a=h}return{offsetTree:r,lastIndex:i,lastOffset:l,lastSize:a}}function Q(e,t){var n=t[0],o=t[1],r=t[3];n.length>0&&(0,t[2])("received item sizes",n,h.DEBUG);var i=e.sizeTree,a=i,l=0;if(o.length>0&&R(i)&&2===n.length){var s=n[0].size,u=n[1].size;a=o.reduce(function(e,t){return z(z(e,t,s),t+1,u)},a)}else{var c=function(e,t){for(var n,o=R(e)?0:Infinity,r=f(t);!(n=r()).done;){var i=n.value,a=i.size,l=i.startIndex,s=i.endIndex;if(o=Math.min(o,l),R(e))e=z(e,0,a);else{var u=A(e,l-1,s+1);if(!u.some(Y(i))){for(var c,m=!1,d=!1,p=f(u);!(c=p()).done;){var h=c.value,g=h.start,v=h.end,S=h.value;m?(s>=g||a===S)&&(e=F(e,g)):(d=S!==a,m=!0),v>s&&s>=g&&S!==a&&(e=z(e,s+1,S))}d&&(e=z(e,l,a))}}}return[e,o]}(a,n);a=c[0],l=c[1]}if(a===i)return e;var m=$(e.offsetTree,l,a,r),d=m.offsetTree;return{sizeTree:a,offsetTree:d,lastIndex:m.lastIndex,lastOffset:m.lastOffset,lastSize:m.lastSize,groupOffsetTree:o.reduce(function(e,t){return z(e,t,X(t,d,r))},L()),groupIndices:o}}function X(e,t,n){if(0===t.length)return 0;var o=j(t,e,q),r=e-o.index,i=o.size*r+(r-1)*n+o.offset;return i>0?i+n:i}function ee(e,t,n){if(function(e){return void 0!==e.groupIndex}(e))return t.groupIndices[e.groupIndex]+1;var o=te("LAST"===e.index?n:e.index,t);return Math.max(0,o,Math.min(n,o))}function te(e,t){if(!ne(t))return e;for(var n=0;t.groupIndices[n]<=e+n;)n++;return e+n}function ne(e){return!R(e.groupOffsetTree)}var oe={offsetHeight:"height",offsetWidth:"width"},re=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0].log,o=e[1].recalcInProgress,r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),a=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(i,0),l=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),s=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),m=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream([]),d=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(void 0),f=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(void 0),p=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(function(e,t){return w(e,oe[t])}),g=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(void 0),v=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),S={offsetTree:[],sizeTree:L(),groupOffsetTree:L(),lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},C=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(r,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(m,n,v),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(Q,S),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),S);_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(m,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return e.length>0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(C,v),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e[0],n=e[1],o=e[2],r=t.reduce(function(e,t,r){return z(e,t,X(t,n.offsetTree,o)||r)},L());return c({},n,{groupIndices:t,groupOffsetTree:r})})),C),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(i,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(C),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return e[0]<e[1].lastIndex}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e[1];return[{startIndex:e[0],endIndex:t.lastIndex,size:t.lastSize}]})),r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(d,f);var I=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(d,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return void 0===e})),!0);_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(f,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return void 0!==e&&R(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(C).sizeTree)}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return[{startIndex:0,endIndex:0,size:e}]})),r);var T=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(r,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(C),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(e,t){var n=t[1];return{changed:n!==e.sizes,sizes:n}},{changed:!1,sizes:S}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.changed})));_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(u,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(e,t){return{diff:e.prev-t,prev:t}},{diff:0,prev:0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.diff})),function(e){e>0?(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(o,!0),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(l,e)):e<0&&_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(s,e)}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(u,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(n)),function(e){e[0]<0&&(0,e[1])("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:u},h.ERROR)});var x=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(l);_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(l,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(C),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e[0],n=e[1];if(n.groupIndices.length>0)throw new Error("Virtuoso: prepending items does not work with groups");return P(n.sizeTree).reduce(function(e,n){var o=n.k,r=n.v;return{ranges:[].concat(e.ranges,[{startIndex:e.prevIndex,endIndex:o+t-1,size:e.prevSize}]),prevIndex:o+t,prevSize:r}},{ranges:[],prevIndex:0,prevSize:n.lastSize}).ranges})),r);var b=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(s,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(C,v),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return X(-e[0],e[1].offsetTree,e[2])})));return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(s,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(C,v),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e[0],n=e[1],o=e[2];if(n.groupIndices.length>0)throw new Error("Virtuoso: shifting items does not work with groups");var r=P(n.sizeTree).reduce(function(e,n){var o=n.v;return z(e,Math.max(0,n.k+t),o)},L());return c({},n,{sizeTree:r},$(n.offsetTree,0,r,o))})),C),{data:g,totalCount:i,sizeRanges:r,groupIndices:m,defaultItemSize:f,fixedItemSize:d,unshiftWith:l,shiftWith:s,shiftWithOffset:b,beforeUnshiftWith:x,firstItemIndex:u,gap:v,sizes:C,listRefresh:T,statefulTotalCount:a,trackItemSizes:I,itemSize:p}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(S,K),{singleton:!0}),ie="undefined"!=typeof document&&"scrollBehavior"in document.documentElement.style;function ae(e){var t="number"==typeof e?{index:e}:e;return t.align||(t.align="start"),t.behavior&&ie||(t.behavior="auto"),t.offset||(t.offset=0),t}var le=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=n.sizes,r=n.totalCount,i=n.listRefresh,a=n.gap,l=e[1],s=l.scrollingInProgress,u=l.viewportHeight,c=l.scrollTo,m=l.smoothScrollTargetReached,d=l.headerHeight,f=l.footerHeight,p=l.fixedHeaderHeight,g=l.fixedFooterHeight,v=e[2].log,S=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),C=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),I=null,T=null,w=null;function x(){I&&(I(),I=null),w&&(w(),w=null),T&&(clearTimeout(T),T=null),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(s,!1)}return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(S,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(o,u,r,C,d,f,v),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(a,p,g),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var n=e[0],o=n[0],r=n[1],a=n[2],l=n[3],u=n[4],c=n[5],d=n[6],f=n[7],p=e[1],g=e[2],v=e[3],C=ae(o),b=C.align,y=C.behavior,H=C.offset,E=l-1,R=ee(C,r,E),L=X(R,r.offsetTree,p)+c;"end"===b?(L+=g+k(r.sizeTree,R)[1]-a+v,R===E&&(L+=d)):"center"===b?L+=(g+k(r.sizeTree,R)[1]-a+v)/2:L-=u,H&&(L+=H);var F=function(e){x(),e?(f("retrying to scroll to",{location:o},h.DEBUG),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(S,o)):f("list did not change, scroll successful",{},h.DEBUG)};if(x(),"smooth"===y){var z=!1;w=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(i,function(e){z=z||e}),I=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.handleNext(m,function(){F(z)})}else I=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.handleNext(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(i,function(e){var t=setTimeout(function(){e(!1)},150);return function(n){n&&(e(!0),clearTimeout(t))}}),F);return T=setTimeout(function(){x()},1200),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(s,!0),f("scrolling from index to",{index:R,top:L,behavior:y},h.DEBUG),{top:L,behavior:y}})),c),{scrollToIndex:S,topListHeight:C}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(re,y,S),{singleton:!0}),se="up",ue={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},ce=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=n.scrollContainerState,r=n.scrollTop,i=n.viewportHeight,a=n.headerHeight,l=n.footerHeight,s=n.scrollBy,u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1),c=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!0),m=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),d=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),f=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(4),p=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),h=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.merge(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.skip(1),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo(!0)),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.skip(1),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo(!1),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.debounceTime(100))),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),!1),g=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.merge(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(s,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo(!0)),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(s,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo(!1),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.debounceTime(200))),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),!1);_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(p)),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e[0]<=e[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),c),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(c,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.throttleTime(50)),d);var v=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(a),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(l),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(f)),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(e,t){var n,o,r=t[0],i=r.scrollTop,a=r.scrollHeight,l=t[1],s={viewportHeight:l,scrollTop:i,scrollHeight:a};return i+l-a>-t[4]?(i>e.state.scrollTop?(n="SCROLLED_DOWN",o=e.state.scrollTop-i):(n="SIZE_DECREASED",o=e.state.scrollTop-i||e.scrollTopDelta),{atBottom:!0,state:s,atBottomBecause:n,scrollTopDelta:o}):{atBottom:!1,notAtBottomBecause:s.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":l<e.state.viewportHeight?"VIEWPORT_HEIGHT_DECREASING":i<e.state.scrollTop?"SCROLLING_UPWARDS":"NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM",state:s}},ue),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(function(e,t){return e&&e.atBottom===t.atBottom}))),S=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(e,t){var n=t.scrollTop,o=t.scrollHeight,r=t.viewportHeight;return x(e.scrollHeight,o)?{scrollTop:n,scrollHeight:o,jump:0,changed:!1}:e.scrollTop!==n&&o-(n+r)<1?{scrollHeight:o,scrollTop:n,jump:e.scrollTop-n,changed:!0}:{scrollHeight:o,scrollTop:n,jump:0,changed:!0}},{scrollHeight:0,jump:0,scrollTop:0,changed:!1}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return e.changed}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.jump})),0);_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(v,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.atBottom})),u),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(u,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.throttleTime(50)),m);var C=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream("down");_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.scrollTop}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(e,n){return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(g)?{direction:e.direction,prevScrollTop:n}:{direction:n<e.prevScrollTop?se:"down",prevScrollTop:n}},{direction:"down",prevScrollTop:0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.direction})),C),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.throttleTime(50),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo("none")),C);var I=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(h,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return!e}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo(0)),I),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(r,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.throttleTime(100),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(h),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return!!e[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(e,t){return[e[1],t[0]]},[0,0]),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e[1]-e[0]})),I),{isScrolling:h,isAtTop:c,isAtBottom:u,atBottomState:v,atTopStateChange:d,atBottomStateChange:m,scrollDirection:C,atBottomThreshold:f,atTopThreshold:p,scrollVelocity:I,lastJumpDueToItemResize:S}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(y)),me=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0].log,o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1),r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return e}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()));return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(o,function(e){e&&_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(n)("props updated",{},h.DEBUG)}),{propsReady:o,didMount:r}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(S),{singleton:!0}),de=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=n.sizes,r=n.listRefresh,i=n.defaultItemSize,a=e[1].scrollTop,l=e[2].scrollToIndex,s=e[3].didMount,u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!0),c=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(s,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(c),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return!!e[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo(!1)),u),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(r,s),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(u,o,i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){var t=e[1],n=e[3];return e[0][1]&&(!R(e[2].sizeTree)||void 0!==n)&&!t}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(c)),function(e){var n=e[1];setTimeout(function(){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.handleNext(a,function(){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(u,!0)}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(l,n)})}),{scrolledToInitialItem:u,initialTopMostItemIndex:c}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(re,y,le,me),{singleton:!0});function fe(e){return!!e&&("smooth"===e?"smooth":"auto")}var pe=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=n.totalCount,r=n.listRefresh,i=e[1],a=i.isAtBottom,l=i.atBottomState,s=e[2].scrollToIndex,u=e[3].scrolledToInitialItem,c=e[4],m=c.propsReady,d=c.didMount,f=e[5].log,p=e[6].scrollingInProgress,g=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1),v=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),S=null;function C(e){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(s,{index:"LAST",align:"end",behavior:e})}function I(e){var n=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.handleNext(l,function(n){!e||n.atBottom||"SIZE_INCREASED"!==n.notAtBottomBecause||S||(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(f)("scrolling to bottom due to increased size",{},h.DEBUG),C("auto"))});setTimeout(n,100)}return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(o),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.skip(1)),d),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(g),a,u,p),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e[0],n=t[0],o=t[1]&&e[3],r="auto";return o&&(r=function(e,t){return"function"==typeof e?fe(e(t)):t&&fe(e)}(e[1],e[2]||e[4]),o=o&&!!r),{totalCount:n,shouldFollow:o,followOutputBehavior:r}}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return e.shouldFollow})),function(e){var n=e.totalCount,o=e.followOutputBehavior;S&&(S(),S=null),S=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.handleNext(r,function(){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(f)("following output to ",{totalCount:n},h.DEBUG),C(o),S=null})}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(g),o,m),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return e[0]&&e[2]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(e,t){var n=t[1];return{refreshed:e.value===n,value:n}},{refreshed:!1,value:0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return e.refreshed}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(g,o)),function(e){I(!1!==e[1])}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(v,function(){I(!1!==_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(g))}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(g),l),function(e){var t=e[1];e[0]&&!t.atBottom&&"VIEWPORT_HEIGHT_DECREASING"===t.notAtBottomBecause&&C("auto")}),{followOutput:g,autoscrollToBottom:v}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(re,ce,le,de,me,S,y));function he(e){return e.reduce(function(e,t){return e.groupIndices.push(e.totalCount),e.totalCount+=t+1,e},{totalCount:0,groupIndices:[]})}var ge=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=n.totalCount,r=n.groupIndices,i=n.sizes,a=e[1],l=a.scrollTop,s=a.headerHeight,u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),c=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),m=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(u,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(he)));return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(m,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.totalCount})),o),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(m,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.groupIndices})),r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(l,i,s),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return ne(e[1])}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return k(e[1].groupOffsetTree,Math.max(e[0]-e[2],0),"v")[0]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return[e]})),c),{groupCounts:u,topItemsIndexes:c}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(re,y));function ve(e,t){return!(!e||e[0]!==t[0]||e[1]!==t[1])}function Se(e,t){return!(!e||e.startIndex!==t.startIndex||e.endIndex!==t.endIndex)}function Ce(e,t,n){return"number"==typeof e?n===se&&"top"===t||"down"===n&&"bottom"===t?e:0:n===se?"top"===t?e.main:e.reverse:"bottom"===t?e.main:e.reverse}function Ie(e,t){return"number"==typeof e?e:e[t]||0}var Te=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=n.scrollTop,r=n.viewportHeight,i=n.deviation,a=n.headerHeight,l=n.fixedHeaderHeight,s=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),c=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),m=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),d=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(o),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(a),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(s,ve),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(m),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(u),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(l),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(c)),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e[0],n=e[1],o=e[2],r=e[3],i=r[0],a=r[1],l=e[4],s=e[6],u=e[7],c=e[8],m=t-u,d=e[5]+s,f=Math.max(o-m,0),p="none",h=Ie(c,"top"),g=Ie(c,"bottom");return i-=u,a+=o+s,(i+=o+s)>t+d-h&&(p=se),(a-=u)<t-f+n+g&&(p="down"),"none"!==p?[Math.max(m-o-Ce(l,"top",p)-h,0),m-f-s+n+Ce(l,"bottom",p)+g]:null}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return null!=e}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(ve)),[0,0]);return{listBoundary:s,overscan:m,topListHeight:u,increaseViewportBy:c,visibleRange:d}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(y),{singleton:!0}),we={items:[],topItems:[],offsetTop:0,offsetBottom:0,top:0,bottom:0,topListHeight:0,totalCount:0,firstItemIndex:0};function xe(e,t,n){if(0===e.length)return[];if(!ne(t))return e.map(function(e){return c({},e,{index:e.index+n,originalIndex:e.index})});for(var o,r=[],i=A(t.groupOffsetTree,e[0].index,e[e.length-1].index),a=void 0,l=0,s=f(e);!(o=s()).done;){var u=o.value;(!a||a.end<u.index)&&(a=i.shift(),l=t.groupIndices.indexOf(a.start)),r.push(c({},u.index===a.start?{type:"group",index:l}:{index:u.index-(l+1)+n,groupIndex:l},{size:u.size,offset:u.offset,originalIndex:u.index,data:u.data}))}return r}function be(e,t,n,o,r,i){var a=0,l=0;if(e.length>0){a=e[0].offset;var s=e[e.length-1];l=s.offset+s.size}var u=n-r.lastIndex,c=a,m=r.lastOffset+u*r.lastSize+(u-1)*o-l;return{items:xe(e,r,i),topItems:xe(t,r,i),topListHeight:t.reduce(function(e,t){return t.size+e},0),offsetTop:a,offsetBottom:m,top:c,bottom:l,totalCount:n,firstItemIndex:i}}var ye=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=n.sizes,r=n.totalCount,i=n.data,a=n.firstItemIndex,l=n.gap,s=e[1],u=e[2],m=u.visibleRange,d=u.listBoundary,p=u.topListHeight,h=e[3],g=h.scrolledToInitialItem,v=h.initialTopMostItemIndex,S=e[4].topListHeight,C=e[5],I=e[6].didMount,T=e[7].recalcInProgress,w=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream([]),x=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream();_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(s.topItemsIndexes,w);var b=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(I,T,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(m,ve),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(o),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(v),g,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(w),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(a),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(l),i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return e[0]&&!e[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var n=e[2],o=n[0],r=n[1],i=e[3],a=e[5],l=e[6],s=e[7],u=e[8],m=e[9],d=e[10],p=e[4],h=p.sizeTree,g=p.offsetTree;if(0===i||0===o&&0===r)return c({},we,{totalCount:i});if(R(h))return be(function(e,t,n){if(ne(t)){var o=te(e,t);return[{index:k(t.groupOffsetTree,o)[0],size:0,offset:0},{index:o,size:0,offset:0,data:n&&n[0]}]}return[{index:e,size:0,offset:0,data:n&&n[0]}]}(function(e,t){return"number"==typeof e?e:"LAST"===e.index?t-1:e.index}(a,i),p,d),[],i,m,p,u);var v=[];if(s.length>0)for(var S,C=s[0],I=s[s.length-1],T=0,w=f(A(h,C,I));!(S=w()).done;)for(var x=S.value,b=x.value,y=Math.max(x.start,C),H=Math.min(x.end,I),E=y;E<=H;E++)v.push({index:E,size:b,offset:T,data:d&&d[E]}),T+=b;if(!l)return be([],v,i,m,p,u);var L=s.length>0?s[s.length-1]+1:0,F=function(e,t,n,o){return void 0===o&&(o=0),o>0&&(t=Math.max(t,j(e,o,q).offset)),N((i=n,l=_(r=e,t,a=Z),s=_(r,i,a,l),r.slice(l,s+1)),J);var r,i,a,l,s}(g,o,r,L);if(0===F.length)return null;var z=i-1;return be(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tap([],function(e){for(var t,n=f(F);!(t=n()).done;){var i=t.value,a=i.value,l=a.offset,s=i.start,u=a.size;if(a.offset<o){var c=(s+=Math.floor((o-a.offset+m)/(u+m)))-i.start;l+=c*u+c*m}s<L&&(l+=(L-s)*u,s=L);for(var p=Math.min(i.end,z),h=s;h<=p&&!(l>=r);h++)e.push({index:h,size:u,offset:l,data:d&&d[h]}),l+=u+m}}),v,i,m,p,u)}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return null!==e}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),we);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(i,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return void 0!==e}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.length})),r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(b,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.topListHeight})),S),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(S,p),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(b,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return[e.top,e.bottom]})),d),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(b,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.items})),x),c({listState:b,topItemsIndexes:w,endReached:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(b,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return e.items.length>0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(r,i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){var t=e[0].items;return t[t.length-1].originalIndex===e[1]-1}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return[e[1]-1,e[2]]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(ve),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e[0]}))),startReached:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(b,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.throttleTime(200),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){var t=e.items;return t.length>0&&t[0].originalIndex===e.topItems.length}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.items[0].index}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged())),rangeChanged:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(b,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return e.items.length>0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){for(var t=e.items,n=0,o=t.length-1;"group"===t[n].type&&n<o;)n++;for(;"group"===t[o].type&&o>n;)o--;return{startIndex:t[n].index,endIndex:t[o].index}}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(Se))),itemsRendered:x},C)},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(re,ge,Te,de,le,ce,me,K),{singleton:!0}),He=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=n.sizes,r=n.firstItemIndex,i=n.data,a=n.gap,l=e[1].listState,s=e[2].didMount,u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(s,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(u),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return 0!==e[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(o,r,a,i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e[0][1],n=e[1],o=e[2],r=e[3],i=e[4],a=void 0===i?[]:i,l=0;if(n.groupIndices.length>0)for(var s,u=f(n.groupIndices);!((s=u()).done||s.value-l>=t);)l++;var c=t+l;return be(Array.from({length:c}).map(function(e,t){return{index:t,size:0,offset:0,data:a[t]}}),[],c,r,n,o)})),l),{initialItemCount:u}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(re,ye,me),{singleton:!0}),Ee=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0].scrollVelocity,o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1),r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(n,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(i,o,r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return!!e[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e[0],n=e[1],o=e[2],r=e[3],i=n.enter;if(o){if((0,n.exit)(t,r))return!1}else if(i(t,r))return!0;return o}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),o),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(o,n,r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(i)),function(e){var t=e[0],n=e[1];return t[0]&&n&&n.change&&n.change(t[1],t[2])}),{isSeeking:o,scrollSeekConfiguration:i,scrollVelocity:n,scrollSeekRangeChanged:r}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(ce),{singleton:!0}),Re=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0].topItemsIndexes,o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return e>0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return Array.from({length:e}).map(function(e,t){return t})})),n),{topItemCount:o}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(ye)),Le=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=n.footerHeight,r=n.headerHeight,i=n.fixedHeaderHeight,a=n.fixedFooterHeight,l=e[1].listState,s=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(o,a,r,i,l),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e[4];return e[0]+e[1]+e[2]+e[3]+t.offsetBottom+t.bottom})),0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(u),s),{totalListHeight:u,totalListHeightChanged:s}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(y,ye),{singleton:!0});function Fe(e){var t,n=!1;return function(){return n||(n=!0,t=e()),t}}var ke=Fe(function(){return/iP(ad|hone|od).+Version\/[\d.]+.*Safari/i.test(navigator.userAgent)}),ze=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=n.scrollBy,r=n.scrollTop,i=n.deviation,a=n.scrollingInProgress,l=e[1],s=l.isScrolling,u=l.isAtBottom,c=l.scrollDirection,m=e[3],d=m.beforeUnshiftWith,f=m.shiftWithOffset,p=m.sizes,g=m.gap,v=e[4].log,S=e[5].recalcInProgress,C=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(e[2].listState,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(l.lastJumpDueToItemResize),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(e,t){var n=e[1],o=t[0],r=o.items,i=o.totalCount,a=o.bottom+o.offsetBottom,l=0;return e[2]===i&&n.length>0&&r.length>0&&(0===r[0].originalIndex&&0===n[0].originalIndex||0!=(l=a-e[3])&&(l+=t[1])),[l,r,i,a]},[0,[],0,0]),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return 0!==e[0]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(r,c,a,u,v),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return!e[3]&&0!==e[1]&&e[2]===se}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e[0][0];return(0,e[5])("Upward scrolling compensation",{amount:t},h.DEBUG),t})));function I(e){e>0?(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(o,{top:-e,behavior:"auto"}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(i,0)):(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(i,0),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(o,{top:-e,behavior:"auto"}))}return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(C,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(i,s)),function(e){var n=e[0],o=e[1];e[2]&&ke()?_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(i,o-n):I(-n)}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(s,!1),i,S),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return!e[0]&&!e[2]&&0!==e[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.throttleTime(1)),I),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(f,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return{top:-e}})),o),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(d,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(p,g),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e[0];return t*e[1].lastSize+t*e[2]})),function(e){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(i,e),requestAnimationFrame(function(){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(o,{top:e}),requestAnimationFrame(function(){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(i,0),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(S,!1)})})}),{deviation:i}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(y,ce,ye,re,S,K)),Be=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0].totalListHeight,o=e[1].didMount,r=e[2].scrollTo,i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return 0!==e[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return{top:e[1]}})),function(e){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.handleNext(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(n,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return 0!==e})),function(){setTimeout(function(){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(r,e)})})}),{initialScrollTop:i}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(Le,me,y),{singleton:!0}),Pe=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0].viewportHeight,o=e[1].totalListHeight,r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1);return{alignToBottom:r,paddingTopAddition:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(r,n,o),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return e[0]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return Math.max(0,e[1]-e[2])}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),0)}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(y,Le),{singleton:!0}),Oe=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=n.scrollTo,r=n.scrollContainerState,i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),a=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),l=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),s=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1),u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(void 0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(i,a),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e[0],n=t.viewportHeight,o=t.scrollHeight;return{scrollTop:Math.max(0,t.scrollTop-e[1].offsetTop),scrollHeight:o,viewportHeight:n}})),r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(a),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e[0];return c({},t,{top:t.top+e[1].offsetTop})})),l),{useWindowScroll:s,customScrollParent:u,windowScrollContainerState:i,windowViewportRect:a,windowScrollTo:l}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(y)),Me=["done","behavior","align"],We=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=n.sizes,r=n.totalCount,i=n.gap,a=e[1],l=a.scrollTop,s=a.viewportHeight,u=a.headerHeight,d=a.fixedHeaderHeight,f=a.fixedFooterHeight,p=a.scrollingInProgress,h=e[2].scrollToIndex,g=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream();return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(g,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(o,s,r,u,d,f,l),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var n=e[0],o=n[0],r=n[1],i=n[2],a=n[3],l=n[4],s=n[5],u=n[6],d=n[7],f=e[1],h=o.done,g=o.behavior,v=o.align,S=m(o,Me),C=null,I=ee(o,r,a-1),T=X(I,r.offsetTree,f)+l+s;return T<d+s?C=c({},S,{behavior:g,align:null!=v?v:"start"}):T+k(r.sizeTree,I)[1]>d+i-u&&(C=c({},S,{behavior:g,align:null!=v?v:"end"})),C?h&&_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.handleNext(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(p,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.skip(1),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return!1===e})),h):h&&h(),C}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return null!==e})),h),{scrollIntoView:g}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(re,y,le,ye,S),{singleton:!0}),Ve=["listState","topItemsIndexes"],Ue=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){return c({},e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(Te,He,me,Ee,Le,Be,Pe,Oe,We)),Ae=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=n.totalCount,r=n.sizeRanges,i=n.fixedItemSize,a=n.defaultItemSize,l=n.trackItemSizes,s=n.itemSize,u=n.data,d=n.firstItemIndex,f=n.groupIndices,p=n.statefulTotalCount,h=n.gap,g=e[1],v=g.initialTopMostItemIndex,S=g.scrolledToInitialItem,C=e[2],I=e[3],T=e[4],w=T.listState,x=T.topItemsIndexes,b=m(T,Ve),y=e[5].scrollToIndex,H=e[7].topItemCount,E=e[8].groupCounts,R=e[9],L=e[10];return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(b.rangeChanged,R.scrollSeekRangeChanged),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(R.windowViewportRect,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.visibleHeight})),C.viewportHeight),c({totalCount:o,data:u,firstItemIndex:d,sizeRanges:r,initialTopMostItemIndex:v,scrolledToInitialItem:S,topItemsIndexes:x,topItemCount:H,groupCounts:E,fixedItemHeight:i,defaultItemHeight:a,gap:h},I,{statefulTotalCount:p,listState:w,scrollToIndex:y,trackItemSizes:l,itemSize:s,groupIndices:f},b,R,C,L)},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(re,de,y,pe,ye,le,ze,Re,ge,Ue,S)),Ne=Fe(function(){if("undefined"==typeof document)return"sticky";var e=document.createElement("div");return e.style.position="-webkit-sticky","-webkit-sticky"===e.style.position?"-webkit-sticky":"sticky"});function De(e,t){var n=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(o){if(null!==o&&o.offsetParent){var r,i,a=o.getBoundingClientRect(),l=a.width;if(t){var s=t.getBoundingClientRect(),u=a.top-s.top;r=s.height-Math.max(0,u),i=u+t.scrollTop}else r=window.innerHeight-Math.max(0,a.top),i=a.top+window.pageYOffset;n.current={offsetTop:i,visibleHeight:r,visibleWidth:l},e(n.current)}},[e,t]),l=C(o),s=l.callbackRef,u=l.ref,c=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(){o(u.current)},[o,u]);return (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function(){if(t){t.addEventListener("scroll",c);var e=new ResizeObserver(c);return e.observe(t),function(){t.removeEventListener("scroll",c),e.unobserve(t)}}return window.addEventListener("scroll",c),window.addEventListener("resize",c),function(){window.removeEventListener("scroll",c),window.removeEventListener("resize",c)}},[c,t]),s}var Ge=react__WEBPACK_IMPORTED_MODULE_0__.createContext(void 0),_e=react__WEBPACK_IMPORTED_MODULE_0__.createContext(void 0),je=["placeholder"],Ke=["style","children"],Ye=["style","children"];function qe(e){return e}var Ze=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(){var e=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(function(e){return"Item "+e}),n=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(null),o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(function(e){return"Group "+e}),r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream({}),i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(qe),a=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream("div"),l=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.noop),s=function(e,n){return void 0===n&&(n=null),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(r,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t[e]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),n)};return{context:n,itemContent:e,groupContent:o,components:r,computeItemKey:i,headerFooterTag:a,scrollerRef:l,FooterComponent:s("Footer"),HeaderComponent:s("Header"),TopItemListComponent:s("TopItemList"),ListComponent:s("List","div"),ItemComponent:s("Item","div"),GroupComponent:s("Group","div"),ScrollerComponent:s("Scroller","div"),EmptyPlaceholder:s("EmptyPlaceholder"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder")}});function Je(e,n){var o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream();return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(o,function(){return console.warn("react-virtuoso: You are using a deprecated property. "+n,"color: red;","color: inherit;","color: blue;")}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(o,e),o}var $e=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=e[1],r={item:Je(o.itemContent,"Rename the %citem%c prop to %citemContent."),group:Je(o.groupContent,"Rename the %cgroup%c prop to %cgroupContent."),topItems:Je(n.topItemCount,"Rename the %ctopItems%c prop to %ctopItemCount."),itemHeight:Je(n.fixedItemHeight,"Rename the %citemHeight%c prop to %cfixedItemHeight."),scrollingStateChange:Je(n.isScrolling,"Rename the %cscrollingStateChange%c prop to %cisScrolling."),adjustForPrependedItems:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),maxHeightCacheSize:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),footer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),header:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),HeaderContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),FooterContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),ItemContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),ScrollContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),GroupContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),ListContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),emptyComponent:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),scrollSeek:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream()};function i(e,n,r){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(e,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(o.components),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t,o=e[0],i=e[1];return console.warn("react-virtuoso: "+r+" property is deprecated. Pass components."+n+" instead."),c({},i,((t={})[n]=o,t))})),o.components)}return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(r.adjustForPrependedItems,function(){console.warn("react-virtuoso: adjustForPrependedItems is no longer supported. Use the firstItemIndex property instead - https://virtuoso.dev/prepend-items.","color: red;","color: inherit;","color: blue;")}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(r.maxHeightCacheSize,function(){console.warn("react-virtuoso: maxHeightCacheSize is no longer necessary. Setting it has no effect - remove it from your code.")}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(r.HeaderContainer,function(){console.warn("react-virtuoso: HeaderContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the header component and pass components.Header to change its contents.")}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(r.FooterContainer,function(){console.warn("react-virtuoso: FooterContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the footer component and pass components.Footer to change its contents.")}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(r.scrollSeek,function(e){var r=e.placeholder,i=m(e,je);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(o.components,c({},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(o.components),{ScrollSeekPlaceholder:r})),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(n.scrollSeekConfiguration,i)}),i(r.footer,"Footer","footer"),i(r.header,"Header","header"),i(r.ItemContainer,"Item","ItemContainer"),i(r.ListContainer,"List","ListContainer"),i(r.ScrollContainer,"Scroller","ScrollContainer"),i(r.emptyComponent,"EmptyPlaceholder","emptyComponent"),i(r.GroupContainer,"Group","GroupContainer"),c({},n,o,r)},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(Ae,Ze)),Qe=function(e){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{style:{height:e.height}})},Xe={position:Ne(),zIndex:1,overflowAnchor:"none"},et={overflowAnchor:"none"},tt=react__WEBPACK_IMPORTED_MODULE_0__.memo(function(e){var o=e.showTopList,r=void 0!==o&&o,i=gt("listState"),a=ht("sizeRanges"),s=gt("useWindowScroll"),u=gt("customScrollParent"),m=ht("windowScrollContainerState"),d=ht("scrollContainerState"),f=u||s?m:d,p=gt("itemContent"),h=gt("context"),g=gt("groupContent"),v=gt("trackItemSizes"),S=gt("itemSize"),C=gt("log"),I=ht("gap"),w=T(a,S,v,r?_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.noop:f,C,I,u).callbackRef,x=react__WEBPACK_IMPORTED_MODULE_0__.useState(0),b=x[0],y=x[1];vt("deviation",function(e){b!==e&&y(e)});var H=gt("EmptyPlaceholder"),E=gt("ScrollSeekPlaceholder")||Qe,R=gt("ListComponent"),L=gt("ItemComponent"),F=gt("GroupComponent"),k=gt("computeItemKey"),z=gt("isSeeking"),B=gt("groupIndices").length>0,P=gt("paddingTopAddition"),O=r?{}:{boxSizing:"border-box",paddingTop:i.offsetTop+P,paddingBottom:i.offsetBottom,marginTop:b};return!r&&0===i.totalCount&&H?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(H,it(H,h)):(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(R,c({},it(R,h),{ref:w,style:O,"data-test-id":r?"virtuoso-top-item-list":"virtuoso-item-list"}),(r?i.topItems:i.items).map(function(e){var t=e.originalIndex,n=k(t+i.firstItemIndex,e.data,h);return z?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(E,c({},it(E,h),{key:n,index:e.index,height:e.size,type:e.type||"item"},"group"===e.type?{}:{groupIndex:e.groupIndex})):"group"===e.type?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(F,c({},it(F,h),{key:n,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:Xe}),g(e.index)):(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(L,c({},it(L,h),{key:n,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,"data-item-group-index":e.groupIndex,style:et}),B?p(e.index,e.groupIndex,e.data,h):p(e.index,e.data,h))}))}),nt={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},ot={width:"100%",height:"100%",position:"absolute",top:0},rt={width:"100%",position:Ne(),top:0};function it(e,t){if("string"!=typeof e)return{context:t}}var at=react__WEBPACK_IMPORTED_MODULE_0__.memo(function(){var e=gt("HeaderComponent"),t=ht("headerHeight"),n=gt("headerFooterTag"),o=I(function(e){return t(w(e,"height"))}),r=gt("context");return e?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,{ref:o},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(e,it(e,r))):null}),lt=react__WEBPACK_IMPORTED_MODULE_0__.memo(function(){var e=gt("FooterComponent"),t=ht("footerHeight"),n=gt("headerFooterTag"),o=I(function(e){return t(w(e,"height"))}),r=gt("context");return e?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,{ref:o},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(e,it(e,r))):null});function st(e){var t=e.usePublisher,o=e.useEmitter,r=e.useEmitterValue;return react__WEBPACK_IMPORTED_MODULE_0__.memo(function(e){var n=e.style,i=e.children,a=m(e,Ke),s=t("scrollContainerState"),u=r("ScrollerComponent"),d=t("smoothScrollTargetReached"),f=r("scrollerRef"),p=r("context"),h=b(s,d,u,f),g=h.scrollerRef,v=h.scrollByCallback;return o("scrollTo",h.scrollToCallback),o("scrollBy",v),(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(u,c({ref:g,style:c({},nt,n),"data-test-id":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0},a,it(u,p)),i)})}function ut(e){var o=e.usePublisher,r=e.useEmitter,i=e.useEmitterValue;return react__WEBPACK_IMPORTED_MODULE_0__.memo(function(e){var n=e.style,a=e.children,s=m(e,Ye),u=o("windowScrollContainerState"),d=i("ScrollerComponent"),f=o("smoothScrollTargetReached"),p=i("totalListHeight"),h=i("deviation"),v=i("customScrollParent"),S=i("context"),C=b(u,f,d,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.noop,v),I=C.scrollerRef,T=C.scrollByCallback,w=C.scrollToCallback;return g(function(){return I.current=v||window,function(){I.current=null}},[I,v]),r("windowScrollTo",w),r("scrollBy",T),(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(d,c({style:c({position:"relative"},n,0!==p?{height:p+h}:{}),"data-virtuoso-scroller":!0},s,it(d,S)),a)})}var ct=function(e){var o=e.children,r=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Ge),i=ht("viewportHeight"),a=ht("fixedItemHeight"),l=I(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.compose(i,function(e){return w(e,"height")}));return react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function(){r&&(i(r.viewportHeight),a(r.itemHeight))},[r,i,a]),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{style:ot,ref:l,"data-viewport-type":"element"},o)},mt=function(e){var t=e.children,o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Ge),r=ht("windowViewportRect"),i=ht("fixedItemHeight"),a=gt("customScrollParent"),l=De(r,a);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function(){o&&(i(o.itemHeight),r({offsetTop:0,visibleHeight:o.viewportHeight,visibleWidth:100}))},[o,r,i]),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{ref:l,style:ot,"data-viewport-type":"window"},t)},dt=function(e){var t=e.children,n=gt("TopItemListComponent"),o=gt("headerHeight"),r=c({},rt,{marginTop:o+"px"}),i=gt("context");return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(n||"div",{style:r,context:i},t)},ft=(0,_virtuoso_dev_react_urx__WEBPACK_IMPORTED_MODULE_3__.systemToComponent)($e,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering",item:"item",group:"group",topItems:"topItems",itemHeight:"itemHeight",scrollingStateChange:"scrollingStateChange",maxHeightCacheSize:"maxHeightCacheSize",footer:"footer",header:"header",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",GroupContainer:"GroupContainer",emptyComponent:"emptyComponent",HeaderContainer:"HeaderContainer",FooterContainer:"FooterContainer",scrollSeek:"scrollSeek"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",adjustForPrependedItems:"adjustForPrependedItems",autoscrollToBottom:"autoscrollToBottom"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},react__WEBPACK_IMPORTED_MODULE_0__.memo(function(e){var t=gt("useWindowScroll"),o=gt("topItemsIndexes").length>0,r=gt("customScrollParent"),i=r||t?mt:ct;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(r||t?Ct:St,c({},e),react__WEBPACK_IMPORTED_MODULE_0__.createElement(i,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(at,null),react__WEBPACK_IMPORTED_MODULE_0__.createElement(tt,null),react__WEBPACK_IMPORTED_MODULE_0__.createElement(lt,null)),o&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(dt,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(tt,{showTopList:!0})))})),pt=ft.Component,ht=ft.usePublisher,gt=ft.useEmitterValue,vt=ft.useEmitter,St=st({usePublisher:ht,useEmitterValue:gt,useEmitter:vt}),Ct=ut({usePublisher:ht,useEmitterValue:gt,useEmitter:vt}),It={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},Tt={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},wt=Math.round,xt=Math.ceil,bt=Math.floor,yt=Math.min,Ht=Math.max;function Et(e,t,n){return Array.from({length:t-e+1}).map(function(t,o){return{index:o+e,data:null==n?void 0:n[o+e]}})}function Rt(e,t){return e&&e.column===t.column&&e.row===t.row}var Lt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=n.overscan,r=n.visibleRange,i=n.listBoundary,a=e[1],l=a.scrollTop,s=a.viewportHeight,u=a.scrollBy,m=a.scrollTo,d=a.smoothScrollTargetReached,f=a.scrollContainerState,p=a.footerHeight,h=a.headerHeight,g=e[2],v=e[3],S=e[4],C=S.propsReady,I=S.didMount,T=e[5],w=T.windowViewportRect,x=T.windowScrollTo,b=T.useWindowScroll,y=T.customScrollParent,H=T.windowScrollContainerState,E=e[6],R=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),L=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),F=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(It),k=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream({height:0,width:0}),z=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream({height:0,width:0}),B=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),P=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),O=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),M=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(void 0),W=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream({row:0,column:0});_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(I,L,M),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return 0!==e[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return{items:Et(0,e[1]-1,e[2]),top:0,bottom:0,offsetBottom:0,offsetTop:0,itemHeight:0,itemWidth:0}})),F),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(R),r,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(W,Rt),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(z,function(e,t){return e&&e.width===t.width&&e.height===t.height}),M),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(k),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e[0],n=t[0],o=t[1],r=o[0],i=o[1],a=t[2],l=t[3],s=t[4],u=e[1],m=a.row,d=a.column,f=l.height,p=l.width,h=u.width;if(0===n||0===h)return It;if(0===p)return function(e){return c({},Tt,{items:e})}(Et(0,0,s));var g=zt(h,p,d),v=g*bt((r+m)/(f+m)),S=g*xt((i+m)/(f+m))-1;S=Ht(0,yt(n-1,S));var C=Et(v=yt(S,Ht(0,v)),S,s),I=Ft(u,a,l,C),T=I.top,w=I.bottom,x=xt(n/g);return{items:C,offsetTop:T,offsetBottom:x*f+(x-1)*m-w,top:T,bottom:w,itemHeight:f,itemWidth:p}})),F),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(M,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return void 0!==e}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.length})),R),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(k,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.height})),s),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(k,z,F,W),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=Ft(e[0],e[3],e[1],e[2].items);return[t.top,t.bottom]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(ve)),i);var V=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(F),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return e.items.length>0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(R),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){var t=e[0].items;return t[t.length-1].index===e[1]-1}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e[1]-1}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged())),U=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(F),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){var t=e.items;return t.length>0&&0===t[0].index}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo(0),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged())),A=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(F),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(e){return e.items.length>0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e.items;return{startIndex:t[0].index,endIndex:t[t.length-1].index}}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(Se)));_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(A,v.scrollSeekRangeChanged),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(B,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(k,z,R,W),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t=e[1],n=e[2],o=e[3],r=e[4],i=ae(e[0]),a=i.align,l=i.behavior,s=i.offset,u=i.index;"LAST"===u&&(u=o-1);var c=kt(t,r,n,u=Ht(0,u,yt(o-1,u)));return"end"===a?c=wt(c-t.height+n.height):"center"===a&&(c=wt(c-t.height/2+n.height/2)),s&&(c+=s),{top:c,behavior:l}})),m);var N=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(F,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e.offsetBottom+e.bottom})),0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(w,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return{width:e.visibleWidth,height:e.visibleHeight}})),k),c({data:M,totalCount:R,viewportDimensions:k,itemDimensions:z,scrollTop:l,scrollHeight:P,overscan:o,scrollBy:u,scrollTo:m,scrollToIndex:B,smoothScrollTargetReached:d,windowViewportRect:w,windowScrollTo:x,useWindowScroll:b,customScrollParent:y,windowScrollContainerState:H,deviation:O,scrollContainerState:f,footerHeight:p,headerHeight:h,initialItemCount:L,gap:W},v,{gridState:F,totalListHeight:N},g,{startReached:U,endReached:V,rangeChanged:A,propsReady:C},E)},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(Te,y,ce,Ee,me,Oe,S));function Ft(e,t,n,o){var r=n.height;return void 0===r||0===o.length?{top:0,bottom:0}:{top:kt(e,t,n,o[0].index),bottom:kt(e,t,n,o[o.length-1].index)+r}}function kt(e,t,n,o){var r=zt(e.width,n.width,t.column),i=bt(o/r),a=i*n.height+Ht(0,i-1)*t.row;return a>0?a+t.row:a}function zt(e,t,n){return Ht(1,bt((e+n)/(t+n)))}var Bt=["placeholder"],Pt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(){var e=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(function(e){return"Item "+e}),n=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream({}),o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(null),r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream("virtuoso-grid-item"),i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream("virtuoso-grid-list"),a=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(qe),l=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream("div"),s=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.noop),u=function(e,o){return void 0===o&&(o=null),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(n,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t[e]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),o)};return{context:o,itemContent:e,components:n,computeItemKey:a,itemClassName:r,listClassName:i,headerFooterTag:l,scrollerRef:s,FooterComponent:u("Footer"),HeaderComponent:u("Header"),ListComponent:u("List","div"),ItemComponent:u("Item","div"),ScrollerComponent:u("Scroller","div"),ScrollSeekPlaceholder:u("ScrollSeekPlaceholder","div")}}),Ot=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){var n=e[0],o=e[1],r={item:Je(o.itemContent,"Rename the %citem%c prop to %citemContent."),ItemContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),ScrollContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),ListContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),emptyComponent:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),scrollSeek:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream()};function i(e,n,r){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(e,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(o.components),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){var t,o=e[0],i=e[1];return console.warn("react-virtuoso: "+r+" property is deprecated. Pass components."+n+" instead."),c({},i,((t={})[n]=o,t))})),o.components)}return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(r.scrollSeek,function(e){var r=e.placeholder,i=m(e,Bt);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(o.components,c({},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(o.components),{ScrollSeekPlaceholder:r})),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(n.scrollSeekConfiguration,i)}),i(r.ItemContainer,"Item","ItemContainer"),i(r.ListContainer,"List","ListContainer"),i(r.ScrollContainer,"Scroller","ScrollContainer"),c({},n,o,r)},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(Lt,Pt)),Mt=react__WEBPACK_IMPORTED_MODULE_0__.memo(function(){var e=_t("gridState"),t=_t("listClassName"),n=_t("itemClassName"),o=_t("itemContent"),r=_t("computeItemKey"),i=_t("isSeeking"),a=Gt("scrollHeight"),s=_t("ItemComponent"),u=_t("ListComponent"),m=_t("ScrollSeekPlaceholder"),d=_t("context"),f=Gt("itemDimensions"),p=Gt("gap"),h=_t("log"),g=I(function(e){a(e.parentElement.parentElement.scrollHeight);var t=e.firstChild;t&&f(t.getBoundingClientRect()),p({row:qt("row-gap",getComputedStyle(e).rowGap,h),column:qt("column-gap",getComputedStyle(e).columnGap,h)})});return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(u,c({ref:g,className:t},it(u,d),{style:{paddingTop:e.offsetTop,paddingBottom:e.offsetBottom}}),e.items.map(function(t){var a=r(t.index,t.data,d);return i?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(m,c({key:a},it(m,d),{index:t.index,height:e.itemHeight,width:e.itemWidth})):(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(s,c({},it(s,d),{className:n,"data-index":t.index,key:a}),o(t.index,t.data,d))}))}),Wt=react__WEBPACK_IMPORTED_MODULE_0__.memo(function(){var e=_t("HeaderComponent"),t=Gt("headerHeight"),n=_t("headerFooterTag"),o=I(function(e){return t(w(e,"height"))}),r=_t("context");return e?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,{ref:o},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(e,it(e,r))):null}),Vt=react__WEBPACK_IMPORTED_MODULE_0__.memo(function(){var e=_t("FooterComponent"),t=Gt("footerHeight"),n=_t("headerFooterTag"),o=I(function(e){return t(w(e,"height"))}),r=_t("context");return e?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,{ref:o},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(e,it(e,r))):null}),Ut=function(e){var t=e.children,o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_e),r=Gt("itemDimensions"),i=Gt("viewportDimensions"),a=I(function(e){i(e.getBoundingClientRect())});return react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function(){o&&(i({height:o.viewportHeight,width:o.viewportWidth}),r({height:o.itemHeight,width:o.itemWidth}))},[o,i,r]),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{style:ot,ref:a},t)},At=function(e){var t=e.children,o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_e),r=Gt("windowViewportRect"),i=Gt("itemDimensions"),a=_t("customScrollParent"),l=De(r,a);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function(){o&&(i({height:o.itemHeight,width:o.itemWidth}),r({offsetTop:0,visibleHeight:o.viewportHeight,visibleWidth:o.viewportWidth}))},[o,r,i]),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{ref:l,style:ot},t)},Nt=(0,_virtuoso_dev_react_urx__WEBPACK_IMPORTED_MODULE_3__.systemToComponent)(Ot,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",data:"data",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",item:"item",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",scrollSeek:"scrollSeek"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange"}},react__WEBPACK_IMPORTED_MODULE_0__.memo(function(e){var t=c({},e),o=_t("useWindowScroll"),r=_t("customScrollParent"),i=r||o?At:Ut;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(r||o?Yt:Kt,c({},t),react__WEBPACK_IMPORTED_MODULE_0__.createElement(i,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(Wt,null),react__WEBPACK_IMPORTED_MODULE_0__.createElement(Mt,null),react__WEBPACK_IMPORTED_MODULE_0__.createElement(Vt,null)))})),Dt=Nt.Component,Gt=Nt.usePublisher,_t=Nt.useEmitterValue,jt=Nt.useEmitter,Kt=st({usePublisher:Gt,useEmitterValue:_t,useEmitter:jt}),Yt=ut({usePublisher:Gt,useEmitterValue:_t,useEmitter:jt});function qt(e,t,n){return"normal"===t||null!=t&&t.endsWith("px")||n(e+" was not resolved to pixel value correctly",t,h.WARN),"normal"===t?0:parseInt(null!=t?t:"0",10)}var Zt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(){var e=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(function(e){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("td",null,"Item $",e)}),o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(null),r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(null),i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(null),a=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream({}),l=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(qe),s=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.noop),u=function(e,n){return void 0===n&&(n=null),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(a,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t[e]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),n)};return{context:o,itemContent:e,fixedHeaderContent:r,fixedFooterContent:i,components:a,computeItemKey:l,scrollerRef:s,TableComponent:u("Table","table"),TableHeadComponent:u("TableHead","thead"),TableFooterComponent:u("TableFoot","tfoot"),TableBodyComponent:u("TableBody","tbody"),TableRowComponent:u("TableRow","tr"),ScrollerComponent:u("Scroller","div"),EmptyPlaceholder:u("EmptyPlaceholder"),ScrollSeekPlaceholder:u("ScrollSeekPlaceholder"),FillerRow:u("FillerRow")}}),Jt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(e){return c({},e[0],e[1])},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(Ae,Zt)),$t=function(e){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("tr",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("td",{style:{height:e.height}}))},Qt=function(e){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("tr",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("td",{style:{height:e.height,padding:0,border:0}}))},Xt=react__WEBPACK_IMPORTED_MODULE_0__.memo(function(){var e=an("listState"),t=rn("sizeRanges"),o=an("useWindowScroll"),r=an("customScrollParent"),i=rn("windowScrollContainerState"),a=rn("scrollContainerState"),s=r||o?i:a,u=an("itemContent"),m=an("trackItemSizes"),d=T(t,an("itemSize"),m,s,an("log"),void 0,r),f=d.callbackRef,p=d.ref,h=react__WEBPACK_IMPORTED_MODULE_0__.useState(0),g=h[0],v=h[1];ln("deviation",function(e){g!==e&&(p.current.style.marginTop=e+"px",v(e))});var S=an("EmptyPlaceholder"),C=an("ScrollSeekPlaceholder")||$t,I=an("FillerRow")||Qt,w=an("TableBodyComponent"),x=an("TableRowComponent"),b=an("computeItemKey"),y=an("isSeeking"),H=an("paddingTopAddition"),E=an("firstItemIndex"),R=an("statefulTotalCount"),L=an("context");if(0===R&&S)return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(S,it(S,L));var F=e.offsetTop+H+g,k=e.offsetBottom,z=F>0?react__WEBPACK_IMPORTED_MODULE_0__.createElement(I,{height:F,key:"padding-top"}):null,B=k>0?react__WEBPACK_IMPORTED_MODULE_0__.createElement(I,{height:k,key:"padding-bottom"}):null,P=e.items.map(function(e){var t=e.originalIndex,n=b(t+E,e.data,L);return y?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(C,c({},it(C,L),{key:n,index:e.index,height:e.size,type:e.type||"item"})):(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(x,c({},it(x,L),{key:n,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:{overflowAnchor:"none"}}),u(e.index,e.data,L))});return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(w,c({ref:f,"data-test-id":"virtuoso-item-list"},it(w,L)),[z].concat(P,[B]))}),en=function(e){var o=e.children,r=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Ge),i=rn("viewportHeight"),a=rn("fixedItemHeight"),l=I(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.compose(i,function(e){return w(e,"height")}));return react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function(){r&&(i(r.viewportHeight),a(r.itemHeight))},[r,i,a]),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{style:ot,ref:l,"data-viewport-type":"element"},o)},tn=function(e){var t=e.children,o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Ge),r=rn("windowViewportRect"),i=rn("fixedItemHeight"),a=an("customScrollParent"),l=De(r,a);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function(){o&&(i(o.itemHeight),r({offsetTop:0,visibleHeight:o.viewportHeight,visibleWidth:100}))},[o,r,i]),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{ref:l,style:ot,"data-viewport-type":"window"},t)},nn=(0,_virtuoso_dev_react_urx__WEBPACK_IMPORTED_MODULE_3__.systemToComponent)(Jt,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},react__WEBPACK_IMPORTED_MODULE_0__.memo(function(e){var o=an("useWindowScroll"),r=an("customScrollParent"),i=rn("fixedHeaderHeight"),a=rn("fixedFooterHeight"),l=an("fixedHeaderContent"),s=an("fixedFooterContent"),u=an("context"),m=I(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.compose(i,function(e){return w(e,"height")})),d=I(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.compose(a,function(e){return w(e,"height")})),f=r||o?un:sn,p=r||o?tn:en,h=an("TableComponent"),g=an("TableHeadComponent"),v=an("TableFooterComponent"),S=l?react__WEBPACK_IMPORTED_MODULE_0__.createElement(g,c({key:"TableHead",style:{zIndex:1,position:"sticky",top:0},ref:m},it(g,u)),l()):null,C=s?react__WEBPACK_IMPORTED_MODULE_0__.createElement(v,c({key:"TableFoot",style:{zIndex:1,position:"sticky",bottom:0},ref:d},it(v,u)),s()):null;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(f,c({},e),react__WEBPACK_IMPORTED_MODULE_0__.createElement(p,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(h,c({style:{borderSpacing:0}},it(h,u)),[S,react__WEBPACK_IMPORTED_MODULE_0__.createElement(Xt,{key:"TableBody"}),C])))})),on=nn.Component,rn=nn.usePublisher,an=nn.useEmitterValue,ln=nn.useEmitter,sn=st({usePublisher:rn,useEmitterValue:an,useEmitter:ln}),un=ut({usePublisher:rn,useEmitterValue:an,useEmitter:ln}),cn=pt,mn=pt,dn=on,fn=Dt;
|
|
3734
|
+
function c(){return c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},c.apply(this,arguments)}function m(t,e){if(null==t)return{};var n,o,r={},i=Object.keys(t);for(o=0;o<i.length;o++)e.indexOf(n=i[o])>=0||(r[n]=t[n]);return r}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function f(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var p,h,g="undefined"!=typeof document?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_0__.useEffect;!function(t){t[t.DEBUG=0]="DEBUG",t[t.INFO=1]="INFO",t[t.WARN=2]="WARN",t[t.ERROR=3]="ERROR"}(h||(h={}));var v=((p={})[h.DEBUG]="debug",p[h.INFO]="log",p[h.WARN]="warn",p[h.ERROR]="error",p),S=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(){var t=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(h.ERROR);return{log:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(function(n,o,r){var i;void 0===r&&(r=h.INFO),r>=(null!=(i=("undefined"==typeof globalThis?window:globalThis).VIRTUOSO_LOG_LEVEL)?i:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(t))&&console[v[r]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",n,o)}),logLevel:t}},[],{singleton:!0});function C(t,e){void 0===e&&(e=!0);var n=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),o=function(t){};if("undefined"!=typeof ResizeObserver){var r=new ResizeObserver(function(e){var n=e[0].target;null!==n.offsetParent&&t(n)});o=function(t){t&&e?(r.observe(t),n.current=t):(n.current&&r.unobserve(n.current),n.current=null)}}return{ref:n,callbackRef:o}}function I(t,e){return void 0===e&&(e=!0),C(t,e).callbackRef}function T(t,e,n,o,r,i,a){return C(function(n){for(var l=function(t,e,n,o){var r=t.length;if(0===r)return null;for(var i=[],a=0;a<r;a++){var l=t.item(a);if(l&&void 0!==l.dataset.index){var s=parseInt(l.dataset.index),u=parseFloat(l.dataset.knownSize),c=e(l,"offsetHeight");if(0===c&&o("Zero-sized element, this should not happen",{child:l},h.ERROR),c!==u){var m=i[i.length-1];0===i.length||m.size!==c||m.endIndex!==s-1?i.push({startIndex:s,endIndex:s,size:c}):i[i.length-1].endIndex++}}}return i}(n.children,e,0,r),s=n.parentElement;!s.dataset.virtuosoScroller;)s=s.parentElement;var u="window"===s.firstElementChild.dataset.viewportType,c=a?a.scrollTop:u?window.pageYOffset||document.documentElement.scrollTop:s.scrollTop,m=a?a.scrollHeight:u?document.documentElement.scrollHeight:s.scrollHeight,d=a?a.offsetHeight:u?window.innerHeight:s.offsetHeight;o({scrollTop:Math.max(c,0),scrollHeight:m,viewportHeight:d}),null==i||i(function(t,e,n){return"normal"===e||null!=e&&e.endsWith("px")||n("row-gap was not resolved to pixel value correctly",e,h.WARN),"normal"===e?0:parseInt(null!=e?e:"0",10)}(0,getComputedStyle(n).rowGap,r)),null!==l&&t(l)},n)}function w(t,e){return Math.round(t.getBoundingClientRect()[e])}function x(t,e){return Math.abs(t-e)<1.01}function b(t,n,o,l,s){void 0===l&&(l=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.noop);var c=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),m=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),d=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),f=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(!1),p=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(e){var o=e.target,r=o===window||o===document,i=r?window.pageYOffset||document.documentElement.scrollTop:o.scrollTop,a=r?document.documentElement.scrollHeight:o.scrollHeight,l=r?window.innerHeight:o.offsetHeight,s=function(){t({scrollTop:Math.max(i,0),scrollHeight:a,viewportHeight:l})};f.current?(0,react_dom__WEBPACK_IMPORTED_MODULE_1__.flushSync)(s):s(),f.current=!1,null!==m.current&&(i===m.current||i<=0||i===a-l)&&(m.current=null,n(!0),d.current&&(clearTimeout(d.current),d.current=null))},[t,n]);return (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function(){var t=s||c.current;return l(s||c.current),p({target:t}),t.addEventListener("scroll",p,{passive:!0}),function(){l(null),t.removeEventListener("scroll",p)}},[c,p,o,l,s]),{scrollerRef:c,scrollByCallback:function(t){f.current=!0,c.current.scrollBy(t)},scrollToCallback:function(e){var o=c.current;if(o&&(!("offsetHeight"in o)||0!==o.offsetHeight)){var r,i,a,l="smooth"===e.behavior;if(o===window?(i=Math.max(w(document.documentElement,"height"),document.documentElement.scrollHeight),r=window.innerHeight,a=document.documentElement.scrollTop):(i=o.scrollHeight,r=w(o,"height"),a=o.scrollTop),e.top=Math.ceil(Math.max(Math.min(i-r,e.top),0)),x(r,i)||e.top===a)return t({scrollTop:a,scrollHeight:i,viewportHeight:r}),void(l&&n(!0));l?(m.current=e.top,d.current&&clearTimeout(d.current),d.current=setTimeout(function(){d.current=null,m.current=null,n(!0)},1e3)):m.current=null,o.scrollTo(e)}}}}var y=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(){var t=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),n=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),a=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),l=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),s=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),c=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),m=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),d=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),f=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),p=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1),h=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(t,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.scrollTop})),n),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(t,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.scrollHeight})),l),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(n,i),{scrollContainerState:t,scrollTop:n,viewportHeight:a,headerHeight:s,fixedHeaderHeight:u,fixedFooterHeight:c,footerHeight:m,scrollHeight:l,smoothScrollTargetReached:r,react18ConcurrentRendering:h,scrollTo:d,scrollBy:f,statefulScrollTop:i,deviation:o,scrollingInProgress:p}},[],{singleton:!0}),H={lvl:0};function E(t,e,n,o,r){return void 0===o&&(o=H),void 0===r&&(r=H),{k:t,v:e,lvl:n,l:o,r:r}}function R(t){return t===H}function L(){return H}function F(t,e){if(R(t))return H;var n=t.k,o=t.l,r=t.r;if(e===n){if(R(o))return r;if(R(r))return o;var i=O(o);return U(W(t,{k:i[0],v:i[1],l:M(o)}))}return U(W(t,e<n?{l:F(o,e)}:{r:F(r,e)}))}function k(t,e,n){if(void 0===n&&(n="k"),R(t))return[-Infinity,void 0];if(t[n]===e)return[t.k,t.v];if(t[n]<e){var o=k(t.r,e,n);return-Infinity===o[0]?[t.k,t.v]:o}return k(t.l,e,n)}function z(t,e,n){return R(t)?E(e,n,1):e===t.k?W(t,{k:e,v:n}):function(t){return D(G(t))}(W(t,e<t.k?{l:z(t.l,e,n)}:{r:z(t.r,e,n)}))}function B(t,e,n){if(R(t))return[];var o=t.k,r=t.v,i=t.r,a=[];return o>e&&(a=a.concat(B(t.l,e,n))),o>=e&&o<=n&&a.push({k:o,v:r}),o<=n&&(a=a.concat(B(i,e,n))),a}function P(t){return R(t)?[]:[].concat(P(t.l),[{k:t.k,v:t.v}],P(t.r))}function O(t){return R(t.r)?[t.k,t.v]:O(t.r)}function M(t){return R(t.r)?t.l:U(W(t,{r:M(t.r)}))}function W(t,e){return E(void 0!==e.k?e.k:t.k,void 0!==e.v?e.v:t.v,void 0!==e.lvl?e.lvl:t.lvl,void 0!==e.l?e.l:t.l,void 0!==e.r?e.r:t.r)}function V(t){return R(t)||t.lvl>t.r.lvl}function U(t){var e=t.l,n=t.r,o=t.lvl;if(n.lvl>=o-1&&e.lvl>=o-1)return t;if(o>n.lvl+1){if(V(e))return G(W(t,{lvl:o-1}));if(R(e)||R(e.r))throw new Error("Unexpected empty nodes");return W(e.r,{l:W(e,{r:e.r.l}),r:W(t,{l:e.r.r,lvl:o-1}),lvl:o})}if(V(t))return D(W(t,{lvl:o-1}));if(R(n)||R(n.l))throw new Error("Unexpected empty nodes");var r=n.l,i=V(r)?n.lvl-1:n.lvl;return W(r,{l:W(t,{r:r.l,lvl:o-1}),r:D(W(n,{l:r.r,lvl:i})),lvl:r.lvl+1})}function A(t,e,n){return R(t)?[]:N(B(t,k(t,e)[0],n),function(t){return{index:t.k,value:t.v}})}function N(t,e){var n=t.length;if(0===n)return[];for(var o=e(t[0]),r=o.index,i=o.value,a=[],l=1;l<n;l++){var s=e(t[l]),u=s.index,c=s.value;a.push({start:r,end:u-1,value:i}),r=u,i=c}return a.push({start:r,end:Infinity,value:i}),a}function D(t){var e=t.r,n=t.lvl;return R(e)||R(e.r)||e.lvl!==n||e.r.lvl!==n?t:W(e,{l:W(t,{r:e.l}),lvl:n+1})}function G(t){var e=t.l;return R(e)||e.lvl!==t.lvl?t:W(e,{r:W(t,{l:e.r})})}function _(t,e,n,o){void 0===o&&(o=0);for(var r=t.length-1;o<=r;){var i=Math.floor((o+r)/2),a=n(t[i],e);if(0===a)return i;if(-1===a){if(r-o<2)return i-1;r=i-1}else{if(r===o)return i;o=i+1}}throw new Error("Failed binary finding record in array - "+t.join(",")+", searched for "+e)}function j(t,e,n){return t[_(t,e,n)]}var K=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(){return{recalcInProgress:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1)}},[],{singleton:!0});function Y(t){var e=t.size,n=t.startIndex,o=t.endIndex;return function(t){return t.start===n&&(t.end===o||Infinity===t.end)&&t.value===e}}function q(t,e){var n=t.index;return e===n?0:e<n?-1:1}function Z(t,e){var n=t.offset;return e===n?0:e<n?-1:1}function J(t){return{index:t.index,value:t}}function $(t,e,n,o){var r=t,i=0,a=0,l=0,s=0;if(0!==e){l=r[s=_(r,e-1,q)].offset;var u=k(n,e-1);i=u[0],a=u[1],r.length&&r[s].size===k(n,e)[1]&&(s-=1),r=r.slice(0,s+1)}else r=[];for(var c,m=f(A(n,e,Infinity));!(c=m()).done;){var d=c.value,p=d.start,h=d.value,g=p-i,v=g*a+l+g*o;r.push({offset:v,size:h,index:p}),i=p,l=v,a=h}return{offsetTree:r,lastIndex:i,lastOffset:l,lastSize:a}}function Q(t,e){var n=e[0],o=e[1],r=e[3];n.length>0&&(0,e[2])("received item sizes",n,h.DEBUG);var i=t.sizeTree,a=i,l=0;if(o.length>0&&R(i)&&2===n.length){var s=n[0].size,u=n[1].size;a=o.reduce(function(t,e){return z(z(t,e,s),e+1,u)},a)}else{var c=function(t,e){for(var n,o=R(t)?0:Infinity,r=f(e);!(n=r()).done;){var i=n.value,a=i.size,l=i.startIndex,s=i.endIndex;if(o=Math.min(o,l),R(t))t=z(t,0,a);else{var u=A(t,l-1,s+1);if(!u.some(Y(i))){for(var c,m=!1,d=!1,p=f(u);!(c=p()).done;){var h=c.value,g=h.start,v=h.end,S=h.value;m?(s>=g||a===S)&&(t=F(t,g)):(d=S!==a,m=!0),v>s&&s>=g&&S!==a&&(t=z(t,s+1,S))}d&&(t=z(t,l,a))}}}return[t,o]}(a,n);a=c[0],l=c[1]}if(a===i)return t;var m=$(t.offsetTree,l,a,r),d=m.offsetTree;return{sizeTree:a,offsetTree:d,lastIndex:m.lastIndex,lastOffset:m.lastOffset,lastSize:m.lastSize,groupOffsetTree:o.reduce(function(t,e){return z(t,e,X(e,d,r))},L()),groupIndices:o}}function X(t,e,n){if(0===e.length)return 0;var o=j(e,t,q),r=t-o.index,i=o.size*r+(r-1)*n+o.offset;return i>0?i+n:i}function tt(t,e,n){if(function(t){return void 0!==t.groupIndex}(t))return e.groupIndices[t.groupIndex]+1;var o=et("LAST"===t.index?n:t.index,e);return Math.max(0,o,Math.min(n,o))}function et(t,e){if(!nt(e))return t;for(var n=0;e.groupIndices[n]<=t+n;)n++;return t+n}function nt(t){return!R(t.groupOffsetTree)}var ot={offsetHeight:"height",offsetWidth:"width"},rt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0].log,o=t[1].recalcInProgress,r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),a=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(i,0),l=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),s=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),m=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream([]),d=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(void 0),f=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(void 0),p=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(function(t,e){return w(t,ot[e])}),g=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(void 0),v=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),S={offsetTree:[],sizeTree:L(),groupOffsetTree:L(),lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},C=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(r,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(m,n,v),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(Q,S),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),S);_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(m,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return t.length>0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(C,v),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t[0],n=t[1],o=t[2],r=e.reduce(function(t,e,r){return z(t,e,X(e,n.offsetTree,o)||r)},L());return c({},n,{groupIndices:e,groupOffsetTree:r})})),C),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(i,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(C),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return t[0]<t[1].lastIndex}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t[1];return[{startIndex:t[0],endIndex:e.lastIndex,size:e.lastSize}]})),r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(d,f);var I=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(d,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return void 0===t})),!0);_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(f,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return void 0!==t&&R(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(C).sizeTree)}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return[{startIndex:0,endIndex:0,size:t}]})),r);var T=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(r,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(C),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(t,e){var n=e[1];return{changed:n!==t.sizes,sizes:n}},{changed:!1,sizes:S}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.changed})));_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(u,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(t,e){return{diff:t.prev-e,prev:e}},{diff:0,prev:0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.diff})),function(t){t>0?(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(o,!0),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(l,t)):t<0&&_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(s,t)}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(u,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(n)),function(t){t[0]<0&&(0,t[1])("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:u},h.ERROR)});var x=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(l);_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(l,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(C),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t[0],n=t[1];if(n.groupIndices.length>0)throw new Error("Virtuoso: prepending items does not work with groups");return P(n.sizeTree).reduce(function(t,n){var o=n.k,r=n.v;return{ranges:[].concat(t.ranges,[{startIndex:t.prevIndex,endIndex:o+e-1,size:t.prevSize}]),prevIndex:o+e,prevSize:r}},{ranges:[],prevIndex:0,prevSize:n.lastSize}).ranges})),r);var b=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(s,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(C,v),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return X(-t[0],t[1].offsetTree,t[2])})));return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(s,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(C,v),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t[0],n=t[1],o=t[2];if(n.groupIndices.length>0)throw new Error("Virtuoso: shifting items does not work with groups");var r=P(n.sizeTree).reduce(function(t,n){var o=n.v;return z(t,Math.max(0,n.k+e),o)},L());return c({},n,{sizeTree:r},$(n.offsetTree,0,r,o))})),C),{data:g,totalCount:i,sizeRanges:r,groupIndices:m,defaultItemSize:f,fixedItemSize:d,unshiftWith:l,shiftWith:s,shiftWithOffset:b,beforeUnshiftWith:x,firstItemIndex:u,gap:v,sizes:C,listRefresh:T,statefulTotalCount:a,trackItemSizes:I,itemSize:p}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(S,K),{singleton:!0}),it="undefined"!=typeof document&&"scrollBehavior"in document.documentElement.style;function at(t){var e="number"==typeof t?{index:t}:t;return e.align||(e.align="start"),e.behavior&&it||(e.behavior="auto"),e.offset||(e.offset=0),e}var lt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=n.sizes,r=n.totalCount,i=n.listRefresh,a=n.gap,l=t[1],s=l.scrollingInProgress,u=l.viewportHeight,c=l.scrollTo,m=l.smoothScrollTargetReached,d=l.headerHeight,f=l.footerHeight,p=l.fixedHeaderHeight,g=l.fixedFooterHeight,v=t[2].log,S=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),C=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),I=null,T=null,w=null;function x(){I&&(I(),I=null),w&&(w(),w=null),T&&(clearTimeout(T),T=null),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(s,!1)}return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(S,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(o,u,r,C,d,f,v),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(a,p,g),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var n=t[0],o=n[0],r=n[1],a=n[2],l=n[3],u=n[4],c=n[5],d=n[6],f=n[7],p=t[1],g=t[2],v=t[3],C=at(o),b=C.align,y=C.behavior,H=C.offset,E=l-1,R=tt(C,r,E),L=X(R,r.offsetTree,p)+c;"end"===b?(L+=g+k(r.sizeTree,R)[1]-a+v,R===E&&(L+=d)):"center"===b?L+=(g+k(r.sizeTree,R)[1]-a+v)/2:L-=u,H&&(L+=H);var F=function(t){x(),t?(f("retrying to scroll to",{location:o},h.DEBUG),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(S,o)):f("list did not change, scroll successful",{},h.DEBUG)};if(x(),"smooth"===y){var z=!1;w=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(i,function(t){z=z||t}),I=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.handleNext(m,function(){F(z)})}else I=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.handleNext(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(i,function(t){var e=setTimeout(function(){t(!1)},150);return function(n){n&&(t(!0),clearTimeout(e))}}),F);return T=setTimeout(function(){x()},1200),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(s,!0),f("scrolling from index to",{index:R,top:L,behavior:y},h.DEBUG),{top:L,behavior:y}})),c),{scrollToIndex:S,topListHeight:C}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(rt,y,S),{singleton:!0}),st="up",ut={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},ct=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=n.scrollContainerState,r=n.scrollTop,i=n.viewportHeight,a=n.headerHeight,l=n.footerHeight,s=n.scrollBy,u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1),c=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!0),m=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),d=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),f=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(4),p=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),h=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.merge(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.skip(1),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo(!0)),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.skip(1),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo(!1),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.debounceTime(100))),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),!1),g=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.merge(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(s,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo(!0)),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(s,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo(!1),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.debounceTime(200))),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),!1);_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(p)),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t[0]<=t[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),c),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(c,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.throttleTime(50)),d);var v=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(a),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(l),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(f)),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(t,e){var n,o,r=e[0],i=r.scrollTop,a=r.scrollHeight,l=e[1],s={viewportHeight:l,scrollTop:i,scrollHeight:a};return i+l-a>-e[4]?(i>t.state.scrollTop?(n="SCROLLED_DOWN",o=t.state.scrollTop-i):(n="SIZE_DECREASED",o=t.state.scrollTop-i||t.scrollTopDelta),{atBottom:!0,state:s,atBottomBecause:n,scrollTopDelta:o}):{atBottom:!1,notAtBottomBecause:s.scrollHeight>t.state.scrollHeight?"SIZE_INCREASED":l<t.state.viewportHeight?"VIEWPORT_HEIGHT_DECREASING":i<t.state.scrollTop?"SCROLLING_UPWARDS":"NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM",state:s}},ut),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(function(t,e){return t&&t.atBottom===e.atBottom}))),S=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(t,e){var n=e.scrollTop,o=e.scrollHeight,r=e.viewportHeight;return x(t.scrollHeight,o)?{scrollTop:n,scrollHeight:o,jump:0,changed:!1}:t.scrollTop!==n&&o-(n+r)<1?{scrollHeight:o,scrollTop:n,jump:t.scrollTop-n,changed:!0}:{scrollHeight:o,scrollTop:n,jump:0,changed:!0}},{scrollHeight:0,jump:0,scrollTop:0,changed:!1}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return t.changed}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.jump})),0);_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(v,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.atBottom})),u),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(u,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.throttleTime(50)),m);var C=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream("down");_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.scrollTop}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(t,n){return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(g)?{direction:t.direction,prevScrollTop:n}:{direction:n<t.prevScrollTop?st:"down",prevScrollTop:n}},{direction:"down",prevScrollTop:0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.direction})),C),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.throttleTime(50),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo("none")),C);var I=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(h,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return!t}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo(0)),I),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(r,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.throttleTime(100),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(h),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return!!t[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(t,e){return[t[1],e[0]]},[0,0]),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t[1]-t[0]})),I),{isScrolling:h,isAtTop:c,isAtBottom:u,atBottomState:v,atTopStateChange:d,atBottomStateChange:m,scrollDirection:C,atBottomThreshold:f,atTopThreshold:p,scrollVelocity:I,lastJumpDueToItemResize:S}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(y)),mt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0].log,o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1),r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return t}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()));return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(o,function(t){t&&_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(n)("props updated",{},h.DEBUG)}),{propsReady:o,didMount:r}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(S),{singleton:!0}),dt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=n.sizes,r=n.listRefresh,i=n.defaultItemSize,a=t[1].scrollTop,l=t[2].scrollToIndex,s=t[3].didMount,u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!0),c=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(s,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(c),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return!!t[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo(!1)),u),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(r,s),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(u,o,i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){var e=t[1],n=t[3];return t[0][1]&&(!R(t[2].sizeTree)||void 0!==n)&&!e}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(c)),function(t){var n=t[1];setTimeout(function(){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.handleNext(a,function(){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(u,!0)}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(l,n)})}),{scrolledToInitialItem:u,initialTopMostItemIndex:c}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(rt,y,lt,mt),{singleton:!0});function ft(t){return!!t&&("smooth"===t?"smooth":"auto")}var pt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=n.totalCount,r=n.listRefresh,i=t[1],a=i.isAtBottom,l=i.atBottomState,s=t[2].scrollToIndex,u=t[3].scrolledToInitialItem,c=t[4],m=c.propsReady,d=c.didMount,f=t[5].log,p=t[6].scrollingInProgress,g=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1),v=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),S=null;function C(t){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(s,{index:"LAST",align:"end",behavior:t})}function I(t){var n=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.handleNext(l,function(n){!t||n.atBottom||"SIZE_INCREASED"!==n.notAtBottomBecause||S||(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(f)("scrolling to bottom due to increased size",{},h.DEBUG),C("auto"))});setTimeout(n,100)}return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(o),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.skip(1)),d),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(g),a,u,p),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t[0],n=e[0],o=e[1]&&t[3],r="auto";return o&&(r=function(t,e){return"function"==typeof t?ft(t(e)):e&&ft(t)}(t[1],t[2]||t[4]),o=o&&!!r),{totalCount:n,shouldFollow:o,followOutputBehavior:r}}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return t.shouldFollow})),function(t){var n=t.totalCount,o=t.followOutputBehavior;S&&(S(),S=null),S=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.handleNext(r,function(){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(f)("following output to ",{totalCount:n},h.DEBUG),C(o),S=null})}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(g),o,m),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return t[0]&&t[2]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(t,e){var n=e[1];return{refreshed:t.value===n,value:n}},{refreshed:!1,value:0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return t.refreshed}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(g,o)),function(t){I(!1!==t[1])}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(v,function(){I(!1!==_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(g))}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(g),l),function(t){var e=t[1];t[0]&&!e.atBottom&&"VIEWPORT_HEIGHT_DECREASING"===e.notAtBottomBecause&&C("auto")}),{followOutput:g,autoscrollToBottom:v}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(rt,ct,lt,dt,mt,S,y));function ht(t){return t.reduce(function(t,e){return t.groupIndices.push(t.totalCount),t.totalCount+=e+1,t},{totalCount:0,groupIndices:[]})}var gt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=n.totalCount,r=n.groupIndices,i=n.sizes,a=t[1],l=a.scrollTop,s=a.headerHeight,u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),c=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),m=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(u,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(ht)));return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(m,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.totalCount})),o),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(m,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.groupIndices})),r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(l,i,s),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return nt(t[1])}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return k(t[1].groupOffsetTree,Math.max(t[0]-t[2],0),"v")[0]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return[t]})),c),{groupCounts:u,topItemsIndexes:c}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(rt,y));function vt(t,e){return!(!t||t[0]!==e[0]||t[1]!==e[1])}function St(t,e){return!(!t||t.startIndex!==e.startIndex||t.endIndex!==e.endIndex)}function Ct(t,e,n){return"number"==typeof t?n===st&&"top"===e||"down"===n&&"bottom"===e?t:0:n===st?"top"===e?t.main:t.reverse:"bottom"===e?t.main:t.reverse}function It(t,e){return"number"==typeof t?t:t[e]||0}var Tt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=n.scrollTop,r=n.viewportHeight,i=n.deviation,a=n.headerHeight,l=n.fixedHeaderHeight,s=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),c=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),m=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),d=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(o),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(a),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(s,vt),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(m),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(u),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(l),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(c)),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t[0],n=t[1],o=t[2],r=t[3],i=r[0],a=r[1],l=t[4],s=t[6],u=t[7],c=t[8],m=e-u,d=t[5]+s,f=Math.max(o-m,0),p="none",h=It(c,"top"),g=It(c,"bottom");return i-=u,a+=o+s,(i+=o+s)>e+d-h&&(p=st),(a-=u)<e-f+n+g&&(p="down"),"none"!==p?[Math.max(m-o-Ct(l,"top",p)-h,0),m-f-s+n+Ct(l,"bottom",p)+g]:null}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return null!=t}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(vt)),[0,0]);return{listBoundary:s,overscan:m,topListHeight:u,increaseViewportBy:c,visibleRange:d}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(y),{singleton:!0}),wt={items:[],topItems:[],offsetTop:0,offsetBottom:0,top:0,bottom:0,topListHeight:0,totalCount:0,firstItemIndex:0};function xt(t,e,n){if(0===t.length)return[];if(!nt(e))return t.map(function(t){return c({},t,{index:t.index+n,originalIndex:t.index})});for(var o,r=[],i=A(e.groupOffsetTree,t[0].index,t[t.length-1].index),a=void 0,l=0,s=f(t);!(o=s()).done;){var u=o.value;(!a||a.end<u.index)&&(a=i.shift(),l=e.groupIndices.indexOf(a.start)),r.push(c({},u.index===a.start?{type:"group",index:l}:{index:u.index-(l+1)+n,groupIndex:l},{size:u.size,offset:u.offset,originalIndex:u.index,data:u.data}))}return r}function bt(t,e,n,o,r,i){var a=0,l=0;if(t.length>0){a=t[0].offset;var s=t[t.length-1];l=s.offset+s.size}var u=n-r.lastIndex,c=a,m=r.lastOffset+u*r.lastSize+(u-1)*o-l;return{items:xt(t,r,i),topItems:xt(e,r,i),topListHeight:e.reduce(function(t,e){return e.size+t},0),offsetTop:a,offsetBottom:m,top:c,bottom:l,totalCount:n,firstItemIndex:i}}var yt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=n.sizes,r=n.totalCount,i=n.data,a=n.firstItemIndex,l=n.gap,s=t[1],u=t[2],m=u.visibleRange,d=u.listBoundary,p=u.topListHeight,h=t[3],g=h.scrolledToInitialItem,v=h.initialTopMostItemIndex,S=t[4].topListHeight,C=t[5],I=t[6].didMount,T=t[7].recalcInProgress,w=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream([]),x=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream();_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(s.topItemsIndexes,w);var b=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(I,T,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(m,vt),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(o),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(v),g,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(w),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(a),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(l),i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return t[0]&&!t[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var n=t[2],o=n[0],r=n[1],i=t[3],a=t[5],l=t[6],s=t[7],u=t[8],m=t[9],d=t[10],p=t[4],h=p.sizeTree,g=p.offsetTree;if(0===i||0===o&&0===r)return c({},wt,{totalCount:i});if(R(h))return bt(function(t,e,n){if(nt(e)){var o=et(t,e);return[{index:k(e.groupOffsetTree,o)[0],size:0,offset:0},{index:o,size:0,offset:0,data:n&&n[0]}]}return[{index:t,size:0,offset:0,data:n&&n[0]}]}(function(t,e){return"number"==typeof t?t:"LAST"===t.index?e-1:t.index}(a,i),p,d),[],i,m,p,u);var v=[];if(s.length>0)for(var S,C=s[0],I=s[s.length-1],T=0,w=f(A(h,C,I));!(S=w()).done;)for(var x=S.value,b=x.value,y=Math.max(x.start,C),H=Math.min(x.end,I),E=y;E<=H;E++)v.push({index:E,size:b,offset:T,data:d&&d[E]}),T+=b;if(!l)return bt([],v,i,m,p,u);var L=s.length>0?s[s.length-1]+1:0,F=function(t,e,n,o){return void 0===o&&(o=0),o>0&&(e=Math.max(e,j(t,o,q).offset)),N((i=n,l=_(r=t,e,a=Z),s=_(r,i,a,l),r.slice(l,s+1)),J);var r,i,a,l,s}(g,o,r,L);if(0===F.length)return null;var z=i-1;return bt(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tap([],function(t){for(var e,n=f(F);!(e=n()).done;){var i=e.value,a=i.value,l=a.offset,s=i.start,u=a.size;if(a.offset<o){var c=(s+=Math.floor((o-a.offset+m)/(u+m)))-i.start;l+=c*u+c*m}s<L&&(l+=(L-s)*u,s=L);for(var p=Math.min(i.end,z),h=s;h<=p&&!(l>=r);h++)t.push({index:h,size:u,offset:l,data:d&&d[h]}),l+=u+m}}),v,i,m,p,u)}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return null!==t}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),wt);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(i,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return void 0!==t}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.length})),r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(b,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.topListHeight})),S),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(S,p),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(b,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return[t.top,t.bottom]})),d),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(b,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.items})),x),c({listState:b,topItemsIndexes:w,endReached:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(b,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return t.items.length>0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(r,i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){var e=t[0].items;return e[e.length-1].originalIndex===t[1]-1}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return[t[1]-1,t[2]]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(vt),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t[0]}))),startReached:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(b,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.throttleTime(200),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){var e=t.items;return e.length>0&&e[0].originalIndex===t.topItems.length}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.items[0].index}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged())),rangeChanged:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(b,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return t.items.length>0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){for(var e=t.items,n=0,o=e.length-1;"group"===e[n].type&&n<o;)n++;for(;"group"===e[o].type&&o>n;)o--;return{startIndex:e[n].index,endIndex:e[o].index}}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(St))),itemsRendered:x},C)},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(rt,gt,Tt,dt,lt,ct,mt,K),{singleton:!0}),Ht=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=n.sizes,r=n.firstItemIndex,i=n.data,a=n.gap,l=t[1].listState,s=t[2].didMount,u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(s,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(u),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return 0!==t[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(o,r,a,i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t[0][1],n=t[1],o=t[2],r=t[3],i=t[4],a=void 0===i?[]:i,l=0;if(n.groupIndices.length>0)for(var s,u=f(n.groupIndices);!((s=u()).done||s.value-l>=e);)l++;var c=e+l;return bt(Array.from({length:c}).map(function(t,e){return{index:e,size:0,offset:0,data:a[e]}}),[],c,r,n,o)})),l),{initialItemCount:u}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(rt,yt,mt),{singleton:!0}),Et=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0].scrollVelocity,o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1),r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(n,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(i,o,r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return!!t[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t[0],n=t[1],o=t[2],r=t[3],i=n.enter;if(o){if((0,n.exit)(e,r))return!1}else if(i(e,r))return!0;return o}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),o),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(o,n,r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(i)),function(t){var e=t[0],n=t[1];return e[0]&&n&&n.change&&n.change(e[1],e[2])}),{isSeeking:o,scrollSeekConfiguration:i,scrollVelocity:n,scrollSeekRangeChanged:r}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(ct),{singleton:!0}),Rt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0].topItemsIndexes,o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return t>0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return Array.from({length:t}).map(function(t,e){return e})})),n),{topItemCount:o}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(yt)),Lt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=n.footerHeight,r=n.headerHeight,i=n.fixedHeaderHeight,a=n.fixedFooterHeight,l=t[1].listState,s=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(o,a,r,i,l),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t[4];return t[0]+t[1]+t[2]+t[3]+e.offsetBottom+e.bottom})),0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(u),s),{totalListHeight:u,totalListHeightChanged:s}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(y,yt),{singleton:!0});function Ft(t){var e,n=!1;return function(){return n||(n=!0,e=t()),e}}var kt=Ft(function(){return/iP(ad|od|hone)/i.test(navigator.userAgent)&&/WebKit/i.test(navigator.userAgent)}),zt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=n.scrollBy,r=n.scrollTop,i=n.deviation,a=n.scrollingInProgress,l=t[1],s=l.isScrolling,u=l.isAtBottom,c=l.scrollDirection,m=t[3],d=m.beforeUnshiftWith,f=m.shiftWithOffset,p=m.sizes,g=m.gap,v=t[4].log,S=t[5].recalcInProgress,C=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(t[2].listState,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(l.lastJumpDueToItemResize),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.scan(function(t,e){var n=t[1],o=e[0],r=o.items,i=o.totalCount,a=o.bottom+o.offsetBottom,l=0;return t[2]===i&&n.length>0&&r.length>0&&(0===r[0].originalIndex&&0===n[0].originalIndex||0!=(l=a-t[3])&&(l+=e[1])),[l,r,i,a]},[0,[],0,0]),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return 0!==t[0]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(r,c,a,u,v),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return!t[3]&&0!==t[1]&&t[2]===st}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t[0][0];return(0,t[5])("Upward scrolling compensation",{amount:e},h.DEBUG),e})));function I(t){t>0?(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(o,{top:-t,behavior:"auto"}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(i,0)):(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(i,0),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(o,{top:-t,behavior:"auto"}))}return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(C,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(i,s)),function(t){var n=t[0],o=t[1];t[2]&&kt()?_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(i,o-n):I(-n)}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(s,!1),i,S),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return!t[0]&&!t[2]&&0!==t[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.throttleTime(1)),I),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(f,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return{top:-t}})),o),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(d,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(p,g),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t[0];return e*t[1].lastSize+e*t[2]})),function(t){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(i,t),requestAnimationFrame(function(){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(o,{top:t}),requestAnimationFrame(function(){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(i,0),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(S,!1)})})}),{deviation:i}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(y,ct,yt,rt,S,K)),Bt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0].totalListHeight,o=t[1].didMount,r=t[2].scrollTo,i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return 0!==t[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return{top:t[1]}})),function(t){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.handleNext(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(n,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return 0!==t})),function(){setTimeout(function(){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(r,t)})})}),{initialScrollTop:i}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(Lt,mt,y),{singleton:!0}),Pt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0].viewportHeight,o=t[1].totalListHeight,r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1);return{alignToBottom:r,paddingTopAddition:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(r,n,o),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return t[0]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return Math.max(0,t[1]-t[2])}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),0)}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(y,Lt),{singleton:!0}),Ot=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=n.scrollTo,r=n.scrollContainerState,i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),a=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),l=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),s=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(!1),u=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(void 0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(i,a),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t[0],n=e.viewportHeight,o=e.scrollHeight;return{scrollTop:Math.max(0,e.scrollTop-t[1].offsetTop),scrollHeight:o,viewportHeight:n}})),r),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(o,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(a),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t[0];return c({},e,{top:e.top+t[1].offsetTop})})),l),{useWindowScroll:s,customScrollParent:u,windowScrollContainerState:i,windowViewportRect:a,windowScrollTo:l}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(y)),Mt=["done","behavior","align"],Wt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=n.sizes,r=n.totalCount,i=n.gap,a=t[1],l=a.scrollTop,s=a.viewportHeight,u=a.headerHeight,d=a.fixedHeaderHeight,f=a.fixedFooterHeight,p=a.scrollingInProgress,h=t[2].scrollToIndex,g=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream();return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(g,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(o,s,r,u,d,f,l),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(i),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var n=t[0],o=n[0],r=n[1],i=n[2],a=n[3],l=n[4],s=n[5],u=n[6],d=n[7],f=t[1],h=o.done,g=o.behavior,v=o.align,S=m(o,Mt),C=null,I=tt(o,r,a-1),T=X(I,r.offsetTree,f)+l+s;return T<d+s?C=c({},S,{behavior:g,align:null!=v?v:"start"}):T+k(r.sizeTree,I)[1]>d+i-u&&(C=c({},S,{behavior:g,align:null!=v?v:"end"})),C?h&&_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.handleNext(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(p,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.skip(1),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return!1===t})),h):h&&h(),C}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return null!==t})),h),{scrollIntoView:g}},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(rt,y,lt,yt,S),{singleton:!0}),Vt=["listState","topItemsIndexes"],Ut=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){return c({},t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8])},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(Tt,Ht,mt,Et,Lt,Bt,Pt,Ot,Wt)),At=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=n.totalCount,r=n.sizeRanges,i=n.fixedItemSize,a=n.defaultItemSize,l=n.trackItemSizes,s=n.itemSize,u=n.data,d=n.firstItemIndex,f=n.groupIndices,p=n.statefulTotalCount,h=n.gap,g=t[1],v=g.initialTopMostItemIndex,S=g.scrolledToInitialItem,C=t[2],I=t[3],T=t[4],w=T.listState,x=T.topItemsIndexes,b=m(T,Vt),y=t[5].scrollToIndex,H=t[7].topItemCount,E=t[8].groupCounts,R=t[9],L=t[10];return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(b.rangeChanged,R.scrollSeekRangeChanged),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(R.windowViewportRect,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.visibleHeight})),C.viewportHeight),c({totalCount:o,data:u,firstItemIndex:d,sizeRanges:r,initialTopMostItemIndex:v,scrolledToInitialItem:S,topItemsIndexes:x,topItemCount:H,groupCounts:E,fixedItemHeight:i,defaultItemHeight:a,gap:h},I,{statefulTotalCount:p,listState:w,scrollToIndex:y,trackItemSizes:l,itemSize:s,groupIndices:f},b,R,C,L)},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(rt,dt,y,pt,yt,lt,zt,Rt,gt,Ut,S)),Nt=Ft(function(){if("undefined"==typeof document)return"sticky";var t=document.createElement("div");return t.style.position="-webkit-sticky","-webkit-sticky"===t.style.position?"-webkit-sticky":"sticky"});function Dt(t,e){var n=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(o){if(null!==o&&o.offsetParent){var r,i,a=o.getBoundingClientRect(),l=a.width;if(e){var s=e.getBoundingClientRect(),u=a.top-s.top;r=s.height-Math.max(0,u),i=u+e.scrollTop}else r=window.innerHeight-Math.max(0,a.top),i=a.top+window.pageYOffset;n.current={offsetTop:i,visibleHeight:r,visibleWidth:l},t(n.current)}},[t,e]),l=C(o),s=l.callbackRef,u=l.ref,c=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(){o(u.current)},[o,u]);return (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function(){if(e){e.addEventListener("scroll",c);var t=new ResizeObserver(c);return t.observe(e),function(){e.removeEventListener("scroll",c),t.unobserve(e)}}return window.addEventListener("scroll",c),window.addEventListener("resize",c),function(){window.removeEventListener("scroll",c),window.removeEventListener("resize",c)}},[c,e]),s}var Gt=react__WEBPACK_IMPORTED_MODULE_0__.createContext(void 0),_t=react__WEBPACK_IMPORTED_MODULE_0__.createContext(void 0),jt=["placeholder"],Kt=["style","children"],Yt=["style","children"];function qt(t){return t}var Zt=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(){var t=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(function(t){return"Item "+t}),n=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(null),o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(function(t){return"Group "+t}),r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream({}),i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(qt),a=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream("div"),l=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.noop),s=function(t,n){return void 0===n&&(n=null),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(r,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e[t]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),n)};return{context:n,itemContent:t,groupContent:o,components:r,computeItemKey:i,headerFooterTag:a,scrollerRef:l,FooterComponent:s("Footer"),HeaderComponent:s("Header"),TopItemListComponent:s("TopItemList"),ListComponent:s("List","div"),ItemComponent:s("Item","div"),GroupComponent:s("Group","div"),ScrollerComponent:s("Scroller","div"),EmptyPlaceholder:s("EmptyPlaceholder"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder")}});function Jt(t,n){var o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream();return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(o,function(){return console.warn("react-virtuoso: You are using a deprecated property. "+n,"color: red;","color: inherit;","color: blue;")}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(o,t),o}var $t=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=t[1],r={item:Jt(o.itemContent,"Rename the %citem%c prop to %citemContent."),group:Jt(o.groupContent,"Rename the %cgroup%c prop to %cgroupContent."),topItems:Jt(n.topItemCount,"Rename the %ctopItems%c prop to %ctopItemCount."),itemHeight:Jt(n.fixedItemHeight,"Rename the %citemHeight%c prop to %cfixedItemHeight."),scrollingStateChange:Jt(n.isScrolling,"Rename the %cscrollingStateChange%c prop to %cisScrolling."),adjustForPrependedItems:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),maxHeightCacheSize:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),footer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),header:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),HeaderContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),FooterContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),ItemContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),ScrollContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),GroupContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),ListContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),emptyComponent:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),scrollSeek:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream()};function i(t,n,r){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(t,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(o.components),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e,o=t[0],i=t[1];return console.warn("react-virtuoso: "+r+" property is deprecated. Pass components."+n+" instead."),c({},i,((e={})[n]=o,e))})),o.components)}return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(r.adjustForPrependedItems,function(){console.warn("react-virtuoso: adjustForPrependedItems is no longer supported. Use the firstItemIndex property instead - https://virtuoso.dev/prepend-items.","color: red;","color: inherit;","color: blue;")}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(r.maxHeightCacheSize,function(){console.warn("react-virtuoso: maxHeightCacheSize is no longer necessary. Setting it has no effect - remove it from your code.")}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(r.HeaderContainer,function(){console.warn("react-virtuoso: HeaderContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the header component and pass components.Header to change its contents.")}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(r.FooterContainer,function(){console.warn("react-virtuoso: FooterContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the footer component and pass components.Footer to change its contents.")}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(r.scrollSeek,function(t){var r=t.placeholder,i=m(t,jt);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(o.components,c({},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(o.components),{ScrollSeekPlaceholder:r})),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(n.scrollSeekConfiguration,i)}),i(r.footer,"Footer","footer"),i(r.header,"Header","header"),i(r.ItemContainer,"Item","ItemContainer"),i(r.ListContainer,"List","ListContainer"),i(r.ScrollContainer,"Scroller","ScrollContainer"),i(r.emptyComponent,"EmptyPlaceholder","emptyComponent"),i(r.GroupContainer,"Group","GroupContainer"),c({},n,o,r)},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(At,Zt)),Qt=function(t){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{style:{height:t.height}})},Xt={position:Nt(),zIndex:1,overflowAnchor:"none"},te={overflowAnchor:"none"},ee=react__WEBPACK_IMPORTED_MODULE_0__.memo(function(t){var o=t.showTopList,r=void 0!==o&&o,i=ge("listState"),a=he("sizeRanges"),s=ge("useWindowScroll"),u=ge("customScrollParent"),m=he("windowScrollContainerState"),d=he("scrollContainerState"),f=u||s?m:d,p=ge("itemContent"),h=ge("context"),g=ge("groupContent"),v=ge("trackItemSizes"),S=ge("itemSize"),C=ge("log"),I=he("gap"),w=T(a,S,v,r?_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.noop:f,C,I,u).callbackRef,x=react__WEBPACK_IMPORTED_MODULE_0__.useState(0),b=x[0],y=x[1];ve("deviation",function(t){b!==t&&y(t)});var H=ge("EmptyPlaceholder"),E=ge("ScrollSeekPlaceholder")||Qt,R=ge("ListComponent"),L=ge("ItemComponent"),F=ge("GroupComponent"),k=ge("computeItemKey"),z=ge("isSeeking"),B=ge("groupIndices").length>0,P=ge("paddingTopAddition"),O=r?{}:{boxSizing:"border-box",paddingTop:i.offsetTop+P,paddingBottom:i.offsetBottom,marginTop:b};return!r&&0===i.totalCount&&H?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(H,ie(H,h)):(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(R,c({},ie(R,h),{ref:w,style:O,"data-test-id":r?"virtuoso-top-item-list":"virtuoso-item-list"}),(r?i.topItems:i.items).map(function(t){var e=t.originalIndex,n=k(e+i.firstItemIndex,t.data,h);return z?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(E,c({},ie(E,h),{key:n,index:t.index,height:t.size,type:t.type||"item"},"group"===t.type?{}:{groupIndex:t.groupIndex})):"group"===t.type?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(F,c({},ie(F,h),{key:n,"data-index":e,"data-known-size":t.size,"data-item-index":t.index,style:Xt}),g(t.index)):(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(L,c({},ie(L,h),{key:n,"data-index":e,"data-known-size":t.size,"data-item-index":t.index,"data-item-group-index":t.groupIndex,style:te}),B?p(t.index,t.groupIndex,t.data,h):p(t.index,t.data,h))}))}),ne={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},oe={width:"100%",height:"100%",position:"absolute",top:0},re={width:"100%",position:Nt(),top:0};function ie(t,e){if("string"!=typeof t)return{context:e}}var ae=react__WEBPACK_IMPORTED_MODULE_0__.memo(function(){var t=ge("HeaderComponent"),e=he("headerHeight"),n=ge("headerFooterTag"),o=I(function(t){return e(w(t,"height"))}),r=ge("context");return t?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,{ref:o},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(t,ie(t,r))):null}),le=react__WEBPACK_IMPORTED_MODULE_0__.memo(function(){var t=ge("FooterComponent"),e=he("footerHeight"),n=ge("headerFooterTag"),o=I(function(t){return e(w(t,"height"))}),r=ge("context");return t?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,{ref:o},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(t,ie(t,r))):null});function se(t){var e=t.usePublisher,o=t.useEmitter,r=t.useEmitterValue;return react__WEBPACK_IMPORTED_MODULE_0__.memo(function(t){var n=t.style,i=t.children,a=m(t,Kt),s=e("scrollContainerState"),u=r("ScrollerComponent"),d=e("smoothScrollTargetReached"),f=r("scrollerRef"),p=r("context"),h=b(s,d,u,f),g=h.scrollerRef,v=h.scrollByCallback;return o("scrollTo",h.scrollToCallback),o("scrollBy",v),(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(u,c({ref:g,style:c({},ne,n),"data-test-id":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0},a,ie(u,p)),i)})}function ue(t){var o=t.usePublisher,r=t.useEmitter,i=t.useEmitterValue;return react__WEBPACK_IMPORTED_MODULE_0__.memo(function(t){var n=t.style,a=t.children,s=m(t,Yt),u=o("windowScrollContainerState"),d=i("ScrollerComponent"),f=o("smoothScrollTargetReached"),p=i("totalListHeight"),h=i("deviation"),v=i("customScrollParent"),S=i("context"),C=b(u,f,d,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.noop,v),I=C.scrollerRef,T=C.scrollByCallback,w=C.scrollToCallback;return g(function(){return I.current=v||window,function(){I.current=null}},[I,v]),r("windowScrollTo",w),r("scrollBy",T),(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(d,c({style:c({position:"relative"},n,0!==p?{height:p+h}:{}),"data-virtuoso-scroller":!0},s,ie(d,S)),a)})}var ce=function(t){var o=t.children,r=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Gt),i=he("viewportHeight"),a=he("fixedItemHeight"),l=I(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.compose(i,function(t){return w(t,"height")}));return react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function(){r&&(i(r.viewportHeight),a(r.itemHeight))},[r,i,a]),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{style:oe,ref:l,"data-viewport-type":"element"},o)},me=function(t){var e=t.children,o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Gt),r=he("windowViewportRect"),i=he("fixedItemHeight"),a=ge("customScrollParent"),l=Dt(r,a);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function(){o&&(i(o.itemHeight),r({offsetTop:0,visibleHeight:o.viewportHeight,visibleWidth:100}))},[o,r,i]),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{ref:l,style:oe,"data-viewport-type":"window"},e)},de=function(t){var e=t.children,n=ge("TopItemListComponent"),o=ge("headerHeight"),r=c({},re,{marginTop:o+"px"}),i=ge("context");return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(n||"div",{style:r,context:i},e)},fe=(0,_virtuoso_dev_react_urx__WEBPACK_IMPORTED_MODULE_3__.systemToComponent)($t,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering",item:"item",group:"group",topItems:"topItems",itemHeight:"itemHeight",scrollingStateChange:"scrollingStateChange",maxHeightCacheSize:"maxHeightCacheSize",footer:"footer",header:"header",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",GroupContainer:"GroupContainer",emptyComponent:"emptyComponent",HeaderContainer:"HeaderContainer",FooterContainer:"FooterContainer",scrollSeek:"scrollSeek"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",adjustForPrependedItems:"adjustForPrependedItems",autoscrollToBottom:"autoscrollToBottom"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},react__WEBPACK_IMPORTED_MODULE_0__.memo(function(t){var e=ge("useWindowScroll"),o=ge("topItemsIndexes").length>0,r=ge("customScrollParent"),i=r||e?me:ce;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(r||e?Ce:Se,c({},t),react__WEBPACK_IMPORTED_MODULE_0__.createElement(i,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(ae,null),react__WEBPACK_IMPORTED_MODULE_0__.createElement(ee,null),react__WEBPACK_IMPORTED_MODULE_0__.createElement(le,null)),o&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(de,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(ee,{showTopList:!0})))})),pe=fe.Component,he=fe.usePublisher,ge=fe.useEmitterValue,ve=fe.useEmitter,Se=se({usePublisher:he,useEmitterValue:ge,useEmitter:ve}),Ce=ue({usePublisher:he,useEmitterValue:ge,useEmitter:ve}),Ie={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},Te={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},we=Math.round,xe=Math.ceil,be=Math.floor,ye=Math.min,He=Math.max;function Ee(t,e,n){return Array.from({length:e-t+1}).map(function(e,o){return{index:o+t,data:null==n?void 0:n[o+t]}})}function Re(t,e){return t&&t.column===e.column&&t.row===e.row}var Le=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=n.overscan,r=n.visibleRange,i=n.listBoundary,a=t[1],l=a.scrollTop,s=a.viewportHeight,u=a.scrollBy,m=a.scrollTo,d=a.smoothScrollTargetReached,f=a.scrollContainerState,p=a.footerHeight,h=a.headerHeight,g=t[2],v=t[3],S=t[4],C=S.propsReady,I=S.didMount,T=t[5],w=T.windowViewportRect,x=T.windowScrollTo,b=T.useWindowScroll,y=T.customScrollParent,H=T.windowScrollContainerState,E=t[6],R=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),L=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),F=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(Ie),k=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream({height:0,width:0}),z=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream({height:0,width:0}),B=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),P=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),O=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(0),M=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(void 0),W=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream({row:0,column:0});_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(I,L,M),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return 0!==t[1]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return{items:Ee(0,t[1]-1,t[2]),top:0,bottom:0,offsetBottom:0,offsetTop:0,itemHeight:0,itemWidth:0}})),F),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(R),r,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(W,Re),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(z,function(t,e){return t&&t.width===e.width&&t.height===e.height}),M),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(k),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t[0],n=e[0],o=e[1],r=o[0],i=o[1],a=e[2],l=e[3],s=e[4],u=t[1],m=a.row,d=a.column,f=l.height,p=l.width,h=u.width;if(0===n||0===h)return Ie;if(0===p)return function(t){return c({},Te,{items:t})}(Ee(0,0,s));var g=ze(h,p,d),v=g*be((r+m)/(f+m)),S=g*xe((i+m)/(f+m))-1;S=ye(n-1,He(S,g-1));var C=Ee(v=ye(S,He(0,v)),S,s),I=Fe(u,a,l,C),T=I.top,w=I.bottom,x=xe(n/g);return{items:C,offsetTop:T,offsetBottom:x*f+(x-1)*m-w,top:T,bottom:w,itemHeight:f,itemWidth:p}})),F),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(M,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return void 0!==t}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.length})),R),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(k,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.height})),s),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.combineLatest(k,z,F,W),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=Fe(t[0],t[3],t[1],t[2].items);return[e.top,e.bottom]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(vt)),i);var V=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(F),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return t.items.length>0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(R),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){var e=t[0].items;return e[e.length-1].index===t[1]-1}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t[1]-1}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged())),U=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(F),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){var e=t.items;return e.length>0&&0===e[0].index}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.mapTo(0),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged())),A=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.streamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.duc(F),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.filter(function(t){return t.items.length>0}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t.items;return{startIndex:e[0].index,endIndex:e[e.length-1].index}}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged(St)));_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(A,v.scrollSeekRangeChanged),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(B,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(k,z,R,W),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e=t[1],n=t[2],o=t[3],r=t[4],i=at(t[0]),a=i.align,l=i.behavior,s=i.offset,u=i.index;"LAST"===u&&(u=o-1);var c=ke(e,r,n,u=He(0,u,ye(o-1,u)));return"end"===a?c=we(c-e.height+n.height):"center"===a&&(c=we(c-e.height/2+n.height/2)),s&&(c+=s),{top:c,behavior:l}})),m);var N=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(F,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return t.offsetBottom+t.bottom})),0);return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(w,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){return{width:t.visibleWidth,height:t.visibleHeight}})),k),c({data:M,totalCount:R,viewportDimensions:k,itemDimensions:z,scrollTop:l,scrollHeight:P,overscan:o,scrollBy:u,scrollTo:m,scrollToIndex:B,smoothScrollTargetReached:d,windowViewportRect:w,windowScrollTo:x,useWindowScroll:b,customScrollParent:y,windowScrollContainerState:H,deviation:O,scrollContainerState:f,footerHeight:p,headerHeight:h,initialItemCount:L,gap:W},v,{gridState:F,totalListHeight:N},g,{startReached:U,endReached:V,rangeChanged:A,propsReady:C},E)},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(Tt,y,ct,Et,mt,Ot,S));function Fe(t,e,n,o){var r=n.height;return void 0===r||0===o.length?{top:0,bottom:0}:{top:ke(t,e,n,o[0].index),bottom:ke(t,e,n,o[o.length-1].index)+r}}function ke(t,e,n,o){var r=ze(t.width,n.width,e.column),i=be(o/r),a=i*n.height+He(0,i-1)*e.row;return a>0?a+e.row:a}function ze(t,e,n){return He(1,be((t+n)/(e+n)))}var Be=["placeholder"],Pe=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(){var t=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(function(t){return"Item "+t}),n=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream({}),o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(null),r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream("virtuoso-grid-item"),i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream("virtuoso-grid-list"),a=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(qt),l=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream("div"),s=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.noop),u=function(t,o){return void 0===o&&(o=null),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(n,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e[t]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),o)};return{context:o,itemContent:t,components:n,computeItemKey:a,itemClassName:r,listClassName:i,headerFooterTag:l,scrollerRef:s,FooterComponent:u("Footer"),HeaderComponent:u("Header"),ListComponent:u("List","div"),ItemComponent:u("Item","div"),ScrollerComponent:u("Scroller","div"),ScrollSeekPlaceholder:u("ScrollSeekPlaceholder","div")}}),Oe=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){var n=t[0],o=t[1],r={item:Jt(o.itemContent,"Rename the %citem%c prop to %citemContent."),ItemContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),ScrollContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),ListContainer:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),emptyComponent:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream(),scrollSeek:_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.stream()};function i(t,n,r){_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.connect(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(t,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.withLatestFrom(o.components),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(t){var e,o=t[0],i=t[1];return console.warn("react-virtuoso: "+r+" property is deprecated. Pass components."+n+" instead."),c({},i,((e={})[n]=o,e))})),o.components)}return _virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.subscribe(r.scrollSeek,function(t){var r=t.placeholder,i=m(t,Be);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(o.components,c({},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.getValue(o.components),{ScrollSeekPlaceholder:r})),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.publish(n.scrollSeekConfiguration,i)}),i(r.ItemContainer,"Item","ItemContainer"),i(r.ListContainer,"List","ListContainer"),i(r.ScrollContainer,"Scroller","ScrollContainer"),c({},n,o,r)},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(Le,Pe)),Me=react__WEBPACK_IMPORTED_MODULE_0__.memo(function(){var t=_e("gridState"),e=_e("listClassName"),n=_e("itemClassName"),o=_e("itemContent"),r=_e("computeItemKey"),i=_e("isSeeking"),a=Ge("scrollHeight"),s=_e("ItemComponent"),u=_e("ListComponent"),m=_e("ScrollSeekPlaceholder"),d=_e("context"),f=Ge("itemDimensions"),p=Ge("gap"),h=_e("log"),g=I(function(t){a(t.parentElement.parentElement.scrollHeight);var e=t.firstChild;e&&f(e.getBoundingClientRect()),p({row:qe("row-gap",getComputedStyle(t).rowGap,h),column:qe("column-gap",getComputedStyle(t).columnGap,h)})});return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(u,c({ref:g,className:e},ie(u,d),{style:{paddingTop:t.offsetTop,paddingBottom:t.offsetBottom}}),t.items.map(function(e){var a=r(e.index,e.data,d);return i?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(m,c({key:a},ie(m,d),{index:e.index,height:t.itemHeight,width:t.itemWidth})):(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(s,c({},ie(s,d),{className:n,"data-index":e.index,key:a}),o(e.index,e.data,d))}))}),We=react__WEBPACK_IMPORTED_MODULE_0__.memo(function(){var t=_e("HeaderComponent"),e=Ge("headerHeight"),n=_e("headerFooterTag"),o=I(function(t){return e(w(t,"height"))}),r=_e("context");return t?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,{ref:o},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(t,ie(t,r))):null}),Ve=react__WEBPACK_IMPORTED_MODULE_0__.memo(function(){var t=_e("FooterComponent"),e=Ge("footerHeight"),n=_e("headerFooterTag"),o=I(function(t){return e(w(t,"height"))}),r=_e("context");return t?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,{ref:o},(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(t,ie(t,r))):null}),Ue=function(t){var e=t.children,o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_t),r=Ge("itemDimensions"),i=Ge("viewportDimensions"),a=I(function(t){i(t.getBoundingClientRect())});return react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function(){o&&(i({height:o.viewportHeight,width:o.viewportWidth}),r({height:o.itemHeight,width:o.itemWidth}))},[o,i,r]),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{style:oe,ref:a},e)},Ae=function(t){var e=t.children,o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_t),r=Ge("windowViewportRect"),i=Ge("itemDimensions"),a=_e("customScrollParent"),l=Dt(r,a);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function(){o&&(i({height:o.itemHeight,width:o.itemWidth}),r({offsetTop:0,visibleHeight:o.viewportHeight,visibleWidth:o.viewportWidth}))},[o,r,i]),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{ref:l,style:oe},e)},Ne=(0,_virtuoso_dev_react_urx__WEBPACK_IMPORTED_MODULE_3__.systemToComponent)(Oe,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",data:"data",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",item:"item",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",scrollSeek:"scrollSeek"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange"}},react__WEBPACK_IMPORTED_MODULE_0__.memo(function(t){var e=c({},t),o=_e("useWindowScroll"),r=_e("customScrollParent"),i=r||o?Ae:Ue;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(r||o?Ye:Ke,c({},e),react__WEBPACK_IMPORTED_MODULE_0__.createElement(i,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(We,null),react__WEBPACK_IMPORTED_MODULE_0__.createElement(Me,null),react__WEBPACK_IMPORTED_MODULE_0__.createElement(Ve,null)))})),De=Ne.Component,Ge=Ne.usePublisher,_e=Ne.useEmitterValue,je=Ne.useEmitter,Ke=se({usePublisher:Ge,useEmitterValue:_e,useEmitter:je}),Ye=ue({usePublisher:Ge,useEmitterValue:_e,useEmitter:je});function qe(t,e,n){return"normal"===e||null!=e&&e.endsWith("px")||n(t+" was not resolved to pixel value correctly",e,h.WARN),"normal"===e?0:parseInt(null!=e?e:"0",10)}var Ze=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(){var t=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(function(t){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("td",null,"Item $",t)}),o=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(null),r=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(null),i=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(null),a=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream({}),l=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(qt),s=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStream(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.noop),u=function(t,n){return void 0===n&&(n=null),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.statefulStreamFromEmitter(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.pipe(a,_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.map(function(e){return e[t]}),_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged()),n)};return{context:o,itemContent:t,fixedHeaderContent:r,fixedFooterContent:i,components:a,computeItemKey:l,scrollerRef:s,TableComponent:u("Table","table"),TableHeadComponent:u("TableHead","thead"),TableFooterComponent:u("TableFoot","tfoot"),TableBodyComponent:u("TableBody","tbody"),TableRowComponent:u("TableRow","tr"),ScrollerComponent:u("Scroller","div"),EmptyPlaceholder:u("EmptyPlaceholder"),ScrollSeekPlaceholder:u("ScrollSeekPlaceholder"),FillerRow:u("FillerRow")}}),Je=_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.system(function(t){return c({},t[0],t[1])},_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.tup(At,Ze)),$e=function(t){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("tr",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("td",{style:{height:t.height}}))},Qe=function(t){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("tr",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("td",{style:{height:t.height,padding:0,border:0}}))},Xe=react__WEBPACK_IMPORTED_MODULE_0__.memo(function(){var t=an("listState"),e=rn("sizeRanges"),o=an("useWindowScroll"),r=an("customScrollParent"),i=rn("windowScrollContainerState"),a=rn("scrollContainerState"),s=r||o?i:a,u=an("itemContent"),m=an("trackItemSizes"),d=T(e,an("itemSize"),m,s,an("log"),void 0,r),f=d.callbackRef,p=d.ref,h=react__WEBPACK_IMPORTED_MODULE_0__.useState(0),g=h[0],v=h[1];ln("deviation",function(t){g!==t&&(p.current.style.marginTop=t+"px",v(t))});var S=an("EmptyPlaceholder"),C=an("ScrollSeekPlaceholder")||$e,I=an("FillerRow")||Qe,w=an("TableBodyComponent"),x=an("TableRowComponent"),b=an("computeItemKey"),y=an("isSeeking"),H=an("paddingTopAddition"),E=an("firstItemIndex"),R=an("statefulTotalCount"),L=an("context");if(0===R&&S)return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(S,ie(S,L));var F=t.offsetTop+H+g,k=t.offsetBottom,z=F>0?react__WEBPACK_IMPORTED_MODULE_0__.createElement(I,{height:F,key:"padding-top"}):null,B=k>0?react__WEBPACK_IMPORTED_MODULE_0__.createElement(I,{height:k,key:"padding-bottom"}):null,P=t.items.map(function(t){var e=t.originalIndex,n=b(e+E,t.data,L);return y?(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(C,c({},ie(C,L),{key:n,index:t.index,height:t.size,type:t.type||"item"})):(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(x,c({},ie(x,L),{key:n,"data-index":e,"data-known-size":t.size,"data-item-index":t.index,style:{overflowAnchor:"none"}}),u(t.index,t.data,L))});return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(w,c({ref:f,"data-test-id":"virtuoso-item-list"},ie(w,L)),[z].concat(P,[B]))}),tn=function(t){var o=t.children,r=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Gt),i=rn("viewportHeight"),a=rn("fixedItemHeight"),l=I(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.compose(i,function(t){return w(t,"height")}));return react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function(){r&&(i(r.viewportHeight),a(r.itemHeight))},[r,i,a]),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{style:oe,ref:l,"data-viewport-type":"element"},o)},en=function(t){var e=t.children,o=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Gt),r=rn("windowViewportRect"),i=rn("fixedItemHeight"),a=an("customScrollParent"),l=Dt(r,a);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect(function(){o&&(i(o.itemHeight),r({offsetTop:0,visibleHeight:o.viewportHeight,visibleWidth:100}))},[o,r,i]),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{ref:l,style:oe,"data-viewport-type":"window"},e)},nn=(0,_virtuoso_dev_react_urx__WEBPACK_IMPORTED_MODULE_3__.systemToComponent)(Je,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},react__WEBPACK_IMPORTED_MODULE_0__.memo(function(t){var o=an("useWindowScroll"),r=an("customScrollParent"),i=rn("fixedHeaderHeight"),a=rn("fixedFooterHeight"),l=an("fixedHeaderContent"),s=an("fixedFooterContent"),u=an("context"),m=I(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.compose(i,function(t){return w(t,"height")})),d=I(_virtuoso_dev_urx__WEBPACK_IMPORTED_MODULE_2__.compose(a,function(t){return w(t,"height")})),f=r||o?un:sn,p=r||o?en:tn,h=an("TableComponent"),g=an("TableHeadComponent"),v=an("TableFooterComponent"),S=l?react__WEBPACK_IMPORTED_MODULE_0__.createElement(g,c({key:"TableHead",style:{zIndex:1,position:"sticky",top:0},ref:m},ie(g,u)),l()):null,C=s?react__WEBPACK_IMPORTED_MODULE_0__.createElement(v,c({key:"TableFoot",style:{zIndex:1,position:"sticky",bottom:0},ref:d},ie(v,u)),s()):null;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(f,c({},t),react__WEBPACK_IMPORTED_MODULE_0__.createElement(p,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(h,c({style:{borderSpacing:0}},ie(h,u)),[S,react__WEBPACK_IMPORTED_MODULE_0__.createElement(Xe,{key:"TableBody"}),C])))})),on=nn.Component,rn=nn.usePublisher,an=nn.useEmitterValue,ln=nn.useEmitter,sn=se({usePublisher:rn,useEmitterValue:an,useEmitter:ln}),un=ue({usePublisher:rn,useEmitterValue:an,useEmitter:ln}),cn=pe,mn=pe,dn=on,fn=De;
|
|
3735
3735
|
//# sourceMappingURL=index.m.js.map
|
|
3736
3736
|
|
|
3737
3737
|
|
|
@@ -4642,19 +4642,19 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
4642
4642
|
|
|
4643
4643
|
var Avatar = function (_a) {
|
|
4644
4644
|
var title = _a.title, _b = _a.size, size = _b === void 0 ? 'x36' : _b, _c = _a.rounded, rounded = _c === void 0 ? false : _c, _d = _a.objectFit, objectFit = _d === void 0 ? false : _d, url = _a.url, props = __rest(_a, ["title", "size", "rounded", "objectFit", "url"]);
|
|
4645
|
-
props.className = (0,_helpers_prependClassName__WEBPACK_IMPORTED_MODULE_2__.prependClassName)(props.className, ['rcx-box rcx-box--full rcx-avatar', size && "rcx-avatar--"
|
|
4645
|
+
props.className = (0,_helpers_prependClassName__WEBPACK_IMPORTED_MODULE_2__.prependClassName)(props.className, ['rcx-box rcx-box--full rcx-avatar', size && "rcx-avatar--".concat(size)]
|
|
4646
4646
|
.filter(Boolean)
|
|
4647
4647
|
.join(' '));
|
|
4648
4648
|
var innerClass = [
|
|
4649
4649
|
'rcx-avatar__element',
|
|
4650
4650
|
objectFit && 'rcx-avatar__element--object-fit',
|
|
4651
|
-
size && "rcx-avatar__element--"
|
|
4651
|
+
size && "rcx-avatar__element--".concat(size),
|
|
4652
4652
|
rounded && 'rcx-avatar__element--rounded',
|
|
4653
4653
|
]
|
|
4654
4654
|
.filter(Boolean)
|
|
4655
4655
|
.join(' ');
|
|
4656
4656
|
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("figure", __assign({ "aria-label": title }, props),
|
|
4657
|
-
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("img", { src: ""
|
|
4657
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("img", { src: "".concat(url), className: "".concat(innerClass) })));
|
|
4658
4658
|
};
|
|
4659
4659
|
var AvatarStack = function (_a) {
|
|
4660
4660
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
@@ -4723,9 +4723,9 @@ function Badge(_a) {
|
|
|
4723
4723
|
var _b = _a.is, Tag = _b === void 0 ? 'span' : _b, _c = _a.variant, variant = _c === void 0 ? 'secondary' : _c, small = _a.small, className = _a.className, disabled = _a.disabled, props = __rest(_a, ["is", "variant", "small", "className", "disabled"]);
|
|
4724
4724
|
var modifiers = [variant, small && 'small', disabled && 'disabled']
|
|
4725
4725
|
.filter(Boolean)
|
|
4726
|
-
.map(function (modifier) { return "rcx-badge--"
|
|
4726
|
+
.map(function (modifier) { return "rcx-badge--".concat(modifier); })
|
|
4727
4727
|
.join(' ');
|
|
4728
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Tag, __assign({ className: (0,_helpers_prependClassName__WEBPACK_IMPORTED_MODULE_1__.prependClassName)(className, "rcx-box rcx-box--full rcx-badge "
|
|
4728
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Tag, __assign({ className: (0,_helpers_prependClassName__WEBPACK_IMPORTED_MODULE_1__.prependClassName)(className, "rcx-box rcx-box--full rcx-badge ".concat(modifiers)) }, props)));
|
|
4729
4729
|
}
|
|
4730
4730
|
|
|
4731
4731
|
|
|
@@ -4820,7 +4820,7 @@ var Banner = function (_a) {
|
|
|
4820
4820
|
}
|
|
4821
4821
|
}, [onClose]);
|
|
4822
4822
|
return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement("section", __assign({ className: (0,_helpers_composeClassNames__WEBPACK_IMPORTED_MODULE_2__.composeClassNames)('rcx-banner')((_b = {}, _b[variant] = true, _b.inline = inline, _b.actionable = actionable, _b), className), ref: ref, role: 'banner', onClick: handleBannerClick }, props),
|
|
4823
|
-
icon && isIconVisible && (react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: (0,_helpers_composeClassNames__WEBPACK_IMPORTED_MODULE_2__.composeClassNames)("rcx-banner__icon rcx-banner__icon--"
|
|
4823
|
+
icon && isIconVisible && (react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: (0,_helpers_composeClassNames__WEBPACK_IMPORTED_MODULE_2__.composeClassNames)("rcx-banner__icon rcx-banner__icon--".concat(variant))({
|
|
4824
4824
|
inline: inline,
|
|
4825
4825
|
}) }, icon)),
|
|
4826
4826
|
react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", { className: (0,_helpers_composeClassNames__WEBPACK_IMPORTED_MODULE_2__.composeClassNames)('rcx-banner__content')({ inline: inline }) },
|
|
@@ -5352,10 +5352,10 @@ var useStylingProps = function (originalProps) {
|
|
|
5352
5352
|
|
|
5353
5353
|
/***/ }),
|
|
5354
5354
|
|
|
5355
|
-
/***/ "./src/components/Box/withBoxStyling.
|
|
5356
|
-
|
|
5357
|
-
!*** ./src/components/Box/withBoxStyling.
|
|
5358
|
-
|
|
5355
|
+
/***/ "./src/components/Box/withBoxStyling.tsx":
|
|
5356
|
+
/*!***********************************************!*\
|
|
5357
|
+
!*** ./src/components/Box/withBoxStyling.tsx ***!
|
|
5358
|
+
\***********************************************/
|
|
5359
5359
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5360
5360
|
|
|
5361
5361
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -5366,16 +5366,27 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5366
5366
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
5367
5367
|
/* harmony import */ var _hooks_useStyleSheet__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useStyleSheet */ "./src/hooks/useStyleSheet.ts");
|
|
5368
5368
|
/* harmony import */ var _useStylingProps__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useStylingProps */ "./src/components/Box/useStylingProps.ts");
|
|
5369
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
5370
|
+
__assign = Object.assign || function(t) {
|
|
5371
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5372
|
+
s = arguments[i];
|
|
5373
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
5374
|
+
t[p] = s[p];
|
|
5375
|
+
}
|
|
5376
|
+
return t;
|
|
5377
|
+
};
|
|
5378
|
+
return __assign.apply(this, arguments);
|
|
5379
|
+
};
|
|
5369
5380
|
|
|
5370
5381
|
|
|
5371
5382
|
|
|
5372
|
-
var withBoxStyling = function (
|
|
5383
|
+
var withBoxStyling = function (Component) {
|
|
5373
5384
|
var WithBoxStyling = function (props) {
|
|
5374
5385
|
(0,_hooks_useStyleSheet__WEBPACK_IMPORTED_MODULE_1__.useStyleSheet)();
|
|
5375
5386
|
var propsWithoutStylingProps = (0,_useStylingProps__WEBPACK_IMPORTED_MODULE_2__.useStylingProps)(props);
|
|
5376
|
-
return (
|
|
5387
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Component, __assign({}, propsWithoutStylingProps));
|
|
5377
5388
|
};
|
|
5378
|
-
WithBoxStyling.displayName = "WithBoxStyling("
|
|
5389
|
+
WithBoxStyling.displayName = "WithBoxStyling(".concat(Component.displayName || Component.name || 'Component', ")");
|
|
5379
5390
|
return WithBoxStyling;
|
|
5380
5391
|
};
|
|
5381
5392
|
|
|
@@ -5500,7 +5511,7 @@ var Button = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function Button(_
|
|
|
5500
5511
|
(secondary && 'secondary');
|
|
5501
5512
|
if (variant) {
|
|
5502
5513
|
return _a = {},
|
|
5503
|
-
_a["rcx-button--"
|
|
5514
|
+
_a["rcx-button--".concat([variant].filter(Boolean).join('-'))] = true,
|
|
5504
5515
|
_a;
|
|
5505
5516
|
}
|
|
5506
5517
|
return {};
|
|
@@ -5570,7 +5581,7 @@ var IconButton = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function (_a,
|
|
|
5570
5581
|
(secondary && 'secondary');
|
|
5571
5582
|
if (variant) {
|
|
5572
5583
|
return _a = {},
|
|
5573
|
-
_a["rcx-button--icon-"
|
|
5584
|
+
_a["rcx-button--icon-".concat([variant].filter(Boolean).join('-'))] = true,
|
|
5574
5585
|
_a;
|
|
5575
5586
|
}
|
|
5576
5587
|
return {};
|
|
@@ -5960,7 +5971,7 @@ Chip.displayName = 'Chip';
|
|
|
5960
5971
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
5961
5972
|
|
|
5962
5973
|
__webpack_require__.r(__webpack_exports__);
|
|
5963
|
-
/* harmony import */ var _Box_withBoxStyling__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Box/withBoxStyling */ "./src/components/Box/withBoxStyling.
|
|
5974
|
+
/* harmony import */ var _Box_withBoxStyling__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Box/withBoxStyling */ "./src/components/Box/withBoxStyling.tsx");
|
|
5964
5975
|
/* harmony import */ var _Chip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Chip */ "./src/components/Chip/Chip.tsx");
|
|
5965
5976
|
|
|
5966
5977
|
|
|
@@ -6986,10 +6997,14 @@ var __read = (undefined && undefined.__read) || function (o, n) {
|
|
|
6986
6997
|
}
|
|
6987
6998
|
return ar;
|
|
6988
6999
|
};
|
|
6989
|
-
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from) {
|
|
6990
|
-
for (var i = 0,
|
|
6991
|
-
|
|
6992
|
-
|
|
7000
|
+
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {
|
|
7001
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
7002
|
+
if (ar || !(i in from)) {
|
|
7003
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
7004
|
+
ar[i] = from[i];
|
|
7005
|
+
}
|
|
7006
|
+
}
|
|
7007
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
6993
7008
|
};
|
|
6994
7009
|
/* eslint-disable complexity */
|
|
6995
7010
|
|
|
@@ -7031,7 +7046,7 @@ var InputBox = (0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function InputB
|
|
|
7031
7046
|
}
|
|
7032
7047
|
return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.Wrapper, { className: __spreadArray([
|
|
7033
7048
|
props.disabled && 'disabled'
|
|
7034
|
-
], __read((Array.isArray(className) ? className : [className]))), hidden: hidden, invisible: invisible },
|
|
7049
|
+
], __read((Array.isArray(className) ? className : [className])), false), hidden: hidden, invisible: invisible },
|
|
7035
7050
|
react__WEBPACK_IMPORTED_MODULE_1___default().createElement(___WEBPACK_IMPORTED_MODULE_2__.Input, __assign({ is: (type === 'textarea' && 'textarea') ||
|
|
7036
7051
|
(type === 'select' && 'select') ||
|
|
7037
7052
|
'input', className: className, cols: (type === 'textarea' && 1) || (type === 'select' && 0) || 0, multiple: multiple, ref: mergedRef, htmlSize: (type === 'textarea' && undefined) || (type === 'select' && 1) || 1, type: type === 'textarea' || type === 'select' ? undefined : type, onChange: handleChange, "rcx-input-box--multiple": multiple, "rcx-input-box--placeholder-visible": placeholderVisible, "rcx-input-box--type": type, "rcx-input-box--undecorated": true }, props)),
|
|
@@ -7424,11 +7439,12 @@ var menuAction = function (_a, options) {
|
|
|
7424
7439
|
};
|
|
7425
7440
|
var mapOptions = function (options) {
|
|
7426
7441
|
return Object.entries(options).map(function (_a) {
|
|
7427
|
-
var _b = __read(_a, 2), value = _b[0], _c = _b[1], _d = _c.type, type = _d === void 0 ? 'option' : _d, label = _c.label;
|
|
7442
|
+
var _b = __read(_a, 2), value = _b[0], _c = _b[1], _d = _c.type, type = _d === void 0 ? 'option' : _d, label = _c.label, disabled = _c.disabled;
|
|
7428
7443
|
return [
|
|
7429
7444
|
value,
|
|
7430
7445
|
label,
|
|
7431
7446
|
undefined,
|
|
7447
|
+
disabled,
|
|
7432
7448
|
type,
|
|
7433
7449
|
];
|
|
7434
7450
|
});
|
|
@@ -7632,7 +7648,7 @@ var MessageBody = function (_a) {
|
|
|
7632
7648
|
var clamp = _a.clamp, className = _a.className, props = __rest(_a, ["clamp", "className"]);
|
|
7633
7649
|
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: (0,_helpers_prependClassName__WEBPACK_IMPORTED_MODULE_1__.prependClassName)(className, [
|
|
7634
7650
|
'rcx-message-body',
|
|
7635
|
-
clamp && "rcx-message-body--clamp rcx-message-body--clamp-"
|
|
7651
|
+
clamp && "rcx-message-body--clamp rcx-message-body--clamp-".concat(clamp),
|
|
7636
7652
|
]
|
|
7637
7653
|
.filter(Boolean)
|
|
7638
7654
|
.join(' ')) }, props)));
|
|
@@ -7809,7 +7825,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7809
7825
|
|
|
7810
7826
|
var MessageEmojiBase = function (_a) {
|
|
7811
7827
|
var name = _a.name, className = _a.className, image = _a.image, children = _a.children;
|
|
7812
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", { className: (className || ''
|
|
7828
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", { className: "".concat(className || '', " ").concat(name), style: image && image.length ? { backgroundImage: image } : undefined, children: children }));
|
|
7813
7829
|
};
|
|
7814
7830
|
|
|
7815
7831
|
|
|
@@ -7930,8 +7946,8 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
7930
7946
|
|
|
7931
7947
|
var MessageGenericPreviewCoverImage = function (_a) {
|
|
7932
7948
|
var url = _a.url, width = _a.width, height = _a.height, className = _a.className, props = __rest(_a, ["url", "width", "height", "className"]);
|
|
7933
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: (0,_helpers_prependClassName__WEBPACK_IMPORTED_MODULE_1__.prependClassName)(className, 'rcx-message-generic-preview__preview'), style: { backgroundImage: "url("
|
|
7934
|
-
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { style: { paddingTop: (height / width) * 100
|
|
7949
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: (0,_helpers_prependClassName__WEBPACK_IMPORTED_MODULE_1__.prependClassName)(className, 'rcx-message-generic-preview__preview'), style: { backgroundImage: "url(".concat(url, ")"), maxWidth: '100%' }, "data-testid": 'preview-image' }, props),
|
|
7950
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { style: { paddingTop: "".concat((height / width) * 100, "%") } })));
|
|
7935
7951
|
};
|
|
7936
7952
|
|
|
7937
7953
|
|
|
@@ -8655,7 +8671,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8655
8671
|
|
|
8656
8672
|
var MessageReactionCounter = function (_a) {
|
|
8657
8673
|
var counter = _a.counter, className = _a.className;
|
|
8658
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: "rcx-message-reactions__counter "
|
|
8674
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: "rcx-message-reactions__counter ".concat(className) }, counter));
|
|
8659
8675
|
};
|
|
8660
8676
|
|
|
8661
8677
|
|
|
@@ -8678,7 +8694,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8678
8694
|
|
|
8679
8695
|
var MessageReactionEmoji = function (_a) {
|
|
8680
8696
|
var name = _a.name, className = _a.className, image = _a.image, children = _a.children;
|
|
8681
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_MessageEmojiBase__WEBPACK_IMPORTED_MODULE_1__.MessageEmojiBase, { className: "rcx-message-reactions__emoji "
|
|
8697
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_MessageEmojiBase__WEBPACK_IMPORTED_MODULE_1__.MessageEmojiBase, { className: "rcx-message-reactions__emoji ".concat(className || ''), name: name, image: image, children: children }));
|
|
8682
8698
|
};
|
|
8683
8699
|
|
|
8684
8700
|
|
|
@@ -8881,7 +8897,7 @@ var MessageStatusIndicatorItem = function (_a) {
|
|
|
8881
8897
|
var name = _a.name, variant = _a.variant, props = __rest(_a, ["name", "variant"]);
|
|
8882
8898
|
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(___WEBPACK_IMPORTED_MODULE_1__.Icon, __assign({ name: name, size: 'x16', className: [
|
|
8883
8899
|
'rcx-message-status-indicator__item',
|
|
8884
|
-
variant && "rcx-message-status-indicator__item--"
|
|
8900
|
+
variant && "rcx-message-status-indicator__item--".concat(variant),
|
|
8885
8901
|
]
|
|
8886
8902
|
.filter(Boolean)
|
|
8887
8903
|
.join(' ') }, props)));
|
|
@@ -8928,7 +8944,7 @@ var MessageStatusPrivateIndicator = function (_a) {
|
|
|
8928
8944
|
var children = _a.children, variant = _a.variant;
|
|
8929
8945
|
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", { className: [
|
|
8930
8946
|
'rcx-message-status-indicator__item `rcx-message-status-indicator__item--private',
|
|
8931
|
-
variant && "rcx-message-status-indicator__item--"
|
|
8947
|
+
variant && "rcx-message-status-indicator__item--".concat(variant),
|
|
8932
8948
|
]
|
|
8933
8949
|
.filter(Boolean)
|
|
8934
8950
|
.join(' ') }, children));
|
|
@@ -9500,7 +9516,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9500
9516
|
|
|
9501
9517
|
var ThreadMessageEmoji = function (_a) {
|
|
9502
9518
|
var name = _a.name, className = _a.className, image = _a.image, children = _a.children;
|
|
9503
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_MessageEmojiBase__WEBPACK_IMPORTED_MODULE_1__.MessageEmojiBase, { className: "rcx-message-thread__emoji "
|
|
9519
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_MessageEmojiBase__WEBPACK_IMPORTED_MODULE_1__.MessageEmojiBase, { className: "rcx-message-thread__emoji ".concat(className || ''), name: name, image: image, children: children }));
|
|
9504
9520
|
};
|
|
9505
9521
|
|
|
9506
9522
|
|
|
@@ -10569,10 +10585,14 @@ var __read = (undefined && undefined.__read) || function (o, n) {
|
|
|
10569
10585
|
}
|
|
10570
10586
|
return ar;
|
|
10571
10587
|
};
|
|
10572
|
-
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from) {
|
|
10573
|
-
for (var i = 0,
|
|
10574
|
-
|
|
10575
|
-
|
|
10588
|
+
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {
|
|
10589
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
10590
|
+
if (ar || !(i in from)) {
|
|
10591
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
10592
|
+
ar[i] = from[i];
|
|
10593
|
+
}
|
|
10594
|
+
}
|
|
10595
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
10576
10596
|
};
|
|
10577
10597
|
|
|
10578
10598
|
|
|
@@ -10611,7 +10631,7 @@ var MultiSelect = (0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (_a
|
|
|
10611
10631
|
}
|
|
10612
10632
|
setFilter === null || setFilter === void 0 ? void 0 : setFilter('');
|
|
10613
10633
|
setCurrentOption(value);
|
|
10614
|
-
var newValue = __spreadArray(__spreadArray([], __read(internalValue)), [value]);
|
|
10634
|
+
var newValue = __spreadArray(__spreadArray([], __read(internalValue), false), [value], false);
|
|
10615
10635
|
setInternalValue(newValue);
|
|
10616
10636
|
return onChange(newValue);
|
|
10617
10637
|
};
|
|
@@ -11043,7 +11063,7 @@ var Option = (0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(function (_a) {
|
|
|
11043
11063
|
focus && 'rcx-option--focus',
|
|
11044
11064
|
selected && 'rcx-option--selected',
|
|
11045
11065
|
disabled && 'rcx-option--disabled',
|
|
11046
|
-
variant && "rcx-option--"
|
|
11066
|
+
variant && "rcx-option--".concat(variant),
|
|
11047
11067
|
]
|
|
11048
11068
|
.filter(Boolean)
|
|
11049
11069
|
.join(' ') }),
|
|
@@ -11480,7 +11500,7 @@ var Options = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function (_a, re
|
|
|
11480
11500
|
}, [cursor]);
|
|
11481
11501
|
var optionsMemoized = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
|
|
11482
11502
|
return options === null || options === void 0 ? void 0 : options.map(function (_a, i) {
|
|
11483
|
-
var _b = __read(_a,
|
|
11503
|
+
var _b = __read(_a, 6), value = _b[0], label = _b[1], selected = _b[2], disabled = _b[3], type = _b[4], url = _b[5];
|
|
11484
11504
|
switch (type) {
|
|
11485
11505
|
case 'heading':
|
|
11486
11506
|
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Option__WEBPACK_IMPORTED_MODULE_3__.OptionHeader, { key: value }, label);
|
|
@@ -11488,10 +11508,13 @@ var Options = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function (_a, re
|
|
|
11488
11508
|
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Option__WEBPACK_IMPORTED_MODULE_3__.OptionDivider, { key: value });
|
|
11489
11509
|
default:
|
|
11490
11510
|
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(OptionComponent, { role: 'option', label: label, onMouseDown: function (e) {
|
|
11511
|
+
if (disabled) {
|
|
11512
|
+
return;
|
|
11513
|
+
}
|
|
11491
11514
|
(0,_helpers_prevent__WEBPACK_IMPORTED_MODULE_1__.prevent)(e);
|
|
11492
|
-
onSelect([value, label, selected, type, url]);
|
|
11515
|
+
onSelect([value, label, selected, disabled, type, url]);
|
|
11493
11516
|
return false;
|
|
11494
|
-
}, key: value, value: value, selected: selected || (multiple !== true && null), focus: cursor === i || null }));
|
|
11517
|
+
}, key: value, value: value, selected: selected || (multiple !== true && null), disabled: disabled, focus: cursor === i || null }));
|
|
11495
11518
|
}
|
|
11496
11519
|
});
|
|
11497
11520
|
}, [options, multiple, cursor, onSelect, OptionComponent]);
|
|
@@ -11919,10 +11942,14 @@ var __read = (undefined && undefined.__read) || function (o, n) {
|
|
|
11919
11942
|
}
|
|
11920
11943
|
return ar;
|
|
11921
11944
|
};
|
|
11922
|
-
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from) {
|
|
11923
|
-
for (var i = 0,
|
|
11924
|
-
|
|
11925
|
-
|
|
11945
|
+
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {
|
|
11946
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
11947
|
+
if (ar || !(i in from)) {
|
|
11948
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
11949
|
+
ar[i] = from[i];
|
|
11950
|
+
}
|
|
11951
|
+
}
|
|
11952
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
11926
11953
|
};
|
|
11927
11954
|
// @ts-nocheck
|
|
11928
11955
|
|
|
@@ -11953,7 +11980,7 @@ var PaginatedMultiSelect = function (_a) {
|
|
|
11953
11980
|
setInternalValue(newValue_1);
|
|
11954
11981
|
return onChange(newValue_1);
|
|
11955
11982
|
}
|
|
11956
|
-
var newValue = __spreadArray(__spreadArray([], __read(currentValue)), [value]);
|
|
11983
|
+
var newValue = __spreadArray(__spreadArray([], __read(currentValue), false), [value], false);
|
|
11957
11984
|
setInternalValue(newValue);
|
|
11958
11985
|
return onChange(newValue);
|
|
11959
11986
|
};
|
|
@@ -12301,7 +12328,7 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
12301
12328
|
var defaultItemsPerPageLabel = function () { return 'Items per page:'; };
|
|
12302
12329
|
var defaultShowingResultsLabel = function (_a) {
|
|
12303
12330
|
var count = _a.count, current = _a.current, itemsPerPage = _a.itemsPerPage;
|
|
12304
|
-
return "Showing results "
|
|
12331
|
+
return "Showing results ".concat(current + 1, " - ").concat(Math.min(current + itemsPerPage, count), " of ").concat(count);
|
|
12305
12332
|
};
|
|
12306
12333
|
var itemsPerPageOptions = [25, 50, 100];
|
|
12307
12334
|
var Pagination = function (_a) {
|
|
@@ -12624,7 +12651,7 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
12624
12651
|
|
|
12625
12652
|
|
|
12626
12653
|
var getWidth = function (percentage) {
|
|
12627
|
-
return Math.min(Math.max(0, percentage), 100).toFixed(1)
|
|
12654
|
+
return "".concat(Math.min(Math.max(0, percentage), 100).toFixed(1), "%");
|
|
12628
12655
|
};
|
|
12629
12656
|
var colors = {
|
|
12630
12657
|
info: 'status-font-on-info',
|
|
@@ -13400,27 +13427,27 @@ var SidebarItemContainer = function (props) { return (react__WEBPACK_IMPORTED_MO
|
|
|
13400
13427
|
var SidebarItemMenu = function (props) { return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: 'rc-box rcx-box--full rcx-box--animated rcx-sidebar-item__menu-wrapper' }, props))); };
|
|
13401
13428
|
var SidebarItemContent = function (_a) {
|
|
13402
13429
|
var _b = _a.className, className = _b === void 0 ? '' : _b, props = __rest(_a, ["className"]);
|
|
13403
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: "rc-box rcx-box--full rcx-sidebar-item__container rcx-sidebar-item__content "
|
|
13430
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: "rc-box rcx-box--full rcx-sidebar-item__container rcx-sidebar-item__content ".concat(className) }, props)));
|
|
13404
13431
|
};
|
|
13405
13432
|
var SidebarItemTitle = function (_a) {
|
|
13406
13433
|
var _b = _a.className, className = _b === void 0 ? '' : _b, props = __rest(_a, ["className"]);
|
|
13407
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: "rc-box rcx-box--full rcx-sidebar-item__title "
|
|
13434
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: "rc-box rcx-box--full rcx-sidebar-item__title ".concat(className) }, props)));
|
|
13408
13435
|
};
|
|
13409
13436
|
var SidebarItemTime = function (_a) {
|
|
13410
13437
|
var className = _a.className, props = __rest(_a, ["className"]);
|
|
13411
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: "rc-box rcx-box--full rcx-sidebar-item__time "
|
|
13438
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: "rc-box rcx-box--full rcx-sidebar-item__time ".concat(className) }, props)));
|
|
13412
13439
|
};
|
|
13413
13440
|
var SidebarItemBadge = function (_a) {
|
|
13414
13441
|
var className = _a.className, props = __rest(_a, ["className"]);
|
|
13415
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: "rc-box rcx-box--full rcx-sidebar-item__badge "
|
|
13442
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: "rc-box rcx-box--full rcx-sidebar-item__badge ".concat(className) }, props)));
|
|
13416
13443
|
};
|
|
13417
13444
|
var SidebarItemSubtitle = function (_a) {
|
|
13418
13445
|
var className = _a.className, props = __rest(_a, ["className"]);
|
|
13419
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: "rc-box rcx-box--full rcx-sidebar-item__subtitle "
|
|
13446
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: "rc-box rcx-box--full rcx-sidebar-item__subtitle ".concat(className) }, props)));
|
|
13420
13447
|
};
|
|
13421
13448
|
var SidebarItemWrapper = function (_a) {
|
|
13422
13449
|
var _b = _a.className, className = _b === void 0 ? '' : _b, props = __rest(_a, ["className"]);
|
|
13423
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: "rc-box rcx-box--full rcx-sidebar-item__wrapper "
|
|
13450
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", __assign({ className: "rc-box rcx-box--full rcx-sidebar-item__wrapper ".concat(className) }, props)));
|
|
13424
13451
|
};
|
|
13425
13452
|
var SidebarItemIcon = function (_a) {
|
|
13426
13453
|
var highlighted = _a.highlighted, children = _a.children, icon = _a.icon, _className = _a.className, props = __rest(_a, ["highlighted", "children", "icon", "className"]);
|
|
@@ -13544,7 +13571,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13544
13571
|
|
|
13545
13572
|
var SidebarBanner = function (_a) {
|
|
13546
13573
|
var text = _a.text, description = _a.description, onClick = _a.onClick, _b = _a.variant, variant = _b === void 0 ? 'default' : _b, onClose = _a.onClose, children = _a.children;
|
|
13547
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: "rcx-box rcx-box--full rcx-sidebar-banner rcx-sidebar-banner--"
|
|
13574
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: "rcx-box rcx-box--full rcx-sidebar-banner rcx-sidebar-banner--".concat(variant) },
|
|
13548
13575
|
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", null,
|
|
13549
13576
|
text && react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: 'rcx-sidebar-banner--text' }, text),
|
|
13550
13577
|
description && (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: [
|
|
@@ -13994,7 +14021,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13994
14021
|
|
|
13995
14022
|
var StatesIcon = function (_a) {
|
|
13996
14023
|
var name = _a.name, variation = _a.variation;
|
|
13997
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon__WEBPACK_IMPORTED_MODULE_1__.Icon, { "rcx-states__icon": true, className: variation && "rcx-states__icon--"
|
|
14024
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Icon__WEBPACK_IMPORTED_MODULE_1__.Icon, { "rcx-states__icon": true, className: variation && "rcx-states__icon--".concat(variation), name: name, size: 'x32' }));
|
|
13998
14025
|
};
|
|
13999
14026
|
/* harmony default export */ __webpack_exports__["default"] = (StatesIcon);
|
|
14000
14027
|
|
|
@@ -14203,7 +14230,7 @@ var StatusBullet = function (_a) {
|
|
|
14203
14230
|
var _b = _a.status, status = _b === void 0 ? 'loading' : _b, size = _a.size, _c = _a.className, className = _c === void 0 ? '' : _c, props = __rest(_a, ["status", "size", "className"]);
|
|
14204
14231
|
(0,_hooks_useStyleSheet__WEBPACK_IMPORTED_MODULE_1__.useStyleSheet)();
|
|
14205
14232
|
(0,_hooks_useStyleSheet__WEBPACK_IMPORTED_MODULE_1__.useStyleSheet)(_StatusBullet_styles_scss__WEBPACK_IMPORTED_MODULE_2__["default"]);
|
|
14206
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", __assign({ className: "rcx-box rcx-box--full rcx-status-bullet rcx-status-bullet--"
|
|
14233
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", __assign({ className: "rcx-box rcx-box--full rcx-status-bullet rcx-status-bullet--".concat(status, " ").concat(size === 'small' ? 'rcx-status-bullet--small' : '', " ").concat(className) }, props)));
|
|
14207
14234
|
};
|
|
14208
14235
|
|
|
14209
14236
|
|
|
@@ -14772,9 +14799,9 @@ var Tag = function (_a) {
|
|
|
14772
14799
|
onClick && 'clickable',
|
|
14773
14800
|
]
|
|
14774
14801
|
.filter(Boolean)
|
|
14775
|
-
.map(function (modifier) { return "rcx-tag--"
|
|
14802
|
+
.map(function (modifier) { return "rcx-tag--".concat(modifier); })
|
|
14776
14803
|
.join(' ');
|
|
14777
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", __assign({ className: (0,_helpers_prependClassName__WEBPACK_IMPORTED_MODULE_1__.prependClassName)(className, "rcx-tag "
|
|
14804
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", __assign({ className: (0,_helpers_prependClassName__WEBPACK_IMPORTED_MODULE_1__.prependClassName)(className, "rcx-tag ".concat(modifiers)), onClick: onClick }, props),
|
|
14778
14805
|
icon,
|
|
14779
14806
|
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", { className: 'rcx-tag__inner' }, children)));
|
|
14780
14807
|
};
|
|
@@ -15133,7 +15160,7 @@ function ToastBar(_a) {
|
|
|
15133
15160
|
var uniqueId = (0,_rocket_chat_fuselage_hooks__WEBPACK_IMPORTED_MODULE_1__.useUniqueId)();
|
|
15134
15161
|
var toastId = id || uniqueId;
|
|
15135
15162
|
return (react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_Box__WEBPACK_IMPORTED_MODULE_3__["default"], { className: ['rcx-toastbar-wrapper', toastBarAnimation], role: 'alert', "aria-labelledby": toastId },
|
|
15136
|
-
react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_Box__WEBPACK_IMPORTED_MODULE_3__["default"], { className: "rcx-toastbar rcx-toastbar--"
|
|
15163
|
+
react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_Box__WEBPACK_IMPORTED_MODULE_3__["default"], { className: "rcx-toastbar rcx-toastbar--".concat(variant, " ").concat(className), elevation: '2nb', borderRadius: 'x4' },
|
|
15137
15164
|
react__WEBPACK_IMPORTED_MODULE_2___default().createElement("div", { className: 'rcx-toastbar-inner' },
|
|
15138
15165
|
react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_Icon__WEBPACK_IMPORTED_MODULE_5__.Icon, { size: 'x20', name: iconName }),
|
|
15139
15166
|
react__WEBPACK_IMPORTED_MODULE_2___default().createElement("div", { className: 'rcx-toastbar-content', id: toastId }, children),
|
|
@@ -15743,7 +15770,7 @@ var mapTypeToPrefix = {
|
|
|
15743
15770
|
danger: 'r',
|
|
15744
15771
|
};
|
|
15745
15772
|
var getPaletteColor = function (type, grade, alpha) {
|
|
15746
|
-
var ref = ""
|
|
15773
|
+
var ref = "".concat(mapTypeToPrefix[type]).concat(grade);
|
|
15747
15774
|
invariant__WEBPACK_IMPORTED_MODULE_1___default()(isPaletteColorRef(ref), 'invalid color reference');
|
|
15748
15775
|
var baseColor = _rocket_chat_fuselage_tokens_colors_json__WEBPACK_IMPORTED_MODULE_0__[ref];
|
|
15749
15776
|
var matches = /^#([0-9A-Fa-f]{2})([0-9A-Fa-f]{2})([0-9A-Fa-f]{2})$/.exec(baseColor);
|
|
@@ -15751,11 +15778,11 @@ var getPaletteColor = function (type, grade, alpha) {
|
|
|
15751
15778
|
if (alpha !== undefined) {
|
|
15752
15779
|
var _a = __read(matches, 4), r = _a[1], g = _a[2], b = _a[3];
|
|
15753
15780
|
return [
|
|
15754
|
-
"--rcx-color-"
|
|
15755
|
-
"rgba("
|
|
15781
|
+
"--rcx-color-".concat(type, "-").concat(grade, "-").concat((alpha * 100).toFixed(0)),
|
|
15782
|
+
"rgba(".concat(parseInt(r, 16), ", ").concat(parseInt(g, 16), ", ").concat(parseInt(b, 16), ", ").concat(alpha * 100, "%)"),
|
|
15756
15783
|
];
|
|
15757
15784
|
}
|
|
15758
|
-
return ["--rcx-color-"
|
|
15785
|
+
return ["--rcx-color-".concat(type, "-").concat(grade), baseColor];
|
|
15759
15786
|
};
|
|
15760
15787
|
|
|
15761
15788
|
|
|
@@ -15787,19 +15814,23 @@ var __read = (undefined && undefined.__read) || function (o, n) {
|
|
|
15787
15814
|
}
|
|
15788
15815
|
return ar;
|
|
15789
15816
|
};
|
|
15790
|
-
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from) {
|
|
15791
|
-
for (var i = 0,
|
|
15792
|
-
|
|
15793
|
-
|
|
15817
|
+
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {
|
|
15818
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
15819
|
+
if (ar || !(i in from)) {
|
|
15820
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
15821
|
+
ar[i] = from[i];
|
|
15822
|
+
}
|
|
15823
|
+
}
|
|
15824
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
15794
15825
|
};
|
|
15795
15826
|
var appendClassName = function (currentClassName, newClassName) {
|
|
15796
15827
|
if (currentClassName === undefined) {
|
|
15797
15828
|
return newClassName;
|
|
15798
15829
|
}
|
|
15799
15830
|
if (Array.isArray(currentClassName)) {
|
|
15800
|
-
return __spreadArray(__spreadArray([], __read(currentClassName)), [newClassName]);
|
|
15831
|
+
return __spreadArray(__spreadArray([], __read(currentClassName), false), [newClassName], false);
|
|
15801
15832
|
}
|
|
15802
|
-
return currentClassName
|
|
15833
|
+
return "".concat(currentClassName, " ").concat(newClassName);
|
|
15803
15834
|
};
|
|
15804
15835
|
|
|
15805
15836
|
|
|
@@ -15832,7 +15863,7 @@ var __read = (undefined && undefined.__read) || function (o, n) {
|
|
|
15832
15863
|
return ar;
|
|
15833
15864
|
};
|
|
15834
15865
|
var withPrefix = function (prefix) { return function (modifier) {
|
|
15835
|
-
return prefix ? prefix
|
|
15866
|
+
return prefix ? "".concat(prefix, "--").concat(modifier) : modifier;
|
|
15836
15867
|
}; };
|
|
15837
15868
|
var composeClassNames = function (prefix) {
|
|
15838
15869
|
return function () {
|
|
@@ -15860,7 +15891,7 @@ var composeClassNames = function (prefix) {
|
|
|
15860
15891
|
return null;
|
|
15861
15892
|
}
|
|
15862
15893
|
if (typeof value === 'string' || typeof value === 'number') {
|
|
15863
|
-
return addPrefix(key
|
|
15894
|
+
return addPrefix("".concat(key, "-").concat(value));
|
|
15864
15895
|
}
|
|
15865
15896
|
return null;
|
|
15866
15897
|
})
|
|
@@ -15994,18 +16025,22 @@ var __read = (undefined && undefined.__read) || function (o, n) {
|
|
|
15994
16025
|
}
|
|
15995
16026
|
return ar;
|
|
15996
16027
|
};
|
|
15997
|
-
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from) {
|
|
15998
|
-
for (var i = 0,
|
|
15999
|
-
|
|
16000
|
-
|
|
16028
|
+
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {
|
|
16029
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
16030
|
+
if (ar || !(i in from)) {
|
|
16031
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
16032
|
+
ar[i] = from[i];
|
|
16033
|
+
}
|
|
16034
|
+
}
|
|
16035
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
16001
16036
|
};
|
|
16002
16037
|
var isStringArray = function (value) { return Array.isArray(value); };
|
|
16003
16038
|
var prependClassName = function (currentClassName, newClassName) {
|
|
16004
16039
|
if (isStringArray(currentClassName)) {
|
|
16005
|
-
return __spreadArray([newClassName], __read(currentClassName));
|
|
16040
|
+
return __spreadArray([newClassName], __read(currentClassName), false);
|
|
16006
16041
|
}
|
|
16007
16042
|
if (currentClassName) {
|
|
16008
|
-
return newClassName
|
|
16043
|
+
return "".concat(newClassName, " ").concat(currentClassName);
|
|
16009
16044
|
}
|
|
16010
16045
|
return newClassName;
|
|
16011
16046
|
};
|
|
@@ -16085,13 +16120,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16085
16120
|
|
|
16086
16121
|
var cssSupportsVariable = (0,_rocket_chat_css_supports__WEBPACK_IMPORTED_MODULE_0__.cssSupports)('(--foo: bar)');
|
|
16087
16122
|
var toCSSValue = cssSupportsVariable
|
|
16088
|
-
? (function (label, value) { return "var("
|
|
16123
|
+
? (function (label, value) { return "var(".concat(label, ", ").concat(value, ")"); })
|
|
16089
16124
|
: (function (_label, value) { return value; });
|
|
16090
16125
|
var toCSSFontValue = (function (label, value) {
|
|
16091
|
-
return toCSSValue("--rcx-font-family-"
|
|
16126
|
+
return toCSSValue("--rcx-font-family-".concat(label), value);
|
|
16092
16127
|
});
|
|
16093
16128
|
var toCSSColorValue = (function (label, value) {
|
|
16094
|
-
return toCSSValue("--rcx-color-"
|
|
16129
|
+
return toCSSValue("--rcx-color-".concat(label), value);
|
|
16095
16130
|
});
|
|
16096
16131
|
|
|
16097
16132
|
|
|
@@ -16168,7 +16203,7 @@ var useBoxOnlyProps = function (props) {
|
|
|
16168
16203
|
if (!value) {
|
|
16169
16204
|
return;
|
|
16170
16205
|
}
|
|
16171
|
-
var newClassName = value === true ? key : key
|
|
16206
|
+
var newClassName = value === true ? key : "".concat(key, "-").concat(value);
|
|
16172
16207
|
props.className = (0,_helpers_prependClassName__WEBPACK_IMPORTED_MODULE_0__.prependClassName)(props.className, newClassName);
|
|
16173
16208
|
}
|
|
16174
16209
|
finally {
|
|
@@ -16230,7 +16265,7 @@ var useStyle = function (cssFn, arg) {
|
|
|
16230
16265
|
return;
|
|
16231
16266
|
}
|
|
16232
16267
|
var escapedClassName = (0,_rocket_chat_css_in_js__WEBPACK_IMPORTED_MODULE_0__.escapeName)(className);
|
|
16233
|
-
var transpiledContent = (0,_rocket_chat_css_in_js__WEBPACK_IMPORTED_MODULE_0__.transpile)("."
|
|
16268
|
+
var transpiledContent = (0,_rocket_chat_css_in_js__WEBPACK_IMPORTED_MODULE_0__.transpile)(".".concat(escapedClassName), content);
|
|
16234
16269
|
var detach = (0,_rocket_chat_css_in_js__WEBPACK_IMPORTED_MODULE_0__.attachRules)(transpiledContent);
|
|
16235
16270
|
return function () {
|
|
16236
16271
|
setTimeout(detach, 1000);
|
|
@@ -16494,7 +16529,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16494
16529
|
|
|
16495
16530
|
|
|
16496
16531
|
if (true) {
|
|
16497
|
-
console.log("fuselage: "
|
|
16532
|
+
console.log("fuselage: ".concat("0.31.22"));
|
|
16498
16533
|
}
|
|
16499
16534
|
|
|
16500
16535
|
|
|
@@ -16555,7 +16590,7 @@ var __read = (undefined && undefined.__read) || function (o, n) {
|
|
|
16555
16590
|
var measure = function (computeSpecialValue) {
|
|
16556
16591
|
return (0,_rocket_chat_memo__WEBPACK_IMPORTED_MODULE_2__.memoize)(function (value) {
|
|
16557
16592
|
if (typeof value === 'number') {
|
|
16558
|
-
return value
|
|
16593
|
+
return "".concat(value, "px");
|
|
16559
16594
|
}
|
|
16560
16595
|
if (typeof value !== 'string') {
|
|
16561
16596
|
return undefined;
|
|
@@ -16565,7 +16600,7 @@ var measure = function (computeSpecialValue) {
|
|
|
16565
16600
|
if (matches) {
|
|
16566
16601
|
var _a = __read(matches, 3), negativeMark = _a[1], measureInPixelsAsString = _a[2];
|
|
16567
16602
|
var measureInPixels = (negativeMark ? -1 : 1) * parseInt(measureInPixelsAsString, 10);
|
|
16568
|
-
return measureInPixels / 16
|
|
16603
|
+
return "".concat(measureInPixels / 16, "rem");
|
|
16569
16604
|
}
|
|
16570
16605
|
if (computeSpecialValue) {
|
|
16571
16606
|
return computeSpecialValue(value) || value;
|
|
@@ -16630,18 +16665,18 @@ var isForegroundColorRef = function (ref) {
|
|
|
16630
16665
|
var getForegroundColor = function (type) {
|
|
16631
16666
|
invariant__WEBPACK_IMPORTED_MODULE_3___default()(isForegroundColorRef(type), 'invalid foreground color');
|
|
16632
16667
|
var color = foregroundColors[type];
|
|
16633
|
-
return ["--rcx-color-foreground-"
|
|
16668
|
+
return ["--rcx-color-foreground-".concat(type), color];
|
|
16634
16669
|
};
|
|
16635
16670
|
var paletteColorRegex = /^(neutral|primary|info|success|warning|danger)-(\d+)(-(\d+))?$/;
|
|
16636
16671
|
var strokeColor = (0,_rocket_chat_memo__WEBPACK_IMPORTED_MODULE_2__.memoize)(function (value) {
|
|
16637
|
-
var colorName = "stroke-"
|
|
16672
|
+
var colorName = "stroke-".concat(value);
|
|
16638
16673
|
if ((0,_Theme__WEBPACK_IMPORTED_MODULE_4__.isStrokeColor)(colorName)) {
|
|
16639
16674
|
return _Theme__WEBPACK_IMPORTED_MODULE_4__.strokeColors[colorName].toString();
|
|
16640
16675
|
}
|
|
16641
16676
|
return color(value);
|
|
16642
16677
|
});
|
|
16643
16678
|
var backgroundColor = (0,_rocket_chat_memo__WEBPACK_IMPORTED_MODULE_2__.memoize)(function (value) {
|
|
16644
|
-
var colorName = "surface-"
|
|
16679
|
+
var colorName = "surface-".concat(value);
|
|
16645
16680
|
if ((0,_Theme__WEBPACK_IMPORTED_MODULE_4__.isSurfaceColor)(value)) {
|
|
16646
16681
|
return _Theme__WEBPACK_IMPORTED_MODULE_4__.surfaceColors[value].toString();
|
|
16647
16682
|
}
|
|
@@ -16653,7 +16688,7 @@ var backgroundColor = (0,_rocket_chat_memo__WEBPACK_IMPORTED_MODULE_2__.memoize)
|
|
|
16653
16688
|
}
|
|
16654
16689
|
if ((0,_Theme__WEBPACK_IMPORTED_MODULE_4__.isStatusColor)(value)) {
|
|
16655
16690
|
if (true) {
|
|
16656
|
-
console.warn(value
|
|
16691
|
+
console.warn("".concat(value, " shouldn't be used as a backgroundColor."));
|
|
16657
16692
|
}
|
|
16658
16693
|
return _Theme__WEBPACK_IMPORTED_MODULE_4__.statusColors[value].toString();
|
|
16659
16694
|
}
|
|
@@ -16663,7 +16698,7 @@ var backgroundColor = (0,_rocket_chat_memo__WEBPACK_IMPORTED_MODULE_2__.memoize)
|
|
|
16663
16698
|
return color(value);
|
|
16664
16699
|
});
|
|
16665
16700
|
var fontColor = (0,_rocket_chat_memo__WEBPACK_IMPORTED_MODULE_2__.memoize)(function (value) {
|
|
16666
|
-
var colorName = "font-"
|
|
16701
|
+
var colorName = "font-".concat(value);
|
|
16667
16702
|
if ((0,_Theme__WEBPACK_IMPORTED_MODULE_4__.isTextIconColor)(colorName)) {
|
|
16668
16703
|
return _Theme__WEBPACK_IMPORTED_MODULE_4__.textIconColors[colorName].toString();
|
|
16669
16704
|
}
|
|
@@ -16678,10 +16713,10 @@ var color = (0,_rocket_chat_memo__WEBPACK_IMPORTED_MODULE_2__.memoize)(function
|
|
|
16678
16713
|
return;
|
|
16679
16714
|
}
|
|
16680
16715
|
if (true) {
|
|
16681
|
-
console.warn("invalid color: "
|
|
16716
|
+
console.warn("invalid color: ".concat(value), new Error().stack);
|
|
16682
16717
|
}
|
|
16683
16718
|
if (_Theme__WEBPACK_IMPORTED_MODULE_4__.throwErrorOnInvalidToken) {
|
|
16684
|
-
throw new Error("The color token \""
|
|
16719
|
+
throw new Error("The color token \"".concat(value, "\" is deprecated. Please use the new color tokens instead."));
|
|
16685
16720
|
}
|
|
16686
16721
|
if ((0,_Theme__WEBPACK_IMPORTED_MODULE_4__.isSurfaceColor)(value)) {
|
|
16687
16722
|
return _Theme__WEBPACK_IMPORTED_MODULE_4__.surfaceColors[value].toString();
|
|
@@ -16768,7 +16803,7 @@ var fontFamily = (0,_rocket_chat_memo__WEBPACK_IMPORTED_MODULE_2__.memoize)(func
|
|
|
16768
16803
|
return undefined;
|
|
16769
16804
|
}
|
|
16770
16805
|
var fontFamily = _rocket_chat_fuselage_tokens_dist_typography_json__WEBPACK_IMPORTED_MODULE_1__.fontFamilies[value]
|
|
16771
|
-
.map(function (fontFace) { return (fontFace.includes(' ') ? "'"
|
|
16806
|
+
.map(function (fontFace) { return (fontFace.includes(' ') ? "'".concat(fontFace, "'") : fontFace); })
|
|
16772
16807
|
.join(', ');
|
|
16773
16808
|
return (0,_helpers_toCSSValue__WEBPACK_IMPORTED_MODULE_6__.toCSSFontValue)(value, fontFamily);
|
|
16774
16809
|
});
|
|
@@ -16781,10 +16816,10 @@ var fontScale = (0,_rocket_chat_memo__WEBPACK_IMPORTED_MODULE_2__.memoize)(funct
|
|
|
16781
16816
|
}
|
|
16782
16817
|
var _a = _rocket_chat_fuselage_tokens_dist_typography_json__WEBPACK_IMPORTED_MODULE_1__.fontScales[value], fontSize = _a.fontSize, fontWeight = _a.fontWeight, lineHeight = _a.lineHeight, letterSpacing = _a.letterSpacing;
|
|
16783
16818
|
return {
|
|
16784
|
-
fontSize: fontSize / 16
|
|
16819
|
+
fontSize: "".concat(fontSize / 16, "rem"),
|
|
16785
16820
|
fontWeight: fontWeight,
|
|
16786
|
-
lineHeight: lineHeight / 16
|
|
16787
|
-
letterSpacing: letterSpacing / 16
|
|
16821
|
+
lineHeight: "".concat(lineHeight / 16, "rem"),
|
|
16822
|
+
letterSpacing: "".concat(letterSpacing / 16, "rem"),
|
|
16788
16823
|
};
|
|
16789
16824
|
});
|
|
16790
16825
|
|
|
@@ -16893,11 +16928,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16893
16928
|
/* harmony export */ });
|
|
16894
16929
|
function _arrayLikeToArray(arr, len) {
|
|
16895
16930
|
if (len == null || len > arr.length) len = arr.length;
|
|
16896
|
-
|
|
16897
16931
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
16898
16932
|
arr2[i] = arr[i];
|
|
16899
16933
|
}
|
|
16900
|
-
|
|
16901
16934
|
return arr2;
|
|
16902
16935
|
}
|
|
16903
16936
|
|
|
@@ -16931,18 +16964,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16931
16964
|
/* harmony export */ });
|
|
16932
16965
|
function _iterableToArrayLimit(arr, i) {
|
|
16933
16966
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
16934
|
-
|
|
16935
16967
|
if (_i == null) return;
|
|
16936
16968
|
var _arr = [];
|
|
16937
16969
|
var _n = true;
|
|
16938
16970
|
var _d = false;
|
|
16939
|
-
|
|
16940
16971
|
var _s, _e;
|
|
16941
|
-
|
|
16942
16972
|
try {
|
|
16943
16973
|
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
16944
16974
|
_arr.push(_s.value);
|
|
16945
|
-
|
|
16946
16975
|
if (i && _arr.length === i) break;
|
|
16947
16976
|
}
|
|
16948
16977
|
} catch (err) {
|
|
@@ -16955,7 +16984,6 @@ function _iterableToArrayLimit(arr, i) {
|
|
|
16955
16984
|
if (_d) throw _e;
|
|
16956
16985
|
}
|
|
16957
16986
|
}
|
|
16958
|
-
|
|
16959
16987
|
return _arr;
|
|
16960
16988
|
}
|
|
16961
16989
|
|