@zeniai/web-app-ui 4.14.36-qa → 4.14.38-dev

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.
Files changed (505) hide show
  1. package/dist/assets/{ACHDetailsPage-fOu5grd7-BgitUCnK.js → ACHDetailsPage-BShpKoIj-D1Wy32uO.js} +6 -6
  2. package/dist/assets/{AIPerformancePage-Da3gFo8A-B6fd9yMu.js → AIPerformancePage-CFErwUsE-DcUypqs6.js} +21 -21
  3. package/dist/assets/AccountInfoPage-B8upbXj9-Cm42EUIq.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-CKpeDot5-CwoUlvIm.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-BJjCuLHa-Dwc4Twfa.js → AccountLockedInfoModal-c30P9O_3-DzDiXoV7.js} +6 -6
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CVjH1p0d-B1ewqXBW.js → AccountReconDetailsDrawerPage-CO9BYPWm-CTb98mzK.js} +16 -16
  7. package/dist/assets/AccountRow-BrW_eEjE-Cmf0Jids.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-D7xvgmOH-B_Z0IcIc.js → AccountsPromoCardStack-De2yNNuZ-XXlQf85I.js} +14 -14
  9. package/dist/assets/AddAddressForCardDrawer-riOPLnxb-DAb8sz-Z.js +6 -0
  10. package/dist/assets/{AddToWalletPage-zJy9QCjx-CAgD66cB.js → AddToWalletPage-CsOmzC7v-S49ZGsCa.js} +13 -13
  11. package/dist/assets/AddressRoutes-CO2FKDgK.js +1 -0
  12. package/dist/assets/AddressScreen-DsuZFaVf.js +9 -0
  13. package/dist/assets/{AgingReportsPage-wAvQb1d8-bRB2pbCU.js → AgingReportsPage-D9I9afnB-Df3hrLUY.js} +8 -8
  14. package/dist/assets/AiCfoScreen-D5N0hxeG.js +11 -0
  15. package/dist/assets/{AllUserItems-DEv_CXOA-D8XKRK3i.js → AllUserItems-Dq7NcP-o-Da1Zo4z6.js} +11 -11
  16. package/dist/assets/ApAgingDetailPage-Z5JgfH-e-CEuDNd6O.js +46 -0
  17. package/dist/assets/{AppBasePage-DMlomvFS-CQMcvMHZ.js → AppBasePage-B5sDynhi-CeUmBhIQ.js} +10 -10
  18. package/dist/assets/AppDrawerContent-D9Q8ir0T-DZmwUW8c.js +92 -0
  19. package/dist/assets/ApprovalRulesSettingsPage-DVGvJsQG-yl1UuAvx.js +47 -0
  20. package/dist/assets/{ArAgingChart-m-Xp3HAW-CnkoHC-y.js → ArAgingChart-Tcu0Lja_-BWNKgMZE.js} +7 -7
  21. package/dist/assets/ArAgingDetailPage-B5vqkc3v-B1AqC5xt.js +46 -0
  22. package/dist/assets/{AttachmentView-DB_V1qT1-CUnw9dFs.js → AttachmentView-CiYfninr-DZhIwWMR.js} +6 -6
  23. package/dist/assets/BalancesInsightWithToolTip-tiQUQUbX-DMW3pWLJ.js +38 -0
  24. package/dist/assets/{BankAccountSection-BabhrBM7-CjKNHuqx.js → BankAccountSection-EZtscP2z-C2fUrA1M.js} +7 -7
  25. package/dist/assets/BankAccountWarningSection-DCfyIUlu-D_RVGDL2.js +51 -0
  26. package/dist/assets/BankConnectionsSettingsPage-CQWy9jvt-Brl3VmAQ.js +425 -0
  27. package/dist/assets/BillDetailPage-pt1k5AQf-C_HrCJfS.js +266 -0
  28. package/dist/assets/BillPayApprovalRoutes-5Y0msu-c.js +1 -0
  29. package/dist/assets/BillPayApprovalRuleDetailPage-Drh7Bhi8-EZrQsXba.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-9pxkgFAT-C0fukcC-.js → BillPayApprovalRulesPage-Cmyo59xB-D7U9ywcy.js} +12 -12
  31. package/dist/assets/{BillPayPromoPage-AGffhbY3-CtBTCqHG.js → BillPayPromoPage-Dgpz2TLG-BwKkDBie.js} +8 -8
  32. package/dist/assets/{BillPayRoutes-CLxgVQoZ.js → BillPayRoutes-aVWMd64J.js} +19 -19
  33. package/dist/assets/BillPaySetUpPage-B6Pd_eBf-DFM86E0U.js +42 -0
  34. package/dist/assets/{BillingSettingsPage-CQ117tT9-BttuaXcF.js → BillingSettingsPage-CYsvBrFV-B9NfPSZ9.js} +10 -10
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DRkGQQAe-DERm9Zoh.js → BillsBulkReviewDrawerPage-DNnAmqWz-C01NVO_d.js} +1 -1
  36. package/dist/assets/{BoxItem-DRwx0M5a-CDlEJbUh.js → BoxItem-B06DK4G--C4opawya.js} +3 -3
  37. package/dist/assets/BusinessVerificationPage-Dgk5gyMv-BrQSkaHR.js +138 -0
  38. package/dist/assets/BusinessVerificationPageScreen-D9PxWQrU.js +9 -0
  39. package/dist/assets/BusyIndication-Cd67eHX6-C7aB5h-1.js +9 -0
  40. package/dist/assets/{CardNumberSubText-DqtLT1w5-3-jd_gkY.js → CardNumberSubText-CcH9jUoZ-HppogTjx.js} +5 -5
  41. package/dist/assets/{CashbackDetailPage-ChdQcvkC-ICsGmTUH.js → CashbackDetailPage-5eysaHGf-CZA31npt.js} +28 -28
  42. package/dist/assets/{ChargeCardDetailPage-DFOKlPNG-DAT7wsUl.js → ChargeCardDetailPage-Diwf-gwZ-BccKvsWr.js} +40 -40
  43. package/dist/assets/{ChargeCardListPage-DhLUsUhd-Cb0G0I2o.js → ChargeCardListPage-C-RTGkKK-Cc1az4M9.js} +23 -23
  44. package/dist/assets/ChargeCardListTable-B-bNbtZQ-BuEumynS.js +711 -0
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-CbGR18s--D1FALKZp.js → ChargeCardPaymentHistoryPage-Cu-zT5tO-CNy0B9A3.js} +13 -13
  46. package/dist/assets/ChargeCardPromoPage-Cz3rNFwM-CdxjjcEa.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-B2VyUVyE.js → ChargeCardRoutes-CKV_cGg2.js} +13 -13
  48. package/dist/assets/{ChargeCardSetupPage-ITi25kUD-DQrLuHzm.js → ChargeCardSetupPage-BcTB9Yy5-BJuaiwYA.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-CTJc1BCc-B3iOfWLi.js → ChargeCardStatementsPage-B_ERvgmB-W5ryAUPk.js} +3 -3
  50. package/dist/assets/CheckDepositDrawerPage-D7_usOVn-DA-Kombi.js +206 -0
  51. package/dist/assets/CollapsableReportTable-h0vIfI8o-Q6XPsw6M.js +2982 -0
  52. package/dist/assets/{CompanyOfficerDetailsSection-BaPhFsLx-DHUewusV.js → CompanyOfficerDetailsSection-CWADX4kZ-DANlup8L.js} +96 -96
  53. package/dist/assets/CompanyPassportCard-DF9LFrFD-DPvP8c2P.js +42 -0
  54. package/dist/assets/{CompanyPassportPage-BQ68t7oK-BgIAIBvG.js → CompanyPassportPage-BtAopyLq-CG1Jq4C9.js} +24 -24
  55. package/dist/assets/CompanyPassportScreen-Dl29U7F0.js +1 -0
  56. package/dist/assets/CompleteProfile-CsbsHQ0p-DmLd2177.js +52 -0
  57. package/dist/assets/ConfettiBurst-duD341Gp-CKS6HfNq.js +1 -0
  58. package/dist/assets/ConnectionAuthScreen-CtmFWvaS.js +11 -0
  59. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-2qMgM4hb.js → ConstrainedInnerElement-hv51KpGg-CKGSsSPo.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-BIfOA5Nr-DmMOi9Py.js → CreateOrEditVendorPage-C2xU6c51-Cx-c8OBN.js} +15 -15
  61. package/dist/assets/{CreditCardPaymentDrawerPage-CCpS-31h-D2E09eId.js → CreditCardPaymentDrawerPage-CeagMaCu-CazU8VPX.js} +21 -21
  62. package/dist/assets/CurrencySelectField-B8EoF2aF-DHzUxLL4.js +139 -0
  63. package/dist/assets/{CustomerOnboardingActivationPage-6VlMI4oY-C6UkeafC.js → CustomerOnboardingActivationPage-CIeR2XvU-CMOVbNs9.js} +6 -6
  64. package/dist/assets/CustomerOnboardingAuthScreen-DtvN_x2S.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-uJRgyQW8.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BzbZb27J-BjFDDxCU.js → CustomerOnboardingDetailPageSkeleton-kUbwh2r2-BjHJq9e_.js} +17 -17
  67. package/dist/assets/CustomerOnboardingNoStepsPage-Br0jy7Pu-xbtVpPeD.js +66 -0
  68. package/dist/assets/{CustomerOnboardingPage-DkW66A-p-CqCCkCYq.js → CustomerOnboardingPage-Dm2Si769-CuOP2t9G.js} +6 -6
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Ba0yotpP-B65VLjH4.js → CustomerOnboardingProductSuitePage-Cz81Q5jC-CBFgnoEY.js} +10 -10
  70. package/dist/assets/{CustomerOnboardingRoutes-BbuQETSm.js → CustomerOnboardingRoutes-C_QLwzau.js} +7 -7
  71. package/dist/assets/{Dashboard-bX3cWkmP-D2iKKw2J.js → Dashboard-DReG_aaf-B9cmSG7e.js} +45 -45
  72. package/dist/assets/{DashboardReportPage-DuZ4d4CE-Cp1XRSMC.js → DashboardReportPage-BXSlwsR7-CjT08Tnm.js} +42 -42
  73. package/dist/assets/DashboardRoutes-Cr_y84hZ.js +21 -0
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-UV2CZToG-BePjXuRd.js → DashboardSidebarBackgroundAnimation-B3dtVAe2-DcsdDEM2.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-DAGhRU2p.js → DefaultTenantHome-Bp9gU4vX.js} +1 -1
  76. package/dist/assets/DepositAccTransactionItem-YuSXjbLh-DkrFIYaS.js +76 -0
  77. package/dist/assets/DepositAccTransactionListPage-C-FAvZwD-CLMW6N19.js +66 -0
  78. package/dist/assets/DomesticWireDetailScreen-CV-2twy7.js +18 -0
  79. package/dist/assets/DomesticWireDetailsPage-BaiSpc0N-BjZ307kD.js +21 -0
  80. package/dist/assets/DownloadOverlay-BpRKCn-0-Ceuu4G9V.js +439 -0
  81. package/dist/assets/{DrawerPage-CaG-xx5d-DCOdzFu5.js → DrawerPage-DQ3Xuekx-osFrzw_b.js} +14 -14
  82. package/dist/assets/DrawerScreen-0WDRSJz6.js +1 -0
  83. package/dist/assets/EditPeoplePage-8DalSMWH-CybAz5BL.js +55 -0
  84. package/dist/assets/EditReimbursementDetailPage-CC2BjMkR-UcYvbITo.js +865 -0
  85. package/dist/assets/EntityDetailPage-fmWuxHTZ-zOCr7HwT.js +18 -0
  86. package/dist/assets/EntityDetailRoutes-r6uNQDsF.js +1 -0
  87. package/dist/assets/{EntitySummarySection-LEA5m6mN-COsxmiXN.js → EntitySummarySection-vsEMiXYh-xFy88yRd.js} +26 -26
  88. package/dist/assets/{ExpenseAutomationOverviewPage-Dmhn7gfp-DRKfvdpQ.js → ExpenseAutomationOverviewPage-B3HPfIsK-BoAXmFoS.js} +48 -48
  89. package/dist/assets/ExpenseAutomationPage-4LJefgNh-n1--5-UE.js +3628 -0
  90. package/dist/assets/ExpenseAutomationRoutes-Dd80KoVV.js +20 -0
  91. package/dist/assets/{ExpressPayPage-C-nqret2-KetoqTaI.js → ExpressPayPage-BH7oCW_F-DgICn4el.js} +11 -11
  92. package/dist/assets/{FeaturePreviewPage-BHjUZ7s6-CDfaoOXm.js → FeaturePreviewPage-DSv61BhF-BsdnfTlO.js} +2 -2
  93. package/dist/assets/FeaturePreviewScreen-D2Pa-R10.js +1 -0
  94. package/dist/assets/{FollowStepsSection-0eFMS0c5-BaucUfRt.js → FollowStepsSection-Bgy9MpO4-CvIWpdyW.js} +9 -9
  95. package/dist/assets/GlobalReviewListPage-VRq_gimm-BpVLghA7.js +291 -0
  96. package/dist/assets/{InformationCardStack-C7XJCUlh-DjdOTgGS.js → InformationCardStack-rx0fypl3-OYwqii2C.js} +4 -4
  97. package/dist/assets/InsightsCardStack-uJWMkIZL-BDZTXUwm.js +79 -0
  98. package/dist/assets/InsightsSection-ByFf2oGn-ChvKOP1F.js +27 -0
  99. package/dist/assets/{IntegrationsSettingsPage-BD5jqAv8-jCqAB96Y.js → IntegrationsSettingsPage-Cj01Nub6-lRHeOJiB.js} +5 -5
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-BftrE612-C1oqAYKw.js → InternationalWireSwiftDetailsPage-C2PM97sv-BLs5mpsl.js} +13 -13
  101. package/dist/assets/InternationalWireVerificationPage-Cr3sDrT--Dj5HT769.js +65 -0
  102. package/dist/assets/{InviteFormPage-E2igwKEh-BfamEOA0.js → InviteFormPage-dsMpScvq-pwPoaIw-.js} +10 -10
  103. package/dist/assets/{InvitePageListView-Cuq9dlgu-BswYJOcw.js → InvitePageListView-e7vGSbFa-BfSD0kcH.js} +72 -72
  104. package/dist/assets/InvitePeoplePage-BT_YVCP4-CQRb2c-r.js +12 -0
  105. package/dist/assets/InvoiceUploadSection-Dg1-uunA-1cshMTVc.js +140 -0
  106. package/dist/assets/{IssueChargeCardPage-CK6fnO24-CZaBXPmq.js → IssueChargeCardPage-CyF9wrb0-CWwHqex_.js} +22 -22
  107. package/dist/assets/{LabeledAddressValue-Ma1WURjK-SOyeFnDb.js → LabeledAddressValue-3l0Bv00--Bw_81ZJz.js} +1 -1
  108. package/dist/assets/LabeledAddressValueField-F9kvUR_r-9ELTRqNI.js +45 -0
  109. package/dist/assets/LabeledControlledCheckBoxField-BgC8y0D6-BlS4qFJC.js +16 -0
  110. package/dist/assets/{LabeledCountryMultiSelectField-sj8p7Rne-BB5IjdKT.js → LabeledCountryMultiSelectField-3qI_4noU-UcVNXOp1.js} +4 -4
  111. package/dist/assets/{LabeledCreatableSingleSelectField-DUTQh416-C_C7TgJg.js → LabeledCreatableSingleSelectField-BV3h9bh7-BCEINAy7.js} +10 -10
  112. package/dist/assets/LabeledDocumentField-rriEcsdr-CcDZw3QZ.js +41 -0
  113. package/dist/assets/{LabeledDropDownFormattedTextField-3-KekP79-BFouZsyb.js → LabeledDropDownFormattedTextField-DoVSg3nZ-82mPtDTT.js} +5 -5
  114. package/dist/assets/{LabeledEmailInputField-BRJyFvVd-CLFwXbdl.js → LabeledEmailInputField-CKWZEkTs-C9DTkL1y.js} +8 -8
  115. package/dist/assets/{LabeledNameField--saAep-_-CReVVQpK.js → LabeledNameField-yaSRe5Vt-cnDt7eal.js} +5 -5
  116. package/dist/assets/{LabeledSingleSelectField-Ul4tlTiO-B5-cTLoa.js → LabeledSingleSelectField-D5QUlcEP-DOA8WTdI.js} +7 -7
  117. package/dist/assets/LabeledText-DGZ7hxY4-BBOC0Eln.js +42 -0
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-Dfj0gvkd.js → LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-NPjB_w_o.js} +15 -15
  119. package/dist/assets/{LabeledZeniRolesDropDownField-kWC0ShEy-BPt5mqTD.js → LabeledZeniRolesDropDownField-jIrTovp--C7mgztQg.js} +27 -27
  120. package/dist/assets/{LinkJETransactionPage-WufhDGDQ-CzSZY5Ji.js → LinkJETransactionPage-Bvbqpltz-BZhW34oI.js} +8 -8
  121. package/dist/assets/{LockCardPage-BBIVLYVD-CLo11134.js → LockCardPage-DyEQBJYx-DksW1-ZG.js} +23 -23
  122. package/dist/assets/{LowBalancePopup-ScEqPY9J-wCMhmKTa.js → LowBalancePopup-C2vHKMNF-CMEceag2.js} +7 -7
  123. package/dist/assets/MagicLinkACHDetailsPage-lAAwAtH7-D8E0BCBV.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-cv823ASo-Br4bjkHP.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-C_SjsgC9-Dt-hi6Za.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-DGEyZyp5.js → MagicLinkRoutes-DAnRUF47.js} +10 -10
  127. package/dist/assets/MagicLinkSignInScreen-BRdR8FPq.js +12 -0
  128. package/dist/assets/MagicLinkSuccessPage-B1LBYM2F-DRIhjweE.js +31 -0
  129. package/dist/assets/{MagicLinkTitleSection-ZnbKPIvJ-C28UB4ql.js → MagicLinkTitleSection-ClAnBBt9-BWJjfwMs.js} +2 -2
  130. package/dist/assets/{MailingDetailsSection-DZT7JPlI-C38hqmub.js → MailingDetailsSection-9_XLl4bT-Bq5v10Od.js} +1 -1
  131. package/dist/assets/MobileAppDrawer-DXy0Oi_h.js +1 -0
  132. package/dist/assets/{MoreMenuButton-CJue6xR9-DaOmUQCK.js → MoreMenuButton-Ct8k8Oax-C0IXgNiJ.js} +29 -29
  133. package/dist/assets/{MyBankConnectionsSettingsPage-aQDVaEG1-BQj6U5VD.js → MyBankConnectionsSettingsPage-CBNYcuP4-CSPIvvUE.js} +8 -8
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-BJrk56oA-a4lk-FRm.js → MyPendingActivationChargeCardListPage-n71n40uQ-DnLQhl3T.js} +1 -1
  135. package/dist/assets/MyProfileSettingsPage-BUMIjZYc-CAlzma3h.js +85 -0
  136. package/dist/assets/NavBarWithPicker-CbjFNysh-Ck578WIs.js +30 -0
  137. package/dist/assets/{NavigationArrow-D26UG3p--CCqiziIA.js → NavigationArrow-Dpc7u6y4-CiTKhYeI.js} +2 -2
  138. package/dist/assets/NavigationDots-DCpslVnm-D-4SKVAz.js +15 -0
  139. package/dist/assets/{NewGlobalMerchantPage-vOn2O6B9-BmOnDaTo.js → NewGlobalMerchantPage-B10sY6Q_-Cu6PKFa1.js} +12 -12
  140. package/dist/assets/{NoDataChart-CgT19fV7-BnUaWo2A.js → NoDataChart-9-bhq204-BNHp8Nld.js} +3 -3
  141. package/dist/assets/{NoDataTable-CPjJmo4s-BDfqEXQj.js → NoDataTable-C6Q2Anpz-BqTI2GFx.js} +1 -1
  142. package/dist/assets/{NotFoundPage-CP2i3FTm-DrcRl_rx.js → NotFoundPage-4mPhXD5--pWqZwF3K.js} +5 -5
  143. package/dist/assets/NotFoundScreen-MU1vvTl3.js +1 -0
  144. package/dist/assets/NotificationRoutes-CiTIiIjp.js +1 -0
  145. package/dist/assets/{NotificationSettingsPage-CT9Dnb03-Dm7KyS7f.js → NotificationSettingsPage-BTxCoB_b-1ycVlHAN.js} +30 -30
  146. package/dist/assets/NotificationsListConfig-CylnViXd-DEcj9I_Q.js +1 -0
  147. package/dist/assets/NotificationsPage-D41h0mS6-lOcsglza.js +685 -0
  148. package/dist/assets/OpExByVendorPage-BV_uJSCh-ClxLsbjb.js +100 -0
  149. package/dist/assets/OverlayContainerPage-CkUYOhlh-C1amAlX0.js +11 -0
  150. package/dist/assets/PandLWithForecastPage-Cj3UWjG4-C0webWAA.js +123 -0
  151. package/dist/assets/PandLWithForecastRoutes-t6sqNQ0M.js +1 -0
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-JPO-rPAd-Dmaxec0g.js → PaymentAccountSetupBillingAddressSection-BWFl695q-DCuXfW77.js} +11 -11
  153. package/dist/assets/PeoplePage-DcGqWtAP-kL10xLdE.js +772 -0
  154. package/dist/assets/PeopleRoutes-DvMa0FHX.js +22 -0
  155. package/dist/assets/PerformanceRoutes-C97G2NlX.js +1 -0
  156. package/dist/assets/{Preview-B_UHWYM5.js → Preview-Bd0e5eLk.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-7R3cvGiS-DmQ2H6G4.js → ProductsCarousel-C9JoJQeH-y7_emSya.js} +8 -8
  158. package/dist/assets/{PromoBaseCards-DdCMZIc7-Df8cZl94.js → PromoBaseCards-mFk7SsOr-B_0Pg0f0.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-Ca36jKz2-DAMkmB7c.js → QBOConnectionDialog-CJsIrEZq-CgfqE4WV.js} +13 -13
  160. package/dist/assets/{QBOConnectionScreen-JiiEAGy2.js → QBOConnectionScreen-1Q56jIZw.js} +4 -22
  161. package/dist/assets/{QBOSetupSection-CzBfIVqR-CbTARgMf.js → QBOSetupSection-C_fqHza_-B72ZoKWs.js} +9 -9
  162. package/dist/assets/ReferralListScreen-DJHg0qdR.js +5 -0
  163. package/dist/assets/ReimbursementApprovalRoutes-5hvNi1ri.js +1 -0
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DUVSGQJ6-DvpCvtrE.js → ReimbursementApprovalRuleDetailPage-BMZnKpsk-C22qLIuK.js} +4 -4
  165. package/dist/assets/ReimbursementApprovalRuleDetailScreen-CE15OHBL.js +1 -0
  166. package/dist/assets/{ReimbursementApprovalRulesPage-B48x1gPM-DxxLWTnS.js → ReimbursementApprovalRulesPage-C2zNa8dT-D_08-i4Q.js} +30 -30
  167. package/dist/assets/ReimbursementDetailPage-B1o8ea57-pJYrfLLt.js +314 -0
  168. package/dist/assets/{ReimbursementPromoPage-BKgsJieE-C2_bC473.js → ReimbursementPromoPage-Df5QmXzC-CKWnZWeo.js} +18 -18
  169. package/dist/assets/ReimbursementRoutes-RM0BTfix.js +13 -0
  170. package/dist/assets/{ReimbursementSetUpPage-B_c-ZgFT-BBt2uEqx.js → ReimbursementSetUpPage-D450RVsP-XThkQYrn.js} +6 -6
  171. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-Dpv01EXR.js +1 -0
  172. package/dist/assets/ReloadCard-D5cvzWxe-BiXLC8Nt.js +26 -0
  173. package/dist/assets/ReportTableViewSelector-Ig41fOPb-DWudlBCf.js +151 -0
  174. package/dist/assets/ReportsPage-CRAVAUTO-B8oVNLjt.js +269 -0
  175. package/dist/assets/ReportsRoutes-yGE_MThE.js +1 -0
  176. package/dist/assets/{RevenueChart-SvdhwBcE-DFVZ2SH4.js → RevenueChart-DtQu0KAn-8Nxk30mB.js} +18 -18
  177. package/dist/assets/ReviewDetailsPage-vui4TqeA-BHywFcJg.js +290 -0
  178. package/dist/assets/{ReviewOverlay-BoM41t8W-Tjo8TsbC.js → ReviewOverlay-CUnL7H-a-C2Hax1dX.js} +11 -11
  179. package/dist/assets/RewardsRoutes-BLdquuw-.js +1 -0
  180. package/dist/assets/RoleWithToolTip-x2rnvWn9-CndfBCzZ.js +22 -0
  181. package/dist/assets/ScheduleDetailsFixedAssetsPage-D_Cls2jC-DT2hV6fF.js +37 -0
  182. package/dist/assets/ScheduleDetailsPage-DmSLuM8g-BJX_WigV.js +37 -0
  183. package/dist/assets/ScheduleSequenceTable-js9_P_Lo-C0aHTQ-B.js +326 -0
  184. package/dist/assets/ScreenRoutes-Ckyy2m-9.js +2 -0
  185. package/dist/assets/{SetUpAccountSection-sfIB1h4i-OQRP6w_s.js → SetUpAccountSection-DYRWWXcL-BJMCbqBu.js} +23 -23
  186. package/dist/assets/{SettingsRoutes-_PBfx_CH.js → SettingsRoutes-HPPA3EWU.js} +7 -7
  187. package/dist/assets/{SetupPagesScreen-Bjv1_530.js → SetupPagesScreen-Cz2ybo_2.js} +6 -6
  188. package/dist/assets/SignIn-CUJkZb3S-Cj2EgQsz.js +491 -0
  189. package/dist/assets/SignInScreen-BSE9oghj.js +1 -0
  190. package/dist/assets/SignOutScreen-CDL-h93X.js +9 -0
  191. package/dist/assets/SpendManagementListViewPage-BieufnDb-Cqid6Xsk.js +134 -0
  192. package/dist/assets/SpendManagementPerTabPage-BmUp80QX-B1ZhgxKn.js +754 -0
  193. package/dist/assets/SpendManagementSection-DKZNTYXT-D04hpJmz.js +375 -0
  194. package/dist/assets/StatementItem-Dyt5Q0eR-jB2YMdu5.js +31 -0
  195. package/dist/assets/StatementsPage-CbtnJM5y-y3-8Ovdn.js +58 -0
  196. package/dist/assets/{StatusSwitcher-CaoFw0cf-BSUpAcCG.js → StatusSwitcher-BfQ9VbBH-C2uXiIL4.js} +4 -4
  197. package/dist/assets/{SubTabSwitcher-zrkVj1aP-kI_QH-yK.js → SubTabSwitcher-CzGiuhk3-C7cKUv_v.js} +9 -9
  198. package/dist/assets/SuccessAnimation-DA3343II-B6vDBJ0_.js +13 -0
  199. package/dist/assets/SummaryCard-D61xzK3a-CfR23TFg.js +1 -0
  200. package/dist/assets/{TaskDetailPage-044JwAvz-CIchaLt5.js → TaskDetailPage-CyZxZdJB-DrITidSC.js} +22 -22
  201. package/dist/assets/TaskListScreen-DwAEl1NC.js +9 -0
  202. package/dist/assets/TaskManagementPage-ucVAdv7x-Msj3UnnC.js +1067 -0
  203. package/dist/assets/TaskRoutes-Bz1uRNCx.js +9 -0
  204. package/dist/assets/TimeRangeSwitcher-C3jXm39I-fOK0S_yE.js +64 -0
  205. package/dist/assets/TimeframeSwitcher-CcYg-YQJ-DfqszobX.js +31 -0
  206. package/dist/assets/TimeframeSwitcherWithToggle-w4YJno-p-mLBmOb3v.js +53 -0
  207. package/dist/assets/{TopExCard-BUjnGDUB-HxwM-fNF.js → TopExCard-D2PRxvFc-3B8t-gu0.js} +6 -6
  208. package/dist/assets/{TopExDetailPage-CNDkfc3u-IVplKWSE.js → TopExDetailPage-C0uHdU7N-CImodBfZ.js} +11 -11
  209. package/dist/assets/{TransactionActivityLogPage-kSQqJVpX-Dthtq0jn.js → TransactionActivityLogPage-CqYb19tY-MGx1R4Ww.js} +9 -9
  210. package/dist/assets/TransactionDetailPage-D-NR_yZG-CxUKWZX4.js +921 -0
  211. package/dist/assets/TransactionDetailRoutes-CpDSsFwB.js +1 -0
  212. package/dist/assets/TransactionDetailScreen-DfuoY_gg.js +5 -0
  213. package/dist/assets/TransactionList-f6yB-byH-FETk5Iif.js +157 -0
  214. package/dist/assets/{TransactionListBig-Bx_Rm9ho-Du7QkIGC.js → TransactionListBig-BrDWayQS-BY28Hg37.js} +27 -27
  215. package/dist/assets/TransactionListPage-C-Z62y2d-DONuCLTJ.js +35 -0
  216. package/dist/assets/TransactionListRoutes-Bw5edFOJ.js +1 -0
  217. package/dist/assets/TransactionVendorDetailPage-CQQuAR6V-DBSEzxOy.js +80 -0
  218. package/dist/assets/{TransferDrawerPage-BayVa6po-u89zHtOp.js → TransferDrawerPage-DfFm-1-3-BhX0O4LO.js} +27 -27
  219. package/dist/assets/TreasuryOverviewPage-CKSanlUG-CXaeORdV.js +725 -0
  220. package/dist/assets/{TreasuryPromoPage-BCjz1EKX-9FM2wcwv.js → TreasuryPromoPage-Dyip3H10-C2tUOOp5.js} +14 -14
  221. package/dist/assets/TreasuryRoutes-j5E27301.js +45 -0
  222. package/dist/assets/TreasuryStatementsPage-mljf2Van-DcI9l-or.js +58 -0
  223. package/dist/assets/TreasuryTaxLetterPage-D3cV3a-8-ZsZIzn5I.js +58 -0
  224. package/dist/assets/TrendChart-fFlHCvNx-QKskVgw6.js +16 -0
  225. package/dist/assets/TrendWithTransactions-It4KDov3-DY_vu1lx.js +116 -0
  226. package/dist/assets/{UncategorizedAccountsMappingPage-TGKYpC5A-DrDVb8s-.js → UncategorizedAccountsMappingPage-BxBz2Ce0-BJNWUYth.js} +8 -8
  227. package/dist/assets/{UnitIntegrationPage-mt2IjA5X-B0h7UR57.js → UnitIntegrationPage-gVgsk2ji-D4-73jRv.js} +5 -5
  228. package/dist/assets/UploadAdditionalDocumentOverlay-C5m8jqup-BRodE0Ls.js +38 -0
  229. package/dist/assets/{Vendor2FAPopup-DAOf5cJD-GFzHEit0.js → Vendor2FAPopup-DRwBzOwn-DD_9hpy1.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-By2Ya2bv-Cwsi_OAL.js +1 -0
  231. package/dist/assets/VendorDetailPage-jci1LqX3-BHXhYJF0.js +257 -0
  232. package/dist/assets/VendorDomesticWireDetailsPage-uIDE-n5v-uvktM6eq.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-CRnO7Ubw-CSnvYMK9.js → VendorFiling1099EditablePage-8pYT3u-X-BDiOOpIL.js} +20 -20
  234. package/dist/assets/VendorFirstReviewPage-CafakxA1-DGimiBs4.js +730 -0
  235. package/dist/assets/{VendorInternationalWireDetailsPage-HUtNyn9Z-C58PYE3l.js → VendorInternationalWireDetailsPage-DJeI-ZFW-Cgs5W7gM.js} +10 -10
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co-5nTam-xgR7Rh7n.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-D6Qa1zf9-CVqHH4cq.js → VendorsAccountsSection-YX2g8ETe-YNhvXO1d.js} +2 -2
  238. package/dist/assets/{VendorsRoutes-D3omEpvR.js → VendorsRoutes-n5RcX0Vf.js} +28 -28
  239. package/dist/assets/VerifyDevice-DeHW4GAi-ejYUh2le.js +112 -0
  240. package/dist/assets/{VideoPlayer-BRAgZThr-BbqnCIc-.js → VideoPlayer-DxIfGrPu-C3cW7OOT.js} +1 -1
  241. package/dist/assets/VideoPopup-CUP7ctgS-Cy6Bpggh.js +31 -0
  242. package/dist/assets/WiseConfirmationScreen-CJyMiRdY.js +12 -0
  243. package/dist/assets/ZeniAccountDetailPage-7NdkdSg3-trkVyM14.js +300 -0
  244. package/dist/assets/ZeniAccountListViewPage-B-cs_xnc-DkcNyo5a.js +443 -0
  245. package/dist/assets/ZeniAccountNavBarPieces-CjRip0v9-Bv00yUCA.js +33 -0
  246. package/dist/assets/{ZeniAccountPromoPage-BgYCHYLO-g5oLmJuT.js → ZeniAccountPromoPage-BikXtkeH-BWgu0hz6.js} +9 -9
  247. package/dist/assets/ZeniAccountRoutes-BdqNU648.js +58 -0
  248. package/dist/assets/{ZeniAccountSetupPage-CvnIMdcY-BSUOWmK4.js → ZeniAccountSetupPage-BRBsijVt-BBTbKTOF.js} +4 -4
  249. package/dist/assets/ZeniAccountStatementScreen-DVjRkXeL.js +9 -0
  250. package/dist/assets/{ZeniAvatar-CwHVUcMc-CqvMhhIi.js → ZeniAvatar-pjdoqfWE-DmYSRpHD.js} +3 -3
  251. package/dist/assets/{ZeniCopyright-BlLvlGZV-D_cpkbcT.js → ZeniCopyright-DDGvdmLF-CPeY3qcE.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-DCurorsW-D16AsniI.js → ZeniDatePicker-K3F-G3-0-pGSyeWuf.js} +6 -6
  253. package/dist/assets/ZeniTransferAmountSlider-Cdg0TlHk-B_jBC96s.js +63 -0
  254. package/dist/assets/{accountMappingHelper-DaPjToYl.js → accountMappingHelper-CMy_dzCB.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-DvLI4jaw.js → add-to-wallet-DgdBD8_G-DZDSR_90.js} +1 -1
  256. package/dist/assets/{analytics-BuacLKrs.js → analytics-Buyhprzd.js} +1 -1
  257. package/dist/assets/{analyticsHelper-CHcSxJdc.js → analyticsHelper-CTH_kB-0.js} +1 -1
  258. package/dist/assets/{analyticsHelper-CYr5V2MV-DP0yfEiC.js → analyticsHelper-D9xdJK4b-DkISjLhy.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-90lG1L3u.js → arrow-south-east-round-PEovUgvH-CxvC0Cnw.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-CL7RFrAP.js → auto-transfer-rule-mbafm5D3-BXD0aAHO.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d--QTMwhPr.js → avatar-Dz7aEm3d-tC3a4UX-.js} +1 -1
  262. package/dist/assets/bank-letter-BOcVjN6J-B3HKnrvN.js +1 -0
  263. package/dist/assets/{calculateSize-Bn1NnCzV-SxKA7C8w.js → calculateSize-zPet_z9g-UKcDxIjM.js} +1 -1
  264. package/dist/assets/{chartTypes-40RenddT-D0AbAyeZ.js → chartTypes-Dq3hUz_T-DlStt0to.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-Cp3w47l8.js → clock-CJkylEKt-BFtrn8ev.js} +1 -1
  266. package/dist/assets/common-kiEGPQ33-BvLj55nP.js +1 -0
  267. package/dist/assets/commonDimensions-CGHIQ2To-BVJ-7SGP.js +1 -0
  268. package/dist/assets/{commonTypes-DsWS6Ccc-D27m4dJL.js → commonTypes-BAJPaPYg-qcmBeNCl.js} +1 -1
  269. package/dist/assets/{core-twTS7Cne.js → core-5sxMy3sZ.js} +3 -38
  270. package/dist/assets/{dash.all.min-BOiJW2p5.js → dash.all.min-CTYaOyx7.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-B0iGosVv.js → decodeURIComponentSafe-BXr_Lgnt.js} +1 -1
  272. package/dist/assets/{dnd-BWijMgNi.js → dnd-Cfx_ai1S.js} +3 -3
  273. package/dist/assets/{dollar-round-D18u7nlm-CiBCyYiG.js → dollar-round-D18u7nlm-BAPPb_YV.js} +1 -1
  274. package/dist/assets/downloadPdf-BI2Y41h2-C3b-r1N_.js +1 -0
  275. package/dist/assets/{empty-BuEMRnA-.js → empty-CDKH4CBD.js} +1 -1
  276. package/dist/assets/empty-DLdEFiEn.js +1 -0
  277. package/dist/assets/epic-Bn4m6PJ6.js +2 -0
  278. package/dist/assets/{filter-cZIFUNvj-CH_l3zIc.js → filter-cZIFUNvj-DR0oScp6.js} +1 -1
  279. package/dist/assets/getLocaleForTenant-BPL6tSgt.js +1 -0
  280. package/dist/assets/{gift-box-Cmt9OgIZ-BCDDcFDZ.js → gift-box-Cmt9OgIZ-CLkhO8vB.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DVAyGHzA.js → graphic-no-data-l-DU4J8fDt-BXfLioW6.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DlMg8P68.js → graphic-no-data-net-burn-l-CzmycA0m-DESi1ZUm.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-7TxvMz9v.js → handshake-BPg58FML-Cw8-rpU_.js} +1 -1
  284. package/dist/assets/{helper-BMiMbXMj-B-wSFTz-.js → helper-z5-P4a-y-DRvyDGbW.js} +2 -2
  285. package/dist/assets/{hyperlink-DQyCeXx2-DhYPEFJi.js → hyperlink-DQyCeXx2-DiF-LRfD.js} +1 -1
  286. package/dist/assets/index-B6cTzWKI.js +1 -0
  287. package/dist/assets/{index-k1doZNFg.js → index-BocbTmE1.js} +4430 -4492
  288. package/dist/assets/{empty-BAMh3RJk.js → index-Bsc8ZpcH.js} +1 -1
  289. package/dist/assets/{index-zkfIzc9c.js → index-DCFJ_6wy.js} +2 -8
  290. package/dist/assets/{index-Mx2SsGnu.js → index-XrFKA72B.js} +1 -1
  291. package/dist/assets/{index-DoiSNwZH.js → index-a2iFhnhM.js} +1 -1
  292. package/dist/assets/{lexical-CZE2Lq-0.js → lexical-BAlvZZhY.js} +1 -1
  293. package/dist/assets/{liveblocks-CM0QMS_I.js → liveblocks-BsQBjN-0.js} +17 -22
  294. package/dist/assets/{lottie-Bdr-9mLw.js → lottie-C2R6rGxS.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-DrC2Zs2y-B2Wt05iy.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BkPRWtaj-CxIv2d9v.js → mapSectionWithAcOnlyToTreeNode-dsBogxKz-DAKgnUEj.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-DMDEaLzQ-lo7UbRO0.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-CW_wzI5T-BaeuL7EQ.js +1 -0
  299. package/dist/assets/mapTimeframeBalancesToTreeNode-DvfKBCs5-Dl1ySEwF.js +1 -0
  300. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-CUYmne9-.js +1 -0
  301. package/dist/assets/{media-player-DTa5D54u.js → media-player-BX2lrCiw.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-B6SZvN8P.js → money-2cg1MuG4-C1UnGCa2.js} +1 -1
  303. package/dist/assets/{mui-Bi07oTwe.js → mui-C_CXevf3.js} +3 -3
  304. package/dist/assets/{page-detail-CWX5S47F-y9rokQDc.js → page-detail-CWX5S47F-DCvximFz.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-pIoT3Pmw.js → page-summary-D7_VQHwN-BBMfUdRp.js} +1 -1
  306. package/dist/assets/panelSelectedMixin-Cddsb26L-Kk0Lc2Dj.js +3 -0
  307. package/dist/assets/{pathToGoBack-Md2zV7uG.js → pathToGoBack-D5dFRCuJ.js} +1 -1
  308. package/dist/assets/pdf-DyB_VHQx.js +13 -0
  309. package/dist/assets/{pdf-lib-CILJewzg.js → pdf-lib-BLLlynNv.js} +1 -1
  310. package/dist/assets/{plaid-Dw_qIY4R.js → plaid-Yyr3DBd8.js} +1 -1
  311. package/dist/assets/{pusher-DynBuu5N.js → pusher-CQAuuZH-.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-GKL562Zm.js → radio-default-CiSgisfh-HLL7c7Ix.js} +1 -1
  313. package/dist/assets/{react-Ar6ZOtfZ.js → react-B9pn5zl_.js} +2 -12
  314. package/dist/assets/{react-1mNX_DRd.js → react-BEZA9UfV.js} +2 -12
  315. package/dist/assets/{react-vzV2OwEE.js → react-BFykbpKw.js} +2 -12
  316. package/dist/assets/{react-CHxjXjfJ.js → react-BmJ9wc4M.js} +3 -13
  317. package/dist/assets/{react-Xs8hOk7X.js → react-CEO525cE.js} +2 -12
  318. package/dist/assets/{react-DiCJT7O0.js → react-COI-5ihT.js} +2 -12
  319. package/dist/assets/react-D7RjW9MW.js +19 -0
  320. package/dist/assets/{react-DvA2K4aW.js → react-YbLjyGgM.js} +2 -12
  321. package/dist/assets/{recharts-CS0s98U8.js → recharts-CTWfsY-L.js} +36 -36
  322. package/dist/assets/{routePaths-DiyiibEL.js → routePaths-_EQ7HBkZ.js} +1 -1
  323. package/dist/assets/{sentry-CytkDQe2.js → sentry-DINNQYpi.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-CuS9M_ww.js → shield-DOlUxcFf-DFaW8QSC.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-DuCQ_jaT.js → spend-limit-D6SyboD4-05QrBanM.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-P7keEtAg-CVzjqCh4.js +1 -0
  327. package/dist/assets/toChartData-BUf5HHim-BMyIU8Hn.js +1 -0
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-DuWev16q.js → transaction-placeholder-CpOwZAMG-kO6lyet9.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-Cg47YjTI.js → undo-b_3XZ5CX-CAOnjxt9.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-DplIQ8y4.js → unlock-BPWn2I5L-fA9hPtxv.js} +1 -1
  331. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-BbiwxEOu.js +1 -0
  332. package/dist/assets/{uploadAttachment-BlLqRIXe-B6ElpyTj.js → uploadAttachment-DJA30WSD-Mme28mRP.js} +25 -25
  333. package/dist/assets/{uploadReceipts-Dge0cNF1-Co75nE7C.js → uploadReceipts-CqDftTRt-DnJMDyN6.js} +1 -1
  334. package/dist/assets/{url-DlqX0g3J.js → url-BnrMVJye.js} +1 -1
  335. package/dist/assets/{url-wSyZyUAL.js → url-dGBmezhj.js} +1 -1
  336. package/dist/assets/{useDeviceId-CW9B9UlH.js → useDeviceId-Dhw-GVYT.js} +1 -1
  337. package/dist/assets/useInitialThreadRequest-GWflkp6K.js +1 -0
  338. package/dist/assets/{useLongPress-GCK2COYQ-DxXBKjrG.js → useLongPress-GCK2COYQ-CI59nlOM.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-DHy4exHr.js → usp-line-BBd1wKwW-Bi23t2Q-.js} +1 -1
  340. package/dist/assets/{utils-CSjogEj5.js → utils-DmE88LS_.js} +15 -28
  341. package/dist/assets/withTransactionSidePanel-D4o5a7Hq.js +8 -0
  342. package/dist/assets/zeni-epic-state-a7Sj5mjO.js +14 -0
  343. package/dist/assets/{zeni-icon-only-C6-rv1y7.js → zeni-icon-only-COM3FcNM.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/dist/service-worker.js +16 -8
  346. package/package.json +4 -4
  347. package/dist/assets/AccountInfoPage-o7hTXtgZ-NjcAzXFT.js +0 -18
  348. package/dist/assets/AccountInfoPageContent-DqErO8FH-BeoOImtE.js +0 -149
  349. package/dist/assets/AccountRow-CpftykFx-BJ3WZo2I.js +0 -298
  350. package/dist/assets/AddAddressForCardDrawer-vecchYEf-lmlcPBf7.js +0 -6
  351. package/dist/assets/AddressRoutes-BeSQWOrw.js +0 -1
  352. package/dist/assets/AddressScreen-CE8x2lDp.js +0 -9
  353. package/dist/assets/AiCfoScreen-BszigZh8.js +0 -11
  354. package/dist/assets/ApAgingDetailPage-BOV1WFVF-Bn0q4RYM.js +0 -46
  355. package/dist/assets/AppDrawerContent-Dc2sHnR3-B11HecZn.js +0 -92
  356. package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-CIEnHFVH.js +0 -47
  357. package/dist/assets/ArAgingDetailPage-b_NpDpWj-B3kCWqKT.js +0 -46
  358. package/dist/assets/BankAccountWarningSection-yT2UAd12-DDru0TbG.js +0 -51
  359. package/dist/assets/BankConnectionsSettingsPage-CbxXykMM-DSyYDFRR.js +0 -425
  360. package/dist/assets/BillDetailPage-7TMkWo3V-Bx_V8TNq.js +0 -266
  361. package/dist/assets/BillPayApprovalRoutes-D-Lr-knt.js +0 -1
  362. package/dist/assets/BillPayApprovalRuleDetailPage-COyDRpaF-Cw59nmg3.js +0 -27
  363. package/dist/assets/BillPaySetUpPage-Cs5rkWBu-uFttJJzg.js +0 -42
  364. package/dist/assets/BusinessVerificationPage-1h0z3N9u-RMOZ1n1-.js +0 -138
  365. package/dist/assets/BusinessVerificationPageScreen-CsiX3KGh.js +0 -9
  366. package/dist/assets/BusyIndication-DizZe0Gu-1EWobmeT.js +0 -9
  367. package/dist/assets/ChargeCardListTable-DE72YU_i-CnPve3es.js +0 -711
  368. package/dist/assets/ChargeCardPromoPage-CPpNh89o-CvxWAl-t.js +0 -222
  369. package/dist/assets/CheckDepositDrawerPage-BrzeSj-3-qP1HtOIM.js +0 -206
  370. package/dist/assets/CollapsableReportTable-CDEe9s_E-BVFWKHUA.js +0 -2844
  371. package/dist/assets/CompanyPassportCard-B9ymV6Az-CvyAeev5.js +0 -42
  372. package/dist/assets/CompanyPassportScreen-UiOT42U6.js +0 -1
  373. package/dist/assets/CompleteProfile-C5n9b8gQ-BqfKsPPd.js +0 -52
  374. package/dist/assets/ConfettiBurst-BizTW0hz-BTsH0Adk.js +0 -1
  375. package/dist/assets/ConnectionAuthScreen-hHSL4PoV.js +0 -11
  376. package/dist/assets/CurrencySelectField-KvKyemY6-Bi0fspzF.js +0 -139
  377. package/dist/assets/CustomerOnboardingAuthScreen-DMW5eYly.js +0 -1
  378. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-p4P1_J3p.js +0 -1
  379. package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-BKydcoC-.js +0 -66
  380. package/dist/assets/DashboardRoutes-CXkTMDXA.js +0 -21
  381. package/dist/assets/DepositAccTransactionItem-BY_OvuKg-BV-rFk5q.js +0 -76
  382. package/dist/assets/DepositAccTransactionListPage-a__bpCOB-CF9PDDNQ.js +0 -66
  383. package/dist/assets/DomesticWireDetailScreen-DacvZAfq.js +0 -18
  384. package/dist/assets/DomesticWireDetailsPage-BumMT4QM-xDzQX0lF.js +0 -21
  385. package/dist/assets/DownloadOverlay-DqiL3-FB-DATHjVq3.js +0 -439
  386. package/dist/assets/DrawerScreen-B1Tmjk6I.js +0 -1
  387. package/dist/assets/EditPeoplePage-BcsdEp_d-83JmqDcO.js +0 -55
  388. package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-BwDh21om.js +0 -865
  389. package/dist/assets/EntityDetailPage-DtX5TjBc-C1gOmTYV.js +0 -18
  390. package/dist/assets/EntityDetailRoutes-DH6Oay7j.js +0 -1
  391. package/dist/assets/ExpenseAutomationPage-B8C4BxoV-DDvaiJ6I.js +0 -2323
  392. package/dist/assets/ExpenseAutomationRoutes-CVAejH_S.js +0 -20
  393. package/dist/assets/FeaturePreviewScreen-DqxtfQjE.js +0 -1
  394. package/dist/assets/GlobalReviewListPage-4eiopkzw-B9-MVo2q.js +0 -291
  395. package/dist/assets/InsightsCardStack-fBAbQwhK-Ben65oUn.js +0 -79
  396. package/dist/assets/InsightsSection-De9zu_me-BVBRSj8O.js +0 -27
  397. package/dist/assets/InternationalWireVerificationPage-CDf7equc-BWfDz-qh.js +0 -65
  398. package/dist/assets/InvitePeoplePage-Db4P4ZEq-D8yQs7Vc.js +0 -12
  399. package/dist/assets/InvoiceUploadSection-DYCjz9CI-CGqj6KTI.js +0 -140
  400. package/dist/assets/LabeledAddressValueField-C6-hVsPb-Cx3qxpIQ.js +0 -45
  401. package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-CRnqdJf1.js +0 -16
  402. package/dist/assets/LabeledDocumentField-Bp9m-OrP-BZJ1R-di.js +0 -41
  403. package/dist/assets/LabeledText-DvzVOku6-C1r6b0lJ.js +0 -42
  404. package/dist/assets/MagicLinkACHDetailsPage-C494txw0-B6Ad2Ian.js +0 -1
  405. package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-BnDh5s_P.js +0 -1
  406. package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-DQpa109r.js +0 -1
  407. package/dist/assets/MagicLinkSignInScreen-CeYyqoa0.js +0 -12
  408. package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-Te4RRaTi.js +0 -31
  409. package/dist/assets/MobileAppDrawer-B2Fzw8F_.js +0 -1
  410. package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-D4wjrOZn.js +0 -85
  411. package/dist/assets/NavBarWithPicker-zmvBmWS1-C1LKFsDL.js +0 -30
  412. package/dist/assets/NavigationDots-Bv4tBDN3-CX4VVQFS.js +0 -15
  413. package/dist/assets/NotFoundScreen-BBemVqe2.js +0 -1
  414. package/dist/assets/NotificationRoutes-U-LaNI42.js +0 -1
  415. package/dist/assets/NotificationsListConfig-Bn1zmx6b-CgwI3kB8.js +0 -1
  416. package/dist/assets/NotificationsPage-DDwdR_Jq-CLxtwJ7_.js +0 -685
  417. package/dist/assets/OpExByVendorPage-DukFYlqO-DLkue9kB.js +0 -100
  418. package/dist/assets/OverlayContainerPage-D4QU0p4o-C-Icci7k.js +0 -11
  419. package/dist/assets/PandLWithForecastPage-Bgflh9Om-BLh8XrcC.js +0 -107
  420. package/dist/assets/PandLWithForecastRoutes-D-HhWNvF.js +0 -1
  421. package/dist/assets/PeoplePage-CDvKreQl-Br9fXMF2.js +0 -720
  422. package/dist/assets/PeopleRoutes-Dq51UjI9.js +0 -22
  423. package/dist/assets/PerformanceRoutes-cKruQlcS.js +0 -1
  424. package/dist/assets/ReferralListScreen-CSsSh4ih.js +0 -5
  425. package/dist/assets/ReimbursementApprovalRoutes-CVWnCLDW.js +0 -1
  426. package/dist/assets/ReimbursementApprovalRuleDetailScreen-DZcx_Ou3.js +0 -1
  427. package/dist/assets/ReimbursementDetailPage-oIC9QEyF-DlTQsBwh.js +0 -314
  428. package/dist/assets/ReimbursementRoutes-Djc8hIjc.js +0 -13
  429. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CZtSd4TM.js +0 -1
  430. package/dist/assets/ReloadCard-DKGn1uxF-CkrmOtQv.js +0 -26
  431. package/dist/assets/ReportTableViewSelector-CXDvZEbR-B4WtL-_p.js +0 -150
  432. package/dist/assets/ReportsPage-BoUyXSBC-D_vUbcSy.js +0 -121
  433. package/dist/assets/ReportsRoutes-tnBiH82P.js +0 -1
  434. package/dist/assets/ReviewDetailsPage-tT1l4R2r-DKl8wtRU.js +0 -290
  435. package/dist/assets/RewardsRoutes-DS51i8ZJ.js +0 -1
  436. package/dist/assets/RoleWithToolTip-C8x5yXaK-oTqAGBzT.js +0 -22
  437. package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-NjexzQQI.js +0 -37
  438. package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-mJi37FRF.js +0 -37
  439. package/dist/assets/ScheduleSequenceTable-J6Eja8XA-uTDNIyeO.js +0 -324
  440. package/dist/assets/ScreenRoutes-DvoBFpYl.js +0 -2
  441. package/dist/assets/SignIn-Cu2nzuEC-CgFcNFK3.js +0 -491
  442. package/dist/assets/SignInScreen-CCXIdR_f.js +0 -1
  443. package/dist/assets/SignOutScreen-nUR_nQi4.js +0 -9
  444. package/dist/assets/SpendManagementListViewPage-9V9u1jPF-CAhShlf6.js +0 -134
  445. package/dist/assets/SpendManagementPerTabPage-COvEPq7V-Enwnkp6K.js +0 -754
  446. package/dist/assets/SpendManagementSection-dT-N4bSQ-BU7QcxyK.js +0 -375
  447. package/dist/assets/StatementItem-g5tfNBjV-B8DjDGkB.js +0 -31
  448. package/dist/assets/StatementsPage-DaFrVUeK-Bb78Acqy.js +0 -58
  449. package/dist/assets/SuccessAnimation-oz7yQ6H3-mzE9epVx.js +0 -13
  450. package/dist/assets/SummaryCard-B9wqNSwM-BiOPMjla.js +0 -1
  451. package/dist/assets/TaskListScreen-BTd0K2Ah.js +0 -9
  452. package/dist/assets/TaskManagementPage-dAK9tl2b-B8eIax2u.js +0 -1063
  453. package/dist/assets/TaskRoutes-C34_uNkE.js +0 -9
  454. package/dist/assets/TimeRangeSwitcher-r1TNqVRb-ca11ciDj.js +0 -64
  455. package/dist/assets/TimeframeSwitcher-DHfHCTa4-CRY0pI2L.js +0 -31
  456. package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-zevKhD94.js +0 -31
  457. package/dist/assets/TransactionDetailPage-f7vWtXWL-DFjYfEw-.js +0 -903
  458. package/dist/assets/TransactionDetailRoutes-D0IUp-c0.js +0 -1
  459. package/dist/assets/TransactionDetailScreen-DuZvqtgf.js +0 -5
  460. package/dist/assets/TransactionList-3-mUZOsw-kAZ-qL0T.js +0 -153
  461. package/dist/assets/TransactionListPage-q6x4_jni-D2QSW9vu.js +0 -35
  462. package/dist/assets/TransactionListRoutes-PB1J2m8T.js +0 -1
  463. package/dist/assets/TransactionVendorDetailPage-MjSH5hfq-BRDls23z.js +0 -80
  464. package/dist/assets/TreasuryOverviewPage-CuqWmrO5-Duo1If9V.js +0 -708
  465. package/dist/assets/TreasuryRoutes-BFHIVJGR.js +0 -45
  466. package/dist/assets/TreasuryStatementsPage-CGr00SXF-CPBafn5H.js +0 -58
  467. package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-BmLnB6xa.js +0 -58
  468. package/dist/assets/TrendChart-JTOG0a7B-B1HzEifS.js +0 -16
  469. package/dist/assets/TrendWithTransactions-CTJhTpAM-FxLucl6g.js +0 -116
  470. package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-BZwjrrpj.js +0 -38
  471. package/dist/assets/VendorACHDetailsPage-CCOupiSZ-BPHL9d4l.js +0 -1
  472. package/dist/assets/VendorDetailPage-DufNphGD-DqlByCd7.js +0 -257
  473. package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-Du-36wGx.js +0 -1
  474. package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-CKfw2PVJ.js +0 -730
  475. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-ln7X-i9Z.js +0 -1
  476. package/dist/assets/VerifyDevice-B6B_nk3v-7J7PFtZ-.js +0 -112
  477. package/dist/assets/VideoPopup-C_SkBI9U-BL3_M3X0.js +0 -31
  478. package/dist/assets/WiseConfirmationScreen-DvushDs-.js +0 -12
  479. package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-B3WRlZyy.js +0 -300
  480. package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-BHUjzyQE.js +0 -441
  481. package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-BkpO-_U2.js +0 -14
  482. package/dist/assets/ZeniAccountRoutes-JNlaxrz8.js +0 -58
  483. package/dist/assets/ZeniAccountStatementScreen-Df6Ut17b.js +0 -9
  484. package/dist/assets/ZeniTransferAmountSlider-BNYgPwHs-rAtxCD8c.js +0 -63
  485. package/dist/assets/common-DEB71I4X-D2h2kF8O.js +0 -1
  486. package/dist/assets/commonDimensions-BMnB1-xU-CuHaP4qo.js +0 -1
  487. package/dist/assets/detailCommon-CrcyqWtZ-Co4x3-EY.js +0 -38
  488. package/dist/assets/downloadPdf-CUUx8PWn-B-oFkl1r.js +0 -1
  489. package/dist/assets/epic-Dx6vN-UO.js +0 -2
  490. package/dist/assets/getLocaleForTenant-CY5R0VDK.js +0 -1
  491. package/dist/assets/index-BYeMrBg9.js +0 -1
  492. package/dist/assets/index-DO6IEWSk.js +0 -1
  493. package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-BSjhxbWc.js +0 -1
  494. package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-oI33_r0x.js +0 -1
  495. package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-BejLDcnD.js +0 -1
  496. package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-CPJM42M2.js +0 -1
  497. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-DquHI1rq.js +0 -1
  498. package/dist/assets/panelSelectedMixin-CzfD5-Zs-Bh-ojoWH.js +0 -4
  499. package/dist/assets/pdf-emb33J2I.js +0 -13
  500. package/dist/assets/react-BL4qYNQl.js +0 -37
  501. package/dist/assets/toCOABalancesWithID-DkMGvlEt-DFgINRIk.js +0 -1
  502. package/dist/assets/toChartData-C6s-eBzE-BfIZvn48.js +0 -1
  503. package/dist/assets/useInitialThreadRequest-1tDzaux1.js +0 -1
  504. package/dist/assets/withTransactionSidePanel-kYDF1Rc9.js +0 -8
  505. package/dist/assets/zeni-epic-state-DyRbb6Q5.js +0 -122
@@ -1,6 +1,6 @@
1
- import{a as v,p as ae,c as V,g as ce,b as et}from"./sentry-CytkDQe2.js";import{b as ue}from"./core-twTS7Cne.js";import{j as de}from"./pdf-emb33J2I.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="d0cda239-2f00-4a27-8ff9-86f7dee941fa",r._sentryDebugIdIdentifier="sentry-dbid-d0cda239-2f00-4a27-8ff9-86f7dee941fa")}catch{}})();function Yt(r){let t=null;return()=>(t==null&&(t=r()),t)}class he{enter(t){const e=this.entered.length;return this.entered=function(i,n){const s=new Set,o=c=>s.add(c);i.forEach(o),n.forEach(o);const a=[];return s.forEach(c=>a.push(c)),a}(this.entered.filter(i=>this.isNodeInDocument(i)&&(!i.contains||i.contains(t))),[t]),e===0&&this.entered.length>0}leave(t){const e=this.entered.length;var i,n;return this.entered=(i=this.entered.filter(this.isNodeInDocument),n=t,i.filter(s=>s!==n)),e>0&&this.entered.length===0}reset(){this.entered=[]}constructor(t){this.entered=[],this.isNodeInDocument=t}}class le{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(t=>{Object.defineProperty(this.item,t,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${t}" until the drop event.`),null)})})}loadDataTransfer(t){if(t){const e={};Object.keys(this.config.exposeProperties).forEach(i=>{const n=this.config.exposeProperties[i];n!=null&&(e[i]={value:n(t,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,e)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(t,e){return e===t.getSourceId()}endDrag(){}constructor(t){this.config=t,this.item={},this.initializeExposedProperties()}}const $t="__NATIVE_FILE__",Xt="__NATIVE_URL__",qt="__NATIVE_TEXT__",Gt="__NATIVE_HTML__",It=Object.freeze(Object.defineProperty({__proto__:null,FILE:$t,HTML:Gt,TEXT:qt,URL:Xt},Symbol.toStringTag,{value:"Module"}));function rt(r,t,e){const i=t.reduce((n,s)=>n||r.getData(s),"");return i??e}const ut={[$t]:{exposeProperties:{files:r=>Array.prototype.slice.call(r.files),items:r=>r.items,dataTransfer:r=>r},matchesTypes:["Files"]},[Gt]:{exposeProperties:{html:(r,t)=>rt(r,t,""),dataTransfer:r=>r},matchesTypes:["Html","text/html"]},[Xt]:{exposeProperties:{urls:(r,t)=>rt(r,t,"").split(`
2
- `),dataTransfer:r=>r},matchesTypes:["Url","text/uri-list"]},[qt]:{exposeProperties:{text:(r,t)=>rt(r,t,""),dataTransfer:r=>r},matchesTypes:["Text","text/plain"]}};function nt(r){if(!r)return null;const t=Array.prototype.slice.call(r.types||[]);return Object.keys(ut).filter(e=>{const i=ut[e];return!!i?.matchesTypes&&i.matchesTypes.some(n=>t.indexOf(n)>-1)})[0]||null}const ge=Yt(()=>/firefox/i.test(navigator.userAgent)),Ct=Yt(()=>!!window.safari);class Nt{interpolate(t){const{xs:e,ys:i,c1s:n,c2s:s,c3s:o}=this;let a=e.length-1;if(t===e[a])return i[a];let c,u=0,d=o.length-1;for(;u<=d;){c=Math.floor(.5*(u+d));const h=e[c];if(h<t)u=c+1;else{if(!(h>t))return i[c];d=c-1}}a=Math.max(0,d);const g=t-e[a],f=g*g;return i[a]+n[a]*g+s[a]*f+o[a]*g*f}constructor(t,e){const{length:i}=t,n=[];for(let h=0;h<i;h++)n.push(h);n.sort((h,m)=>t[h]<t[m]?-1:1);const s=[],o=[];let a,c;for(let h=0;h<i-1;h++)a=t[h+1]-t[h],c=e[h+1]-e[h],s.push(a),o.push(c/a);const u=[o[0]];for(let h=0;h<s.length-1;h++){const m=o[h],y=o[h+1];if(m*y<=0)u.push(0);else{a=s[h];const b=s[h+1],O=a+b;u.push(3*O/((O+b)/m+(O+a)/y))}}u.push(o[o.length-1]);const d=[],g=[];let f;for(let h=0;h<u.length-1;h++){f=o[h];const m=u[h],y=1/s[h],b=m+u[h+1]-f-f;d.push((f-m-b)*y),g.push(b*y*y)}this.xs=t,this.ys=e,this.c1s=u,this.c2s=d,this.c3s=g}}function Kt(r){const t=r.nodeType===1?r:r.parentElement;if(!t)return null;const{top:e,left:i}=t.getBoundingClientRect();return{x:i,y:e}}function X(r){return{x:r.clientX,y:r.clientY}}function fe(r,t,e,i,n){const s=(o=t).nodeName==="IMG"&&(ge()||!(!((a=document.documentElement)===null||a===void 0)&&a.contains(o)));var o,a;const c=Kt(s?r:t),u={x:e.x-c.x,y:e.y-c.y},{offsetWidth:d,offsetHeight:g}=r,{anchorX:f,anchorY:h}=i,{dragPreviewWidth:m,dragPreviewHeight:y}=function(S,L,tt,A){let H=S?L.width:tt,_=S?L.height:A;return Ct()&&S&&(_/=window.devicePixelRatio,H/=window.devicePixelRatio),{dragPreviewWidth:H,dragPreviewHeight:_}}(s,t,d,g),{offsetX:b,offsetY:O}=n,D=O===0||O;return{x:b===0||b?b:new Nt([0,.5,1],[u.x,u.x/d*m,u.x+m-d]).interpolate(f),y:D?O:(()=>{let S=new Nt([0,.5,1],[u.y,u.y/g*y,u.y+y-g]).interpolate(h);return Ct()&&s&&(S+=(window.devicePixelRatio-1)*y),S})()}}let pe=class{get window(){return this.globalContext?this.globalContext:typeof window<"u"?window:void 0}get document(){var r;return!((r=this.globalContext)===null||r===void 0)&&r.document?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var r;return((r=this.optionsArgs)===null||r===void 0?void 0:r.rootElement)||this.window}constructor(r,t){this.ownerDocument=null,this.globalContext=r,this.optionsArgs=t}};function ve(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function Pt(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{},i=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.forEach(function(n){ve(r,n,e[n])})}return r}class me{profile(){var t,e;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((t=this.dragStartSourceIds)===null||t===void 0?void 0:t.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((e=this.dragOverTargetIds)===null||e===void 0?void 0:e.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const t=this.rootElement;if(t!==void 0){if(t.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");t.__isReactDndBackendSetUp=!0,this.addEventListeners(t)}}teardown(){const t=this.rootElement;var e;t!==void 0&&(t.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&((e=this.window)===null||e===void 0||e.cancelAnimationFrame(this.asyncEndDragFrameId)))}connectDragPreview(t,e,i){return this.sourcePreviewNodeOptions.set(t,i),this.sourcePreviewNodes.set(t,e),()=>{this.sourcePreviewNodes.delete(t),this.sourcePreviewNodeOptions.delete(t)}}connectDragSource(t,e,i){this.sourceNodes.set(t,e),this.sourceNodeOptions.set(t,i);const n=o=>this.handleDragStart(o,t),s=o=>this.handleSelectStart(o);return e.setAttribute("draggable","true"),e.addEventListener("dragstart",n),e.addEventListener("selectstart",s),()=>{this.sourceNodes.delete(t),this.sourceNodeOptions.delete(t),e.removeEventListener("dragstart",n),e.removeEventListener("selectstart",s),e.setAttribute("draggable","false")}}connectDropTarget(t,e){const i=o=>this.handleDragEnter(o,t),n=o=>this.handleDragOver(o,t),s=o=>this.handleDrop(o,t);return e.addEventListener("dragenter",i),e.addEventListener("dragover",n),e.addEventListener("drop",s),()=>{e.removeEventListener("dragenter",i),e.removeEventListener("dragover",n),e.removeEventListener("drop",s)}}addEventListeners(t){t.addEventListener&&(t.addEventListener("dragstart",this.handleTopDragStart),t.addEventListener("dragstart",this.handleTopDragStartCapture,!0),t.addEventListener("dragend",this.handleTopDragEndCapture,!0),t.addEventListener("dragenter",this.handleTopDragEnter),t.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.addEventListener("dragover",this.handleTopDragOver),t.addEventListener("dragover",this.handleTopDragOverCapture,!0),t.addEventListener("drop",this.handleTopDrop),t.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(t){t.removeEventListener&&(t.removeEventListener("dragstart",this.handleTopDragStart),t.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),t.removeEventListener("dragend",this.handleTopDragEndCapture,!0),t.removeEventListener("dragenter",this.handleTopDragEnter),t.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.removeEventListener("dragover",this.handleTopDragOver),t.removeEventListener("dragover",this.handleTopDragOverCapture,!0),t.removeEventListener("drop",this.handleTopDrop),t.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const t=this.monitor.getSourceId(),e=this.sourceNodeOptions.get(t);return Pt({dropEffect:this.altKeyPressed?"copy":"move"},e||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const t=this.monitor.getSourceId();return Pt({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(t)||{})}isDraggingNativeItem(){const t=this.monitor.getItemType();return Object.keys(It).some(e=>It[e]===t)}beginDragNativeItem(t,e){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(i,n){const s=ut[i];if(!s)throw new Error(`native type ${i} has no configuration`);const o=new le(s);return o.loadDataTransfer(n),o}(t,e),this.currentNativeHandle=this.registry.addSource(t,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(t){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=t,this.mouseMoveTimeoutTimer=setTimeout(()=>{var e;return(e=this.rootElement)===null||e===void 0?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){var t;return this.currentDragSourceNode=null,this.rootElement&&((t=this.window)===null||t===void 0||t.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(t,e){t.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(e))}handleDragEnter(t,e){this.dragEnterTargetIds.unshift(e)}handleDragOver(t,e){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(e)}handleDrop(t,e){this.dropTargetIds.unshift(e)}constructor(t,e,i){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=n=>{const s=this.sourceNodes.get(n);return s&&Kt(s)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=n=>!!(n&&this.document&&this.document.body&&this.document.body.contains(n)),this.endDragIfSourceWasRemovedFromDOM=()=>{const n=this.currentDragSourceNode;n==null||this.isNodeInDocument(n)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=n=>{this.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(n||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame<"u"&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=n=>{if(n.defaultPrevented)return;const{dragStartSourceIds:s}=this;this.dragStartSourceIds=null;const o=X(n);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(s||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:o});const{dataTransfer:a}=n,c=nt(a);if(this.monitor.isDragging()){if(a&&typeof a.setDragImage=="function"){const d=this.monitor.getSourceId(),g=this.sourceNodes.get(d),f=this.sourcePreviewNodes.get(d)||g;if(f){const{anchorX:h,anchorY:m,offsetX:y,offsetY:b}=this.getCurrentSourcePreviewNodeOptions(),O=fe(g,f,o,{anchorX:h,anchorY:m},{offsetX:y,offsetY:b});a.setDragImage(f,O.x,O.y)}}try{a?.setData("application/json",{})}catch{}this.setCurrentDragSourceNode(n.target);const{captureDraggingState:u}=this.getCurrentSourcePreviewNodeOptions();u?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(c)this.beginDragNativeItem(c);else{if(a&&!a.types&&(n.target&&!n.target.hasAttribute||!n.target.hasAttribute("draggable")))return;n.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=n=>{var s;if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()&&((s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(n.dataTransfer)),!this.enterLeaveCounter.enter(n.target)||this.monitor.isDragging())return;const{dataTransfer:o}=n,a=nt(o);a&&this.beginDragNativeItem(a,o)},this.handleTopDragEnter=n=>{const{dragEnterTargetIds:s}=this;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=n.altKey,s.length>0&&this.actions.hover(s,{clientOffset:X(n)}),s.some(o=>this.monitor.canDropOnTarget(o))&&(n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=n=>{var s;this.dragOverTargetIds=[],this.isDraggingNativeItem()&&((s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(n.dataTransfer))},this.handleTopDragOver=n=>{const{dragOverTargetIds:s}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return n.preventDefault(),void(n.dataTransfer&&(n.dataTransfer.dropEffect="none"));this.altKeyPressed=n.altKey,this.lastClientOffset=X(n),this.scheduleHover(s),(s||[]).some(o=>this.monitor.canDropOnTarget(o))?(n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?n.preventDefault():(n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=n=>{this.isDraggingNativeItem()&&n.preventDefault(),this.enterLeaveCounter.leave(n.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=n=>{var s;this.dropTargetIds=[],this.isDraggingNativeItem()?(n.preventDefault(),(s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(n.dataTransfer)):nt(n.dataTransfer)&&n.preventDefault(),this.enterLeaveCounter.reset()},this.handleTopDrop=n=>{const{dropTargetIds:s}=this;this.dropTargetIds=[],this.actions.hover(s,{clientOffset:X(n)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=n=>{const s=n.target;typeof s.dragDrop=="function"&&(s.tagName==="INPUT"||s.tagName==="SELECT"||s.tagName==="TEXTAREA"||s.isContentEditable||(n.preventDefault(),s.dragDrop()))},this.options=new pe(e,i),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new he(this.isNodeInDocument)}}const br=function(r,t,e){return new me(r,t,e)};var M,zt=(r,t,e)=>{if(!t.has(r))throw TypeError("Cannot "+e)},l=(r,t,e)=>(zt(r,t,"read from private field"),e?e.call(r):t.get(r)),E=(r,t,e)=>{if(t.has(r))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(r):t.set(r,e)},x=(r,t,e,i)=>(zt(r,t,"write to private field"),t.set(r,e),e),ye=class{constructor(){E(this,M,void 0),this.register=r=>{l(this,M).push(r)},this.unregister=r=>{let t;for(;(t=l(this,M).indexOf(r))!==-1;)l(this,M).splice(t,1)},this.backendChanged=r=>{for(let t of l(this,M))t.backendChanged(r)},x(this,M,[])}};M=new WeakMap;var T,B,w,C,N,dt,ht,lt,G,K,W,z=class{constructor(r,t,e){if(E(this,T,void 0),E(this,B,void 0),E(this,w,void 0),E(this,C,void 0),E(this,N,void 0),E(this,dt,(i,n,s)=>{if(!s.backend)throw new Error(`You must specify a 'backend' property in your Backend entry: ${JSON.stringify(s)}`);let o=s.backend(i,n,s.options),a=s.id,c=!s.id&&o&&o.constructor;if(c&&(a=o.constructor.name),!a)throw new Error(`You must specify an 'id' property in your Backend entry: ${JSON.stringify(s)}
1
+ import{a as v,p as ae,c as V,g as ce,b as et}from"./sentry-DINNQYpi.js";import{b as ue}from"./core-5sxMy3sZ.js";import{j as de}from"./liveblocks-BsQBjN-0.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="3cd70af5-66ea-4e27-b736-60216e6131dd",r._sentryDebugIdIdentifier="sentry-dbid-3cd70af5-66ea-4e27-b736-60216e6131dd")}catch{}})();function Yt(r){let t=null;return()=>(t==null&&(t=r()),t)}class he{enter(t){const e=this.entered.length;return this.entered=function(i,n){const s=new Set,o=c=>s.add(c);i.forEach(o),n.forEach(o);const a=[];return s.forEach(c=>a.push(c)),a}(this.entered.filter(i=>this.isNodeInDocument(i)&&(!i.contains||i.contains(t))),[t]),e===0&&this.entered.length>0}leave(t){const e=this.entered.length;var i,n;return this.entered=(i=this.entered.filter(this.isNodeInDocument),n=t,i.filter(s=>s!==n)),e>0&&this.entered.length===0}reset(){this.entered=[]}constructor(t){this.entered=[],this.isNodeInDocument=t}}class le{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(t=>{Object.defineProperty(this.item,t,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${t}" until the drop event.`),null)})})}loadDataTransfer(t){if(t){const e={};Object.keys(this.config.exposeProperties).forEach(i=>{const n=this.config.exposeProperties[i];n!=null&&(e[i]={value:n(t,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,e)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(t,e){return e===t.getSourceId()}endDrag(){}constructor(t){this.config=t,this.item={},this.initializeExposedProperties()}}const $t="__NATIVE_FILE__",Xt="__NATIVE_URL__",qt="__NATIVE_TEXT__",Gt="__NATIVE_HTML__",It=Object.freeze(Object.defineProperty({__proto__:null,FILE:$t,HTML:Gt,TEXT:qt,URL:Xt},Symbol.toStringTag,{value:"Module"}));function rt(r,t,e){const i=t.reduce((n,s)=>n||r.getData(s),"");return i??e}const ut={[$t]:{exposeProperties:{files:r=>Array.prototype.slice.call(r.files),items:r=>r.items,dataTransfer:r=>r},matchesTypes:["Files"]},[Gt]:{exposeProperties:{html:(r,t)=>rt(r,t,""),dataTransfer:r=>r},matchesTypes:["Html","text/html"]},[Xt]:{exposeProperties:{urls:(r,t)=>rt(r,t,"").split(`
2
+ `),dataTransfer:r=>r},matchesTypes:["Url","text/uri-list"]},[qt]:{exposeProperties:{text:(r,t)=>rt(r,t,""),dataTransfer:r=>r},matchesTypes:["Text","text/plain"]}};function nt(r){if(!r)return null;const t=Array.prototype.slice.call(r.types||[]);return Object.keys(ut).filter(e=>{const i=ut[e];return!!i?.matchesTypes&&i.matchesTypes.some(n=>t.indexOf(n)>-1)})[0]||null}const ge=Yt(()=>/firefox/i.test(navigator.userAgent)),Ct=Yt(()=>!!window.safari);class Nt{interpolate(t){const{xs:e,ys:i,c1s:n,c2s:s,c3s:o}=this;let a=e.length-1;if(t===e[a])return i[a];let c,u=0,d=o.length-1;for(;u<=d;){c=Math.floor(.5*(u+d));const h=e[c];if(h<t)u=c+1;else{if(!(h>t))return i[c];d=c-1}}a=Math.max(0,d);const g=t-e[a],f=g*g;return i[a]+n[a]*g+s[a]*f+o[a]*g*f}constructor(t,e){const{length:i}=t,n=[];for(let h=0;h<i;h++)n.push(h);n.sort((h,m)=>t[h]<t[m]?-1:1);const s=[],o=[];let a,c;for(let h=0;h<i-1;h++)a=t[h+1]-t[h],c=e[h+1]-e[h],s.push(a),o.push(c/a);const u=[o[0]];for(let h=0;h<s.length-1;h++){const m=o[h],y=o[h+1];if(m*y<=0)u.push(0);else{a=s[h];const S=s[h+1],O=a+S;u.push(3*O/((O+S)/m+(O+a)/y))}}u.push(o[o.length-1]);const d=[],g=[];let f;for(let h=0;h<u.length-1;h++){f=o[h];const m=u[h],y=1/s[h],S=m+u[h+1]-f-f;d.push((f-m-S)*y),g.push(S*y*y)}this.xs=t,this.ys=e,this.c1s=u,this.c2s=d,this.c3s=g}}function Kt(r){const t=r.nodeType===1?r:r.parentElement;if(!t)return null;const{top:e,left:i}=t.getBoundingClientRect();return{x:i,y:e}}function X(r){return{x:r.clientX,y:r.clientY}}function fe(r,t,e,i,n){const s=(o=t).nodeName==="IMG"&&(ge()||!(!((a=document.documentElement)===null||a===void 0)&&a.contains(o)));var o,a;const c=Kt(s?r:t),u={x:e.x-c.x,y:e.y-c.y},{offsetWidth:d,offsetHeight:g}=r,{anchorX:f,anchorY:h}=i,{dragPreviewWidth:m,dragPreviewHeight:y}=function(b,L,tt,A){let H=b?L.width:tt,_=b?L.height:A;return Ct()&&b&&(_/=window.devicePixelRatio,H/=window.devicePixelRatio),{dragPreviewWidth:H,dragPreviewHeight:_}}(s,t,d,g),{offsetX:S,offsetY:O}=n,D=O===0||O;return{x:S===0||S?S:new Nt([0,.5,1],[u.x,u.x/d*m,u.x+m-d]).interpolate(f),y:D?O:(()=>{let b=new Nt([0,.5,1],[u.y,u.y/g*y,u.y+y-g]).interpolate(h);return Ct()&&s&&(b+=(window.devicePixelRatio-1)*y),b})()}}let pe=class{get window(){return this.globalContext?this.globalContext:typeof window<"u"?window:void 0}get document(){var r;return!((r=this.globalContext)===null||r===void 0)&&r.document?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var r;return((r=this.optionsArgs)===null||r===void 0?void 0:r.rootElement)||this.window}constructor(r,t){this.ownerDocument=null,this.globalContext=r,this.optionsArgs=t}};function ve(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function Pt(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{},i=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.forEach(function(n){ve(r,n,e[n])})}return r}class me{profile(){var t,e;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((t=this.dragStartSourceIds)===null||t===void 0?void 0:t.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((e=this.dragOverTargetIds)===null||e===void 0?void 0:e.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const t=this.rootElement;if(t!==void 0){if(t.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");t.__isReactDndBackendSetUp=!0,this.addEventListeners(t)}}teardown(){const t=this.rootElement;var e;t!==void 0&&(t.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&((e=this.window)===null||e===void 0||e.cancelAnimationFrame(this.asyncEndDragFrameId)))}connectDragPreview(t,e,i){return this.sourcePreviewNodeOptions.set(t,i),this.sourcePreviewNodes.set(t,e),()=>{this.sourcePreviewNodes.delete(t),this.sourcePreviewNodeOptions.delete(t)}}connectDragSource(t,e,i){this.sourceNodes.set(t,e),this.sourceNodeOptions.set(t,i);const n=o=>this.handleDragStart(o,t),s=o=>this.handleSelectStart(o);return e.setAttribute("draggable","true"),e.addEventListener("dragstart",n),e.addEventListener("selectstart",s),()=>{this.sourceNodes.delete(t),this.sourceNodeOptions.delete(t),e.removeEventListener("dragstart",n),e.removeEventListener("selectstart",s),e.setAttribute("draggable","false")}}connectDropTarget(t,e){const i=o=>this.handleDragEnter(o,t),n=o=>this.handleDragOver(o,t),s=o=>this.handleDrop(o,t);return e.addEventListener("dragenter",i),e.addEventListener("dragover",n),e.addEventListener("drop",s),()=>{e.removeEventListener("dragenter",i),e.removeEventListener("dragover",n),e.removeEventListener("drop",s)}}addEventListeners(t){t.addEventListener&&(t.addEventListener("dragstart",this.handleTopDragStart),t.addEventListener("dragstart",this.handleTopDragStartCapture,!0),t.addEventListener("dragend",this.handleTopDragEndCapture,!0),t.addEventListener("dragenter",this.handleTopDragEnter),t.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.addEventListener("dragover",this.handleTopDragOver),t.addEventListener("dragover",this.handleTopDragOverCapture,!0),t.addEventListener("drop",this.handleTopDrop),t.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(t){t.removeEventListener&&(t.removeEventListener("dragstart",this.handleTopDragStart),t.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),t.removeEventListener("dragend",this.handleTopDragEndCapture,!0),t.removeEventListener("dragenter",this.handleTopDragEnter),t.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.removeEventListener("dragover",this.handleTopDragOver),t.removeEventListener("dragover",this.handleTopDragOverCapture,!0),t.removeEventListener("drop",this.handleTopDrop),t.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const t=this.monitor.getSourceId(),e=this.sourceNodeOptions.get(t);return Pt({dropEffect:this.altKeyPressed?"copy":"move"},e||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const t=this.monitor.getSourceId();return Pt({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(t)||{})}isDraggingNativeItem(){const t=this.monitor.getItemType();return Object.keys(It).some(e=>It[e]===t)}beginDragNativeItem(t,e){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(i,n){const s=ut[i];if(!s)throw new Error(`native type ${i} has no configuration`);const o=new le(s);return o.loadDataTransfer(n),o}(t,e),this.currentNativeHandle=this.registry.addSource(t,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(t){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=t,this.mouseMoveTimeoutTimer=setTimeout(()=>{var e;return(e=this.rootElement)===null||e===void 0?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){var t;return this.currentDragSourceNode=null,this.rootElement&&((t=this.window)===null||t===void 0||t.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(t,e){t.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(e))}handleDragEnter(t,e){this.dragEnterTargetIds.unshift(e)}handleDragOver(t,e){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(e)}handleDrop(t,e){this.dropTargetIds.unshift(e)}constructor(t,e,i){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=n=>{const s=this.sourceNodes.get(n);return s&&Kt(s)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=n=>!!(n&&this.document&&this.document.body&&this.document.body.contains(n)),this.endDragIfSourceWasRemovedFromDOM=()=>{const n=this.currentDragSourceNode;n==null||this.isNodeInDocument(n)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=n=>{this.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(n||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame<"u"&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=n=>{if(n.defaultPrevented)return;const{dragStartSourceIds:s}=this;this.dragStartSourceIds=null;const o=X(n);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(s||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:o});const{dataTransfer:a}=n,c=nt(a);if(this.monitor.isDragging()){if(a&&typeof a.setDragImage=="function"){const d=this.monitor.getSourceId(),g=this.sourceNodes.get(d),f=this.sourcePreviewNodes.get(d)||g;if(f){const{anchorX:h,anchorY:m,offsetX:y,offsetY:S}=this.getCurrentSourcePreviewNodeOptions(),O=fe(g,f,o,{anchorX:h,anchorY:m},{offsetX:y,offsetY:S});a.setDragImage(f,O.x,O.y)}}try{a?.setData("application/json",{})}catch{}this.setCurrentDragSourceNode(n.target);const{captureDraggingState:u}=this.getCurrentSourcePreviewNodeOptions();u?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(c)this.beginDragNativeItem(c);else{if(a&&!a.types&&(n.target&&!n.target.hasAttribute||!n.target.hasAttribute("draggable")))return;n.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=n=>{var s;if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()&&((s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(n.dataTransfer)),!this.enterLeaveCounter.enter(n.target)||this.monitor.isDragging())return;const{dataTransfer:o}=n,a=nt(o);a&&this.beginDragNativeItem(a,o)},this.handleTopDragEnter=n=>{const{dragEnterTargetIds:s}=this;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=n.altKey,s.length>0&&this.actions.hover(s,{clientOffset:X(n)}),s.some(o=>this.monitor.canDropOnTarget(o))&&(n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=n=>{var s;this.dragOverTargetIds=[],this.isDraggingNativeItem()&&((s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(n.dataTransfer))},this.handleTopDragOver=n=>{const{dragOverTargetIds:s}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return n.preventDefault(),void(n.dataTransfer&&(n.dataTransfer.dropEffect="none"));this.altKeyPressed=n.altKey,this.lastClientOffset=X(n),this.scheduleHover(s),(s||[]).some(o=>this.monitor.canDropOnTarget(o))?(n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?n.preventDefault():(n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=n=>{this.isDraggingNativeItem()&&n.preventDefault(),this.enterLeaveCounter.leave(n.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=n=>{var s;this.dropTargetIds=[],this.isDraggingNativeItem()?(n.preventDefault(),(s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(n.dataTransfer)):nt(n.dataTransfer)&&n.preventDefault(),this.enterLeaveCounter.reset()},this.handleTopDrop=n=>{const{dropTargetIds:s}=this;this.dropTargetIds=[],this.actions.hover(s,{clientOffset:X(n)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=n=>{const s=n.target;typeof s.dragDrop=="function"&&(s.tagName==="INPUT"||s.tagName==="SELECT"||s.tagName==="TEXTAREA"||s.isContentEditable||(n.preventDefault(),s.dragDrop()))},this.options=new pe(e,i),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new he(this.isNodeInDocument)}}const Sr=function(r,t,e){return new me(r,t,e)};var M,zt=(r,t,e)=>{if(!t.has(r))throw TypeError("Cannot "+e)},l=(r,t,e)=>(zt(r,t,"read from private field"),e?e.call(r):t.get(r)),E=(r,t,e)=>{if(t.has(r))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(r):t.set(r,e)},x=(r,t,e,i)=>(zt(r,t,"write to private field"),t.set(r,e),e),ye=class{constructor(){E(this,M,void 0),this.register=r=>{l(this,M).push(r)},this.unregister=r=>{let t;for(;(t=l(this,M).indexOf(r))!==-1;)l(this,M).splice(t,1)},this.backendChanged=r=>{for(let t of l(this,M))t.backendChanged(r)},x(this,M,[])}};M=new WeakMap;var T,B,w,C,N,dt,ht,lt,G,K,W,z=class{constructor(r,t,e){if(E(this,T,void 0),E(this,B,void 0),E(this,w,void 0),E(this,C,void 0),E(this,N,void 0),E(this,dt,(i,n,s)=>{if(!s.backend)throw new Error(`You must specify a 'backend' property in your Backend entry: ${JSON.stringify(s)}`);let o=s.backend(i,n,s.options),a=s.id,c=!s.id&&o&&o.constructor;if(c&&(a=o.constructor.name),!a)throw new Error(`You must specify an 'id' property in your Backend entry: ${JSON.stringify(s)}
3
3
  see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-5xx`);if(c&&console.warn(`Deprecation notice: You are using a pipeline which doesn't include backends' 'id'.
4
4
  This might be unsupported in the future, please specify 'id' explicitely for every backend.`),l(this,w)[a])throw new Error(`You must specify a unique 'id' property in your Backend entry:
5
5
  ${JSON.stringify(s)} (conflicts with: ${JSON.stringify(l(this,w)[a])})`);return{id:a,instance:o,preview:s.preview??!1,transition:s.transition,skipDispatchOnTransition:s.skipDispatchOnTransition??!1}}),this.setup=()=>{if(!(typeof window>"u")){if(z.isSetUp)throw new Error("Cannot have two MultiBackends at the same time.");z.isSetUp=!0,l(this,ht).call(this,window),l(this,w)[l(this,T)].instance.setup()}},this.teardown=()=>{typeof window>"u"||(z.isSetUp=!1,l(this,lt).call(this,window),l(this,w)[l(this,T)].instance.teardown())},this.connectDragSource=(i,n,s)=>l(this,W).call(this,"connectDragSource",i,n,s),this.connectDragPreview=(i,n,s)=>l(this,W).call(this,"connectDragPreview",i,n,s),this.connectDropTarget=(i,n,s)=>l(this,W).call(this,"connectDropTarget",i,n,s),this.profile=()=>l(this,w)[l(this,T)].instance.profile(),this.previewEnabled=()=>l(this,w)[l(this,T)].preview,this.previewsList=()=>l(this,B),this.backendsList=()=>l(this,C),E(this,ht,i=>{l(this,C).forEach(n=>{n.transition&&i.addEventListener(n.transition.event,l(this,G))})}),E(this,lt,i=>{l(this,C).forEach(n=>{n.transition&&i.removeEventListener(n.transition.event,l(this,G))})}),E(this,G,i=>{let n=l(this,T);if(l(this,C).some(s=>!(s.id===l(this,T)||!s.transition||!s.transition.check(i))&&(x(this,T,s.id),!0)),l(this,T)!==n){l(this,w)[n].instance.teardown(),Object.keys(l(this,N)).forEach(a=>{let c=l(this,N)[a];c.unsubscribe(),c.unsubscribe=l(this,K).call(this,c.func,...c.args)}),l(this,B).backendChanged(this);let s=l(this,w)[l(this,T)];if(s.instance.setup(),s.skipDispatchOnTransition)return;let o=new i.constructor(i.type,i);i.target?.dispatchEvent(o)}}),E(this,K,(i,n,s,o)=>l(this,w)[l(this,T)].instance[i](n,s,o)),E(this,W,(i,n,s,o)=>{let a=`${i}_${n}`,c=l(this,K).call(this,i,n,s,o);return l(this,N)[a]={func:i,args:[n,s,o],unsubscribe:c},()=>{l(this,N)[a].unsubscribe(),delete l(this,N)[a]}}),!e||!e.backends||e.backends.length<1)throw new Error(`You must specify at least one Backend, if you are coming from 2.x.x (or don't understand this error)
6
- see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-2xx`);x(this,B,new ye),x(this,w,{}),x(this,C,[]),e.backends.forEach(i=>{let n=l(this,dt).call(this,r,t,i);l(this,w)[n.id]=n,l(this,C).push(n)}),x(this,T,l(this,C)[0].id),x(this,N,{})}},Vt=z;T=new WeakMap,B=new WeakMap,w=new WeakMap,C=new WeakMap,N=new WeakMap,dt=new WeakMap,ht=new WeakMap,lt=new WeakMap,G=new WeakMap,K=new WeakMap,W=new WeakMap,Vt.isSetUp=!1;var De=(r,t,e)=>new Vt(r,t,e),Jt=(r,t)=>({event:r,check:t}),Or=Jt("touchstart",r=>{let t=r;return t.touches!==null&&t.touches!==void 0}),Tr=Jt("mousedown",r=>r.type.indexOf("touch")===-1&&r.type.indexOf("mouse")!==-1);const mt=v.createContext({dragDropManager:void 0});function p(r,t,...e){if(ae!==void 0&&t===void 0)throw new Error("invariant requires an error message argument");if(!r){let i;if(t===void 0)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;i=new Error(t.replace(/%s/g,function(){return e[n++]})),i.name="Invariant Violation"}throw i.framesToPop=1,i}}function Zt(r){return typeof r=="object"}const yt="dnd-core/INIT_COORDS",Dt="dnd-core/BEGIN_DRAG",Qt="dnd-core/PUBLISH_DRAG_SOURCE",Z="dnd-core/HOVER",St="dnd-core/DROP",bt="dnd-core/END_DRAG";function Mt(r,t){return{type:yt,payload:{sourceClientOffset:t||null,clientOffset:r||null}}}const Se={type:yt,payload:{clientOffset:null,sourceClientOffset:null}};function be(r){return function(t=[],e={publishSource:!0}){const{publishSource:i=!0,clientOffset:n,getSourceClientOffset:s}=e,o=r.getMonitor(),a=r.getRegistry();r.dispatch(Mt(n)),function(f,h,m){p(!h.isDragging(),"Cannot call beginDrag while dragging."),f.forEach(function(y){p(m.getSource(y),"Expected sourceIds to be registered.")})}(t,o,a);const c=function(f,h){let m=null;for(let y=f.length-1;y>=0;y--)if(h.canDragSource(f[y])){m=f[y];break}return m}(t,o);if(c==null)return void r.dispatch(Se);let u=null;if(n){if(!s)throw new Error("getSourceClientOffset must be defined");(function(f){p(typeof f=="function","When clientOffset is provided, getSourceClientOffset must be a function.")})(s),u=s(c)}r.dispatch(Mt(n,u));const d=a.getSource(c).beginDrag(o,c);if(d==null)return;(function(f){p(Zt(f),"Item must be an object.")})(d),a.pinSource(c);const g=a.getSourceType(c);return{type:Dt,payload:{itemType:g,item:d,sourceId:c,clientOffset:n||null,sourceClientOffset:u||null,isSourcePublic:!!i}}}}function Oe(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function Te(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{},i=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.forEach(function(n){Oe(r,n,e[n])})}return r}function we(r){return function(t={}){const e=r.getMonitor(),i=r.getRegistry();(function(s){p(s.isDragging(),"Cannot call drop while not dragging."),p(!s.didDrop(),"Cannot call drop twice during one drag operation.")})(e),function(s){const o=s.getTargetIds().filter(s.canDropOnTarget,s);return o.reverse(),o}(e).forEach((s,o)=>{const a=function(u,d,g,f){const h=g.getTarget(u);let m=h?h.drop(f,u):void 0;return function(y){p(y===void 0||Zt(y),"Drop result must either be an object or undefined.")}(m),m===void 0&&(m=d===0?{}:f.getDropResult()),m}(s,o,i,e),c={type:St,payload:{dropResult:Te({},t,a)}};r.dispatch(c)})}}function Ee(r){return function(){const t=r.getMonitor(),e=r.getRegistry();(function(n){p(n.isDragging(),"Cannot call endDrag while not dragging.")})(t);const i=t.getSourceId();return i!=null&&(e.getSource(i,!0).endDrag(t,i),e.unpinSource()),{type:bt}}}function gt(r,t){return t===null?r===null:Array.isArray(r)?r.some(e=>e===t):r===t}function Ie(r){return function(t,{clientOffset:e}={}){(function(o){p(Array.isArray(o),"Expected targetIds to be an array.")})(t);const i=t.slice(0),n=r.getMonitor(),s=r.getRegistry();return function(o,a,c){for(let u=o.length-1;u>=0;u--){const d=o[u];gt(a.getTargetType(d),c)||o.splice(u,1)}}(i,s,n.getItemType()),function(o,a,c){p(a.isDragging(),"Cannot call hover while not dragging."),p(!a.didDrop(),"Cannot call hover after drop.");for(let u=0;u<o.length;u++){const d=o[u];p(o.lastIndexOf(d)===u,"Expected targetIds to be unique in the passed array."),p(c.getTarget(d),"Expected targetIds to be registered.")}}(i,n,s),function(o,a,c){o.forEach(function(u){c.getTarget(u).hover(a,u)})}(i,n,s),{type:Z,payload:{targetIds:i,clientOffset:e||null}}}}function Ce(r){return function(){if(r.getMonitor().isDragging())return{type:Qt}}}class Ne{receiveBackend(t){this.backend=t}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const t=this,{dispatch:e}=this.store,i=function(n){return{beginDrag:be(n),publishDragSource:Ce(n),hover:Ie(n),drop:we(n),endDrag:Ee(n)}}(this);return Object.keys(i).reduce((n,s)=>{const o=i[s];var a;return n[s]=(a=o,(...c)=>{const u=a.apply(t,c);u!==void 0&&e(u)}),n},{})}dispatch(t){this.store.dispatch(t)}constructor(t,e){this.isSetUp=!1,this.handleRefCountChange=()=>{const i=this.store.getState().refCount>0;this.backend&&(i&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!i&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=t,this.monitor=e,t.subscribe(this.handleRefCountChange)}}function xt(r,t){return{x:r.x-t.x,y:r.y-t.y}}const Y=[],Ot=[];Y.__IS_NONE__=!0,Ot.__IS_ALL__=!0;class Pe{subscribeToStateChange(t,e={}){const{handlerIds:i}=e;p(typeof t=="function","listener must be a function."),p(i===void 0||Array.isArray(i),"handlerIds, when specified, must be an array of strings.");let n=this.store.getState().stateId;return this.store.subscribe(()=>{const s=this.store.getState(),o=s.stateId;try{o===n||o===n+1&&!function(c,u){if(c===Y)return!1;if(c===Ot||u===void 0)return!0;const d=(g=c,u.filter(f=>g.indexOf(f)>-1));var g;return d.length>0}(s.dirtyHandlerIds,i)||t()}finally{n=o}})}subscribeToOffsetChange(t){p(typeof t=="function","listener must be a function.");let e=this.store.getState().dragOffset;return this.store.subscribe(()=>{const i=this.store.getState().dragOffset;i!==e&&(e=i,t())})}canDragSource(t){if(!t)return!1;const e=this.registry.getSource(t);return p(e,`Expected to find a valid source. sourceId=${t}`),!this.isDragging()&&e.canDrag(this,t)}canDropOnTarget(t){if(!t)return!1;const e=this.registry.getTarget(t);return p(e,`Expected to find a valid target. targetId=${t}`),!this.isDragging()||this.didDrop()?!1:gt(this.registry.getTargetType(t),this.getItemType())&&e.canDrop(this,t)}isDragging(){return!!this.getItemType()}isDraggingSource(t){if(!t)return!1;const e=this.registry.getSource(t,!0);return p(e,`Expected to find a valid source. sourceId=${t}`),!this.isDragging()||!this.isSourcePublic()?!1:this.registry.getSourceType(t)===this.getItemType()&&e.isDragging(this,t)}isOverTarget(t,e={shallow:!1}){if(!t)return!1;const{shallow:i}=e;if(!this.isDragging())return!1;const n=this.registry.getTargetType(t),s=this.getItemType();if(s&&!gt(n,s))return!1;const o=this.getTargetIds();if(!o.length)return!1;const a=o.indexOf(t);return i?a===o.length-1:a>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(t){const{clientOffset:e,initialClientOffset:i,initialSourceClientOffset:n}=t;return e&&i&&n?xt(function(s,o){return{x:s.x+o.x,y:s.y+o.y}}(e,n),i):null}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(t){const{clientOffset:e,initialClientOffset:i}=t;return e&&i?xt(e,i):null}(this.store.getState().dragOffset)}constructor(t,e){this.store=t,this.registry=e}}const kt=V!==void 0?V:self,Rt=kt.MutationObserver||kt.WebKitMutationObserver;function te(r){return function(){const t=setTimeout(i,0),e=setInterval(i,50);function i(){clearTimeout(t),clearInterval(e),r()}}}const Me=typeof Rt=="function"?function(r){let t=1;const e=new Rt(r),i=document.createTextNode("");return e.observe(i,{characterData:!0}),function(){t=-t,i.data=t}}:te;class xe{call(){try{this.task&&this.task()}catch(t){this.onError(t)}finally{this.task=null,this.release(this)}}constructor(t,e){this.onError=t,this.release=e,this.task=null}}const ee=new class{enqueueTask(r){const{queue:t,requestFlush:e}=this;t.length||(e(),this.flushing=!0),t[t.length]=r}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:r}=this;for(;this.index<r.length;){const t=this.index;if(this.index++,r[t].call(),this.index>this.capacity){for(let e=0,i=r.length-this.index;e<i;e++)r[e]=r[e+this.index];r.length-=this.index,this.index=0}}r.length=0,this.index=0,this.flushing=!1},this.registerPendingError=r=>{this.pendingErrors.push(r),this.requestErrorThrow()},this.requestFlush=Me(this.flush),this.requestErrorThrow=te(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}},ke=new class{create(r){const t=this.freeTasks,e=t.length?t.pop():new xe(this.onError,i=>t[t.length]=i);return e.task=r,e}constructor(r){this.onError=r,this.freeTasks=[]}}(ee.registerPendingError),Tt="dnd-core/ADD_SOURCE",wt="dnd-core/ADD_TARGET",Et="dnd-core/REMOVE_SOURCE",Q="dnd-core/REMOVE_TARGET";function ft(r,t){t&&Array.isArray(r)?r.forEach(e=>ft(e,!1)):p(typeof r=="string"||typeof r=="symbol",t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var I;(function(r){r.SOURCE="SOURCE",r.TARGET="TARGET"})(I||(I={}));let Re=0;function Le(r){const t=(Re++).toString();switch(r){case I.SOURCE:return`S${t}`;case I.TARGET:return`T${t}`;default:throw new Error(`Unknown Handler Role: ${r}`)}}function Lt(r){switch(r[0]){case"S":return I.SOURCE;case"T":return I.TARGET;default:throw new Error(`Cannot parse handler ID: ${r}`)}}function _t(r,t){const e=r.entries();let i=!1;do{const{done:n,value:[,s]}=e.next();if(s===t)return!0;i=!!n}while(!i);return!1}class _e{addSource(t,e){ft(t),function(n){p(typeof n.canDrag=="function","Expected canDrag to be a function."),p(typeof n.beginDrag=="function","Expected beginDrag to be a function."),p(typeof n.endDrag=="function","Expected endDrag to be a function.")}(e);const i=this.addHandler(I.SOURCE,t,e);return this.store.dispatch(function(n){return{type:Tt,payload:{sourceId:n}}}(i)),i}addTarget(t,e){ft(t,!0),function(n){p(typeof n.canDrop=="function","Expected canDrop to be a function."),p(typeof n.hover=="function","Expected hover to be a function."),p(typeof n.drop=="function","Expected beginDrag to be a function.")}(e);const i=this.addHandler(I.TARGET,t,e);return this.store.dispatch(function(n){return{type:wt,payload:{targetId:n}}}(i)),i}containsHandler(t){return _t(this.dragSources,t)||_t(this.dropTargets,t)}getSource(t,e=!1){return p(this.isSourceId(t),"Expected a valid source ID."),e&&t===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(t)}getTarget(t){return p(this.isTargetId(t),"Expected a valid target ID."),this.dropTargets.get(t)}getSourceType(t){return p(this.isSourceId(t),"Expected a valid source ID."),this.types.get(t)}getTargetType(t){return p(this.isTargetId(t),"Expected a valid target ID."),this.types.get(t)}isSourceId(t){return Lt(t)===I.SOURCE}isTargetId(t){return Lt(t)===I.TARGET}removeSource(t){var e;p(this.getSource(t),"Expected an existing source."),this.store.dispatch(function(i){return{type:Et,payload:{sourceId:i}}}(t)),e=()=>{this.dragSources.delete(t),this.types.delete(t)},ee.enqueueTask(ke.create(e))}removeTarget(t){p(this.getTarget(t),"Expected an existing target."),this.store.dispatch(function(e){return{type:Q,payload:{targetId:e}}}(t)),this.dropTargets.delete(t),this.types.delete(t)}pinSource(t){const e=this.getSource(t);p(e,"Expected an existing source."),this.pinnedSourceId=t,this.pinnedSource=e}unpinSource(){p(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(t,e,i){const n=Le(t);return this.types.set(n,e),t===I.SOURCE?this.dragSources.set(n,i):t===I.TARGET&&this.dropTargets.set(n,i),n}constructor(t){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=t}}const je=(r,t)=>r===t;function Ae(r=Y,t){switch(t.type){case Z:break;case Tt:case wt:case Q:case Et:return Y;default:return Ot}const{targetIds:e=[],prevTargetIds:i=[]}=t.payload,n=function(c,u){const d=new Map,g=h=>{d.set(h,d.has(h)?d.get(h)+1:1)};c.forEach(g),u.forEach(g);const f=[];return d.forEach((h,m)=>{h===1&&f.push(m)}),f}(e,i);if(!(n.length>0||!function(c,u,d=je){if(c.length!==u.length)return!1;for(let g=0;g<c.length;++g)if(!d(c[g],u[g]))return!1;return!0}(e,i)))return Y;const o=i[i.length-1],a=e[e.length-1];return o!==a&&(o&&n.push(o),a&&n.push(a)),n}function He(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}const jt={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function Ue(r=jt,t){const{payload:e}=t;switch(t.type){case yt:case Dt:return{initialSourceClientOffset:e.sourceClientOffset,initialClientOffset:e.clientOffset,clientOffset:e.clientOffset};case Z:return i=r.clientOffset,n=e.clientOffset,!i&&!n||i&&n&&i.x===n.x&&i.y===n.y?r:function(s){for(var o=1;o<arguments.length;o++){var a=arguments[o]!=null?arguments[o]:{},c=Object.keys(a);typeof Object.getOwnPropertySymbols=="function"&&(c=c.concat(Object.getOwnPropertySymbols(a).filter(function(u){return Object.getOwnPropertyDescriptor(a,u).enumerable}))),c.forEach(function(u){He(s,u,a[u])})}return s}({},r,{clientOffset:e.clientOffset});case bt:case St:return jt;default:return r}var i,n}function Fe(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function j(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{},i=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.forEach(function(n){Fe(r,n,e[n])})}return r}const Be={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function We(r=Be,t){const{payload:e}=t;switch(t.type){case Dt:return j({},r,{itemType:e.itemType,item:e.item,sourceId:e.sourceId,isSourcePublic:e.isSourcePublic,dropResult:null,didDrop:!1});case Qt:return j({},r,{isSourcePublic:!0});case Z:return j({},r,{targetIds:e.targetIds});case Q:return r.targetIds.indexOf(e.targetId)===-1?r:j({},r,{targetIds:(i=r.targetIds,n=e.targetId,i.filter(s=>s!==n))});case St:return j({},r,{dropResult:e.dropResult,didDrop:!0,targetIds:[]});case bt:return j({},r,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return r}var i,n}function Ye(r=0,t){switch(t.type){case Tt:case wt:return r+1;case Et:case Q:return r-1;default:return r}}function $e(r=0){return r+1}function Xe(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function qe(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{},i=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.forEach(function(n){Xe(r,n,e[n])})}return r}function Ge(r={},t){return{dirtyHandlerIds:Ae(r.dirtyHandlerIds,{type:t.type,payload:qe({},t.payload,{prevTargetIds:(e=r,i="dragOperation.targetIds",n=[],i.split(".").reduce((s,o)=>s&&s[o]?s[o]:n||null,e))})}),dragOffset:Ue(r.dragOffset,t),refCount:Ye(r.refCount,t),dragOperation:We(r.dragOperation,t),stateId:$e(r.stateId)};var e,i,n}function Ke(r,t=void 0,e={},i=!1){const n=function(c){const u=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__;return ue(Ge,c&&u&&u({name:"dnd-core",instanceId:"dnd-core"}))}(i),s=new Pe(n,new _e(n)),o=new Ne(n,s),a=r(o,t,e);return o.receiveBackend(a),o}function ze(r,t){if(r==null)return{};var e,i,n=function(o,a){if(o==null)return{};var c,u,d={},g=Object.keys(o);for(u=0;u<g.length;u++)c=g[u],a.indexOf(c)>=0||(d[c]=o[c]);return d}(r,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);for(i=0;i<s.length;i++)e=s[i],t.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(r,e)&&(n[e]=r[e])}return n}let At=0;const q=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var Ht,Ut,Ve=v.memo(function(r){var{children:t}=r,e=ze(r,["children"]);const[i,n]=function(s){if("manager"in s)return[{dragDropManager:s.manager},!1];const o=function(c,u=Ft(),d,g){const f=u;return f[q]||(f[q]={dragDropManager:Ke(c,u,d,g)}),f[q]}(s.backend,s.context,s.options,s.debugMode),a=!s.context;return[o,a]}(e);return v.useEffect(()=>{if(n){const s=Ft();return++At,()=>{--At==0&&(s[q]=null)}}},[]),de.jsx(mt.Provider,{value:i,children:t})});function Ft(){return V!==void 0?V:window}var Je=(Ut||(Ut=1,Ht=function r(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var i,n,s;if(Array.isArray(t)){if((i=t.length)!=e.length)return!1;for(n=i;n--!=0;)if(!r(t[n],e[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();if((i=(s=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(n=i;n--!=0;)if(!Object.prototype.hasOwnProperty.call(e,s[n]))return!1;for(n=i;n--!=0;){var o=s[n];if(!r(t[o],e[o]))return!1}return!0}return t!=t&&e!=e}),Ht);const Ze=ce(Je),k=typeof window<"u"?v.useLayoutEffect:v.useEffect;function re(r,t,e){const[i,n]=v.useState(()=>t(r)),s=v.useCallback(()=>{const o=t(r);Ze(i,o)||(n(o),e&&e())},[i,r,e]);return k(s),[i,s]}function ne(r,t,e){return function(i,n,s){const[o,a]=re(i,n,s);return k(function(){const c=i.getHandlerId();if(c!=null)return i.subscribeToStateChange(a,{handlerIds:[c]})},[i,a]),o}(t,r||(()=>({})),()=>e.reconnect())}function ie(r,t){const e=[];return typeof r!="function"&&e.push(r),v.useMemo(()=>typeof r=="function"?r():r,e)}function Qe(r){return v.useMemo(()=>r.hooks.dragSource(),[r])}function tr(r){return v.useMemo(()=>r.hooks.dragPreview(),[r])}let it=!1,st=!1;class er{receiveHandlerId(t){this.sourceId=t}getHandlerId(){return this.sourceId}canDrag(){p(!it,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return it=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{it=!1}}isDragging(){if(!this.sourceId)return!1;p(!st,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return st=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{st=!1}}subscribeToStateChange(t,e){return this.internalMonitor.subscribeToStateChange(t,e)}isDraggingSource(t){return this.internalMonitor.isDraggingSource(t)}isOverTarget(t,e){return this.internalMonitor.isOverTarget(t,e)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(t){return this.internalMonitor.subscribeToOffsetChange(t)}canDragSource(t){return this.internalMonitor.canDragSource(t)}canDropOnTarget(t){return this.internalMonitor.canDropOnTarget(t)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(t){this.sourceId=null,this.internalMonitor=t.getMonitor()}}let ot=!1;class rr{receiveHandlerId(t){this.targetId=t}getHandlerId(){return this.targetId}subscribeToStateChange(t,e){return this.internalMonitor.subscribeToStateChange(t,e)}canDrop(){if(!this.targetId)return!1;p(!ot,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return ot=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{ot=!1}}isOver(t){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,t)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(t){this.targetId=null,this.internalMonitor=t.getMonitor()}}function pt(r,t,e,i){let n;if(n!==void 0)return!!n;if(r===t)return!0;if(typeof r!="object"||!r||typeof t!="object"||!t)return!1;const s=Object.keys(r),o=Object.keys(t);if(s.length!==o.length)return!1;const a=Object.prototype.hasOwnProperty.bind(t);for(let c=0;c<s.length;c++){const u=s[c];if(!a(u))return!1;const d=r[u],g=t[u];if(n=void 0,n===!1||n===void 0&&d!==g)return!1}return!0}function vt(r){return r!==null&&typeof r=="object"&&Object.prototype.hasOwnProperty.call(r,"current")}function nr(r){return(t=null,e=null)=>{if(!v.isValidElement(t)){const n=t;return r(n,e),n}const i=t;return function(n){if(typeof n.type=="string")return;const s=n.type.displayName||n.type.name||"the component";throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${s} into a <div>, or turn it into a drag source or a drop target itself.`)}(i),function(n,s){const o=n.ref;return p(typeof o!="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),o?v.cloneElement(n,{ref:a=>{Bt(o,a),Bt(s,a)}}):v.cloneElement(n,{ref:s})}(i,e?n=>r(n,e):r)}}function se(r){const t={};return Object.keys(r).forEach(e=>{const i=r[e];if(e.endsWith("Ref"))t[e]=r[e];else{const n=nr(i);t[e]=()=>n}}),t}function Bt(r,t){typeof r=="function"?r(t):r.current=t}class ir{receiveHandlerId(t){this.handlerId!==t&&(this.handlerId=t,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(t){this.dragSourceOptionsInternal=t}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(t){this.dragPreviewOptionsInternal=t}reconnect(){const t=this.reconnectDragSource();this.reconnectDragPreview(t)}reconnectDragSource(){const t=this.dragSource,e=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return e&&this.disconnectDragSource(),this.handlerId?t?(e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=t,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,t,this.dragSourceOptions)),e):(this.lastConnectedDragSource=t,e):e}reconnectDragPreview(t=!1){const e=this.dragPreview,i=t||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();i&&this.disconnectDragPreview(),this.handlerId&&(e?i&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=e,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,e,this.dragPreviewOptions)):this.lastConnectedDragPreview=e)}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!pt(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!pt(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(t){this.hooks=se({dragSource:(e,i)=>{this.clearDragSource(),this.dragSourceOptions=i||null,vt(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,i)=>{this.clearDragPreview(),this.dragPreviewOptions=i||null,vt(e)?this.dragPreviewRef=e:this.dragPreviewNode=e,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=t}}class sr{get connectTarget(){return this.dropTarget}reconnect(){const t=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();t&&this.disconnectDropTarget();const e=this.dropTarget;this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=e,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,e,this.dropTargetOptions)):this.lastConnectedDropTarget=e)}receiveHandlerId(t){t!==this.handlerId&&(this.handlerId=t,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(t){this.dropTargetOptionsInternal=t}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!pt(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(t){this.hooks=se({dropTarget:(e,i)=>{this.clearDropTarget(),this.dropTargetOptions=i,vt(e)?this.dropTargetRef=e:this.dropTargetNode=e,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=t}}function R(){const{dragDropManager:r}=v.useContext(mt);return p(r!=null,"Expected drag drop context"),r}class or{beginDrag(){const t=this.spec,e=this.monitor;let i=null;return i=typeof t.item=="object"?t.item:typeof t.item=="function"?t.item(e):{},i??null}canDrag(){const t=this.spec,e=this.monitor;return typeof t.canDrag=="boolean"?t.canDrag:typeof t.canDrag!="function"||t.canDrag(e)}isDragging(t,e){const i=this.spec,n=this.monitor,{isDragging:s}=i;return s?s(n):e===t.getSourceId()}endDrag(){const t=this.spec,e=this.monitor,i=this.connector,{end:n}=t;n&&n(e.getItem(),e),i.reconnect()}constructor(t,e,i){this.spec=t,this.monitor=e,this.connector=i}}function ar(r,t,e){const i=R(),n=function(o,a,c){const u=v.useMemo(()=>new or(o,a,c),[a,c]);return v.useEffect(()=>{u.spec=o},[o]),u}(r,t,e),s=function(o){return v.useMemo(()=>{const a=o.type;return p(a!=null,"spec.type must be defined"),a},[o])}(r);k(function(){if(s!=null){const[o,a]=function(c,u,d){const g=d.getRegistry(),f=g.addSource(c,u);return[f,()=>g.removeSource(f)]}(s,n,i);return t.receiveHandlerId(o),e.receiveHandlerId(o),a}},[i,t,e,n,s])}function wr(r,t){const e=ie(r);p(!e.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const i=function(){const s=R();return v.useMemo(()=>new er(s),[s])}(),n=function(s,o){const a=R(),c=v.useMemo(()=>new ir(a.getBackend()),[a]);return k(()=>(c.dragSourceOptions=s||null,c.reconnect(),()=>c.disconnectDragSource()),[c,s]),k(()=>(c.dragPreviewOptions=o||null,c.reconnect(),()=>c.disconnectDragPreview()),[c,o]),c}(e.options,e.previewOptions);return ar(e,i,n),[ne(e.collect,i,n),Qe(n),tr(n)]}function cr(r){return v.useMemo(()=>r.hooks.dropTarget(),[r])}class ur{canDrop(){const t=this.spec,e=this.monitor;return!t.canDrop||t.canDrop(e.getItem(),e)}hover(){const t=this.spec,e=this.monitor;t.hover&&t.hover(e.getItem(),e)}drop(){const t=this.spec,e=this.monitor;if(t.drop)return t.drop(e.getItem(),e)}constructor(t,e){this.spec=t,this.monitor=e}}function dr(r,t,e){const i=R(),n=function(o,a){const c=v.useMemo(()=>new ur(o,a),[a]);return v.useEffect(()=>{c.spec=o},[o]),c}(r,t),s=function(o){const{accept:a}=o;return v.useMemo(()=>(p(o.accept!=null,"accept must be defined"),Array.isArray(a)?a:[a]),[a])}(r);k(function(){const[o,a]=function(c,u,d){const g=d.getRegistry(),f=g.addTarget(c,u);return[f,()=>g.removeTarget(f)]}(s,n,i);return t.receiveHandlerId(o),e.receiveHandlerId(o),a},[i,t,n,e,s.map(o=>o.toString()).join("|")])}function Er(r,t){const e=ie(r),i=function(){const s=R();return v.useMemo(()=>new rr(s),[s])}(),n=function(s){const o=R(),a=v.useMemo(()=>new sr(o.getBackend()),[o]);return k(()=>(a.dropTargetOptions=s||null,a.reconnect(),()=>a.disconnectDropTarget()),[s]),a}(e.options);return dr(e,i,n),[ne(e.collect,i,n),cr(n)]}var at=(r,t)=>({x:r.x-t.x,y:r.y-t.y}),hr=(r,t)=>{let e=r.getClientOffset();if(e===null)return null;if(!t.current||!t.current.getBoundingClientRect)return at(e,(s=>{let o=s.getInitialClientOffset(),a=s.getInitialSourceClientOffset();return o===null||a===null?{x:0,y:0}:at(o,a)})(r));let i=t.current.getBoundingClientRect(),n={x:i.width/2,y:i.height/2};return at(e,n)},lr=r=>{let t=`translate(${r.x.toFixed(1)}px, ${r.y.toFixed(1)}px)`;return{pointerEvents:"none",position:"fixed",top:0,left:0,transform:t,WebkitTransform:t}},gr=()=>{let r=v.useRef(null),t=function(e){const i=R().getMonitor(),[n,s]=re(i,e);return v.useEffect(()=>i.subscribeToOffsetChange(s)),v.useEffect(()=>i.subscribeToStateChange(s)),n}(e=>({currentOffset:hr(e,r),isDragging:e.isDragging(),itemType:e.getItemType(),item:e.getItem(),monitor:e}));return t.isDragging&&t.currentOffset!==null?{display:!0,itemType:t.itemType,item:t.item,style:lr(t.currentOffset),monitor:t.monitor,ref:r}:{display:!1}};v.createContext(void 0);var P,fr=v.createContext(null),Ir=({portal:r,...t})=>{let[e,i]=v.useState(null);return et.createElement(fr.Provider,{value:r??e},et.createElement(Ve,{backend:De,...t}),r?null:et.createElement("div",{ref:i}))},Cr=()=>{let r=(()=>{let[e,i]=v.useState(!1),n=v.useContext(mt);return v.useEffect(()=>{let s=n?.dragDropManager?.getBackend(),o={backendChanged:a=>{i(a.previewEnabled())}};return i(s.previewEnabled()),s.previewsList().register(o),()=>{s.previewsList().unregister(o)}},[n,n.dragDropManager]),e})(),t=gr();return r?t:{display:!1}};(function(r){r.mouse="mouse",r.touch="touch",r.keyboard="keyboard"})(P||(P={}));class pr{get delay(){var t;return(t=this.args.delay)!==null&&t!==void 0?t:0}get scrollAngleRanges(){return this.args.scrollAngleRanges}get getDropTargetElementsAtPoint(){return this.args.getDropTargetElementsAtPoint}get ignoreContextMenu(){var t;return(t=this.args.ignoreContextMenu)!==null&&t!==void 0&&t}get enableHoverOutsideTarget(){var t;return(t=this.args.enableHoverOutsideTarget)!==null&&t!==void 0&&t}get enableKeyboardEvents(){var t;return(t=this.args.enableKeyboardEvents)!==null&&t!==void 0&&t}get enableMouseEvents(){var t;return(t=this.args.enableMouseEvents)!==null&&t!==void 0&&t}get enableTouchEvents(){var t;return(t=this.args.enableTouchEvents)===null||t===void 0||t}get touchSlop(){return this.args.touchSlop||0}get delayTouchStart(){var t,e,i,n;return(n=(i=(t=this.args)===null||t===void 0?void 0:t.delayTouchStart)!==null&&i!==void 0?i:(e=this.args)===null||e===void 0?void 0:e.delay)!==null&&n!==void 0?n:0}get delayMouseStart(){var t,e,i,n;return(n=(i=(t=this.args)===null||t===void 0?void 0:t.delayMouseStart)!==null&&i!==void 0?i:(e=this.args)===null||e===void 0?void 0:e.delay)!==null&&n!==void 0?n:0}get window(){return this.context&&this.context.window?this.context.window:typeof window<"u"?window:void 0}get document(){var t;return!((t=this.context)===null||t===void 0)&&t.document?this.context.document:this.window?this.window.document:void 0}get rootElement(){var t;return((t=this.args)===null||t===void 0?void 0:t.rootElement)||this.document}constructor(t,e){this.args=t,this.context=e}}const vr=1,mr=0;function ct(r){return r.button===void 0||r.button===mr}function oe(r){return!!r.targetTouches}function J(r,t){return oe(r)?function(e,i){return e.targetTouches.length===1?J(e.targetTouches[0]):i&&e.touches.length===1&&e.touches[0].target===i.target?J(e.touches[0]):void 0}(r,t):{x:r.clientX,y:r.clientY}}const Wt=(()=>{let r=!1;try{addEventListener("test",()=>{},Object.defineProperty({},"passive",{get:()=>(r=!0,!0)}))}catch{}return r})(),F={[P.mouse]:{start:"mousedown",move:"mousemove",end:"mouseup",contextmenu:"contextmenu"},[P.touch]:{start:"touchstart",move:"touchmove",end:"touchend"},[P.keyboard]:{keydown:"keydown"}};class ${profile(){var t;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:((t=this.dragOverTargetIds)===null||t===void 0?void 0:t.length)||0}}get document(){return this.options.document}setup(){const t=this.options.rootElement;t&&(p(!$.isSetUp,"Cannot have two Touch backends at the same time."),$.isSetUp=!0,this.addEventListener(t,"start",this.getTopMoveStartHandler()),this.addEventListener(t,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(t,"move",this.handleTopMove),this.addEventListener(t,"move",this.handleTopMoveCapture,!0),this.addEventListener(t,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(t,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(t,"keydown",this.handleCancelOnEscape,!0))}teardown(){const t=this.options.rootElement;t&&($.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(t,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(t,"start",this.handleTopMoveStart),this.removeEventListener(t,"move",this.handleTopMoveCapture,!0),this.removeEventListener(t,"move",this.handleTopMove),this.removeEventListener(t,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(t,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(t,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}addEventListener(t,e,i,n=!1){const s=Wt?{capture:n,passive:!1}:n;this.listenerTypes.forEach(function(o){const a=F[o][e];a&&t.addEventListener(a,i,s)})}removeEventListener(t,e,i,n=!1){const s=Wt?{capture:n,passive:!1}:n;this.listenerTypes.forEach(function(o){const a=F[o][e];a&&t.removeEventListener(a,i,s)})}connectDragSource(t,e){const i=this.handleMoveStart.bind(this,t);return this.sourceNodes.set(t,e),this.addEventListener(e,"start",i),()=>{this.sourceNodes.delete(t),this.removeEventListener(e,"start",i)}}connectDragPreview(t,e,i){return this.sourcePreviewNodeOptions.set(t,i),this.sourcePreviewNodes.set(t,e),()=>{this.sourcePreviewNodes.delete(t),this.sourcePreviewNodeOptions.delete(t)}}connectDropTarget(t,e){const i=this.options.rootElement;if(!this.document||!i)return()=>{};const n=s=>{if(!this.document||!i||!this.monitor.isDragging())return;let o;switch(s.type){case F.mouse.move:o={x:s.clientX,y:s.clientY};break;case F.touch.move:var a,c;o={x:((a=s.touches[0])===null||a===void 0?void 0:a.clientX)||0,y:((c=s.touches[0])===null||c===void 0?void 0:c.clientY)||0}}const u=o!=null?this.document.elementFromPoint(o.x,o.y):void 0,d=u&&e.contains(u);return u===e||d?this.handleMove(s,t):void 0};return this.addEventListener(this.document.body,"move",n),this.targetNodes.set(t,e),()=>{this.document&&(this.targetNodes.delete(t),this.removeEventListener(this.document.body,"move",n))}}getTopMoveStartHandler(){return this.options.delayTouchStart||this.options.delayMouseStart?this.handleTopMoveStartDelay:this.handleTopMoveStart}installSourceNodeRemovalObserver(t){this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=t,this.draggedSourceNodeRemovalObserver=new MutationObserver(()=>{t&&!t.parentElement&&(this.resurrectSourceNode(),this.uninstallSourceNodeRemovalObserver())}),t&&t.parentElement&&this.draggedSourceNodeRemovalObserver.observe(t.parentElement,{childList:!0})}resurrectSourceNode(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}uninstallSourceNodeRemovalObserver(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}constructor(t,e,i){this.getSourceClientOffset=n=>{const s=this.sourceNodes.get(n);return s&&function(o){const a=o.nodeType===1?o:o.parentElement;if(!a)return;const{top:c,left:u}=a.getBoundingClientRect();return{x:u,y:c}}(s)},this.handleTopMoveStartCapture=n=>{ct(n)&&(this.moveStartSourceIds=[])},this.handleMoveStart=n=>{Array.isArray(this.moveStartSourceIds)&&this.moveStartSourceIds.unshift(n)},this.handleTopMoveStart=n=>{if(!ct(n))return;const s=J(n);s&&(oe(n)&&(this.lastTargetTouchFallback=n.targetTouches[0]),this._mouseClientOffset=s),this.waitingForDelay=!1},this.handleTopMoveStartDelay=n=>{if(!ct(n))return;const s=n.type===F.touch.start?this.options.delayTouchStart:this.options.delayMouseStart;this.timeout=setTimeout(this.handleTopMoveStart.bind(this,n),s),this.waitingForDelay=!0},this.handleTopMoveCapture=()=>{this.dragOverTargetIds=[]},this.handleMove=(n,s)=>{this.dragOverTargetIds&&this.dragOverTargetIds.unshift(s)},this.handleTopMove=n=>{if(this.timeout&&clearTimeout(this.timeout),!this.document||this.waitingForDelay)return;const{moveStartSourceIds:s,dragOverTargetIds:o}=this,a=this.options.enableHoverOutsideTarget,c=J(n,this.lastTargetTouchFallback);if(!c)return;if(this._isScrolling||!this.monitor.isDragging()&&function(D,S,L,tt,A){if(!A)return!1;const H=180*Math.atan2(tt-S,L-D)/Math.PI+180;for(let _=0;_<A.length;++_){const U=A[_];if(U&&(U.start==null||H>=U.start)&&(U.end==null||H<=U.end))return!0}return!1}(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,c.x,c.y,this.options.scrollAngleRanges))return void(this._isScrolling=!0);var u,d,g,f;if(!this.monitor.isDragging()&&this._mouseClientOffset.hasOwnProperty("x")&&s&&(u=this._mouseClientOffset.x||0,d=this._mouseClientOffset.y||0,g=c.x,f=c.y,Math.sqrt(Math.pow(Math.abs(g-u),2)+Math.pow(Math.abs(f-d),2))>(this.options.touchSlop?this.options.touchSlop:0))&&(this.moveStartSourceIds=void 0,this.actions.beginDrag(s,{clientOffset:this._mouseClientOffset,getSourceClientOffset:this.getSourceClientOffset,publishSource:!1})),!this.monitor.isDragging())return;const h=this.sourceNodes.get(this.monitor.getSourceId());this.installSourceNodeRemovalObserver(h),this.actions.publishDragSource(),n.cancelable&&n.preventDefault();const m=(o||[]).map(D=>this.targetNodes.get(D)).filter(D=>!!D),y=this.options.getDropTargetElementsAtPoint?this.options.getDropTargetElementsAtPoint(c.x,c.y,m):this.document.elementsFromPoint(c.x,c.y),b=[];for(const D in y){if(!y.hasOwnProperty(D))continue;let S=y[D];for(S!=null&&b.push(S);S;)S=S.parentElement,S&&b.indexOf(S)===-1&&b.push(S)}const O=b.filter(D=>m.indexOf(D)>-1).map(D=>this._getDropTargetId(D)).filter(D=>!!D).filter((D,S,L)=>L.indexOf(D)===S);if(a)for(const D in this.targetNodes){const S=this.targetNodes.get(D);if(h&&S&&S.contains(h)&&O.indexOf(D)===-1){O.unshift(D);break}}O.reverse(),this.actions.hover(O,{clientOffset:c})},this._getDropTargetId=n=>{const s=this.targetNodes.keys();let o=s.next();for(;o.done===!1;){const a=o.value;if(n===this.targetNodes.get(a))return a;o=s.next()}},this.handleTopMoveEndCapture=n=>{this._isScrolling=!1,this.lastTargetTouchFallback=void 0,function(s){return s.buttons===void 0||!(s.buttons&vr)}(n)&&(this.monitor.isDragging()&&!this.monitor.didDrop()?(n.cancelable&&n.preventDefault(),this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.drop(),this.actions.endDrag()):this.moveStartSourceIds=void 0)},this.handleCancelOnEscape=n=>{n.key==="Escape"&&this.monitor.isDragging()&&(this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.endDrag())},this.options=new pr(i,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(P.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(P.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(P.keyboard)}}const Nr=function(r,t={},e={}){return new $(r,t,e)};export{br as H,Tr as O,Or as S,Nr as T,Cr as a,wr as b,Ir as g,Er as u};
6
+ see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-2xx`);x(this,B,new ye),x(this,w,{}),x(this,C,[]),e.backends.forEach(i=>{let n=l(this,dt).call(this,r,t,i);l(this,w)[n.id]=n,l(this,C).push(n)}),x(this,T,l(this,C)[0].id),x(this,N,{})}},Vt=z;T=new WeakMap,B=new WeakMap,w=new WeakMap,C=new WeakMap,N=new WeakMap,dt=new WeakMap,ht=new WeakMap,lt=new WeakMap,G=new WeakMap,K=new WeakMap,W=new WeakMap,Vt.isSetUp=!1;var De=(r,t,e)=>new Vt(r,t,e),Jt=(r,t)=>({event:r,check:t}),Or=Jt("touchstart",r=>{let t=r;return t.touches!==null&&t.touches!==void 0}),Tr=Jt("mousedown",r=>r.type.indexOf("touch")===-1&&r.type.indexOf("mouse")!==-1);const mt=v.createContext({dragDropManager:void 0});function p(r,t,...e){if(ae!==void 0&&t===void 0)throw new Error("invariant requires an error message argument");if(!r){let i;if(t===void 0)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;i=new Error(t.replace(/%s/g,function(){return e[n++]})),i.name="Invariant Violation"}throw i.framesToPop=1,i}}function Zt(r){return typeof r=="object"}const yt="dnd-core/INIT_COORDS",Dt="dnd-core/BEGIN_DRAG",Qt="dnd-core/PUBLISH_DRAG_SOURCE",Z="dnd-core/HOVER",bt="dnd-core/DROP",St="dnd-core/END_DRAG";function Mt(r,t){return{type:yt,payload:{sourceClientOffset:t||null,clientOffset:r||null}}}const be={type:yt,payload:{clientOffset:null,sourceClientOffset:null}};function Se(r){return function(t=[],e={publishSource:!0}){const{publishSource:i=!0,clientOffset:n,getSourceClientOffset:s}=e,o=r.getMonitor(),a=r.getRegistry();r.dispatch(Mt(n)),function(f,h,m){p(!h.isDragging(),"Cannot call beginDrag while dragging."),f.forEach(function(y){p(m.getSource(y),"Expected sourceIds to be registered.")})}(t,o,a);const c=function(f,h){let m=null;for(let y=f.length-1;y>=0;y--)if(h.canDragSource(f[y])){m=f[y];break}return m}(t,o);if(c==null)return void r.dispatch(be);let u=null;if(n){if(!s)throw new Error("getSourceClientOffset must be defined");(function(f){p(typeof f=="function","When clientOffset is provided, getSourceClientOffset must be a function.")})(s),u=s(c)}r.dispatch(Mt(n,u));const d=a.getSource(c).beginDrag(o,c);if(d==null)return;(function(f){p(Zt(f),"Item must be an object.")})(d),a.pinSource(c);const g=a.getSourceType(c);return{type:Dt,payload:{itemType:g,item:d,sourceId:c,clientOffset:n||null,sourceClientOffset:u||null,isSourcePublic:!!i}}}}function Oe(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function Te(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{},i=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.forEach(function(n){Oe(r,n,e[n])})}return r}function we(r){return function(t={}){const e=r.getMonitor(),i=r.getRegistry();(function(s){p(s.isDragging(),"Cannot call drop while not dragging."),p(!s.didDrop(),"Cannot call drop twice during one drag operation.")})(e),function(s){const o=s.getTargetIds().filter(s.canDropOnTarget,s);return o.reverse(),o}(e).forEach((s,o)=>{const a=function(u,d,g,f){const h=g.getTarget(u);let m=h?h.drop(f,u):void 0;return function(y){p(y===void 0||Zt(y),"Drop result must either be an object or undefined.")}(m),m===void 0&&(m=d===0?{}:f.getDropResult()),m}(s,o,i,e),c={type:bt,payload:{dropResult:Te({},t,a)}};r.dispatch(c)})}}function Ee(r){return function(){const t=r.getMonitor(),e=r.getRegistry();(function(n){p(n.isDragging(),"Cannot call endDrag while not dragging.")})(t);const i=t.getSourceId();return i!=null&&(e.getSource(i,!0).endDrag(t,i),e.unpinSource()),{type:St}}}function gt(r,t){return t===null?r===null:Array.isArray(r)?r.some(e=>e===t):r===t}function Ie(r){return function(t,{clientOffset:e}={}){(function(o){p(Array.isArray(o),"Expected targetIds to be an array.")})(t);const i=t.slice(0),n=r.getMonitor(),s=r.getRegistry();return function(o,a,c){for(let u=o.length-1;u>=0;u--){const d=o[u];gt(a.getTargetType(d),c)||o.splice(u,1)}}(i,s,n.getItemType()),function(o,a,c){p(a.isDragging(),"Cannot call hover while not dragging."),p(!a.didDrop(),"Cannot call hover after drop.");for(let u=0;u<o.length;u++){const d=o[u];p(o.lastIndexOf(d)===u,"Expected targetIds to be unique in the passed array."),p(c.getTarget(d),"Expected targetIds to be registered.")}}(i,n,s),function(o,a,c){o.forEach(function(u){c.getTarget(u).hover(a,u)})}(i,n,s),{type:Z,payload:{targetIds:i,clientOffset:e||null}}}}function Ce(r){return function(){if(r.getMonitor().isDragging())return{type:Qt}}}class Ne{receiveBackend(t){this.backend=t}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const t=this,{dispatch:e}=this.store,i=function(n){return{beginDrag:Se(n),publishDragSource:Ce(n),hover:Ie(n),drop:we(n),endDrag:Ee(n)}}(this);return Object.keys(i).reduce((n,s)=>{const o=i[s];var a;return n[s]=(a=o,(...c)=>{const u=a.apply(t,c);u!==void 0&&e(u)}),n},{})}dispatch(t){this.store.dispatch(t)}constructor(t,e){this.isSetUp=!1,this.handleRefCountChange=()=>{const i=this.store.getState().refCount>0;this.backend&&(i&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!i&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=t,this.monitor=e,t.subscribe(this.handleRefCountChange)}}function xt(r,t){return{x:r.x-t.x,y:r.y-t.y}}const Y=[],Ot=[];Y.__IS_NONE__=!0,Ot.__IS_ALL__=!0;class Pe{subscribeToStateChange(t,e={}){const{handlerIds:i}=e;p(typeof t=="function","listener must be a function."),p(i===void 0||Array.isArray(i),"handlerIds, when specified, must be an array of strings.");let n=this.store.getState().stateId;return this.store.subscribe(()=>{const s=this.store.getState(),o=s.stateId;try{o===n||o===n+1&&!function(c,u){if(c===Y)return!1;if(c===Ot||u===void 0)return!0;const d=(g=c,u.filter(f=>g.indexOf(f)>-1));var g;return d.length>0}(s.dirtyHandlerIds,i)||t()}finally{n=o}})}subscribeToOffsetChange(t){p(typeof t=="function","listener must be a function.");let e=this.store.getState().dragOffset;return this.store.subscribe(()=>{const i=this.store.getState().dragOffset;i!==e&&(e=i,t())})}canDragSource(t){if(!t)return!1;const e=this.registry.getSource(t);return p(e,`Expected to find a valid source. sourceId=${t}`),!this.isDragging()&&e.canDrag(this,t)}canDropOnTarget(t){if(!t)return!1;const e=this.registry.getTarget(t);return p(e,`Expected to find a valid target. targetId=${t}`),!this.isDragging()||this.didDrop()?!1:gt(this.registry.getTargetType(t),this.getItemType())&&e.canDrop(this,t)}isDragging(){return!!this.getItemType()}isDraggingSource(t){if(!t)return!1;const e=this.registry.getSource(t,!0);return p(e,`Expected to find a valid source. sourceId=${t}`),!this.isDragging()||!this.isSourcePublic()?!1:this.registry.getSourceType(t)===this.getItemType()&&e.isDragging(this,t)}isOverTarget(t,e={shallow:!1}){if(!t)return!1;const{shallow:i}=e;if(!this.isDragging())return!1;const n=this.registry.getTargetType(t),s=this.getItemType();if(s&&!gt(n,s))return!1;const o=this.getTargetIds();if(!o.length)return!1;const a=o.indexOf(t);return i?a===o.length-1:a>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(t){const{clientOffset:e,initialClientOffset:i,initialSourceClientOffset:n}=t;return e&&i&&n?xt(function(s,o){return{x:s.x+o.x,y:s.y+o.y}}(e,n),i):null}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(t){const{clientOffset:e,initialClientOffset:i}=t;return e&&i?xt(e,i):null}(this.store.getState().dragOffset)}constructor(t,e){this.store=t,this.registry=e}}const kt=V!==void 0?V:self,Rt=kt.MutationObserver||kt.WebKitMutationObserver;function te(r){return function(){const t=setTimeout(i,0),e=setInterval(i,50);function i(){clearTimeout(t),clearInterval(e),r()}}}const Me=typeof Rt=="function"?function(r){let t=1;const e=new Rt(r),i=document.createTextNode("");return e.observe(i,{characterData:!0}),function(){t=-t,i.data=t}}:te;class xe{call(){try{this.task&&this.task()}catch(t){this.onError(t)}finally{this.task=null,this.release(this)}}constructor(t,e){this.onError=t,this.release=e,this.task=null}}const ee=new class{enqueueTask(r){const{queue:t,requestFlush:e}=this;t.length||(e(),this.flushing=!0),t[t.length]=r}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:r}=this;for(;this.index<r.length;){const t=this.index;if(this.index++,r[t].call(),this.index>this.capacity){for(let e=0,i=r.length-this.index;e<i;e++)r[e]=r[e+this.index];r.length-=this.index,this.index=0}}r.length=0,this.index=0,this.flushing=!1},this.registerPendingError=r=>{this.pendingErrors.push(r),this.requestErrorThrow()},this.requestFlush=Me(this.flush),this.requestErrorThrow=te(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}},ke=new class{create(r){const t=this.freeTasks,e=t.length?t.pop():new xe(this.onError,i=>t[t.length]=i);return e.task=r,e}constructor(r){this.onError=r,this.freeTasks=[]}}(ee.registerPendingError),Tt="dnd-core/ADD_SOURCE",wt="dnd-core/ADD_TARGET",Et="dnd-core/REMOVE_SOURCE",Q="dnd-core/REMOVE_TARGET";function ft(r,t){t&&Array.isArray(r)?r.forEach(e=>ft(e,!1)):p(typeof r=="string"||typeof r=="symbol",t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var I;(function(r){r.SOURCE="SOURCE",r.TARGET="TARGET"})(I||(I={}));let Re=0;function Le(r){const t=(Re++).toString();switch(r){case I.SOURCE:return`S${t}`;case I.TARGET:return`T${t}`;default:throw new Error(`Unknown Handler Role: ${r}`)}}function Lt(r){switch(r[0]){case"S":return I.SOURCE;case"T":return I.TARGET;default:throw new Error(`Cannot parse handler ID: ${r}`)}}function _t(r,t){const e=r.entries();let i=!1;do{const{done:n,value:[,s]}=e.next();if(s===t)return!0;i=!!n}while(!i);return!1}class _e{addSource(t,e){ft(t),function(n){p(typeof n.canDrag=="function","Expected canDrag to be a function."),p(typeof n.beginDrag=="function","Expected beginDrag to be a function."),p(typeof n.endDrag=="function","Expected endDrag to be a function.")}(e);const i=this.addHandler(I.SOURCE,t,e);return this.store.dispatch(function(n){return{type:Tt,payload:{sourceId:n}}}(i)),i}addTarget(t,e){ft(t,!0),function(n){p(typeof n.canDrop=="function","Expected canDrop to be a function."),p(typeof n.hover=="function","Expected hover to be a function."),p(typeof n.drop=="function","Expected beginDrag to be a function.")}(e);const i=this.addHandler(I.TARGET,t,e);return this.store.dispatch(function(n){return{type:wt,payload:{targetId:n}}}(i)),i}containsHandler(t){return _t(this.dragSources,t)||_t(this.dropTargets,t)}getSource(t,e=!1){return p(this.isSourceId(t),"Expected a valid source ID."),e&&t===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(t)}getTarget(t){return p(this.isTargetId(t),"Expected a valid target ID."),this.dropTargets.get(t)}getSourceType(t){return p(this.isSourceId(t),"Expected a valid source ID."),this.types.get(t)}getTargetType(t){return p(this.isTargetId(t),"Expected a valid target ID."),this.types.get(t)}isSourceId(t){return Lt(t)===I.SOURCE}isTargetId(t){return Lt(t)===I.TARGET}removeSource(t){var e;p(this.getSource(t),"Expected an existing source."),this.store.dispatch(function(i){return{type:Et,payload:{sourceId:i}}}(t)),e=()=>{this.dragSources.delete(t),this.types.delete(t)},ee.enqueueTask(ke.create(e))}removeTarget(t){p(this.getTarget(t),"Expected an existing target."),this.store.dispatch(function(e){return{type:Q,payload:{targetId:e}}}(t)),this.dropTargets.delete(t),this.types.delete(t)}pinSource(t){const e=this.getSource(t);p(e,"Expected an existing source."),this.pinnedSourceId=t,this.pinnedSource=e}unpinSource(){p(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(t,e,i){const n=Le(t);return this.types.set(n,e),t===I.SOURCE?this.dragSources.set(n,i):t===I.TARGET&&this.dropTargets.set(n,i),n}constructor(t){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=t}}const je=(r,t)=>r===t;function Ae(r=Y,t){switch(t.type){case Z:break;case Tt:case wt:case Q:case Et:return Y;default:return Ot}const{targetIds:e=[],prevTargetIds:i=[]}=t.payload,n=function(c,u){const d=new Map,g=h=>{d.set(h,d.has(h)?d.get(h)+1:1)};c.forEach(g),u.forEach(g);const f=[];return d.forEach((h,m)=>{h===1&&f.push(m)}),f}(e,i);if(!(n.length>0||!function(c,u,d=je){if(c.length!==u.length)return!1;for(let g=0;g<c.length;++g)if(!d(c[g],u[g]))return!1;return!0}(e,i)))return Y;const o=i[i.length-1],a=e[e.length-1];return o!==a&&(o&&n.push(o),a&&n.push(a)),n}function He(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}const jt={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function Ue(r=jt,t){const{payload:e}=t;switch(t.type){case yt:case Dt:return{initialSourceClientOffset:e.sourceClientOffset,initialClientOffset:e.clientOffset,clientOffset:e.clientOffset};case Z:return i=r.clientOffset,n=e.clientOffset,!i&&!n||i&&n&&i.x===n.x&&i.y===n.y?r:function(s){for(var o=1;o<arguments.length;o++){var a=arguments[o]!=null?arguments[o]:{},c=Object.keys(a);typeof Object.getOwnPropertySymbols=="function"&&(c=c.concat(Object.getOwnPropertySymbols(a).filter(function(u){return Object.getOwnPropertyDescriptor(a,u).enumerable}))),c.forEach(function(u){He(s,u,a[u])})}return s}({},r,{clientOffset:e.clientOffset});case St:case bt:return jt;default:return r}var i,n}function Fe(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function j(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{},i=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.forEach(function(n){Fe(r,n,e[n])})}return r}const Be={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function We(r=Be,t){const{payload:e}=t;switch(t.type){case Dt:return j({},r,{itemType:e.itemType,item:e.item,sourceId:e.sourceId,isSourcePublic:e.isSourcePublic,dropResult:null,didDrop:!1});case Qt:return j({},r,{isSourcePublic:!0});case Z:return j({},r,{targetIds:e.targetIds});case Q:return r.targetIds.indexOf(e.targetId)===-1?r:j({},r,{targetIds:(i=r.targetIds,n=e.targetId,i.filter(s=>s!==n))});case bt:return j({},r,{dropResult:e.dropResult,didDrop:!0,targetIds:[]});case St:return j({},r,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return r}var i,n}function Ye(r=0,t){switch(t.type){case Tt:case wt:return r+1;case Et:case Q:return r-1;default:return r}}function $e(r=0){return r+1}function Xe(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function qe(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{},i=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.forEach(function(n){Xe(r,n,e[n])})}return r}function Ge(r={},t){return{dirtyHandlerIds:Ae(r.dirtyHandlerIds,{type:t.type,payload:qe({},t.payload,{prevTargetIds:(e=r,i="dragOperation.targetIds",n=[],i.split(".").reduce((s,o)=>s&&s[o]?s[o]:n||null,e))})}),dragOffset:Ue(r.dragOffset,t),refCount:Ye(r.refCount,t),dragOperation:We(r.dragOperation,t),stateId:$e(r.stateId)};var e,i,n}function Ke(r,t=void 0,e={},i=!1){const n=function(c){const u=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__;return ue(Ge,c&&u&&u({name:"dnd-core",instanceId:"dnd-core"}))}(i),s=new Pe(n,new _e(n)),o=new Ne(n,s),a=r(o,t,e);return o.receiveBackend(a),o}function ze(r,t){if(r==null)return{};var e,i,n=function(o,a){if(o==null)return{};var c,u,d={},g=Object.keys(o);for(u=0;u<g.length;u++)c=g[u],a.indexOf(c)>=0||(d[c]=o[c]);return d}(r,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);for(i=0;i<s.length;i++)e=s[i],t.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(r,e)&&(n[e]=r[e])}return n}let At=0;const q=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var Ht,Ut,Ve=v.memo(function(r){var{children:t}=r,e=ze(r,["children"]);const[i,n]=function(s){if("manager"in s)return[{dragDropManager:s.manager},!1];const o=function(c,u=Ft(),d,g){const f=u;return f[q]||(f[q]={dragDropManager:Ke(c,u,d,g)}),f[q]}(s.backend,s.context,s.options,s.debugMode),a=!s.context;return[o,a]}(e);return v.useEffect(()=>{if(n){const s=Ft();return++At,()=>{--At==0&&(s[q]=null)}}},[]),de.jsx(mt.Provider,{value:i,children:t})});function Ft(){return V!==void 0?V:window}var Je=(Ut||(Ut=1,Ht=function r(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var i,n,s;if(Array.isArray(t)){if((i=t.length)!=e.length)return!1;for(n=i;n--!=0;)if(!r(t[n],e[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();if((i=(s=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(n=i;n--!=0;)if(!Object.prototype.hasOwnProperty.call(e,s[n]))return!1;for(n=i;n--!=0;){var o=s[n];if(!r(t[o],e[o]))return!1}return!0}return t!=t&&e!=e}),Ht);const Ze=ce(Je),k=typeof window<"u"?v.useLayoutEffect:v.useEffect;function re(r,t,e){const[i,n]=v.useState(()=>t(r)),s=v.useCallback(()=>{const o=t(r);Ze(i,o)||(n(o),e&&e())},[i,r,e]);return k(s),[i,s]}function ne(r,t,e){return function(i,n,s){const[o,a]=re(i,n,s);return k(function(){const c=i.getHandlerId();if(c!=null)return i.subscribeToStateChange(a,{handlerIds:[c]})},[i,a]),o}(t,r||(()=>({})),()=>e.reconnect())}function ie(r,t){const e=[];return typeof r!="function"&&e.push(r),v.useMemo(()=>typeof r=="function"?r():r,e)}function Qe(r){return v.useMemo(()=>r.hooks.dragSource(),[r])}function tr(r){return v.useMemo(()=>r.hooks.dragPreview(),[r])}let it=!1,st=!1;class er{receiveHandlerId(t){this.sourceId=t}getHandlerId(){return this.sourceId}canDrag(){p(!it,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return it=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{it=!1}}isDragging(){if(!this.sourceId)return!1;p(!st,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return st=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{st=!1}}subscribeToStateChange(t,e){return this.internalMonitor.subscribeToStateChange(t,e)}isDraggingSource(t){return this.internalMonitor.isDraggingSource(t)}isOverTarget(t,e){return this.internalMonitor.isOverTarget(t,e)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(t){return this.internalMonitor.subscribeToOffsetChange(t)}canDragSource(t){return this.internalMonitor.canDragSource(t)}canDropOnTarget(t){return this.internalMonitor.canDropOnTarget(t)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(t){this.sourceId=null,this.internalMonitor=t.getMonitor()}}let ot=!1;class rr{receiveHandlerId(t){this.targetId=t}getHandlerId(){return this.targetId}subscribeToStateChange(t,e){return this.internalMonitor.subscribeToStateChange(t,e)}canDrop(){if(!this.targetId)return!1;p(!ot,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return ot=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{ot=!1}}isOver(t){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,t)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(t){this.targetId=null,this.internalMonitor=t.getMonitor()}}function pt(r,t,e,i){let n;if(n!==void 0)return!!n;if(r===t)return!0;if(typeof r!="object"||!r||typeof t!="object"||!t)return!1;const s=Object.keys(r),o=Object.keys(t);if(s.length!==o.length)return!1;const a=Object.prototype.hasOwnProperty.bind(t);for(let c=0;c<s.length;c++){const u=s[c];if(!a(u))return!1;const d=r[u],g=t[u];if(n=void 0,n===!1||n===void 0&&d!==g)return!1}return!0}function vt(r){return r!==null&&typeof r=="object"&&Object.prototype.hasOwnProperty.call(r,"current")}function nr(r){return(t=null,e=null)=>{if(!v.isValidElement(t)){const n=t;return r(n,e),n}const i=t;return function(n){if(typeof n.type=="string")return;const s=n.type.displayName||n.type.name||"the component";throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${s} into a <div>, or turn it into a drag source or a drop target itself.`)}(i),function(n,s){const o=n.ref;return p(typeof o!="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),o?v.cloneElement(n,{ref:a=>{Bt(o,a),Bt(s,a)}}):v.cloneElement(n,{ref:s})}(i,e?n=>r(n,e):r)}}function se(r){const t={};return Object.keys(r).forEach(e=>{const i=r[e];if(e.endsWith("Ref"))t[e]=r[e];else{const n=nr(i);t[e]=()=>n}}),t}function Bt(r,t){typeof r=="function"?r(t):r.current=t}class ir{receiveHandlerId(t){this.handlerId!==t&&(this.handlerId=t,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(t){this.dragSourceOptionsInternal=t}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(t){this.dragPreviewOptionsInternal=t}reconnect(){const t=this.reconnectDragSource();this.reconnectDragPreview(t)}reconnectDragSource(){const t=this.dragSource,e=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return e&&this.disconnectDragSource(),this.handlerId?t?(e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=t,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,t,this.dragSourceOptions)),e):(this.lastConnectedDragSource=t,e):e}reconnectDragPreview(t=!1){const e=this.dragPreview,i=t||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();i&&this.disconnectDragPreview(),this.handlerId&&(e?i&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=e,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,e,this.dragPreviewOptions)):this.lastConnectedDragPreview=e)}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!pt(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!pt(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(t){this.hooks=se({dragSource:(e,i)=>{this.clearDragSource(),this.dragSourceOptions=i||null,vt(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,i)=>{this.clearDragPreview(),this.dragPreviewOptions=i||null,vt(e)?this.dragPreviewRef=e:this.dragPreviewNode=e,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=t}}class sr{get connectTarget(){return this.dropTarget}reconnect(){const t=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();t&&this.disconnectDropTarget();const e=this.dropTarget;this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=e,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,e,this.dropTargetOptions)):this.lastConnectedDropTarget=e)}receiveHandlerId(t){t!==this.handlerId&&(this.handlerId=t,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(t){this.dropTargetOptionsInternal=t}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!pt(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(t){this.hooks=se({dropTarget:(e,i)=>{this.clearDropTarget(),this.dropTargetOptions=i,vt(e)?this.dropTargetRef=e:this.dropTargetNode=e,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=t}}function R(){const{dragDropManager:r}=v.useContext(mt);return p(r!=null,"Expected drag drop context"),r}class or{beginDrag(){const t=this.spec,e=this.monitor;let i=null;return i=typeof t.item=="object"?t.item:typeof t.item=="function"?t.item(e):{},i??null}canDrag(){const t=this.spec,e=this.monitor;return typeof t.canDrag=="boolean"?t.canDrag:typeof t.canDrag!="function"||t.canDrag(e)}isDragging(t,e){const i=this.spec,n=this.monitor,{isDragging:s}=i;return s?s(n):e===t.getSourceId()}endDrag(){const t=this.spec,e=this.monitor,i=this.connector,{end:n}=t;n&&n(e.getItem(),e),i.reconnect()}constructor(t,e,i){this.spec=t,this.monitor=e,this.connector=i}}function ar(r,t,e){const i=R(),n=function(o,a,c){const u=v.useMemo(()=>new or(o,a,c),[a,c]);return v.useEffect(()=>{u.spec=o},[o]),u}(r,t,e),s=function(o){return v.useMemo(()=>{const a=o.type;return p(a!=null,"spec.type must be defined"),a},[o])}(r);k(function(){if(s!=null){const[o,a]=function(c,u,d){const g=d.getRegistry(),f=g.addSource(c,u);return[f,()=>g.removeSource(f)]}(s,n,i);return t.receiveHandlerId(o),e.receiveHandlerId(o),a}},[i,t,e,n,s])}function wr(r,t){const e=ie(r);p(!e.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const i=function(){const s=R();return v.useMemo(()=>new er(s),[s])}(),n=function(s,o){const a=R(),c=v.useMemo(()=>new ir(a.getBackend()),[a]);return k(()=>(c.dragSourceOptions=s||null,c.reconnect(),()=>c.disconnectDragSource()),[c,s]),k(()=>(c.dragPreviewOptions=o||null,c.reconnect(),()=>c.disconnectDragPreview()),[c,o]),c}(e.options,e.previewOptions);return ar(e,i,n),[ne(e.collect,i,n),Qe(n),tr(n)]}function cr(r){return v.useMemo(()=>r.hooks.dropTarget(),[r])}class ur{canDrop(){const t=this.spec,e=this.monitor;return!t.canDrop||t.canDrop(e.getItem(),e)}hover(){const t=this.spec,e=this.monitor;t.hover&&t.hover(e.getItem(),e)}drop(){const t=this.spec,e=this.monitor;if(t.drop)return t.drop(e.getItem(),e)}constructor(t,e){this.spec=t,this.monitor=e}}function dr(r,t,e){const i=R(),n=function(o,a){const c=v.useMemo(()=>new ur(o,a),[a]);return v.useEffect(()=>{c.spec=o},[o]),c}(r,t),s=function(o){const{accept:a}=o;return v.useMemo(()=>(p(o.accept!=null,"accept must be defined"),Array.isArray(a)?a:[a]),[a])}(r);k(function(){const[o,a]=function(c,u,d){const g=d.getRegistry(),f=g.addTarget(c,u);return[f,()=>g.removeTarget(f)]}(s,n,i);return t.receiveHandlerId(o),e.receiveHandlerId(o),a},[i,t,n,e,s.map(o=>o.toString()).join("|")])}function Er(r,t){const e=ie(r),i=function(){const s=R();return v.useMemo(()=>new rr(s),[s])}(),n=function(s){const o=R(),a=v.useMemo(()=>new sr(o.getBackend()),[o]);return k(()=>(a.dropTargetOptions=s||null,a.reconnect(),()=>a.disconnectDropTarget()),[s]),a}(e.options);return dr(e,i,n),[ne(e.collect,i,n),cr(n)]}var at=(r,t)=>({x:r.x-t.x,y:r.y-t.y}),hr=(r,t)=>{let e=r.getClientOffset();if(e===null)return null;if(!t.current||!t.current.getBoundingClientRect)return at(e,(s=>{let o=s.getInitialClientOffset(),a=s.getInitialSourceClientOffset();return o===null||a===null?{x:0,y:0}:at(o,a)})(r));let i=t.current.getBoundingClientRect(),n={x:i.width/2,y:i.height/2};return at(e,n)},lr=r=>{let t=`translate(${r.x.toFixed(1)}px, ${r.y.toFixed(1)}px)`;return{pointerEvents:"none",position:"fixed",top:0,left:0,transform:t,WebkitTransform:t}},gr=()=>{let r=v.useRef(null),t=function(e){const i=R().getMonitor(),[n,s]=re(i,e);return v.useEffect(()=>i.subscribeToOffsetChange(s)),v.useEffect(()=>i.subscribeToStateChange(s)),n}(e=>({currentOffset:hr(e,r),isDragging:e.isDragging(),itemType:e.getItemType(),item:e.getItem(),monitor:e}));return t.isDragging&&t.currentOffset!==null?{display:!0,itemType:t.itemType,item:t.item,style:lr(t.currentOffset),monitor:t.monitor,ref:r}:{display:!1}};v.createContext(void 0);var P,fr=v.createContext(null),Ir=({portal:r,...t})=>{let[e,i]=v.useState(null);return et.createElement(fr.Provider,{value:r??e},et.createElement(Ve,{backend:De,...t}),r?null:et.createElement("div",{ref:i}))},Cr=()=>{let r=(()=>{let[e,i]=v.useState(!1),n=v.useContext(mt);return v.useEffect(()=>{let s=n?.dragDropManager?.getBackend(),o={backendChanged:a=>{i(a.previewEnabled())}};return i(s.previewEnabled()),s.previewsList().register(o),()=>{s.previewsList().unregister(o)}},[n,n.dragDropManager]),e})(),t=gr();return r?t:{display:!1}};(function(r){r.mouse="mouse",r.touch="touch",r.keyboard="keyboard"})(P||(P={}));class pr{get delay(){var t;return(t=this.args.delay)!==null&&t!==void 0?t:0}get scrollAngleRanges(){return this.args.scrollAngleRanges}get getDropTargetElementsAtPoint(){return this.args.getDropTargetElementsAtPoint}get ignoreContextMenu(){var t;return(t=this.args.ignoreContextMenu)!==null&&t!==void 0&&t}get enableHoverOutsideTarget(){var t;return(t=this.args.enableHoverOutsideTarget)!==null&&t!==void 0&&t}get enableKeyboardEvents(){var t;return(t=this.args.enableKeyboardEvents)!==null&&t!==void 0&&t}get enableMouseEvents(){var t;return(t=this.args.enableMouseEvents)!==null&&t!==void 0&&t}get enableTouchEvents(){var t;return(t=this.args.enableTouchEvents)===null||t===void 0||t}get touchSlop(){return this.args.touchSlop||0}get delayTouchStart(){var t,e,i,n;return(n=(i=(t=this.args)===null||t===void 0?void 0:t.delayTouchStart)!==null&&i!==void 0?i:(e=this.args)===null||e===void 0?void 0:e.delay)!==null&&n!==void 0?n:0}get delayMouseStart(){var t,e,i,n;return(n=(i=(t=this.args)===null||t===void 0?void 0:t.delayMouseStart)!==null&&i!==void 0?i:(e=this.args)===null||e===void 0?void 0:e.delay)!==null&&n!==void 0?n:0}get window(){return this.context&&this.context.window?this.context.window:typeof window<"u"?window:void 0}get document(){var t;return!((t=this.context)===null||t===void 0)&&t.document?this.context.document:this.window?this.window.document:void 0}get rootElement(){var t;return((t=this.args)===null||t===void 0?void 0:t.rootElement)||this.document}constructor(t,e){this.args=t,this.context=e}}const vr=1,mr=0;function ct(r){return r.button===void 0||r.button===mr}function oe(r){return!!r.targetTouches}function J(r,t){return oe(r)?function(e,i){return e.targetTouches.length===1?J(e.targetTouches[0]):i&&e.touches.length===1&&e.touches[0].target===i.target?J(e.touches[0]):void 0}(r,t):{x:r.clientX,y:r.clientY}}const Wt=(()=>{let r=!1;try{addEventListener("test",()=>{},Object.defineProperty({},"passive",{get:()=>(r=!0,!0)}))}catch{}return r})(),F={[P.mouse]:{start:"mousedown",move:"mousemove",end:"mouseup",contextmenu:"contextmenu"},[P.touch]:{start:"touchstart",move:"touchmove",end:"touchend"},[P.keyboard]:{keydown:"keydown"}};class ${profile(){var t;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:((t=this.dragOverTargetIds)===null||t===void 0?void 0:t.length)||0}}get document(){return this.options.document}setup(){const t=this.options.rootElement;t&&(p(!$.isSetUp,"Cannot have two Touch backends at the same time."),$.isSetUp=!0,this.addEventListener(t,"start",this.getTopMoveStartHandler()),this.addEventListener(t,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(t,"move",this.handleTopMove),this.addEventListener(t,"move",this.handleTopMoveCapture,!0),this.addEventListener(t,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(t,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(t,"keydown",this.handleCancelOnEscape,!0))}teardown(){const t=this.options.rootElement;t&&($.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(t,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(t,"start",this.handleTopMoveStart),this.removeEventListener(t,"move",this.handleTopMoveCapture,!0),this.removeEventListener(t,"move",this.handleTopMove),this.removeEventListener(t,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(t,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(t,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}addEventListener(t,e,i,n=!1){const s=Wt?{capture:n,passive:!1}:n;this.listenerTypes.forEach(function(o){const a=F[o][e];a&&t.addEventListener(a,i,s)})}removeEventListener(t,e,i,n=!1){const s=Wt?{capture:n,passive:!1}:n;this.listenerTypes.forEach(function(o){const a=F[o][e];a&&t.removeEventListener(a,i,s)})}connectDragSource(t,e){const i=this.handleMoveStart.bind(this,t);return this.sourceNodes.set(t,e),this.addEventListener(e,"start",i),()=>{this.sourceNodes.delete(t),this.removeEventListener(e,"start",i)}}connectDragPreview(t,e,i){return this.sourcePreviewNodeOptions.set(t,i),this.sourcePreviewNodes.set(t,e),()=>{this.sourcePreviewNodes.delete(t),this.sourcePreviewNodeOptions.delete(t)}}connectDropTarget(t,e){const i=this.options.rootElement;if(!this.document||!i)return()=>{};const n=s=>{if(!this.document||!i||!this.monitor.isDragging())return;let o;switch(s.type){case F.mouse.move:o={x:s.clientX,y:s.clientY};break;case F.touch.move:var a,c;o={x:((a=s.touches[0])===null||a===void 0?void 0:a.clientX)||0,y:((c=s.touches[0])===null||c===void 0?void 0:c.clientY)||0}}const u=o!=null?this.document.elementFromPoint(o.x,o.y):void 0,d=u&&e.contains(u);return u===e||d?this.handleMove(s,t):void 0};return this.addEventListener(this.document.body,"move",n),this.targetNodes.set(t,e),()=>{this.document&&(this.targetNodes.delete(t),this.removeEventListener(this.document.body,"move",n))}}getTopMoveStartHandler(){return this.options.delayTouchStart||this.options.delayMouseStart?this.handleTopMoveStartDelay:this.handleTopMoveStart}installSourceNodeRemovalObserver(t){this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=t,this.draggedSourceNodeRemovalObserver=new MutationObserver(()=>{t&&!t.parentElement&&(this.resurrectSourceNode(),this.uninstallSourceNodeRemovalObserver())}),t&&t.parentElement&&this.draggedSourceNodeRemovalObserver.observe(t.parentElement,{childList:!0})}resurrectSourceNode(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}uninstallSourceNodeRemovalObserver(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}constructor(t,e,i){this.getSourceClientOffset=n=>{const s=this.sourceNodes.get(n);return s&&function(o){const a=o.nodeType===1?o:o.parentElement;if(!a)return;const{top:c,left:u}=a.getBoundingClientRect();return{x:u,y:c}}(s)},this.handleTopMoveStartCapture=n=>{ct(n)&&(this.moveStartSourceIds=[])},this.handleMoveStart=n=>{Array.isArray(this.moveStartSourceIds)&&this.moveStartSourceIds.unshift(n)},this.handleTopMoveStart=n=>{if(!ct(n))return;const s=J(n);s&&(oe(n)&&(this.lastTargetTouchFallback=n.targetTouches[0]),this._mouseClientOffset=s),this.waitingForDelay=!1},this.handleTopMoveStartDelay=n=>{if(!ct(n))return;const s=n.type===F.touch.start?this.options.delayTouchStart:this.options.delayMouseStart;this.timeout=setTimeout(this.handleTopMoveStart.bind(this,n),s),this.waitingForDelay=!0},this.handleTopMoveCapture=()=>{this.dragOverTargetIds=[]},this.handleMove=(n,s)=>{this.dragOverTargetIds&&this.dragOverTargetIds.unshift(s)},this.handleTopMove=n=>{if(this.timeout&&clearTimeout(this.timeout),!this.document||this.waitingForDelay)return;const{moveStartSourceIds:s,dragOverTargetIds:o}=this,a=this.options.enableHoverOutsideTarget,c=J(n,this.lastTargetTouchFallback);if(!c)return;if(this._isScrolling||!this.monitor.isDragging()&&function(D,b,L,tt,A){if(!A)return!1;const H=180*Math.atan2(tt-b,L-D)/Math.PI+180;for(let _=0;_<A.length;++_){const U=A[_];if(U&&(U.start==null||H>=U.start)&&(U.end==null||H<=U.end))return!0}return!1}(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,c.x,c.y,this.options.scrollAngleRanges))return void(this._isScrolling=!0);var u,d,g,f;if(!this.monitor.isDragging()&&this._mouseClientOffset.hasOwnProperty("x")&&s&&(u=this._mouseClientOffset.x||0,d=this._mouseClientOffset.y||0,g=c.x,f=c.y,Math.sqrt(Math.pow(Math.abs(g-u),2)+Math.pow(Math.abs(f-d),2))>(this.options.touchSlop?this.options.touchSlop:0))&&(this.moveStartSourceIds=void 0,this.actions.beginDrag(s,{clientOffset:this._mouseClientOffset,getSourceClientOffset:this.getSourceClientOffset,publishSource:!1})),!this.monitor.isDragging())return;const h=this.sourceNodes.get(this.monitor.getSourceId());this.installSourceNodeRemovalObserver(h),this.actions.publishDragSource(),n.cancelable&&n.preventDefault();const m=(o||[]).map(D=>this.targetNodes.get(D)).filter(D=>!!D),y=this.options.getDropTargetElementsAtPoint?this.options.getDropTargetElementsAtPoint(c.x,c.y,m):this.document.elementsFromPoint(c.x,c.y),S=[];for(const D in y){if(!y.hasOwnProperty(D))continue;let b=y[D];for(b!=null&&S.push(b);b;)b=b.parentElement,b&&S.indexOf(b)===-1&&S.push(b)}const O=S.filter(D=>m.indexOf(D)>-1).map(D=>this._getDropTargetId(D)).filter(D=>!!D).filter((D,b,L)=>L.indexOf(D)===b);if(a)for(const D in this.targetNodes){const b=this.targetNodes.get(D);if(h&&b&&b.contains(h)&&O.indexOf(D)===-1){O.unshift(D);break}}O.reverse(),this.actions.hover(O,{clientOffset:c})},this._getDropTargetId=n=>{const s=this.targetNodes.keys();let o=s.next();for(;o.done===!1;){const a=o.value;if(n===this.targetNodes.get(a))return a;o=s.next()}},this.handleTopMoveEndCapture=n=>{this._isScrolling=!1,this.lastTargetTouchFallback=void 0,function(s){return s.buttons===void 0||!(s.buttons&vr)}(n)&&(this.monitor.isDragging()&&!this.monitor.didDrop()?(n.cancelable&&n.preventDefault(),this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.drop(),this.actions.endDrag()):this.moveStartSourceIds=void 0)},this.handleCancelOnEscape=n=>{n.key==="Escape"&&this.monitor.isDragging()&&(this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.endDrag())},this.options=new pr(i,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(P.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(P.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(P.keyboard)}}const Nr=function(r,t={},e={}){return new $(r,t,e)};export{Sr as H,Tr as O,Or as S,Nr as T,Cr as a,wr as b,Ir as g,Er as u};
@@ -1 +1 @@
1
- import{a as r}from"./sentry-CytkDQe2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="80539821-9efe-4799-9aa5-57e0ce8b1dd5",e._sentryDebugIdIdentifier="sentry-dbid-80539821-9efe-4799-9aa5-57e0ce8b1dd5")}catch{}})();const d=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M1.20007 11.9776C1.20007 14.8359 2.33556 17.5772 4.35673 19.5984C6.3779 21.6196 9.1192 22.7551 11.9776 22.7551C14.8359 22.7551 17.5772 21.6196 19.5984 19.5984C21.6196 17.5772 22.7551 14.8359 22.7551 11.9776C22.7551 9.1192 21.6196 6.3779 19.5984 4.35673C17.5772 2.33556 14.8359 1.20007 11.9776 1.20007C9.1192 1.20007 6.3779 2.33556 4.35673 4.35673C2.33556 6.3779 1.20007 9.1192 1.20007 11.9776Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8682 8.18176H11.8235C11.425 8.18191 11.0381 8.31658 10.7257 8.56398C10.4132 8.81138 10.1934 9.15702 10.1018 9.54492C10.0102 9.93282 10.0523 10.3403 10.2212 10.7013C10.39 11.0623 10.6758 11.3558 11.0322 11.5341L12.8936 12.4658C13.25 12.6441 13.5358 12.9376 13.7047 13.2986C13.8735 13.6596 13.9156 14.0671 13.824 14.455C13.7325 14.8429 13.5126 15.1885 13.2002 15.4359C12.8877 15.6833 12.5008 15.818 12.1023 15.8181H10.05",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M11.4857 15.8182V17.2501",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M12.4403 6.75V8.18182",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}));export{d as o};
1
+ import{a as r}from"./sentry-DINNQYpi.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="80539821-9efe-4799-9aa5-57e0ce8b1dd5",e._sentryDebugIdIdentifier="sentry-dbid-80539821-9efe-4799-9aa5-57e0ce8b1dd5")}catch{}})();const d=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M1.20007 11.9776C1.20007 14.8359 2.33556 17.5772 4.35673 19.5984C6.3779 21.6196 9.1192 22.7551 11.9776 22.7551C14.8359 22.7551 17.5772 21.6196 19.5984 19.5984C21.6196 17.5772 22.7551 14.8359 22.7551 11.9776C22.7551 9.1192 21.6196 6.3779 19.5984 4.35673C17.5772 2.33556 14.8359 1.20007 11.9776 1.20007C9.1192 1.20007 6.3779 2.33556 4.35673 4.35673C2.33556 6.3779 1.20007 9.1192 1.20007 11.9776Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8682 8.18176H11.8235C11.425 8.18191 11.0381 8.31658 10.7257 8.56398C10.4132 8.81138 10.1934 9.15702 10.1018 9.54492C10.0102 9.93282 10.0523 10.3403 10.2212 10.7013C10.39 11.0623 10.6758 11.3558 11.0322 11.5341L12.8936 12.4658C13.25 12.6441 13.5358 12.9376 13.7047 13.2986C13.8735 13.6596 13.9156 14.0671 13.824 14.455C13.7325 14.8429 13.5126 15.1885 13.2002 15.4359C12.8877 15.6833 12.5008 15.818 12.1023 15.8181H10.05",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M11.4857 15.8182V17.2501",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M12.4403 6.75V8.18182",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}));export{d as o};
@@ -0,0 +1 @@
1
+ import{bJ as f,bK as i,bL as l}from"./index-BocbTmE1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c7bfb461-df7d-4ca7-b69e-9cf513727893",e._sentryDebugIdIdentifier="sentry-dbid-c7bfb461-df7d-4ca7-b69e-9cf513727893")}catch{}})();async function c(e,a,o,d,n=!1){d?.(!0);try{const t=await f({urlEndPoint:e,authParams:o,fileType:"pdf"});if(t.ok){const r=i(t.headers,a),s=await t.arrayBuffer();l(s,n?r:a),d?.(!1)}else console.error(`${a} download Failed with ${t.statusText}`),d?.(!1)}catch(t){console.error(`${a} download Failed with ${JSON.stringify(t)}`),d?.(!1)}}export{c as w};
@@ -1 +1 @@
1
- import"./sentry-CytkDQe2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="9d2c64d8-2e54-467b-a8dd-a00c27284d84",e._sentryDebugIdIdentifier="sentry-dbid-9d2c64d8-2e54-467b-a8dd-a00c27284d84")}catch{}})();var n,r;function o(){return r?n:(r=1,n=null)}export{o as r};
1
+ import"./sentry-DINNQYpi.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="9d2c64d8-2e54-467b-a8dd-a00c27284d84",e._sentryDebugIdIdentifier="sentry-dbid-9d2c64d8-2e54-467b-a8dd-a00c27284d84")}catch{}})();var n,r;function o(){return r?n:(r=1,n=null)}export{o as r};
@@ -0,0 +1 @@
1
+ import{g as i}from"./sentry-DINNQYpi.js";import{r as d}from"./empty-CDKH4CBD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c4021abf-60bb-452e-bc82-60ce6bb1d6b6",e._sentryDebugIdIdentifier="sentry-dbid-c4021abf-60bb-452e-bc82-60ce6bb1d6b6")}catch{}})();function s(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const b=Object.getOwnPropertyDescriptor(r,n);b&&Object.defineProperty(e,n,b.get?b:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var f=d();const l=s({__proto__:null,default:i(f)},[f]);export{l as e};