@lanaco/lnc-react-ui 4.0.225 → 4.0.226
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/Accordion.cjs +1 -1
- package/dist/Accordion.js +2 -2
- package/dist/AccordionDetails.cjs +1 -1
- package/dist/AccordionDetails.js +1 -1
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +2 -2
- package/dist/ActionsToolbar.cjs +1 -1
- package/dist/ActionsToolbar.js +3 -3
- package/dist/AdBannerSection.cjs +1 -1
- package/dist/AdBannerSection.js +3 -3
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +2 -2
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +2 -2
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +2 -2
- package/dist/BannerNextSection.cjs +1 -1
- package/dist/BannerNextSection.js +3 -3
- package/dist/BannerSectionBasic.cjs +1 -1
- package/dist/BannerSectionBasic.js +2 -2
- package/dist/BannerSectionCarousel.cjs +1 -1
- package/dist/BannerSectionCarousel.js +5 -5
- package/dist/BannerSectionGrid.cjs +2 -2
- package/dist/BannerSectionGrid.js +5 -5
- package/dist/BannerSectionSimple.cjs +1 -1
- package/dist/BannerSectionSimple.js +4 -4
- package/dist/BannerSectionWithList.cjs +1 -1
- package/dist/BannerSectionWithList.js +3 -3
- package/dist/BannerSectionWithListImage.cjs +1 -1
- package/dist/BannerSectionWithListImage.js +2 -2
- package/dist/BlogCardsSponsoredSection.cjs +1 -1
- package/dist/BlogCardsSponsoredSection.js +6 -6
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +2 -2
- package/dist/BlogExploreSection.cjs +1 -1
- package/dist/BlogExploreSection.js +6 -6
- package/dist/BlogImagePathSection.cjs +1 -1
- package/dist/BlogImagePathSection.js +2 -2
- package/dist/BlogListSection.cjs +1 -1
- package/dist/BlogListSection.js +6 -6
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +3 -3
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +3 -3
- package/dist/BlogSingleSection.cjs +1 -1
- package/dist/BlogSingleSection.js +4 -4
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +9 -9
- package/dist/BlogsSectionLarge.cjs +1 -1
- package/dist/BlogsSectionLarge.js +5 -5
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +7 -7
- package/dist/BlogsSectionSimpleCentered.cjs +1 -1
- package/dist/BlogsSectionSimpleCentered.js +6 -6
- package/dist/BlogsSectionWithFilters.cjs +1 -1
- package/dist/BlogsSectionWithFilters.js +8 -8
- package/dist/BrandHitsSection.cjs +1 -1
- package/dist/BrandHitsSection.js +4 -4
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +2 -2
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +3 -3
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +2 -2
- package/dist/CalorieCalculatorSection.cjs +1 -1
- package/dist/CalorieCalculatorSection.js +3 -3
- package/dist/{CategorySimpleCard-CkSwvJRw.js → CategorySimpleCard-TJRJ_2Sb.js} +3 -3
- package/dist/{CategorySimpleCard-CIBvknos.cjs → CategorySimpleCard-lIdzBNDa.cjs} +1 -1
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +2 -2
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +2 -2
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +2 -2
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +2 -2
- package/dist/ContactSection.cjs +5 -5
- package/dist/ContactSection.js +1765 -1712
- package/dist/CustomLoanMapSection.cjs +1 -1
- package/dist/CustomLoanMapSection.js +3 -3
- package/dist/{CustomStyles-DR4WuDUN.js → CustomStyles-B6uutenq.js} +58 -55
- package/dist/{CustomStyles-2TQQSwtU.cjs → CustomStyles-dJQPJ4s4.cjs} +4 -4
- package/dist/{DailyMotion-BPdBW5Yv.cjs → DailyMotion-BLODEbGN.cjs} +1 -1
- package/dist/{DailyMotion-P9S-WhTX.js → DailyMotion-BcKTajo7.js} +1 -1
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +1 -1
- package/dist/DateInput.cjs +1 -1
- package/dist/DateInput.js +4 -4
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +2 -2
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +2 -2
- package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
- package/dist/DetailedProductsInfinitiveSection.js +7 -7
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +8 -8
- package/dist/DetailsView.cjs +1 -1
- package/dist/DetailsView.js +2 -2
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +2 -2
- package/dist/DragAndDropFile.cjs +10 -10
- package/dist/DragAndDropFile.js +444 -408
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +2 -2
- package/dist/Drawer.js +1 -1
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +3 -3
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +2 -2
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +2 -2
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +2 -2
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +2 -2
- package/dist/{Facebook-C8L2KR4O.cjs → Facebook-Cxy7fSgc.cjs} +1 -1
- package/dist/{Facebook-vhbBr0rd.js → Facebook-o0wYiIu4.js} +25 -25
- package/dist/FaqSection.cjs +1 -1
- package/dist/FaqSection.js +4 -4
- package/dist/FeedbackSection.cjs +1 -1
- package/dist/FeedbackSection.js +3 -3
- package/dist/FieldOfInterestsMasonrySection.cjs +1 -1
- package/dist/FieldOfInterestsMasonrySection.js +4 -4
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +5 -5
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithTagsCardsSection.js +4 -4
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +2 -2
- package/dist/{FilePlayer-BVFgHY_f.cjs → FilePlayer-DyIgZGf2.cjs} +1 -1
- package/dist/{FilePlayer-CXTLAokk.js → FilePlayer-Evom9jRl.js} +1 -1
- package/dist/FlexBox.cjs +1 -1
- package/dist/FlexBox.js +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +2 -2
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +2 -2
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +2 -2
- package/dist/GeneralWithTagsCardsSection.cjs +1 -1
- package/dist/GeneralWithTagsCardsSection.js +4 -4
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +6 -6
- package/dist/Grid.cjs +1 -1
- package/dist/Grid.js +1 -1
- package/dist/GridItem.cjs +1 -1
- package/dist/GridItem.js +1 -1
- package/dist/HelpBannerSection.cjs +1 -1
- package/dist/HelpBannerSection.js +2 -2
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +2 -2
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +2 -2
- package/dist/{Kaltura-CRGK2EP7.js → Kaltura-CA_8jdJe.js} +1 -1
- package/dist/{Kaltura-C2fRoaEg.cjs → Kaltura-l-2u1Tm7.cjs} +1 -1
- package/dist/Kanban.cjs +5 -5
- package/dist/Kanban.js +5 -5
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +2 -2
- package/dist/{KanbanCard-DihrKn-I.cjs → KanbanCard-9Pe_tjMt.cjs} +1 -1
- package/dist/{KanbanCard-B9V9EjVE.js → KanbanCard-ffmclwO4.js} +1 -1
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +2 -2
- package/dist/KanbanFooter.cjs +1 -1
- package/dist/KanbanFooter.js +1 -1
- package/dist/KanbanHeader.cjs +1 -1
- package/dist/KanbanHeader.js +1 -1
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +3 -3
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +2 -2
- package/dist/LoanCalculatorSection.cjs +1 -1
- package/dist/LoanCalculatorSection.js +4 -4
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.cjs +1 -1
- package/dist/LocationSearchSection.js +3 -3
- package/dist/MasonryGeneralCardsSection.cjs +1 -1
- package/dist/MasonryGeneralCardsSection.js +4 -4
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +2 -2
- package/dist/{Mixcloud-D09BQNOt.cjs → Mixcloud-BwTRg6SF.cjs} +1 -1
- package/dist/{Mixcloud-Cn5M-EIT.js → Mixcloud-D2JZtlPe.js} +10 -10
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +3 -3
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +1 -1
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +1 -1
- package/dist/{Mux-C6szci3w.js → Mux-CBMcNvuK.js} +1 -1
- package/dist/{Mux-C-xD7crc.cjs → Mux-tp04uiAm.cjs} +1 -1
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +2 -2
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +2 -2
- package/dist/Notification.cjs +1 -1
- package/dist/Notification.js +1 -1
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +3 -3
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +2 -2
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +2 -2
- package/dist/OverlayGeneralCardsSection.cjs +1 -1
- package/dist/OverlayGeneralCardsSection.js +3 -3
- package/dist/PageLayout.cjs +1 -1
- package/dist/PageLayout.js +1 -1
- package/dist/Pagination.cjs +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/PartnerBannerSection.cjs +1 -1
- package/dist/PartnerBannerSection.js +2 -2
- package/dist/PartnerBrandsSection.cjs +1 -1
- package/dist/PartnerBrandsSection.js +4 -4
- package/dist/PartnerCardsSection.cjs +1 -1
- package/dist/PartnerCardsSection.js +4 -4
- package/dist/PartnerStatsSection.cjs +1 -1
- package/dist/PartnerStatsSection.js +3 -3
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +2 -2
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +3 -3
- package/dist/PopoverDescription.cjs +1 -1
- package/dist/PopoverDescription.js +1 -1
- package/dist/PopoverHeading.cjs +1 -1
- package/dist/PopoverHeading.js +1 -1
- package/dist/PopoverTrigger.cjs +1 -1
- package/dist/PopoverTrigger.js +1 -1
- package/dist/{Preview-B8HyPnfR.cjs → Preview-2LWO1jPt.cjs} +1 -1
- package/dist/{Preview-CO6WSP5f.js → Preview-CEZQvDLk.js} +6 -6
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +7 -7
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +2 -2
- package/dist/QuattroCardsSection.cjs +1 -1
- package/dist/QuattroCardsSection.js +5 -5
- package/dist/QuizSection.cjs +1 -1
- package/dist/QuizSection.js +3 -3
- package/dist/RadioGroup.cjs +1 -1
- package/dist/RadioGroup.js +1 -1
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +2 -2
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +2 -2
- package/dist/ReviewsSection.cjs +1 -1
- package/dist/ReviewsSection.js +6 -6
- package/dist/SalesCampaignsSection.cjs +1 -1
- package/dist/SalesCampaignsSection.js +6 -6
- package/dist/SearchBar.cjs +1 -1
- package/dist/SearchBar.js +2 -2
- package/dist/{SearchSection-BEYnWPSr.js → SearchSection-BQkugcbp.js} +17 -17
- package/dist/{SearchSection-DUY61r3k.cjs → SearchSection-CgbZsVg2.cjs} +2 -2
- package/dist/SearchSection.cjs +1 -1
- package/dist/SearchSection.js +1 -1
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +2 -2
- package/dist/SeparatorSection.cjs +1 -1
- package/dist/SeparatorSection.js +2 -2
- package/dist/ShopCardsSection.cjs +1 -1
- package/dist/ShopCardsSection.js +5 -5
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +2 -2
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +7 -7
- package/dist/SimpleProductsSection.cjs +1 -1
- package/dist/SimpleProductsSection.js +6 -6
- package/dist/{SoundCloud-Cfaj1Ze1.js → SoundCloud-CK7NvImk.js} +13 -13
- package/dist/{SoundCloud-BsL6Onq6.cjs → SoundCloud-DVmlWv2g.cjs} +1 -1
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +2 -2
- package/dist/StatsSection.cjs +1 -1
- package/dist/StatsSection.js +3 -3
- package/dist/{Streamable-DFtyk9Dt.cjs → Streamable-BBV7DQsj.cjs} +1 -1
- package/dist/{Streamable-CG8_-_w7.js → Streamable-D5oxy9aa.js} +1 -1
- package/dist/Surface.cjs +1 -1
- package/dist/Surface.js +2 -2
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +2 -2
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +2 -2
- package/dist/Table.cjs +1 -1
- package/dist/Table.js +5 -5
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +3 -3
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.js +1 -1
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +2 -2
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +2 -2
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +3 -3
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +2 -2
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +2 -2
- package/dist/ToggleSection.cjs +1 -1
- package/dist/ToggleSection.js +3 -3
- package/dist/TreeMenu.cjs +1 -1
- package/dist/TreeMenu.js +1 -1
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +2 -2
- package/dist/{Twitch-BIUEEDiE.cjs → Twitch-CH7rLHNj.cjs} +1 -1
- package/dist/{Twitch-CbU_0Tx9.js → Twitch-DtrfG3Wo.js} +5 -5
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +2 -2
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +4 -4
- package/dist/{Vidyard-S6Fl_F78.js → Vidyard-C66crgMN.js} +1 -1
- package/dist/{Vidyard-QkjVIros.cjs → Vidyard-DGbMnWlF.cjs} +1 -1
- package/dist/{Vimeo-5bkeYCV4.js → Vimeo-BjGe7JPl.js} +1 -1
- package/dist/{Vimeo-B5jsifNT.cjs → Vimeo-DdFP5z1P.cjs} +1 -1
- package/dist/{Wistia-dpbMmx23.cjs → Wistia-CTuM5tqn.cjs} +1 -1
- package/dist/{Wistia-gOZBV0XZ.js → Wistia-Cnd0mYar.js} +3 -3
- package/dist/{YouTube-BfZRCB6O.cjs → YouTube-Chpmigf-.cjs} +1 -1
- package/dist/{YouTube-XoIB4ATQ.js → YouTube-D2wx0EoX.js} +3 -3
- package/dist/{breakpoints-ff0SIcV3.js → breakpoints-BubDitvo.js} +3 -3
- package/dist/emotion-is-prop-valid.esm-DqkrfvDp.js +10 -0
- package/dist/emotion-is-prop-valid.esm-eyvxYx3u.cjs +1 -0
- package/dist/{emotion-styled.browser.esm-BNN1dTl3.js → emotion-styled.browser.esm-DfbrHHed.js} +4 -4
- package/dist/{emotion-styled.browser.esm-BtEseadx.cjs → emotion-styled.browser.esm-DwHBgTPn.cjs} +1 -1
- package/dist/floating-ui.dom-Bvf9G8UM.cjs +1 -0
- package/dist/floating-ui.dom-C16Oktn3.js +959 -0
- package/dist/{floating-ui.react.esm-CfpRzwmn.js → floating-ui.react.esm-B-RMCmpu.js} +477 -460
- package/dist/floating-ui.react.esm-CsrI9PVk.cjs +4 -0
- package/dist/{index-vQOR22Py.cjs → index-3GKF_7BJ.cjs} +1 -1
- package/dist/{index-41nUb2kP.cjs → index-7Jsjuf-Q.cjs} +29 -29
- package/dist/{index-B1vKwsDE.js → index-B2yaYXE2.js} +651 -651
- package/dist/{index-DZFKpq77.cjs → index-BGNavrtB.cjs} +1 -1
- package/dist/{index-hC-E71GE.js → index-BHcrzV2G.js} +3 -3
- package/dist/{index-CsTfXxpp.cjs → index-Bj1KWOV4.cjs} +1 -1
- package/dist/{index-Cav6G7wx.cjs → index-BkztbBWe.cjs} +1 -1
- package/dist/{index-oYE1Pl7q.cjs → index-BsAddfgC.cjs} +1 -1
- package/dist/{index-C4HycAPS.js → index-CM6vzQBx.js} +4 -4
- package/dist/{index-C-uOIDDa.js → index-Cn4bq6ZX.js} +3 -3
- package/dist/{index-BWeXujWl.js → index-CuRcxKQH.js} +3 -3
- package/dist/{index-DA7SIHV1.cjs → index-CxWXiOMf.cjs} +1 -1
- package/dist/{index-B1-PjbTA.cjs → index-D4-_TrSn.cjs} +1 -1
- package/dist/{index-CBZ-jNah.cjs → index-D4OKsSqi.cjs} +1 -1
- package/dist/{index-4wvppFLx.js → index-DB1J-G6Z.js} +2 -2
- package/dist/{index-BvMY2TbK.js → index-DEypPQRI.js} +1 -1
- package/dist/{index-CX2A-q39.cjs → index-DMbNpyIV.cjs} +1 -1
- package/dist/{index-BdKi2ogu.js → index-DMmw5Ad5.js} +1 -1
- package/dist/{index-CoQ9APCD.js → index-DdfMcHz0.js} +2 -2
- package/dist/{index-B9c6y2J5.cjs → index-DgUNsgfF.cjs} +1 -1
- package/dist/{index-BzSWu-7v.js → index-Djo0ZcRE.js} +5 -5
- package/dist/{index-uCWKRzoS.cjs → index-DkPva6Gr.cjs} +1 -1
- package/dist/{index-BEUk0FDk.js → index-Dx2hfxCG.js} +4 -4
- package/dist/{index-B_ilx3wM.cjs → index-fzBXDy05.cjs} +1 -1
- package/dist/{index-DDShXLaW.js → index-gFZSZLba.js} +6 -6
- package/dist/{index-D9fI5BvI.js → index-jGcy-5M_.js} +3 -3
- package/dist/{index-L_Va5-wK.js → index-rhYVjszT.js} +5 -5
- package/dist/{index-Dc0EEBRW.cjs → index-tdg_Vmed.cjs} +1 -1
- package/dist/{index-6RFrSPs_.js → index-vz5mtWGo.js} +5 -5
- package/dist/index.cjs +1 -1
- package/dist/index.js +6 -6
- package/dist/{react-toastify.esm-BoMuFZcq.cjs → react-toastify.esm-C6GBR4r3.cjs} +1 -1
- package/dist/{react-toastify.esm-BLQznunb.js → react-toastify.esm-CUXbGoqt.js} +1 -1
- package/dist/{style-DC05rdyx.cjs → style-Boz6dk5s.cjs} +1 -1
- package/dist/{style-Bq3rMbnN.js → style-BzaX45du.js} +2 -2
- package/dist/{style-BUyFad_y.js → style-D54KOzZj.js} +3 -3
- package/dist/{style-AYc9hnFj.cjs → style-DIWAdlai.cjs} +1 -1
- package/dist/{style-BwQ4djFC.js → style-DvkivBNg.js} +1 -1
- package/dist/{style-BAcV7F53.cjs → style-Ito6YFqi.cjs} +1 -1
- package/dist/{styled-components.browser.esm-CvykQBGY.cjs → styled-components.browser.esm-BaNxtZgB.cjs} +1 -1
- package/dist/{styled-components.browser.esm-D-n22PJk.js → styled-components.browser.esm-Cfeh8eHg.js} +1 -1
- package/dist/{tag-Bi8gg6hJ.js → tag-CHNc7DhI.js} +2 -2
- package/dist/{tag-DSnhWWHE.cjs → tag-CWcvCQcz.cjs} +1 -1
- package/dist/{theme-Befg4g_L.js → theme-mUflS4q4.js} +1 -1
- package/dist/{useDetectMobile-CcVo3PNi.js → useDetectMobile-B0Jog4jQ.js} +1 -1
- package/dist/usePopover.cjs +1 -1
- package/dist/usePopover.js +6 -6
- package/dist/{utils-B2fsQ6PS.js → utils-MoGhNMmj.js} +3 -3
- package/package.json +1 -1
- package/dist/emotion-is-prop-valid.esm-BNsx9k19.cjs +0 -1
- package/dist/emotion-is-prop-valid.esm-CbWxtx4i.js +0 -10
- package/dist/floating-ui.dom-B931An3C.js +0 -954
- package/dist/floating-ui.dom-CN4MB7mG.cjs +0 -1
- package/dist/floating-ui.react.esm-CiYofNnh.cjs +0 -4
package/dist/Kanban.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
"use strict";const ie=require("react/jsx-runtime"),d=require("react"),Jt=require("./index-
|
|
1
|
+
"use strict";const ie=require("react/jsx-runtime"),d=require("react"),Jt=require("./index-7Jsjuf-Q.cjs"),we=require("./utils-CITgSxXe.cjs"),Vr=require("./index-Bg5OOQN0.cjs"),Qt=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),Fr=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),vo=require("./KanbanCard-9Pe_tjMt.cjs"),_t=require("./_commonjsHelpers-DwTZ_eVU.cjs"),ri=require("./KanbanHeader.cjs"),oi=require("./useUpdateEffect-BtMgpgIV.cjs");var ii=function(e){d.useEffect(e,[])};function si(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.useMemo(()=>o=>{t.forEach(s=>s(o))},t)}const Gn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function en(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function zr(e){return"nodeType"in e}function Ge(e){var t,n;return e?en(e)?e:zr(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function Hr(e){const{Document:t}=Ge(e);return e instanceof t}function gn(e){return en(e)?!1:e instanceof Ge(e).HTMLElement}function bo(e){return e instanceof Ge(e).SVGElement}function tn(e){return e?en(e)?e.document:zr(e)?Hr(e)?e:gn(e)||bo(e)?e.ownerDocument:document:document:document}const gt=Gn?d.useLayoutEffect:d.useEffect;function Un(e){const t=d.useRef(e);return gt(()=>{t.current=e}),d.useCallback(function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return t.current==null?void 0:t.current(...o)},[])}function ai(){const e=d.useRef(null),t=d.useCallback((o,s)=>{e.current=setInterval(o,s)},[]),n=d.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function fn(e,t){t===void 0&&(t=[e]);const n=d.useRef(e);return gt(()=>{n.current!==e&&(n.current=e)},t),n}function hn(e,t){const n=d.useRef();return d.useMemo(()=>{const o=e(n.current);return n.current=o,o},[...t])}function Pn(e){const t=Un(e),n=d.useRef(null),o=d.useCallback(s=>{s!==n.current&&(t==null||t(s,n.current)),n.current=s},[]);return[n,o]}function jn(e){const t=d.useRef();return d.useEffect(()=>{t.current=e},[e]),t.current}let Ar={};function pn(e,t){return d.useMemo(()=>{if(t)return t;const n=Ar[e]==null?0:Ar[e]+1;return Ar[e]=n,e+"-"+n},[e,t])}function yo(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];return o.reduce((c,l)=>{const u=Object.entries(l);for(const[h,f]of u){const v=c[h];v!=null&&(c[h]=v+e*f)}return c},{...t})}}const Vt=yo(1),Bn=yo(-1);function ci(e){return"clientX"in e&&"clientY"in e}function kn(e){if(!e)return!1;const{KeyboardEvent:t}=Ge(e.target);return t&&e instanceof t}function li(e){if(!e)return!1;const{TouchEvent:t}=Ge(e.target);return t&&e instanceof t}function $n(e){if(li(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return ci(e)?{x:e.clientX,y:e.clientY}:null}const Kt=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Kt.Translate.toString(e),Kt.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:o}=e;return t+" "+n+"ms "+o}}}),Zr="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function ui(e){return e.matches(Zr)?e:e.querySelector(Zr)}const di={display:"none"};function fi(e){let{id:t,value:n}=e;return d.createElement("div",{id:t,style:di},n)}function gi(e){let{id:t,announcement:n,ariaLiveType:o="assertive"}=e;const s={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return d.createElement("div",{id:t,style:s,role:"status","aria-live":o,"aria-atomic":!0},n)}function hi(){const[e,t]=d.useState("");return{announce:d.useCallback(o=>{o!=null&&t(o)},[]),announcement:e}}const mo=d.createContext(null);function pi(e){const t=d.useContext(mo);d.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function vi(){const[e]=d.useState(()=>new Set),t=d.useCallback(o=>(e.add(o),()=>e.delete(o)),[e]);return[d.useCallback(o=>{let{type:s,event:c}=o;e.forEach(l=>{var u;return(u=l[s])==null?void 0:u.call(l,c)})},[e]),t]}const bi={draggable:`
|
|
2
2
|
To pick up a draggable item, press the space bar.
|
|
3
3
|
While dragging, use the arrow keys to move the item.
|
|
4
4
|
Press space again to drop the item in its new position, or press escape to cancel.
|
|
5
|
-
`},yi={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function mi(e){let{announcements:t=yi,container:n,hiddenTextDescribedById:o,screenReaderInstructions:s=bi}=e;const{announce:c,announcement:l}=hi(),u=pn("DndLiveRegion"),[h,f]=d.useState(!1);if(d.useEffect(()=>{f(!0)},[]),pi(d.useMemo(()=>({onDragStart(b){let{active:w}=b;c(t.onDragStart({active:w}))},onDragMove(b){let{active:w,over:x}=b;t.onDragMove&&c(t.onDragMove({active:w,over:x}))},onDragOver(b){let{active:w,over:x}=b;c(t.onDragOver({active:w,over:x}))},onDragEnd(b){let{active:w,over:x}=b;c(t.onDragEnd({active:w,over:x}))},onDragCancel(b){let{active:w,over:x}=b;c(t.onDragCancel({active:w,over:x}))}}),[c,t])),!h)return null;const v=d.createElement(d.Fragment,null,d.createElement(fi,{id:o,value:s.draggable}),d.createElement(gi,{id:u,announcement:l}));return n?Jt.reactDomExports.createPortal(v,n):v}var be;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(be||(be={}));function Fn(){}function Or(e,t){return d.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function xi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.useMemo(()=>[...t].filter(o=>o!=null),[...t])}const ht=Object.freeze({x:0,y:0});function Kr(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function wi(e,t){const n=Bn(e);if(!n)return"0 0";const o={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return o.x+"% "+o.y+"%"}function Gr(e,t){let{data:{value:n}}=e,{data:{value:o}}=t;return n-o}function Ci(e,t){let{data:{value:n}}=e,{data:{value:o}}=t;return o-n}function Nr(e){let{left:t,top:n,height:o,width:s}=e;return[{x:t,y:n},{x:t+s,y:n},{x:t,y:n+o},{x:t+s,y:n+o}]}function Ur(e,t){if(!e||e.length===0)return null;const[n]=e;return t?n[t]:n}function Qr(e,t,n){return t===void 0&&(t=e.left),n===void 0&&(n=e.top),{x:t+e.width*.5,y:n+e.height*.5}}const eo=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:o}=e;const s=Qr(t,t.left,t.top),c=[];for(const l of o){const{id:u}=l,h=n.get(u);if(h){const f=Kr(Qr(h),s);c.push({id:u,data:{droppableContainer:l,value:f}})}}return c.sort(Gr)},Si=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:o}=e;const s=Nr(t),c=[];for(const l of o){const{id:u}=l,h=n.get(u);if(h){const f=Nr(h),v=s.reduce((w,x,E)=>w+Kr(f[E],x),0),b=Number((v/4).toFixed(4));c.push({id:u,data:{droppableContainer:l,value:b}})}}return c.sort(Gr)};function _i(e,t){const n=Math.max(t.top,e.top),o=Math.max(t.left,e.left),s=Math.min(t.left+t.width,e.left+e.width),c=Math.min(t.top+t.height,e.top+e.height),l=s-o,u=c-n;if(o<s&&n<c){const h=t.width*t.height,f=e.width*e.height,v=l*u,b=v/(h+f-v);return Number(b.toFixed(4))}return 0}const xo=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:o}=e;const s=[];for(const c of o){const{id:l}=c,u=n.get(l);if(u){const h=_i(u,t);h>0&&s.push({id:l,data:{droppableContainer:c,value:h}})}}return s.sort(Ci)};function Di(e,t){const{top:n,left:o,bottom:s,right:c}=t;return n<=e.y&&e.y<=s&&o<=e.x&&e.x<=c}const Ri=e=>{let{droppableContainers:t,droppableRects:n,pointerCoordinates:o}=e;if(!o)return[];const s=[];for(const c of t){const{id:l}=c,u=n.get(l);if(u&&Di(o,u)){const f=Nr(u).reduce((b,w)=>b+Kr(o,w),0),v=Number((f/4).toFixed(4));s.push({id:l,data:{droppableContainer:c,value:v}})}}return s.sort(Gr)};function Ei(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function wo(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:ht}function Ai(e){return function(n){for(var o=arguments.length,s=new Array(o>1?o-1:0),c=1;c<o;c++)s[c-1]=arguments[c];return s.reduce((l,u)=>({...l,top:l.top+e*u.y,bottom:l.bottom+e*u.y,left:l.left+e*u.x,right:l.right+e*u.x}),{...n})}}const Oi=Ai(1);function Co(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function Ti(e,t,n){const o=Co(t);if(!o)return e;const{scaleX:s,scaleY:c,x:l,y:u}=o,h=e.left-l-(1-s)*parseFloat(n),f=e.top-u-(1-c)*parseFloat(n.slice(n.indexOf(" ")+1)),v=s?e.width/s:e.width,b=c?e.height/c:e.height;return{width:v,height:b,top:f,right:h+v,bottom:f+b,left:h}}const Ii={ignoreTransform:!1};function nn(e,t){t===void 0&&(t=Ii);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:f,transformOrigin:v}=Ge(e).getComputedStyle(e);f&&(n=Ti(n,f,v))}const{top:o,left:s,width:c,height:l,bottom:u,right:h}=n;return{top:o,left:s,width:c,height:l,bottom:u,right:h}}function to(e){return nn(e,{ignoreTransform:!0})}function Mi(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function Ni(e,t){return t===void 0&&(t=Ge(e).getComputedStyle(e)),t.position==="fixed"}function Li(e,t){t===void 0&&(t=Ge(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(s=>{const c=t[s];return typeof c=="string"?n.test(c):!1})}function kr(e,t){const n=[];function o(s){if(t!=null&&n.length>=t||!s)return n;if(Hr(s)&&s.scrollingElement!=null&&!n.includes(s.scrollingElement))return n.push(s.scrollingElement),n;if(!gn(s)||bo(s)||n.includes(s))return n;const c=Ge(e).getComputedStyle(s);return s!==e&&Li(s,c)&&n.push(s),Ni(s,c)?n:o(s.parentNode)}return e?o(e):n}function So(e){const[t]=kr(e,1);return t??null}function Tr(e){return!Gn||!e?null:en(e)?e:zr(e)?Hr(e)||e===tn(e).scrollingElement?window:gn(e)?e:null:null}function _o(e){return en(e)?e.scrollX:e.scrollLeft}function Do(e){return en(e)?e.scrollY:e.scrollTop}function Lr(e){return{x:_o(e),y:Do(e)}}var Ce;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Ce||(Ce={}));function Ro(e){return!Gn||!e?!1:e===document.scrollingElement}function Eo(e){const t={x:0,y:0},n=Ro(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},o={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},s=e.scrollTop<=t.y,c=e.scrollLeft<=t.x,l=e.scrollTop>=o.y,u=e.scrollLeft>=o.x;return{isTop:s,isLeft:c,isBottom:l,isRight:u,maxScroll:o,minScroll:t}}const Pi={x:.2,y:.2};function ji(e,t,n,o,s){let{top:c,left:l,right:u,bottom:h}=n;o===void 0&&(o=10),s===void 0&&(s=Pi);const{isTop:f,isBottom:v,isLeft:b,isRight:w}=Eo(e),x={x:0,y:0},E={x:0,y:0},C={height:t.height*s.y,width:t.width*s.x};return!f&&c<=t.top+C.height?(x.y=Ce.Backward,E.y=o*Math.abs((t.top+C.height-c)/C.height)):!v&&h>=t.bottom-C.height&&(x.y=Ce.Forward,E.y=o*Math.abs((t.bottom-C.height-h)/C.height)),!w&&u>=t.right-C.width?(x.x=Ce.Forward,E.x=o*Math.abs((t.right-C.width-u)/C.width)):!b&&l<=t.left+C.width&&(x.x=Ce.Backward,E.x=o*Math.abs((t.left+C.width-l)/C.width)),{direction:x,speed:E}}function $i(e){if(e===document.scrollingElement){const{innerWidth:c,innerHeight:l}=window;return{top:0,left:0,right:c,bottom:l,width:c,height:l}}const{top:t,left:n,right:o,bottom:s}=e.getBoundingClientRect();return{top:t,left:n,right:o,bottom:s,width:e.clientWidth,height:e.clientHeight}}function Ao(e){return e.reduce((t,n)=>Vt(t,Lr(n)),ht)}function Bi(e){return e.reduce((t,n)=>t+_o(n),0)}function Fi(e){return e.reduce((t,n)=>t+Do(n),0)}function Oo(e,t){if(t===void 0&&(t=nn),!e)return;const{top:n,left:o,bottom:s,right:c}=t(e);So(e)&&(s<=0||c<=0||n>=window.innerHeight||o>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const zi=[["x",["left","right"],Bi],["y",["top","bottom"],Fi]];class Xr{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const o=kr(n),s=Ao(o);this.rect={...t},this.width=t.width,this.height=t.height;for(const[c,l,u]of zi)for(const h of l)Object.defineProperty(this,h,{get:()=>{const f=u(o),v=s[c]-f;return this.rect[h]+v},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class cn{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var o;return(o=this.target)==null?void 0:o.removeEventListener(...n)})},this.target=t}add(t,n,o){var s;(s=this.target)==null||s.addEventListener(t,n,o),this.listeners.push([t,n,o])}}function Hi(e){const{EventTarget:t}=Ge(e);return e instanceof t?e:tn(e)}function Ir(e,t){const n=Math.abs(e.x),o=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+o**2)>t:"x"in t&&"y"in t?n>t.x&&o>t.y:"x"in t?n>t.x:"y"in t?o>t.y:!1}var ct;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(ct||(ct={}));function no(e){e.preventDefault()}function Ki(e){e.stopPropagation()}var H;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(H||(H={}));const To={start:[H.Space,H.Enter],cancel:[H.Esc],end:[H.Space,H.Enter,H.Tab]},Gi=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case H.Right:return{...n,x:n.x+25};case H.Left:return{...n,x:n.x-25};case H.Down:return{...n,y:n.y+25};case H.Up:return{...n,y:n.y-25}}};class Yr{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new cn(tn(n)),this.windowListeners=new cn(Ge(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ct.Resize,this.handleCancel),this.windowListeners.add(ct.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(ct.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,o=t.node.current;o&&Oo(o),n(ht)}handleKeyDown(t){if(kn(t)){const{active:n,context:o,options:s}=this.props,{keyboardCodes:c=To,coordinateGetter:l=Gi,scrollBehavior:u="smooth"}=s,{code:h}=t;if(c.end.includes(h)){this.handleEnd(t);return}if(c.cancel.includes(h)){this.handleCancel(t);return}const{collisionRect:f}=o.current,v=f?{x:f.left,y:f.top}:ht;this.referenceCoordinates||(this.referenceCoordinates=v);const b=l(t,{active:n,context:o.current,currentCoordinates:v});if(b){const w=$n(b,v),x={x:0,y:0},{scrollableAncestors:E}=o.current;for(const C of E){const D=t.code,{isTop:O,isRight:I,isLeft:T,isBottom:M,maxScroll:j,minScroll:N}=Eo(C),L=$i(C),B={x:Math.min(D===H.Right?L.right-L.width/2:L.right,Math.max(D===H.Right?L.left:L.left+L.width/2,b.x)),y:Math.min(D===H.Down?L.bottom-L.height/2:L.bottom,Math.max(D===H.Down?L.top:L.top+L.height/2,b.y))},X=D===H.Right&&!I||D===H.Left&&!T,Y=D===H.Down&&!M||D===H.Up&&!O;if(X&&B.x!==b.x){const K=C.scrollLeft+w.x,Q=D===H.Right&&K<=j.x||D===H.Left&&K>=N.x;if(Q&&!w.y){C.scrollTo({left:K,behavior:u});return}Q?x.x=C.scrollLeft-K:x.x=D===H.Right?C.scrollLeft-j.x:C.scrollLeft-N.x,x.x&&C.scrollBy({left:-x.x,behavior:u});break}else if(Y&&B.y!==b.y){const K=C.scrollTop+w.y,Q=D===H.Down&&K<=j.y||D===H.Up&&K>=N.y;if(Q&&!w.x){C.scrollTo({top:K,behavior:u});return}Q?x.y=C.scrollTop-K:x.y=D===H.Down?C.scrollTop-j.y:C.scrollTop-N.y,x.y&&C.scrollBy({top:-x.y,behavior:u});break}}this.handleMove(t,Vt($n(b,this.referenceCoordinates),x))}}}handleMove(t,n){const{onMove:o}=this.props;t.preventDefault(),o(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Yr.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:o=To,onActivation:s}=t,{active:c}=n;const{code:l}=e.nativeEvent;if(o.start.includes(l)){const u=c.activatorNode.current;return u&&e.target!==u?!1:(e.preventDefault(),s==null||s({event:e.nativeEvent}),!0)}return!1}}];function ro(e){return!!(e&&"distance"in e)}function oo(e){return!!(e&&"delay"in e)}class Wr{constructor(t,n,o){var s;o===void 0&&(o=Hi(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:c}=t,{target:l}=c;this.props=t,this.events=n,this.document=tn(l),this.documentListeners=new cn(this.document),this.listeners=new cn(o),this.windowListeners=new cn(Ge(l)),this.initialCoordinates=(s=Bn(c))!=null?s:ht,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:o}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(ct.Resize,this.handleCancel),this.windowListeners.add(ct.DragStart,no),this.windowListeners.add(ct.VisibilityChange,this.handleCancel),this.windowListeners.add(ct.ContextMenu,no),this.documentListeners.add(ct.Keydown,this.handleKeydown),n){if(o!=null&&o({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(oo(n)){this.timeoutId=setTimeout(this.handleStart,n.delay),this.handlePending(n);return}if(ro(n)){this.handlePending(n);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,n){const{active:o,onPending:s}=this.props;s(o,t,this.initialCoordinates,n)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(ct.Click,Ki,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ct.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:o,initialCoordinates:s,props:c}=this,{onMove:l,options:{activationConstraint:u}}=c;if(!s)return;const h=(n=Bn(t))!=null?n:ht,f=$n(s,h);if(!o&&u){if(ro(u)){if(u.tolerance!=null&&Ir(f,u.tolerance))return this.handleCancel();if(Ir(f,u.distance))return this.handleStart()}if(oo(u)&&Ir(f,u.tolerance))return this.handleCancel();this.handlePending(u,f);return}t.cancelable&&t.preventDefault(),l(h)}handleEnd(){const{onAbort:t,onEnd:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleCancel(){const{onAbort:t,onCancel:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleKeydown(t){t.code===H.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const Ui={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Io extends Wr{constructor(t){const{event:n}=t,o=tn(n.target);super(t,Ui,o)}}Io.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:o}=t;return!n.isPrimary||n.button!==0?!1:(o==null||o({event:n}),!0)}}];const ki={move:{name:"mousemove"},end:{name:"mouseup"}};var Pr;(function(e){e[e.RightClick=2]="RightClick"})(Pr||(Pr={}));class Mo extends Wr{constructor(t){super(t,ki,tn(t.event.target))}}Mo.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:o}=t;return n.button===Pr.RightClick?!1:(o==null||o({event:n}),!0)}}];const Mr={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class No extends Wr{constructor(t){super(t,Mr)}static setup(){return window.addEventListener(Mr.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(Mr.move.name,t)};function t(){}}}No.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:o}=t;const{touches:s}=n;return s.length>1?!1:(o==null||o({event:n}),!0)}}];var ln;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(ln||(ln={}));var zn;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(zn||(zn={}));function Xi(e){let{acceleration:t,activator:n=ln.Pointer,canScroll:o,draggingRect:s,enabled:c,interval:l=5,order:u=zn.TreeOrder,pointerCoordinates:h,scrollableAncestors:f,scrollableAncestorRects:v,delta:b,threshold:w}=e;const x=Wi({delta:b,disabled:!c}),[E,C]=ai(),D=d.useRef({x:0,y:0}),O=d.useRef({x:0,y:0}),I=d.useMemo(()=>{switch(n){case ln.Pointer:return h?{top:h.y,bottom:h.y,left:h.x,right:h.x}:null;case ln.DraggableRect:return s}},[n,s,h]),T=d.useRef(null),M=d.useCallback(()=>{const N=T.current;if(!N)return;const L=D.current.x*O.current.x,B=D.current.y*O.current.y;N.scrollBy(L,B)},[]),j=d.useMemo(()=>u===zn.TreeOrder?[...f].reverse():f,[u,f]);d.useEffect(()=>{if(!c||!f.length||!I){C();return}for(const N of j){if((o==null?void 0:o(N))===!1)continue;const L=f.indexOf(N),B=v[L];if(!B)continue;const{direction:X,speed:Y}=ji(N,B,I,t,w);for(const K of["x","y"])x[K][X[K]]||(Y[K]=0,X[K]=0);if(Y.x>0||Y.y>0){C(),T.current=N,E(M,l),D.current=Y,O.current=X;return}}D.current={x:0,y:0},O.current={x:0,y:0},C()},[t,M,o,C,c,l,JSON.stringify(I),JSON.stringify(x),E,f,j,v,JSON.stringify(w)])}const Yi={x:{[Ce.Backward]:!1,[Ce.Forward]:!1},y:{[Ce.Backward]:!1,[Ce.Forward]:!1}};function Wi(e){let{delta:t,disabled:n}=e;const o=jn(t);return hn(s=>{if(n||!o||!s)return Yi;const c={x:Math.sign(t.x-o.x),y:Math.sign(t.y-o.y)};return{x:{[Ce.Backward]:s.x[Ce.Backward]||c.x===-1,[Ce.Forward]:s.x[Ce.Forward]||c.x===1},y:{[Ce.Backward]:s.y[Ce.Backward]||c.y===-1,[Ce.Forward]:s.y[Ce.Forward]||c.y===1}}},[n,t,o])}function qi(e,t){const n=t!=null?e.get(t):void 0,o=n?n.node.current:null;return hn(s=>{var c;return t==null?null:(c=o??s)!=null?c:null},[o,t])}function Ji(e,t){return d.useMemo(()=>e.reduce((n,o)=>{const{sensor:s}=o,c=s.activators.map(l=>({eventName:l.eventName,handler:t(l.handler,o)}));return[...n,...c]},[]),[e,t])}var Zt;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Zt||(Zt={}));var jr;(function(e){e.Optimized="optimized"})(jr||(jr={}));const io=new Map;function Vi(e,t){let{dragging:n,dependencies:o,config:s}=t;const[c,l]=d.useState(null),{frequency:u,measure:h,strategy:f}=s,v=d.useRef(e),b=D(),w=fn(b),x=d.useCallback(function(O){O===void 0&&(O=[]),!w.current&&l(I=>I===null?O:I.concat(O.filter(T=>!I.includes(T))))},[w]),E=d.useRef(null),C=hn(O=>{if(b&&!n)return io;if(!O||O===io||v.current!==e||c!=null){const I=new Map;for(let T of e){if(!T)continue;if(c&&c.length>0&&!c.includes(T.id)&&T.rect.current){I.set(T.id,T.rect.current);continue}const M=T.node.current,j=M?new Xr(h(M),M):null;T.rect.current=j,j&&I.set(T.id,j)}return I}return O},[e,c,n,b,h]);return d.useEffect(()=>{v.current=e},[e]),d.useEffect(()=>{b||x()},[n,b]),d.useEffect(()=>{c&&c.length>0&&l(null)},[JSON.stringify(c)]),d.useEffect(()=>{b||typeof u!="number"||E.current!==null||(E.current=setTimeout(()=>{x(),E.current=null},u))},[u,b,x,...o]),{droppableRects:C,measureDroppableContainers:x,measuringScheduled:c!=null};function D(){switch(f){case Zt.Always:return!1;case Zt.BeforeDragging:return n;default:return!n}}}function qr(e,t){return hn(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function Zi(e,t){return qr(e,t)}function Qi(e){let{callback:t,disabled:n}=e;const o=Un(t),s=d.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:c}=window;return new c(o)},[o,n]);return d.useEffect(()=>()=>s==null?void 0:s.disconnect(),[s]),s}function Xn(e){let{callback:t,disabled:n}=e;const o=Un(t),s=d.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:c}=window;return new c(o)},[n]);return d.useEffect(()=>()=>s==null?void 0:s.disconnect(),[s]),s}function es(e){return new Xr(nn(e),e)}function so(e,t,n){t===void 0&&(t=es);const[o,s]=d.useState(null);function c(){s(h=>{if(!e)return null;if(e.isConnected===!1){var f;return(f=h??n)!=null?f:null}const v=t(e);return JSON.stringify(h)===JSON.stringify(v)?h:v})}const l=Qi({callback(h){if(e)for(const f of h){const{type:v,target:b}=f;if(v==="childList"&&b instanceof HTMLElement&&b.contains(e)){c();break}}}}),u=Xn({callback:c});return gt(()=>{c(),e?(u==null||u.observe(e),l==null||l.observe(document.body,{childList:!0,subtree:!0})):(u==null||u.disconnect(),l==null||l.disconnect())},[e]),o}function ts(e){const t=qr(e);return wo(e,t)}const ao=[];function ns(e){const t=d.useRef(e),n=hn(o=>e?o&&o!==ao&&e&&t.current&&e.parentNode===t.current.parentNode?o:kr(e):ao,[e]);return d.useEffect(()=>{t.current=e},[e]),n}function rs(e){const[t,n]=d.useState(null),o=d.useRef(e),s=d.useCallback(c=>{const l=Tr(c.target);l&&n(u=>u?(u.set(l,Lr(l)),new Map(u)):null)},[]);return d.useEffect(()=>{const c=o.current;if(e!==c){l(c);const u=e.map(h=>{const f=Tr(h);return f?(f.addEventListener("scroll",s,{passive:!0}),[f,Lr(f)]):null}).filter(h=>h!=null);n(u.length?new Map(u):null),o.current=e}return()=>{l(e),l(c)};function l(u){u.forEach(h=>{const f=Tr(h);f==null||f.removeEventListener("scroll",s)})}},[s,e]),d.useMemo(()=>e.length?t?Array.from(t.values()).reduce((c,l)=>Vt(c,l),ht):Ao(e):ht,[e,t])}function co(e,t){t===void 0&&(t=[]);const n=d.useRef(null);return d.useEffect(()=>{n.current=null},t),d.useEffect(()=>{const o=e!==ht;o&&!n.current&&(n.current=e),!o&&n.current&&(n.current=null)},[e]),n.current?$n(e,n.current):ht}function os(e){d.useEffect(()=>{if(!Gn)return;const t=e.map(n=>{let{sensor:o}=n;return o.setup==null?void 0:o.setup()});return()=>{for(const n of t)n==null||n()}},e.map(t=>{let{sensor:n}=t;return n}))}function is(e,t){return d.useMemo(()=>e.reduce((n,o)=>{let{eventName:s,handler:c}=o;return n[s]=l=>{c(l,t)},n},{}),[e,t])}function Lo(e){return d.useMemo(()=>e?Mi(e):null,[e])}const lo=[];function ss(e,t){t===void 0&&(t=nn);const[n]=e,o=Lo(n?Ge(n):null),[s,c]=d.useState(lo);function l(){c(()=>e.length?e.map(h=>Ro(h)?o:new Xr(t(h),h)):lo)}const u=Xn({callback:l});return gt(()=>{u==null||u.disconnect(),l(),e.forEach(h=>u==null?void 0:u.observe(h))},[e]),s}function Po(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return gn(t)?t:e}function as(e){let{measure:t}=e;const[n,o]=d.useState(null),s=d.useCallback(f=>{for(const{target:v}of f)if(gn(v)){o(b=>{const w=t(v);return b?{...b,width:w.width,height:w.height}:w});break}},[t]),c=Xn({callback:s}),l=d.useCallback(f=>{const v=Po(f);c==null||c.disconnect(),v&&(c==null||c.observe(v)),o(v?t(v):null)},[t,c]),[u,h]=Pn(l);return d.useMemo(()=>({nodeRef:u,rect:n,setRef:h}),[n,u,h])}const cs=[{sensor:Io,options:{}},{sensor:Yr,options:{}}],ls={current:{}},Ln={draggable:{measure:to},droppable:{measure:to,strategy:Zt.WhileDragging,frequency:jr.Optimized},dragOverlay:{measure:nn}};class un extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,o;return(n=(o=this.get(t))==null?void 0:o.node.current)!=null?n:void 0}}const us={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new un,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Fn},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ln,measureDroppableContainers:Fn,windowRect:null,measuringScheduled:!1},jo={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:Fn,draggableNodes:new Map,over:null,measureDroppableContainers:Fn},vn=d.createContext(jo),$o=d.createContext(us);function ds(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new un}}}function fs(e,t){switch(t.type){case be.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case be.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case be.DragEnd:case be.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case be.RegisterDroppable:{const{element:n}=t,{id:o}=n,s=new un(e.droppable.containers);return s.set(o,n),{...e,droppable:{...e.droppable,containers:s}}}case be.SetDroppableDisabled:{const{id:n,key:o,disabled:s}=t,c=e.droppable.containers.get(n);if(!c||o!==c.key)return e;const l=new un(e.droppable.containers);return l.set(n,{...c,disabled:s}),{...e,droppable:{...e.droppable,containers:l}}}case be.UnregisterDroppable:{const{id:n,key:o}=t,s=e.droppable.containers.get(n);if(!s||o!==s.key)return e;const c=new un(e.droppable.containers);return c.delete(n),{...e,droppable:{...e.droppable,containers:c}}}default:return e}}function gs(e){let{disabled:t}=e;const{active:n,activatorEvent:o,draggableNodes:s}=d.useContext(vn),c=jn(o),l=jn(n==null?void 0:n.id);return d.useEffect(()=>{if(!t&&!o&&c&&l!=null){if(!kn(c)||document.activeElement===c.target)return;const u=s.get(l);if(!u)return;const{activatorNode:h,node:f}=u;if(!h.current&&!f.current)return;requestAnimationFrame(()=>{for(const v of[h.current,f.current]){if(!v)continue;const b=ui(v);if(b){b.focus();break}}})}},[o,t,s,l,c]),null}function Bo(e,t){let{transform:n,...o}=t;return e!=null&&e.length?e.reduce((s,c)=>c({transform:s,...o}),n):n}function hs(e){return d.useMemo(()=>({draggable:{...Ln.draggable,...e==null?void 0:e.draggable},droppable:{...Ln.droppable,...e==null?void 0:e.droppable},dragOverlay:{...Ln.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function ps(e){let{activeNode:t,measure:n,initialRect:o,config:s=!0}=e;const c=d.useRef(!1),{x:l,y:u}=typeof s=="boolean"?{x:s,y:s}:s;gt(()=>{if(!l&&!u||!t){c.current=!1;return}if(c.current||!o)return;const f=t==null?void 0:t.node.current;if(!f||f.isConnected===!1)return;const v=n(f),b=wo(v,o);if(l||(b.x=0),u||(b.y=0),c.current=!0,Math.abs(b.x)>0||Math.abs(b.y)>0){const w=So(f);w&&w.scrollBy({top:b.y,left:b.x})}},[t,l,u,o,n])}const Yn=d.createContext({...ht,scaleX:1,scaleY:1});var Ht;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(Ht||(Ht={}));const vs=d.memo(function(t){var n,o,s,c;let{id:l,accessibility:u,autoScroll:h=!0,children:f,sensors:v=cs,collisionDetection:b=xo,measuring:w,modifiers:x,...E}=t;const C=d.useReducer(fs,void 0,ds),[D,O]=C,[I,T]=vi(),[M,j]=d.useState(Ht.Uninitialized),N=M===Ht.Initialized,{draggable:{active:L,nodes:B,translate:X},droppable:{containers:Y}}=D,K=L!=null?B.get(L):null,Q=d.useRef({initial:null,translated:null}),ye=d.useMemo(()=>{var J;return L!=null?{id:L,data:(J=K==null?void 0:K.data)!=null?J:ls,rect:Q}:null},[L,K]),fe=d.useRef(null),[G,Ue]=d.useState(null),[ne,tt]=d.useState(null),te=fn(E,Object.values(E)),F=pn("DndDescribedBy",l),Je=d.useMemo(()=>Y.getEnabled(),[Y]),se=hs(w),{droppableRects:re,measureDroppableContainers:ke,measuringScheduled:Oe}=Vi(Je,{dragging:N,dependencies:[X.x,X.y],config:se.droppable}),ge=qi(B,L),pt=d.useMemo(()=>ne?Bn(ne):null,[ne]),he=Fe(),Se=Zi(ge,se.draggable.measure);ps({activeNode:L!=null?B.get(L):null,config:he.layoutShiftCompensation,initialRect:Se,measure:se.draggable.measure});const U=so(ge,se.draggable.measure,Se),nt=so(ge?ge.parentElement:null),Te=d.useRef({activatorEvent:null,active:null,activeNode:ge,collisionRect:null,collisions:null,droppableRects:re,draggableNodes:B,draggingNode:null,draggingNodeRect:null,droppableContainers:Y,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),rt=Y.getNodeFor((n=Te.current.over)==null?void 0:n.id),z=as({measure:se.dragOverlay.measure}),Ve=(o=z.nodeRef.current)!=null?o:ge,Ie=N?(s=z.rect)!=null?s:U:null,vt=!!(z.nodeRef.current&&z.rect),_e=ts(vt?null:U),S=Lo(Ve?Ge(Ve):null),m=ns(N?rt??ge:null),$=ss(m),W=Bo(x,{transform:{x:X.x-_e.x,y:X.y-_e.y,scaleX:1,scaleY:1},activatorEvent:ne,active:ye,activeNodeRect:U,containerNodeRect:nt,draggingNodeRect:Ie,over:Te.current.over,overlayNodeRect:z.rect,scrollableAncestors:m,scrollableAncestorRects:$,windowRect:S}),Z=pt?Vt(pt,X):null,q=rs(m),ee=co(q),Me=co(q,[U]),ce=Vt(W,ee),le=Ie?Oi(Ie,W):null,Be=ye&&le?b({active:ye,collisionRect:le,droppableRects:re,droppableContainers:Je,pointerCoordinates:Z}):null,Xe=Ur(Be,"id"),[oe,bt]=d.useState(null),ae=vt?W:Vt(W,Me),ue=Ei(ae,(c=oe==null?void 0:oe.rect)!=null?c:null,U),Ne=d.useRef(null),Dt=d.useCallback((J,De)=>{let{sensor:me,options:Ze}=De;if(fe.current==null)return;const Le=B.get(fe.current);if(!Le)return;const Re=J.nativeEvent,ze=new me({active:fe.current,activeNode:Le,event:Re,options:Ze,context:Te,onAbort(V){if(!B.get(V))return;const{onDragAbort:je}=te.current,He={id:V};je==null||je(He),I({type:"onDragAbort",event:He})},onPending(V,Pe,je,He){if(!B.get(V))return;const{onDragPending:Qe}=te.current,de={id:V,constraint:Pe,initialCoordinates:je,offset:He};Qe==null||Qe(de),I({type:"onDragPending",event:de})},onStart(V){const Pe=fe.current;if(Pe==null)return;const je=B.get(Pe);if(!je)return;const{onDragStart:He}=te.current,ut={activatorEvent:Re,active:{id:Pe,data:je.data,rect:Q}};Jt.reactDomExports.unstable_batchedUpdates(()=>{He==null||He(ut),j(Ht.Initializing),O({type:be.DragStart,initialCoordinates:V,active:Pe}),I({type:"onDragStart",event:ut}),Ue(Ne.current),tt(Re)})},onMove(V){O({type:be.DragMove,coordinates:V})},onEnd:lt(be.DragEnd),onCancel:lt(be.DragCancel)});Ne.current=ze;function lt(V){return async function(){const{active:je,collisions:He,over:ut,scrollAdjustedTranslate:Qe}=Te.current;let de=null;if(je&&Qe){const{cancelDrop:Rt}=te.current;de={activatorEvent:Re,active:je,collisions:He,delta:Qe,over:ut},V===be.DragEnd&&typeof Rt=="function"&&await Promise.resolve(Rt(de))&&(V=be.DragCancel)}fe.current=null,Jt.reactDomExports.unstable_batchedUpdates(()=>{O({type:V}),j(Ht.Uninitialized),bt(null),Ue(null),tt(null),Ne.current=null;const Rt=V===be.DragEnd?"onDragEnd":"onDragCancel";if(de){const Gt=te.current[Rt];Gt==null||Gt(de),I({type:Rt,event:de})}})}}},[B]),yt=d.useCallback((J,De)=>(me,Ze)=>{const Le=me.nativeEvent,Re=B.get(Ze);if(fe.current!==null||!Re||Le.dndKit||Le.defaultPrevented)return;const ze={active:Re};J(me,De.options,ze)===!0&&(Le.dndKit={capturedBy:De.sensor},fe.current=Ze,Dt(me,De))},[B,Dt]),ot=Ji(v,yt);os(v),gt(()=>{U&&M===Ht.Initializing&&j(Ht.Initialized)},[U,M]),d.useEffect(()=>{const{onDragMove:J}=te.current,{active:De,activatorEvent:me,collisions:Ze,over:Le}=Te.current;if(!De||!me)return;const Re={active:De,activatorEvent:me,collisions:Ze,delta:{x:ce.x,y:ce.y},over:Le};Jt.reactDomExports.unstable_batchedUpdates(()=>{J==null||J(Re),I({type:"onDragMove",event:Re})})},[ce.x,ce.y]),d.useEffect(()=>{const{active:J,activatorEvent:De,collisions:me,droppableContainers:Ze,scrollAdjustedTranslate:Le}=Te.current;if(!J||fe.current==null||!De||!Le)return;const{onDragOver:Re}=te.current,ze=Ze.get(Xe),lt=ze&&ze.rect.current?{id:ze.id,rect:ze.rect.current,data:ze.data,disabled:ze.disabled}:null,V={active:J,activatorEvent:De,collisions:me,delta:{x:Le.x,y:Le.y},over:lt};Jt.reactDomExports.unstable_batchedUpdates(()=>{bt(lt),Re==null||Re(V),I({type:"onDragOver",event:V})})},[Xe]),gt(()=>{Te.current={activatorEvent:ne,active:ye,activeNode:ge,collisionRect:le,collisions:Be,droppableRects:re,draggableNodes:B,draggingNode:Ve,draggingNodeRect:Ie,droppableContainers:Y,over:oe,scrollableAncestors:m,scrollAdjustedTranslate:ce},Q.current={initial:Ie,translated:le}},[ye,ge,Be,le,B,Ve,Ie,re,Y,oe,m,ce]),Xi({...he,delta:X,draggingRect:le,pointerCoordinates:Z,scrollableAncestors:m,scrollableAncestorRects:$});const Nt=d.useMemo(()=>({active:ye,activeNode:ge,activeNodeRect:U,activatorEvent:ne,collisions:Be,containerNodeRect:nt,dragOverlay:z,draggableNodes:B,droppableContainers:Y,droppableRects:re,over:oe,measureDroppableContainers:ke,scrollableAncestors:m,scrollableAncestorRects:$,measuringConfiguration:se,measuringScheduled:Oe,windowRect:S}),[ye,ge,U,ne,Be,nt,z,B,Y,re,oe,ke,m,$,se,Oe,S]),Lt=d.useMemo(()=>({activatorEvent:ne,activators:ot,active:ye,activeNodeRect:U,ariaDescribedById:{draggable:F},dispatch:O,draggableNodes:B,over:oe,measureDroppableContainers:ke}),[ne,ot,ye,U,O,F,B,oe,ke]);return d.createElement(mo.Provider,{value:T},d.createElement(vn.Provider,{value:Lt},d.createElement($o.Provider,{value:Nt},d.createElement(Yn.Provider,{value:ue},f)),d.createElement(gs,{disabled:(u==null?void 0:u.restoreFocus)===!1})),d.createElement(mi,{...u,hiddenTextDescribedById:F}));function Fe(){const J=(G==null?void 0:G.autoScrollEnabled)===!1,De=typeof h=="object"?h.enabled===!1:h===!1,me=N&&!J&&!De;return typeof h=="object"?{...h,enabled:me}:{enabled:me}}}),bs=d.createContext(null),uo="button",ys="Draggable";function ms(e){let{id:t,data:n,disabled:o=!1,attributes:s}=e;const c=pn(ys),{activators:l,activatorEvent:u,active:h,activeNodeRect:f,ariaDescribedById:v,draggableNodes:b,over:w}=d.useContext(vn),{role:x=uo,roleDescription:E="draggable",tabIndex:C=0}=s??{},D=(h==null?void 0:h.id)===t,O=d.useContext(D?Yn:bs),[I,T]=Pn(),[M,j]=Pn(),N=is(l,t),L=fn(n);gt(()=>(b.set(t,{id:t,key:c,node:I,activatorNode:M,data:L}),()=>{const X=b.get(t);X&&X.key===c&&b.delete(t)}),[b,t]);const B=d.useMemo(()=>({role:x,tabIndex:C,"aria-disabled":o,"aria-pressed":D&&x===uo?!0:void 0,"aria-roledescription":E,"aria-describedby":v.draggable}),[o,x,C,D,E,v.draggable]);return{active:h,activatorEvent:u,activeNodeRect:f,attributes:B,isDragging:D,listeners:o?void 0:N,node:I,over:w,setNodeRef:T,setActivatorNodeRef:j,transform:O}}function Fo(){return d.useContext($o)}const xs="Droppable",ws={timeout:25};function Cs(e){let{data:t,disabled:n=!1,id:o,resizeObserverConfig:s}=e;const c=pn(xs),{active:l,dispatch:u,over:h,measureDroppableContainers:f}=d.useContext(vn),v=d.useRef({disabled:n}),b=d.useRef(!1),w=d.useRef(null),x=d.useRef(null),{disabled:E,updateMeasurementsFor:C,timeout:D}={...ws,...s},O=fn(C??o),I=d.useCallback(()=>{if(!b.current){b.current=!0;return}x.current!=null&&clearTimeout(x.current),x.current=setTimeout(()=>{f(Array.isArray(O.current)?O.current:[O.current]),x.current=null},D)},[D]),T=Xn({callback:I,disabled:E||!l}),M=d.useCallback((B,X)=>{T&&(X&&(T.unobserve(X),b.current=!1),B&&T.observe(B))},[T]),[j,N]=Pn(M),L=fn(t);return d.useEffect(()=>{!T||!j.current||(T.disconnect(),b.current=!1,T.observe(j.current))},[j,T]),d.useEffect(()=>(u({type:be.RegisterDroppable,element:{id:o,key:c,disabled:n,node:j,rect:w,data:L}}),()=>u({type:be.UnregisterDroppable,key:c,id:o})),[o]),d.useEffect(()=>{n!==v.current.disabled&&(u({type:be.SetDroppableDisabled,id:o,key:c,disabled:n}),v.current.disabled=n)},[o,c,n,u]),{active:l,rect:w,isOver:(h==null?void 0:h.id)===o,node:j,over:h,setNodeRef:N}}function Ss(e){let{animation:t,children:n}=e;const[o,s]=d.useState(null),[c,l]=d.useState(null),u=jn(n);return!n&&!o&&u&&s(u),gt(()=>{if(!c)return;const h=o==null?void 0:o.key,f=o==null?void 0:o.props.id;if(h==null||f==null){s(null);return}Promise.resolve(t(f,c)).then(()=>{s(null)})},[t,o,c]),d.createElement(d.Fragment,null,n,o?d.cloneElement(o,{ref:l}):null)}const _s={x:0,y:0,scaleX:1,scaleY:1};function Ds(e){let{children:t}=e;return d.createElement(vn.Provider,{value:jo},d.createElement(Yn.Provider,{value:_s},t))}const Rs={position:"fixed",touchAction:"none"},Es=e=>kn(e)?"transform 250ms ease":void 0,As=d.forwardRef((e,t)=>{let{as:n,activatorEvent:o,adjustScale:s,children:c,className:l,rect:u,style:h,transform:f,transition:v=Es}=e;if(!u)return null;const b=s?f:{...f,scaleX:1,scaleY:1},w={...Rs,width:u.width,height:u.height,top:u.top,left:u.left,transform:Kt.Transform.toString(b),transformOrigin:s&&o?wi(o,u):void 0,transition:typeof v=="function"?v(o):v,...h};return d.createElement(n,{className:l,style:w,ref:t},c)}),zo=e=>t=>{let{active:n,dragOverlay:o}=t;const s={},{styles:c,className:l}=e;if(c!=null&&c.active)for(const[u,h]of Object.entries(c.active))h!==void 0&&(s[u]=n.node.style.getPropertyValue(u),n.node.style.setProperty(u,h));if(c!=null&&c.dragOverlay)for(const[u,h]of Object.entries(c.dragOverlay))h!==void 0&&o.node.style.setProperty(u,h);return l!=null&&l.active&&n.node.classList.add(l.active),l!=null&&l.dragOverlay&&o.node.classList.add(l.dragOverlay),function(){for(const[h,f]of Object.entries(s))n.node.style.setProperty(h,f);l!=null&&l.active&&n.node.classList.remove(l.active)}},Os=e=>{let{transform:{initial:t,final:n}}=e;return[{transform:Kt.Transform.toString(t)},{transform:Kt.Transform.toString(n)}]},Ts={duration:250,easing:"ease",keyframes:Os,sideEffects:zo({styles:{active:{opacity:"0"}}})};function Is(e){let{config:t,draggableNodes:n,droppableContainers:o,measuringConfiguration:s}=e;return Un((c,l)=>{if(t===null)return;const u=n.get(c);if(!u)return;const h=u.node.current;if(!h)return;const f=Po(l);if(!f)return;const{transform:v}=Ge(l).getComputedStyle(l),b=Co(v);if(!b)return;const w=typeof t=="function"?t:Ms(t);return Oo(h,s.draggable.measure),w({active:{id:c,data:u.data,node:h,rect:s.draggable.measure(h)},draggableNodes:n,dragOverlay:{node:l,rect:s.dragOverlay.measure(f)},droppableContainers:o,measuringConfiguration:s,transform:b})})}function Ms(e){const{duration:t,easing:n,sideEffects:o,keyframes:s}={...Ts,...e};return c=>{let{active:l,dragOverlay:u,transform:h,...f}=c;if(!t)return;const v={x:u.rect.left-l.rect.left,y:u.rect.top-l.rect.top},b={scaleX:h.scaleX!==1?l.rect.width*h.scaleX/u.rect.width:1,scaleY:h.scaleY!==1?l.rect.height*h.scaleY/u.rect.height:1},w={x:h.x-v.x,y:h.y-v.y,...b},x=s({...f,active:l,dragOverlay:u,transform:{initial:h,final:w}}),[E]=x,C=x[x.length-1];if(JSON.stringify(E)===JSON.stringify(C))return;const D=o==null?void 0:o({active:l,dragOverlay:u,...f}),O=u.node.animate(x,{duration:t,easing:n,fill:"forwards"});return new Promise(I=>{O.onfinish=()=>{D==null||D(),I()}})}}let fo=0;function Ns(e){return d.useMemo(()=>{if(e!=null)return fo++,fo},[e])}const Ls=d.memo(e=>{let{adjustScale:t=!1,children:n,dropAnimation:o,style:s,transition:c,modifiers:l,wrapperElement:u="div",className:h,zIndex:f=999}=e;const{activatorEvent:v,active:b,activeNodeRect:w,containerNodeRect:x,draggableNodes:E,droppableContainers:C,dragOverlay:D,over:O,measuringConfiguration:I,scrollableAncestors:T,scrollableAncestorRects:M,windowRect:j}=Fo(),N=d.useContext(Yn),L=Ns(b==null?void 0:b.id),B=Bo(l,{activatorEvent:v,active:b,activeNodeRect:w,containerNodeRect:x,draggingNodeRect:D.rect,over:O,overlayNodeRect:D.rect,scrollableAncestors:T,scrollableAncestorRects:M,transform:N,windowRect:j}),X=qr(w),Y=Is({config:o,draggableNodes:E,droppableContainers:C,measuringConfiguration:I}),K=X?D.setRef:void 0;return d.createElement(Ds,null,d.createElement(Ss,{animation:Y},b&&L?d.createElement(As,{key:L,id:b.id,ref:K,as:u,activatorEvent:v,adjustScale:t,className:h,transition:c,rect:X,style:{zIndex:f,...s},transform:B},n):null))});function dn(e,t,n){const o=e.slice();return o.splice(n<0?o.length+n:n,0,o.splice(t,1)[0]),o}function Ps(e,t){return e.reduce((n,o,s)=>{const c=t.get(o);return c&&(n[s]=c),n},Array(e.length))}function In(e){return e!==null&&e>=0}function js(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function $s(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const Mn={scaleX:1,scaleY:1},Bs=e=>{var t;let{rects:n,activeNodeRect:o,activeIndex:s,overIndex:c,index:l}=e;const u=(t=n[s])!=null?t:o;if(!u)return null;const h=Fs(n,l,s);if(l===s){const f=n[c];return f?{x:s<c?f.left+f.width-(u.left+u.width):f.left-u.left,y:0,...Mn}:null}return l>s&&l<=c?{x:-u.width-h,y:0,...Mn}:l<s&&l>=c?{x:u.width+h,y:0,...Mn}:{x:0,y:0,...Mn}};function Fs(e,t,n){const o=e[t],s=e[t-1],c=e[t+1];return!o||!s&&!c?0:n<t?s?o.left-(s.left+s.width):c.left-(o.left+o.width):c?c.left-(o.left+o.width):o.left-(s.left+s.width)}const Ho=e=>{let{rects:t,activeIndex:n,overIndex:o,index:s}=e;const c=dn(t,o,n),l=t[s],u=c[s];return!u||!l?null:{x:u.left-l.left,y:u.top-l.top,scaleX:u.width/l.width,scaleY:u.height/l.height}},Nn={scaleX:1,scaleY:1},go=e=>{var t;let{activeIndex:n,activeNodeRect:o,index:s,rects:c,overIndex:l}=e;const u=(t=c[n])!=null?t:o;if(!u)return null;if(s===n){const f=c[l];return f?{x:0,y:n<l?f.top+f.height-(u.top+u.height):f.top-u.top,...Nn}:null}const h=zs(c,s,n);return s>n&&s<=l?{x:0,y:-u.height-h,...Nn}:s<n&&s>=l?{x:0,y:u.height+h,...Nn}:{x:0,y:0,...Nn}};function zs(e,t,n){const o=e[t],s=e[t-1],c=e[t+1];return o?n<t?s?o.top-(s.top+s.height):c?c.top-(o.top+o.height):0:c?c.top-(o.top+o.height):s?o.top-(s.top+s.height):0:0}const Ko="Sortable",Go=d.createContext({activeIndex:-1,containerId:Ko,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:Ho,disabled:{draggable:!1,droppable:!1}});function ho(e){let{children:t,id:n,items:o,strategy:s=Ho,disabled:c=!1}=e;const{active:l,dragOverlay:u,droppableRects:h,over:f,measureDroppableContainers:v}=Fo(),b=pn(Ko,n),w=u.rect!==null,x=d.useMemo(()=>o.map(N=>typeof N=="object"&&"id"in N?N.id:N),[o]),E=l!=null,C=l?x.indexOf(l.id):-1,D=f?x.indexOf(f.id):-1,O=d.useRef(x),I=!js(x,O.current),T=D!==-1&&C===-1||I,M=$s(c);gt(()=>{I&&E&&v(x)},[I,x,E,v]),d.useEffect(()=>{O.current=x},[x]);const j=d.useMemo(()=>({activeIndex:C,containerId:b,disabled:M,disableTransforms:T,items:x,overIndex:D,useDragOverlay:w,sortedRects:Ps(x,h),strategy:s}),[C,b,M.draggable,M.droppable,T,x,D,h,w,s]);return d.createElement(Go.Provider,{value:j},t)}const Hs=e=>{let{id:t,items:n,activeIndex:o,overIndex:s}=e;return dn(n,o,s).indexOf(t)},Uo=e=>{let{containerId:t,isSorting:n,wasDragging:o,index:s,items:c,newIndex:l,previousItems:u,previousContainerId:h,transition:f}=e;return!f||!o||u!==c&&s===l?!1:n?!0:l!==s&&t===h},Ks={duration:200,easing:"ease"},ko="transform",Gs=Kt.Transition.toString({property:ko,duration:0,easing:"linear"}),Us={roleDescription:"sortable"};function ks(e){let{disabled:t,index:n,node:o,rect:s}=e;const[c,l]=d.useState(null),u=d.useRef(n);return gt(()=>{if(!t&&n!==u.current&&o.current){const h=s.current;if(h){const f=nn(o.current,{ignoreTransform:!0}),v={x:h.left-f.left,y:h.top-f.top,scaleX:h.width/f.width,scaleY:h.height/f.height};(v.x||v.y)&&l(v)}}n!==u.current&&(u.current=n)},[t,n,o,s]),d.useEffect(()=>{c&&l(null)},[c]),c}function Xo(e){let{animateLayoutChanges:t=Uo,attributes:n,disabled:o,data:s,getNewIndex:c=Hs,id:l,strategy:u,resizeObserverConfig:h,transition:f=Ks}=e;const{items:v,containerId:b,activeIndex:w,disabled:x,disableTransforms:E,sortedRects:C,overIndex:D,useDragOverlay:O,strategy:I}=d.useContext(Go),T=Xs(o,x),M=v.indexOf(l),j=d.useMemo(()=>({sortable:{containerId:b,index:M,items:v},...s}),[b,s,M,v]),N=d.useMemo(()=>v.slice(v.indexOf(l)),[v,l]),{rect:L,node:B,isOver:X,setNodeRef:Y}=Cs({id:l,data:j,disabled:T.droppable,resizeObserverConfig:{updateMeasurementsFor:N,...h}}),{active:K,activatorEvent:Q,activeNodeRect:ye,attributes:fe,setNodeRef:G,listeners:Ue,isDragging:ne,over:tt,setActivatorNodeRef:te,transform:F}=ms({id:l,data:j,attributes:{...Us,...n},disabled:T.draggable}),Je=si(Y,G),se=!!K,re=se&&!E&&In(w)&&In(D),ke=!O&&ne,Oe=ke&&re?F:null,pt=re?Oe??(u??I)({rects:C,activeNodeRect:ye,activeIndex:w,overIndex:D,index:M}):null,he=In(w)&&In(D)?c({id:l,items:v,activeIndex:w,overIndex:D}):M,Se=K==null?void 0:K.id,U=d.useRef({activeId:Se,items:v,newIndex:he,containerId:b}),nt=v!==U.current.items,Te=t({active:K,containerId:b,isDragging:ne,isSorting:se,id:l,index:M,items:v,newIndex:U.current.newIndex,previousItems:U.current.items,previousContainerId:U.current.containerId,transition:f,wasDragging:U.current.activeId!=null}),rt=ks({disabled:!Te,index:M,node:B,rect:L});return d.useEffect(()=>{se&&U.current.newIndex!==he&&(U.current.newIndex=he),b!==U.current.containerId&&(U.current.containerId=b),v!==U.current.items&&(U.current.items=v)},[se,he,b,v]),d.useEffect(()=>{if(Se===U.current.activeId)return;if(Se&&!U.current.activeId){U.current.activeId=Se;return}const Ve=setTimeout(()=>{U.current.activeId=Se},50);return()=>clearTimeout(Ve)},[Se]),{active:K,activeIndex:w,attributes:fe,data:j,rect:L,index:M,newIndex:he,items:v,isOver:X,isSorting:se,isDragging:ne,listeners:Ue,node:B,overIndex:D,over:tt,setNodeRef:Je,setActivatorNodeRef:te,setDroppableNodeRef:Y,setDraggableNodeRef:G,transform:rt??pt,transition:z()};function z(){if(rt||nt&&U.current.newIndex===M)return Gs;if(!(ke&&!kn(Q)||!f)&&(se||Te))return Kt.Transition.toString({...f,property:ko})}}function Xs(e,t){var n,o;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e==null?void 0:e.draggable)!=null?n:t.draggable,droppable:(o=e==null?void 0:e.droppable)!=null?o:t.droppable}}H.Down,H.Right,H.Up,H.Left;const Ys=e=>e;function po(e,t=Ys){return[...new Array(e)].map((n,o)=>t(o))}const Ws=[H.Down,H.Right,H.Up,H.Left],qs=(e,{context:{active:t,droppableRects:n,droppableContainers:o,collisionRect:s}})=>{var c;if(Ws.includes(e.code)){if(e.preventDefault(),!t||!s)return;const l=[];o.getEnabled().forEach(f=>{var w;if(!f||f!=null&&f.disabled)return;const v=n.get(f.id);if(!v)return;const b=f.data.current;if(b){const{type:x,children:E}=b;if(x==="container"&&(E==null?void 0:E.length)>0&&((w=t.data.current)==null?void 0:w.type)!=="container")return}switch(e.code){case H.Down:s.top<v.top&&l.push(f);break;case H.Up:s.top>v.top&&l.push(f);break;case H.Left:s.left>=v.left+v.width&&l.push(f);break;case H.Right:s.left+s.width<=v.left&&l.push(f);break}});const u=Si({collisionRect:s,droppableRects:n,droppableContainers:l}),h=Ur(u,"id");if(h!=null){const f=o.get(h),v=f==null?void 0:f.node.current,b=f==null?void 0:f.rect.current;if(v&&b)return f.id==="placeholder"?{x:b.left+(b.width-s.width)/2,y:b.top+(b.height-s.height)/2}:((c=f.data.current)==null?void 0:c.type)==="container"?{x:b.left+20,y:b.top+74}:{x:b.left,y:b.top}}}},Js="_Wrapper_37o6x_33",Vs="_fadeIn_37o6x_41",Zs="_dragOverlay_37o6x_44",Qs="_Item_37o6x_53",ea="_withHandle_37o6x_79",ta="_dragging_37o6x_83",na="_disabled_37o6x_91",ra="_color_37o6x_110",oa="_Actions_37o6x_129",ft={Wrapper:Js,fadeIn:Vs,dragOverlay:Zs,Item:Qs,withHandle:ea,dragging:ta,disabled:na,color:ra,Actions:oa},ia=Qt.styled.div`
|
|
5
|
+
`},yi={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function mi(e){let{announcements:t=yi,container:n,hiddenTextDescribedById:o,screenReaderInstructions:s=bi}=e;const{announce:c,announcement:l}=hi(),u=pn("DndLiveRegion"),[h,f]=d.useState(!1);if(d.useEffect(()=>{f(!0)},[]),pi(d.useMemo(()=>({onDragStart(b){let{active:w}=b;c(t.onDragStart({active:w}))},onDragMove(b){let{active:w,over:x}=b;t.onDragMove&&c(t.onDragMove({active:w,over:x}))},onDragOver(b){let{active:w,over:x}=b;c(t.onDragOver({active:w,over:x}))},onDragEnd(b){let{active:w,over:x}=b;c(t.onDragEnd({active:w,over:x}))},onDragCancel(b){let{active:w,over:x}=b;c(t.onDragCancel({active:w,over:x}))}}),[c,t])),!h)return null;const v=d.createElement(d.Fragment,null,d.createElement(fi,{id:o,value:s.draggable}),d.createElement(gi,{id:u,announcement:l}));return n?Jt.reactDomExports.createPortal(v,n):v}var be;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(be||(be={}));function Fn(){}function Or(e,t){return d.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function xi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.useMemo(()=>[...t].filter(o=>o!=null),[...t])}const ht=Object.freeze({x:0,y:0});function Kr(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function wi(e,t){const n=$n(e);if(!n)return"0 0";const o={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return o.x+"% "+o.y+"%"}function Gr(e,t){let{data:{value:n}}=e,{data:{value:o}}=t;return n-o}function Ci(e,t){let{data:{value:n}}=e,{data:{value:o}}=t;return o-n}function Nr(e){let{left:t,top:n,height:o,width:s}=e;return[{x:t,y:n},{x:t+s,y:n},{x:t,y:n+o},{x:t+s,y:n+o}]}function Ur(e,t){if(!e||e.length===0)return null;const[n]=e;return t?n[t]:n}function Qr(e,t,n){return t===void 0&&(t=e.left),n===void 0&&(n=e.top),{x:t+e.width*.5,y:n+e.height*.5}}const eo=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:o}=e;const s=Qr(t,t.left,t.top),c=[];for(const l of o){const{id:u}=l,h=n.get(u);if(h){const f=Kr(Qr(h),s);c.push({id:u,data:{droppableContainer:l,value:f}})}}return c.sort(Gr)},Si=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:o}=e;const s=Nr(t),c=[];for(const l of o){const{id:u}=l,h=n.get(u);if(h){const f=Nr(h),v=s.reduce((w,x,E)=>w+Kr(f[E],x),0),b=Number((v/4).toFixed(4));c.push({id:u,data:{droppableContainer:l,value:b}})}}return c.sort(Gr)};function _i(e,t){const n=Math.max(t.top,e.top),o=Math.max(t.left,e.left),s=Math.min(t.left+t.width,e.left+e.width),c=Math.min(t.top+t.height,e.top+e.height),l=s-o,u=c-n;if(o<s&&n<c){const h=t.width*t.height,f=e.width*e.height,v=l*u,b=v/(h+f-v);return Number(b.toFixed(4))}return 0}const xo=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:o}=e;const s=[];for(const c of o){const{id:l}=c,u=n.get(l);if(u){const h=_i(u,t);h>0&&s.push({id:l,data:{droppableContainer:c,value:h}})}}return s.sort(Ci)};function Di(e,t){const{top:n,left:o,bottom:s,right:c}=t;return n<=e.y&&e.y<=s&&o<=e.x&&e.x<=c}const Ri=e=>{let{droppableContainers:t,droppableRects:n,pointerCoordinates:o}=e;if(!o)return[];const s=[];for(const c of t){const{id:l}=c,u=n.get(l);if(u&&Di(o,u)){const f=Nr(u).reduce((b,w)=>b+Kr(o,w),0),v=Number((f/4).toFixed(4));s.push({id:l,data:{droppableContainer:c,value:v}})}}return s.sort(Gr)};function Ei(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function wo(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:ht}function Ai(e){return function(n){for(var o=arguments.length,s=new Array(o>1?o-1:0),c=1;c<o;c++)s[c-1]=arguments[c];return s.reduce((l,u)=>({...l,top:l.top+e*u.y,bottom:l.bottom+e*u.y,left:l.left+e*u.x,right:l.right+e*u.x}),{...n})}}const Oi=Ai(1);function Co(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function Ti(e,t,n){const o=Co(t);if(!o)return e;const{scaleX:s,scaleY:c,x:l,y:u}=o,h=e.left-l-(1-s)*parseFloat(n),f=e.top-u-(1-c)*parseFloat(n.slice(n.indexOf(" ")+1)),v=s?e.width/s:e.width,b=c?e.height/c:e.height;return{width:v,height:b,top:f,right:h+v,bottom:f+b,left:h}}const Ii={ignoreTransform:!1};function nn(e,t){t===void 0&&(t=Ii);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:f,transformOrigin:v}=Ge(e).getComputedStyle(e);f&&(n=Ti(n,f,v))}const{top:o,left:s,width:c,height:l,bottom:u,right:h}=n;return{top:o,left:s,width:c,height:l,bottom:u,right:h}}function to(e){return nn(e,{ignoreTransform:!0})}function Mi(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function Ni(e,t){return t===void 0&&(t=Ge(e).getComputedStyle(e)),t.position==="fixed"}function Li(e,t){t===void 0&&(t=Ge(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(s=>{const c=t[s];return typeof c=="string"?n.test(c):!1})}function kr(e,t){const n=[];function o(s){if(t!=null&&n.length>=t||!s)return n;if(Hr(s)&&s.scrollingElement!=null&&!n.includes(s.scrollingElement))return n.push(s.scrollingElement),n;if(!gn(s)||bo(s)||n.includes(s))return n;const c=Ge(e).getComputedStyle(s);return s!==e&&Li(s,c)&&n.push(s),Ni(s,c)?n:o(s.parentNode)}return e?o(e):n}function So(e){const[t]=kr(e,1);return t??null}function Tr(e){return!Gn||!e?null:en(e)?e:zr(e)?Hr(e)||e===tn(e).scrollingElement?window:gn(e)?e:null:null}function _o(e){return en(e)?e.scrollX:e.scrollLeft}function Do(e){return en(e)?e.scrollY:e.scrollTop}function Lr(e){return{x:_o(e),y:Do(e)}}var Ce;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Ce||(Ce={}));function Ro(e){return!Gn||!e?!1:e===document.scrollingElement}function Eo(e){const t={x:0,y:0},n=Ro(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},o={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},s=e.scrollTop<=t.y,c=e.scrollLeft<=t.x,l=e.scrollTop>=o.y,u=e.scrollLeft>=o.x;return{isTop:s,isLeft:c,isBottom:l,isRight:u,maxScroll:o,minScroll:t}}const Pi={x:.2,y:.2};function ji(e,t,n,o,s){let{top:c,left:l,right:u,bottom:h}=n;o===void 0&&(o=10),s===void 0&&(s=Pi);const{isTop:f,isBottom:v,isLeft:b,isRight:w}=Eo(e),x={x:0,y:0},E={x:0,y:0},C={height:t.height*s.y,width:t.width*s.x};return!f&&c<=t.top+C.height?(x.y=Ce.Backward,E.y=o*Math.abs((t.top+C.height-c)/C.height)):!v&&h>=t.bottom-C.height&&(x.y=Ce.Forward,E.y=o*Math.abs((t.bottom-C.height-h)/C.height)),!w&&u>=t.right-C.width?(x.x=Ce.Forward,E.x=o*Math.abs((t.right-C.width-u)/C.width)):!b&&l<=t.left+C.width&&(x.x=Ce.Backward,E.x=o*Math.abs((t.left+C.width-l)/C.width)),{direction:x,speed:E}}function Bi(e){if(e===document.scrollingElement){const{innerWidth:c,innerHeight:l}=window;return{top:0,left:0,right:c,bottom:l,width:c,height:l}}const{top:t,left:n,right:o,bottom:s}=e.getBoundingClientRect();return{top:t,left:n,right:o,bottom:s,width:e.clientWidth,height:e.clientHeight}}function Ao(e){return e.reduce((t,n)=>Vt(t,Lr(n)),ht)}function $i(e){return e.reduce((t,n)=>t+_o(n),0)}function Fi(e){return e.reduce((t,n)=>t+Do(n),0)}function Oo(e,t){if(t===void 0&&(t=nn),!e)return;const{top:n,left:o,bottom:s,right:c}=t(e);So(e)&&(s<=0||c<=0||n>=window.innerHeight||o>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const zi=[["x",["left","right"],$i],["y",["top","bottom"],Fi]];class Xr{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const o=kr(n),s=Ao(o);this.rect={...t},this.width=t.width,this.height=t.height;for(const[c,l,u]of zi)for(const h of l)Object.defineProperty(this,h,{get:()=>{const f=u(o),v=s[c]-f;return this.rect[h]+v},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class cn{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var o;return(o=this.target)==null?void 0:o.removeEventListener(...n)})},this.target=t}add(t,n,o){var s;(s=this.target)==null||s.addEventListener(t,n,o),this.listeners.push([t,n,o])}}function Hi(e){const{EventTarget:t}=Ge(e);return e instanceof t?e:tn(e)}function Ir(e,t){const n=Math.abs(e.x),o=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+o**2)>t:"x"in t&&"y"in t?n>t.x&&o>t.y:"x"in t?n>t.x:"y"in t?o>t.y:!1}var ct;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(ct||(ct={}));function no(e){e.preventDefault()}function Ki(e){e.stopPropagation()}var H;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(H||(H={}));const To={start:[H.Space,H.Enter],cancel:[H.Esc],end:[H.Space,H.Enter,H.Tab]},Gi=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case H.Right:return{...n,x:n.x+25};case H.Left:return{...n,x:n.x-25};case H.Down:return{...n,y:n.y+25};case H.Up:return{...n,y:n.y-25}}};class Yr{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new cn(tn(n)),this.windowListeners=new cn(Ge(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ct.Resize,this.handleCancel),this.windowListeners.add(ct.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(ct.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,o=t.node.current;o&&Oo(o),n(ht)}handleKeyDown(t){if(kn(t)){const{active:n,context:o,options:s}=this.props,{keyboardCodes:c=To,coordinateGetter:l=Gi,scrollBehavior:u="smooth"}=s,{code:h}=t;if(c.end.includes(h)){this.handleEnd(t);return}if(c.cancel.includes(h)){this.handleCancel(t);return}const{collisionRect:f}=o.current,v=f?{x:f.left,y:f.top}:ht;this.referenceCoordinates||(this.referenceCoordinates=v);const b=l(t,{active:n,context:o.current,currentCoordinates:v});if(b){const w=Bn(b,v),x={x:0,y:0},{scrollableAncestors:E}=o.current;for(const C of E){const D=t.code,{isTop:O,isRight:I,isLeft:T,isBottom:M,maxScroll:j,minScroll:N}=Eo(C),L=Bi(C),$={x:Math.min(D===H.Right?L.right-L.width/2:L.right,Math.max(D===H.Right?L.left:L.left+L.width/2,b.x)),y:Math.min(D===H.Down?L.bottom-L.height/2:L.bottom,Math.max(D===H.Down?L.top:L.top+L.height/2,b.y))},X=D===H.Right&&!I||D===H.Left&&!T,Y=D===H.Down&&!M||D===H.Up&&!O;if(X&&$.x!==b.x){const K=C.scrollLeft+w.x,Q=D===H.Right&&K<=j.x||D===H.Left&&K>=N.x;if(Q&&!w.y){C.scrollTo({left:K,behavior:u});return}Q?x.x=C.scrollLeft-K:x.x=D===H.Right?C.scrollLeft-j.x:C.scrollLeft-N.x,x.x&&C.scrollBy({left:-x.x,behavior:u});break}else if(Y&&$.y!==b.y){const K=C.scrollTop+w.y,Q=D===H.Down&&K<=j.y||D===H.Up&&K>=N.y;if(Q&&!w.x){C.scrollTo({top:K,behavior:u});return}Q?x.y=C.scrollTop-K:x.y=D===H.Down?C.scrollTop-j.y:C.scrollTop-N.y,x.y&&C.scrollBy({top:-x.y,behavior:u});break}}this.handleMove(t,Vt(Bn(b,this.referenceCoordinates),x))}}}handleMove(t,n){const{onMove:o}=this.props;t.preventDefault(),o(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Yr.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:o=To,onActivation:s}=t,{active:c}=n;const{code:l}=e.nativeEvent;if(o.start.includes(l)){const u=c.activatorNode.current;return u&&e.target!==u?!1:(e.preventDefault(),s==null||s({event:e.nativeEvent}),!0)}return!1}}];function ro(e){return!!(e&&"distance"in e)}function oo(e){return!!(e&&"delay"in e)}class Wr{constructor(t,n,o){var s;o===void 0&&(o=Hi(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:c}=t,{target:l}=c;this.props=t,this.events=n,this.document=tn(l),this.documentListeners=new cn(this.document),this.listeners=new cn(o),this.windowListeners=new cn(Ge(l)),this.initialCoordinates=(s=$n(c))!=null?s:ht,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:o}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(ct.Resize,this.handleCancel),this.windowListeners.add(ct.DragStart,no),this.windowListeners.add(ct.VisibilityChange,this.handleCancel),this.windowListeners.add(ct.ContextMenu,no),this.documentListeners.add(ct.Keydown,this.handleKeydown),n){if(o!=null&&o({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(oo(n)){this.timeoutId=setTimeout(this.handleStart,n.delay),this.handlePending(n);return}if(ro(n)){this.handlePending(n);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,n){const{active:o,onPending:s}=this.props;s(o,t,this.initialCoordinates,n)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(ct.Click,Ki,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ct.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:o,initialCoordinates:s,props:c}=this,{onMove:l,options:{activationConstraint:u}}=c;if(!s)return;const h=(n=$n(t))!=null?n:ht,f=Bn(s,h);if(!o&&u){if(ro(u)){if(u.tolerance!=null&&Ir(f,u.tolerance))return this.handleCancel();if(Ir(f,u.distance))return this.handleStart()}if(oo(u)&&Ir(f,u.tolerance))return this.handleCancel();this.handlePending(u,f);return}t.cancelable&&t.preventDefault(),l(h)}handleEnd(){const{onAbort:t,onEnd:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleCancel(){const{onAbort:t,onCancel:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleKeydown(t){t.code===H.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const Ui={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Io extends Wr{constructor(t){const{event:n}=t,o=tn(n.target);super(t,Ui,o)}}Io.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:o}=t;return!n.isPrimary||n.button!==0?!1:(o==null||o({event:n}),!0)}}];const ki={move:{name:"mousemove"},end:{name:"mouseup"}};var Pr;(function(e){e[e.RightClick=2]="RightClick"})(Pr||(Pr={}));class Mo extends Wr{constructor(t){super(t,ki,tn(t.event.target))}}Mo.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:o}=t;return n.button===Pr.RightClick?!1:(o==null||o({event:n}),!0)}}];const Mr={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class No extends Wr{constructor(t){super(t,Mr)}static setup(){return window.addEventListener(Mr.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(Mr.move.name,t)};function t(){}}}No.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:o}=t;const{touches:s}=n;return s.length>1?!1:(o==null||o({event:n}),!0)}}];var ln;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(ln||(ln={}));var zn;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(zn||(zn={}));function Xi(e){let{acceleration:t,activator:n=ln.Pointer,canScroll:o,draggingRect:s,enabled:c,interval:l=5,order:u=zn.TreeOrder,pointerCoordinates:h,scrollableAncestors:f,scrollableAncestorRects:v,delta:b,threshold:w}=e;const x=Wi({delta:b,disabled:!c}),[E,C]=ai(),D=d.useRef({x:0,y:0}),O=d.useRef({x:0,y:0}),I=d.useMemo(()=>{switch(n){case ln.Pointer:return h?{top:h.y,bottom:h.y,left:h.x,right:h.x}:null;case ln.DraggableRect:return s}},[n,s,h]),T=d.useRef(null),M=d.useCallback(()=>{const N=T.current;if(!N)return;const L=D.current.x*O.current.x,$=D.current.y*O.current.y;N.scrollBy(L,$)},[]),j=d.useMemo(()=>u===zn.TreeOrder?[...f].reverse():f,[u,f]);d.useEffect(()=>{if(!c||!f.length||!I){C();return}for(const N of j){if((o==null?void 0:o(N))===!1)continue;const L=f.indexOf(N),$=v[L];if(!$)continue;const{direction:X,speed:Y}=ji(N,$,I,t,w);for(const K of["x","y"])x[K][X[K]]||(Y[K]=0,X[K]=0);if(Y.x>0||Y.y>0){C(),T.current=N,E(M,l),D.current=Y,O.current=X;return}}D.current={x:0,y:0},O.current={x:0,y:0},C()},[t,M,o,C,c,l,JSON.stringify(I),JSON.stringify(x),E,f,j,v,JSON.stringify(w)])}const Yi={x:{[Ce.Backward]:!1,[Ce.Forward]:!1},y:{[Ce.Backward]:!1,[Ce.Forward]:!1}};function Wi(e){let{delta:t,disabled:n}=e;const o=jn(t);return hn(s=>{if(n||!o||!s)return Yi;const c={x:Math.sign(t.x-o.x),y:Math.sign(t.y-o.y)};return{x:{[Ce.Backward]:s.x[Ce.Backward]||c.x===-1,[Ce.Forward]:s.x[Ce.Forward]||c.x===1},y:{[Ce.Backward]:s.y[Ce.Backward]||c.y===-1,[Ce.Forward]:s.y[Ce.Forward]||c.y===1}}},[n,t,o])}function qi(e,t){const n=t!=null?e.get(t):void 0,o=n?n.node.current:null;return hn(s=>{var c;return t==null?null:(c=o??s)!=null?c:null},[o,t])}function Ji(e,t){return d.useMemo(()=>e.reduce((n,o)=>{const{sensor:s}=o,c=s.activators.map(l=>({eventName:l.eventName,handler:t(l.handler,o)}));return[...n,...c]},[]),[e,t])}var Zt;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Zt||(Zt={}));var jr;(function(e){e.Optimized="optimized"})(jr||(jr={}));const io=new Map;function Vi(e,t){let{dragging:n,dependencies:o,config:s}=t;const[c,l]=d.useState(null),{frequency:u,measure:h,strategy:f}=s,v=d.useRef(e),b=D(),w=fn(b),x=d.useCallback(function(O){O===void 0&&(O=[]),!w.current&&l(I=>I===null?O:I.concat(O.filter(T=>!I.includes(T))))},[w]),E=d.useRef(null),C=hn(O=>{if(b&&!n)return io;if(!O||O===io||v.current!==e||c!=null){const I=new Map;for(let T of e){if(!T)continue;if(c&&c.length>0&&!c.includes(T.id)&&T.rect.current){I.set(T.id,T.rect.current);continue}const M=T.node.current,j=M?new Xr(h(M),M):null;T.rect.current=j,j&&I.set(T.id,j)}return I}return O},[e,c,n,b,h]);return d.useEffect(()=>{v.current=e},[e]),d.useEffect(()=>{b||x()},[n,b]),d.useEffect(()=>{c&&c.length>0&&l(null)},[JSON.stringify(c)]),d.useEffect(()=>{b||typeof u!="number"||E.current!==null||(E.current=setTimeout(()=>{x(),E.current=null},u))},[u,b,x,...o]),{droppableRects:C,measureDroppableContainers:x,measuringScheduled:c!=null};function D(){switch(f){case Zt.Always:return!1;case Zt.BeforeDragging:return n;default:return!n}}}function qr(e,t){return hn(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function Zi(e,t){return qr(e,t)}function Qi(e){let{callback:t,disabled:n}=e;const o=Un(t),s=d.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:c}=window;return new c(o)},[o,n]);return d.useEffect(()=>()=>s==null?void 0:s.disconnect(),[s]),s}function Xn(e){let{callback:t,disabled:n}=e;const o=Un(t),s=d.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:c}=window;return new c(o)},[n]);return d.useEffect(()=>()=>s==null?void 0:s.disconnect(),[s]),s}function es(e){return new Xr(nn(e),e)}function so(e,t,n){t===void 0&&(t=es);const[o,s]=d.useState(null);function c(){s(h=>{if(!e)return null;if(e.isConnected===!1){var f;return(f=h??n)!=null?f:null}const v=t(e);return JSON.stringify(h)===JSON.stringify(v)?h:v})}const l=Qi({callback(h){if(e)for(const f of h){const{type:v,target:b}=f;if(v==="childList"&&b instanceof HTMLElement&&b.contains(e)){c();break}}}}),u=Xn({callback:c});return gt(()=>{c(),e?(u==null||u.observe(e),l==null||l.observe(document.body,{childList:!0,subtree:!0})):(u==null||u.disconnect(),l==null||l.disconnect())},[e]),o}function ts(e){const t=qr(e);return wo(e,t)}const ao=[];function ns(e){const t=d.useRef(e),n=hn(o=>e?o&&o!==ao&&e&&t.current&&e.parentNode===t.current.parentNode?o:kr(e):ao,[e]);return d.useEffect(()=>{t.current=e},[e]),n}function rs(e){const[t,n]=d.useState(null),o=d.useRef(e),s=d.useCallback(c=>{const l=Tr(c.target);l&&n(u=>u?(u.set(l,Lr(l)),new Map(u)):null)},[]);return d.useEffect(()=>{const c=o.current;if(e!==c){l(c);const u=e.map(h=>{const f=Tr(h);return f?(f.addEventListener("scroll",s,{passive:!0}),[f,Lr(f)]):null}).filter(h=>h!=null);n(u.length?new Map(u):null),o.current=e}return()=>{l(e),l(c)};function l(u){u.forEach(h=>{const f=Tr(h);f==null||f.removeEventListener("scroll",s)})}},[s,e]),d.useMemo(()=>e.length?t?Array.from(t.values()).reduce((c,l)=>Vt(c,l),ht):Ao(e):ht,[e,t])}function co(e,t){t===void 0&&(t=[]);const n=d.useRef(null);return d.useEffect(()=>{n.current=null},t),d.useEffect(()=>{const o=e!==ht;o&&!n.current&&(n.current=e),!o&&n.current&&(n.current=null)},[e]),n.current?Bn(e,n.current):ht}function os(e){d.useEffect(()=>{if(!Gn)return;const t=e.map(n=>{let{sensor:o}=n;return o.setup==null?void 0:o.setup()});return()=>{for(const n of t)n==null||n()}},e.map(t=>{let{sensor:n}=t;return n}))}function is(e,t){return d.useMemo(()=>e.reduce((n,o)=>{let{eventName:s,handler:c}=o;return n[s]=l=>{c(l,t)},n},{}),[e,t])}function Lo(e){return d.useMemo(()=>e?Mi(e):null,[e])}const lo=[];function ss(e,t){t===void 0&&(t=nn);const[n]=e,o=Lo(n?Ge(n):null),[s,c]=d.useState(lo);function l(){c(()=>e.length?e.map(h=>Ro(h)?o:new Xr(t(h),h)):lo)}const u=Xn({callback:l});return gt(()=>{u==null||u.disconnect(),l(),e.forEach(h=>u==null?void 0:u.observe(h))},[e]),s}function Po(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return gn(t)?t:e}function as(e){let{measure:t}=e;const[n,o]=d.useState(null),s=d.useCallback(f=>{for(const{target:v}of f)if(gn(v)){o(b=>{const w=t(v);return b?{...b,width:w.width,height:w.height}:w});break}},[t]),c=Xn({callback:s}),l=d.useCallback(f=>{const v=Po(f);c==null||c.disconnect(),v&&(c==null||c.observe(v)),o(v?t(v):null)},[t,c]),[u,h]=Pn(l);return d.useMemo(()=>({nodeRef:u,rect:n,setRef:h}),[n,u,h])}const cs=[{sensor:Io,options:{}},{sensor:Yr,options:{}}],ls={current:{}},Ln={draggable:{measure:to},droppable:{measure:to,strategy:Zt.WhileDragging,frequency:jr.Optimized},dragOverlay:{measure:nn}};class un extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,o;return(n=(o=this.get(t))==null?void 0:o.node.current)!=null?n:void 0}}const us={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new un,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Fn},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ln,measureDroppableContainers:Fn,windowRect:null,measuringScheduled:!1},jo={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:Fn,draggableNodes:new Map,over:null,measureDroppableContainers:Fn},vn=d.createContext(jo),Bo=d.createContext(us);function ds(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new un}}}function fs(e,t){switch(t.type){case be.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case be.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case be.DragEnd:case be.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case be.RegisterDroppable:{const{element:n}=t,{id:o}=n,s=new un(e.droppable.containers);return s.set(o,n),{...e,droppable:{...e.droppable,containers:s}}}case be.SetDroppableDisabled:{const{id:n,key:o,disabled:s}=t,c=e.droppable.containers.get(n);if(!c||o!==c.key)return e;const l=new un(e.droppable.containers);return l.set(n,{...c,disabled:s}),{...e,droppable:{...e.droppable,containers:l}}}case be.UnregisterDroppable:{const{id:n,key:o}=t,s=e.droppable.containers.get(n);if(!s||o!==s.key)return e;const c=new un(e.droppable.containers);return c.delete(n),{...e,droppable:{...e.droppable,containers:c}}}default:return e}}function gs(e){let{disabled:t}=e;const{active:n,activatorEvent:o,draggableNodes:s}=d.useContext(vn),c=jn(o),l=jn(n==null?void 0:n.id);return d.useEffect(()=>{if(!t&&!o&&c&&l!=null){if(!kn(c)||document.activeElement===c.target)return;const u=s.get(l);if(!u)return;const{activatorNode:h,node:f}=u;if(!h.current&&!f.current)return;requestAnimationFrame(()=>{for(const v of[h.current,f.current]){if(!v)continue;const b=ui(v);if(b){b.focus();break}}})}},[o,t,s,l,c]),null}function $o(e,t){let{transform:n,...o}=t;return e!=null&&e.length?e.reduce((s,c)=>c({transform:s,...o}),n):n}function hs(e){return d.useMemo(()=>({draggable:{...Ln.draggable,...e==null?void 0:e.draggable},droppable:{...Ln.droppable,...e==null?void 0:e.droppable},dragOverlay:{...Ln.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function ps(e){let{activeNode:t,measure:n,initialRect:o,config:s=!0}=e;const c=d.useRef(!1),{x:l,y:u}=typeof s=="boolean"?{x:s,y:s}:s;gt(()=>{if(!l&&!u||!t){c.current=!1;return}if(c.current||!o)return;const f=t==null?void 0:t.node.current;if(!f||f.isConnected===!1)return;const v=n(f),b=wo(v,o);if(l||(b.x=0),u||(b.y=0),c.current=!0,Math.abs(b.x)>0||Math.abs(b.y)>0){const w=So(f);w&&w.scrollBy({top:b.y,left:b.x})}},[t,l,u,o,n])}const Yn=d.createContext({...ht,scaleX:1,scaleY:1});var Ht;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(Ht||(Ht={}));const vs=d.memo(function(t){var n,o,s,c;let{id:l,accessibility:u,autoScroll:h=!0,children:f,sensors:v=cs,collisionDetection:b=xo,measuring:w,modifiers:x,...E}=t;const C=d.useReducer(fs,void 0,ds),[D,O]=C,[I,T]=vi(),[M,j]=d.useState(Ht.Uninitialized),N=M===Ht.Initialized,{draggable:{active:L,nodes:$,translate:X},droppable:{containers:Y}}=D,K=L!=null?$.get(L):null,Q=d.useRef({initial:null,translated:null}),ye=d.useMemo(()=>{var J;return L!=null?{id:L,data:(J=K==null?void 0:K.data)!=null?J:ls,rect:Q}:null},[L,K]),fe=d.useRef(null),[G,Ue]=d.useState(null),[ne,tt]=d.useState(null),te=fn(E,Object.values(E)),F=pn("DndDescribedBy",l),Je=d.useMemo(()=>Y.getEnabled(),[Y]),se=hs(w),{droppableRects:re,measureDroppableContainers:ke,measuringScheduled:Oe}=Vi(Je,{dragging:N,dependencies:[X.x,X.y],config:se.droppable}),ge=qi($,L),pt=d.useMemo(()=>ne?$n(ne):null,[ne]),he=Fe(),Se=Zi(ge,se.draggable.measure);ps({activeNode:L!=null?$.get(L):null,config:he.layoutShiftCompensation,initialRect:Se,measure:se.draggable.measure});const U=so(ge,se.draggable.measure,Se),nt=so(ge?ge.parentElement:null),Te=d.useRef({activatorEvent:null,active:null,activeNode:ge,collisionRect:null,collisions:null,droppableRects:re,draggableNodes:$,draggingNode:null,draggingNodeRect:null,droppableContainers:Y,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),rt=Y.getNodeFor((n=Te.current.over)==null?void 0:n.id),z=as({measure:se.dragOverlay.measure}),Ve=(o=z.nodeRef.current)!=null?o:ge,Ie=N?(s=z.rect)!=null?s:U:null,vt=!!(z.nodeRef.current&&z.rect),_e=ts(vt?null:U),S=Lo(Ve?Ge(Ve):null),m=ns(N?rt??ge:null),B=ss(m),W=$o(x,{transform:{x:X.x-_e.x,y:X.y-_e.y,scaleX:1,scaleY:1},activatorEvent:ne,active:ye,activeNodeRect:U,containerNodeRect:nt,draggingNodeRect:Ie,over:Te.current.over,overlayNodeRect:z.rect,scrollableAncestors:m,scrollableAncestorRects:B,windowRect:S}),Z=pt?Vt(pt,X):null,q=rs(m),ee=co(q),Me=co(q,[U]),ce=Vt(W,ee),le=Ie?Oi(Ie,W):null,$e=ye&&le?b({active:ye,collisionRect:le,droppableRects:re,droppableContainers:Je,pointerCoordinates:Z}):null,Xe=Ur($e,"id"),[oe,bt]=d.useState(null),ae=vt?W:Vt(W,Me),ue=Ei(ae,(c=oe==null?void 0:oe.rect)!=null?c:null,U),Ne=d.useRef(null),Dt=d.useCallback((J,De)=>{let{sensor:me,options:Ze}=De;if(fe.current==null)return;const Le=$.get(fe.current);if(!Le)return;const Re=J.nativeEvent,ze=new me({active:fe.current,activeNode:Le,event:Re,options:Ze,context:Te,onAbort(V){if(!$.get(V))return;const{onDragAbort:je}=te.current,He={id:V};je==null||je(He),I({type:"onDragAbort",event:He})},onPending(V,Pe,je,He){if(!$.get(V))return;const{onDragPending:Qe}=te.current,de={id:V,constraint:Pe,initialCoordinates:je,offset:He};Qe==null||Qe(de),I({type:"onDragPending",event:de})},onStart(V){const Pe=fe.current;if(Pe==null)return;const je=$.get(Pe);if(!je)return;const{onDragStart:He}=te.current,ut={activatorEvent:Re,active:{id:Pe,data:je.data,rect:Q}};Jt.reactDomExports.unstable_batchedUpdates(()=>{He==null||He(ut),j(Ht.Initializing),O({type:be.DragStart,initialCoordinates:V,active:Pe}),I({type:"onDragStart",event:ut}),Ue(Ne.current),tt(Re)})},onMove(V){O({type:be.DragMove,coordinates:V})},onEnd:lt(be.DragEnd),onCancel:lt(be.DragCancel)});Ne.current=ze;function lt(V){return async function(){const{active:je,collisions:He,over:ut,scrollAdjustedTranslate:Qe}=Te.current;let de=null;if(je&&Qe){const{cancelDrop:Rt}=te.current;de={activatorEvent:Re,active:je,collisions:He,delta:Qe,over:ut},V===be.DragEnd&&typeof Rt=="function"&&await Promise.resolve(Rt(de))&&(V=be.DragCancel)}fe.current=null,Jt.reactDomExports.unstable_batchedUpdates(()=>{O({type:V}),j(Ht.Uninitialized),bt(null),Ue(null),tt(null),Ne.current=null;const Rt=V===be.DragEnd?"onDragEnd":"onDragCancel";if(de){const Gt=te.current[Rt];Gt==null||Gt(de),I({type:Rt,event:de})}})}}},[$]),yt=d.useCallback((J,De)=>(me,Ze)=>{const Le=me.nativeEvent,Re=$.get(Ze);if(fe.current!==null||!Re||Le.dndKit||Le.defaultPrevented)return;const ze={active:Re};J(me,De.options,ze)===!0&&(Le.dndKit={capturedBy:De.sensor},fe.current=Ze,Dt(me,De))},[$,Dt]),ot=Ji(v,yt);os(v),gt(()=>{U&&M===Ht.Initializing&&j(Ht.Initialized)},[U,M]),d.useEffect(()=>{const{onDragMove:J}=te.current,{active:De,activatorEvent:me,collisions:Ze,over:Le}=Te.current;if(!De||!me)return;const Re={active:De,activatorEvent:me,collisions:Ze,delta:{x:ce.x,y:ce.y},over:Le};Jt.reactDomExports.unstable_batchedUpdates(()=>{J==null||J(Re),I({type:"onDragMove",event:Re})})},[ce.x,ce.y]),d.useEffect(()=>{const{active:J,activatorEvent:De,collisions:me,droppableContainers:Ze,scrollAdjustedTranslate:Le}=Te.current;if(!J||fe.current==null||!De||!Le)return;const{onDragOver:Re}=te.current,ze=Ze.get(Xe),lt=ze&&ze.rect.current?{id:ze.id,rect:ze.rect.current,data:ze.data,disabled:ze.disabled}:null,V={active:J,activatorEvent:De,collisions:me,delta:{x:Le.x,y:Le.y},over:lt};Jt.reactDomExports.unstable_batchedUpdates(()=>{bt(lt),Re==null||Re(V),I({type:"onDragOver",event:V})})},[Xe]),gt(()=>{Te.current={activatorEvent:ne,active:ye,activeNode:ge,collisionRect:le,collisions:$e,droppableRects:re,draggableNodes:$,draggingNode:Ve,draggingNodeRect:Ie,droppableContainers:Y,over:oe,scrollableAncestors:m,scrollAdjustedTranslate:ce},Q.current={initial:Ie,translated:le}},[ye,ge,$e,le,$,Ve,Ie,re,Y,oe,m,ce]),Xi({...he,delta:X,draggingRect:le,pointerCoordinates:Z,scrollableAncestors:m,scrollableAncestorRects:B});const Nt=d.useMemo(()=>({active:ye,activeNode:ge,activeNodeRect:U,activatorEvent:ne,collisions:$e,containerNodeRect:nt,dragOverlay:z,draggableNodes:$,droppableContainers:Y,droppableRects:re,over:oe,measureDroppableContainers:ke,scrollableAncestors:m,scrollableAncestorRects:B,measuringConfiguration:se,measuringScheduled:Oe,windowRect:S}),[ye,ge,U,ne,$e,nt,z,$,Y,re,oe,ke,m,B,se,Oe,S]),Lt=d.useMemo(()=>({activatorEvent:ne,activators:ot,active:ye,activeNodeRect:U,ariaDescribedById:{draggable:F},dispatch:O,draggableNodes:$,over:oe,measureDroppableContainers:ke}),[ne,ot,ye,U,O,F,$,oe,ke]);return d.createElement(mo.Provider,{value:T},d.createElement(vn.Provider,{value:Lt},d.createElement(Bo.Provider,{value:Nt},d.createElement(Yn.Provider,{value:ue},f)),d.createElement(gs,{disabled:(u==null?void 0:u.restoreFocus)===!1})),d.createElement(mi,{...u,hiddenTextDescribedById:F}));function Fe(){const J=(G==null?void 0:G.autoScrollEnabled)===!1,De=typeof h=="object"?h.enabled===!1:h===!1,me=N&&!J&&!De;return typeof h=="object"?{...h,enabled:me}:{enabled:me}}}),bs=d.createContext(null),uo="button",ys="Draggable";function ms(e){let{id:t,data:n,disabled:o=!1,attributes:s}=e;const c=pn(ys),{activators:l,activatorEvent:u,active:h,activeNodeRect:f,ariaDescribedById:v,draggableNodes:b,over:w}=d.useContext(vn),{role:x=uo,roleDescription:E="draggable",tabIndex:C=0}=s??{},D=(h==null?void 0:h.id)===t,O=d.useContext(D?Yn:bs),[I,T]=Pn(),[M,j]=Pn(),N=is(l,t),L=fn(n);gt(()=>(b.set(t,{id:t,key:c,node:I,activatorNode:M,data:L}),()=>{const X=b.get(t);X&&X.key===c&&b.delete(t)}),[b,t]);const $=d.useMemo(()=>({role:x,tabIndex:C,"aria-disabled":o,"aria-pressed":D&&x===uo?!0:void 0,"aria-roledescription":E,"aria-describedby":v.draggable}),[o,x,C,D,E,v.draggable]);return{active:h,activatorEvent:u,activeNodeRect:f,attributes:$,isDragging:D,listeners:o?void 0:N,node:I,over:w,setNodeRef:T,setActivatorNodeRef:j,transform:O}}function Fo(){return d.useContext(Bo)}const xs="Droppable",ws={timeout:25};function Cs(e){let{data:t,disabled:n=!1,id:o,resizeObserverConfig:s}=e;const c=pn(xs),{active:l,dispatch:u,over:h,measureDroppableContainers:f}=d.useContext(vn),v=d.useRef({disabled:n}),b=d.useRef(!1),w=d.useRef(null),x=d.useRef(null),{disabled:E,updateMeasurementsFor:C,timeout:D}={...ws,...s},O=fn(C??o),I=d.useCallback(()=>{if(!b.current){b.current=!0;return}x.current!=null&&clearTimeout(x.current),x.current=setTimeout(()=>{f(Array.isArray(O.current)?O.current:[O.current]),x.current=null},D)},[D]),T=Xn({callback:I,disabled:E||!l}),M=d.useCallback(($,X)=>{T&&(X&&(T.unobserve(X),b.current=!1),$&&T.observe($))},[T]),[j,N]=Pn(M),L=fn(t);return d.useEffect(()=>{!T||!j.current||(T.disconnect(),b.current=!1,T.observe(j.current))},[j,T]),d.useEffect(()=>(u({type:be.RegisterDroppable,element:{id:o,key:c,disabled:n,node:j,rect:w,data:L}}),()=>u({type:be.UnregisterDroppable,key:c,id:o})),[o]),d.useEffect(()=>{n!==v.current.disabled&&(u({type:be.SetDroppableDisabled,id:o,key:c,disabled:n}),v.current.disabled=n)},[o,c,n,u]),{active:l,rect:w,isOver:(h==null?void 0:h.id)===o,node:j,over:h,setNodeRef:N}}function Ss(e){let{animation:t,children:n}=e;const[o,s]=d.useState(null),[c,l]=d.useState(null),u=jn(n);return!n&&!o&&u&&s(u),gt(()=>{if(!c)return;const h=o==null?void 0:o.key,f=o==null?void 0:o.props.id;if(h==null||f==null){s(null);return}Promise.resolve(t(f,c)).then(()=>{s(null)})},[t,o,c]),d.createElement(d.Fragment,null,n,o?d.cloneElement(o,{ref:l}):null)}const _s={x:0,y:0,scaleX:1,scaleY:1};function Ds(e){let{children:t}=e;return d.createElement(vn.Provider,{value:jo},d.createElement(Yn.Provider,{value:_s},t))}const Rs={position:"fixed",touchAction:"none"},Es=e=>kn(e)?"transform 250ms ease":void 0,As=d.forwardRef((e,t)=>{let{as:n,activatorEvent:o,adjustScale:s,children:c,className:l,rect:u,style:h,transform:f,transition:v=Es}=e;if(!u)return null;const b=s?f:{...f,scaleX:1,scaleY:1},w={...Rs,width:u.width,height:u.height,top:u.top,left:u.left,transform:Kt.Transform.toString(b),transformOrigin:s&&o?wi(o,u):void 0,transition:typeof v=="function"?v(o):v,...h};return d.createElement(n,{className:l,style:w,ref:t},c)}),zo=e=>t=>{let{active:n,dragOverlay:o}=t;const s={},{styles:c,className:l}=e;if(c!=null&&c.active)for(const[u,h]of Object.entries(c.active))h!==void 0&&(s[u]=n.node.style.getPropertyValue(u),n.node.style.setProperty(u,h));if(c!=null&&c.dragOverlay)for(const[u,h]of Object.entries(c.dragOverlay))h!==void 0&&o.node.style.setProperty(u,h);return l!=null&&l.active&&n.node.classList.add(l.active),l!=null&&l.dragOverlay&&o.node.classList.add(l.dragOverlay),function(){for(const[h,f]of Object.entries(s))n.node.style.setProperty(h,f);l!=null&&l.active&&n.node.classList.remove(l.active)}},Os=e=>{let{transform:{initial:t,final:n}}=e;return[{transform:Kt.Transform.toString(t)},{transform:Kt.Transform.toString(n)}]},Ts={duration:250,easing:"ease",keyframes:Os,sideEffects:zo({styles:{active:{opacity:"0"}}})};function Is(e){let{config:t,draggableNodes:n,droppableContainers:o,measuringConfiguration:s}=e;return Un((c,l)=>{if(t===null)return;const u=n.get(c);if(!u)return;const h=u.node.current;if(!h)return;const f=Po(l);if(!f)return;const{transform:v}=Ge(l).getComputedStyle(l),b=Co(v);if(!b)return;const w=typeof t=="function"?t:Ms(t);return Oo(h,s.draggable.measure),w({active:{id:c,data:u.data,node:h,rect:s.draggable.measure(h)},draggableNodes:n,dragOverlay:{node:l,rect:s.dragOverlay.measure(f)},droppableContainers:o,measuringConfiguration:s,transform:b})})}function Ms(e){const{duration:t,easing:n,sideEffects:o,keyframes:s}={...Ts,...e};return c=>{let{active:l,dragOverlay:u,transform:h,...f}=c;if(!t)return;const v={x:u.rect.left-l.rect.left,y:u.rect.top-l.rect.top},b={scaleX:h.scaleX!==1?l.rect.width*h.scaleX/u.rect.width:1,scaleY:h.scaleY!==1?l.rect.height*h.scaleY/u.rect.height:1},w={x:h.x-v.x,y:h.y-v.y,...b},x=s({...f,active:l,dragOverlay:u,transform:{initial:h,final:w}}),[E]=x,C=x[x.length-1];if(JSON.stringify(E)===JSON.stringify(C))return;const D=o==null?void 0:o({active:l,dragOverlay:u,...f}),O=u.node.animate(x,{duration:t,easing:n,fill:"forwards"});return new Promise(I=>{O.onfinish=()=>{D==null||D(),I()}})}}let fo=0;function Ns(e){return d.useMemo(()=>{if(e!=null)return fo++,fo},[e])}const Ls=d.memo(e=>{let{adjustScale:t=!1,children:n,dropAnimation:o,style:s,transition:c,modifiers:l,wrapperElement:u="div",className:h,zIndex:f=999}=e;const{activatorEvent:v,active:b,activeNodeRect:w,containerNodeRect:x,draggableNodes:E,droppableContainers:C,dragOverlay:D,over:O,measuringConfiguration:I,scrollableAncestors:T,scrollableAncestorRects:M,windowRect:j}=Fo(),N=d.useContext(Yn),L=Ns(b==null?void 0:b.id),$=$o(l,{activatorEvent:v,active:b,activeNodeRect:w,containerNodeRect:x,draggingNodeRect:D.rect,over:O,overlayNodeRect:D.rect,scrollableAncestors:T,scrollableAncestorRects:M,transform:N,windowRect:j}),X=qr(w),Y=Is({config:o,draggableNodes:E,droppableContainers:C,measuringConfiguration:I}),K=X?D.setRef:void 0;return d.createElement(Ds,null,d.createElement(Ss,{animation:Y},b&&L?d.createElement(As,{key:L,id:b.id,ref:K,as:u,activatorEvent:v,adjustScale:t,className:h,transition:c,rect:X,style:{zIndex:f,...s},transform:$},n):null))});function dn(e,t,n){const o=e.slice();return o.splice(n<0?o.length+n:n,0,o.splice(t,1)[0]),o}function Ps(e,t){return e.reduce((n,o,s)=>{const c=t.get(o);return c&&(n[s]=c),n},Array(e.length))}function In(e){return e!==null&&e>=0}function js(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function Bs(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const Mn={scaleX:1,scaleY:1},$s=e=>{var t;let{rects:n,activeNodeRect:o,activeIndex:s,overIndex:c,index:l}=e;const u=(t=n[s])!=null?t:o;if(!u)return null;const h=Fs(n,l,s);if(l===s){const f=n[c];return f?{x:s<c?f.left+f.width-(u.left+u.width):f.left-u.left,y:0,...Mn}:null}return l>s&&l<=c?{x:-u.width-h,y:0,...Mn}:l<s&&l>=c?{x:u.width+h,y:0,...Mn}:{x:0,y:0,...Mn}};function Fs(e,t,n){const o=e[t],s=e[t-1],c=e[t+1];return!o||!s&&!c?0:n<t?s?o.left-(s.left+s.width):c.left-(o.left+o.width):c?c.left-(o.left+o.width):o.left-(s.left+s.width)}const Ho=e=>{let{rects:t,activeIndex:n,overIndex:o,index:s}=e;const c=dn(t,o,n),l=t[s],u=c[s];return!u||!l?null:{x:u.left-l.left,y:u.top-l.top,scaleX:u.width/l.width,scaleY:u.height/l.height}},Nn={scaleX:1,scaleY:1},go=e=>{var t;let{activeIndex:n,activeNodeRect:o,index:s,rects:c,overIndex:l}=e;const u=(t=c[n])!=null?t:o;if(!u)return null;if(s===n){const f=c[l];return f?{x:0,y:n<l?f.top+f.height-(u.top+u.height):f.top-u.top,...Nn}:null}const h=zs(c,s,n);return s>n&&s<=l?{x:0,y:-u.height-h,...Nn}:s<n&&s>=l?{x:0,y:u.height+h,...Nn}:{x:0,y:0,...Nn}};function zs(e,t,n){const o=e[t],s=e[t-1],c=e[t+1];return o?n<t?s?o.top-(s.top+s.height):c?c.top-(o.top+o.height):0:c?c.top-(o.top+o.height):s?o.top-(s.top+s.height):0:0}const Ko="Sortable",Go=d.createContext({activeIndex:-1,containerId:Ko,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:Ho,disabled:{draggable:!1,droppable:!1}});function ho(e){let{children:t,id:n,items:o,strategy:s=Ho,disabled:c=!1}=e;const{active:l,dragOverlay:u,droppableRects:h,over:f,measureDroppableContainers:v}=Fo(),b=pn(Ko,n),w=u.rect!==null,x=d.useMemo(()=>o.map(N=>typeof N=="object"&&"id"in N?N.id:N),[o]),E=l!=null,C=l?x.indexOf(l.id):-1,D=f?x.indexOf(f.id):-1,O=d.useRef(x),I=!js(x,O.current),T=D!==-1&&C===-1||I,M=Bs(c);gt(()=>{I&&E&&v(x)},[I,x,E,v]),d.useEffect(()=>{O.current=x},[x]);const j=d.useMemo(()=>({activeIndex:C,containerId:b,disabled:M,disableTransforms:T,items:x,overIndex:D,useDragOverlay:w,sortedRects:Ps(x,h),strategy:s}),[C,b,M.draggable,M.droppable,T,x,D,h,w,s]);return d.createElement(Go.Provider,{value:j},t)}const Hs=e=>{let{id:t,items:n,activeIndex:o,overIndex:s}=e;return dn(n,o,s).indexOf(t)},Uo=e=>{let{containerId:t,isSorting:n,wasDragging:o,index:s,items:c,newIndex:l,previousItems:u,previousContainerId:h,transition:f}=e;return!f||!o||u!==c&&s===l?!1:n?!0:l!==s&&t===h},Ks={duration:200,easing:"ease"},ko="transform",Gs=Kt.Transition.toString({property:ko,duration:0,easing:"linear"}),Us={roleDescription:"sortable"};function ks(e){let{disabled:t,index:n,node:o,rect:s}=e;const[c,l]=d.useState(null),u=d.useRef(n);return gt(()=>{if(!t&&n!==u.current&&o.current){const h=s.current;if(h){const f=nn(o.current,{ignoreTransform:!0}),v={x:h.left-f.left,y:h.top-f.top,scaleX:h.width/f.width,scaleY:h.height/f.height};(v.x||v.y)&&l(v)}}n!==u.current&&(u.current=n)},[t,n,o,s]),d.useEffect(()=>{c&&l(null)},[c]),c}function Xo(e){let{animateLayoutChanges:t=Uo,attributes:n,disabled:o,data:s,getNewIndex:c=Hs,id:l,strategy:u,resizeObserverConfig:h,transition:f=Ks}=e;const{items:v,containerId:b,activeIndex:w,disabled:x,disableTransforms:E,sortedRects:C,overIndex:D,useDragOverlay:O,strategy:I}=d.useContext(Go),T=Xs(o,x),M=v.indexOf(l),j=d.useMemo(()=>({sortable:{containerId:b,index:M,items:v},...s}),[b,s,M,v]),N=d.useMemo(()=>v.slice(v.indexOf(l)),[v,l]),{rect:L,node:$,isOver:X,setNodeRef:Y}=Cs({id:l,data:j,disabled:T.droppable,resizeObserverConfig:{updateMeasurementsFor:N,...h}}),{active:K,activatorEvent:Q,activeNodeRect:ye,attributes:fe,setNodeRef:G,listeners:Ue,isDragging:ne,over:tt,setActivatorNodeRef:te,transform:F}=ms({id:l,data:j,attributes:{...Us,...n},disabled:T.draggable}),Je=si(Y,G),se=!!K,re=se&&!E&&In(w)&&In(D),ke=!O&&ne,Oe=ke&&re?F:null,pt=re?Oe??(u??I)({rects:C,activeNodeRect:ye,activeIndex:w,overIndex:D,index:M}):null,he=In(w)&&In(D)?c({id:l,items:v,activeIndex:w,overIndex:D}):M,Se=K==null?void 0:K.id,U=d.useRef({activeId:Se,items:v,newIndex:he,containerId:b}),nt=v!==U.current.items,Te=t({active:K,containerId:b,isDragging:ne,isSorting:se,id:l,index:M,items:v,newIndex:U.current.newIndex,previousItems:U.current.items,previousContainerId:U.current.containerId,transition:f,wasDragging:U.current.activeId!=null}),rt=ks({disabled:!Te,index:M,node:$,rect:L});return d.useEffect(()=>{se&&U.current.newIndex!==he&&(U.current.newIndex=he),b!==U.current.containerId&&(U.current.containerId=b),v!==U.current.items&&(U.current.items=v)},[se,he,b,v]),d.useEffect(()=>{if(Se===U.current.activeId)return;if(Se&&!U.current.activeId){U.current.activeId=Se;return}const Ve=setTimeout(()=>{U.current.activeId=Se},50);return()=>clearTimeout(Ve)},[Se]),{active:K,activeIndex:w,attributes:fe,data:j,rect:L,index:M,newIndex:he,items:v,isOver:X,isSorting:se,isDragging:ne,listeners:Ue,node:$,overIndex:D,over:tt,setNodeRef:Je,setActivatorNodeRef:te,setDroppableNodeRef:Y,setDraggableNodeRef:G,transform:rt??pt,transition:z()};function z(){if(rt||nt&&U.current.newIndex===M)return Gs;if(!(ke&&!kn(Q)||!f)&&(se||Te))return Kt.Transition.toString({...f,property:ko})}}function Xs(e,t){var n,o;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e==null?void 0:e.draggable)!=null?n:t.draggable,droppable:(o=e==null?void 0:e.droppable)!=null?o:t.droppable}}H.Down,H.Right,H.Up,H.Left;const Ys=e=>e;function po(e,t=Ys){return[...new Array(e)].map((n,o)=>t(o))}const Ws=[H.Down,H.Right,H.Up,H.Left],qs=(e,{context:{active:t,droppableRects:n,droppableContainers:o,collisionRect:s}})=>{var c;if(Ws.includes(e.code)){if(e.preventDefault(),!t||!s)return;const l=[];o.getEnabled().forEach(f=>{var w;if(!f||f!=null&&f.disabled)return;const v=n.get(f.id);if(!v)return;const b=f.data.current;if(b){const{type:x,children:E}=b;if(x==="container"&&(E==null?void 0:E.length)>0&&((w=t.data.current)==null?void 0:w.type)!=="container")return}switch(e.code){case H.Down:s.top<v.top&&l.push(f);break;case H.Up:s.top>v.top&&l.push(f);break;case H.Left:s.left>=v.left+v.width&&l.push(f);break;case H.Right:s.left+s.width<=v.left&&l.push(f);break}});const u=Si({collisionRect:s,droppableRects:n,droppableContainers:l}),h=Ur(u,"id");if(h!=null){const f=o.get(h),v=f==null?void 0:f.node.current,b=f==null?void 0:f.rect.current;if(v&&b)return f.id==="placeholder"?{x:b.left+(b.width-s.width)/2,y:b.top+(b.height-s.height)/2}:((c=f.data.current)==null?void 0:c.type)==="container"?{x:b.left+20,y:b.top+74}:{x:b.left,y:b.top}}}},Js="_Wrapper_37o6x_33",Vs="_fadeIn_37o6x_41",Zs="_dragOverlay_37o6x_44",Qs="_Item_37o6x_53",ea="_withHandle_37o6x_79",ta="_dragging_37o6x_83",na="_disabled_37o6x_91",ra="_color_37o6x_110",oa="_Actions_37o6x_129",ft={Wrapper:Js,fadeIn:Vs,dragOverlay:Zs,Item:Qs,withHandle:ea,dragging:ta,disabled:na,color:ra,Actions:oa},ia=Qt.styled.div`
|
|
6
6
|
font-family: ${e=>{var t,n;return(n=(t=e.theme)==null?void 0:t.typography)==null?void 0:n.fontFamily}};
|
|
7
7
|
background-color: ${e=>we.getColorRgbaValue(e.theme,"KanbanCard",e.color?"primary":e.color,"enabled","background")};
|
|
8
8
|
color: ${e=>we.getColorRgbaValue(e.theme,"KanbanCard",e.color?"primary":e.color,"enabled","text")};
|
|
9
9
|
&:hover .Actions > * {
|
|
10
10
|
opacity: 1 !important;
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
`,Br=d.memo(d.forwardRef(({cardProps:e,color:t,dragOverlay:n,dragging:o,disabled:s,fadeIn:c,handle:l,handleProps:u,height:h,index:f,listeners:v,onRemove:b,renderItem:w,sorting:x,transition:E,transform:C,value:D,wrapperStyle:O,className:I,style:T,children:M,...j},N)=>{const L=Fr.useTheme();return d.useEffect(()=>{if(n)return document.body.style.cursor="grabbing",()=>{document.body.style.cursor=""}},[n]),w?w({dragOverlay:!!n,dragging:!!o,sorting:!!x,index:f,fadeIn:!!c,listeners:v,ref:N,style:T,transform:C,transition:E,value:D}):ie.jsx("li",{className:Vr.classNames(ft.Wrapper,c&&ft.fadeIn,x&&ft.sorting,n&&ft.dragOverlay),style:{...O,transition:[E,O==null?void 0:O.transition].filter(Boolean).join(", "),"--translate-x":C?`${Math.round(C.x)}px`:void 0,"--translate-y":C?`${Math.round(C.y)}px`:void 0,"--scale-x":C!=null&&C.scaleX?`${C.scaleX}`:void 0,"--scale-y":C!=null&&C.scaleY?`${C.scaleY}`:void 0,"--index":f,"--color":t},ref:N,children:ie.jsxs(ia,{theme:L,color:t,className:Vr.classNames(ft.Item,o&&ft.dragging,l&&ft.withHandle,n&&ft.dragOverlay,s&&ft.disabled,t&&ft.color)+" "+I,style:e==null?void 0:e.style,"data-cypress":"draggable-item",...l?void 0:v,...j,tabIndex:l?void 0:0,children:[M,ie.jsx("span",{className:ft.Actions})]})})})),sa=Qt.styled.div`
|
|
13
13
|
display: flex;
|
|
14
14
|
flex: 1;
|
|
15
15
|
flex-direction: column;
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
& > *:first-of-type:not(:last-of-type):focus-visible {
|
|
77
77
|
opacity: 1;
|
|
78
78
|
}
|
|
79
|
-
`,Yo=d.forwardRef((e,t)=>{const{children:n,containerId:o,renderFooterContent:s,columns:c=1,handleProps:l,horizontal:u,hover:h,onClick:f,label:v,maxContainerHeight:b,style:w,scrollable:x,shadow:E,unstyled:C,color:D,...O}=e,I=Fr.useTheme();return ie.jsxs(sa,{...O,ref:t,style:{...w,"--columns":c},unstyled:C,horizontal:u,hover:h,scrollable:x,shadow:E,onClick:f,tabIndex:f?0:void 0,maxContainerHeight:b,color:D,theme:I,children:[v?ie.jsxs(aa,{theme:I,color:D,children:[ie.jsx(ca,{className:"Actions",children:ie.jsx(vo.Handle,{...l})}),v]}):null,ie.jsx("ul",{children:n}),s(o)]})});var Hn={exports:{}};Hn.exports;(function(e,t){var n=200,o="__lodash_hash_undefined__",s=9007199254740991,c="[object Arguments]",l="[object Array]",u="[object Boolean]",h="[object Date]",f="[object Error]",v="[object Function]",b="[object GeneratorFunction]",w="[object Map]",x="[object Number]",E="[object Object]",C="[object Promise]",D="[object RegExp]",O="[object Set]",I="[object String]",T="[object Symbol]",M="[object WeakMap]",j="[object ArrayBuffer]",N="[object DataView]",L="[object Float32Array]",B="[object Float64Array]",X="[object Int8Array]",Y="[object Int16Array]",K="[object Int32Array]",Q="[object Uint8Array]",ye="[object Uint8ClampedArray]",fe="[object Uint16Array]",G="[object Uint32Array]",Ue=/[\\^$.*+?()[\]{}|]/g,ne=/\w*$/,tt=/^\[object .+?Constructor\]$/,te=/^(?:0|[1-9]\d*)$/,F={};F[c]=F[l]=F[j]=F[N]=F[u]=F[h]=F[L]=F[B]=F[X]=F[Y]=F[K]=F[w]=F[x]=F[E]=F[D]=F[O]=F[I]=F[T]=F[Q]=F[ye]=F[fe]=F[G]=!0,F[f]=F[v]=F[M]=!1;var Je=typeof _t.commonjsGlobal=="object"&&_t.commonjsGlobal&&_t.commonjsGlobal.Object===Object&&_t.commonjsGlobal,se=typeof self=="object"&&self&&self.Object===Object&&self,re=Je||se||Function("return this")(),ke=t&&!t.nodeType&&t,Oe=ke&&!0&&e&&!e.nodeType&&e,ge=Oe&&Oe.exports===ke;function pt(i,g){return i.set(g[0],g[1]),i}function he(i,g){return i.add(g),i}function Se(i,g){for(var y=-1,R=i?i.length:0;++y<R&&g(i[y],y,i)!==!1;);return i}function U(i,g){for(var y=-1,R=g.length,pe=i.length;++y<R;)i[pe+y]=g[y];return i}function nt(i,g,y,R){for(var pe=-1,xe=i?i.length:0;++pe<xe;)y=g(y,i[pe],pe,i);return y}function Te(i,g){for(var y=-1,R=Array(i);++y<i;)R[y]=g(y);return R}function rt(i,g){return i==null?void 0:i[g]}function z(i){var g=!1;if(i!=null&&typeof i.toString!="function")try{g=!!(i+"")}catch{}return g}function Ve(i){var g=-1,y=Array(i.size);return i.forEach(function(R,pe){y[++g]=[pe,R]}),y}function Ie(i,g){return function(y){return i(g(y))}}function vt(i){var g=-1,y=Array(i.size);return i.forEach(function(R){y[++g]=R}),y}var _e=Array.prototype,S=Function.prototype,m=Object.prototype,$=re["__core-js_shared__"],W=function(){var i=/[^.]+$/.exec($&&$.keys&&$.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),Z=S.toString,q=m.hasOwnProperty,ee=m.toString,Me=RegExp("^"+Z.call(q).replace(Ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ce=ge?re.Buffer:void 0,le=re.Symbol,Be=re.Uint8Array,Xe=Ie(Object.getPrototypeOf,Object),oe=Object.create,bt=m.propertyIsEnumerable,ae=_e.splice,ue=Object.getOwnPropertySymbols,Ne=ce?ce.isBuffer:void 0,Dt=Ie(Object.keys,Object),yt=$t(re,"DataView"),ot=$t(re,"Map"),Nt=$t(re,"Promise"),Lt=$t(re,"Set"),Fe=$t(re,"WeakMap"),J=$t(Object,"create"),De=xt(yt),me=xt(ot),Ze=xt(Nt),Le=xt(Lt),Re=xt(Fe),ze=le?le.prototype:void 0,lt=ze?ze.valueOf:void 0;function V(i){var g=-1,y=i?i.length:0;for(this.clear();++g<y;){var R=i[g];this.set(R[0],R[1])}}function Pe(){this.__data__=J?J(null):{}}function je(i){return this.has(i)&&delete this.__data__[i]}function He(i){var g=this.__data__;if(J){var y=g[i];return y===o?void 0:y}return q.call(g,i)?g[i]:void 0}function ut(i){var g=this.__data__;return J?g[i]!==void 0:q.call(g,i)}function Qe(i,g){var y=this.__data__;return y[i]=J&&g===void 0?o:g,this}V.prototype.clear=Pe,V.prototype.delete=je,V.prototype.get=He,V.prototype.has=ut,V.prototype.set=Qe;function de(i){var g=-1,y=i?i.length:0;for(this.clear();++g<y;){var R=i[g];this.set(R[0],R[1])}}function Rt(){this.__data__=[]}function Gt(i){var g=this.__data__,y=Ye(g,i);if(y<0)return!1;var R=g.length-1;return y==R?g.pop():ae.call(g,y,1),!0}function Wn(i){var g=this.__data__,y=Ye(g,i);return y<0?void 0:g[y][1]}function qn(i){return Ye(this.__data__,i)>-1}function Xt(i,g){var y=this.__data__,R=Ye(y,i);return R<0?y.push([i,g]):y[R][1]=g,this}de.prototype.clear=Rt,de.prototype.delete=Gt,de.prototype.get=Wn,de.prototype.has=qn,de.prototype.set=Xt;function mt(i){var g=-1,y=i?i.length:0;for(this.clear();++g<y;){var R=i[g];this.set(R[0],R[1])}}function bn(){this.__data__={hash:new V,map:new(ot||de),string:new V}}function Et(i){return jt(this,i).delete(i)}function Jn(i){return jt(this,i).get(i)}function Vn(i){return jt(this,i).has(i)}function Zn(i,g){return jt(this,i).set(i,g),this}mt.prototype.clear=bn,mt.prototype.delete=Et,mt.prototype.get=Jn,mt.prototype.has=Vn,mt.prototype.set=Zn;function Pt(i){this.__data__=new de(i)}function Qn(){this.__data__=new de}function dt(i){return this.__data__.delete(i)}function er(i){return this.__data__.get(i)}function tr(i){return this.__data__.has(i)}function nr(i,g){var y=this.__data__;if(y instanceof de){var R=y.__data__;if(!ot||R.length<n-1)return R.push([i,g]),this;y=this.__data__=new mt(R)}return y.set(i,g),this}Pt.prototype.clear=Qn,Pt.prototype.delete=dt,Pt.prototype.get=er,Pt.prototype.has=tr,Pt.prototype.set=nr;function rr(i,g){var y=Bt(i)||_r(i)?Te(i.length,String):[],R=y.length,pe=!!R;for(var xe in i)q.call(i,xe)&&!(pe&&(xe=="length"||wr(xe,R)))&&y.push(xe);return y}function yn(i,g,y){var R=i[g];(!(q.call(i,g)&&Cn(R,y))||y===void 0&&!(g in i))&&(i[g]=y)}function Ye(i,g){for(var y=i.length;y--;)if(Cn(i[y][0],g))return y;return-1}function or(i,g){return i&&on(g,sn(g),i)}function rn(i,g,y,R,pe,xe,it){var Ee;if(R&&(Ee=xe?R(i,pe,xe,it):R(i)),Ee!==void 0)return Ee;if(!Ot(i))return i;var Ct=Bt(i);if(Ct){if(Ee=yr(i),!g)return Wt(i,Ee)}else{var Tt=At(i),En=Tt==v||Tt==b;if(wt(i))return lr(i,g);if(Tt==E||Tt==c||En&&!xe){if(z(i))return xe?i:{};if(Ee=mr(En?{}:i),!g)return vr(i,or(Ee,i))}else{if(!F[Tt])return xe?i:{};Ee=xr(i,Tt,rn,g)}}it||(it=new Pt);var an=it.get(i);if(an)return an;if(it.set(i,Ee),!Ct)var qt=y?br(i):sn(i);return Se(qt||i,function(St,It){qt&&(It=St,St=i[It]),yn(Ee,It,rn(St,g,y,R,It,i,it))}),Ee}function ir(i){return Ot(i)?oe(i):{}}function sr(i,g,y){var R=g(i);return Bt(i)?R:U(R,y(i))}function ar(i){return ee.call(i)}function Yt(i){if(!Ot(i)||Sr(i))return!1;var g=_n(i)||z(i)?Me:tt;return g.test(xt(i))}function cr(i){if(!xn(i))return Dt(i);var g=[];for(var y in Object(i))q.call(i,y)&&y!="constructor"&&g.push(y);return g}function lr(i,g){if(g)return i.slice();var y=new i.constructor(i.length);return i.copy(y),y}function et(i){var g=new i.constructor(i.byteLength);return new Be(g).set(new Be(i)),g}function ur(i,g){var y=g?et(i.buffer):i.buffer;return new i.constructor(y,i.byteOffset,i.byteLength)}function dr(i,g,y){var R=g?y(Ve(i),!0):Ve(i);return nt(R,pt,new i.constructor)}function fr(i){var g=new i.constructor(i.source,ne.exec(i));return g.lastIndex=i.lastIndex,g}function gr(i,g,y){var R=g?y(vt(i),!0):vt(i);return nt(R,he,new i.constructor)}function hr(i){return lt?Object(lt.call(i)):{}}function pr(i,g){var y=g?et(i.buffer):i.buffer;return new i.constructor(y,i.byteOffset,i.length)}function Wt(i,g){var y=-1,R=i.length;for(g||(g=Array(R));++y<R;)g[y]=i[y];return g}function on(i,g,y,R){y||(y={});for(var pe=-1,xe=g.length;++pe<xe;){var it=g[pe],Ee=void 0;yn(y,it,Ee===void 0?i[it]:Ee)}return y}function vr(i,g){return on(i,mn(i),g)}function br(i){return sr(i,sn,mn)}function jt(i,g){var y=i.__data__;return Cr(g)?y[typeof g=="string"?"string":"hash"]:y.map}function $t(i,g){var y=rt(i,g);return Yt(y)?y:void 0}var mn=ue?Ie(ue,Object):Rr,At=ar;(yt&&At(new yt(new ArrayBuffer(1)))!=N||ot&&At(new ot)!=w||Nt&&At(Nt.resolve())!=C||Lt&&At(new Lt)!=O||Fe&&At(new Fe)!=M)&&(At=function(i){var g=ee.call(i),y=g==E?i.constructor:void 0,R=y?xt(y):void 0;if(R)switch(R){case De:return N;case me:return w;case Ze:return C;case Le:return O;case Re:return M}return g});function yr(i){var g=i.length,y=i.constructor(g);return g&&typeof i[0]=="string"&&q.call(i,"index")&&(y.index=i.index,y.input=i.input),y}function mr(i){return typeof i.constructor=="function"&&!xn(i)?ir(Xe(i)):{}}function xr(i,g,y,R){var pe=i.constructor;switch(g){case j:return et(i);case u:case h:return new pe(+i);case N:return ur(i,R);case L:case B:case X:case Y:case K:case Q:case ye:case fe:case G:return pr(i,R);case w:return dr(i,R,y);case x:case I:return new pe(i);case D:return fr(i);case O:return gr(i,R,y);case T:return hr(i)}}function wr(i,g){return g=g??s,!!g&&(typeof i=="number"||te.test(i))&&i>-1&&i%1==0&&i<g}function Cr(i){var g=typeof i;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?i!=="__proto__":i===null}function Sr(i){return!!W&&W in i}function xn(i){var g=i&&i.constructor,y=typeof g=="function"&&g.prototype||m;return i===y}function xt(i){if(i!=null){try{return Z.call(i)}catch{}try{return i+""}catch{}}return""}function wn(i){return rn(i,!0,!0)}function Cn(i,g){return i===g||i!==i&&g!==g}function _r(i){return Ft(i)&&q.call(i,"callee")&&(!bt.call(i,"callee")||ee.call(i)==c)}var Bt=Array.isArray;function Sn(i){return i!=null&&Dn(i.length)&&!_n(i)}function Ft(i){return Dr(i)&&Sn(i)}var wt=Ne||Rn;function _n(i){var g=Ot(i)?ee.call(i):"";return g==v||g==b}function Dn(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=s}function Ot(i){var g=typeof i;return!!i&&(g=="object"||g=="function")}function Dr(i){return!!i&&typeof i=="object"}function sn(i){return Sn(i)?rr(i):cr(i)}function Rr(){return[]}function Rn(){return!1}e.exports=wn})(Hn,Hn.exports);var la=Hn.exports;const ua=_t.getDefaultExportFromCjs(la);var Kn={exports:{}};Kn.exports;(function(e,t){var n=200,o="Expected a function",s="__lodash_hash_undefined__",c=1,l=2,u=1/0,h=9007199254740991,f=17976931348623157e292,v=NaN,b="[object Arguments]",w="[object Array]",x="[object Boolean]",E="[object Date]",C="[object Error]",D="[object Function]",O="[object GeneratorFunction]",I="[object Map]",T="[object Number]",M="[object Object]",j="[object Promise]",N="[object RegExp]",L="[object Set]",B="[object String]",X="[object Symbol]",Y="[object WeakMap]",K="[object ArrayBuffer]",Q="[object DataView]",ye="[object Float32Array]",fe="[object Float64Array]",G="[object Int8Array]",Ue="[object Int16Array]",ne="[object Int32Array]",tt="[object Uint8Array]",te="[object Uint8ClampedArray]",F="[object Uint16Array]",Je="[object Uint32Array]",se=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ke=/^\./,Oe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ge=/[\\^$.*+?()[\]{}|]/g,pt=/^\s+|\s+$/g,he=/\\(\\)?/g,Se=/^[-+]0x[0-9a-f]+$/i,U=/^0b[01]+$/i,nt=/^\[object .+?Constructor\]$/,Te=/^0o[0-7]+$/i,rt=/^(?:0|[1-9]\d*)$/,z={};z[ye]=z[fe]=z[G]=z[Ue]=z[ne]=z[tt]=z[te]=z[F]=z[Je]=!0,z[b]=z[w]=z[K]=z[x]=z[Q]=z[E]=z[C]=z[D]=z[I]=z[T]=z[M]=z[N]=z[L]=z[B]=z[Y]=!1;var Ve=parseInt,Ie=typeof _t.commonjsGlobal=="object"&&_t.commonjsGlobal&&_t.commonjsGlobal.Object===Object&&_t.commonjsGlobal,vt=typeof self=="object"&&self&&self.Object===Object&&self,_e=Ie||vt||Function("return this")(),S=t&&!t.nodeType&&t,m=S&&!0&&e&&!e.nodeType&&e,$=m&&m.exports===S,W=$&&Ie.process,Z=function(){try{return W&&W.binding("util")}catch{}}(),q=Z&&Z.isTypedArray;function ee(r,a){for(var p=-1,_=r?r.length:0;++p<_;)if(a(r[p],p,r))return!0;return!1}function Me(r,a,p,_){for(var P=r.length,A=p+-1;++A<P;)if(a(r[A],A,r))return A;return-1}function ce(r){return function(a){return a==null?void 0:a[r]}}function le(r,a){for(var p=-1,_=Array(r);++p<r;)_[p]=a(p);return _}function Be(r){return function(a){return r(a)}}function Xe(r,a){return r==null?void 0:r[a]}function oe(r){var a=!1;if(r!=null&&typeof r.toString!="function")try{a=!!(r+"")}catch{}return a}function bt(r){var a=-1,p=Array(r.size);return r.forEach(function(_,P){p[++a]=[P,_]}),p}function ae(r,a){return function(p){return r(a(p))}}function ue(r){var a=-1,p=Array(r.size);return r.forEach(function(_){p[++a]=_}),p}var Ne=Array.prototype,Dt=Function.prototype,yt=Object.prototype,ot=_e["__core-js_shared__"],Nt=function(){var r=/[^.]+$/.exec(ot&&ot.keys&&ot.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),Lt=Dt.toString,Fe=yt.hasOwnProperty,J=yt.toString,De=RegExp("^"+Lt.call(Fe).replace(ge,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),me=_e.Symbol,Ze=_e.Uint8Array,Le=yt.propertyIsEnumerable,Re=Ne.splice,ze=ae(Object.keys,Object),lt=Math.max,V=Ft(_e,"DataView"),Pe=Ft(_e,"Map"),je=Ft(_e,"Promise"),He=Ft(_e,"Set"),ut=Ft(_e,"WeakMap"),Qe=Ft(Object,"create"),de=R(V),Rt=R(Pe),Gt=R(je),Wn=R(He),qn=R(ut),Xt=me?me.prototype:void 0,mt=Xt?Xt.valueOf:void 0,bn=Xt?Xt.toString:void 0;function Et(r){var a=-1,p=r?r.length:0;for(this.clear();++a<p;){var _=r[a];this.set(_[0],_[1])}}function Jn(){this.__data__=Qe?Qe(null):{}}function Vn(r){return this.has(r)&&delete this.__data__[r]}function Zn(r){var a=this.__data__;if(Qe){var p=a[r];return p===s?void 0:p}return Fe.call(a,r)?a[r]:void 0}function Pt(r){var a=this.__data__;return Qe?a[r]!==void 0:Fe.call(a,r)}function Qn(r,a){var p=this.__data__;return p[r]=Qe&&a===void 0?s:a,this}Et.prototype.clear=Jn,Et.prototype.delete=Vn,Et.prototype.get=Zn,Et.prototype.has=Pt,Et.prototype.set=Qn;function dt(r){var a=-1,p=r?r.length:0;for(this.clear();++a<p;){var _=r[a];this.set(_[0],_[1])}}function er(){this.__data__=[]}function tr(r){var a=this.__data__,p=Wt(a,r);if(p<0)return!1;var _=a.length-1;return p==_?a.pop():Re.call(a,p,1),!0}function nr(r){var a=this.__data__,p=Wt(a,r);return p<0?void 0:a[p][1]}function rr(r){return Wt(this.__data__,r)>-1}function yn(r,a){var p=this.__data__,_=Wt(p,r);return _<0?p.push([r,a]):p[_][1]=a,this}dt.prototype.clear=er,dt.prototype.delete=tr,dt.prototype.get=nr,dt.prototype.has=rr,dt.prototype.set=yn;function Ye(r){var a=-1,p=r?r.length:0;for(this.clear();++a<p;){var _=r[a];this.set(_[0],_[1])}}function or(){this.__data__={hash:new Et,map:new(Pe||dt),string:new Et}}function rn(r){return Bt(this,r).delete(r)}function ir(r){return Bt(this,r).get(r)}function sr(r){return Bt(this,r).has(r)}function ar(r,a){return Bt(this,r).set(r,a),this}Ye.prototype.clear=or,Ye.prototype.delete=rn,Ye.prototype.get=ir,Ye.prototype.has=sr,Ye.prototype.set=ar;function Yt(r){var a=-1,p=r?r.length:0;for(this.__data__=new Ye;++a<p;)this.add(r[a])}function cr(r){return this.__data__.set(r,s),this}function lr(r){return this.__data__.has(r)}Yt.prototype.add=Yt.prototype.push=cr,Yt.prototype.has=lr;function et(r){this.__data__=new dt(r)}function ur(){this.__data__=new dt}function dr(r){return this.__data__.delete(r)}function fr(r){return this.__data__.get(r)}function gr(r){return this.__data__.has(r)}function hr(r,a){var p=this.__data__;if(p instanceof dt){var _=p.__data__;if(!Pe||_.length<n-1)return _.push([r,a]),this;p=this.__data__=new Ye(_)}return p.set(r,a),this}et.prototype.clear=ur,et.prototype.delete=dr,et.prototype.get=fr,et.prototype.has=gr,et.prototype.set=hr;function pr(r,a){var p=Ct(r)||Ee(r)?le(r.length,String):[],_=p.length,P=!!_;for(var A in r)Fe.call(r,A)&&!(P&&(A=="length"||Dn(A,_)))&&p.push(A);return p}function Wt(r,a){for(var p=r.length;p--;)if(it(r[p][0],a))return p;return-1}function on(r,a){a=Ot(a,r)?[a]:xt(a);for(var p=0,_=a.length;r!=null&&p<_;)r=r[y(a[p++])];return p&&p==_?r:void 0}function vr(r){return J.call(r)}function br(r,a){return r!=null&&a in Object(r)}function jt(r,a,p,_,P){return r===a?!0:r==null||a==null||!St(r)&&!It(a)?r!==r&&a!==a:$t(r,a,jt,p,_,P)}function $t(r,a,p,_,P,A){var k=Ct(r),Ae=Ct(a),ve=w,$e=w;k||(ve=wt(r),ve=ve==b?M:ve),Ae||($e=wt(a),$e=$e==b?M:$e);var We=ve==M&&!oe(r),qe=$e==M&&!oe(a),Ke=ve==$e;if(Ke&&!We)return A||(A=new et),k||Wo(r)?wn(r,a,p,_,P,A):Cn(r,a,ve,p,_,P,A);if(!(P&l)){var st=We&&Fe.call(r,"__wrapped__"),at=qe&&Fe.call(a,"__wrapped__");if(st||at){var zt=st?r.value():r,Mt=at?a.value():a;return A||(A=new et),p(zt,Mt,_,P,A)}}return Ke?(A||(A=new et),_r(r,a,p,_,P,A)):!1}function mn(r,a,p,_){var P=p.length,A=P;if(r==null)return!A;for(r=Object(r);P--;){var k=p[P];if(k[2]?k[1]!==r[k[0]]:!(k[0]in r))return!1}for(;++P<A;){k=p[P];var Ae=k[0],ve=r[Ae],$e=k[1];if(k[2]){if(ve===void 0&&!(Ae in r))return!1}else{var We=new et,qe;if(!(qe===void 0?jt($e,ve,_,c|l,We):qe))return!1}}return!0}function At(r){if(!St(r)||sn(r))return!1;var a=an(r)||oe(r)?De:nt;return a.test(R(r))}function yr(r){return It(r)&&qt(r.length)&&!!z[J.call(r)]}function mr(r){return typeof r=="function"?r:r==null?ti:typeof r=="object"?Ct(r)?Cr(r[0],r[1]):wr(r):ni(r)}function xr(r){if(!Rr(r))return ze(r);var a=[];for(var p in Object(r))Fe.call(r,p)&&p!="constructor"&&a.push(p);return a}function wr(r){var a=Sn(r);return a.length==1&&a[0][2]?i(a[0][0],a[0][1]):function(p){return p===r||mn(p,r,a)}}function Cr(r,a){return Ot(r)&&Rn(a)?i(y(r),a):function(p){var _=Qo(p,r);return _===void 0&&_===a?ei(p,r):jt(a,_,void 0,c|l)}}function Sr(r){return function(a){return on(a,r)}}function xn(r){if(typeof r=="string")return r;if(An(r))return bn?bn.call(r):"";var a=r+"";return a=="0"&&1/r==-u?"-0":a}function xt(r){return Ct(r)?r:g(r)}function wn(r,a,p,_,P,A){var k=P&l,Ae=r.length,ve=a.length;if(Ae!=ve&&!(k&&ve>Ae))return!1;var $e=A.get(r);if($e&&A.get(a))return $e==a;var We=-1,qe=!0,Ke=P&c?new Yt:void 0;for(A.set(r,a),A.set(a,r);++We<Ae;){var st=r[We],at=a[We];if(_)var zt=k?_(at,st,We,a,r,A):_(st,at,We,r,a,A);if(zt!==void 0){if(zt)continue;qe=!1;break}if(Ke){if(!ee(a,function(Mt,Ut){if(!Ke.has(Ut)&&(st===Mt||p(st,Mt,_,P,A)))return Ke.add(Ut)})){qe=!1;break}}else if(!(st===at||p(st,at,_,P,A))){qe=!1;break}}return A.delete(r),A.delete(a),qe}function Cn(r,a,p,_,P,A,k){switch(p){case Q:if(r.byteLength!=a.byteLength||r.byteOffset!=a.byteOffset)return!1;r=r.buffer,a=a.buffer;case K:return!(r.byteLength!=a.byteLength||!_(new Ze(r),new Ze(a)));case x:case E:case T:return it(+r,+a);case C:return r.name==a.name&&r.message==a.message;case N:case B:return r==a+"";case I:var Ae=bt;case L:var ve=A&l;if(Ae||(Ae=ue),r.size!=a.size&&!ve)return!1;var $e=k.get(r);if($e)return $e==a;A|=c,k.set(r,a);var We=wn(Ae(r),Ae(a),_,P,A,k);return k.delete(r),We;case X:if(mt)return mt.call(r)==mt.call(a)}return!1}function _r(r,a,p,_,P,A){var k=P&l,Ae=Er(r),ve=Ae.length,$e=Er(a),We=$e.length;if(ve!=We&&!k)return!1;for(var qe=ve;qe--;){var Ke=Ae[qe];if(!(k?Ke in a:Fe.call(a,Ke)))return!1}var st=A.get(r);if(st&&A.get(a))return st==a;var at=!0;A.set(r,a),A.set(a,r);for(var zt=k;++qe<ve;){Ke=Ae[qe];var Mt=r[Ke],Ut=a[Ke];if(_)var Jr=k?_(Ut,Mt,Ke,a,r,A):_(Mt,Ut,Ke,r,a,A);if(!(Jr===void 0?Mt===Ut||p(Mt,Ut,_,P,A):Jr)){at=!1;break}zt||(zt=Ke=="constructor")}if(at&&!zt){var On=r.constructor,Tn=a.constructor;On!=Tn&&"constructor"in r&&"constructor"in a&&!(typeof On=="function"&&On instanceof On&&typeof Tn=="function"&&Tn instanceof Tn)&&(at=!1)}return A.delete(r),A.delete(a),at}function Bt(r,a){var p=r.__data__;return Dr(a)?p[typeof a=="string"?"string":"hash"]:p.map}function Sn(r){for(var a=Er(r),p=a.length;p--;){var _=a[p],P=r[_];a[p]=[_,P,Rn(P)]}return a}function Ft(r,a){var p=Xe(r,a);return At(p)?p:void 0}var wt=vr;(V&&wt(new V(new ArrayBuffer(1)))!=Q||Pe&&wt(new Pe)!=I||je&&wt(je.resolve())!=j||He&&wt(new He)!=L||ut&&wt(new ut)!=Y)&&(wt=function(r){var a=J.call(r),p=a==M?r.constructor:void 0,_=p?R(p):void 0;if(_)switch(_){case de:return Q;case Rt:return I;case Gt:return j;case Wn:return L;case qn:return Y}return a});function _n(r,a,p){a=Ot(a,r)?[a]:xt(a);for(var _,P=-1,k=a.length;++P<k;){var A=y(a[P]);if(!(_=r!=null&&p(r,A)))break;r=r[A]}if(_)return _;var k=r?r.length:0;return!!k&&qt(k)&&Dn(A,k)&&(Ct(r)||Ee(r))}function Dn(r,a){return a=a??h,!!a&&(typeof r=="number"||rt.test(r))&&r>-1&&r%1==0&&r<a}function Ot(r,a){if(Ct(r))return!1;var p=typeof r;return p=="number"||p=="symbol"||p=="boolean"||r==null||An(r)?!0:re.test(r)||!se.test(r)||a!=null&&r in Object(a)}function Dr(r){var a=typeof r;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?r!=="__proto__":r===null}function sn(r){return!!Nt&&Nt in r}function Rr(r){var a=r&&r.constructor,p=typeof a=="function"&&a.prototype||yt;return r===p}function Rn(r){return r===r&&!St(r)}function i(r,a){return function(p){return p==null?!1:p[r]===a&&(a!==void 0||r in Object(p))}}var g=xe(function(r){r=Zo(r);var a=[];return ke.test(r)&&a.push(""),r.replace(Oe,function(p,_,P,A){a.push(P?A.replace(he,"$1"):_||p)}),a});function y(r){if(typeof r=="string"||An(r))return r;var a=r+"";return a=="0"&&1/r==-u?"-0":a}function R(r){if(r!=null){try{return Lt.call(r)}catch{}try{return r+""}catch{}}return""}function pe(r,a,p){var _=r?r.length:0;if(!_)return-1;var P=p==null?0:Jo(p);return P<0&&(P=lt(_+P,0)),Me(r,mr(a),P)}function xe(r,a){if(typeof r!="function"||a&&typeof a!="function")throw new TypeError(o);var p=function(){var _=arguments,P=a?a.apply(this,_):_[0],A=p.cache;if(A.has(P))return A.get(P);var k=r.apply(this,_);return p.cache=A.set(P,k),k};return p.cache=new(xe.Cache||Ye),p}xe.Cache=Ye;function it(r,a){return r===a||r!==r&&a!==a}function Ee(r){return En(r)&&Fe.call(r,"callee")&&(!Le.call(r,"callee")||J.call(r)==b)}var Ct=Array.isArray;function Tt(r){return r!=null&&qt(r.length)&&!an(r)}function En(r){return It(r)&&Tt(r)}function an(r){var a=St(r)?J.call(r):"";return a==D||a==O}function qt(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=h}function St(r){var a=typeof r;return!!r&&(a=="object"||a=="function")}function It(r){return!!r&&typeof r=="object"}function An(r){return typeof r=="symbol"||It(r)&&J.call(r)==X}var Wo=q?Be(q):yr;function qo(r){if(!r)return r===0?r:0;if(r=Vo(r),r===u||r===-u){var a=r<0?-1:1;return a*f}return r===r?r:0}function Jo(r){var a=qo(r),p=a%1;return a===a?p?a-p:a:0}function Vo(r){if(typeof r=="number")return r;if(An(r))return v;if(St(r)){var a=typeof r.valueOf=="function"?r.valueOf():r;r=St(a)?a+"":a}if(typeof r!="string")return r===0?r:+r;r=r.replace(pt,"");var p=U.test(r);return p||Te.test(r)?Ve(r.slice(2),p?2:8):Se.test(r)?v:+r}function Zo(r){return r==null?"":xn(r)}function Qo(r,a,p){var _=r==null?void 0:on(r,a);return _===void 0?p:_}function ei(r,a){return r!=null&&_n(r,a,br)}function Er(r){return Tt(r)?pr(r):xr(r)}function ti(r){return r}function ni(r){return Ot(r)?ce(y(r)):Sr(r)}e.exports=pe})(Kn,Kn.exports);var da=Kn.exports;const kt=_t.getDefaultExportFromCjs(da),fa=Qt.styled.div``,ga=Qt.styled.div`
|
|
79
|
+
`,Yo=d.forwardRef((e,t)=>{const{children:n,containerId:o,renderFooterContent:s,columns:c=1,handleProps:l,horizontal:u,hover:h,onClick:f,label:v,maxContainerHeight:b,style:w,scrollable:x,shadow:E,unstyled:C,color:D,...O}=e,I=Fr.useTheme();return ie.jsxs(sa,{...O,ref:t,style:{...w,"--columns":c},unstyled:C,horizontal:u,hover:h,scrollable:x,shadow:E,onClick:f,tabIndex:f?0:void 0,maxContainerHeight:b,color:D,theme:I,children:[v?ie.jsxs(aa,{theme:I,color:D,children:[ie.jsx(ca,{className:"Actions",children:ie.jsx(vo.Handle,{...l})}),v]}):null,ie.jsx("ul",{children:n}),s(o)]})});var Hn={exports:{}};Hn.exports;(function(e,t){var n=200,o="__lodash_hash_undefined__",s=9007199254740991,c="[object Arguments]",l="[object Array]",u="[object Boolean]",h="[object Date]",f="[object Error]",v="[object Function]",b="[object GeneratorFunction]",w="[object Map]",x="[object Number]",E="[object Object]",C="[object Promise]",D="[object RegExp]",O="[object Set]",I="[object String]",T="[object Symbol]",M="[object WeakMap]",j="[object ArrayBuffer]",N="[object DataView]",L="[object Float32Array]",$="[object Float64Array]",X="[object Int8Array]",Y="[object Int16Array]",K="[object Int32Array]",Q="[object Uint8Array]",ye="[object Uint8ClampedArray]",fe="[object Uint16Array]",G="[object Uint32Array]",Ue=/[\\^$.*+?()[\]{}|]/g,ne=/\w*$/,tt=/^\[object .+?Constructor\]$/,te=/^(?:0|[1-9]\d*)$/,F={};F[c]=F[l]=F[j]=F[N]=F[u]=F[h]=F[L]=F[$]=F[X]=F[Y]=F[K]=F[w]=F[x]=F[E]=F[D]=F[O]=F[I]=F[T]=F[Q]=F[ye]=F[fe]=F[G]=!0,F[f]=F[v]=F[M]=!1;var Je=typeof _t.commonjsGlobal=="object"&&_t.commonjsGlobal&&_t.commonjsGlobal.Object===Object&&_t.commonjsGlobal,se=typeof self=="object"&&self&&self.Object===Object&&self,re=Je||se||Function("return this")(),ke=t&&!t.nodeType&&t,Oe=ke&&!0&&e&&!e.nodeType&&e,ge=Oe&&Oe.exports===ke;function pt(i,g){return i.set(g[0],g[1]),i}function he(i,g){return i.add(g),i}function Se(i,g){for(var y=-1,R=i?i.length:0;++y<R&&g(i[y],y,i)!==!1;);return i}function U(i,g){for(var y=-1,R=g.length,pe=i.length;++y<R;)i[pe+y]=g[y];return i}function nt(i,g,y,R){for(var pe=-1,xe=i?i.length:0;++pe<xe;)y=g(y,i[pe],pe,i);return y}function Te(i,g){for(var y=-1,R=Array(i);++y<i;)R[y]=g(y);return R}function rt(i,g){return i==null?void 0:i[g]}function z(i){var g=!1;if(i!=null&&typeof i.toString!="function")try{g=!!(i+"")}catch{}return g}function Ve(i){var g=-1,y=Array(i.size);return i.forEach(function(R,pe){y[++g]=[pe,R]}),y}function Ie(i,g){return function(y){return i(g(y))}}function vt(i){var g=-1,y=Array(i.size);return i.forEach(function(R){y[++g]=R}),y}var _e=Array.prototype,S=Function.prototype,m=Object.prototype,B=re["__core-js_shared__"],W=function(){var i=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),Z=S.toString,q=m.hasOwnProperty,ee=m.toString,Me=RegExp("^"+Z.call(q).replace(Ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ce=ge?re.Buffer:void 0,le=re.Symbol,$e=re.Uint8Array,Xe=Ie(Object.getPrototypeOf,Object),oe=Object.create,bt=m.propertyIsEnumerable,ae=_e.splice,ue=Object.getOwnPropertySymbols,Ne=ce?ce.isBuffer:void 0,Dt=Ie(Object.keys,Object),yt=Bt(re,"DataView"),ot=Bt(re,"Map"),Nt=Bt(re,"Promise"),Lt=Bt(re,"Set"),Fe=Bt(re,"WeakMap"),J=Bt(Object,"create"),De=xt(yt),me=xt(ot),Ze=xt(Nt),Le=xt(Lt),Re=xt(Fe),ze=le?le.prototype:void 0,lt=ze?ze.valueOf:void 0;function V(i){var g=-1,y=i?i.length:0;for(this.clear();++g<y;){var R=i[g];this.set(R[0],R[1])}}function Pe(){this.__data__=J?J(null):{}}function je(i){return this.has(i)&&delete this.__data__[i]}function He(i){var g=this.__data__;if(J){var y=g[i];return y===o?void 0:y}return q.call(g,i)?g[i]:void 0}function ut(i){var g=this.__data__;return J?g[i]!==void 0:q.call(g,i)}function Qe(i,g){var y=this.__data__;return y[i]=J&&g===void 0?o:g,this}V.prototype.clear=Pe,V.prototype.delete=je,V.prototype.get=He,V.prototype.has=ut,V.prototype.set=Qe;function de(i){var g=-1,y=i?i.length:0;for(this.clear();++g<y;){var R=i[g];this.set(R[0],R[1])}}function Rt(){this.__data__=[]}function Gt(i){var g=this.__data__,y=Ye(g,i);if(y<0)return!1;var R=g.length-1;return y==R?g.pop():ae.call(g,y,1),!0}function Wn(i){var g=this.__data__,y=Ye(g,i);return y<0?void 0:g[y][1]}function qn(i){return Ye(this.__data__,i)>-1}function Xt(i,g){var y=this.__data__,R=Ye(y,i);return R<0?y.push([i,g]):y[R][1]=g,this}de.prototype.clear=Rt,de.prototype.delete=Gt,de.prototype.get=Wn,de.prototype.has=qn,de.prototype.set=Xt;function mt(i){var g=-1,y=i?i.length:0;for(this.clear();++g<y;){var R=i[g];this.set(R[0],R[1])}}function bn(){this.__data__={hash:new V,map:new(ot||de),string:new V}}function Et(i){return jt(this,i).delete(i)}function Jn(i){return jt(this,i).get(i)}function Vn(i){return jt(this,i).has(i)}function Zn(i,g){return jt(this,i).set(i,g),this}mt.prototype.clear=bn,mt.prototype.delete=Et,mt.prototype.get=Jn,mt.prototype.has=Vn,mt.prototype.set=Zn;function Pt(i){this.__data__=new de(i)}function Qn(){this.__data__=new de}function dt(i){return this.__data__.delete(i)}function er(i){return this.__data__.get(i)}function tr(i){return this.__data__.has(i)}function nr(i,g){var y=this.__data__;if(y instanceof de){var R=y.__data__;if(!ot||R.length<n-1)return R.push([i,g]),this;y=this.__data__=new mt(R)}return y.set(i,g),this}Pt.prototype.clear=Qn,Pt.prototype.delete=dt,Pt.prototype.get=er,Pt.prototype.has=tr,Pt.prototype.set=nr;function rr(i,g){var y=$t(i)||_r(i)?Te(i.length,String):[],R=y.length,pe=!!R;for(var xe in i)q.call(i,xe)&&!(pe&&(xe=="length"||wr(xe,R)))&&y.push(xe);return y}function yn(i,g,y){var R=i[g];(!(q.call(i,g)&&Cn(R,y))||y===void 0&&!(g in i))&&(i[g]=y)}function Ye(i,g){for(var y=i.length;y--;)if(Cn(i[y][0],g))return y;return-1}function or(i,g){return i&&on(g,sn(g),i)}function rn(i,g,y,R,pe,xe,it){var Ee;if(R&&(Ee=xe?R(i,pe,xe,it):R(i)),Ee!==void 0)return Ee;if(!Ot(i))return i;var Ct=$t(i);if(Ct){if(Ee=yr(i),!g)return Wt(i,Ee)}else{var Tt=At(i),En=Tt==v||Tt==b;if(wt(i))return lr(i,g);if(Tt==E||Tt==c||En&&!xe){if(z(i))return xe?i:{};if(Ee=mr(En?{}:i),!g)return vr(i,or(Ee,i))}else{if(!F[Tt])return xe?i:{};Ee=xr(i,Tt,rn,g)}}it||(it=new Pt);var an=it.get(i);if(an)return an;if(it.set(i,Ee),!Ct)var qt=y?br(i):sn(i);return Se(qt||i,function(St,It){qt&&(It=St,St=i[It]),yn(Ee,It,rn(St,g,y,R,It,i,it))}),Ee}function ir(i){return Ot(i)?oe(i):{}}function sr(i,g,y){var R=g(i);return $t(i)?R:U(R,y(i))}function ar(i){return ee.call(i)}function Yt(i){if(!Ot(i)||Sr(i))return!1;var g=_n(i)||z(i)?Me:tt;return g.test(xt(i))}function cr(i){if(!xn(i))return Dt(i);var g=[];for(var y in Object(i))q.call(i,y)&&y!="constructor"&&g.push(y);return g}function lr(i,g){if(g)return i.slice();var y=new i.constructor(i.length);return i.copy(y),y}function et(i){var g=new i.constructor(i.byteLength);return new $e(g).set(new $e(i)),g}function ur(i,g){var y=g?et(i.buffer):i.buffer;return new i.constructor(y,i.byteOffset,i.byteLength)}function dr(i,g,y){var R=g?y(Ve(i),!0):Ve(i);return nt(R,pt,new i.constructor)}function fr(i){var g=new i.constructor(i.source,ne.exec(i));return g.lastIndex=i.lastIndex,g}function gr(i,g,y){var R=g?y(vt(i),!0):vt(i);return nt(R,he,new i.constructor)}function hr(i){return lt?Object(lt.call(i)):{}}function pr(i,g){var y=g?et(i.buffer):i.buffer;return new i.constructor(y,i.byteOffset,i.length)}function Wt(i,g){var y=-1,R=i.length;for(g||(g=Array(R));++y<R;)g[y]=i[y];return g}function on(i,g,y,R){y||(y={});for(var pe=-1,xe=g.length;++pe<xe;){var it=g[pe],Ee=void 0;yn(y,it,Ee===void 0?i[it]:Ee)}return y}function vr(i,g){return on(i,mn(i),g)}function br(i){return sr(i,sn,mn)}function jt(i,g){var y=i.__data__;return Cr(g)?y[typeof g=="string"?"string":"hash"]:y.map}function Bt(i,g){var y=rt(i,g);return Yt(y)?y:void 0}var mn=ue?Ie(ue,Object):Rr,At=ar;(yt&&At(new yt(new ArrayBuffer(1)))!=N||ot&&At(new ot)!=w||Nt&&At(Nt.resolve())!=C||Lt&&At(new Lt)!=O||Fe&&At(new Fe)!=M)&&(At=function(i){var g=ee.call(i),y=g==E?i.constructor:void 0,R=y?xt(y):void 0;if(R)switch(R){case De:return N;case me:return w;case Ze:return C;case Le:return O;case Re:return M}return g});function yr(i){var g=i.length,y=i.constructor(g);return g&&typeof i[0]=="string"&&q.call(i,"index")&&(y.index=i.index,y.input=i.input),y}function mr(i){return typeof i.constructor=="function"&&!xn(i)?ir(Xe(i)):{}}function xr(i,g,y,R){var pe=i.constructor;switch(g){case j:return et(i);case u:case h:return new pe(+i);case N:return ur(i,R);case L:case $:case X:case Y:case K:case Q:case ye:case fe:case G:return pr(i,R);case w:return dr(i,R,y);case x:case I:return new pe(i);case D:return fr(i);case O:return gr(i,R,y);case T:return hr(i)}}function wr(i,g){return g=g??s,!!g&&(typeof i=="number"||te.test(i))&&i>-1&&i%1==0&&i<g}function Cr(i){var g=typeof i;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?i!=="__proto__":i===null}function Sr(i){return!!W&&W in i}function xn(i){var g=i&&i.constructor,y=typeof g=="function"&&g.prototype||m;return i===y}function xt(i){if(i!=null){try{return Z.call(i)}catch{}try{return i+""}catch{}}return""}function wn(i){return rn(i,!0,!0)}function Cn(i,g){return i===g||i!==i&&g!==g}function _r(i){return Ft(i)&&q.call(i,"callee")&&(!bt.call(i,"callee")||ee.call(i)==c)}var $t=Array.isArray;function Sn(i){return i!=null&&Dn(i.length)&&!_n(i)}function Ft(i){return Dr(i)&&Sn(i)}var wt=Ne||Rn;function _n(i){var g=Ot(i)?ee.call(i):"";return g==v||g==b}function Dn(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=s}function Ot(i){var g=typeof i;return!!i&&(g=="object"||g=="function")}function Dr(i){return!!i&&typeof i=="object"}function sn(i){return Sn(i)?rr(i):cr(i)}function Rr(){return[]}function Rn(){return!1}e.exports=wn})(Hn,Hn.exports);var la=Hn.exports;const ua=_t.getDefaultExportFromCjs(la);var Kn={exports:{}};Kn.exports;(function(e,t){var n=200,o="Expected a function",s="__lodash_hash_undefined__",c=1,l=2,u=1/0,h=9007199254740991,f=17976931348623157e292,v=NaN,b="[object Arguments]",w="[object Array]",x="[object Boolean]",E="[object Date]",C="[object Error]",D="[object Function]",O="[object GeneratorFunction]",I="[object Map]",T="[object Number]",M="[object Object]",j="[object Promise]",N="[object RegExp]",L="[object Set]",$="[object String]",X="[object Symbol]",Y="[object WeakMap]",K="[object ArrayBuffer]",Q="[object DataView]",ye="[object Float32Array]",fe="[object Float64Array]",G="[object Int8Array]",Ue="[object Int16Array]",ne="[object Int32Array]",tt="[object Uint8Array]",te="[object Uint8ClampedArray]",F="[object Uint16Array]",Je="[object Uint32Array]",se=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ke=/^\./,Oe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ge=/[\\^$.*+?()[\]{}|]/g,pt=/^\s+|\s+$/g,he=/\\(\\)?/g,Se=/^[-+]0x[0-9a-f]+$/i,U=/^0b[01]+$/i,nt=/^\[object .+?Constructor\]$/,Te=/^0o[0-7]+$/i,rt=/^(?:0|[1-9]\d*)$/,z={};z[ye]=z[fe]=z[G]=z[Ue]=z[ne]=z[tt]=z[te]=z[F]=z[Je]=!0,z[b]=z[w]=z[K]=z[x]=z[Q]=z[E]=z[C]=z[D]=z[I]=z[T]=z[M]=z[N]=z[L]=z[$]=z[Y]=!1;var Ve=parseInt,Ie=typeof _t.commonjsGlobal=="object"&&_t.commonjsGlobal&&_t.commonjsGlobal.Object===Object&&_t.commonjsGlobal,vt=typeof self=="object"&&self&&self.Object===Object&&self,_e=Ie||vt||Function("return this")(),S=t&&!t.nodeType&&t,m=S&&!0&&e&&!e.nodeType&&e,B=m&&m.exports===S,W=B&&Ie.process,Z=function(){try{return W&&W.binding("util")}catch{}}(),q=Z&&Z.isTypedArray;function ee(r,a){for(var p=-1,_=r?r.length:0;++p<_;)if(a(r[p],p,r))return!0;return!1}function Me(r,a,p,_){for(var P=r.length,A=p+-1;++A<P;)if(a(r[A],A,r))return A;return-1}function ce(r){return function(a){return a==null?void 0:a[r]}}function le(r,a){for(var p=-1,_=Array(r);++p<r;)_[p]=a(p);return _}function $e(r){return function(a){return r(a)}}function Xe(r,a){return r==null?void 0:r[a]}function oe(r){var a=!1;if(r!=null&&typeof r.toString!="function")try{a=!!(r+"")}catch{}return a}function bt(r){var a=-1,p=Array(r.size);return r.forEach(function(_,P){p[++a]=[P,_]}),p}function ae(r,a){return function(p){return r(a(p))}}function ue(r){var a=-1,p=Array(r.size);return r.forEach(function(_){p[++a]=_}),p}var Ne=Array.prototype,Dt=Function.prototype,yt=Object.prototype,ot=_e["__core-js_shared__"],Nt=function(){var r=/[^.]+$/.exec(ot&&ot.keys&&ot.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),Lt=Dt.toString,Fe=yt.hasOwnProperty,J=yt.toString,De=RegExp("^"+Lt.call(Fe).replace(ge,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),me=_e.Symbol,Ze=_e.Uint8Array,Le=yt.propertyIsEnumerable,Re=Ne.splice,ze=ae(Object.keys,Object),lt=Math.max,V=Ft(_e,"DataView"),Pe=Ft(_e,"Map"),je=Ft(_e,"Promise"),He=Ft(_e,"Set"),ut=Ft(_e,"WeakMap"),Qe=Ft(Object,"create"),de=R(V),Rt=R(Pe),Gt=R(je),Wn=R(He),qn=R(ut),Xt=me?me.prototype:void 0,mt=Xt?Xt.valueOf:void 0,bn=Xt?Xt.toString:void 0;function Et(r){var a=-1,p=r?r.length:0;for(this.clear();++a<p;){var _=r[a];this.set(_[0],_[1])}}function Jn(){this.__data__=Qe?Qe(null):{}}function Vn(r){return this.has(r)&&delete this.__data__[r]}function Zn(r){var a=this.__data__;if(Qe){var p=a[r];return p===s?void 0:p}return Fe.call(a,r)?a[r]:void 0}function Pt(r){var a=this.__data__;return Qe?a[r]!==void 0:Fe.call(a,r)}function Qn(r,a){var p=this.__data__;return p[r]=Qe&&a===void 0?s:a,this}Et.prototype.clear=Jn,Et.prototype.delete=Vn,Et.prototype.get=Zn,Et.prototype.has=Pt,Et.prototype.set=Qn;function dt(r){var a=-1,p=r?r.length:0;for(this.clear();++a<p;){var _=r[a];this.set(_[0],_[1])}}function er(){this.__data__=[]}function tr(r){var a=this.__data__,p=Wt(a,r);if(p<0)return!1;var _=a.length-1;return p==_?a.pop():Re.call(a,p,1),!0}function nr(r){var a=this.__data__,p=Wt(a,r);return p<0?void 0:a[p][1]}function rr(r){return Wt(this.__data__,r)>-1}function yn(r,a){var p=this.__data__,_=Wt(p,r);return _<0?p.push([r,a]):p[_][1]=a,this}dt.prototype.clear=er,dt.prototype.delete=tr,dt.prototype.get=nr,dt.prototype.has=rr,dt.prototype.set=yn;function Ye(r){var a=-1,p=r?r.length:0;for(this.clear();++a<p;){var _=r[a];this.set(_[0],_[1])}}function or(){this.__data__={hash:new Et,map:new(Pe||dt),string:new Et}}function rn(r){return $t(this,r).delete(r)}function ir(r){return $t(this,r).get(r)}function sr(r){return $t(this,r).has(r)}function ar(r,a){return $t(this,r).set(r,a),this}Ye.prototype.clear=or,Ye.prototype.delete=rn,Ye.prototype.get=ir,Ye.prototype.has=sr,Ye.prototype.set=ar;function Yt(r){var a=-1,p=r?r.length:0;for(this.__data__=new Ye;++a<p;)this.add(r[a])}function cr(r){return this.__data__.set(r,s),this}function lr(r){return this.__data__.has(r)}Yt.prototype.add=Yt.prototype.push=cr,Yt.prototype.has=lr;function et(r){this.__data__=new dt(r)}function ur(){this.__data__=new dt}function dr(r){return this.__data__.delete(r)}function fr(r){return this.__data__.get(r)}function gr(r){return this.__data__.has(r)}function hr(r,a){var p=this.__data__;if(p instanceof dt){var _=p.__data__;if(!Pe||_.length<n-1)return _.push([r,a]),this;p=this.__data__=new Ye(_)}return p.set(r,a),this}et.prototype.clear=ur,et.prototype.delete=dr,et.prototype.get=fr,et.prototype.has=gr,et.prototype.set=hr;function pr(r,a){var p=Ct(r)||Ee(r)?le(r.length,String):[],_=p.length,P=!!_;for(var A in r)Fe.call(r,A)&&!(P&&(A=="length"||Dn(A,_)))&&p.push(A);return p}function Wt(r,a){for(var p=r.length;p--;)if(it(r[p][0],a))return p;return-1}function on(r,a){a=Ot(a,r)?[a]:xt(a);for(var p=0,_=a.length;r!=null&&p<_;)r=r[y(a[p++])];return p&&p==_?r:void 0}function vr(r){return J.call(r)}function br(r,a){return r!=null&&a in Object(r)}function jt(r,a,p,_,P){return r===a?!0:r==null||a==null||!St(r)&&!It(a)?r!==r&&a!==a:Bt(r,a,jt,p,_,P)}function Bt(r,a,p,_,P,A){var k=Ct(r),Ae=Ct(a),ve=w,Be=w;k||(ve=wt(r),ve=ve==b?M:ve),Ae||(Be=wt(a),Be=Be==b?M:Be);var We=ve==M&&!oe(r),qe=Be==M&&!oe(a),Ke=ve==Be;if(Ke&&!We)return A||(A=new et),k||Wo(r)?wn(r,a,p,_,P,A):Cn(r,a,ve,p,_,P,A);if(!(P&l)){var st=We&&Fe.call(r,"__wrapped__"),at=qe&&Fe.call(a,"__wrapped__");if(st||at){var zt=st?r.value():r,Mt=at?a.value():a;return A||(A=new et),p(zt,Mt,_,P,A)}}return Ke?(A||(A=new et),_r(r,a,p,_,P,A)):!1}function mn(r,a,p,_){var P=p.length,A=P;if(r==null)return!A;for(r=Object(r);P--;){var k=p[P];if(k[2]?k[1]!==r[k[0]]:!(k[0]in r))return!1}for(;++P<A;){k=p[P];var Ae=k[0],ve=r[Ae],Be=k[1];if(k[2]){if(ve===void 0&&!(Ae in r))return!1}else{var We=new et,qe;if(!(qe===void 0?jt(Be,ve,_,c|l,We):qe))return!1}}return!0}function At(r){if(!St(r)||sn(r))return!1;var a=an(r)||oe(r)?De:nt;return a.test(R(r))}function yr(r){return It(r)&&qt(r.length)&&!!z[J.call(r)]}function mr(r){return typeof r=="function"?r:r==null?ti:typeof r=="object"?Ct(r)?Cr(r[0],r[1]):wr(r):ni(r)}function xr(r){if(!Rr(r))return ze(r);var a=[];for(var p in Object(r))Fe.call(r,p)&&p!="constructor"&&a.push(p);return a}function wr(r){var a=Sn(r);return a.length==1&&a[0][2]?i(a[0][0],a[0][1]):function(p){return p===r||mn(p,r,a)}}function Cr(r,a){return Ot(r)&&Rn(a)?i(y(r),a):function(p){var _=Qo(p,r);return _===void 0&&_===a?ei(p,r):jt(a,_,void 0,c|l)}}function Sr(r){return function(a){return on(a,r)}}function xn(r){if(typeof r=="string")return r;if(An(r))return bn?bn.call(r):"";var a=r+"";return a=="0"&&1/r==-u?"-0":a}function xt(r){return Ct(r)?r:g(r)}function wn(r,a,p,_,P,A){var k=P&l,Ae=r.length,ve=a.length;if(Ae!=ve&&!(k&&ve>Ae))return!1;var Be=A.get(r);if(Be&&A.get(a))return Be==a;var We=-1,qe=!0,Ke=P&c?new Yt:void 0;for(A.set(r,a),A.set(a,r);++We<Ae;){var st=r[We],at=a[We];if(_)var zt=k?_(at,st,We,a,r,A):_(st,at,We,r,a,A);if(zt!==void 0){if(zt)continue;qe=!1;break}if(Ke){if(!ee(a,function(Mt,Ut){if(!Ke.has(Ut)&&(st===Mt||p(st,Mt,_,P,A)))return Ke.add(Ut)})){qe=!1;break}}else if(!(st===at||p(st,at,_,P,A))){qe=!1;break}}return A.delete(r),A.delete(a),qe}function Cn(r,a,p,_,P,A,k){switch(p){case Q:if(r.byteLength!=a.byteLength||r.byteOffset!=a.byteOffset)return!1;r=r.buffer,a=a.buffer;case K:return!(r.byteLength!=a.byteLength||!_(new Ze(r),new Ze(a)));case x:case E:case T:return it(+r,+a);case C:return r.name==a.name&&r.message==a.message;case N:case $:return r==a+"";case I:var Ae=bt;case L:var ve=A&l;if(Ae||(Ae=ue),r.size!=a.size&&!ve)return!1;var Be=k.get(r);if(Be)return Be==a;A|=c,k.set(r,a);var We=wn(Ae(r),Ae(a),_,P,A,k);return k.delete(r),We;case X:if(mt)return mt.call(r)==mt.call(a)}return!1}function _r(r,a,p,_,P,A){var k=P&l,Ae=Er(r),ve=Ae.length,Be=Er(a),We=Be.length;if(ve!=We&&!k)return!1;for(var qe=ve;qe--;){var Ke=Ae[qe];if(!(k?Ke in a:Fe.call(a,Ke)))return!1}var st=A.get(r);if(st&&A.get(a))return st==a;var at=!0;A.set(r,a),A.set(a,r);for(var zt=k;++qe<ve;){Ke=Ae[qe];var Mt=r[Ke],Ut=a[Ke];if(_)var Jr=k?_(Ut,Mt,Ke,a,r,A):_(Mt,Ut,Ke,r,a,A);if(!(Jr===void 0?Mt===Ut||p(Mt,Ut,_,P,A):Jr)){at=!1;break}zt||(zt=Ke=="constructor")}if(at&&!zt){var On=r.constructor,Tn=a.constructor;On!=Tn&&"constructor"in r&&"constructor"in a&&!(typeof On=="function"&&On instanceof On&&typeof Tn=="function"&&Tn instanceof Tn)&&(at=!1)}return A.delete(r),A.delete(a),at}function $t(r,a){var p=r.__data__;return Dr(a)?p[typeof a=="string"?"string":"hash"]:p.map}function Sn(r){for(var a=Er(r),p=a.length;p--;){var _=a[p],P=r[_];a[p]=[_,P,Rn(P)]}return a}function Ft(r,a){var p=Xe(r,a);return At(p)?p:void 0}var wt=vr;(V&&wt(new V(new ArrayBuffer(1)))!=Q||Pe&&wt(new Pe)!=I||je&&wt(je.resolve())!=j||He&&wt(new He)!=L||ut&&wt(new ut)!=Y)&&(wt=function(r){var a=J.call(r),p=a==M?r.constructor:void 0,_=p?R(p):void 0;if(_)switch(_){case de:return Q;case Rt:return I;case Gt:return j;case Wn:return L;case qn:return Y}return a});function _n(r,a,p){a=Ot(a,r)?[a]:xt(a);for(var _,P=-1,k=a.length;++P<k;){var A=y(a[P]);if(!(_=r!=null&&p(r,A)))break;r=r[A]}if(_)return _;var k=r?r.length:0;return!!k&&qt(k)&&Dn(A,k)&&(Ct(r)||Ee(r))}function Dn(r,a){return a=a??h,!!a&&(typeof r=="number"||rt.test(r))&&r>-1&&r%1==0&&r<a}function Ot(r,a){if(Ct(r))return!1;var p=typeof r;return p=="number"||p=="symbol"||p=="boolean"||r==null||An(r)?!0:re.test(r)||!se.test(r)||a!=null&&r in Object(a)}function Dr(r){var a=typeof r;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?r!=="__proto__":r===null}function sn(r){return!!Nt&&Nt in r}function Rr(r){var a=r&&r.constructor,p=typeof a=="function"&&a.prototype||yt;return r===p}function Rn(r){return r===r&&!St(r)}function i(r,a){return function(p){return p==null?!1:p[r]===a&&(a!==void 0||r in Object(p))}}var g=xe(function(r){r=Zo(r);var a=[];return ke.test(r)&&a.push(""),r.replace(Oe,function(p,_,P,A){a.push(P?A.replace(he,"$1"):_||p)}),a});function y(r){if(typeof r=="string"||An(r))return r;var a=r+"";return a=="0"&&1/r==-u?"-0":a}function R(r){if(r!=null){try{return Lt.call(r)}catch{}try{return r+""}catch{}}return""}function pe(r,a,p){var _=r?r.length:0;if(!_)return-1;var P=p==null?0:Jo(p);return P<0&&(P=lt(_+P,0)),Me(r,mr(a),P)}function xe(r,a){if(typeof r!="function"||a&&typeof a!="function")throw new TypeError(o);var p=function(){var _=arguments,P=a?a.apply(this,_):_[0],A=p.cache;if(A.has(P))return A.get(P);var k=r.apply(this,_);return p.cache=A.set(P,k),k};return p.cache=new(xe.Cache||Ye),p}xe.Cache=Ye;function it(r,a){return r===a||r!==r&&a!==a}function Ee(r){return En(r)&&Fe.call(r,"callee")&&(!Le.call(r,"callee")||J.call(r)==b)}var Ct=Array.isArray;function Tt(r){return r!=null&&qt(r.length)&&!an(r)}function En(r){return It(r)&&Tt(r)}function an(r){var a=St(r)?J.call(r):"";return a==D||a==O}function qt(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=h}function St(r){var a=typeof r;return!!r&&(a=="object"||a=="function")}function It(r){return!!r&&typeof r=="object"}function An(r){return typeof r=="symbol"||It(r)&&J.call(r)==X}var Wo=q?$e(q):yr;function qo(r){if(!r)return r===0?r:0;if(r=Vo(r),r===u||r===-u){var a=r<0?-1:1;return a*f}return r===r?r:0}function Jo(r){var a=qo(r),p=a%1;return a===a?p?a-p:a:0}function Vo(r){if(typeof r=="number")return r;if(An(r))return v;if(St(r)){var a=typeof r.valueOf=="function"?r.valueOf():r;r=St(a)?a+"":a}if(typeof r!="string")return r===0?r:+r;r=r.replace(pt,"");var p=U.test(r);return p||Te.test(r)?Ve(r.slice(2),p?2:8):Se.test(r)?v:+r}function Zo(r){return r==null?"":xn(r)}function Qo(r,a,p){var _=r==null?void 0:on(r,a);return _===void 0?p:_}function ei(r,a){return r!=null&&_n(r,a,br)}function Er(r){return Tt(r)?pr(r):xr(r)}function ti(r){return r}function ni(r){return Ot(r)?ce(y(r)):Sr(r)}e.exports=pe})(Kn,Kn.exports);var da=Kn.exports;const kt=_t.getDefaultExportFromCjs(da),fa=Qt.styled.div``,ga=Qt.styled.div`
|
|
80
80
|
box-sizing: border-box;
|
|
81
81
|
display: flex;
|
|
82
82
|
flex-direction: ${e=>e.verticalDisplay?"column":"row"};
|
|
83
83
|
${e=>e.horizontalDisplay==!1&&"flex-wrap: wrap;"}
|
|
84
84
|
overflow: auto;
|
|
85
|
-
`,ha=e=>Uo({...e,wasDragging:!0}),pa={sideEffects:zo({styles:{active:{opacity:"0.5"}}})},va=()=>{const[e,t]=d.useState(!1);return d.useEffect(()=>{const n=setTimeout(()=>t(!0),500);return()=>clearTimeout(n)},[]),e}
|
|
85
|
+
`,ha=e=>Uo({...e,wasDragging:!0}),pa={sideEffects:zo({styles:{active:{opacity:"0.5"}}})},va=()=>{const[e,t]=d.useState(!1);return d.useEffect(()=>{const n=setTimeout(()=>t(!0),500);return()=>clearTimeout(n)},[]),e},$r=(e,t)=>{if(e)return we.getColorRgbaValue(t,"KanbanCard",e,"enabled","highlight")},ba=({children:e,containerId:t,disabled:n,id:o,items:s,className:c,renderFooterContent:l,maxContainerHeight:u,style:h,...f})=>{var T;const{active:v,attributes:b,isDragging:w,listeners:x,over:E,setNodeRef:C,transition:D,transform:O}=Xo({id:o,data:{type:"container",children:s},animateLayoutChanges:ha}),I=E?o===E.id&&((T=v==null?void 0:v.data.current)==null?void 0:T.type)!=="container"||s.includes(E.id):!1;return ie.jsx(Yo,{ref:n?void 0:C,style:{...h,transition:D,transform:Kt.Translate.toString(O),opacity:w?.5:void 0},className:c,hover:I,handleProps:{...b,...x},containerId:t,renderFooterContent:l,maxContainerHeight:u,...f,children:e})},ya=({disabled:e,id:t,item:n,index:o,renderItem:s,style:c={},containerId:l,getIndex:u,wrapperStyle:h,cardProps:f,theme:v,renderContent:b})=>{const{setNodeRef:w,listeners:x,isDragging:E,isSorting:C,over:D,overIndex:O,transform:I,transition:T,attributes:M}=Xo({id:t}),j=va(),N=E&&!j;return ie.jsx(Br,{ref:e?void 0:w,cardProps:f,value:t,dragging:E,sorting:C,handle:(f==null?void 0:f.handle)!==!1,handleProps:{...M,...x},index:o,wrapperStyle:h({index:o}),style:{...c,index:o,value:t,isDragging:E,isSorting:C,overIndex:D?u(D.id):O,containerId:l},color:$r(n==null?void 0:n.color,v),transition:T,transform:I,fadeIn:N,listeners:x,renderItem:s,children:b(n==null?void 0:n.content,t,{...f,handleProps:{...M,...x},item:n,containerId:l})})},ma=d.forwardRef((e,t)=>{const{horizontalDisplay:n=!1,verticalDisplay:o=!1,adjustScale:s=!1,itemCount:c=5,cancelDrop:l,columns:u,handle:h=!1,containerStyle:f,coordinateGetter:v=qs,getItemStyles:b=S=>({...S}),wrapperStyle:w=S=>({...S}),minimal:x=!1,modifiers:E,renderItem:C,strategy:D=go,scrollable:O,maxContainerHeight:I,cardProps:T,headerProps:M,footerProps:j,data:N=[],onColumnMoved:L=()=>{},onCardMoved:$=()=>{},onCardChangedColumns:X=()=>{},color:Y="primary",size:K="small",children:Q,...ye}=e,fe=Fr.useTheme(),[G,Ue]=d.useState(()=>N??{A:po(c,S=>`A${S+1}`),B:po(c,S=>`B${S+1}`)}),[ne,tt]=d.useState(Object.keys(N)),[te,F]=d.useState(null),Je=d.useRef(null),se=d.useRef(!1),re=te?ne.includes(te):!1,ke=d.useCallback(S=>{var Z;if(te&&te in G)return eo({...S,droppableContainers:S.droppableContainers.filter(q=>q.id in G)});const m=Ri(S),B=m.length>0?m:xo(S);let W=Ur(B,"id");if(W!=null){if(W in G){const q=G[W];q.length>0&&(W=(Z=eo({...S,droppableContainers:S.droppableContainers.filter(ee=>ee.id!==W&&q.map(Me=>Me.id).includes(ee.id))})[0])==null?void 0:Z.id)}return Je.current=W,[{id:W}]}return se.current&&(Je.current=te),Je.current?[{id:Je.current}]:[]},[te,G]),[Oe,ge]=d.useState([]),pt=xi(Or(Mo),Or(No),Or(Yr,{coordinateGetter:v}));ii(()=>{Ue(N),tt(Object.keys(N))}),oi.useUpdateEffect(()=>{Ue(N),tt(Object.keys(N))},[N]),d.useEffect(()=>{requestAnimationFrame(()=>{se.current=!1})},[G]);const he=S=>S in G?S:Object.keys(G).find(m=>G[m].map(B=>B.id).includes(S)),Se=S=>{const m=he(S);return m?kt(G[m],B=>B.id==S):-1},U=()=>{Oe&&Ue(Oe),F(null),ge(null)},nt=S=>{F(S.active.id),ge(G)},Te=S=>{const{active:m,over:B}=S,W=B==null?void 0:B.id;if(W==null||m.id in G)return;const Z=he(W),q=he(m.id);!Z||!q||q!==Z&&Ue(ee=>{const Me=ee[q],ce=ee[Z],le=kt(ce,oe=>oe.id==W),$e=kt(Me,oe=>oe.id==m.id);let Xe;if(W in ee)Xe=ce.length+1;else{const bt=B&&m.rect.current.translated&&m.rect.current.translated.top>B.rect.top+B.rect.height?1:0;Xe=le>=0?le+bt:ce.length+1}return X(m.id),se.current=!0,{...ee,[q]:ee[q].filter(oe=>oe.id!=m.id),[Z]:[...ee[Z].slice(0,Xe),ee[q][$e],...ee[Z].slice(Xe,ee[Z].length)]}})},rt=S=>{const{active:m,over:B}=S;var W=!1,Z=ua(G);m.id in G&&(B!=null&&B.id)&&tt(ae=>{W=!0;const ue=ae.indexOf(m.id),Ne=ae.indexOf(B.id);var Dt=dn(ae,ue,Ne);return m.id!==B.id&&L(S,Dt),Dt});const q=he(m.id);if(!q){F(null);return}const ee=B==null?void 0:B.id;if(ee==null){F(null);return}const Me=he(ee);if(Me){const ae=kt(G[q],Ne=>Ne.id==m.id),ue=kt(G[Me],Ne=>Ne.id==ee);ae!==ue&&(Z={...Z,[Me]:dn(Z[Me],ae,ue)},Ue(Ne=>({...Ne,[Me]:dn(Ne[Me],ae,ue)})))}if(!W){var ce,le=null,$e,Xe=-1,oe=Object.keys(Oe),bt=Object.keys(Z);oe.forEach(ae=>{if(Oe[ae].map(ue=>ue.id.toString()).includes(m.id.toString())){ce=ae,$e=kt(Oe[ae],ue=>ue.id==m.id);return}}),bt.forEach(ae=>{if(Z[ae].map(ue=>ue.id.toString()).includes(m.id.toString())){le=ae,Xe=kt(Z[ae],ue=>ue.id==m.id);return}}),ce===le&&$e!==Xe&&$(S,Z,le),ce!==le&&X(S,Z,le,ce)}F(null)},z=S=>{var m=null;return ne.forEach(B=>{G[B].forEach(W=>{if(W.id==S){m=W;return}})}),ie.jsx(Br,{value:S,handle:h,cardProps:T,style:b({containerId:he(S),overIndex:-1,index:Se(S),value:S,isSorting:!0,isDragging:!0,isDragOverlay:!0}),color:$r(m==null?void 0:m.color,fe),wrapperStyle:w({index:0}),renderItem:C,dragOverlay:!0,children:_e(m==null?void 0:m.content,S,{...T,item:m})||{name:S}})},Ve=S=>ie.jsx(Yo,{label:Ie(S),columns:u,style:{height:"100%"},shadow:!0,unstyled:!1,containerId:S,renderFooterContent:vt,children:G[S].map((m,B)=>ie.jsx(Br,{cardProps:T,value:m.id,handle:h,style:b({containerId:S,overIndex:-1,index:Se(m),value:m,isDragging:!1,isSorting:!1,isDragOverlay:!1}),color:$r(m==null?void 0:m.color,fe),wrapperStyle:w({index:B}),renderItem:C,children:_e(m==null?void 0:m.content,m==null?void 0:m.id,{...T,item:m,containerId:S})},m.id))}),Ie=S=>{let m=u==null?void 0:u.find(B=>B.id==(S==null?void 0:S.toString()));return we.renderCustomElement(we.getCustomRenderById("KANBAN_HEADER",S,Q),{...M,item:{[S]:G[S]},column:m},m==null?void 0:m.header,!0)||we.renderCustomElement(we.getCustomRenderById("KANBAN_HEADER",null,Q),{...M,item:{[S]:G[S]},column:m},m==null?void 0:m.header,!0)||ie.jsx(ri,{id:S,color:Y,size:K,item:{[S]:G[S]},column:m,...M,children:m==null?void 0:m.header})},vt=S=>we.renderCustomElement(we.getCustomRenderById("KANBAN_FOOTER",S,Q),{...j,id:S},null)||we.renderCustomElement(we.getCustomRenderById("KANBAN_FOOTER",null,Q),{...j,id:S},null),_e=(S,m,B)=>we.renderCustomElement(we.getCustomRenderById("KANBAN_CARD",m,Q),{...B},S,!0)||we.renderCustomElement(we.getCustomRenderById("KANBAN_CARD",null,Q),{...B},S,!0)||ie.jsx(vo.KanbanCard,{color:Y,size:K,...B,children:S});return ie.jsx(fa,{ref:t,...ye,children:ie.jsxs(vs,{measuring:{droppable:{strategy:Zt.Always}},sensors:pt,collisionDetection:ke,modifiers:E,cancelDrop:l,onDragCancel:U,onDragStart:nt,onDragOver:Te,onDragEnd:rt,children:[ie.jsx(ga,{horizontalDisplay:n,verticalDisplay:o,children:ie.jsx(ho,{items:[...ne],strategy:o?go:$s,children:ne.map(S=>ie.jsx(ba,{id:S,label:x?void 0:Ie(S),items:G[S],color:Y,scrollable:O,style:f,unstyled:x,containerId:S,renderFooterContent:vt,maxContainerHeight:I,...M,children:ie.jsx(ho,{items:G[S],strategy:D,children:G[S].map((m,B)=>ie.jsx(ya,{disabled:re||(m==null?void 0:m.disabled),id:m.id,item:m,index:B,style:b,wrapperStyle:w,renderItem:C,containerId:S,getIndex:Se,cardProps:T,theme:fe,renderContent:_e},m.id))})},S))})}),Jt.reactDomExports.createPortal(ie.jsx(Ls,{adjustScale:s,dropAnimation:pa,children:te?ne.includes(te)?Ve(te):z(te):null}),document.body)]})})});module.exports=ma;
|
package/dist/Kanban.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as we, jsxs as Gn } from "react/jsx-runtime";
|
|
2
|
-
import se, { useEffect as W,
|
|
3
|
-
import { r as rn } from "./index-
|
|
4
|
-
import { c as an, r as tn, D as nn } from "./utils-
|
|
2
|
+
import se, { useEffect as W, useRef as Q, useMemo as ee, useLayoutEffect as pi, useCallback as Ne, useState as he, createContext as xn, memo as Ro, useReducer as vi, useContext as Yt, cloneElement as bi, forwardRef as Qn } from "react";
|
|
3
|
+
import { r as rn } from "./index-B2yaYXE2.js";
|
|
4
|
+
import { c as an, r as tn, D as nn } from "./utils-MoGhNMmj.js";
|
|
5
5
|
import { c as co } from "./index-fN7hCOo3.js";
|
|
6
|
-
import { s as cn } from "./emotion-styled.browser.esm-
|
|
6
|
+
import { s as cn } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
7
7
|
import { u as Jr } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
|
-
import { H as yi, K as mi } from "./KanbanCard-
|
|
8
|
+
import { H as yi, K as mi } from "./KanbanCard-ffmclwO4.js";
|
|
9
9
|
import { c as Xt, g as Oo } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
10
10
|
import wi from "./KanbanHeader.js";
|
|
11
11
|
import { u as xi } from "./useUpdateEffect-CuYWz7EA.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),w=require("react"),f=require("./emotion-styled.browser.esm-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),w=require("react"),f=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),j=require("./DropdownMenu.cjs"),C=require("./DropdownItem.cjs"),i=require("./Button.cjs"),a=require("./utils-CITgSxXe.cjs"),q=require("./ThemeProvider.cjs"),A=f.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
border-radius: 8px;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as y, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as T } from "react";
|
|
3
|
-
import { s as w } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { s as w } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
4
4
|
import C from "./DropdownMenu.js";
|
|
5
5
|
import A from "./DropdownItem.js";
|
|
6
6
|
import i from "./Button.js";
|
|
7
|
-
import { c as d } from "./utils-
|
|
7
|
+
import { c as d } from "./utils-MoGhNMmj.js";
|
|
8
8
|
import { useTheme as N } from "./ThemeProvider.js";
|
|
9
9
|
const k = w.div`
|
|
10
10
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),a=require("react"),d=require("./emotion-styled.browser.esm-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),a=require("react"),d=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),k=require("./Icon.cjs"),N=require("./DropdownMenu.cjs"),q=require("./DropdownItem.cjs"),_=require("./index-Bg5OOQN0.cjs"),z=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),C="_Action_bw0a9_5",R={Action:C},$=a.forwardRef(({active:e,className:n,cursor:t,style:l,...c},o)=>r.jsx("button",{ref:o,...c,className:_.classNames(R.Action,n),tabIndex:0,style:{...l,cursor:t,"--fill":e==null?void 0:e.fill,"--background":e==null?void 0:e.background}})),p=a.forwardRef((e,n)=>r.jsx($,{ref:n,cursor:"grab","data-cypress":"draggable-handle",...e,children:r.jsx("svg",{viewBox:"0 0 20 20",width:"12",children:r.jsx("path",{d:"M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z"})})})),K=d.styled.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
width: 100%;
|
|
4
4
|
padding: ${e=>`18px 20px 18px ${e.handle==!0?"10px":"20px"}`};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o, jsxs as g } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as c, memo as k } from "react";
|
|
3
|
-
import { s as p } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { s as p } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
4
4
|
import N from "./Icon.js";
|
|
5
5
|
import z from "./DropdownMenu.js";
|
|
6
6
|
import C from "./DropdownItem.js";
|
package/dist/KanbanCard.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("react/jsx-runtime");require("react");require("./emotion-styled.browser.esm-
|
|
1
|
+
"use strict";require("react/jsx-runtime");require("react");require("./emotion-styled.browser.esm-DwHBgTPn.cjs");require("./Icon.cjs");require("./DropdownMenu.cjs");require("./DropdownItem.cjs");const r=require("./KanbanCard-9Pe_tjMt.cjs");require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs");module.exports=r.KanbanCard;
|
package/dist/KanbanCard.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "./emotion-styled.browser.esm-
|
|
3
|
+
import "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
4
4
|
import "./Icon.js";
|
|
5
5
|
import "./DropdownMenu.js";
|
|
6
6
|
import "./DropdownItem.js";
|
|
7
|
-
import { K as d } from "./KanbanCard-
|
|
7
|
+
import { K as d } from "./KanbanCard-ffmclwO4.js";
|
|
8
8
|
import "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
export {
|
|
10
10
|
d as default
|
package/dist/KanbanFooter.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),s=require("react"),h=require("./emotion-styled.browser.esm-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),s=require("react"),h=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),i=require("./IconButton.cjs"),f=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),w=h.styled.div`
|
|
2
2
|
font-family: ${e=>{var t,o;return(o=(t=e.theme)==null?void 0:t.typography)==null?void 0:o.fontFamily}};
|
|
3
3
|
padding: 5px 8px;
|
|
4
4
|
margin-top: auto;
|
package/dist/KanbanFooter.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as u, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { memo as y, forwardRef as h } from "react";
|
|
3
|
-
import { s as x } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { s as x } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
4
4
|
import m from "./IconButton.js";
|
|
5
5
|
import { u as g } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const w = x.div`
|
package/dist/KanbanHeader.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),i=require("react"),w=require("./emotion-styled.browser.esm-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),i=require("react"),w=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),x=require("./DropdownMenu.cjs"),j=require("./DropdownItem.cjs"),A=require("./Icon.cjs"),g=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),N=w.styled.div`
|
|
2
2
|
font-family: ${r=>{var o,s;return(s=(o=r.theme)==null?void 0:o.typography)==null?void 0:s.fontFamily}};
|
|
3
3
|
position: relative;
|
|
4
4
|
width: 100%;
|
package/dist/KanbanHeader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as b, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { memo as A, forwardRef as g } from "react";
|
|
3
|
-
import { s as w } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { s as w } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
4
4
|
import N from "./DropdownMenu.js";
|
|
5
5
|
import k from "./DropdownItem.js";
|
|
6
6
|
import v from "./Icon.js";
|
package/dist/KanbanView.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),Y=require("react"),Z=require("./emotion-styled.browser.esm-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),Y=require("react"),Z=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),$=require("./KanbanActionsToolbar.cjs"),a=require("./utils-CITgSxXe.cjs"),k=require("./Kanban.cjs"),p=require("./KanbanCard-9Pe_tjMt.cjs"),P=require("./KanbanHeader.cjs"),ee=require("./KanbanFooter.cjs"),ne=Z.styled.div`
|
|
2
2
|
& .kanban-view-footer-lnc {
|
|
3
3
|
padding: 0 0.625rem;
|
|
4
4
|
}
|
package/dist/KanbanView.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as m, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as Z } from "react";
|
|
3
|
-
import { s as $ } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { s as $ } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
4
4
|
import k from "./KanbanActionsToolbar.js";
|
|
5
|
-
import { r, j as s } from "./utils-
|
|
5
|
+
import { r, j as s } from "./utils-MoGhNMmj.js";
|
|
6
6
|
import p from "./Kanban.js";
|
|
7
|
-
import { K as P } from "./KanbanCard-
|
|
7
|
+
import { K as P } from "./KanbanCard-ffmclwO4.js";
|
|
8
8
|
import ee from "./KanbanHeader.js";
|
|
9
9
|
import ne from "./KanbanFooter.js";
|
|
10
10
|
const oe = $.div`
|
package/dist/Link.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const m=require("react/jsx-runtime"),u=require("react"),h=require("./emotion-styled.browser.esm-
|
|
1
|
+
"use strict";const m=require("react/jsx-runtime"),u=require("react"),h=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),t=require("./utils-CITgSxXe.cjs"),d=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),g=h.styled.a`
|
|
2
2
|
${e=>t.getComponentTypographyCss(e.theme,"Breadcrumbs",e.size,"enabled")};
|
|
3
3
|
color: ${e=>t.getColorRgbaValue(e.theme,"Link",e.color,"enabled","text")};
|
|
4
4
|
text-decoration: none;
|