@servicetitan/anvil2 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{Alert-9b9be403.js → Alert-149d9037.js} +4 -4
- package/{Alert-9b9be403.js.map → Alert-149d9037.js.map} +1 -1
- package/{Alert-f8312c73.cjs → Alert-7d5182e8.cjs} +2 -2
- package/{Alert-f8312c73.cjs.map → Alert-7d5182e8.cjs.map} +1 -1
- package/Alert.cjs +1 -1
- package/Alert.cjs.map +1 -1
- package/Alert.d.ts +7 -3
- package/Alert.js +18 -7
- package/Alert.js.map +1 -1
- package/{Announcement-2da2a353.cjs → Announcement-9d19ebaa.cjs} +2 -2
- package/{Announcement-2da2a353.cjs.map → Announcement-9d19ebaa.cjs.map} +1 -1
- package/{Announcement-01964ff1.js → Announcement-f14d030c.js} +4 -4
- package/{Announcement-01964ff1.js.map → Announcement-f14d030c.js.map} +1 -1
- package/Announcement.cjs +1 -1
- package/Announcement.cjs.map +1 -1
- package/Announcement.d.ts +7 -3
- package/Announcement.js +18 -7
- package/Announcement.js.map +1 -1
- package/AnvilProvider.cjs +1 -1
- package/AnvilProvider.d.ts +6 -0
- package/AnvilProvider.js +4 -3
- package/{Avatar-bff54b28.js → Avatar-17501a10.js} +17 -17
- package/{Avatar-bff54b28.js.map → Avatar-17501a10.js.map} +1 -1
- package/{Avatar-68eccd63.cjs → Avatar-61870e8f.cjs} +2 -2
- package/{Avatar-68eccd63.cjs.map → Avatar-61870e8f.cjs.map} +1 -1
- package/Avatar.cjs +1 -1
- package/Avatar.d.ts +6 -6
- package/Avatar.js +1 -1
- package/{Badge-a5e78d6e.cjs → Badge-7a10a62b.cjs} +2 -2
- package/{Badge-a5e78d6e.cjs.map → Badge-7a10a62b.cjs.map} +1 -1
- package/{Badge-1c0d0287.js → Badge-bc79fd97.js} +3 -3
- package/{Badge-1c0d0287.js.map → Badge-bc79fd97.js.map} +1 -1
- package/Badge.cjs +1 -1
- package/Badge.d.ts +3 -3
- package/Badge.js +1 -1
- package/{Button-6054b7d9.js → Button-6c5781ad.js} +16 -16
- package/{Button-6054b7d9.js.map → Button-6c5781ad.js.map} +1 -1
- package/{Button-a947c7df.cjs → Button-c99ab366.cjs} +2 -2
- package/{Button-a947c7df.cjs.map → Button-c99ab366.cjs.map} +1 -1
- package/Button.cjs +1 -1
- package/Button.cjs.map +1 -1
- package/Button.d.ts +6 -2
- package/Button.js +21 -7
- package/Button.js.map +1 -1
- package/ButtonCompound.cjs +1 -1
- package/ButtonCompound.cjs.map +1 -1
- package/ButtonCompound.d.ts +7 -3
- package/ButtonCompound.js +19 -7
- package/ButtonCompound.js.map +1 -1
- package/ButtonLink.cjs +1 -1
- package/ButtonLink.cjs.map +1 -1
- package/ButtonLink.d.ts +12 -8
- package/ButtonLink.js +22 -7
- package/ButtonLink.js.map +1 -1
- package/ButtonToggle.cjs +1 -1
- package/ButtonToggle.cjs.map +1 -1
- package/ButtonToggle.d.ts +12 -8
- package/ButtonToggle.js +21 -7
- package/ButtonToggle.js.map +1 -1
- package/{Calendar-db99f08b.js → Calendar-429d44ca.js} +4 -4
- package/{Calendar-db99f08b.js.map → Calendar-429d44ca.js.map} +1 -1
- package/{Calendar-46cd1f54.cjs → Calendar-8a988b1b.cjs} +2 -2
- package/{Calendar-46cd1f54.cjs.map → Calendar-8a988b1b.cjs.map} +1 -1
- package/Calendar.cjs +1 -1
- package/Calendar.d.ts +45 -45
- package/Calendar.js +1 -1
- package/{Card-365760fb.js → Card-8c481846.js} +2 -2
- package/{Card-365760fb.js.map → Card-8c481846.js.map} +1 -1
- package/{Card-4212dc8d.cjs → Card-bd9bce0c.cjs} +2 -2
- package/{Card-4212dc8d.cjs.map → Card-bd9bce0c.cjs.map} +1 -1
- package/Card.cjs +1 -1
- package/Card.d.ts +2 -2
- package/Card.js +1 -1
- package/{Checkbox-f9806cbc.js → Checkbox-34dd779e.js} +19 -19
- package/{Checkbox-f9806cbc.js.map → Checkbox-34dd779e.js.map} +1 -1
- package/{Checkbox-1fac1f11.cjs → Checkbox-68e81b7f.cjs} +2 -2
- package/{Checkbox-1fac1f11.cjs.map → Checkbox-68e81b7f.cjs.map} +1 -1
- package/Checkbox.cjs +1 -1
- package/Checkbox.cjs.map +1 -1
- package/Checkbox.d.ts +13 -10
- package/Checkbox.js +25 -12
- package/Checkbox.js.map +1 -1
- package/{Chip-61edfd39.js → Chip-58074ae4.js} +16 -16
- package/{Chip-61edfd39.js.map → Chip-58074ae4.js.map} +1 -1
- package/{Chip-a9be7ed4.cjs → Chip-dc170777.cjs} +2 -2
- package/{Chip-a9be7ed4.cjs.map → Chip-dc170777.cjs.map} +1 -1
- package/Chip.cjs +1 -1
- package/Chip.cjs.map +1 -1
- package/Chip.d.ts +11 -7
- package/Chip.js +15 -7
- package/Chip.js.map +1 -1
- package/{Combobox-15edb0b7.js → Combobox-326aa7b2.js} +15 -14
- package/{Combobox-15edb0b7.js.map → Combobox-326aa7b2.js.map} +1 -1
- package/{Combobox-2c631320.cjs → Combobox-7c838179.cjs} +5 -5
- package/{Combobox-2c631320.cjs.map → Combobox-7c838179.cjs.map} +1 -1
- package/Combobox.cjs +1 -1
- package/Combobox.cjs.map +1 -1
- package/Combobox.d.ts +10 -6
- package/Combobox.js +50 -28
- package/Combobox.js.map +1 -1
- package/{Details-5aae3aa8.js → Details-cad7edb7.js} +32 -32
- package/{Details-5aae3aa8.js.map → Details-cad7edb7.js.map} +1 -1
- package/{Details-efb16082.cjs → Details-d259664a.cjs} +2 -2
- package/{Details-efb16082.cjs.map → Details-d259664a.cjs.map} +1 -1
- package/Details.cjs +1 -1
- package/Details.cjs.map +1 -1
- package/Details.d.ts +13 -9
- package/Details.js +26 -16
- package/Details.js.map +1 -1
- package/{Dialog-f72622c3.js → Dialog-368b979d.js} +18 -18
- package/{Dialog-f72622c3.js.map → Dialog-368b979d.js.map} +1 -1
- package/{Dialog-4253cce0.cjs → Dialog-587161c8.cjs} +2 -2
- package/{Dialog-4253cce0.cjs.map → Dialog-587161c8.cjs.map} +1 -1
- package/Dialog.cjs +1 -1
- package/Dialog.cjs.map +1 -1
- package/Dialog.d.ts +19 -48
- package/Dialog.js +49 -20
- package/Dialog.js.map +1 -1
- package/{Divider-74679695.cjs → Divider-054344df.cjs} +2 -2
- package/{Divider-74679695.cjs.map → Divider-054344df.cjs.map} +1 -1
- package/{Divider-3c208037.js → Divider-bb317cfa.js} +2 -2
- package/{Divider-3c208037.js.map → Divider-bb317cfa.js.map} +1 -1
- package/Divider.cjs +1 -1
- package/Divider.d.ts +3 -3
- package/Divider.js +1 -1
- package/{Drawer-e55378d2.cjs → Drawer-1b23dc18.cjs} +2 -2
- package/{Drawer-e55378d2.cjs.map → Drawer-1b23dc18.cjs.map} +1 -1
- package/{Drawer-4a93f21b.js → Drawer-57c3edae.js} +36 -36
- package/{Drawer-4a93f21b.js.map → Drawer-57c3edae.js.map} +1 -1
- package/Drawer.cjs +1 -1
- package/Drawer.cjs.map +1 -1
- package/Drawer.d.ts +18 -47
- package/Drawer.js +53 -24
- package/Drawer.js.map +1 -1
- package/{Flex-7e74d309.cjs → Flex-2c1b5dac.cjs} +2 -2
- package/{Flex-7e74d309.cjs.map → Flex-2c1b5dac.cjs.map} +1 -1
- package/{Flex-88f1d8d1.js → Flex-8986d95b.js} +6 -6
- package/{Flex-88f1d8d1.js.map → Flex-8986d95b.js.map} +1 -1
- package/Flex.cjs +1 -1
- package/Flex.d.ts +35 -35
- package/Flex.js +1 -1
- package/{Grid-88d82e23.js → Grid-082b0fe7.js} +4 -4
- package/{Grid-88d82e23.js.map → Grid-082b0fe7.js.map} +1 -1
- package/{Grid-250cb165.cjs → Grid-758a3a1a.cjs} +2 -2
- package/{Grid-250cb165.cjs.map → Grid-758a3a1a.cjs.map} +1 -1
- package/Grid.cjs +1 -1
- package/Grid.d.ts +41 -41
- package/Grid.js +1 -1
- package/{Helper-74a1f07f-56e7c8de.js → Helper-74a1f07f-13255568.js} +3 -3
- package/{Helper-74a1f07f-56e7c8de.js.map → Helper-74a1f07f-13255568.js.map} +1 -1
- package/{Helper-74a1f07f-2e0f4273.cjs → Helper-74a1f07f-18d0650d.cjs} +2 -2
- package/{Helper-74a1f07f-2e0f4273.cjs.map → Helper-74a1f07f-18d0650d.cjs.map} +1 -1
- package/{Icon-f1045beb.cjs → Icon-cc1f63c3.cjs} +2 -2
- package/{Icon-f1045beb.cjs.map → Icon-cc1f63c3.cjs.map} +1 -1
- package/{Icon-52e14d4e.js → Icon-fe240903.js} +2 -2
- package/{Icon-52e14d4e.js.map → Icon-fe240903.js.map} +1 -1
- package/Icon.cjs +1 -1
- package/Icon.d.ts +4 -4
- package/Icon.js +1 -1
- package/{Label-1e720bb8.cjs → Label-1367ed9b.cjs} +2 -2
- package/{Label-1e720bb8.cjs.map → Label-1367ed9b.cjs.map} +1 -1
- package/{Label-a8c57a5d.js → Label-ba22bf55.js} +5 -5
- package/{Label-a8c57a5d.js.map → Label-ba22bf55.js.map} +1 -1
- package/Layout.cjs +1 -1
- package/Layout.d.ts +18 -18
- package/Layout.js +7 -7
- package/Layout.js.map +1 -1
- package/{Link-bb64defc.cjs → Link-0073e9fb.cjs} +2 -2
- package/{Link-bb64defc.cjs.map → Link-0073e9fb.cjs.map} +1 -1
- package/{Link-9d24095b.js → Link-60e4b146.js} +3 -3
- package/{Link-9d24095b.js.map → Link-60e4b146.js.map} +1 -1
- package/Link.cjs +1 -1
- package/Link.cjs.map +1 -1
- package/Link.d.ts +6 -3
- package/Link.js +19 -7
- package/Link.js.map +1 -1
- package/{ListView-5325f570.js → ListView-803c6f3f.js} +48 -48
- package/{ListView-5325f570.js.map → ListView-803c6f3f.js.map} +1 -1
- package/{ListView-02c0eee3.cjs → ListView-b16e0dfb.cjs} +2 -2
- package/{ListView-02c0eee3.cjs.map → ListView-b16e0dfb.cjs.map} +1 -1
- package/ListView.cjs +1 -1
- package/ListView.cjs.map +1 -1
- package/ListView.d.ts +7 -3
- package/ListView.js +28 -17
- package/ListView.js.map +1 -1
- package/{Listbox-7cd1c816.cjs → Listbox-91574e4b.cjs} +2 -2
- package/{Listbox-7cd1c816.cjs.map → Listbox-91574e4b.cjs.map} +1 -1
- package/{Listbox-a34f738b.js → Listbox-978a7039.js} +24 -24
- package/{Listbox-a34f738b.js.map → Listbox-978a7039.js.map} +1 -1
- package/Listbox.cjs +1 -1
- package/Listbox.cjs.map +1 -1
- package/Listbox.d.ts +8 -4
- package/Listbox.js +28 -16
- package/Listbox.js.map +1 -1
- package/{Menu-c8bf4232.cjs → Menu-000bcb0e.cjs} +2 -2
- package/{Menu-c8bf4232.cjs.map → Menu-000bcb0e.cjs.map} +1 -1
- package/{Menu-b4ffc0bd.js → Menu-e56e9f7d.js} +26 -26
- package/{Menu-b4ffc0bd.js.map → Menu-e56e9f7d.js.map} +1 -1
- package/Menu.cjs +1 -1
- package/Menu.cjs.map +1 -1
- package/Menu.d.ts +11 -8
- package/Menu.js +30 -10
- package/Menu.js.map +1 -1
- package/Overflow.cjs +1 -1
- package/Overflow.cjs.map +1 -1
- package/Overflow.d.ts +9 -5
- package/Overflow.js +159 -134
- package/Overflow.js.map +1 -1
- package/Page.cjs +1 -1
- package/Page.cjs.map +1 -1
- package/Page.d.ts +11 -8
- package/Page.js +108 -100
- package/Page.js.map +1 -1
- package/{Popover-0dcd0e5b.js → Popover-0d2fc807.js} +15 -15
- package/{Popover-0dcd0e5b.js.map → Popover-0d2fc807.js.map} +1 -1
- package/{Popover-0f5f9062.cjs → Popover-3da94d19.cjs} +2 -2
- package/{Popover-0f5f9062.cjs.map → Popover-3da94d19.cjs.map} +1 -1
- package/Popover.cjs +1 -1
- package/Popover.cjs.map +1 -1
- package/Popover.d.ts +24 -96
- package/Popover.js +43 -20
- package/Popover.js.map +1 -1
- package/{ProgressBar-544184e3.js → ProgressBar-161555cb.js} +8 -8
- package/{ProgressBar-544184e3.js.map → ProgressBar-161555cb.js.map} +1 -1
- package/{ProgressBar-4dcc2f0f.cjs → ProgressBar-cf9553f7.cjs} +2 -2
- package/{ProgressBar-4dcc2f0f.cjs.map → ProgressBar-cf9553f7.cjs.map} +1 -1
- package/ProgressBar.cjs +1 -1
- package/ProgressBar.js +1 -1
- package/{Radio-38ca63a4.cjs → Radio-470d07a0.cjs} +2 -2
- package/{Radio-38ca63a4.cjs.map → Radio-470d07a0.cjs.map} +1 -1
- package/{Radio-6cffbb08.js → Radio-67ac4216.js} +3 -3
- package/{Radio-6cffbb08.js.map → Radio-67ac4216.js.map} +1 -1
- package/Radio.cjs +1 -1
- package/Radio.cjs.map +1 -1
- package/Radio.d.ts +13 -10
- package/Radio.js +25 -11
- package/Radio.js.map +1 -1
- package/{SideNav-6933fe8a.js → SideNav-611b3160.js} +23 -23
- package/{SideNav-6933fe8a.js.map → SideNav-611b3160.js.map} +1 -1
- package/{SideNav-404b894d.cjs → SideNav-fc95b48a.cjs} +2 -2
- package/{SideNav-404b894d.cjs.map → SideNav-fc95b48a.cjs.map} +1 -1
- package/SideNav.cjs +3 -3
- package/SideNav.cjs.map +1 -1
- package/SideNav.d.ts +25 -26
- package/SideNav.js +3 -3
- package/{Spinner-e6a0837b-f93c6099.cjs → Spinner-e6a0837b-26d0d1e9.cjs} +2 -2
- package/{Spinner-e6a0837b-f93c6099.cjs.map → Spinner-e6a0837b-26d0d1e9.cjs.map} +1 -1
- package/{Spinner-e6a0837b-facaafc6.js → Spinner-e6a0837b-33d456d3.js} +2 -2
- package/{Spinner-e6a0837b-facaafc6.js.map → Spinner-e6a0837b-33d456d3.js.map} +1 -1
- package/{SrOnly-6b9efe73.js → SrOnly-8b5e28e8.js} +2 -2
- package/{SrOnly-6b9efe73.js.map → SrOnly-8b5e28e8.js.map} +1 -1
- package/SrOnly-d8f3425a.cjs +2 -0
- package/{SrOnly-bbef7e22.cjs.map → SrOnly-d8f3425a.cjs.map} +1 -1
- package/SrOnly.cjs +1 -1
- package/SrOnly.js +1 -1
- package/{Stepper-9d249c75.cjs → Stepper-67387f7b.cjs} +2 -2
- package/{Stepper-9d249c75.cjs.map → Stepper-67387f7b.cjs.map} +1 -1
- package/{Stepper-68017e2a.js → Stepper-db9a8402.js} +25 -23
- package/{Stepper-68017e2a.js.map → Stepper-db9a8402.js.map} +1 -1
- package/Stepper.cjs +1 -1
- package/Stepper.cjs.map +1 -1
- package/Stepper.d.ts +58 -48
- package/Stepper.js +66 -32
- package/Stepper.js.map +1 -1
- package/{Switch-4692c583.js → Switch-5dbf0a8f.js} +3 -3
- package/{Switch-4692c583.js.map → Switch-5dbf0a8f.js.map} +1 -1
- package/{Switch-64d3899f.cjs → Switch-cb344773.cjs} +2 -2
- package/{Switch-64d3899f.cjs.map → Switch-cb344773.cjs.map} +1 -1
- package/Switch.cjs +1 -1
- package/Switch.cjs.map +1 -1
- package/Switch.d.ts +12 -6
- package/Switch.js +20 -7
- package/Switch.js.map +1 -1
- package/{Tab-cce7124e.cjs → Tab-009f9af1.cjs} +3 -3
- package/{Tab-cce7124e.cjs.map → Tab-009f9af1.cjs.map} +1 -1
- package/{Tab-6284f9f4.js → Tab-b86d3aed.js} +24 -24
- package/{Tab-6284f9f4.js.map → Tab-b86d3aed.js.map} +1 -1
- package/Tab.cjs +1 -1
- package/Tab.cjs.map +1 -1
- package/Tab.d.ts +10 -6
- package/Tab.js +29 -18
- package/Tab.js.map +1 -1
- package/{Text-d18dce57.cjs → Text-559b1249.cjs} +2 -2
- package/{Text-d18dce57.cjs.map → Text-559b1249.cjs.map} +1 -1
- package/{Text-5cc984cd.js → Text-ba9bbdb2.js} +2 -2
- package/{Text-5cc984cd.js.map → Text-ba9bbdb2.js.map} +1 -1
- package/Text.cjs +1 -1
- package/Text.js +1 -1
- package/{TextField-c5be914c.cjs → TextField-2abebc74.cjs} +2 -2
- package/{TextField-c5be914c.cjs.map → TextField-2abebc74.cjs.map} +1 -1
- package/{TextField-e1f03333.js → TextField-2e6ec7d8.js} +17 -17
- package/{TextField-e1f03333.js.map → TextField-2e6ec7d8.js.map} +1 -1
- package/TextField.cjs +1 -1
- package/TextField.cjs.map +1 -1
- package/TextField.d.ts +3 -1
- package/TextField.js +23 -7
- package/TextField.js.map +1 -1
- package/{Textarea-3a8cd093.js → Textarea-2e283179.js} +13 -13
- package/{Textarea-3a8cd093.js.map → Textarea-2e283179.js.map} +1 -1
- package/{Textarea-aa63a45e.cjs → Textarea-d1e61f9e.cjs} +2 -2
- package/{Textarea-aa63a45e.cjs.map → Textarea-d1e61f9e.cjs.map} +1 -1
- package/Textarea.cjs +1 -1
- package/Textarea.cjs.map +1 -1
- package/Textarea.d.ts +7 -1
- package/Textarea.js +21 -7
- package/Textarea.js.map +1 -1
- package/ThemeProvider.cjs +1 -1
- package/ThemeProvider.js +1 -1
- package/Toast-5de82463.js +550 -0
- package/Toast-5de82463.js.map +1 -0
- package/Toast-829a5d4c.cjs +9 -0
- package/Toast-829a5d4c.cjs.map +1 -0
- package/Toast.cjs +1 -1
- package/Toast.d.ts +5 -6
- package/Toast.js +1 -1
- package/{Tooltip-46963b9c.cjs → Tooltip-426cf3f2.cjs} +2 -2
- package/{Tooltip-46963b9c.cjs.map → Tooltip-426cf3f2.cjs.map} +1 -1
- package/{Tooltip-727d82b1.js → Tooltip-5ac87fb5.js} +11 -11
- package/{Tooltip-727d82b1.js.map → Tooltip-5ac87fb5.js.map} +1 -1
- package/Tooltip.cjs +1 -1
- package/Tooltip.cjs.map +1 -1
- package/Tooltip.d.ts +14 -5
- package/Tooltip.js +26 -16
- package/Tooltip.js.map +1 -1
- package/TrackingProvider.cjs +15 -0
- package/TrackingProvider.cjs.map +1 -0
- package/TrackingProvider.d.ts +20 -0
- package/TrackingProvider.js +5015 -0
- package/TrackingProvider.js.map +1 -0
- package/_commonjsHelpers-6763f629.cjs +2 -0
- package/_commonjsHelpers-6763f629.cjs.map +1 -0
- package/_commonjsHelpers-c5d32002.js +31 -0
- package/_commonjsHelpers-c5d32002.js.map +1 -0
- package/anvil2.cjs +1 -1
- package/anvil2.d.ts +450 -545
- package/anvil2.js +75 -72
- package/anvil2.js.map +1 -1
- package/{floating-ui.react-20365654.js → floating-ui.react-112e50ac.js} +10412 -10325
- package/floating-ui.react-112e50ac.js.map +1 -0
- package/floating-ui.react-d0c0de5b.cjs +174 -0
- package/floating-ui.react-d0c0de5b.cjs.map +1 -0
- package/{index-0fcc8f2c.js → index-06c0bdf0.js} +2 -2
- package/{index-0fcc8f2c.js.map → index-06c0bdf0.js.map} +1 -1
- package/{index-88f64542.cjs → index-6b2dd375.cjs} +6 -6
- package/{index-88f64542.cjs.map → index-6b2dd375.cjs.map} +1 -1
- package/index-a53df036.cjs +2 -0
- package/{index-3a42c2f5.cjs.map → index-a53df036.cjs.map} +1 -1
- package/{index-b5a703ca.js → index-b7d85e89.js} +14 -13
- package/{index-b5a703ca.js.map → index-b7d85e89.js.map} +1 -1
- package/index-c6e22bb9.js +43 -0
- package/{index-6c0d3173.js.map → index-c6e22bb9.js.map} +1 -1
- package/{index-d92d2eb5.js → index-de952381.js} +2 -2
- package/{index-d92d2eb5.js.map → index-de952381.js.map} +1 -1
- package/{index-e1f04536-33ebb65b.js → index-e1f04536-df16a5fd.js} +3 -3
- package/{index-e1f04536-33ebb65b.js.map → index-e1f04536-df16a5fd.js.map} +1 -1
- package/{index-e1f04536-67254699.cjs → index-e1f04536-fde0e811.cjs} +2 -2
- package/{index-e1f04536-67254699.cjs.map → index-e1f04536-fde0e811.cjs.map} +1 -1
- package/index-e2588790.cjs +2 -0
- package/{index-a8953a8d.cjs.map → index-e2588790.cjs.map} +1 -1
- package/index-ef2e9d11.cjs +6 -0
- package/{index-2bd62884.cjs.map → index-ef2e9d11.cjs.map} +1 -1
- package/package.json +35 -30
- package/useAccessibleColor.cjs +1 -1
- package/useAccessibleColor.js +39 -39
- package/useLinkStyles.cjs +1 -1
- package/useLinkStyles.js +38 -38
- package/useMergeRefs.cjs +1 -1
- package/useMergeRefs.js +39 -39
- package/usePrefersColorScheme.cjs +1 -1
- package/usePrefersColorScheme.js +38 -38
- package/useSwipe.cjs +1 -1
- package/useSwipe.js +38 -38
- package/useTrackingId.cjs +2 -0
- package/useTrackingId.cjs.map +1 -0
- package/useTrackingId.d.ts +9 -0
- package/useTrackingId.js +13 -0
- package/useTrackingId.js.map +1 -0
- package/SrOnly-bbef7e22.cjs +0 -2
- package/Toast-12784d2f.js +0 -551
- package/Toast-12784d2f.js.map +0 -1
- package/Toast-a72a1b01.cjs +0 -9
- package/Toast-a72a1b01.cjs.map +0 -1
- package/floating-ui.react-20365654.js.map +0 -1
- package/floating-ui.react-34d1b069.cjs +0 -174
- package/floating-ui.react-34d1b069.cjs.map +0 -1
- package/index-2bd62884.cjs +0 -6
- package/index-3a42c2f5.cjs +0 -2
- package/index-6c0d3173.js +0 -48
- package/index-a8953a8d.cjs +0 -2
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
"use strict";const su=require("react");function EM(f){const p=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(f){for(const v in f)if(v!=="default"){const g=Object.getOwnPropertyDescriptor(f,v);Object.defineProperty(p,v,g.get?g:{enumerable:!0,get:()=>f[v]})}}return p.default=f,Object.freeze(p)}const H=EM(su);function vu(f){return eT(f)?(f.nodeName||"").toLowerCase():"#document"}function Ei(f){var p;return(f==null||(p=f.ownerDocument)==null?void 0:p.defaultView)||window}function io(f){var p;return(p=(eT(f)?f.ownerDocument:f.document)||window.document)==null?void 0:p.documentElement}function eT(f){return f instanceof Node||f instanceof Ei(f).Node}function Wt(f){return f instanceof Element||f instanceof Ei(f).Element}function Hn(f){return f instanceof HTMLElement||f instanceof Ei(f).HTMLElement}function TE(f){return typeof ShadowRoot>"u"?!1:f instanceof ShadowRoot||f instanceof Ei(f).ShadowRoot}function uv(f){const{overflow:p,overflowX:v,overflowY:g,display:C}=zi(f);return/auto|scroll|overlay|hidden|clip/.test(p+g+v)&&!["inline","contents"].includes(C)}function CM(f){return["table","td","th"].includes(vu(f))}function _y(f){return[":popover-open",":modal"].some(p=>{try{return f.matches(p)}catch{return!1}})}function LE(f){const p=_E(),v=zi(f);return v.transform!=="none"||v.perspective!=="none"||(v.containerType?v.containerType!=="normal":!1)||!p&&(v.backdropFilter?v.backdropFilter!=="none":!1)||!p&&(v.filter?v.filter!=="none":!1)||["transform","perspective","filter"].some(g=>(v.willChange||"").includes(g))||["paint","layout","strict","content"].some(g=>(v.contain||"").includes(g))}function RM(f){let p=no(f);for(;Hn(p)&&!cu(p);){if(_y(p))return null;if(LE(p))return p;p=no(p)}return null}function _E(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function cu(f){return["html","body","#document"].includes(vu(f))}function zi(f){return Ei(f).getComputedStyle(f)}function Ny(f){return Wt(f)?{scrollLeft:f.scrollLeft,scrollTop:f.scrollTop}:{scrollLeft:f.scrollX,scrollTop:f.scrollY}}function no(f){if(vu(f)==="html")return f;const p=f.assignedSlot||f.parentNode||TE(f)&&f.host||io(f);return TE(p)?p.host:p}function tT(f){const p=no(f);return cu(p)?f.ownerDocument?f.ownerDocument.body:f.body:Hn(p)&&uv(p)?p:tT(p)}function uu(f,p,v){var g;p===void 0&&(p=[]),v===void 0&&(v=!0);const C=tT(f),R=C===((g=f.ownerDocument)==null?void 0:g.body),m=Ei(C);return R?p.concat(m,m.visualViewport||[],uv(C)?C:[],m.frameElement&&v?uu(m.frameElement):[]):p.concat(C,uu(C,[],v))}function Da(f){let p=f.activeElement;for(;((v=p)==null||(v=v.shadowRoot)==null?void 0:v.activeElement)!=null;){var v;p=p.shadowRoot.activeElement}return p}function Fn(f,p){if(!f||!p)return!1;const v=p.getRootNode==null?void 0:p.getRootNode();if(f.contains(p))return!0;if(v&&TE(v)){let g=p;for(;g;){if(f===g)return!0;g=g.parentNode||g.host}}return!1}function nT(){const f=navigator.userAgentData;return f!=null&&f.platform?f.platform:navigator.platform}function rT(){const f=navigator.userAgentData;return f&&Array.isArray(f.brands)?f.brands.map(p=>{let{brand:v,version:g}=p;return v+"/"+g}).join(" "):navigator.userAgent}function iT(f){return f.mozInputSource===0&&f.isTrusted?!0:wE()&&f.pointerType?f.type==="click"&&f.buttons===1:f.detail===0&&!f.pointerType}function NE(f){return xM()?!1:!wE()&&f.width===0&&f.height===0||wE()&&f.width===1&&f.height===1&&f.pressure===0&&f.detail===0&&f.pointerType==="mouse"||f.width<1&&f.height<1&&f.pressure===0&&f.detail===0&&f.pointerType==="touch"}function AE(){return/apple/i.test(navigator.vendor)}function wE(){const f=/android/i;return f.test(nT())||f.test(rT())}function aT(){return nT().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function xM(){return rT().includes("jsdom/")}function iv(f,p){const v=["mouse","pen"];return p||v.push("",void 0),v.includes(f)}function TM(f){return"nativeEvent"in f}function wM(f){return f.matches("html,body")}function Er(f){return(f==null?void 0:f.ownerDocument)||document}function hE(f,p){if(p==null)return!1;if("composedPath"in f)return f.composedPath().includes(p);const v=f;return v.target!=null&&p.contains(v.target)}function to(f){return"composedPath"in f?f.composedPath()[0]:f.target}const bM="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function zE(f){return Hn(f)&&f.matches(bM)}function Sr(f){f.preventDefault(),f.stopPropagation()}function lT(f){return f?f.getAttribute("role")==="combobox"&&zE(f):!1}const sl=Math.min,Ni=Math.max,Ty=Math.round,Mf=Math.floor,fu=f=>({x:f,y:f}),DM={left:"right",right:"left",bottom:"top",top:"bottom"},kM={start:"end",end:"start"};function bE(f,p,v){return Ni(f,sl(p,v))}function du(f,p){return typeof f=="function"?f(p):f}function ro(f){return f.split("-")[0]}function Af(f){return f.split("-")[1]}function UE(f){return f==="x"?"y":"x"}function FE(f){return f==="y"?"height":"width"}function pu(f){return["top","bottom"].includes(ro(f))?"y":"x"}function HE(f){return UE(pu(f))}function OM(f,p,v){v===void 0&&(v=!1);const g=Af(f),C=HE(f),R=FE(C);let m=C==="x"?g===(v?"end":"start")?"right":"left":g==="start"?"bottom":"top";return p.reference[R]>p.floating[R]&&(m=wy(m)),[m,wy(m)]}function MM(f){const p=wy(f);return[DE(f),p,DE(p)]}function DE(f){return f.replace(/start|end/g,p=>kM[p])}function LM(f,p,v){const g=["left","right"],C=["right","left"],R=["top","bottom"],m=["bottom","top"];switch(f){case"top":case"bottom":return v?p?C:g:p?g:C;case"left":case"right":return p?R:m;default:return[]}}function _M(f,p,v,g){const C=Af(f);let R=LM(ro(f),v==="start",g);return C&&(R=R.map(m=>m+"-"+C),p&&(R=R.concat(R.map(DE)))),R}function wy(f){return f.replace(/left|right|bottom|top/g,p=>DM[p])}function NM(f){return{top:0,right:0,bottom:0,left:0,...f}}function oT(f){return typeof f!="number"?NM(f):{top:f,right:f,bottom:f,left:f}}function by(f){const{x:p,y:v,width:g,height:C}=f;return{width:g,height:C,top:v,left:p,right:p+g,bottom:v+C,x:p,y:v}}/*!
|
|
2
|
+
* tabbable 6.2.0
|
|
3
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4
|
+
*/var AM=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Dy=AM.join(","),uT=typeof Element>"u",_f=uT?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ky=!uT&&Element.prototype.getRootNode?function(f){var p;return f==null||(p=f.getRootNode)===null||p===void 0?void 0:p.call(f)}:function(f){return f==null?void 0:f.ownerDocument},Oy=function f(p,v){var g;v===void 0&&(v=!0);var C=p==null||(g=p.getAttribute)===null||g===void 0?void 0:g.call(p,"inert"),R=C===""||C==="true",m=R||v&&p&&f(p.parentNode);return m},zM=function(p){var v,g=p==null||(v=p.getAttribute)===null||v===void 0?void 0:v.call(p,"contenteditable");return g===""||g==="true"},UM=function(p,v,g){if(Oy(p))return[];var C=Array.prototype.slice.apply(p.querySelectorAll(Dy));return v&&_f.call(p,Dy)&&C.unshift(p),C=C.filter(g),C},FM=function f(p,v,g){for(var C=[],R=Array.from(p);R.length;){var m=R.shift();if(!Oy(m,!1))if(m.tagName==="SLOT"){var M=m.assignedElements(),D=M.length?M:m.children,w=f(D,!0,g);g.flatten?C.push.apply(C,w):C.push({scopeParent:m,candidates:w})}else{var F=_f.call(m,Dy);F&&g.filter(m)&&(v||!p.includes(m))&&C.push(m);var O=m.shadowRoot||typeof g.getShadowRoot=="function"&&g.getShadowRoot(m),U=!Oy(O,!1)&&(!g.shadowRootFilter||g.shadowRootFilter(m));if(O&&U){var b=f(O===!0?m.children:O.children,!0,g);g.flatten?C.push.apply(C,b):C.push({scopeParent:m,candidates:b})}else R.unshift.apply(R,m.children)}}return C},sT=function(p){return!isNaN(parseInt(p.getAttribute("tabindex"),10))},cT=function(p){if(!p)throw new Error("No node provided");return p.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(p.tagName)||zM(p))&&!sT(p)?0:p.tabIndex},HM=function(p,v){var g=cT(p);return g<0&&v&&!sT(p)?0:g},PM=function(p,v){return p.tabIndex===v.tabIndex?p.documentOrder-v.documentOrder:p.tabIndex-v.tabIndex},fT=function(p){return p.tagName==="INPUT"},VM=function(p){return fT(p)&&p.type==="hidden"},IM=function(p){var v=p.tagName==="DETAILS"&&Array.prototype.slice.apply(p.children).some(function(g){return g.tagName==="SUMMARY"});return v},jM=function(p,v){for(var g=0;g<p.length;g++)if(p[g].checked&&p[g].form===v)return p[g]},BM=function(p){if(!p.name)return!0;var v=p.form||ky(p),g=function(M){return v.querySelectorAll('input[type="radio"][name="'+M+'"]')},C;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")C=g(window.CSS.escape(p.name));else try{C=g(p.name)}catch(m){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",m.message),!1}var R=jM(C,p.form);return!R||R===p},$M=function(p){return fT(p)&&p.type==="radio"},YM=function(p){return $M(p)&&!BM(p)},QM=function(p){var v,g=p&&ky(p),C=(v=g)===null||v===void 0?void 0:v.host,R=!1;if(g&&g!==p){var m,M,D;for(R=!!((m=C)!==null&&m!==void 0&&(M=m.ownerDocument)!==null&&M!==void 0&&M.contains(C)||p!=null&&(D=p.ownerDocument)!==null&&D!==void 0&&D.contains(p));!R&&C;){var w,F,O;g=ky(C),C=(w=g)===null||w===void 0?void 0:w.host,R=!!((F=C)!==null&&F!==void 0&&(O=F.ownerDocument)!==null&&O!==void 0&&O.contains(C))}}return R},xx=function(p){var v=p.getBoundingClientRect(),g=v.width,C=v.height;return g===0&&C===0},WM=function(p,v){var g=v.displayCheck,C=v.getShadowRoot;if(getComputedStyle(p).visibility==="hidden")return!0;var R=_f.call(p,"details>summary:first-of-type"),m=R?p.parentElement:p;if(_f.call(m,"details:not([open]) *"))return!0;if(!g||g==="full"||g==="legacy-full"){if(typeof C=="function"){for(var M=p;p;){var D=p.parentElement,w=ky(p);if(D&&!D.shadowRoot&&C(D)===!0)return xx(p);p.assignedSlot?p=p.assignedSlot:!D&&w!==p.ownerDocument?p=w.host:p=D}p=M}if(QM(p))return!p.getClientRects().length;if(g!=="legacy-full")return!0}else if(g==="non-zero-area")return xx(p);return!1},GM=function(p){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(p.tagName))for(var v=p.parentElement;v;){if(v.tagName==="FIELDSET"&&v.disabled){for(var g=0;g<v.children.length;g++){var C=v.children.item(g);if(C.tagName==="LEGEND")return _f.call(v,"fieldset[disabled] *")?!0:!C.contains(p)}return!0}v=v.parentElement}return!1},KM=function(p,v){return!(v.disabled||Oy(v)||VM(v)||WM(v,p)||IM(v)||GM(v))},kE=function(p,v){return!(YM(v)||cT(v)<0||!KM(p,v))},XM=function(p){var v=parseInt(p.getAttribute("tabindex"),10);return!!(isNaN(v)||v>=0)},qM=function f(p){var v=[],g=[];return p.forEach(function(C,R){var m=!!C.scopeParent,M=m?C.scopeParent:C,D=HM(M,m),w=m?f(C.candidates):M;D===0?m?v.push.apply(v,w):v.push(M):g.push({documentOrder:R,tabIndex:D,item:C,isScope:m,content:w})}),g.sort(PM).reduce(function(C,R){return R.isScope?C.push.apply(C,R.content):C.push(R.content),C},[]).concat(v)},Ay=function(p,v){v=v||{};var g;return v.getShadowRoot?g=FM([p],v.includeContainer,{filter:kE.bind(null,v),flatten:!1,getShadowRoot:v.getShadowRoot,shadowRootFilter:XM}):g=UM(p,v.includeContainer,kE.bind(null,v)),qM(g)},ZM=function(p,v){if(v=v||{},!p)throw new Error("No node provided");return _f.call(p,Dy)===!1?!1:kE(v,p)},OE={exports:{}},gi={},my={exports:{}},mE={};/**
|
|
5
|
+
* @license React
|
|
6
|
+
* scheduler.production.min.js
|
|
7
|
+
*
|
|
8
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/var Tx;function JM(){return Tx||(Tx=1,function(f){function p(X,fe){var $=X.length;X.push(fe);e:for(;0<$;){var ze=$-1>>>1,tt=X[ze];if(0<C(tt,fe))X[ze]=fe,X[$]=tt,$=ze;else break e}}function v(X){return X.length===0?null:X[0]}function g(X){if(X.length===0)return null;var fe=X[0],$=X.pop();if($!==fe){X[0]=$;e:for(var ze=0,tt=X.length,wt=tt>>>1;ze<wt;){var zt=2*(ze+1)-1,Me=X[zt],Ve=zt+1,He=X[Ve];if(0>C(Me,$))Ve<tt&&0>C(He,Me)?(X[ze]=He,X[Ve]=$,ze=Ve):(X[ze]=Me,X[zt]=$,ze=zt);else if(Ve<tt&&0>C(He,$))X[ze]=He,X[Ve]=$,ze=Ve;else break e}}return fe}function C(X,fe){var $=X.sortIndex-fe.sortIndex;return $!==0?$:X.id-fe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var R=performance;f.unstable_now=function(){return R.now()}}else{var m=Date,M=m.now();f.unstable_now=function(){return m.now()-M}}var D=[],w=[],F=1,O=null,U=3,b=!1,L=!1,P=!1,ne=typeof setTimeout=="function"?setTimeout:null,de=typeof clearTimeout=="function"?clearTimeout:null,ue=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Q(X){for(var fe=v(w);fe!==null;){if(fe.callback===null)g(w);else if(fe.startTime<=X)g(w),fe.sortIndex=fe.expirationTime,p(D,fe);else break;fe=v(w)}}function ee(X){if(P=!1,Q(X),!L)if(v(D)!==null)L=!0,ie(le);else{var fe=v(w);fe!==null&&se(ee,fe.startTime-X)}}function le(X,fe){L=!1,P&&(P=!1,de(Ue),Ue=-1),b=!0;var $=U;try{for(Q(fe),O=v(D);O!==null&&(!(O.expirationTime>fe)||X&&!Se());){var ze=O.callback;if(typeof ze=="function"){O.callback=null,U=O.priorityLevel;var tt=ze(O.expirationTime<=fe);fe=f.unstable_now(),typeof tt=="function"?O.callback=tt:O===v(D)&&g(D),Q(fe)}else g(D);O=v(D)}if(O!==null)var wt=!0;else{var zt=v(w);zt!==null&&se(ee,zt.startTime-fe),wt=!1}return wt}finally{O=null,U=$,b=!1}}var me=!1,ge=null,Ue=-1,je=5,pe=-1;function Se(){return!(f.unstable_now()-pe<je)}function Ee(){if(ge!==null){var X=f.unstable_now();pe=X;var fe=!0;try{fe=ge(!0,X)}finally{fe?re():(me=!1,ge=null)}}else me=!1}var re;if(typeof ue=="function")re=function(){ue(Ee)};else if(typeof MessageChannel<"u"){var G=new MessageChannel,ce=G.port2;G.port1.onmessage=Ee,re=function(){ce.postMessage(null)}}else re=function(){ne(Ee,0)};function ie(X){ge=X,me||(me=!0,re())}function se(X,fe){Ue=ne(function(){X(f.unstable_now())},fe)}f.unstable_IdlePriority=5,f.unstable_ImmediatePriority=1,f.unstable_LowPriority=4,f.unstable_NormalPriority=3,f.unstable_Profiling=null,f.unstable_UserBlockingPriority=2,f.unstable_cancelCallback=function(X){X.callback=null},f.unstable_continueExecution=function(){L||b||(L=!0,ie(le))},f.unstable_forceFrameRate=function(X){0>X||125<X?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):je=0<X?Math.floor(1e3/X):5},f.unstable_getCurrentPriorityLevel=function(){return U},f.unstable_getFirstCallbackNode=function(){return v(D)},f.unstable_next=function(X){switch(U){case 1:case 2:case 3:var fe=3;break;default:fe=U}var $=U;U=fe;try{return X()}finally{U=$}},f.unstable_pauseExecution=function(){},f.unstable_requestPaint=function(){},f.unstable_runWithPriority=function(X,fe){switch(X){case 1:case 2:case 3:case 4:case 5:break;default:X=3}var $=U;U=X;try{return fe()}finally{U=$}},f.unstable_scheduleCallback=function(X,fe,$){var ze=f.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?ze+$:ze):$=ze,X){case 1:var tt=-1;break;case 2:tt=250;break;case 5:tt=1073741823;break;case 4:tt=1e4;break;default:tt=5e3}return tt=$+tt,X={id:F++,callback:fe,priorityLevel:X,startTime:$,expirationTime:tt,sortIndex:-1},$>ze?(X.sortIndex=$,p(w,X),v(D)===null&&X===v(w)&&(P?(de(Ue),Ue=-1):P=!0,se(ee,$-ze))):(X.sortIndex=tt,p(D,X),L||b||(L=!0,ie(le))),X},f.unstable_shouldYield=Se,f.unstable_wrapCallback=function(X){var fe=U;return function(){var $=U;U=fe;try{return X.apply(this,arguments)}finally{U=$}}}}(mE)),mE}var yE={};/**
|
|
13
|
+
* @license React
|
|
14
|
+
* scheduler.development.js
|
|
15
|
+
*
|
|
16
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
17
|
+
*
|
|
18
|
+
* This source code is licensed under the MIT license found in the
|
|
19
|
+
* LICENSE file in the root directory of this source tree.
|
|
20
|
+
*/var wx;function eL(){return wx||(wx=1,function(f){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var p=!1,v=!1,g=5;function C(Ce,$e){var st=Ce.length;Ce.push($e),M(Ce,$e,st)}function R(Ce){return Ce.length===0?null:Ce[0]}function m(Ce){if(Ce.length===0)return null;var $e=Ce[0],st=Ce.pop();return st!==$e&&(Ce[0]=st,D(Ce,st,0)),$e}function M(Ce,$e,st){for(var Ut=st;Ut>0;){var un=Ut-1>>>1,Jn=Ce[un];if(w(Jn,$e)>0)Ce[un]=$e,Ce[Ut]=Jn,Ut=un;else return}}function D(Ce,$e,st){for(var Ut=st,un=Ce.length,Jn=un>>>1;Ut<Jn;){var Sn=(Ut+1)*2-1,qr=Ce[Sn],tn=Sn+1,Ui=Ce[tn];if(w(qr,$e)<0)tn<un&&w(Ui,qr)<0?(Ce[Ut]=Ui,Ce[tn]=$e,Ut=tn):(Ce[Ut]=qr,Ce[Sn]=$e,Ut=Sn);else if(tn<un&&w(Ui,$e)<0)Ce[Ut]=Ui,Ce[tn]=$e,Ut=tn;else return}}function w(Ce,$e){var st=Ce.sortIndex-$e.sortIndex;return st!==0?st:Ce.id-$e.id}var F=1,O=2,U=3,b=4,L=5;function P(Ce,$e){}var ne=typeof performance=="object"&&typeof performance.now=="function";if(ne){var de=performance;f.unstable_now=function(){return de.now()}}else{var ue=Date,Q=ue.now();f.unstable_now=function(){return ue.now()-Q}}var ee=1073741823,le=-1,me=250,ge=5e3,Ue=1e4,je=ee,pe=[],Se=[],Ee=1,re=null,G=U,ce=!1,ie=!1,se=!1,X=typeof setTimeout=="function"?setTimeout:null,fe=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ze(Ce){for(var $e=R(Se);$e!==null;){if($e.callback===null)m(Se);else if($e.startTime<=Ce)m(Se),$e.sortIndex=$e.expirationTime,C(pe,$e);else return;$e=R(Se)}}function tt(Ce){if(se=!1,ze(Ce),!ie)if(R(pe)!==null)ie=!0,Hr(wt);else{var $e=R(Se);$e!==null&&Vn(tt,$e.startTime-Ce)}}function wt(Ce,$e){ie=!1,se&&(se=!1,Rr()),ce=!0;var st=G;try{var Ut;if(!v)return zt(Ce,$e)}finally{re=null,G=st,ce=!1}}function zt(Ce,$e){var st=$e;for(ze(st),re=R(pe);re!==null&&!p&&!(re.expirationTime>st&&(!Ce||bt()));){var Ut=re.callback;if(typeof Ut=="function"){re.callback=null,G=re.priorityLevel;var un=re.expirationTime<=st,Jn=Ut(un);st=f.unstable_now(),typeof Jn=="function"?re.callback=Jn:re===R(pe)&&m(pe),ze(st)}else m(pe);re=R(pe)}if(re!==null)return!0;var Sn=R(Se);return Sn!==null&&Vn(tt,Sn.startTime-st),!1}function Me(Ce,$e){switch(Ce){case F:case O:case U:case b:case L:break;default:Ce=U}var st=G;G=Ce;try{return $e()}finally{G=st}}function Ve(Ce){var $e;switch(G){case F:case O:case U:$e=U;break;default:$e=G;break}var st=G;G=$e;try{return Ce()}finally{G=st}}function He(Ce){var $e=G;return function(){var st=G;G=$e;try{return Ce.apply(this,arguments)}finally{G=st}}}function Le(Ce,$e,st){var Ut=f.unstable_now(),un;if(typeof st=="object"&&st!==null){var Jn=st.delay;typeof Jn=="number"&&Jn>0?un=Ut+Jn:un=Ut}else un=Ut;var Sn;switch(Ce){case F:Sn=le;break;case O:Sn=me;break;case L:Sn=je;break;case b:Sn=Ue;break;case U:default:Sn=ge;break}var qr=un+Sn,tn={id:Ee++,callback:$e,priorityLevel:Ce,startTime:un,expirationTime:qr,sortIndex:-1};return un>Ut?(tn.sortIndex=un,C(Se,tn),R(pe)===null&&tn===R(Se)&&(se?Rr():se=!0,Vn(tt,un-Ut))):(tn.sortIndex=qr,C(pe,tn),!ie&&!ce&&(ie=!0,Hr(wt))),tn}function Qe(){}function Rt(){!ie&&!ce&&(ie=!0,Hr(wt))}function ut(){return R(pe)}function mt(Ce){Ce.callback=null}function Vt(){return G}var It=!1,gn=null,Ke=-1,ft=g,dt=-1;function bt(){var Ce=f.unstable_now()-dt;return!(Ce<ft)}function at(){}function Et(Ce){if(Ce<0||Ce>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Ce>0?ft=Math.floor(1e3/Ce):ft=g}var Dn=function(){if(gn!==null){var Ce=f.unstable_now();dt=Ce;var $e=!0,st=!0;try{st=gn($e,Ce)}finally{st?Pn():(It=!1,gn=null)}}else It=!1},Pn;if(typeof $=="function")Pn=function(){$(Dn)};else if(typeof MessageChannel<"u"){var en=new MessageChannel,kn=en.port2;en.port1.onmessage=Dn,Pn=function(){kn.postMessage(null)}}else Pn=function(){X(Dn,0)};function Hr(Ce){gn=Ce,It||(It=!0,Pn())}function Vn(Ce,$e){Ke=X(function(){Ce(f.unstable_now())},$e)}function Rr(){fe(Ke),Ke=-1}var ka=at,In=null;f.unstable_IdlePriority=L,f.unstable_ImmediatePriority=F,f.unstable_LowPriority=b,f.unstable_NormalPriority=U,f.unstable_Profiling=In,f.unstable_UserBlockingPriority=O,f.unstable_cancelCallback=mt,f.unstable_continueExecution=Rt,f.unstable_forceFrameRate=Et,f.unstable_getCurrentPriorityLevel=Vt,f.unstable_getFirstCallbackNode=ut,f.unstable_next=Ve,f.unstable_pauseExecution=Qe,f.unstable_requestPaint=ka,f.unstable_runWithPriority=Me,f.unstable_scheduleCallback=Le,f.unstable_shouldYield=bt,f.unstable_wrapCallback=He,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(yE)),yE}var bx;function dT(){return bx||(bx=1,process.env.NODE_ENV==="production"?my.exports=JM():my.exports=eL()),my.exports}/**
|
|
21
|
+
* @license React
|
|
22
|
+
* react-dom.production.min.js
|
|
23
|
+
*
|
|
24
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
25
|
+
*
|
|
26
|
+
* This source code is licensed under the MIT license found in the
|
|
27
|
+
* LICENSE file in the root directory of this source tree.
|
|
28
|
+
*/var Dx;function tL(){if(Dx)return gi;Dx=1;var f=su,p=dT();function v(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,l=1;l<arguments.length;l++)r+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g=new Set,C={};function R(n,r){m(n,r),m(n+"Capture",r)}function m(n,r){for(C[n]=r,n=0;n<r.length;n++)g.add(r[n])}var M=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),D=Object.prototype.hasOwnProperty,w=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,F={},O={};function U(n){return D.call(O,n)?!0:D.call(F,n)?!1:w.test(n)?O[n]=!0:(F[n]=!0,!1)}function b(n,r,l,u){if(l!==null&&l.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return u?!1:l!==null?!l.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function L(n,r,l,u){if(r===null||typeof r>"u"||b(n,r,l,u))return!0;if(u)return!1;if(l!==null)switch(l.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function P(n,r,l,u,c,h,E){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=u,this.attributeNamespace=c,this.mustUseProperty=l,this.propertyName=n,this.type=r,this.sanitizeURL=h,this.removeEmptyString=E}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){ne[n]=new P(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];ne[r]=new P(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){ne[n]=new P(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){ne[n]=new P(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){ne[n]=new P(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){ne[n]=new P(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){ne[n]=new P(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){ne[n]=new P(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){ne[n]=new P(n,5,!1,n.toLowerCase(),null,!1,!1)});var de=/[\-:]([a-z])/g;function ue(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var r=n.replace(de,ue);ne[r]=new P(r,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(de,ue);ne[r]=new P(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(de,ue);ne[r]=new P(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){ne[n]=new P(n,1,!1,n.toLowerCase(),null,!1,!1)}),ne.xlinkHref=new P("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){ne[n]=new P(n,1,!1,n.toLowerCase(),null,!0,!0)});function Q(n,r,l,u){var c=ne.hasOwnProperty(r)?ne[r]:null;(c!==null?c.type!==0:u||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(L(r,l,c,u)&&(l=null),u||c===null?U(r)&&(l===null?n.removeAttribute(r):n.setAttribute(r,""+l)):c.mustUseProperty?n[c.propertyName]=l===null?c.type===3?!1:"":l:(r=c.attributeName,u=c.attributeNamespace,l===null?n.removeAttribute(r):(c=c.type,l=c===3||c===4&&l===!0?"":""+l,u?n.setAttributeNS(u,r,l):n.setAttribute(r,l))))}var ee=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,le=Symbol.for("react.element"),me=Symbol.for("react.portal"),ge=Symbol.for("react.fragment"),Ue=Symbol.for("react.strict_mode"),je=Symbol.for("react.profiler"),pe=Symbol.for("react.provider"),Se=Symbol.for("react.context"),Ee=Symbol.for("react.forward_ref"),re=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),ce=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),se=Symbol.for("react.offscreen"),X=Symbol.iterator;function fe(n){return n===null||typeof n!="object"?null:(n=X&&n[X]||n["@@iterator"],typeof n=="function"?n:null)}var $=Object.assign,ze;function tt(n){if(ze===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);ze=r&&r[1]||""}return`
|
|
29
|
+
`+ze+n}var wt=!1;function zt(n,r){if(!n||wt)return"";wt=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(K){var u=K}Reflect.construct(n,[],r)}else{try{r.call()}catch(K){u=K}n.call(r.prototype)}else{try{throw Error()}catch(K){u=K}n()}}catch(K){if(K&&u&&typeof K.stack=="string"){for(var c=K.stack.split(`
|
|
30
|
+
`),h=u.stack.split(`
|
|
31
|
+
`),E=c.length-1,k=h.length-1;1<=E&&0<=k&&c[E]!==h[k];)k--;for(;1<=E&&0<=k;E--,k--)if(c[E]!==h[k]){if(E!==1||k!==1)do if(E--,k--,0>k||c[E]!==h[k]){var _=`
|
|
32
|
+
`+c[E].replace(" at new "," at ");return n.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",n.displayName)),_}while(1<=E&&0<=k);break}}}finally{wt=!1,Error.prepareStackTrace=l}return(n=n?n.displayName||n.name:"")?tt(n):""}function Me(n){switch(n.tag){case 5:return tt(n.type);case 16:return tt("Lazy");case 13:return tt("Suspense");case 19:return tt("SuspenseList");case 0:case 2:case 15:return n=zt(n.type,!1),n;case 11:return n=zt(n.type.render,!1),n;case 1:return n=zt(n.type,!0),n;default:return""}}function Ve(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case ge:return"Fragment";case me:return"Portal";case je:return"Profiler";case Ue:return"StrictMode";case re:return"Suspense";case G:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case Se:return(n.displayName||"Context")+".Consumer";case pe:return(n._context.displayName||"Context")+".Provider";case Ee:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case ce:return r=n.displayName||null,r!==null?r:Ve(n.type)||"Memo";case ie:r=n._payload,n=n._init;try{return Ve(n(r))}catch{}}return null}function He(n){var r=n.type;switch(n.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=r.render,n=n.displayName||n.name||"",r.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ve(r);case 8:return r===Ue?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function Le(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Qe(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Rt(n){var r=Qe(n)?"checked":"value",l=Object.getOwnPropertyDescriptor(n.constructor.prototype,r),u=""+n[r];if(!n.hasOwnProperty(r)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var c=l.get,h=l.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return c.call(this)},set:function(E){u=""+E,h.call(this,E)}}),Object.defineProperty(n,r,{enumerable:l.enumerable}),{getValue:function(){return u},setValue:function(E){u=""+E},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function ut(n){n._valueTracker||(n._valueTracker=Rt(n))}function mt(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var l=r.getValue(),u="";return n&&(u=Qe(n)?n.checked?"true":"false":n.value),n=u,n!==l?(r.setValue(n),!0):!1}function Vt(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function It(n,r){var l=r.checked;return $({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??n._wrapperState.initialChecked})}function gn(n,r){var l=r.defaultValue==null?"":r.defaultValue,u=r.checked!=null?r.checked:r.defaultChecked;l=Le(r.value!=null?r.value:l),n._wrapperState={initialChecked:u,initialValue:l,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function Ke(n,r){r=r.checked,r!=null&&Q(n,"checked",r,!1)}function ft(n,r){Ke(n,r);var l=Le(r.value),u=r.type;if(l!=null)u==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+l):n.value!==""+l&&(n.value=""+l);else if(u==="submit"||u==="reset"){n.removeAttribute("value");return}r.hasOwnProperty("value")?bt(n,r.type,l):r.hasOwnProperty("defaultValue")&&bt(n,r.type,Le(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function dt(n,r,l){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var u=r.type;if(!(u!=="submit"&&u!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+n._wrapperState.initialValue,l||r===n.value||(n.value=r),n.defaultValue=r}l=n.name,l!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,l!==""&&(n.name=l)}function bt(n,r,l){(r!=="number"||Vt(n.ownerDocument)!==n)&&(l==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+l&&(n.defaultValue=""+l))}var at=Array.isArray;function Et(n,r,l,u){if(n=n.options,r){r={};for(var c=0;c<l.length;c++)r["$"+l[c]]=!0;for(l=0;l<n.length;l++)c=r.hasOwnProperty("$"+n[l].value),n[l].selected!==c&&(n[l].selected=c),c&&u&&(n[l].defaultSelected=!0)}else{for(l=""+Le(l),r=null,c=0;c<n.length;c++){if(n[c].value===l){n[c].selected=!0,u&&(n[c].defaultSelected=!0);return}r!==null||n[c].disabled||(r=n[c])}r!==null&&(r.selected=!0)}}function Dn(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(v(91));return $({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function Pn(n,r){var l=r.value;if(l==null){if(l=r.children,r=r.defaultValue,l!=null){if(r!=null)throw Error(v(92));if(at(l)){if(1<l.length)throw Error(v(93));l=l[0]}r=l}r==null&&(r=""),l=r}n._wrapperState={initialValue:Le(l)}}function en(n,r){var l=Le(r.value),u=Le(r.defaultValue);l!=null&&(l=""+l,l!==n.value&&(n.value=l),r.defaultValue==null&&n.defaultValue!==l&&(n.defaultValue=l)),u!=null&&(n.defaultValue=""+u)}function kn(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function Hr(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Vn(n,r){return n==null||n==="http://www.w3.org/1999/xhtml"?Hr(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Rr,ka=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,l,u,c){MSApp.execUnsafeLocalFunction(function(){return n(r,l,u,c)})}:n}(function(n,r){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=r;else{for(Rr=Rr||document.createElement("div"),Rr.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Rr.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function In(n,r){if(r){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=r;return}}n.textContent=r}var Ce={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},$e=["Webkit","ms","Moz","O"];Object.keys(Ce).forEach(function(n){$e.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),Ce[r]=Ce[n]})});function st(n,r,l){return r==null||typeof r=="boolean"||r===""?"":l||typeof r!="number"||r===0||Ce.hasOwnProperty(n)&&Ce[n]?(""+r).trim():r+"px"}function Ut(n,r){n=n.style;for(var l in r)if(r.hasOwnProperty(l)){var u=l.indexOf("--")===0,c=st(l,r[l],u);l==="float"&&(l="cssFloat"),u?n.setProperty(l,c):n[l]=c}}var un=$({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Jn(n,r){if(r){if(un[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(v(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(v(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(v(61))}if(r.style!=null&&typeof r.style!="object")throw Error(v(62))}}function Sn(n,r){if(n.indexOf("-")===-1)return typeof r.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var qr=null;function tn(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Ui=null,dn=null,nn=null;function fv(n){if(n=Pu(n)){if(typeof Ui!="function")throw Error(v(280));var r=n.stateNode;r&&(r=Ye(r),Ui(n.stateNode,n.type,r))}}function _s(n){dn?nn?nn.push(n):nn=[n]:dn=n}function Ns(){if(dn){var n=dn,r=nn;if(nn=dn=null,fv(n),r)for(n=0;n<r.length;n++)fv(r[n])}}function dv(n,r){return n(r)}function pv(){}var As=!1;function Uf(n,r,l){if(As)return n(r,l);As=!0;try{return dv(n,r,l)}finally{As=!1,(dn!==null||nn!==null)&&(pv(),Ns())}}function hu(n,r){var l=n.stateNode;if(l===null)return null;var u=Ye(l);if(u===null)return null;l=u[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(n=n.type,u=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!u;break e;default:n=!1}if(n)return null;if(l&&typeof l!="function")throw Error(v(231,r,typeof l));return l}var zs=!1;if(M)try{var cl={};Object.defineProperty(cl,"passive",{get:function(){zs=!0}}),window.addEventListener("test",cl,cl),window.removeEventListener("test",cl,cl)}catch{zs=!1}function ao(n,r,l,u,c,h,E,k,_){var K=Array.prototype.slice.call(arguments,3);try{r.apply(l,K)}catch(oe){this.onError(oe)}}var Ci=!1,Zi=null,lo=!1,mu=null,Ff={onError:function(n){Ci=!0,Zi=n}};function Hf(n,r,l,u,c,h,E,k,_){Ci=!1,Zi=null,ao.apply(Ff,arguments)}function oo(n,r,l,u,c,h,E,k,_){if(Hf.apply(this,arguments),Ci){if(Ci){var K=Zi;Ci=!1,Zi=null}else throw Error(v(198));lo||(lo=!0,mu=K)}}function Fi(n){var r=n,l=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,r.flags&4098&&(l=r.return),n=r.return;while(n)}return r.tag===3?l:null}function yu(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function uo(n){if(Fi(n)!==n)throw Error(v(188))}function ur(n){var r=n.alternate;if(!r){if(r=Fi(n),r===null)throw Error(v(188));return r!==n?null:n}for(var l=n,u=r;;){var c=l.return;if(c===null)break;var h=c.alternate;if(h===null){if(u=c.return,u!==null){l=u;continue}break}if(c.child===h.child){for(h=c.child;h;){if(h===l)return uo(c),n;if(h===u)return uo(c),r;h=h.sibling}throw Error(v(188))}if(l.return!==u.return)l=c,u=h;else{for(var E=!1,k=c.child;k;){if(k===l){E=!0,l=c,u=h;break}if(k===u){E=!0,u=c,l=h;break}k=k.sibling}if(!E){for(k=h.child;k;){if(k===l){E=!0,l=h,u=c;break}if(k===u){E=!0,u=h,l=c;break}k=k.sibling}if(!E)throw Error(v(189))}}if(l.alternate!==u)throw Error(v(190))}if(l.tag!==3)throw Error(v(188));return l.stateNode.current===l?n:r}function vv(n){return n=ur(n),n!==null?hv(n):null}function hv(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=hv(n);if(r!==null)return r;n=n.sibling}return null}var Pf=p.unstable_scheduleCallback,mv=p.unstable_cancelCallback,Uy=p.unstable_shouldYield,Fy=p.unstable_requestPaint,rn=p.unstable_now,Hy=p.unstable_getCurrentPriorityLevel,Ji=p.unstable_ImmediatePriority,pt=p.unstable_UserBlockingPriority,Oa=p.unstable_NormalPriority,yv=p.unstable_LowPriority,Vf=p.unstable_IdlePriority,gu=null,Ri=null;function gv(n){if(Ri&&typeof Ri.onCommitFiberRoot=="function")try{Ri.onCommitFiberRoot(gu,n,void 0,(n.current.flags&128)===128)}catch{}}var Zr=Math.clz32?Math.clz32:Py,Sv=Math.log,Ev=Math.LN2;function Py(n){return n>>>=0,n===0?32:31-(Sv(n)/Ev|0)|0}var Us=64,so=4194304;function fl(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function xi(n,r){var l=n.pendingLanes;if(l===0)return 0;var u=0,c=n.suspendedLanes,h=n.pingedLanes,E=l&268435455;if(E!==0){var k=E&~c;k!==0?u=fl(k):(h&=E,h!==0&&(u=fl(h)))}else E=l&~c,E!==0?u=fl(E):h!==0&&(u=fl(h));if(u===0)return 0;if(r!==0&&r!==u&&!(r&c)&&(c=u&-u,h=r&-r,c>=h||c===16&&(h&4194240)!==0))return r;if(u&4&&(u|=l&16),r=n.entangledLanes,r!==0)for(n=n.entanglements,r&=u;0<r;)l=31-Zr(r),c=1<<l,u|=n[l],r&=~c;return u}function If(n,r){switch(n){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Fs(n,r){for(var l=n.suspendedLanes,u=n.pingedLanes,c=n.expirationTimes,h=n.pendingLanes;0<h;){var E=31-Zr(h),k=1<<E,_=c[E];_===-1?(!(k&l)||k&u)&&(c[E]=If(k,r)):_<=r&&(n.expiredLanes|=k),h&=~k}}function jf(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function Hs(){var n=Us;return Us<<=1,!(Us&4194240)&&(Us=64),n}function Bf(n){for(var r=[],l=0;31>l;l++)r.push(n);return r}function dl(n,r,l){n.pendingLanes|=r,r!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,r=31-Zr(r),n[r]=l}function Vy(n,r){var l=n.pendingLanes&~r;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=r,n.mutableReadLanes&=r,n.entangledLanes&=r,r=n.entanglements;var u=n.eventTimes;for(n=n.expirationTimes;0<l;){var c=31-Zr(l),h=1<<c;r[c]=0,u[c]=-1,n[c]=-1,l&=~h}}function Su(n,r){var l=n.entangledLanes|=r;for(n=n.entanglements;l;){var u=31-Zr(l),c=1<<u;c&r|n[u]&r&&(n[u]|=r),l&=~c}}var Lt=0;function $f(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var Cv,Ps,Ft,Rv,Yf,it=!1,Eu=[],pn=null,Jr=null,ei=null,Cu=new Map,En=new Map,_t=[],Iy="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ti(n,r){switch(n){case"focusin":case"focusout":pn=null;break;case"dragenter":case"dragleave":Jr=null;break;case"mouseover":case"mouseout":ei=null;break;case"pointerover":case"pointerout":Cu.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":En.delete(r.pointerId)}}function er(n,r,l,u,c,h){return n===null||n.nativeEvent!==h?(n={blockedOn:r,domEventName:l,eventSystemFlags:u,nativeEvent:h,targetContainers:[c]},r!==null&&(r=Pu(r),r!==null&&Ps(r)),n):(n.eventSystemFlags|=u,r=n.targetContainers,c!==null&&r.indexOf(c)===-1&&r.push(c),n)}function Ma(n,r,l,u,c){switch(r){case"focusin":return pn=er(pn,n,r,l,u,c),!0;case"dragenter":return Jr=er(Jr,n,r,l,u,c),!0;case"mouseover":return ei=er(ei,n,r,l,u,c),!0;case"pointerover":var h=c.pointerId;return Cu.set(h,er(Cu.get(h)||null,n,r,l,u,c)),!0;case"gotpointercapture":return h=c.pointerId,En.set(h,er(En.get(h)||null,n,r,l,u,c)),!0}return!1}function xv(n){var r=ni(n.target);if(r!==null){var l=Fi(r);if(l!==null){if(r=l.tag,r===13){if(r=yu(l),r!==null){n.blockedOn=r,Yf(n.priority,function(){Ft(l)});return}}else if(r===3&&l.stateNode.current.memoizedState.isDehydrated){n.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}n.blockedOn=null}function co(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var l=js(n.domEventName,n.eventSystemFlags,r[0],n.nativeEvent);if(l===null){l=n.nativeEvent;var u=new l.constructor(l.type,l);qr=u,l.target.dispatchEvent(u),qr=null}else return r=Pu(l),r!==null&&Ps(r),n.blockedOn=l,!1;r.shift()}return!0}function Qf(n,r,l){co(n)&&l.delete(r)}function Tv(){it=!1,pn!==null&&co(pn)&&(pn=null),Jr!==null&&co(Jr)&&(Jr=null),ei!==null&&co(ei)&&(ei=null),Cu.forEach(Qf),En.forEach(Qf)}function Ru(n,r){n.blockedOn===r&&(n.blockedOn=null,it||(it=!0,p.unstable_scheduleCallback(p.unstable_NormalPriority,Tv)))}function xu(n){function r(c){return Ru(c,n)}if(0<Eu.length){Ru(Eu[0],n);for(var l=1;l<Eu.length;l++){var u=Eu[l];u.blockedOn===n&&(u.blockedOn=null)}}for(pn!==null&&Ru(pn,n),Jr!==null&&Ru(Jr,n),ei!==null&&Ru(ei,n),Cu.forEach(r),En.forEach(r),l=0;l<_t.length;l++)u=_t[l],u.blockedOn===n&&(u.blockedOn=null);for(;0<_t.length&&(l=_t[0],l.blockedOn===null);)xv(l),l.blockedOn===null&&_t.shift()}var fo=ee.ReactCurrentBatchConfig,pl=!0;function wv(n,r,l,u){var c=Lt,h=fo.transition;fo.transition=null;try{Lt=1,Is(n,r,l,u)}finally{Lt=c,fo.transition=h}}function Vs(n,r,l,u){var c=Lt,h=fo.transition;fo.transition=null;try{Lt=4,Is(n,r,l,u)}finally{Lt=c,fo.transition=h}}function Is(n,r,l,u){if(pl){var c=js(n,r,l,u);if(c===null)ec(n,r,u,Tu,l),Ti(n,u);else if(Ma(c,n,r,l,u))u.stopPropagation();else if(Ti(n,u),r&4&&-1<Iy.indexOf(n)){for(;c!==null;){var h=Pu(c);if(h!==null&&Cv(h),h=js(n,r,l,u),h===null&&ec(n,r,u,Tu,l),h===c)break;c=h}c!==null&&u.stopPropagation()}else ec(n,r,u,null,l)}}var Tu=null;function js(n,r,l,u){if(Tu=null,n=tn(u),n=ni(n),n!==null)if(r=Fi(n),r===null)n=null;else if(l=r.tag,l===13){if(n=yu(r),n!==null)return n;n=null}else if(l===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null);return Tu=n,null}function Wf(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Hy()){case Ji:return 1;case pt:return 4;case Oa:case yv:return 16;case Vf:return 536870912;default:return 16}default:return 16}}var ea=null,wu=null,bu=null;function Gf(){if(bu)return bu;var n,r=wu,l=r.length,u,c="value"in ea?ea.value:ea.textContent,h=c.length;for(n=0;n<l&&r[n]===c[n];n++);var E=l-n;for(u=1;u<=E&&r[l-u]===c[h-u];u++);return bu=c.slice(n,1<u?1-u:void 0)}function po(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function Du(){return!0}function bv(){return!1}function Pr(n){function r(l,u,c,h,E){this._reactName=l,this._targetInst=c,this.type=u,this.nativeEvent=h,this.target=E,this.currentTarget=null;for(var k in n)n.hasOwnProperty(k)&&(l=n[k],this[k]=l?l(h):h[k]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Du:bv,this.isPropagationStopped=bv,this}return $(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Du)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Du)},persist:function(){},isPersistent:Du}),r}var La={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bs=Pr(La),vo=$({},La,{view:0,detail:0}),Dv=Pr(vo),$s,Kf,ku,On=$({},vo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jf,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==ku&&(ku&&n.type==="mousemove"?($s=n.screenX-ku.screenX,Kf=n.screenY-ku.screenY):Kf=$s=0,ku=n),$s)},movementY:function(n){return"movementY"in n?n.movementY:Kf}}),Ys=Pr(On),kv=$({},On,{dataTransfer:0}),Ov=Pr(kv),jy=$({},vo,{relatedTarget:0}),_a=Pr(jy),Xf=$({},La,{animationName:0,elapsedTime:0,pseudoElement:0}),Mv=Pr(Xf),By=$({},La,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),$y=Pr(By),Yy=$({},La,{data:0}),qf=Pr(Yy),Zf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_v={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Nv(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=_v[n])?!!r[n]:!1}function Jf(){return Nv}var ta=$({},vo,{key:function(n){if(n.key){var r=Zf[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=po(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Lv[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jf,charCode:function(n){return n.type==="keypress"?po(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?po(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Qy=Pr(ta),ed=$({},On,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qs=Pr(ed),td=$({},vo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jf}),Wy=Pr(td),Ws=$({},La,{propertyName:0,elapsedTime:0,pseudoElement:0}),Av=Pr(Ws),xr=$({},On,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),na=Pr(xr),vn=[9,13,27,32],wi=M&&"CompositionEvent"in window,vl=null;M&&"documentMode"in document&&(vl=document.documentMode);var Gs=M&&"TextEvent"in window&&!vl,zv=M&&(!wi||vl&&8<vl&&11>=vl),ho=String.fromCharCode(32),Uv=!1;function Fv(n,r){switch(n){case"keyup":return vn.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ks(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var mo=!1;function Gy(n,r){switch(n){case"compositionend":return Ks(r);case"keypress":return r.which!==32?null:(Uv=!0,ho);case"textInput":return n=r.data,n===ho&&Uv?null:n;default:return null}}function Ky(n,r){if(mo)return n==="compositionend"||!wi&&Fv(n,r)?(n=Gf(),bu=wu=ea=null,mo=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return zv&&r.locale!=="ko"?null:r.data;default:return null}}var Hv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Pv(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!Hv[n.type]:r==="textarea"}function Vv(n,r,l,u){_s(u),r=Uu(r,"onChange"),0<r.length&&(l=new Bs("onChange","change",null,l,u),n.push({event:l,listeners:r}))}var Ou=null,yo=null;function go(n){Js(n,0)}function So(n){var r=Co(n);if(mt(r))return n}function Iv(n,r){if(n==="change")return r}var nd=!1;if(M){var rd;if(M){var id="oninput"in document;if(!id){var jv=document.createElement("div");jv.setAttribute("oninput","return;"),id=typeof jv.oninput=="function"}rd=id}else rd=!1;nd=rd&&(!document.documentMode||9<document.documentMode)}function Bv(){Ou&&(Ou.detachEvent("onpropertychange",$v),yo=Ou=null)}function $v(n){if(n.propertyName==="value"&&So(yo)){var r=[];Vv(r,yo,n,tn(n)),Uf(go,r)}}function Xy(n,r,l){n==="focusin"?(Bv(),Ou=r,yo=l,Ou.attachEvent("onpropertychange",$v)):n==="focusout"&&Bv()}function qy(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return So(yo)}function Zy(n,r){if(n==="click")return So(r)}function Yv(n,r){if(n==="input"||n==="change")return So(r)}function Jy(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var ti=typeof Object.is=="function"?Object.is:Jy;function Mu(n,r){if(ti(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var l=Object.keys(n),u=Object.keys(r);if(l.length!==u.length)return!1;for(u=0;u<l.length;u++){var c=l[u];if(!D.call(r,c)||!ti(n[c],r[c]))return!1}return!0}function Qv(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Wv(n,r){var l=Qv(n);n=0;for(var u;l;){if(l.nodeType===3){if(u=n+l.textContent.length,n<=r&&u>=r)return{node:l,offset:r-n};n=u}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Qv(l)}}function Gv(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?Gv(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function Xs(){for(var n=window,r=Vt();r instanceof n.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)n=r.contentWindow;else break;r=Vt(n.document)}return r}function ra(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}function qs(n){var r=Xs(),l=n.focusedElem,u=n.selectionRange;if(r!==l&&l&&l.ownerDocument&&Gv(l.ownerDocument.documentElement,l)){if(u!==null&&ra(l)){if(r=u.start,n=u.end,n===void 0&&(n=r),"selectionStart"in l)l.selectionStart=r,l.selectionEnd=Math.min(n,l.value.length);else if(n=(r=l.ownerDocument||document)&&r.defaultView||window,n.getSelection){n=n.getSelection();var c=l.textContent.length,h=Math.min(u.start,c);u=u.end===void 0?h:Math.min(u.end,c),!n.extend&&h>u&&(c=u,u=h,h=c),c=Wv(l,h);var E=Wv(l,u);c&&E&&(n.rangeCount!==1||n.anchorNode!==c.node||n.anchorOffset!==c.offset||n.focusNode!==E.node||n.focusOffset!==E.offset)&&(r=r.createRange(),r.setStart(c.node,c.offset),n.removeAllRanges(),h>u?(n.addRange(r),n.extend(E.node,E.offset)):(r.setEnd(E.node,E.offset),n.addRange(r)))}}for(r=[],n=l;n=n.parentNode;)n.nodeType===1&&r.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<r.length;l++)n=r[l],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var Kv=M&&"documentMode"in document&&11>=document.documentMode,bi=null,ad=null,Lu=null,ld=!1;function Xv(n,r,l){var u=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;ld||bi==null||bi!==Vt(u)||(u=bi,"selectionStart"in u&&ra(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Lu&&Mu(Lu,u)||(Lu=u,u=Uu(ad,"onSelect"),0<u.length&&(r=new Bs("onSelect","select",null,r,l),n.push({event:r,listeners:u}),r.target=bi)))}function Zs(n,r){var l={};return l[n.toLowerCase()]=r.toLowerCase(),l["Webkit"+n]="webkit"+r,l["Moz"+n]="moz"+r,l}var hl={animationend:Zs("Animation","AnimationEnd"),animationiteration:Zs("Animation","AnimationIteration"),animationstart:Zs("Animation","AnimationStart"),transitionend:Zs("Transition","TransitionEnd")},od={},ud={};M&&(ud=document.createElement("div").style,"AnimationEvent"in window||(delete hl.animationend.animation,delete hl.animationiteration.animation,delete hl.animationstart.animation),"TransitionEvent"in window||delete hl.transitionend.transition);function Mn(n){if(od[n])return od[n];if(!hl[n])return n;var r=hl[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in ud)return od[n]=r[l];return n}var sd=Mn("animationend"),qv=Mn("animationiteration"),Zv=Mn("animationstart"),Jv=Mn("transitionend"),eh=new Map,th="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ia(n,r){eh.set(n,r),R(r,[n])}for(var _u=0;_u<th.length;_u++){var ml=th[_u],eg=ml.toLowerCase(),Nu=ml[0].toUpperCase()+ml.slice(1);ia(eg,"on"+Nu)}ia(sd,"onAnimationEnd"),ia(qv,"onAnimationIteration"),ia(Zv,"onAnimationStart"),ia("dblclick","onDoubleClick"),ia("focusin","onFocus"),ia("focusout","onBlur"),ia(Jv,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),R("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),R("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),R("onBeforeInput",["compositionend","keypress","textInput","paste"]),R("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),R("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),R("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Au="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),tg=new Set("cancel close invalid load scroll toggle".split(" ").concat(Au));function nh(n,r,l){var u=n.type||"unknown-event";n.currentTarget=l,oo(u,r,void 0,n),n.currentTarget=null}function Js(n,r){r=(r&4)!==0;for(var l=0;l<n.length;l++){var u=n[l],c=u.event;u=u.listeners;e:{var h=void 0;if(r)for(var E=u.length-1;0<=E;E--){var k=u[E],_=k.instance,K=k.currentTarget;if(k=k.listener,_!==h&&c.isPropagationStopped())break e;nh(c,k,K),h=_}else for(E=0;E<u.length;E++){if(k=u[E],_=k.instance,K=k.currentTarget,k=k.listener,_!==h&&c.isPropagationStopped())break e;nh(c,k,K),h=_}}}if(lo)throw n=mu,lo=!1,mu=null,n}function Ht(n,r){var l=r[md];l===void 0&&(l=r[md]=new Set);var u=n+"__bubble";l.has(u)||(rh(r,n,2,!1),l.add(u))}function Na(n,r,l){var u=0;r&&(u|=4),rh(l,n,u,r)}var aa="_reactListening"+Math.random().toString(36).slice(2);function Eo(n){if(!n[aa]){n[aa]=!0,g.forEach(function(l){l!=="selectionchange"&&(tg.has(l)||Na(l,!1,n),Na(l,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[aa]||(r[aa]=!0,Na("selectionchange",!1,r))}}function rh(n,r,l,u){switch(Wf(r)){case 1:var c=wv;break;case 4:c=Vs;break;default:c=Is}l=c.bind(null,r,l,n),c=void 0,!zs||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(c=!0),u?c!==void 0?n.addEventListener(r,l,{capture:!0,passive:c}):n.addEventListener(r,l,!0):c!==void 0?n.addEventListener(r,l,{passive:c}):n.addEventListener(r,l,!1)}function ec(n,r,l,u,c){var h=u;if(!(r&1)&&!(r&2)&&u!==null)e:for(;;){if(u===null)return;var E=u.tag;if(E===3||E===4){var k=u.stateNode.containerInfo;if(k===c||k.nodeType===8&&k.parentNode===c)break;if(E===4)for(E=u.return;E!==null;){var _=E.tag;if((_===3||_===4)&&(_=E.stateNode.containerInfo,_===c||_.nodeType===8&&_.parentNode===c))return;E=E.return}for(;k!==null;){if(E=ni(k),E===null)return;if(_=E.tag,_===5||_===6){u=h=E;continue e}k=k.parentNode}}u=u.return}Uf(function(){var K=h,oe=tn(l),ve=[];e:{var ae=eh.get(n);if(ae!==void 0){var we=Bs,_e=n;switch(n){case"keypress":if(po(l)===0)break e;case"keydown":case"keyup":we=Qy;break;case"focusin":_e="focus",we=_a;break;case"focusout":_e="blur",we=_a;break;case"beforeblur":case"afterblur":we=_a;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":we=Ys;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":we=Ov;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":we=Wy;break;case sd:case qv:case Zv:we=Mv;break;case Jv:we=Av;break;case"scroll":we=Dv;break;case"wheel":we=na;break;case"copy":case"cut":case"paste":we=$y;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":we=Qs}var Fe=(r&4)!==0,cn=!Fe&&n==="scroll",V=Fe?ae!==null?ae+"Capture":null:ae;Fe=[];for(var A=K,B;A!==null;){B=A;var ye=B.stateNode;if(B.tag===5&&ye!==null&&(B=ye,V!==null&&(ye=hu(A,V),ye!=null&&Fe.push(zu(A,ye,B)))),cn)break;A=A.return}0<Fe.length&&(ae=new we(ae,_e,null,l,oe),ve.push({event:ae,listeners:Fe}))}}if(!(r&7)){e:{if(ae=n==="mouseover"||n==="pointerover",we=n==="mouseout"||n==="pointerout",ae&&l!==qr&&(_e=l.relatedTarget||l.fromElement)&&(ni(_e)||_e[la]))break e;if((we||ae)&&(ae=oe.window===oe?oe:(ae=oe.ownerDocument)?ae.defaultView||ae.parentWindow:window,we?(_e=l.relatedTarget||l.toElement,we=K,_e=_e?ni(_e):null,_e!==null&&(cn=Fi(_e),_e!==cn||_e.tag!==5&&_e.tag!==6)&&(_e=null)):(we=null,_e=K),we!==_e)){if(Fe=Ys,ye="onMouseLeave",V="onMouseEnter",A="mouse",(n==="pointerout"||n==="pointerover")&&(Fe=Qs,ye="onPointerLeave",V="onPointerEnter",A="pointer"),cn=we==null?ae:Co(we),B=_e==null?ae:Co(_e),ae=new Fe(ye,A+"leave",we,l,oe),ae.target=cn,ae.relatedTarget=B,ye=null,ni(oe)===K&&(Fe=new Fe(V,A+"enter",_e,l,oe),Fe.target=B,Fe.relatedTarget=cn,ye=Fe),cn=ye,we&&_e)t:{for(Fe=we,V=_e,A=0,B=Fe;B;B=yl(B))A++;for(B=0,ye=V;ye;ye=yl(ye))B++;for(;0<A-B;)Fe=yl(Fe),A--;for(;0<B-A;)V=yl(V),B--;for(;A--;){if(Fe===V||V!==null&&Fe===V.alternate)break t;Fe=yl(Fe),V=yl(V)}Fe=null}else Fe=null;we!==null&&cd(ve,ae,we,Fe,!1),_e!==null&&cn!==null&&cd(ve,cn,_e,Fe,!0)}}e:{if(ae=K?Co(K):window,we=ae.nodeName&&ae.nodeName.toLowerCase(),we==="select"||we==="input"&&ae.type==="file")var Pe=Iv;else if(Pv(ae))if(nd)Pe=Yv;else{Pe=qy;var Ne=Xy}else(we=ae.nodeName)&&we.toLowerCase()==="input"&&(ae.type==="checkbox"||ae.type==="radio")&&(Pe=Zy);if(Pe&&(Pe=Pe(n,K))){Vv(ve,Pe,l,oe);break e}Ne&&Ne(n,ae,K),n==="focusout"&&(Ne=ae._wrapperState)&&Ne.controlled&&ae.type==="number"&&bt(ae,"number",ae.value)}switch(Ne=K?Co(K):window,n){case"focusin":(Pv(Ne)||Ne.contentEditable==="true")&&(bi=Ne,ad=K,Lu=null);break;case"focusout":Lu=ad=bi=null;break;case"mousedown":ld=!0;break;case"contextmenu":case"mouseup":case"dragend":ld=!1,Xv(ve,l,oe);break;case"selectionchange":if(Kv)break;case"keydown":case"keyup":Xv(ve,l,oe)}var Be;if(wi)e:{switch(n){case"compositionstart":var et="onCompositionStart";break e;case"compositionend":et="onCompositionEnd";break e;case"compositionupdate":et="onCompositionUpdate";break e}et=void 0}else mo?Fv(n,l)&&(et="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(et="onCompositionStart");et&&(zv&&l.locale!=="ko"&&(mo||et!=="onCompositionStart"?et==="onCompositionEnd"&&mo&&(Be=Gf()):(ea=oe,wu="value"in ea?ea.value:ea.textContent,mo=!0)),Ne=Uu(K,et),0<Ne.length&&(et=new qf(et,n,null,l,oe),ve.push({event:et,listeners:Ne}),Be?et.data=Be:(Be=Ks(l),Be!==null&&(et.data=Be)))),(Be=Gs?Gy(n,l):Ky(n,l))&&(K=Uu(K,"onBeforeInput"),0<K.length&&(oe=new qf("onBeforeInput","beforeinput",null,l,oe),ve.push({event:oe,listeners:K}),oe.data=Be))}Js(ve,r)})}function zu(n,r,l){return{instance:n,listener:r,currentTarget:l}}function Uu(n,r){for(var l=r+"Capture",u=[];n!==null;){var c=n,h=c.stateNode;c.tag===5&&h!==null&&(c=h,h=hu(n,l),h!=null&&u.unshift(zu(n,h,c)),h=hu(n,r),h!=null&&u.push(zu(n,h,c))),n=n.return}return u}function yl(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function cd(n,r,l,u,c){for(var h=r._reactName,E=[];l!==null&&l!==u;){var k=l,_=k.alternate,K=k.stateNode;if(_!==null&&_===u)break;k.tag===5&&K!==null&&(k=K,c?(_=hu(l,h),_!=null&&E.unshift(zu(l,_,k))):c||(_=hu(l,h),_!=null&&E.push(zu(l,_,k)))),l=l.return}E.length!==0&&n.push({event:r,listeners:E})}var fd=/\r\n?/g,ng=/\u0000|\uFFFD/g;function dd(n){return(typeof n=="string"?n:""+n).replace(fd,`
|
|
33
|
+
`).replace(ng,"")}function tc(n,r,l){if(r=dd(r),dd(n)!==r&&l)throw Error(v(425))}function nc(){}var pd=null,gl=null;function Fu(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Sl=typeof setTimeout=="function"?setTimeout:void 0,ih=typeof clearTimeout=="function"?clearTimeout:void 0,vd=typeof Promise=="function"?Promise:void 0,hd=typeof queueMicrotask=="function"?queueMicrotask:typeof vd<"u"?function(n){return vd.resolve(null).then(n).catch(rg)}:Sl;function rg(n){setTimeout(function(){throw n})}function Aa(n,r){var l=r,u=0;do{var c=l.nextSibling;if(n.removeChild(l),c&&c.nodeType===8)if(l=c.data,l==="/$"){if(u===0){n.removeChild(c),xu(r);return}u--}else l!=="$"&&l!=="$?"&&l!=="$!"||u++;l=c}while(l);xu(r)}function Di(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return n}function Hu(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="$"||l==="$!"||l==="$?"){if(r===0)return n;r--}else l==="/$"&&r++}n=n.previousSibling}return null}var za=Math.random().toString(36).slice(2),Hi="__reactFiber$"+za,El="__reactProps$"+za,la="__reactContainer$"+za,md="__reactEvents$"+za,ig="__reactListeners$"+za,yd="__reactHandles$"+za;function ni(n){var r=n[Hi];if(r)return r;for(var l=n.parentNode;l;){if(r=l[la]||l[Hi]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=Hu(n);n!==null;){if(l=n[Hi])return l;n=Hu(n)}return r}n=l,l=n.parentNode}return null}function Pu(n){return n=n[Hi]||n[la],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function Co(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(v(33))}function Ye(n){return n[El]||null}var Ua=[],jt=-1;function lt(n){return{current:n}}function Dt(n){0>jt||(n.current=Ua[jt],Ua[jt]=null,jt--)}function kt(n,r){jt++,Ua[jt]=n.current,n.current=r}var Pi={},Je=lt(Pi),an=lt(!1),Tr=Pi;function ri(n,r){var l=n.type.contextTypes;if(!l)return Pi;var u=n.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===r)return u.__reactInternalMemoizedMaskedChildContext;var c={},h;for(h in l)c[h]=r[h];return u&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=c),c}function Gt(n){return n=n.childContextTypes,n!=null}function ii(){Dt(an),Dt(Je)}function Fa(n,r,l){if(Je.current!==Pi)throw Error(v(168));kt(Je,r),kt(an,l)}function Vu(n,r,l){var u=n.stateNode;if(r=r.childContextTypes,typeof u.getChildContext!="function")return l;u=u.getChildContext();for(var c in u)if(!(c in r))throw Error(v(108,He(n)||"Unknown",c));return $({},l,u)}function rc(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||Pi,Tr=Je.current,kt(Je,n),kt(an,an.current),!0}function ah(n,r,l){var u=n.stateNode;if(!u)throw Error(v(169));l?(n=Vu(n,r,Tr),u.__reactInternalMemoizedMergedChildContext=n,Dt(an),Dt(Je),kt(Je,n)):Dt(an),kt(an,l)}var Vr=null,Ln=!1,Iu=!1;function gd(n){Vr===null?Vr=[n]:Vr.push(n)}function Sd(n){Ln=!0,gd(n)}function wr(){if(!Iu&&Vr!==null){Iu=!0;var n=0,r=Lt;try{var l=Vr;for(Lt=1;n<l.length;n++){var u=l[n];do u=u(!0);while(u!==null)}Vr=null,Ln=!1}catch(c){throw Vr!==null&&(Vr=Vr.slice(n+1)),Pf(Ji,wr),c}finally{Lt=r,Iu=!1}}return null}var Ha=[],br=0,Cl=null,Ro=0,Dr=[],tr=0,ai=null,jn=1,oa="";function Ir(n,r){Ha[br++]=Ro,Ha[br++]=Cl,Cl=n,Ro=r}function Ed(n,r,l){Dr[tr++]=jn,Dr[tr++]=oa,Dr[tr++]=ai,ai=n;var u=jn;n=oa;var c=32-Zr(u)-1;u&=~(1<<c),l+=1;var h=32-Zr(r)+c;if(30<h){var E=c-c%5;h=(u&(1<<E)-1).toString(32),u>>=E,c-=E,jn=1<<32-Zr(r)+c|l<<c|u,oa=h+n}else jn=1<<h|l<<c|u,oa=n}function ic(n){n.return!==null&&(Ir(n,1),Ed(n,1,0))}function Cd(n){for(;n===Cl;)Cl=Ha[--br],Ha[br]=null,Ro=Ha[--br],Ha[br]=null;for(;n===ai;)ai=Dr[--tr],Dr[tr]=null,oa=Dr[--tr],Dr[tr]=null,jn=Dr[--tr],Dr[tr]=null}var jr=null,kr=null,Bt=!1,li=null;function Rd(n,r){var l=di(5,null,null,0);l.elementType="DELETED",l.stateNode=r,l.return=n,r=n.deletions,r===null?(n.deletions=[l],n.flags|=16):r.push(l)}function lh(n,r){switch(n.tag){case 5:var l=n.type;return r=r.nodeType!==1||l.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(n.stateNode=r,jr=n,kr=Di(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,jr=n,kr=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(l=ai!==null?{id:jn,overflow:oa}:null,n.memoizedState={dehydrated:r,treeContext:l,retryLane:1073741824},l=di(18,null,null,0),l.stateNode=r,l.return=n,n.child=l,jr=n,kr=null,!0):!1;default:return!1}}function ac(n){return(n.mode&1)!==0&&(n.flags&128)===0}function lc(n){if(Bt){var r=kr;if(r){var l=r;if(!lh(n,r)){if(ac(n))throw Error(v(418));r=Di(l.nextSibling);var u=jr;r&&lh(n,r)?Rd(u,l):(n.flags=n.flags&-4097|2,Bt=!1,jr=n)}}else{if(ac(n))throw Error(v(418));n.flags=n.flags&-4097|2,Bt=!1,jr=n}}}function oh(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;jr=n}function oc(n){if(n!==jr)return!1;if(!Bt)return oh(n),Bt=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!Fu(n.type,n.memoizedProps)),r&&(r=kr)){if(ac(n))throw uh(),Error(v(418));for(;r;)Rd(n,r),r=Di(r.nextSibling)}if(oh(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(v(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="/$"){if(r===0){kr=Di(n.nextSibling);break e}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++}n=n.nextSibling}kr=null}}else kr=jr?Di(n.stateNode.nextSibling):null;return!0}function uh(){for(var n=kr;n;)n=Di(n.nextSibling)}function Xt(){kr=jr=null,Bt=!1}function xd(n){li===null?li=[n]:li.push(n)}var uc=ee.ReactCurrentBatchConfig;function Br(n,r){if(n&&n.defaultProps){r=$({},r),n=n.defaultProps;for(var l in n)r[l]===void 0&&(r[l]=n[l]);return r}return r}var Vi=lt(null),sc=null,Pa=null,Td=null;function wd(){Td=Pa=sc=null}function Va(n){var r=Vi.current;Dt(Vi),n._currentValue=r}function _n(n,r,l){for(;n!==null;){var u=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,u!==null&&(u.childLanes|=r)):u!==null&&(u.childLanes&r)!==r&&(u.childLanes|=r),n===l)break;n=n.return}}function Re(n,r){sc=n,Td=Pa=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(hn=!0),n.firstContext=null)}function sn(n){var r=n._currentValue;if(Td!==n)if(n={context:n,memoizedValue:r,next:null},Pa===null){if(sc===null)throw Error(v(308));Pa=n,sc.dependencies={lanes:0,firstContext:n}}else Pa=Pa.next=n;return r}var Bn=null;function bd(n){Bn===null?Bn=[n]:Bn.push(n)}function sh(n,r,l,u){var c=r.interleaved;return c===null?(l.next=l,bd(r)):(l.next=c.next,c.next=l),r.interleaved=l,ua(n,u)}function ua(n,r){n.lanes|=r;var l=n.alternate;for(l!==null&&(l.lanes|=r),l=n,n=n.return;n!==null;)n.childLanes|=r,l=n.alternate,l!==null&&(l.childLanes|=r),l=n,n=n.return;return l.tag===3?l.stateNode:null}var Ia=!1;function Dd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Cn(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function sa(n,r){return{eventTime:n,lane:r,tag:0,payload:null,callback:null,next:null}}function ja(n,r,l){var u=n.updateQueue;if(u===null)return null;if(u=u.shared,vt&2){var c=u.pending;return c===null?r.next=r:(r.next=c.next,c.next=r),u.pending=r,ua(n,l)}return c=u.interleaved,c===null?(r.next=r,bd(u)):(r.next=c.next,c.next=r),u.interleaved=r,ua(n,l)}function cc(n,r,l){if(r=r.updateQueue,r!==null&&(r=r.shared,(l&4194240)!==0)){var u=r.lanes;u&=n.pendingLanes,l|=u,r.lanes=l,Su(n,l)}}function kd(n,r){var l=n.updateQueue,u=n.alternate;if(u!==null&&(u=u.updateQueue,l===u)){var c=null,h=null;if(l=l.firstBaseUpdate,l!==null){do{var E={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};h===null?c=h=E:h=h.next=E,l=l.next}while(l!==null);h===null?c=h=r:h=h.next=r}else c=h=r;l={baseState:u.baseState,firstBaseUpdate:c,lastBaseUpdate:h,shared:u.shared,effects:u.effects},n.updateQueue=l;return}n=l.lastBaseUpdate,n===null?l.firstBaseUpdate=r:n.next=r,l.lastBaseUpdate=r}function Ba(n,r,l,u){var c=n.updateQueue;Ia=!1;var h=c.firstBaseUpdate,E=c.lastBaseUpdate,k=c.shared.pending;if(k!==null){c.shared.pending=null;var _=k,K=_.next;_.next=null,E===null?h=K:E.next=K,E=_;var oe=n.alternate;oe!==null&&(oe=oe.updateQueue,k=oe.lastBaseUpdate,k!==E&&(k===null?oe.firstBaseUpdate=K:k.next=K,oe.lastBaseUpdate=_))}if(h!==null){var ve=c.baseState;E=0,oe=K=_=null,k=h;do{var ae=k.lane,we=k.eventTime;if((u&ae)===ae){oe!==null&&(oe=oe.next={eventTime:we,lane:0,tag:k.tag,payload:k.payload,callback:k.callback,next:null});e:{var _e=n,Fe=k;switch(ae=r,we=l,Fe.tag){case 1:if(_e=Fe.payload,typeof _e=="function"){ve=_e.call(we,ve,ae);break e}ve=_e;break e;case 3:_e.flags=_e.flags&-65537|128;case 0:if(_e=Fe.payload,ae=typeof _e=="function"?_e.call(we,ve,ae):_e,ae==null)break e;ve=$({},ve,ae);break e;case 2:Ia=!0}}k.callback!==null&&k.lane!==0&&(n.flags|=64,ae=c.effects,ae===null?c.effects=[k]:ae.push(k))}else we={eventTime:we,lane:ae,tag:k.tag,payload:k.payload,callback:k.callback,next:null},oe===null?(K=oe=we,_=ve):oe=oe.next=we,E|=ae;if(k=k.next,k===null){if(k=c.shared.pending,k===null)break;ae=k,k=ae.next,ae.next=null,c.lastBaseUpdate=ae,c.shared.pending=null}}while(1);if(oe===null&&(_=ve),c.baseState=_,c.firstBaseUpdate=K,c.lastBaseUpdate=oe,r=c.shared.interleaved,r!==null){c=r;do E|=c.lane,c=c.next;while(c!==r)}else h===null&&(c.shared.lanes=0);pa|=E,n.lanes=E,n.memoizedState=ve}}function Rl(n,r,l){if(n=r.effects,r.effects=null,n!==null)for(r=0;r<n.length;r++){var u=n[r],c=u.callback;if(c!==null){if(u.callback=null,u=l,typeof c!="function")throw Error(v(191,c));c.call(u)}}}var ch=new f.Component().refs;function Od(n,r,l,u){r=n.memoizedState,l=l(u,r),l=l==null?r:$({},r,l),n.memoizedState=l,n.lanes===0&&(n.updateQueue.baseState=l)}var fc={isMounted:function(n){return(n=n._reactInternals)?Fi(n)===n:!1},enqueueSetState:function(n,r,l){n=n._reactInternals;var u=ar(),c=mn(n),h=sa(u,c);h.payload=r,l!=null&&(h.callback=l),r=ja(n,h,c),r!==null&&(lr(r,n,c,u),cc(r,n,c))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var u=ar(),c=mn(n),h=sa(u,c);h.tag=1,h.payload=r,l!=null&&(h.callback=l),r=ja(n,h,c),r!==null&&(lr(r,n,c,u),cc(r,n,c))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=ar(),u=mn(n),c=sa(l,u);c.tag=2,r!=null&&(c.callback=r),r=ja(n,c,u),r!==null&&(lr(r,n,u,l),cc(r,n,u))}};function fh(n,r,l,u,c,h,E){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,h,E):r.prototype&&r.prototype.isPureReactComponent?!Mu(l,u)||!Mu(c,h):!0}function dh(n,r,l){var u=!1,c=Pi,h=r.contextType;return typeof h=="object"&&h!==null?h=sn(h):(c=Gt(r)?Tr:Je.current,u=r.contextTypes,h=(u=u!=null)?ri(n,c):Pi),r=new r(l,h),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=fc,n.stateNode=r,r._reactInternals=n,u&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=c,n.__reactInternalMemoizedMaskedChildContext=h),r}function ph(n,r,l,u){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(l,u),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(l,u),r.state!==n&&fc.enqueueReplaceState(r,r.state,null)}function dc(n,r,l,u){var c=n.stateNode;c.props=l,c.state=n.memoizedState,c.refs=ch,Dd(n);var h=r.contextType;typeof h=="object"&&h!==null?c.context=sn(h):(h=Gt(r)?Tr:Je.current,c.context=ri(n,h)),c.state=n.memoizedState,h=r.getDerivedStateFromProps,typeof h=="function"&&(Od(n,r,h,l),c.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(r=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),r!==c.state&&fc.enqueueReplaceState(c,c.state,null),Ba(n,l,c,u),c.state=n.memoizedState),typeof c.componentDidMount=="function"&&(n.flags|=4194308)}function xo(n,r,l){if(n=l.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(v(309));var u=l.stateNode}if(!u)throw Error(v(147,n));var c=u,h=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===h?r.ref:(r=function(E){var k=c.refs;k===ch&&(k=c.refs={}),E===null?delete k[h]:k[h]=E},r._stringRef=h,r)}if(typeof n!="string")throw Error(v(284));if(!l._owner)throw Error(v(290,n))}return n}function pc(n,r){throw n=Object.prototype.toString.call(r),Error(v(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function vh(n){var r=n._init;return r(n._payload)}function hh(n){function r(V,A){if(n){var B=V.deletions;B===null?(V.deletions=[A],V.flags|=16):B.push(A)}}function l(V,A){if(!n)return null;for(;A!==null;)r(V,A),A=A.sibling;return null}function u(V,A){for(V=new Map;A!==null;)A.key!==null?V.set(A.key,A):V.set(A.index,A),A=A.sibling;return V}function c(V,A){return V=qa(V,A),V.index=0,V.sibling=null,V}function h(V,A,B){return V.index=B,n?(B=V.alternate,B!==null?(B=B.index,B<A?(V.flags|=2,A):B):(V.flags|=2,A)):(V.flags|=1048576,A)}function E(V){return n&&V.alternate===null&&(V.flags|=2),V}function k(V,A,B,ye){return A===null||A.tag!==6?(A=ls(B,V.mode,ye),A.return=V,A):(A=c(A,B),A.return=V,A)}function _(V,A,B,ye){var Pe=B.type;return Pe===ge?oe(V,A,B.props.children,ye,B.key):A!==null&&(A.elementType===Pe||typeof Pe=="object"&&Pe!==null&&Pe.$$typeof===ie&&vh(Pe)===A.type)?(ye=c(A,B.props),ye.ref=xo(V,A,B),ye.return=V,ye):(ye=Yc(B.type,B.key,B.props,null,V.mode,ye),ye.ref=xo(V,A,B),ye.return=V,ye)}function K(V,A,B,ye){return A===null||A.tag!==4||A.stateNode.containerInfo!==B.containerInfo||A.stateNode.implementation!==B.implementation?(A=Il(B,V.mode,ye),A.return=V,A):(A=c(A,B.children||[]),A.return=V,A)}function oe(V,A,B,ye,Pe){return A===null||A.tag!==7?(A=Vl(B,V.mode,ye,Pe),A.return=V,A):(A=c(A,B),A.return=V,A)}function ve(V,A,B){if(typeof A=="string"&&A!==""||typeof A=="number")return A=ls(""+A,V.mode,B),A.return=V,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case le:return B=Yc(A.type,A.key,A.props,null,V.mode,B),B.ref=xo(V,null,A),B.return=V,B;case me:return A=Il(A,V.mode,B),A.return=V,A;case ie:var ye=A._init;return ve(V,ye(A._payload),B)}if(at(A)||fe(A))return A=Vl(A,V.mode,B,null),A.return=V,A;pc(V,A)}return null}function ae(V,A,B,ye){var Pe=A!==null?A.key:null;if(typeof B=="string"&&B!==""||typeof B=="number")return Pe!==null?null:k(V,A,""+B,ye);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case le:return B.key===Pe?_(V,A,B,ye):null;case me:return B.key===Pe?K(V,A,B,ye):null;case ie:return Pe=B._init,ae(V,A,Pe(B._payload),ye)}if(at(B)||fe(B))return Pe!==null?null:oe(V,A,B,ye,null);pc(V,B)}return null}function we(V,A,B,ye,Pe){if(typeof ye=="string"&&ye!==""||typeof ye=="number")return V=V.get(B)||null,k(A,V,""+ye,Pe);if(typeof ye=="object"&&ye!==null){switch(ye.$$typeof){case le:return V=V.get(ye.key===null?B:ye.key)||null,_(A,V,ye,Pe);case me:return V=V.get(ye.key===null?B:ye.key)||null,K(A,V,ye,Pe);case ie:var Ne=ye._init;return we(V,A,B,Ne(ye._payload),Pe)}if(at(ye)||fe(ye))return V=V.get(B)||null,oe(A,V,ye,Pe,null);pc(A,ye)}return null}function _e(V,A,B,ye){for(var Pe=null,Ne=null,Be=A,et=A=0,zn=null;Be!==null&&et<B.length;et++){Be.index>et?(zn=Be,Be=null):zn=Be.sibling;var Ct=ae(V,Be,B[et],ye);if(Ct===null){Be===null&&(Be=zn);break}n&&Be&&Ct.alternate===null&&r(V,Be),A=h(Ct,A,et),Ne===null?Pe=Ct:Ne.sibling=Ct,Ne=Ct,Be=zn}if(et===B.length)return l(V,Be),Bt&&Ir(V,et),Pe;if(Be===null){for(;et<B.length;et++)Be=ve(V,B[et],ye),Be!==null&&(A=h(Be,A,et),Ne===null?Pe=Be:Ne.sibling=Be,Ne=Be);return Bt&&Ir(V,et),Pe}for(Be=u(V,Be);et<B.length;et++)zn=we(Be,V,et,B[et],ye),zn!==null&&(n&&zn.alternate!==null&&Be.delete(zn.key===null?et:zn.key),A=h(zn,A,et),Ne===null?Pe=zn:Ne.sibling=zn,Ne=zn);return n&&Be.forEach(function(Za){return r(V,Za)}),Bt&&Ir(V,et),Pe}function Fe(V,A,B,ye){var Pe=fe(B);if(typeof Pe!="function")throw Error(v(150));if(B=Pe.call(B),B==null)throw Error(v(151));for(var Ne=Pe=null,Be=A,et=A=0,zn=null,Ct=B.next();Be!==null&&!Ct.done;et++,Ct=B.next()){Be.index>et?(zn=Be,Be=null):zn=Be.sibling;var Za=ae(V,Be,Ct.value,ye);if(Za===null){Be===null&&(Be=zn);break}n&&Be&&Za.alternate===null&&r(V,Be),A=h(Za,A,et),Ne===null?Pe=Za:Ne.sibling=Za,Ne=Za,Be=zn}if(Ct.done)return l(V,Be),Bt&&Ir(V,et),Pe;if(Be===null){for(;!Ct.done;et++,Ct=B.next())Ct=ve(V,Ct.value,ye),Ct!==null&&(A=h(Ct,A,et),Ne===null?Pe=Ct:Ne.sibling=Ct,Ne=Ct);return Bt&&Ir(V,et),Pe}for(Be=u(V,Be);!Ct.done;et++,Ct=B.next())Ct=we(Be,V,et,Ct.value,ye),Ct!==null&&(n&&Ct.alternate!==null&&Be.delete(Ct.key===null?et:Ct.key),A=h(Ct,A,et),Ne===null?Pe=Ct:Ne.sibling=Ct,Ne=Ct);return n&&Be.forEach(function(Tg){return r(V,Tg)}),Bt&&Ir(V,et),Pe}function cn(V,A,B,ye){if(typeof B=="object"&&B!==null&&B.type===ge&&B.key===null&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case le:e:{for(var Pe=B.key,Ne=A;Ne!==null;){if(Ne.key===Pe){if(Pe=B.type,Pe===ge){if(Ne.tag===7){l(V,Ne.sibling),A=c(Ne,B.props.children),A.return=V,V=A;break e}}else if(Ne.elementType===Pe||typeof Pe=="object"&&Pe!==null&&Pe.$$typeof===ie&&vh(Pe)===Ne.type){l(V,Ne.sibling),A=c(Ne,B.props),A.ref=xo(V,Ne,B),A.return=V,V=A;break e}l(V,Ne);break}else r(V,Ne);Ne=Ne.sibling}B.type===ge?(A=Vl(B.props.children,V.mode,ye,B.key),A.return=V,V=A):(ye=Yc(B.type,B.key,B.props,null,V.mode,ye),ye.ref=xo(V,A,B),ye.return=V,V=ye)}return E(V);case me:e:{for(Ne=B.key;A!==null;){if(A.key===Ne)if(A.tag===4&&A.stateNode.containerInfo===B.containerInfo&&A.stateNode.implementation===B.implementation){l(V,A.sibling),A=c(A,B.children||[]),A.return=V,V=A;break e}else{l(V,A);break}else r(V,A);A=A.sibling}A=Il(B,V.mode,ye),A.return=V,V=A}return E(V);case ie:return Ne=B._init,cn(V,A,Ne(B._payload),ye)}if(at(B))return _e(V,A,B,ye);if(fe(B))return Fe(V,A,B,ye);pc(V,B)}return typeof B=="string"&&B!==""||typeof B=="number"?(B=""+B,A!==null&&A.tag===6?(l(V,A.sibling),A=c(A,B),A.return=V,V=A):(l(V,A),A=ls(B,V.mode,ye),A.return=V,V=A),E(V)):l(V,A)}return cn}var To=hh(!0),mh=hh(!1),ju={},ki=lt(ju),Bu=lt(ju),wo=lt(ju);function xl(n){if(n===ju)throw Error(v(174));return n}function Md(n,r){switch(kt(wo,r),kt(Bu,n),kt(ki,ju),n=r.nodeType,n){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:Vn(null,"");break;default:n=n===8?r.parentNode:r,r=n.namespaceURI||null,n=n.tagName,r=Vn(r,n)}Dt(ki),kt(ki,r)}function $a(){Dt(ki),Dt(Bu),Dt(wo)}function Ge(n){xl(wo.current);var r=xl(ki.current),l=Vn(r,n.type);r!==l&&(kt(Bu,n),kt(ki,l))}function ct(n){Bu.current===n&&(Dt(ki),Dt(Bu))}var Xe=lt(0);function qt(n){for(var r=n;r!==null;){if(r.tag===13){var l=r.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if(r.flags&128)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var oi=[];function vc(){for(var n=0;n<oi.length;n++)oi[n]._workInProgressVersionPrimary=null;oi.length=0}var hc=ee.ReactCurrentDispatcher,Ld=ee.ReactCurrentBatchConfig,Tl=0,$t=null,J=null,yt=null,qe=!1,Ii=!1,$r=0,wl=0;function Yt(){throw Error(v(321))}function bl(n,r){if(r===null)return!1;for(var l=0;l<r.length&&l<n.length;l++)if(!ti(n[l],r[l]))return!1;return!0}function Ya(n,r,l,u,c,h){if(Tl=h,$t=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,hc.current=n===null||n.memoizedState===null?lg:og,n=l(u,c),Ii){h=0;do{if(Ii=!1,$r=0,25<=h)throw Error(v(301));h+=1,yt=J=null,r.updateQueue=null,hc.current=Nd,n=l(u,c)}while(Ii)}if(hc.current=Lc,r=J!==null&&J.next!==null,Tl=0,yt=J=$t=null,qe=!1,r)throw Error(v(300));return n}function Dl(){var n=$r!==0;return $r=0,n}function ui(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yt===null?$t.memoizedState=yt=n:yt=yt.next=n,yt}function Or(){if(J===null){var n=$t.alternate;n=n!==null?n.memoizedState:null}else n=J.next;var r=yt===null?$t.memoizedState:yt.next;if(r!==null)yt=r,J=n;else{if(n===null)throw Error(v(310));J=n,n={memoizedState:J.memoizedState,baseState:J.baseState,baseQueue:J.baseQueue,queue:J.queue,next:null},yt===null?$t.memoizedState=yt=n:yt=yt.next=n}return yt}function kl(n,r){return typeof r=="function"?r(n):r}function $u(n){var r=Or(),l=r.queue;if(l===null)throw Error(v(311));l.lastRenderedReducer=n;var u=J,c=u.baseQueue,h=l.pending;if(h!==null){if(c!==null){var E=c.next;c.next=h.next,h.next=E}u.baseQueue=c=h,l.pending=null}if(c!==null){h=c.next,u=u.baseState;var k=E=null,_=null,K=h;do{var oe=K.lane;if((Tl&oe)===oe)_!==null&&(_=_.next={lane:0,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null}),u=K.hasEagerState?K.eagerState:n(u,K.action);else{var ve={lane:oe,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null};_===null?(k=_=ve,E=u):_=_.next=ve,$t.lanes|=oe,pa|=oe}K=K.next}while(K!==null&&K!==h);_===null?E=u:_.next=k,ti(u,r.memoizedState)||(hn=!0),r.memoizedState=u,r.baseState=E,r.baseQueue=_,l.lastRenderedState=u}if(n=l.interleaved,n!==null){c=n;do h=c.lane,$t.lanes|=h,pa|=h,c=c.next;while(c!==n)}else c===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function Yu(n){var r=Or(),l=r.queue;if(l===null)throw Error(v(311));l.lastRenderedReducer=n;var u=l.dispatch,c=l.pending,h=r.memoizedState;if(c!==null){l.pending=null;var E=c=c.next;do h=n(h,E.action),E=E.next;while(E!==c);ti(h,r.memoizedState)||(hn=!0),r.memoizedState=h,r.baseQueue===null&&(r.baseState=h),l.lastRenderedState=h}return[h,u]}function mc(){}function yc(n,r){var l=$t,u=Or(),c=r(),h=!ti(u.memoizedState,c);if(h&&(u.memoizedState=c,hn=!0),u=u.queue,Qu(Ec.bind(null,l,u,n),[n]),u.getSnapshot!==r||h||yt!==null&&yt.memoizedState.tag&1){if(l.flags|=2048,Ol(9,Sc.bind(null,l,u,c,r),void 0,null),Zt===null)throw Error(v(349));Tl&30||gc(l,r,c)}return c}function gc(n,r,l){n.flags|=16384,n={getSnapshot:r,value:l},r=$t.updateQueue,r===null?(r={lastEffect:null,stores:null},$t.updateQueue=r,r.stores=[n]):(l=r.stores,l===null?r.stores=[n]:l.push(n))}function Sc(n,r,l,u){r.value=l,r.getSnapshot=u,Cc(r)&&Rc(n)}function Ec(n,r,l){return l(function(){Cc(r)&&Rc(n)})}function Cc(n){var r=n.getSnapshot;n=n.value;try{var l=r();return!ti(n,l)}catch{return!0}}function Rc(n){var r=ua(n,1);r!==null&&lr(r,n,1,-1)}function xc(n){var r=ui();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:kl,lastRenderedState:n},r.queue=n,n=n.dispatch=Mc.bind(null,$t,n),[r.memoizedState,n]}function Ol(n,r,l,u){return n={tag:n,create:r,destroy:l,deps:u,next:null},r=$t.updateQueue,r===null?(r={lastEffect:null,stores:null},$t.updateQueue=r,r.lastEffect=n.next=n):(l=r.lastEffect,l===null?r.lastEffect=n.next=n:(u=l.next,l.next=n,n.next=u,r.lastEffect=n)),n}function Tc(){return Or().memoizedState}function Ml(n,r,l,u){var c=ui();$t.flags|=n,c.memoizedState=Ol(1|r,l,void 0,u===void 0?null:u)}function ca(n,r,l,u){var c=Or();u=u===void 0?null:u;var h=void 0;if(J!==null){var E=J.memoizedState;if(h=E.destroy,u!==null&&bl(u,E.deps)){c.memoizedState=Ol(r,l,h,u);return}}$t.flags|=n,c.memoizedState=Ol(1|r,l,h,u)}function wc(n,r){return Ml(8390656,8,n,r)}function Qu(n,r){return ca(2048,8,n,r)}function bc(n,r){return ca(4,2,n,r)}function Dc(n,r){return ca(4,4,n,r)}function _d(n,r){if(typeof r=="function")return n=n(),r(n),function(){r(null)};if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function bo(n,r,l){return l=l!=null?l.concat([n]):null,ca(4,4,_d.bind(null,r,n),l)}function kc(){}function Do(n,r){var l=Or();r=r===void 0?null:r;var u=l.memoizedState;return u!==null&&r!==null&&bl(r,u[1])?u[0]:(l.memoizedState=[n,r],n)}function Qa(n,r){var l=Or();r=r===void 0?null:r;var u=l.memoizedState;return u!==null&&r!==null&&bl(r,u[1])?u[0]:(n=n(),l.memoizedState=[n,r],n)}function Mr(n,r,l){return Tl&21?(ti(l,r)||(l=Hs(),$t.lanes|=l,pa|=l,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,hn=!0),n.memoizedState=l)}function ag(n,r){var l=Lt;Lt=l!==0&&4>l?l:4,n(!0);var u=Ld.transition;Ld.transition={};try{n(!1),r()}finally{Lt=l,Ld.transition=u}}function Pt(){return Or().memoizedState}function Oc(n,r,l){var u=mn(n);if(l={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null},ko(n))Wu(r,l);else if(l=sh(n,r,l,u),l!==null){var c=ar();lr(l,n,u,c),yh(l,r,u)}}function Mc(n,r,l){var u=mn(n),c={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null};if(ko(n))Wu(r,c);else{var h=n.alternate;if(n.lanes===0&&(h===null||h.lanes===0)&&(h=r.lastRenderedReducer,h!==null))try{var E=r.lastRenderedState,k=h(E,l);if(c.hasEagerState=!0,c.eagerState=k,ti(k,E)){var _=r.interleaved;_===null?(c.next=c,bd(r)):(c.next=_.next,_.next=c),r.interleaved=c;return}}catch{}finally{}l=sh(n,r,c,u),l!==null&&(c=ar(),lr(l,n,u,c),yh(l,r,u))}}function ko(n){var r=n.alternate;return n===$t||r!==null&&r===$t}function Wu(n,r){Ii=qe=!0;var l=n.pending;l===null?r.next=r:(r.next=l.next,l.next=r),n.pending=r}function yh(n,r,l){if(l&4194240){var u=r.lanes;u&=n.pendingLanes,l|=u,r.lanes=l,Su(n,l)}}var Lc={readContext:sn,useCallback:Yt,useContext:Yt,useEffect:Yt,useImperativeHandle:Yt,useInsertionEffect:Yt,useLayoutEffect:Yt,useMemo:Yt,useReducer:Yt,useRef:Yt,useState:Yt,useDebugValue:Yt,useDeferredValue:Yt,useTransition:Yt,useMutableSource:Yt,useSyncExternalStore:Yt,useId:Yt,unstable_isNewReconciler:!1},lg={readContext:sn,useCallback:function(n,r){return ui().memoizedState=[n,r===void 0?null:r],n},useContext:sn,useEffect:wc,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,Ml(4194308,4,_d.bind(null,r,n),l)},useLayoutEffect:function(n,r){return Ml(4194308,4,n,r)},useInsertionEffect:function(n,r){return Ml(4,2,n,r)},useMemo:function(n,r){var l=ui();return r=r===void 0?null:r,n=n(),l.memoizedState=[n,r],n},useReducer:function(n,r,l){var u=ui();return r=l!==void 0?l(r):r,u.memoizedState=u.baseState=r,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},u.queue=n,n=n.dispatch=Oc.bind(null,$t,n),[u.memoizedState,n]},useRef:function(n){var r=ui();return n={current:n},r.memoizedState=n},useState:xc,useDebugValue:kc,useDeferredValue:function(n){return ui().memoizedState=n},useTransition:function(){var n=xc(!1),r=n[0];return n=ag.bind(null,n[1]),ui().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,l){var u=$t,c=ui();if(Bt){if(l===void 0)throw Error(v(407));l=l()}else{if(l=r(),Zt===null)throw Error(v(349));Tl&30||gc(u,r,l)}c.memoizedState=l;var h={value:l,getSnapshot:r};return c.queue=h,wc(Ec.bind(null,u,h,n),[n]),u.flags|=2048,Ol(9,Sc.bind(null,u,h,l,r),void 0,null),l},useId:function(){var n=ui(),r=Zt.identifierPrefix;if(Bt){var l=oa,u=jn;l=(u&~(1<<32-Zr(u)-1)).toString(32)+l,r=":"+r+"R"+l,l=$r++,0<l&&(r+="H"+l.toString(32)),r+=":"}else l=wl++,r=":"+r+"r"+l.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},og={readContext:sn,useCallback:Do,useContext:sn,useEffect:Qu,useImperativeHandle:bo,useInsertionEffect:bc,useLayoutEffect:Dc,useMemo:Qa,useReducer:$u,useRef:Tc,useState:function(){return $u(kl)},useDebugValue:kc,useDeferredValue:function(n){var r=Or();return Mr(r,J.memoizedState,n)},useTransition:function(){var n=$u(kl)[0],r=Or().memoizedState;return[n,r]},useMutableSource:mc,useSyncExternalStore:yc,useId:Pt,unstable_isNewReconciler:!1},Nd={readContext:sn,useCallback:Do,useContext:sn,useEffect:Qu,useImperativeHandle:bo,useInsertionEffect:bc,useLayoutEffect:Dc,useMemo:Qa,useReducer:Yu,useRef:Tc,useState:function(){return Yu(kl)},useDebugValue:kc,useDeferredValue:function(n){var r=Or();return J===null?r.memoizedState=n:Mr(r,J.memoizedState,n)},useTransition:function(){var n=Yu(kl)[0],r=Or().memoizedState;return[n,r]},useMutableSource:mc,useSyncExternalStore:yc,useId:Pt,unstable_isNewReconciler:!1};function Oo(n,r){try{var l="",u=r;do l+=Me(u),u=u.return;while(u);var c=l}catch(h){c=`
|
|
34
|
+
Error generating stack: `+h.message+`
|
|
35
|
+
`+h.stack}return{value:n,source:r,stack:c,digest:null}}function Gu(n,r,l){return{value:n,source:null,stack:l??null,digest:r??null}}function _c(n,r){try{console.error(r.value)}catch(l){setTimeout(function(){throw l})}}var ug=typeof WeakMap=="function"?WeakMap:Map;function gh(n,r,l){l=sa(-1,l),l.tag=3,l.payload={element:null};var u=r.value;return l.callback=function(){Pc||(Pc=!0,zl=u),_c(n,r)},l}function Ku(n,r,l){l=sa(-1,l),l.tag=3;var u=n.type.getDerivedStateFromError;if(typeof u=="function"){var c=r.value;l.payload=function(){return u(c)},l.callback=function(){_c(n,r)}}var h=n.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(l.callback=function(){_c(n,r),typeof u!="function"&&($i===null?$i=new Set([this]):$i.add(this));var E=r.stack;this.componentDidCatch(r.value,{componentStack:E!==null?E:""})}),l}function Sh(n,r,l){var u=n.pingCache;if(u===null){u=n.pingCache=new ug;var c=new Set;u.set(r,c)}else c=u.get(r),c===void 0&&(c=new Set,u.set(r,c));c.has(l)||(c.add(l),n=hg.bind(null,n,r,l),r.then(n,n))}function Ad(n){do{var r;if((r=n.tag===13)&&(r=n.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return n;n=n.return}while(n!==null);return null}function zd(n,r,l,u,c){return n.mode&1?(n.flags|=65536,n.lanes=c,n):(n===r?n.flags|=65536:(n.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(r=sa(-1,1),r.tag=2,ja(l,r,1))),l.lanes|=1),n)}var sg=ee.ReactCurrentOwner,hn=!1;function Rn(n,r,l,u){r.child=n===null?mh(r,null,l,u):To(r,n.child,l,u)}function Wa(n,r,l,u,c){l=l.render;var h=r.ref;return Re(r,c),u=Ya(n,r,l,u,h,c),l=Dl(),n!==null&&!hn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,$n(n,r,c)):(Bt&&l&&ic(r),r.flags|=1,Rn(n,r,u,c),r.child)}function Nc(n,r,l,u,c){if(n===null){var h=l.type;return typeof h=="function"&&!ep(h)&&h.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(r.tag=15,r.type=h,Lr(n,r,h,u,c)):(n=Yc(l.type,null,u,r,r.mode,c),n.ref=r.ref,n.return=r,r.child=n)}if(h=n.child,!(n.lanes&c)){var E=h.memoizedProps;if(l=l.compare,l=l!==null?l:Mu,l(E,u)&&n.ref===r.ref)return $n(n,r,c)}return r.flags|=1,n=qa(h,u),n.ref=r.ref,n.return=r,r.child=n}function Lr(n,r,l,u,c){if(n!==null){var h=n.memoizedProps;if(Mu(h,u)&&n.ref===r.ref)if(hn=!1,r.pendingProps=u=h,(n.lanes&c)!==0)n.flags&131072&&(hn=!0);else return r.lanes=n.lanes,$n(n,r,c)}return Mo(n,r,l,u,c)}function Ll(n,r,l){var u=r.pendingProps,c=u.children,h=n!==null?n.memoizedState:null;if(u.mode==="hidden")if(!(r.mode&1))r.memoizedState={baseLanes:0,cachePool:null,transitions:null},kt(Uo,Yr),Yr|=l;else{if(!(l&1073741824))return n=h!==null?h.baseLanes|l:l,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:n,cachePool:null,transitions:null},r.updateQueue=null,kt(Uo,Yr),Yr|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=h!==null?h.baseLanes:l,kt(Uo,Yr),Yr|=u}else h!==null?(u=h.baseLanes|l,r.memoizedState=null):u=l,kt(Uo,Yr),Yr|=u;return Rn(n,r,c,l),r.child}function ot(n,r){var l=r.ref;(n===null&&l!==null||n!==null&&n.ref!==l)&&(r.flags|=512,r.flags|=2097152)}function Mo(n,r,l,u,c){var h=Gt(l)?Tr:Je.current;return h=ri(r,h),Re(r,c),l=Ya(n,r,l,u,h,c),u=Dl(),n!==null&&!hn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,$n(n,r,c)):(Bt&&u&&ic(r),r.flags|=1,Rn(n,r,l,c),r.child)}function Ud(n,r,l,u,c){if(Gt(l)){var h=!0;rc(r)}else h=!1;if(Re(r,c),r.stateNode===null)nr(n,r),dh(r,l,u),dc(r,l,u,c),u=!0;else if(n===null){var E=r.stateNode,k=r.memoizedProps;E.props=k;var _=E.context,K=l.contextType;typeof K=="object"&&K!==null?K=sn(K):(K=Gt(l)?Tr:Je.current,K=ri(r,K));var oe=l.getDerivedStateFromProps,ve=typeof oe=="function"||typeof E.getSnapshotBeforeUpdate=="function";ve||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(k!==u||_!==K)&&ph(r,E,u,K),Ia=!1;var ae=r.memoizedState;E.state=ae,Ba(r,u,E,c),_=r.memoizedState,k!==u||ae!==_||an.current||Ia?(typeof oe=="function"&&(Od(r,l,oe,u),_=r.memoizedState),(k=Ia||fh(r,l,k,u,ae,_,K))?(ve||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount()),typeof E.componentDidMount=="function"&&(r.flags|=4194308)):(typeof E.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=_),E.props=u,E.state=_,E.context=K,u=k):(typeof E.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{E=r.stateNode,Cn(n,r),k=r.memoizedProps,K=r.type===r.elementType?k:Br(r.type,k),E.props=K,ve=r.pendingProps,ae=E.context,_=l.contextType,typeof _=="object"&&_!==null?_=sn(_):(_=Gt(l)?Tr:Je.current,_=ri(r,_));var we=l.getDerivedStateFromProps;(oe=typeof we=="function"||typeof E.getSnapshotBeforeUpdate=="function")||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(k!==ve||ae!==_)&&ph(r,E,u,_),Ia=!1,ae=r.memoizedState,E.state=ae,Ba(r,u,E,c);var _e=r.memoizedState;k!==ve||ae!==_e||an.current||Ia?(typeof we=="function"&&(Od(r,l,we,u),_e=r.memoizedState),(K=Ia||fh(r,l,K,u,ae,_e,_)||!1)?(oe||typeof E.UNSAFE_componentWillUpdate!="function"&&typeof E.componentWillUpdate!="function"||(typeof E.componentWillUpdate=="function"&&E.componentWillUpdate(u,_e,_),typeof E.UNSAFE_componentWillUpdate=="function"&&E.UNSAFE_componentWillUpdate(u,_e,_)),typeof E.componentDidUpdate=="function"&&(r.flags|=4),typeof E.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof E.componentDidUpdate!="function"||k===n.memoizedProps&&ae===n.memoizedState||(r.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||k===n.memoizedProps&&ae===n.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=_e),E.props=u,E.state=_e,E.context=_,u=K):(typeof E.componentDidUpdate!="function"||k===n.memoizedProps&&ae===n.memoizedState||(r.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||k===n.memoizedProps&&ae===n.memoizedState||(r.flags|=1024),u=!1)}return Eh(n,r,l,u,h,c)}function Eh(n,r,l,u,c,h){ot(n,r);var E=(r.flags&128)!==0;if(!u&&!E)return c&&ah(r,l,!1),$n(n,r,h);u=r.stateNode,sg.current=r;var k=E&&typeof l.getDerivedStateFromError!="function"?null:u.render();return r.flags|=1,n!==null&&E?(r.child=To(r,n.child,null,h),r.child=To(r,null,k,h)):Rn(n,r,k,h),r.memoizedState=u.state,c&&ah(r,l,!0),r.child}function Ch(n){var r=n.stateNode;r.pendingContext?Fa(n,r.pendingContext,r.pendingContext!==r.context):r.context&&Fa(n,r.context,!1),Md(n,r.containerInfo)}function Ac(n,r,l,u,c){return Xt(),xd(c),r.flags|=256,Rn(n,r,l,u),r.child}var _l={dehydrated:null,treeContext:null,retryLane:0};function Fd(n){return{baseLanes:n,cachePool:null,transitions:null}}function Hd(n,r,l){var u=r.pendingProps,c=Xe.current,h=!1,E=(r.flags&128)!==0,k;if((k=E)||(k=n!==null&&n.memoizedState===null?!1:(c&2)!==0),k?(h=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(c|=1),kt(Xe,c&1),n===null)return lc(r),n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(r.mode&1?n.data==="$!"?r.lanes=8:r.lanes=1073741824:r.lanes=1,null):(E=u.children,n=u.fallback,h?(u=r.mode,h=r.child,E={mode:"hidden",children:E},!(u&1)&&h!==null?(h.childLanes=0,h.pendingProps=E):h=as(E,u,0,null),n=Vl(n,u,l,null),h.return=r,n.return=r,h.sibling=n,r.child=h,r.child.memoizedState=Fd(l),r.memoizedState=_l,n):Pd(r,E));if(c=n.memoizedState,c!==null&&(k=c.dehydrated,k!==null))return cg(n,r,E,u,k,c,l);if(h){h=u.fallback,E=r.mode,c=n.child,k=c.sibling;var _={mode:"hidden",children:u.children};return!(E&1)&&r.child!==c?(u=r.child,u.childLanes=0,u.pendingProps=_,r.deletions=null):(u=qa(c,_),u.subtreeFlags=c.subtreeFlags&14680064),k!==null?h=qa(k,h):(h=Vl(h,E,l,null),h.flags|=2),h.return=r,u.return=r,u.sibling=h,r.child=u,u=h,h=r.child,E=n.child.memoizedState,E=E===null?Fd(l):{baseLanes:E.baseLanes|l,cachePool:null,transitions:E.transitions},h.memoizedState=E,h.childLanes=n.childLanes&~l,r.memoizedState=_l,u}return h=n.child,n=h.sibling,u=qa(h,{mode:"visible",children:u.children}),!(r.mode&1)&&(u.lanes=l),u.return=r,u.sibling=null,n!==null&&(l=r.deletions,l===null?(r.deletions=[n],r.flags|=16):l.push(n)),r.child=u,r.memoizedState=null,u}function Pd(n,r){return r=as({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function Lo(n,r,l,u){return u!==null&&xd(u),To(r,n.child,null,l),n=Pd(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function cg(n,r,l,u,c,h,E){if(l)return r.flags&256?(r.flags&=-257,u=Gu(Error(v(422))),Lo(n,r,E,u)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(h=u.fallback,c=r.mode,u=as({mode:"visible",children:u.children},c,0,null),h=Vl(h,c,E,null),h.flags|=2,u.return=r,h.return=r,u.sibling=h,r.child=u,r.mode&1&&To(r,n.child,null,E),r.child.memoizedState=Fd(E),r.memoizedState=_l,h);if(!(r.mode&1))return Lo(n,r,E,null);if(c.data==="$!"){if(u=c.nextSibling&&c.nextSibling.dataset,u)var k=u.dgst;return u=k,h=Error(v(419)),u=Gu(h,u,void 0),Lo(n,r,E,u)}if(k=(E&n.childLanes)!==0,hn||k){if(u=Zt,u!==null){switch(E&-E){case 4:c=2;break;case 16:c=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:c=32;break;case 536870912:c=268435456;break;default:c=0}c=c&(u.suspendedLanes|E)?0:c,c!==0&&c!==h.retryLane&&(h.retryLane=c,ua(n,c),lr(u,n,c,-1))}return qd(),u=Gu(Error(v(421))),Lo(n,r,E,u)}return c.data==="$?"?(r.flags|=128,r.child=n.child,r=mg.bind(null,n),c._reactRetry=r,null):(n=h.treeContext,kr=Di(c.nextSibling),jr=r,Bt=!0,li=null,n!==null&&(Dr[tr++]=jn,Dr[tr++]=oa,Dr[tr++]=ai,jn=n.id,oa=n.overflow,ai=r),r=Pd(r,u.children),r.flags|=4096,r)}function Vd(n,r,l){n.lanes|=r;var u=n.alternate;u!==null&&(u.lanes|=r),_n(n.return,r,l)}function zc(n,r,l,u,c){var h=n.memoizedState;h===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:l,tailMode:c}:(h.isBackwards=r,h.rendering=null,h.renderingStartTime=0,h.last=u,h.tail=l,h.tailMode=c)}function Id(n,r,l){var u=r.pendingProps,c=u.revealOrder,h=u.tail;if(Rn(n,r,u.children,l),u=Xe.current,u&2)u=u&1|2,r.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Vd(n,l,r);else if(n.tag===19)Vd(n,l,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}u&=1}if(kt(Xe,u),!(r.mode&1))r.memoizedState=null;else switch(c){case"forwards":for(l=r.child,c=null;l!==null;)n=l.alternate,n!==null&&qt(n)===null&&(c=l),l=l.sibling;l=c,l===null?(c=r.child,r.child=null):(c=l.sibling,l.sibling=null),zc(r,!1,c,l,h);break;case"backwards":for(l=null,c=r.child,r.child=null;c!==null;){if(n=c.alternate,n!==null&&qt(n)===null){r.child=c;break}n=c.sibling,c.sibling=l,l=c,c=n}zc(r,!0,l,null,h);break;case"together":zc(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function nr(n,r){!(r.mode&1)&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function $n(n,r,l){if(n!==null&&(r.dependencies=n.dependencies),pa|=r.lanes,!(l&r.childLanes))return null;if(n!==null&&r.child!==n.child)throw Error(v(153));if(r.child!==null){for(n=r.child,l=qa(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=qa(n,n.pendingProps),l.return=r;l.sibling=null}return r.child}function fa(n,r,l){switch(r.tag){case 3:Ch(r),Xt();break;case 5:Ge(r);break;case 1:Gt(r.type)&&rc(r);break;case 4:Md(r,r.stateNode.containerInfo);break;case 10:var u=r.type._context,c=r.memoizedProps.value;kt(Vi,u._currentValue),u._currentValue=c;break;case 13:if(u=r.memoizedState,u!==null)return u.dehydrated!==null?(kt(Xe,Xe.current&1),r.flags|=128,null):l&r.child.childLanes?Hd(n,r,l):(kt(Xe,Xe.current&1),n=$n(n,r,l),n!==null?n.sibling:null);kt(Xe,Xe.current&1);break;case 19:if(u=(l&r.childLanes)!==0,n.flags&128){if(u)return Id(n,r,l);r.flags|=128}if(c=r.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),kt(Xe,Xe.current),u)break;return null;case 22:case 23:return r.lanes=0,Ll(n,r,l)}return $n(n,r,l)}var Xu,Nl,si,xn;Xu=function(n,r){for(var l=r.child;l!==null;){if(l.tag===5||l.tag===6)n.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},Nl=function(){},si=function(n,r,l,u){var c=n.memoizedProps;if(c!==u){n=r.stateNode,xl(ki.current);var h=null;switch(l){case"input":c=It(n,c),u=It(n,u),h=[];break;case"select":c=$({},c,{value:void 0}),u=$({},u,{value:void 0}),h=[];break;case"textarea":c=Dn(n,c),u=Dn(n,u),h=[];break;default:typeof c.onClick!="function"&&typeof u.onClick=="function"&&(n.onclick=nc)}Jn(l,u);var E;l=null;for(K in c)if(!u.hasOwnProperty(K)&&c.hasOwnProperty(K)&&c[K]!=null)if(K==="style"){var k=c[K];for(E in k)k.hasOwnProperty(E)&&(l||(l={}),l[E]="")}else K!=="dangerouslySetInnerHTML"&&K!=="children"&&K!=="suppressContentEditableWarning"&&K!=="suppressHydrationWarning"&&K!=="autoFocus"&&(C.hasOwnProperty(K)?h||(h=[]):(h=h||[]).push(K,null));for(K in u){var _=u[K];if(k=c!=null?c[K]:void 0,u.hasOwnProperty(K)&&_!==k&&(_!=null||k!=null))if(K==="style")if(k){for(E in k)!k.hasOwnProperty(E)||_&&_.hasOwnProperty(E)||(l||(l={}),l[E]="");for(E in _)_.hasOwnProperty(E)&&k[E]!==_[E]&&(l||(l={}),l[E]=_[E])}else l||(h||(h=[]),h.push(K,l)),l=_;else K==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,k=k?k.__html:void 0,_!=null&&k!==_&&(h=h||[]).push(K,_)):K==="children"?typeof _!="string"&&typeof _!="number"||(h=h||[]).push(K,""+_):K!=="suppressContentEditableWarning"&&K!=="suppressHydrationWarning"&&(C.hasOwnProperty(K)?(_!=null&&K==="onScroll"&&Ht("scroll",n),h||k===_||(h=[])):(h=h||[]).push(K,_))}l&&(h=h||[]).push("style",l);var K=h;(r.updateQueue=K)&&(r.flags|=4)}},xn=function(n,r,l,u){l!==u&&(r.flags|=4)};function qu(n,r){if(!Bt)switch(n.tailMode){case"hidden":r=n.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?n.tail=null:l.sibling=null;break;case"collapsed":l=n.tail;for(var u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:u.sibling=null}}function rr(n){var r=n.alternate!==null&&n.alternate.child===n.child,l=0,u=0;if(r)for(var c=n.child;c!==null;)l|=c.lanes|c.childLanes,u|=c.subtreeFlags&14680064,u|=c.flags&14680064,c.return=n,c=c.sibling;else for(c=n.child;c!==null;)l|=c.lanes|c.childLanes,u|=c.subtreeFlags,u|=c.flags,c.return=n,c=c.sibling;return n.subtreeFlags|=u,n.childLanes=l,r}function fg(n,r,l){var u=r.pendingProps;switch(Cd(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rr(r),null;case 1:return Gt(r.type)&&ii(),rr(r),null;case 3:return u=r.stateNode,$a(),Dt(an),Dt(Je),vc(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(n===null||n.child===null)&&(oc(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,li!==null&&(is(li),li=null))),Nl(n,r),rr(r),null;case 5:ct(r);var c=xl(wo.current);if(l=r.type,n!==null&&r.stateNode!=null)si(n,r,l,u,c),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!u){if(r.stateNode===null)throw Error(v(166));return rr(r),null}if(n=xl(ki.current),oc(r)){u=r.stateNode,l=r.type;var h=r.memoizedProps;switch(u[Hi]=r,u[El]=h,n=(r.mode&1)!==0,l){case"dialog":Ht("cancel",u),Ht("close",u);break;case"iframe":case"object":case"embed":Ht("load",u);break;case"video":case"audio":for(c=0;c<Au.length;c++)Ht(Au[c],u);break;case"source":Ht("error",u);break;case"img":case"image":case"link":Ht("error",u),Ht("load",u);break;case"details":Ht("toggle",u);break;case"input":gn(u,h),Ht("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!h.multiple},Ht("invalid",u);break;case"textarea":Pn(u,h),Ht("invalid",u)}Jn(l,h),c=null;for(var E in h)if(h.hasOwnProperty(E)){var k=h[E];E==="children"?typeof k=="string"?u.textContent!==k&&(h.suppressHydrationWarning!==!0&&tc(u.textContent,k,n),c=["children",k]):typeof k=="number"&&u.textContent!==""+k&&(h.suppressHydrationWarning!==!0&&tc(u.textContent,k,n),c=["children",""+k]):C.hasOwnProperty(E)&&k!=null&&E==="onScroll"&&Ht("scroll",u)}switch(l){case"input":ut(u),dt(u,h,!0);break;case"textarea":ut(u),kn(u);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(u.onclick=nc)}u=c,r.updateQueue=u,u!==null&&(r.flags|=4)}else{E=c.nodeType===9?c:c.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=Hr(l)),n==="http://www.w3.org/1999/xhtml"?l==="script"?(n=E.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof u.is=="string"?n=E.createElement(l,{is:u.is}):(n=E.createElement(l),l==="select"&&(E=n,u.multiple?E.multiple=!0:u.size&&(E.size=u.size))):n=E.createElementNS(n,l),n[Hi]=r,n[El]=u,Xu(n,r,!1,!1),r.stateNode=n;e:{switch(E=Sn(l,u),l){case"dialog":Ht("cancel",n),Ht("close",n),c=u;break;case"iframe":case"object":case"embed":Ht("load",n),c=u;break;case"video":case"audio":for(c=0;c<Au.length;c++)Ht(Au[c],n);c=u;break;case"source":Ht("error",n),c=u;break;case"img":case"image":case"link":Ht("error",n),Ht("load",n),c=u;break;case"details":Ht("toggle",n),c=u;break;case"input":gn(n,u),c=It(n,u),Ht("invalid",n);break;case"option":c=u;break;case"select":n._wrapperState={wasMultiple:!!u.multiple},c=$({},u,{value:void 0}),Ht("invalid",n);break;case"textarea":Pn(n,u),c=Dn(n,u),Ht("invalid",n);break;default:c=u}Jn(l,c),k=c;for(h in k)if(k.hasOwnProperty(h)){var _=k[h];h==="style"?Ut(n,_):h==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,_!=null&&ka(n,_)):h==="children"?typeof _=="string"?(l!=="textarea"||_!=="")&&In(n,_):typeof _=="number"&&In(n,""+_):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(C.hasOwnProperty(h)?_!=null&&h==="onScroll"&&Ht("scroll",n):_!=null&&Q(n,h,_,E))}switch(l){case"input":ut(n),dt(n,u,!1);break;case"textarea":ut(n),kn(n);break;case"option":u.value!=null&&n.setAttribute("value",""+Le(u.value));break;case"select":n.multiple=!!u.multiple,h=u.value,h!=null?Et(n,!!u.multiple,h,!1):u.defaultValue!=null&&Et(n,!!u.multiple,u.defaultValue,!0);break;default:typeof c.onClick=="function"&&(n.onclick=nc)}switch(l){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return rr(r),null;case 6:if(n&&r.stateNode!=null)xn(n,r,n.memoizedProps,u);else{if(typeof u!="string"&&r.stateNode===null)throw Error(v(166));if(l=xl(wo.current),xl(ki.current),oc(r)){if(u=r.stateNode,l=r.memoizedProps,u[Hi]=r,(h=u.nodeValue!==l)&&(n=jr,n!==null))switch(n.tag){case 3:tc(u.nodeValue,l,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&tc(u.nodeValue,l,(n.mode&1)!==0)}h&&(r.flags|=4)}else u=(l.nodeType===9?l:l.ownerDocument).createTextNode(u),u[Hi]=r,r.stateNode=u}return rr(r),null;case 13:if(Dt(Xe),u=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Bt&&kr!==null&&r.mode&1&&!(r.flags&128))uh(),Xt(),r.flags|=98560,h=!1;else if(h=oc(r),u!==null&&u.dehydrated!==null){if(n===null){if(!h)throw Error(v(318));if(h=r.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(v(317));h[Hi]=r}else Xt(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;rr(r),h=!1}else li!==null&&(is(li),li=null),h=!0;if(!h)return r.flags&65536?r:null}return r.flags&128?(r.lanes=l,r):(u=u!==null,u!==(n!==null&&n.memoizedState!==null)&&u&&(r.child.flags|=8192,r.mode&1&&(n===null||Xe.current&1?wn===0&&(wn=3):qd())),r.updateQueue!==null&&(r.flags|=4),rr(r),null);case 4:return $a(),Nl(n,r),n===null&&Eo(r.stateNode.containerInfo),rr(r),null;case 10:return Va(r.type._context),rr(r),null;case 17:return Gt(r.type)&&ii(),rr(r),null;case 19:if(Dt(Xe),h=r.memoizedState,h===null)return rr(r),null;if(u=(r.flags&128)!==0,E=h.rendering,E===null)if(u)qu(h,!1);else{if(wn!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(E=qt(n),E!==null){for(r.flags|=128,qu(h,!1),u=E.updateQueue,u!==null&&(r.updateQueue=u,r.flags|=4),r.subtreeFlags=0,u=l,l=r.child;l!==null;)h=l,n=u,h.flags&=14680066,E=h.alternate,E===null?(h.childLanes=0,h.lanes=n,h.child=null,h.subtreeFlags=0,h.memoizedProps=null,h.memoizedState=null,h.updateQueue=null,h.dependencies=null,h.stateNode=null):(h.childLanes=E.childLanes,h.lanes=E.lanes,h.child=E.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=E.memoizedProps,h.memoizedState=E.memoizedState,h.updateQueue=E.updateQueue,h.type=E.type,n=E.dependencies,h.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l=l.sibling;return kt(Xe,Xe.current&1|2),r.child}n=n.sibling}h.tail!==null&&rn()>Ho&&(r.flags|=128,u=!0,qu(h,!1),r.lanes=4194304)}else{if(!u)if(n=qt(E),n!==null){if(r.flags|=128,u=!0,l=n.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),qu(h,!0),h.tail===null&&h.tailMode==="hidden"&&!E.alternate&&!Bt)return rr(r),null}else 2*rn()-h.renderingStartTime>Ho&&l!==1073741824&&(r.flags|=128,u=!0,qu(h,!1),r.lanes=4194304);h.isBackwards?(E.sibling=r.child,r.child=E):(l=h.last,l!==null?l.sibling=E:r.child=E,h.last=E)}return h.tail!==null?(r=h.tail,h.rendering=r,h.tail=r.sibling,h.renderingStartTime=rn(),r.sibling=null,l=Xe.current,kt(Xe,u?l&1|2:l&1),r):(rr(r),null);case 22:case 23:return Xd(),u=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==u&&(r.flags|=8192),u&&r.mode&1?Yr&1073741824&&(rr(r),r.subtreeFlags&6&&(r.flags|=8192)):rr(r),null;case 24:return null;case 25:return null}throw Error(v(156,r.tag))}function jd(n,r){switch(Cd(r),r.tag){case 1:return Gt(r.type)&&ii(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return $a(),Dt(an),Dt(Je),vc(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return ct(r),null;case 13:if(Dt(Xe),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(v(340));Xt()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return Dt(Xe),null;case 4:return $a(),null;case 10:return Va(r.type._context),null;case 22:case 23:return Xd(),null;case 24:return null;default:return null}}var Zu=!1,Tn=!1,Rh=typeof WeakSet=="function"?WeakSet:Set,Oe=null;function _o(n,r){var l=n.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(u){on(n,r,u)}else l.current=null}function Ju(n,r,l){try{l()}catch(u){on(n,r,u)}}var xh=!1;function Th(n,r){if(pd=pl,n=Xs(),ra(n)){if("selectionStart"in n)var l={start:n.selectionStart,end:n.selectionEnd};else e:{l=(l=n.ownerDocument)&&l.defaultView||window;var u=l.getSelection&&l.getSelection();if(u&&u.rangeCount!==0){l=u.anchorNode;var c=u.anchorOffset,h=u.focusNode;u=u.focusOffset;try{l.nodeType,h.nodeType}catch{l=null;break e}var E=0,k=-1,_=-1,K=0,oe=0,ve=n,ae=null;t:for(;;){for(var we;ve!==l||c!==0&&ve.nodeType!==3||(k=E+c),ve!==h||u!==0&&ve.nodeType!==3||(_=E+u),ve.nodeType===3&&(E+=ve.nodeValue.length),(we=ve.firstChild)!==null;)ae=ve,ve=we;for(;;){if(ve===n)break t;if(ae===l&&++K===c&&(k=E),ae===h&&++oe===u&&(_=E),(we=ve.nextSibling)!==null)break;ve=ae,ae=ve.parentNode}ve=we}l=k===-1||_===-1?null:{start:k,end:_}}else l=null}l=l||{start:0,end:0}}else l=null;for(gl={focusedElem:n,selectionRange:l},pl=!1,Oe=r;Oe!==null;)if(r=Oe,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,Oe=n;else for(;Oe!==null;){r=Oe;try{var _e=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(_e!==null){var Fe=_e.memoizedProps,cn=_e.memoizedState,V=r.stateNode,A=V.getSnapshotBeforeUpdate(r.elementType===r.type?Fe:Br(r.type,Fe),cn);V.__reactInternalSnapshotBeforeUpdate=A}break;case 3:var B=r.stateNode.containerInfo;B.nodeType===1?B.textContent="":B.nodeType===9&&B.documentElement&&B.removeChild(B.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(v(163))}}catch(ye){on(r,r.return,ye)}if(n=r.sibling,n!==null){n.return=r.return,Oe=n;break}Oe=r.return}return _e=xh,xh=!1,_e}function es(n,r,l){var u=r.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var c=u=u.next;do{if((c.tag&n)===n){var h=c.destroy;c.destroy=void 0,h!==void 0&&Ju(r,l,h)}c=c.next}while(c!==u)}}function ts(n,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&n)===n){var u=l.create;l.destroy=u()}l=l.next}while(l!==r)}}function Bd(n){var r=n.ref;if(r!==null){var l=n.stateNode;switch(n.tag){case 5:n=l;break;default:n=l}typeof r=="function"?r(n):r.current=n}}function $d(n){var r=n.alternate;r!==null&&(n.alternate=null,$d(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[Hi],delete r[El],delete r[md],delete r[ig],delete r[yd])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function wh(n){return n.tag===5||n.tag===3||n.tag===4}function Uc(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||wh(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function No(n,r,l){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?l.nodeType===8?l.parentNode.insertBefore(n,r):l.insertBefore(n,r):(l.nodeType===8?(r=l.parentNode,r.insertBefore(n,l)):(r=l,r.appendChild(n)),l=l._reactRootContainer,l!=null||r.onclick!==null||(r.onclick=nc));else if(u!==4&&(n=n.child,n!==null))for(No(n,r,l),n=n.sibling;n!==null;)No(n,r,l),n=n.sibling}function ji(n,r,l){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?l.insertBefore(n,r):l.appendChild(n);else if(u!==4&&(n=n.child,n!==null))for(ji(n,r,l),n=n.sibling;n!==null;)ji(n,r,l),n=n.sibling}var Kt=null,Nn=!1;function ci(n,r,l){for(l=l.child;l!==null;)Ao(n,r,l),l=l.sibling}function Ao(n,r,l){if(Ri&&typeof Ri.onCommitFiberUnmount=="function")try{Ri.onCommitFiberUnmount(gu,l)}catch{}switch(l.tag){case 5:Tn||_o(l,r);case 6:var u=Kt,c=Nn;Kt=null,ci(n,r,l),Kt=u,Nn=c,Kt!==null&&(Nn?(n=Kt,l=l.stateNode,n.nodeType===8?n.parentNode.removeChild(l):n.removeChild(l)):Kt.removeChild(l.stateNode));break;case 18:Kt!==null&&(Nn?(n=Kt,l=l.stateNode,n.nodeType===8?Aa(n.parentNode,l):n.nodeType===1&&Aa(n,l),xu(n)):Aa(Kt,l.stateNode));break;case 4:u=Kt,c=Nn,Kt=l.stateNode.containerInfo,Nn=!0,ci(n,r,l),Kt=u,Nn=c;break;case 0:case 11:case 14:case 15:if(!Tn&&(u=l.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){c=u=u.next;do{var h=c,E=h.destroy;h=h.tag,E!==void 0&&(h&2||h&4)&&Ju(l,r,E),c=c.next}while(c!==u)}ci(n,r,l);break;case 1:if(!Tn&&(_o(l,r),u=l.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=l.memoizedProps,u.state=l.memoizedState,u.componentWillUnmount()}catch(k){on(l,r,k)}ci(n,r,l);break;case 21:ci(n,r,l);break;case 22:l.mode&1?(Tn=(u=Tn)||l.memoizedState!==null,ci(n,r,l),Tn=u):ci(n,r,l);break;default:ci(n,r,l)}}function da(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var l=n.stateNode;l===null&&(l=n.stateNode=new Rh),r.forEach(function(u){var c=yg.bind(null,n,u);l.has(u)||(l.add(u),u.then(c,c))})}}function Oi(n,r){var l=r.deletions;if(l!==null)for(var u=0;u<l.length;u++){var c=l[u];try{var h=n,E=r,k=E;e:for(;k!==null;){switch(k.tag){case 5:Kt=k.stateNode,Nn=!1;break e;case 3:Kt=k.stateNode.containerInfo,Nn=!0;break e;case 4:Kt=k.stateNode.containerInfo,Nn=!0;break e}k=k.return}if(Kt===null)throw Error(v(160));Ao(h,E,c),Kt=null,Nn=!1;var _=c.alternate;_!==null&&(_.return=null),c.return=null}catch(K){on(c,r,K)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)bh(r,n),r=r.sibling}function bh(n,r){var l=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(Oi(r,n),Bi(n),u&4){try{es(3,n,n.return),ts(3,n)}catch(Fe){on(n,n.return,Fe)}try{es(5,n,n.return)}catch(Fe){on(n,n.return,Fe)}}break;case 1:Oi(r,n),Bi(n),u&512&&l!==null&&_o(l,l.return);break;case 5:if(Oi(r,n),Bi(n),u&512&&l!==null&&_o(l,l.return),n.flags&32){var c=n.stateNode;try{In(c,"")}catch(Fe){on(n,n.return,Fe)}}if(u&4&&(c=n.stateNode,c!=null)){var h=n.memoizedProps,E=l!==null?l.memoizedProps:h,k=n.type,_=n.updateQueue;if(n.updateQueue=null,_!==null)try{k==="input"&&h.type==="radio"&&h.name!=null&&Ke(c,h),Sn(k,E);var K=Sn(k,h);for(E=0;E<_.length;E+=2){var oe=_[E],ve=_[E+1];oe==="style"?Ut(c,ve):oe==="dangerouslySetInnerHTML"?ka(c,ve):oe==="children"?In(c,ve):Q(c,oe,ve,K)}switch(k){case"input":ft(c,h);break;case"textarea":en(c,h);break;case"select":var ae=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!h.multiple;var we=h.value;we!=null?Et(c,!!h.multiple,we,!1):ae!==!!h.multiple&&(h.defaultValue!=null?Et(c,!!h.multiple,h.defaultValue,!0):Et(c,!!h.multiple,h.multiple?[]:"",!1))}c[El]=h}catch(Fe){on(n,n.return,Fe)}}break;case 6:if(Oi(r,n),Bi(n),u&4){if(n.stateNode===null)throw Error(v(162));c=n.stateNode,h=n.memoizedProps;try{c.nodeValue=h}catch(Fe){on(n,n.return,Fe)}}break;case 3:if(Oi(r,n),Bi(n),u&4&&l!==null&&l.memoizedState.isDehydrated)try{xu(r.containerInfo)}catch(Fe){on(n,n.return,Fe)}break;case 4:Oi(r,n),Bi(n);break;case 13:Oi(r,n),Bi(n),c=n.child,c.flags&8192&&(h=c.memoizedState!==null,c.stateNode.isHidden=h,!h||c.alternate!==null&&c.alternate.memoizedState!==null||(Wd=rn())),u&4&&da(n);break;case 22:if(oe=l!==null&&l.memoizedState!==null,n.mode&1?(Tn=(K=Tn)||oe,Oi(r,n),Tn=K):Oi(r,n),Bi(n),u&8192){if(K=n.memoizedState!==null,(n.stateNode.isHidden=K)&&!oe&&n.mode&1)for(Oe=n,oe=n.child;oe!==null;){for(ve=Oe=oe;Oe!==null;){switch(ae=Oe,we=ae.child,ae.tag){case 0:case 11:case 14:case 15:es(4,ae,ae.return);break;case 1:_o(ae,ae.return);var _e=ae.stateNode;if(typeof _e.componentWillUnmount=="function"){u=ae,l=ae.return;try{r=u,_e.props=r.memoizedProps,_e.state=r.memoizedState,_e.componentWillUnmount()}catch(Fe){on(u,l,Fe)}}break;case 5:_o(ae,ae.return);break;case 22:if(ae.memoizedState!==null){Yd(ve);continue}}we!==null?(we.return=ae,Oe=we):Yd(ve)}oe=oe.sibling}e:for(oe=null,ve=n;;){if(ve.tag===5){if(oe===null){oe=ve;try{c=ve.stateNode,K?(h=c.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(k=ve.stateNode,_=ve.memoizedProps.style,E=_!=null&&_.hasOwnProperty("display")?_.display:null,k.style.display=st("display",E))}catch(Fe){on(n,n.return,Fe)}}}else if(ve.tag===6){if(oe===null)try{ve.stateNode.nodeValue=K?"":ve.memoizedProps}catch(Fe){on(n,n.return,Fe)}}else if((ve.tag!==22&&ve.tag!==23||ve.memoizedState===null||ve===n)&&ve.child!==null){ve.child.return=ve,ve=ve.child;continue}if(ve===n)break e;for(;ve.sibling===null;){if(ve.return===null||ve.return===n)break e;oe===ve&&(oe=null),ve=ve.return}oe===ve&&(oe=null),ve.sibling.return=ve.return,ve=ve.sibling}}break;case 19:Oi(r,n),Bi(n),u&4&&da(n);break;case 21:break;default:Oi(r,n),Bi(n)}}function Bi(n){var r=n.flags;if(r&2){try{e:{for(var l=n.return;l!==null;){if(wh(l)){var u=l;break e}l=l.return}throw Error(v(160))}switch(u.tag){case 5:var c=u.stateNode;u.flags&32&&(In(c,""),u.flags&=-33);var h=Uc(n);ji(n,h,c);break;case 3:case 4:var E=u.stateNode.containerInfo,k=Uc(n);No(n,k,E);break;default:throw Error(v(161))}}catch(_){on(n,n.return,_)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function Dh(n,r,l){Oe=n,zo(n)}function zo(n,r,l){for(var u=(n.mode&1)!==0;Oe!==null;){var c=Oe,h=c.child;if(c.tag===22&&u){var E=c.memoizedState!==null||Zu;if(!E){var k=c.alternate,_=k!==null&&k.memoizedState!==null||Tn;k=Zu;var K=Tn;if(Zu=E,(Tn=_)&&!K)for(Oe=c;Oe!==null;)E=Oe,_=E.child,E.tag===22&&E.memoizedState!==null?Oh(c):_!==null?(_.return=E,Oe=_):Oh(c);for(;h!==null;)Oe=h,zo(h),h=h.sibling;Oe=c,Zu=k,Tn=K}kh(n)}else c.subtreeFlags&8772&&h!==null?(h.return=c,Oe=h):kh(n)}}function kh(n){for(;Oe!==null;){var r=Oe;if(r.flags&8772){var l=r.alternate;try{if(r.flags&8772)switch(r.tag){case 0:case 11:case 15:Tn||ts(5,r);break;case 1:var u=r.stateNode;if(r.flags&4&&!Tn)if(l===null)u.componentDidMount();else{var c=r.elementType===r.type?l.memoizedProps:Br(r.type,l.memoizedProps);u.componentDidUpdate(c,l.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var h=r.updateQueue;h!==null&&Rl(r,h,u);break;case 3:var E=r.updateQueue;if(E!==null){if(l=null,r.child!==null)switch(r.child.tag){case 5:l=r.child.stateNode;break;case 1:l=r.child.stateNode}Rl(r,E,l)}break;case 5:var k=r.stateNode;if(l===null&&r.flags&4){l=k;var _=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":_.autoFocus&&l.focus();break;case"img":_.src&&(l.src=_.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var K=r.alternate;if(K!==null){var oe=K.memoizedState;if(oe!==null){var ve=oe.dehydrated;ve!==null&&xu(ve)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(v(163))}Tn||r.flags&512&&Bd(r)}catch(ae){on(r,r.return,ae)}}if(r===n){Oe=null;break}if(l=r.sibling,l!==null){l.return=r.return,Oe=l;break}Oe=r.return}}function Yd(n){for(;Oe!==null;){var r=Oe;if(r===n){Oe=null;break}var l=r.sibling;if(l!==null){l.return=r.return,Oe=l;break}Oe=r.return}}function Oh(n){for(;Oe!==null;){var r=Oe;try{switch(r.tag){case 0:case 11:case 15:var l=r.return;try{ts(4,r)}catch(_){on(r,l,_)}break;case 1:var u=r.stateNode;if(typeof u.componentDidMount=="function"){var c=r.return;try{u.componentDidMount()}catch(_){on(r,c,_)}}var h=r.return;try{Bd(r)}catch(_){on(r,h,_)}break;case 5:var E=r.return;try{Bd(r)}catch(_){on(r,E,_)}}}catch(_){on(r,r.return,_)}if(r===n){Oe=null;break}var k=r.sibling;if(k!==null){k.return=r.return,Oe=k;break}Oe=r.return}}var Fc=Math.ceil,ns=ee.ReactCurrentDispatcher,Qd=ee.ReactCurrentOwner,ir=ee.ReactCurrentBatchConfig,vt=0,Zt=null,ln=null,An=0,Yr=0,Uo=lt(0),wn=0,rs=null,pa=0,Hc=0,Fo=0,Al=null,sr=null,Wd=0,Ho=1/0,va=null,Pc=!1,zl=null,$i=null,Ga=!1,Ka=null,Vc=0,Po=0,Ic=null,Ul=-1,Fl=0;function ar(){return vt&6?rn():Ul!==-1?Ul:Ul=rn()}function mn(n){return n.mode&1?vt&2&&An!==0?An&-An:uc.transition!==null?(Fl===0&&(Fl=Hs()),Fl):(n=Lt,n!==0||(n=window.event,n=n===void 0?16:Wf(n.type)),n):1}function lr(n,r,l,u){if(50<Po)throw Po=0,Ic=null,Error(v(185));dl(n,l,u),(!(vt&2)||n!==Zt)&&(n===Zt&&(!(vt&2)&&(Hc|=l),wn===4&&fi(n,An)),or(n,u),l===1&&vt===0&&!(r.mode&1)&&(Ho=rn()+500,Ln&&wr()))}function or(n,r){var l=n.callbackNode;Fs(n,r);var u=xi(n,n===Zt?An:0);if(u===0)l!==null&&mv(l),n.callbackNode=null,n.callbackPriority=0;else if(r=u&-u,n.callbackPriority!==r){if(l!=null&&mv(l),r===1)n.tag===0?Sd(Mh.bind(null,n)):gd(Mh.bind(null,n)),hd(function(){!(vt&6)&&wr()}),l=null;else{switch($f(u)){case 1:l=Ji;break;case 4:l=pt;break;case 16:l=Oa;break;case 536870912:l=Vf;break;default:l=Oa}l=Jd(l,Vo.bind(null,n))}n.callbackPriority=r,n.callbackNode=l}}function Vo(n,r){if(Ul=-1,Fl=0,vt&6)throw Error(v(327));var l=n.callbackNode;if(jo()&&n.callbackNode!==l)return null;var u=xi(n,n===Zt?An:0);if(u===0)return null;if(u&30||u&n.expiredLanes||r)r=Bc(n,u);else{r=u;var c=vt;vt|=2;var h=jc();(Zt!==n||An!==r)&&(va=null,Ho=rn()+500,Hl(n,r));do try{pg();break}catch(k){Lh(n,k)}while(1);wd(),ns.current=h,vt=c,ln!==null?r=0:(Zt=null,An=0,r=wn)}if(r!==0){if(r===2&&(c=jf(n),c!==0&&(u=c,r=Gd(n,c))),r===1)throw l=rs,Hl(n,0),fi(n,u),or(n,rn()),l;if(r===6)fi(n,u);else{if(c=n.current.alternate,!(u&30)&&!Kd(c)&&(r=Bc(n,u),r===2&&(h=jf(n),h!==0&&(u=h,r=Gd(n,h))),r===1))throw l=rs,Hl(n,0),fi(n,u),or(n,rn()),l;switch(n.finishedWork=c,n.finishedLanes=u,r){case 0:case 1:throw Error(v(345));case 2:Pl(n,sr,va);break;case 3:if(fi(n,u),(u&130023424)===u&&(r=Wd+500-rn(),10<r)){if(xi(n,0)!==0)break;if(c=n.suspendedLanes,(c&u)!==u){ar(),n.pingedLanes|=n.suspendedLanes&c;break}n.timeoutHandle=Sl(Pl.bind(null,n,sr,va),r);break}Pl(n,sr,va);break;case 4:if(fi(n,u),(u&4194240)===u)break;for(r=n.eventTimes,c=-1;0<u;){var E=31-Zr(u);h=1<<E,E=r[E],E>c&&(c=E),u&=~h}if(u=c,u=rn()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*Fc(u/1960))-u,10<u){n.timeoutHandle=Sl(Pl.bind(null,n,sr,va),u);break}Pl(n,sr,va);break;case 5:Pl(n,sr,va);break;default:throw Error(v(329))}}}return or(n,rn()),n.callbackNode===l?Vo.bind(null,n):null}function Gd(n,r){var l=Al;return n.current.memoizedState.isDehydrated&&(Hl(n,r).flags|=256),n=Bc(n,r),n!==2&&(r=sr,sr=l,r!==null&&is(r)),n}function is(n){sr===null?sr=n:sr.push.apply(sr,n)}function Kd(n){for(var r=n;;){if(r.flags&16384){var l=r.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var u=0;u<l.length;u++){var c=l[u],h=c.getSnapshot;c=c.value;try{if(!ti(h(),c))return!1}catch{return!1}}}if(l=r.child,r.subtreeFlags&16384&&l!==null)l.return=r,r=l;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function fi(n,r){for(r&=~Fo,r&=~Hc,n.suspendedLanes|=r,n.pingedLanes&=~r,n=n.expirationTimes;0<r;){var l=31-Zr(r),u=1<<l;n[l]=-1,r&=~u}}function Mh(n){if(vt&6)throw Error(v(327));jo();var r=xi(n,0);if(!(r&1))return or(n,rn()),null;var l=Bc(n,r);if(n.tag!==0&&l===2){var u=jf(n);u!==0&&(r=u,l=Gd(n,u))}if(l===1)throw l=rs,Hl(n,0),fi(n,r),or(n,rn()),l;if(l===6)throw Error(v(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,Pl(n,sr,va),or(n,rn()),null}function Io(n,r){var l=vt;vt|=1;try{return n(r)}finally{vt=l,vt===0&&(Ho=rn()+500,Ln&&wr())}}function Xa(n){Ka!==null&&Ka.tag===0&&!(vt&6)&&jo();var r=vt;vt|=1;var l=ir.transition,u=Lt;try{if(ir.transition=null,Lt=1,n)return n()}finally{Lt=u,ir.transition=l,vt=r,!(vt&6)&&wr()}}function Xd(){Yr=Uo.current,Dt(Uo)}function Hl(n,r){n.finishedWork=null,n.finishedLanes=0;var l=n.timeoutHandle;if(l!==-1&&(n.timeoutHandle=-1,ih(l)),ln!==null)for(l=ln.return;l!==null;){var u=l;switch(Cd(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&ii();break;case 3:$a(),Dt(an),Dt(Je),vc();break;case 5:ct(u);break;case 4:$a();break;case 13:Dt(Xe);break;case 19:Dt(Xe);break;case 10:Va(u.type._context);break;case 22:case 23:Xd()}l=l.return}if(Zt=n,ln=n=qa(n.current,null),An=Yr=r,wn=0,rs=null,Fo=Hc=pa=0,sr=Al=null,Bn!==null){for(r=0;r<Bn.length;r++)if(l=Bn[r],u=l.interleaved,u!==null){l.interleaved=null;var c=u.next,h=l.pending;if(h!==null){var E=h.next;h.next=c,u.next=E}l.pending=u}Bn=null}return n}function Lh(n,r){do{var l=ln;try{if(wd(),hc.current=Lc,qe){for(var u=$t.memoizedState;u!==null;){var c=u.queue;c!==null&&(c.pending=null),u=u.next}qe=!1}if(Tl=0,yt=J=$t=null,Ii=!1,$r=0,Qd.current=null,l===null||l.return===null){wn=1,rs=r,ln=null;break}e:{var h=n,E=l.return,k=l,_=r;if(r=An,k.flags|=32768,_!==null&&typeof _=="object"&&typeof _.then=="function"){var K=_,oe=k,ve=oe.tag;if(!(oe.mode&1)&&(ve===0||ve===11||ve===15)){var ae=oe.alternate;ae?(oe.updateQueue=ae.updateQueue,oe.memoizedState=ae.memoizedState,oe.lanes=ae.lanes):(oe.updateQueue=null,oe.memoizedState=null)}var we=Ad(E);if(we!==null){we.flags&=-257,zd(we,E,k,h,r),we.mode&1&&Sh(h,K,r),r=we,_=K;var _e=r.updateQueue;if(_e===null){var Fe=new Set;Fe.add(_),r.updateQueue=Fe}else _e.add(_);break e}else{if(!(r&1)){Sh(h,K,r),qd();break e}_=Error(v(426))}}else if(Bt&&k.mode&1){var cn=Ad(E);if(cn!==null){!(cn.flags&65536)&&(cn.flags|=256),zd(cn,E,k,h,r),xd(Oo(_,k));break e}}h=_=Oo(_,k),wn!==4&&(wn=2),Al===null?Al=[h]:Al.push(h),h=E;do{switch(h.tag){case 3:h.flags|=65536,r&=-r,h.lanes|=r;var V=gh(h,_,r);kd(h,V);break e;case 1:k=_;var A=h.type,B=h.stateNode;if(!(h.flags&128)&&(typeof A.getDerivedStateFromError=="function"||B!==null&&typeof B.componentDidCatch=="function"&&($i===null||!$i.has(B)))){h.flags|=65536,r&=-r,h.lanes|=r;var ye=Ku(h,k,r);kd(h,ye);break e}}h=h.return}while(h!==null)}Zd(l)}catch(Pe){r=Pe,ln===l&&l!==null&&(ln=l=l.return);continue}break}while(1)}function jc(){var n=ns.current;return ns.current=Lc,n===null?Lc:n}function qd(){(wn===0||wn===3||wn===2)&&(wn=4),Zt===null||!(pa&268435455)&&!(Hc&268435455)||fi(Zt,An)}function Bc(n,r){var l=vt;vt|=2;var u=jc();(Zt!==n||An!==r)&&(va=null,Hl(n,r));do try{dg();break}catch(c){Lh(n,c)}while(1);if(wd(),vt=l,ns.current=u,ln!==null)throw Error(v(261));return Zt=null,An=0,wn}function dg(){for(;ln!==null;)_h(ln)}function pg(){for(;ln!==null&&!Uy();)_h(ln)}function _h(n){var r=Ah(n.alternate,n,Yr);n.memoizedProps=n.pendingProps,r===null?Zd(n):ln=r,Qd.current=null}function Zd(n){var r=n;do{var l=r.alternate;if(n=r.return,r.flags&32768){if(l=jd(l,r),l!==null){l.flags&=32767,ln=l;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{wn=6,ln=null;return}}else if(l=fg(l,r,Yr),l!==null){ln=l;return}if(r=r.sibling,r!==null){ln=r;return}ln=r=n}while(r!==null);wn===0&&(wn=5)}function Pl(n,r,l){var u=Lt,c=ir.transition;try{ir.transition=null,Lt=1,vg(n,r,l,u)}finally{ir.transition=c,Lt=u}return null}function vg(n,r,l,u){do jo();while(Ka!==null);if(vt&6)throw Error(v(327));l=n.finishedWork;var c=n.finishedLanes;if(l===null)return null;if(n.finishedWork=null,n.finishedLanes=0,l===n.current)throw Error(v(177));n.callbackNode=null,n.callbackPriority=0;var h=l.lanes|l.childLanes;if(Vy(n,h),n===Zt&&(ln=Zt=null,An=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||Ga||(Ga=!0,Jd(Oa,function(){return jo(),null})),h=(l.flags&15990)!==0,l.subtreeFlags&15990||h){h=ir.transition,ir.transition=null;var E=Lt;Lt=1;var k=vt;vt|=4,Qd.current=null,Th(n,l),bh(l,n),qs(gl),pl=!!pd,gl=pd=null,n.current=l,Dh(l),Fy(),vt=k,Lt=E,ir.transition=h}else n.current=l;if(Ga&&(Ga=!1,Ka=n,Vc=c),h=n.pendingLanes,h===0&&($i=null),gv(l.stateNode),or(n,rn()),r!==null)for(u=n.onRecoverableError,l=0;l<r.length;l++)c=r[l],u(c.value,{componentStack:c.stack,digest:c.digest});if(Pc)throw Pc=!1,n=zl,zl=null,n;return Vc&1&&n.tag!==0&&jo(),h=n.pendingLanes,h&1?n===Ic?Po++:(Po=0,Ic=n):Po=0,wr(),null}function jo(){if(Ka!==null){var n=$f(Vc),r=ir.transition,l=Lt;try{if(ir.transition=null,Lt=16>n?16:n,Ka===null)var u=!1;else{if(n=Ka,Ka=null,Vc=0,vt&6)throw Error(v(331));var c=vt;for(vt|=4,Oe=n.current;Oe!==null;){var h=Oe,E=h.child;if(Oe.flags&16){var k=h.deletions;if(k!==null){for(var _=0;_<k.length;_++){var K=k[_];for(Oe=K;Oe!==null;){var oe=Oe;switch(oe.tag){case 0:case 11:case 15:es(8,oe,h)}var ve=oe.child;if(ve!==null)ve.return=oe,Oe=ve;else for(;Oe!==null;){oe=Oe;var ae=oe.sibling,we=oe.return;if($d(oe),oe===K){Oe=null;break}if(ae!==null){ae.return=we,Oe=ae;break}Oe=we}}}var _e=h.alternate;if(_e!==null){var Fe=_e.child;if(Fe!==null){_e.child=null;do{var cn=Fe.sibling;Fe.sibling=null,Fe=cn}while(Fe!==null)}}Oe=h}}if(h.subtreeFlags&2064&&E!==null)E.return=h,Oe=E;else e:for(;Oe!==null;){if(h=Oe,h.flags&2048)switch(h.tag){case 0:case 11:case 15:es(9,h,h.return)}var V=h.sibling;if(V!==null){V.return=h.return,Oe=V;break e}Oe=h.return}}var A=n.current;for(Oe=A;Oe!==null;){E=Oe;var B=E.child;if(E.subtreeFlags&2064&&B!==null)B.return=E,Oe=B;else e:for(E=A;Oe!==null;){if(k=Oe,k.flags&2048)try{switch(k.tag){case 0:case 11:case 15:ts(9,k)}}catch(Pe){on(k,k.return,Pe)}if(k===E){Oe=null;break e}var ye=k.sibling;if(ye!==null){ye.return=k.return,Oe=ye;break e}Oe=k.return}}if(vt=c,wr(),Ri&&typeof Ri.onPostCommitFiberRoot=="function")try{Ri.onPostCommitFiberRoot(gu,n)}catch{}u=!0}return u}finally{Lt=l,ir.transition=r}}return!1}function Nh(n,r,l){r=Oo(l,r),r=gh(n,r,1),n=ja(n,r,1),r=ar(),n!==null&&(dl(n,1,r),or(n,r))}function on(n,r,l){if(n.tag===3)Nh(n,n,l);else for(;r!==null;){if(r.tag===3){Nh(r,n,l);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&($i===null||!$i.has(u))){n=Oo(l,n),n=Ku(r,n,1),r=ja(r,n,1),n=ar(),r!==null&&(dl(r,1,n),or(r,n));break}}r=r.return}}function hg(n,r,l){var u=n.pingCache;u!==null&&u.delete(r),r=ar(),n.pingedLanes|=n.suspendedLanes&l,Zt===n&&(An&l)===l&&(wn===4||wn===3&&(An&130023424)===An&&500>rn()-Wd?Hl(n,0):Fo|=l),or(n,r)}function $c(n,r){r===0&&(n.mode&1?(r=so,so<<=1,!(so&130023424)&&(so=4194304)):r=1);var l=ar();n=ua(n,r),n!==null&&(dl(n,r,l),or(n,l))}function mg(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),$c(n,l)}function yg(n,r){var l=0;switch(n.tag){case 13:var u=n.stateNode,c=n.memoizedState;c!==null&&(l=c.retryLane);break;case 19:u=n.stateNode;break;default:throw Error(v(314))}u!==null&&u.delete(r),$c(n,l)}var Ah;Ah=function(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps||an.current)hn=!0;else{if(!(n.lanes&l)&&!(r.flags&128))return hn=!1,fa(n,r,l);hn=!!(n.flags&131072)}else hn=!1,Bt&&r.flags&1048576&&Ed(r,Ro,r.index);switch(r.lanes=0,r.tag){case 2:var u=r.type;nr(n,r),n=r.pendingProps;var c=ri(r,Je.current);Re(r,l),c=Ya(null,r,u,n,c,l);var h=Dl();return r.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Gt(u)?(h=!0,rc(r)):h=!1,r.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,Dd(r),c.updater=fc,r.stateNode=c,c._reactInternals=r,dc(r,u,n,l),r=Eh(null,r,u,!0,h,l)):(r.tag=0,Bt&&h&&ic(r),Rn(null,r,c,l),r=r.child),r;case 16:u=r.elementType;e:{switch(nr(n,r),n=r.pendingProps,c=u._init,u=c(u._payload),r.type=u,c=r.tag=Sg(u),n=Br(u,n),c){case 0:r=Mo(null,r,u,n,l);break e;case 1:r=Ud(null,r,u,n,l);break e;case 11:r=Wa(null,r,u,n,l);break e;case 14:r=Nc(null,r,u,Br(u.type,n),l);break e}throw Error(v(306,u,""))}return r;case 0:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:Br(u,c),Mo(n,r,u,c,l);case 1:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:Br(u,c),Ud(n,r,u,c,l);case 3:e:{if(Ch(r),n===null)throw Error(v(387));u=r.pendingProps,h=r.memoizedState,c=h.element,Cn(n,r),Ba(r,u,null,l);var E=r.memoizedState;if(u=E.element,h.isDehydrated)if(h={element:u,isDehydrated:!1,cache:E.cache,pendingSuspenseBoundaries:E.pendingSuspenseBoundaries,transitions:E.transitions},r.updateQueue.baseState=h,r.memoizedState=h,r.flags&256){c=Oo(Error(v(423)),r),r=Ac(n,r,u,l,c);break e}else if(u!==c){c=Oo(Error(v(424)),r),r=Ac(n,r,u,l,c);break e}else for(kr=Di(r.stateNode.containerInfo.firstChild),jr=r,Bt=!0,li=null,l=mh(r,null,u,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Xt(),u===c){r=$n(n,r,l);break e}Rn(n,r,u,l)}r=r.child}return r;case 5:return Ge(r),n===null&&lc(r),u=r.type,c=r.pendingProps,h=n!==null?n.memoizedProps:null,E=c.children,Fu(u,c)?E=null:h!==null&&Fu(u,h)&&(r.flags|=32),ot(n,r),Rn(n,r,E,l),r.child;case 6:return n===null&&lc(r),null;case 13:return Hd(n,r,l);case 4:return Md(r,r.stateNode.containerInfo),u=r.pendingProps,n===null?r.child=To(r,null,u,l):Rn(n,r,u,l),r.child;case 11:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:Br(u,c),Wa(n,r,u,c,l);case 7:return Rn(n,r,r.pendingProps,l),r.child;case 8:return Rn(n,r,r.pendingProps.children,l),r.child;case 12:return Rn(n,r,r.pendingProps.children,l),r.child;case 10:e:{if(u=r.type._context,c=r.pendingProps,h=r.memoizedProps,E=c.value,kt(Vi,u._currentValue),u._currentValue=E,h!==null)if(ti(h.value,E)){if(h.children===c.children&&!an.current){r=$n(n,r,l);break e}}else for(h=r.child,h!==null&&(h.return=r);h!==null;){var k=h.dependencies;if(k!==null){E=h.child;for(var _=k.firstContext;_!==null;){if(_.context===u){if(h.tag===1){_=sa(-1,l&-l),_.tag=2;var K=h.updateQueue;if(K!==null){K=K.shared;var oe=K.pending;oe===null?_.next=_:(_.next=oe.next,oe.next=_),K.pending=_}}h.lanes|=l,_=h.alternate,_!==null&&(_.lanes|=l),_n(h.return,l,r),k.lanes|=l;break}_=_.next}}else if(h.tag===10)E=h.type===r.type?null:h.child;else if(h.tag===18){if(E=h.return,E===null)throw Error(v(341));E.lanes|=l,k=E.alternate,k!==null&&(k.lanes|=l),_n(E,l,r),E=h.sibling}else E=h.child;if(E!==null)E.return=h;else for(E=h;E!==null;){if(E===r){E=null;break}if(h=E.sibling,h!==null){h.return=E.return,E=h;break}E=E.return}h=E}Rn(n,r,c.children,l),r=r.child}return r;case 9:return c=r.type,u=r.pendingProps.children,Re(r,l),c=sn(c),u=u(c),r.flags|=1,Rn(n,r,u,l),r.child;case 14:return u=r.type,c=Br(u,r.pendingProps),c=Br(u.type,c),Nc(n,r,u,c,l);case 15:return Lr(n,r,r.type,r.pendingProps,l);case 17:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:Br(u,c),nr(n,r),r.tag=1,Gt(u)?(n=!0,rc(r)):n=!1,Re(r,l),dh(r,u,c),dc(r,u,c,l),Eh(null,r,u,!0,n,l);case 19:return Id(n,r,l);case 22:return Ll(n,r,l)}throw Error(v(156,r.tag))};function Jd(n,r){return Pf(n,r)}function gg(n,r,l,u){this.tag=n,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function di(n,r,l,u){return new gg(n,r,l,u)}function ep(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Sg(n){if(typeof n=="function")return ep(n)?1:0;if(n!=null){if(n=n.$$typeof,n===Ee)return 11;if(n===ce)return 14}return 2}function qa(n,r){var l=n.alternate;return l===null?(l=di(n.tag,r,n.key,n.mode),l.elementType=n.elementType,l.type=n.type,l.stateNode=n.stateNode,l.alternate=n,n.alternate=l):(l.pendingProps=r,l.type=n.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=n.flags&14680064,l.childLanes=n.childLanes,l.lanes=n.lanes,l.child=n.child,l.memoizedProps=n.memoizedProps,l.memoizedState=n.memoizedState,l.updateQueue=n.updateQueue,r=n.dependencies,l.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},l.sibling=n.sibling,l.index=n.index,l.ref=n.ref,l}function Yc(n,r,l,u,c,h){var E=2;if(u=n,typeof n=="function")ep(n)&&(E=1);else if(typeof n=="string")E=5;else e:switch(n){case ge:return Vl(l.children,c,h,r);case Ue:E=8,c|=8;break;case je:return n=di(12,l,r,c|2),n.elementType=je,n.lanes=h,n;case re:return n=di(13,l,r,c),n.elementType=re,n.lanes=h,n;case G:return n=di(19,l,r,c),n.elementType=G,n.lanes=h,n;case se:return as(l,c,h,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case pe:E=10;break e;case Se:E=9;break e;case Ee:E=11;break e;case ce:E=14;break e;case ie:E=16,u=null;break e}throw Error(v(130,n==null?n:typeof n,""))}return r=di(E,l,r,c),r.elementType=n,r.type=u,r.lanes=h,r}function Vl(n,r,l,u){return n=di(7,n,u,r),n.lanes=l,n}function as(n,r,l,u){return n=di(22,n,u,r),n.elementType=se,n.lanes=l,n.stateNode={isHidden:!1},n}function ls(n,r,l){return n=di(6,n,null,r),n.lanes=l,n}function Il(n,r,l){return r=di(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function Eg(n,r,l,u,c){this.tag=r,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Bf(0),this.expirationTimes=Bf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bf(0),this.identifierPrefix=u,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function Qc(n,r,l,u,c,h,E,k,_){return n=new Eg(n,r,l,k,_),r===1?(r=1,h===!0&&(r|=8)):r=0,h=di(3,null,null,r),n.current=h,h.stateNode=n,h.memoizedState={element:u,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Dd(h),n}function zh(n,r,l){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:me,key:u==null?null:""+u,children:n,containerInfo:r,implementation:l}}function tp(n){if(!n)return Pi;n=n._reactInternals;e:{if(Fi(n)!==n||n.tag!==1)throw Error(v(170));var r=n;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(Gt(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(v(171))}if(n.tag===1){var l=n.type;if(Gt(l))return Vu(n,l,r)}return r}function Uh(n,r,l,u,c,h,E,k,_){return n=Qc(l,u,!0,n,c,h,E,k,_),n.context=tp(null),l=n.current,u=ar(),c=mn(l),h=sa(u,c),h.callback=r??null,ja(l,h,c),n.current.lanes=c,dl(n,c,u),or(n,u),n}function os(n,r,l,u){var c=r.current,h=ar(),E=mn(c);return l=tp(l),r.context===null?r.context=l:r.pendingContext=l,r=sa(h,E),r.payload={element:n},u=u===void 0?null:u,u!==null&&(r.callback=u),n=ja(c,r,E),n!==null&&(lr(n,c,E,h),cc(n,c,E)),E}function Wc(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function Fh(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function np(n,r){Fh(n,r),(n=n.alternate)&&Fh(n,r)}function Hh(){return null}var rp=typeof reportError=="function"?reportError:function(n){console.error(n)};function Gc(n){this._internalRoot=n}ha.prototype.render=Gc.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(v(409));os(n,r,null,null)},ha.prototype.unmount=Gc.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;Xa(function(){os(null,n,null,null)}),r[la]=null}};function ha(n){this._internalRoot=n}ha.prototype.unstable_scheduleHydration=function(n){if(n){var r=Rv();n={blockedOn:null,target:n,priority:r};for(var l=0;l<_t.length&&r!==0&&r<_t[l].priority;l++);_t.splice(l,0,n),l===0&&xv(n)}};function ip(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Kc(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Ph(){}function Cg(n,r,l,u,c){if(c){if(typeof u=="function"){var h=u;u=function(){var K=Wc(E);h.call(K)}}var E=Uh(r,u,n,0,null,!1,!1,"",Ph);return n._reactRootContainer=E,n[la]=E.current,Eo(n.nodeType===8?n.parentNode:n),Xa(),E}for(;c=n.lastChild;)n.removeChild(c);if(typeof u=="function"){var k=u;u=function(){var K=Wc(_);k.call(K)}}var _=Qc(n,0,!1,null,null,!1,!1,"",Ph);return n._reactRootContainer=_,n[la]=_.current,Eo(n.nodeType===8?n.parentNode:n),Xa(function(){os(r,_,l,u)}),_}function Xc(n,r,l,u,c){var h=l._reactRootContainer;if(h){var E=h;if(typeof c=="function"){var k=c;c=function(){var _=Wc(E);k.call(_)}}os(r,E,n,c)}else E=Cg(l,r,n,c,u);return Wc(E)}Cv=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var l=fl(r.pendingLanes);l!==0&&(Su(r,l|1),or(r,rn()),!(vt&6)&&(Ho=rn()+500,wr()))}break;case 13:Xa(function(){var u=ua(n,1);if(u!==null){var c=ar();lr(u,n,1,c)}}),np(n,1)}},Ps=function(n){if(n.tag===13){var r=ua(n,134217728);if(r!==null){var l=ar();lr(r,n,134217728,l)}np(n,134217728)}},Ft=function(n){if(n.tag===13){var r=mn(n),l=ua(n,r);if(l!==null){var u=ar();lr(l,n,r,u)}np(n,r)}},Rv=function(){return Lt},Yf=function(n,r){var l=Lt;try{return Lt=n,r()}finally{Lt=l}},Ui=function(n,r,l){switch(r){case"input":if(ft(n,l),r=l.name,l.type==="radio"&&r!=null){for(l=n;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<l.length;r++){var u=l[r];if(u!==n&&u.form===n.form){var c=Ye(u);if(!c)throw Error(v(90));mt(u),ft(u,c)}}}break;case"textarea":en(n,l);break;case"select":r=l.value,r!=null&&Et(n,!!l.multiple,r,!1)}},dv=Io,pv=Xa;var Rg={usingClientEntryPoint:!1,Events:[Pu,Co,Ye,_s,Ns,Io]},Bo={findFiberByHostInstance:ni,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},xg={bundleType:Bo.bundleType,version:Bo.version,rendererPackageName:Bo.rendererPackageName,rendererConfig:Bo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ee.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=vv(n),n===null?null:n.stateNode},findFiberByHostInstance:Bo.findFiberByHostInstance||Hh,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var qc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qc.isDisabled&&qc.supportsFiber)try{gu=qc.inject(xg),Ri=qc}catch{}}return gi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Rg,gi.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ip(r))throw Error(v(200));return zh(n,r,null,l)},gi.createRoot=function(n,r){if(!ip(n))throw Error(v(299));var l=!1,u="",c=rp;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onRecoverableError!==void 0&&(c=r.onRecoverableError)),r=Qc(n,1,!1,null,null,l,!1,u,c),n[la]=r.current,Eo(n.nodeType===8?n.parentNode:n),new Gc(r)},gi.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(v(188)):(n=Object.keys(n).join(","),Error(v(268,n)));return n=vv(r),n=n===null?null:n.stateNode,n},gi.flushSync=function(n){return Xa(n)},gi.hydrate=function(n,r,l){if(!Kc(r))throw Error(v(200));return Xc(null,n,r,!0,l)},gi.hydrateRoot=function(n,r,l){if(!ip(n))throw Error(v(405));var u=l!=null&&l.hydratedSources||null,c=!1,h="",E=rp;if(l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(h=l.identifierPrefix),l.onRecoverableError!==void 0&&(E=l.onRecoverableError)),r=Uh(r,null,n,1,l??null,c,!1,h,E),n[la]=r.current,Eo(n),u)for(n=0;n<u.length;n++)l=u[n],c=l._getVersion,c=c(l._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[l,c]:r.mutableSourceEagerHydrationData.push(l,c);return new ha(r)},gi.render=function(n,r,l){if(!Kc(r))throw Error(v(200));return Xc(null,n,r,!1,l)},gi.unmountComponentAtNode=function(n){if(!Kc(n))throw Error(v(40));return n._reactRootContainer?(Xa(function(){Xc(null,null,n,!1,function(){n._reactRootContainer=null,n[la]=null})}),!0):!1},gi.unstable_batchedUpdates=Io,gi.unstable_renderSubtreeIntoContainer=function(n,r,l,u){if(!Kc(l))throw Error(v(200));if(n==null||n._reactInternals===void 0)throw Error(v(38));return Xc(n,r,l,!1,u)},gi.version="18.2.0-next-9e3b772b8-20220608",gi}var Si={};/**
|
|
36
|
+
* @license React
|
|
37
|
+
* react-dom.development.js
|
|
38
|
+
*
|
|
39
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
40
|
+
*
|
|
41
|
+
* This source code is licensed under the MIT license found in the
|
|
42
|
+
* LICENSE file in the root directory of this source tree.
|
|
43
|
+
*/var kx;function nL(){return kx||(kx=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var f=su,p=dT(),v=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,g=!1;function C(e){g=e}function R(e){if(!g){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];M("warn",e,i)}}function m(e){if(!g){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];M("error",e,i)}}function M(e,t,i){{var a=v.ReactDebugCurrentFrame,o=a.getStackAddendum();o!==""&&(t+="%s",i=i.concat([o]));var s=i.map(function(d){return String(d)});s.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,s)}}var D=0,w=1,F=2,O=3,U=4,b=5,L=6,P=7,ne=8,de=9,ue=10,Q=11,ee=12,le=13,me=14,ge=15,Ue=16,je=17,pe=18,Se=19,Ee=21,re=22,G=23,ce=24,ie=25,se=!0,X=!1,fe=!1,$=!1,ze=!1,tt=!0,wt=!1,zt=!1,Me=!0,Ve=!0,He=!0,Le=new Set,Qe={},Rt={};function ut(e,t){mt(e,t),mt(e+"Capture",t)}function mt(e,t){Qe[e]&&m("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Qe[e]=t;{var i=e.toLowerCase();Rt[i]=e,e==="onDoubleClick"&&(Rt.ondblclick=e)}for(var a=0;a<t.length;a++)Le.add(t[a])}var Vt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",It=Object.prototype.hasOwnProperty;function gn(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,i=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i}}function Ke(e){try{return ft(e),!1}catch{return!0}}function ft(e){return""+e}function dt(e,t){if(Ke(e))return m("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,gn(e)),ft(e)}function bt(e){if(Ke(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",gn(e)),ft(e)}function at(e,t){if(Ke(e))return m("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,gn(e)),ft(e)}function Et(e,t){if(Ke(e))return m("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,gn(e)),ft(e)}function Dn(e){if(Ke(e))return m("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",gn(e)),ft(e)}function Pn(e){if(Ke(e))return m("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",gn(e)),ft(e)}var en=0,kn=1,Hr=2,Vn=3,Rr=4,ka=5,In=6,Ce=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",$e=Ce+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",st=new RegExp("^["+Ce+"]["+$e+"]*$"),Ut={},un={};function Jn(e){return It.call(un,e)?!0:It.call(Ut,e)?!1:st.test(e)?(un[e]=!0,!0):(Ut[e]=!0,m("Invalid attribute name: `%s`",e),!1)}function Sn(e,t,i){return t!==null?t.type===en:i?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function qr(e,t,i,a){if(i!==null&&i.type===en)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(a)return!1;if(i!==null)return!i.acceptsBooleans;var o=e.toLowerCase().slice(0,5);return o!=="data-"&&o!=="aria-"}default:return!1}}function tn(e,t,i,a){if(t===null||typeof t>"u"||qr(e,t,i,a))return!0;if(a)return!1;if(i!==null)switch(i.type){case Vn:return!t;case Rr:return t===!1;case ka:return isNaN(t);case In:return isNaN(t)||t<1}return!1}function Ui(e){return nn.hasOwnProperty(e)?nn[e]:null}function dn(e,t,i,a,o,s,d){this.acceptsBooleans=t===Hr||t===Vn||t===Rr,this.attributeName=a,this.attributeNamespace=o,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=d}var nn={},fv=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];fv.forEach(function(e){nn[e]=new dn(e,en,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],i=e[1];nn[t]=new dn(t,kn,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){nn[e]=new dn(e,Hr,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){nn[e]=new dn(e,Hr,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){nn[e]=new dn(e,Vn,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){nn[e]=new dn(e,Vn,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){nn[e]=new dn(e,Rr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){nn[e]=new dn(e,In,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){nn[e]=new dn(e,ka,!1,e.toLowerCase(),null,!1,!1)});var _s=/[\-\:]([a-z])/g,Ns=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(_s,Ns);nn[t]=new dn(t,kn,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(_s,Ns);nn[t]=new dn(t,kn,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(_s,Ns);nn[t]=new dn(t,kn,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){nn[e]=new dn(e,kn,!1,e.toLowerCase(),null,!1,!1)});var dv="xlinkHref";nn[dv]=new dn("xlinkHref",kn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){nn[e]=new dn(e,kn,!1,e.toLowerCase(),null,!0,!0)});var pv=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,As=!1;function Uf(e){!As&&pv.test(e)&&(As=!0,m("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function hu(e,t,i,a){if(a.mustUseProperty){var o=a.propertyName;return e[o]}else{dt(i,t),a.sanitizeURL&&Uf(""+i);var s=a.attributeName,d=null;if(a.type===Rr){if(e.hasAttribute(s)){var y=e.getAttribute(s);return y===""?!0:tn(t,i,a,!1)?y:y===""+i?i:y}}else if(e.hasAttribute(s)){if(tn(t,i,a,!1))return e.getAttribute(s);if(a.type===Vn)return i;d=e.getAttribute(s)}return tn(t,i,a,!1)?d===null?i:d:d===""+i?i:d}}function zs(e,t,i,a){{if(!Jn(t))return;if(!e.hasAttribute(t))return i===void 0?void 0:null;var o=e.getAttribute(t);return dt(i,t),o===""+i?i:o}}function cl(e,t,i,a){var o=Ui(t);if(!Sn(t,o,a)){if(tn(t,i,o,a)&&(i=null),a||o===null){if(Jn(t)){var s=t;i===null?e.removeAttribute(s):(dt(i,t),e.setAttribute(s,""+i))}return}var d=o.mustUseProperty;if(d){var y=o.propertyName;if(i===null){var S=o.type;e[y]=S===Vn?!1:""}else e[y]=i;return}var x=o.attributeName,T=o.attributeNamespace;if(i===null)e.removeAttribute(x);else{var z=o.type,N;z===Vn||z===Rr&&i===!0?N="":(dt(i,x),N=""+i,o.sanitizeURL&&Uf(N.toString())),T?e.setAttributeNS(T,x,N):e.setAttribute(x,N)}}}var ao=Symbol.for("react.element"),Ci=Symbol.for("react.portal"),Zi=Symbol.for("react.fragment"),lo=Symbol.for("react.strict_mode"),mu=Symbol.for("react.profiler"),Ff=Symbol.for("react.provider"),Hf=Symbol.for("react.context"),oo=Symbol.for("react.forward_ref"),Fi=Symbol.for("react.suspense"),yu=Symbol.for("react.suspense_list"),uo=Symbol.for("react.memo"),ur=Symbol.for("react.lazy"),vv=Symbol.for("react.scope"),hv=Symbol.for("react.debug_trace_mode"),Pf=Symbol.for("react.offscreen"),mv=Symbol.for("react.legacy_hidden"),Uy=Symbol.for("react.cache"),Fy=Symbol.for("react.tracing_marker"),rn=Symbol.iterator,Hy="@@iterator";function Ji(e){if(e===null||typeof e!="object")return null;var t=rn&&e[rn]||e[Hy];return typeof t=="function"?t:null}var pt=Object.assign,Oa=0,yv,Vf,gu,Ri,gv,Zr,Sv;function Ev(){}Ev.__reactDisabledLog=!0;function Py(){{if(Oa===0){yv=console.log,Vf=console.info,gu=console.warn,Ri=console.error,gv=console.group,Zr=console.groupCollapsed,Sv=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ev,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Oa++}}function Us(){{if(Oa--,Oa===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:pt({},e,{value:yv}),info:pt({},e,{value:Vf}),warn:pt({},e,{value:gu}),error:pt({},e,{value:Ri}),group:pt({},e,{value:gv}),groupCollapsed:pt({},e,{value:Zr}),groupEnd:pt({},e,{value:Sv})})}Oa<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var so=v.ReactCurrentDispatcher,fl;function xi(e,t,i){{if(fl===void 0)try{throw Error()}catch(o){var a=o.stack.trim().match(/\n( *(at )?)/);fl=a&&a[1]||""}return`
|
|
44
|
+
`+fl+e}}var If=!1,Fs;{var jf=typeof WeakMap=="function"?WeakMap:Map;Fs=new jf}function Hs(e,t){if(!e||If)return"";{var i=Fs.get(e);if(i!==void 0)return i}var a;If=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=so.current,so.current=null,Py();try{if(t){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(W){a=W}Reflect.construct(e,[],d)}else{try{d.call()}catch(W){a=W}e.call(d.prototype)}}else{try{throw Error()}catch(W){a=W}e()}}catch(W){if(W&&a&&typeof W.stack=="string"){for(var y=W.stack.split(`
|
|
45
|
+
`),S=a.stack.split(`
|
|
46
|
+
`),x=y.length-1,T=S.length-1;x>=1&&T>=0&&y[x]!==S[T];)T--;for(;x>=1&&T>=0;x--,T--)if(y[x]!==S[T]){if(x!==1||T!==1)do if(x--,T--,T<0||y[x]!==S[T]){var z=`
|
|
47
|
+
`+y[x].replace(" at new "," at ");return e.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",e.displayName)),typeof e=="function"&&Fs.set(e,z),z}while(x>=1&&T>=0);break}}}finally{If=!1,so.current=s,Us(),Error.prepareStackTrace=o}var N=e?e.displayName||e.name:"",Y=N?xi(N):"";return typeof e=="function"&&Fs.set(e,Y),Y}function Bf(e,t,i){return Hs(e,!0)}function dl(e,t,i){return Hs(e,!1)}function Vy(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Su(e,t,i){if(e==null)return"";if(typeof e=="function")return Hs(e,Vy(e));if(typeof e=="string")return xi(e);switch(e){case Fi:return xi("Suspense");case yu:return xi("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case oo:return dl(e.render);case uo:return Su(e.type,t,i);case ur:{var a=e,o=a._payload,s=a._init;try{return Su(s(o),t,i)}catch{}}}return""}function Lt(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case b:return xi(e.type);case Ue:return xi("Lazy");case le:return xi("Suspense");case Se:return xi("SuspenseList");case D:case F:case ge:return dl(e.type);case Q:return dl(e.type.render);case w:return Bf(e.type);default:return""}}function $f(e){try{var t="",i=e;do t+=Lt(i),i=i.return;while(i);return t}catch(a){return`
|
|
48
|
+
Error generating stack: `+a.message+`
|
|
49
|
+
`+a.stack}}function Cv(e,t,i){var a=e.displayName;if(a)return a;var o=t.displayName||t.name||"";return o!==""?i+"("+o+")":i}function Ps(e){return e.displayName||"Context"}function Ft(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Zi:return"Fragment";case Ci:return"Portal";case mu:return"Profiler";case lo:return"StrictMode";case Fi:return"Suspense";case yu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Hf:var t=e;return Ps(t)+".Consumer";case Ff:var i=e;return Ps(i._context)+".Provider";case oo:return Cv(e,e.render,"ForwardRef");case uo:var a=e.displayName||null;return a!==null?a:Ft(e.type)||"Memo";case ur:{var o=e,s=o._payload,d=o._init;try{return Ft(d(s))}catch{return null}}}return null}function Rv(e,t,i){var a=t.displayName||t.name||"";return e.displayName||(a!==""?i+"("+a+")":i)}function Yf(e){return e.displayName||"Context"}function it(e){var t=e.tag,i=e.type;switch(t){case ce:return"Cache";case de:var a=i;return Yf(a)+".Consumer";case ue:var o=i;return Yf(o._context)+".Provider";case pe:return"DehydratedFragment";case Q:return Rv(i,i.render,"ForwardRef");case P:return"Fragment";case b:return i;case U:return"Portal";case O:return"Root";case L:return"Text";case Ue:return Ft(i);case ne:return i===lo?"StrictMode":"Mode";case re:return"Offscreen";case ee:return"Profiler";case Ee:return"Scope";case le:return"Suspense";case Se:return"SuspenseList";case ie:return"TracingMarker";case w:case D:case je:case F:case me:case ge:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;break}return null}var Eu=v.ReactDebugCurrentFrame,pn=null,Jr=!1;function ei(){{if(pn===null)return null;var e=pn._debugOwner;if(e!==null&&typeof e<"u")return it(e)}return null}function Cu(){return pn===null?"":$f(pn)}function En(){Eu.getCurrentStack=null,pn=null,Jr=!1}function _t(e){Eu.getCurrentStack=e===null?null:Cu,pn=e,Jr=!1}function Iy(){return pn}function Ti(e){Jr=e}function er(e){return""+e}function Ma(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Pn(e),e;default:return""}}var xv={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function co(e,t){xv[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||m("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||m("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Qf(e){var t=e.type,i=e.nodeName;return i&&i.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Tv(e){return e._valueTracker}function Ru(e){e._valueTracker=null}function xu(e){var t="";return e&&(Qf(e)?t=e.checked?"true":"false":t=e.value),t}function fo(e){var t=Qf(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Pn(e[t]);var a=""+e[t];if(!(e.hasOwnProperty(t)||typeof i>"u"||typeof i.get!="function"||typeof i.set!="function")){var o=i.get,s=i.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(y){Pn(y),a=""+y,s.call(this,y)}}),Object.defineProperty(e,t,{enumerable:i.enumerable});var d={getValue:function(){return a},setValue:function(y){Pn(y),a=""+y},stopTracking:function(){Ru(e),delete e[t]}};return d}}function pl(e){Tv(e)||(e._valueTracker=fo(e))}function wv(e){if(!e)return!1;var t=Tv(e);if(!t)return!0;var i=t.getValue(),a=xu(e);return a!==i?(t.setValue(a),!0):!1}function Vs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Is=!1,Tu=!1,js=!1,Wf=!1;function ea(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function wu(e,t){var i=e,a=t.checked,o=pt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??i._wrapperState.initialChecked});return o}function bu(e,t){co("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Tu&&(m("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",ei()||"A component",t.type),Tu=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Is&&(m("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",ei()||"A component",t.type),Is=!0);var i=e,a=t.defaultValue==null?"":t.defaultValue;i._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Ma(t.value!=null?t.value:a),controlled:ea(t)}}function Gf(e,t){var i=e,a=t.checked;a!=null&&cl(i,"checked",a,!1)}function po(e,t){var i=e;{var a=ea(t);!i._wrapperState.controlled&&a&&!Wf&&(m("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Wf=!0),i._wrapperState.controlled&&!a&&!js&&(m("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),js=!0)}Gf(e,t);var o=Ma(t.value),s=t.type;if(o!=null)s==="number"?(o===0&&i.value===""||i.value!=o)&&(i.value=er(o)):i.value!==er(o)&&(i.value=er(o));else if(s==="submit"||s==="reset"){i.removeAttribute("value");return}t.hasOwnProperty("value")?La(i,t.type,o):t.hasOwnProperty("defaultValue")&&La(i,t.type,Ma(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(i.defaultChecked=!!t.defaultChecked)}function Du(e,t,i){var a=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type,s=o==="submit"||o==="reset";if(s&&(t.value===void 0||t.value===null))return;var d=er(a._wrapperState.initialValue);i||d!==a.value&&(a.value=d),a.defaultValue=d}var y=a.name;y!==""&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!!a._wrapperState.initialChecked,y!==""&&(a.name=y)}function bv(e,t){var i=e;po(i,t),Pr(i,t)}function Pr(e,t){var i=t.name;if(t.type==="radio"&&i!=null){for(var a=e;a.parentNode;)a=a.parentNode;dt(i,"name");for(var o=a.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),s=0;s<o.length;s++){var d=o[s];if(!(d===e||d.form!==e.form)){var y=nm(d);if(!y)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");wv(d),po(d,y)}}}}function La(e,t,i){(t!=="number"||Vs(e.ownerDocument)!==e)&&(i==null?e.defaultValue=er(e._wrapperState.initialValue):e.defaultValue!==er(i)&&(e.defaultValue=er(i)))}var Bs=!1,vo=!1,Dv=!1;function $s(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?f.Children.forEach(t.children,function(i){i!=null&&(typeof i=="string"||typeof i=="number"||vo||(vo=!0,m("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(Dv||(Dv=!0,m("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Bs&&(m("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Bs=!0)}function Kf(e,t){t.value!=null&&e.setAttribute("value",er(Ma(t.value)))}var ku=Array.isArray;function On(e){return ku(e)}var Ys;Ys=!1;function kv(){var e=ei();return e?`
|
|
50
|
+
|
|
51
|
+
Check the render method of \``+e+"`.":""}var Ov=["value","defaultValue"];function jy(e){{co("select",e);for(var t=0;t<Ov.length;t++){var i=Ov[t];if(e[i]!=null){var a=On(e[i]);e.multiple&&!a?m("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",i,kv()):!e.multiple&&a&&m("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",i,kv())}}}}function _a(e,t,i,a){var o=e.options;if(t){for(var s=i,d={},y=0;y<s.length;y++)d["$"+s[y]]=!0;for(var S=0;S<o.length;S++){var x=d.hasOwnProperty("$"+o[S].value);o[S].selected!==x&&(o[S].selected=x),x&&a&&(o[S].defaultSelected=!0)}}else{for(var T=er(Ma(i)),z=null,N=0;N<o.length;N++){if(o[N].value===T){o[N].selected=!0,a&&(o[N].defaultSelected=!0);return}z===null&&!o[N].disabled&&(z=o[N])}z!==null&&(z.selected=!0)}}function Xf(e,t){return pt({},t,{value:void 0})}function Mv(e,t){var i=e;jy(t),i._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Ys&&(m("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Ys=!0)}function By(e,t){var i=e;i.multiple=!!t.multiple;var a=t.value;a!=null?_a(i,!!t.multiple,a,!1):t.defaultValue!=null&&_a(i,!!t.multiple,t.defaultValue,!0)}function $y(e,t){var i=e,a=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!t.multiple;var o=t.value;o!=null?_a(i,!!t.multiple,o,!1):a!==!!t.multiple&&(t.defaultValue!=null?_a(i,!!t.multiple,t.defaultValue,!0):_a(i,!!t.multiple,t.multiple?[]:"",!1))}function Yy(e,t){var i=e,a=t.value;a!=null&&_a(i,!!t.multiple,a,!1)}var qf=!1;function Zf(e,t){var i=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var a=pt({},t,{value:void 0,defaultValue:void 0,children:er(i._wrapperState.initialValue)});return a}function Lv(e,t){var i=e;co("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!qf&&(m("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",ei()||"A component"),qf=!0);var a=t.value;if(a==null){var o=t.children,s=t.defaultValue;if(o!=null){m("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(s!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(On(o)){if(o.length>1)throw new Error("<textarea> can only have at most one child.");o=o[0]}s=o}}s==null&&(s=""),a=s}i._wrapperState={initialValue:Ma(a)}}function _v(e,t){var i=e,a=Ma(t.value),o=Ma(t.defaultValue);if(a!=null){var s=er(a);s!==i.value&&(i.value=s),t.defaultValue==null&&i.defaultValue!==s&&(i.defaultValue=s)}o!=null&&(i.defaultValue=er(o))}function Nv(e,t){var i=e,a=i.textContent;a===i._wrapperState.initialValue&&a!==""&&a!==null&&(i.value=a)}function Jf(e,t){_v(e,t)}var ta="http://www.w3.org/1999/xhtml",Qy="http://www.w3.org/1998/Math/MathML",ed="http://www.w3.org/2000/svg";function Qs(e){switch(e){case"svg":return ed;case"math":return Qy;default:return ta}}function td(e,t){return e==null||e===ta?Qs(t):e===ed&&t==="foreignObject"?ta:e}var Wy=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,i,a,o){MSApp.execUnsafeLocalFunction(function(){return e(t,i,a,o)})}:e},Ws,Av=Wy(function(e,t){if(e.namespaceURI===ed&&!("innerHTML"in e)){Ws=Ws||document.createElement("div"),Ws.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var i=Ws.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;i.firstChild;)e.appendChild(i.firstChild);return}e.innerHTML=t}),xr=1,na=3,vn=8,wi=9,vl=11,Gs=function(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===na){i.nodeValue=t;return}}e.textContent=t},zv={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},ho={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Uv(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Fv=["Webkit","ms","Moz","O"];Object.keys(ho).forEach(function(e){Fv.forEach(function(t){ho[Uv(t,e)]=ho[e]})});function Ks(e,t,i){var a=t==null||typeof t=="boolean"||t==="";return a?"":!i&&typeof t=="number"&&t!==0&&!(ho.hasOwnProperty(e)&&ho[e])?t+"px":(Et(t,e),(""+t).trim())}var mo=/([A-Z])/g,Gy=/^ms-/;function Ky(e){return e.replace(mo,"-$1").toLowerCase().replace(Gy,"-ms-")}var Hv=function(){};{var Pv=/^(?:webkit|moz|o)[A-Z]/,Vv=/^-ms-/,Ou=/-(.)/g,yo=/;\s*$/,go={},So={},Iv=!1,nd=!1,rd=function(e){return e.replace(Ou,function(t,i){return i.toUpperCase()})},id=function(e){go.hasOwnProperty(e)&&go[e]||(go[e]=!0,m("Unsupported style property %s. Did you mean %s?",e,rd(e.replace(Vv,"ms-"))))},jv=function(e){go.hasOwnProperty(e)&&go[e]||(go[e]=!0,m("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Bv=function(e,t){So.hasOwnProperty(t)&&So[t]||(So[t]=!0,m(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(yo,"")))},$v=function(e,t){Iv||(Iv=!0,m("`NaN` is an invalid value for the `%s` css style property.",e))},Xy=function(e,t){nd||(nd=!0,m("`Infinity` is an invalid value for the `%s` css style property.",e))};Hv=function(e,t){e.indexOf("-")>-1?id(e):Pv.test(e)?jv(e):yo.test(t)&&Bv(e,t),typeof t=="number"&&(isNaN(t)?$v(e,t):isFinite(t)||Xy(e,t))}}var qy=Hv;function Zy(e){{var t="",i="";for(var a in e)if(e.hasOwnProperty(a)){var o=e[a];if(o!=null){var s=a.indexOf("--")===0;t+=i+(s?a:Ky(a))+":",t+=Ks(a,o,s),i=";"}}return t||null}}function Yv(e,t){var i=e.style;for(var a in t)if(t.hasOwnProperty(a)){var o=a.indexOf("--")===0;o||qy(a,t[a]);var s=Ks(a,t[a],o);a==="float"&&(a="cssFloat"),o?i.setProperty(a,s):i[a]=s}}function Jy(e){return e==null||typeof e=="boolean"||e===""}function ti(e){var t={};for(var i in e)for(var a=zv[i]||[i],o=0;o<a.length;o++)t[a[o]]=i;return t}function Mu(e,t){{if(!t)return;var i=ti(e),a=ti(t),o={};for(var s in i){var d=i[s],y=a[s];if(y&&d!==y){var S=d+","+y;if(o[S])continue;o[S]=!0,m("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",Jy(e[d])?"Removing":"Updating",d,y)}}}}var Qv={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Wv=pt({menuitem:!0},Qv),Gv="__html";function Xs(e,t){if(t){if(Wv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Gv in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&m("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function ra(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var qs={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Kv={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},bi={},ad=new RegExp("^(aria)-["+$e+"]*$"),Lu=new RegExp("^(aria)[A-Z]["+$e+"]*$");function ld(e,t){{if(It.call(bi,t)&&bi[t])return!0;if(Lu.test(t)){var i="aria-"+t.slice(4).toLowerCase(),a=Kv.hasOwnProperty(i)?i:null;if(a==null)return m("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),bi[t]=!0,!0;if(t!==a)return m("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,a),bi[t]=!0,!0}if(ad.test(t)){var o=t.toLowerCase(),s=Kv.hasOwnProperty(o)?o:null;if(s==null)return bi[t]=!0,!1;if(t!==s)return m("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,s),bi[t]=!0,!0}}return!0}function Xv(e,t){{var i=[];for(var a in t){var o=ld(e,a);o||i.push(a)}var s=i.map(function(d){return"`"+d+"`"}).join(", ");i.length===1?m("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e):i.length>1&&m("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e)}}function Zs(e,t){ra(e,t)||Xv(e,t)}var hl=!1;function od(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!hl&&(hl=!0,e==="select"&&t.multiple?m("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):m("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var ud=function(){};{var Mn={},sd=/^on./,qv=/^on[^A-Z]/,Zv=new RegExp("^(aria)-["+$e+"]*$"),Jv=new RegExp("^(aria)[A-Z]["+$e+"]*$");ud=function(e,t,i,a){if(It.call(Mn,t)&&Mn[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="onfocusout")return m("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Mn[t]=!0,!0;if(a!=null){var s=a.registrationNameDependencies,d=a.possibleRegistrationNames;if(s.hasOwnProperty(t))return!0;var y=d.hasOwnProperty(o)?d[o]:null;if(y!=null)return m("Invalid event handler property `%s`. Did you mean `%s`?",t,y),Mn[t]=!0,!0;if(sd.test(t))return m("Unknown event handler property `%s`. It will be ignored.",t),Mn[t]=!0,!0}else if(sd.test(t))return qv.test(t)&&m("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Mn[t]=!0,!0;if(Zv.test(t)||Jv.test(t))return!0;if(o==="innerhtml")return m("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Mn[t]=!0,!0;if(o==="aria")return m("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Mn[t]=!0,!0;if(o==="is"&&i!==null&&i!==void 0&&typeof i!="string")return m("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof i),Mn[t]=!0,!0;if(typeof i=="number"&&isNaN(i))return m("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Mn[t]=!0,!0;var S=Ui(t),x=S!==null&&S.type===en;if(qs.hasOwnProperty(o)){var T=qs[o];if(T!==t)return m("Invalid DOM property `%s`. Did you mean `%s`?",t,T),Mn[t]=!0,!0}else if(!x&&t!==o)return m("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),Mn[t]=!0,!0;return typeof i=="boolean"&&qr(t,i,S,!1)?(i?m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',i,t,t,i,t):m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',i,t,t,i,t,t,t),Mn[t]=!0,!0):x?!0:qr(t,i,S,!1)?(Mn[t]=!0,!1):((i==="false"||i==="true")&&S!==null&&S.type===Vn&&(m("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",i,t,i==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,i),Mn[t]=!0),!0)}}var eh=function(e,t,i){{var a=[];for(var o in t){var s=ud(e,o,t[o],i);s||a.push(o)}var d=a.map(function(y){return"`"+y+"`"}).join(", ");a.length===1?m("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",d,e):a.length>1&&m("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",d,e)}};function th(e,t,i){ra(e,t)||eh(e,t,i)}var ia=1,_u=2,ml=4,eg=ia|_u|ml,Nu=null;function Au(e){Nu!==null&&m("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Nu=e}function tg(){Nu===null&&m("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Nu=null}function nh(e){return e===Nu}function Js(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===na?t.parentNode:t}var Ht=null,Na=null,aa=null;function Eo(e){var t=Qo(e);if(t){if(typeof Ht!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var i=t.stateNode;if(i){var a=nm(i);Ht(t.stateNode,t.type,a)}}}function rh(e){Ht=e}function ec(e){Na?aa?aa.push(e):aa=[e]:Na=e}function zu(){return Na!==null||aa!==null}function Uu(){if(Na){var e=Na,t=aa;if(Na=null,aa=null,Eo(e),t)for(var i=0;i<t.length;i++)Eo(t[i])}}var yl=function(e,t){return e(t)},cd=function(){},fd=!1;function ng(){var e=zu();e&&(cd(),Uu())}function dd(e,t,i){if(fd)return e(t,i);fd=!0;try{return yl(e,t,i)}finally{fd=!1,ng()}}function tc(e,t,i){yl=e,cd=i}function nc(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function pd(e,t,i){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(i.disabled&&nc(t));default:return!1}}function gl(e,t){var i=e.stateNode;if(i===null)return null;var a=nm(i);if(a===null)return null;var o=a[t];if(pd(t,e.type,a))return null;if(o&&typeof o!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof o+"` type.");return o}var Fu=!1;if(Vt)try{var Sl={};Object.defineProperty(Sl,"passive",{get:function(){Fu=!0}}),window.addEventListener("test",Sl,Sl),window.removeEventListener("test",Sl,Sl)}catch{Fu=!1}function ih(e,t,i,a,o,s,d,y,S){var x=Array.prototype.slice.call(arguments,3);try{t.apply(i,x)}catch(T){this.onError(T)}}var vd=ih;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var hd=document.createElement("react");vd=function(t,i,a,o,s,d,y,S,x){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var T=document.createEvent("Event"),z=!1,N=!0,Y=window.event,W=Object.getOwnPropertyDescriptor(window,"event");function q(){hd.removeEventListener(Z,We,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Y)}var De=Array.prototype.slice.call(arguments,3);function We(){z=!0,q(),i.apply(a,De),N=!1}var Ie,St=!1,ht=!1;function I(j){if(Ie=j.error,St=!0,Ie===null&&j.colno===0&&j.lineno===0&&(ht=!0),j.defaultPrevented&&Ie!=null&&typeof Ie=="object")try{Ie._suppressLogging=!0}catch{}}var Z="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",I),hd.addEventListener(Z,We,!1),T.initEvent(Z,!1,!1),hd.dispatchEvent(T),W&&Object.defineProperty(window,"event",W),z&&N&&(St?ht&&(Ie=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Ie=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Ie)),window.removeEventListener("error",I),!z)return q(),ih.apply(this,arguments)}}var rg=vd,Aa=!1,Di=null,Hu=!1,za=null,Hi={onError:function(e){Aa=!0,Di=e}};function El(e,t,i,a,o,s,d,y,S){Aa=!1,Di=null,rg.apply(Hi,arguments)}function la(e,t,i,a,o,s,d,y,S){if(El.apply(this,arguments),Aa){var x=yd();Hu||(Hu=!0,za=x)}}function md(){if(Hu){var e=za;throw Hu=!1,za=null,e}}function ig(){return Aa}function yd(){if(Aa){var e=Di;return Aa=!1,Di=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function ni(e){return e._reactInternals}function Pu(e){return e._reactInternals!==void 0}function Co(e,t){e._reactInternals=t}var Ye=0,Ua=1,jt=2,lt=4,Dt=16,kt=32,Pi=64,Je=128,an=256,Tr=512,ri=1024,Gt=2048,ii=4096,Fa=8192,Vu=16384,rc=Gt|lt|Pi|Tr|ri|Vu,ah=32767,Vr=32768,Ln=65536,Iu=131072,gd=1048576,Sd=2097152,wr=4194304,Ha=8388608,br=16777216,Cl=33554432,Ro=lt|ri|0,Dr=jt|lt|Dt|kt|Tr|ii|Fa,tr=lt|Pi|Tr|Fa,ai=Gt|Dt,jn=wr|Ha|Sd,oa=v.ReactCurrentOwner;function Ir(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{var a=t;do t=a,(t.flags&(jt|ii))!==Ye&&(i=t.return),a=t.return;while(a)}return t.tag===O?i:null}function Ed(e){if(e.tag===le){var t=e.memoizedState;if(t===null){var i=e.alternate;i!==null&&(t=i.memoizedState)}if(t!==null)return t.dehydrated}return null}function ic(e){return e.tag===O?e.stateNode.containerInfo:null}function Cd(e){return Ir(e)===e}function jr(e){{var t=oa.current;if(t!==null&&t.tag===w){var i=t,a=i.stateNode;a._warnedAboutRefsInRender||m("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",it(i)||"A component"),a._warnedAboutRefsInRender=!0}}var o=ni(e);return o?Ir(o)===o:!1}function kr(e){if(Ir(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Bt(e){var t=e.alternate;if(!t){var i=Ir(e);if(i===null)throw new Error("Unable to find node on an unmounted component.");return i!==e?null:e}for(var a=e,o=t;;){var s=a.return;if(s===null)break;var d=s.alternate;if(d===null){var y=s.return;if(y!==null){a=o=y;continue}break}if(s.child===d.child){for(var S=s.child;S;){if(S===a)return kr(s),e;if(S===o)return kr(s),t;S=S.sibling}throw new Error("Unable to find node on an unmounted component.")}if(a.return!==o.return)a=s,o=d;else{for(var x=!1,T=s.child;T;){if(T===a){x=!0,a=s,o=d;break}if(T===o){x=!0,o=s,a=d;break}T=T.sibling}if(!x){for(T=d.child;T;){if(T===a){x=!0,a=d,o=s;break}if(T===o){x=!0,o=d,a=s;break}T=T.sibling}if(!x)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==o)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==O)throw new Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function li(e){var t=Bt(e);return t!==null?Rd(t):null}function Rd(e){if(e.tag===b||e.tag===L)return e;for(var t=e.child;t!==null;){var i=Rd(t);if(i!==null)return i;t=t.sibling}return null}function lh(e){var t=Bt(e);return t!==null?ac(t):null}function ac(e){if(e.tag===b||e.tag===L)return e;for(var t=e.child;t!==null;){if(t.tag!==U){var i=ac(t);if(i!==null)return i}t=t.sibling}return null}var lc=p.unstable_scheduleCallback,oh=p.unstable_cancelCallback,oc=p.unstable_shouldYield,uh=p.unstable_requestPaint,Xt=p.unstable_now,xd=p.unstable_getCurrentPriorityLevel,uc=p.unstable_ImmediatePriority,Br=p.unstable_UserBlockingPriority,Vi=p.unstable_NormalPriority,sc=p.unstable_LowPriority,Pa=p.unstable_IdlePriority,Td=p.unstable_yieldValue,wd=p.unstable_setDisableYieldValue,Va=null,_n=null,Re=null,sn=!1,Bn=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function bd(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return m("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Me&&(e=pt({},e,{getLaneLabelMap:ja,injectProfilingHooks:sa})),Va=t.inject(e),_n=t}catch(i){m("React instrumentation encountered an error: %s.",i)}return!!t.checkDCE}function sh(e,t){if(_n&&typeof _n.onScheduleFiberRoot=="function")try{_n.onScheduleFiberRoot(Va,e,t)}catch(i){sn||(sn=!0,m("React instrumentation encountered an error: %s",i))}}function ua(e,t){if(_n&&typeof _n.onCommitFiberRoot=="function")try{var i=(e.current.flags&Je)===Je;if(Ve){var a;switch(t){case nr:a=uc;break;case $n:a=Br;break;case fa:a=Vi;break;case Xu:a=Pa;break;default:a=Vi;break}_n.onCommitFiberRoot(Va,e,a,i)}}catch(o){sn||(sn=!0,m("React instrumentation encountered an error: %s",o))}}function Ia(e){if(_n&&typeof _n.onPostCommitFiberRoot=="function")try{_n.onPostCommitFiberRoot(Va,e)}catch(t){sn||(sn=!0,m("React instrumentation encountered an error: %s",t))}}function Dd(e){if(_n&&typeof _n.onCommitFiberUnmount=="function")try{_n.onCommitFiberUnmount(Va,e)}catch(t){sn||(sn=!0,m("React instrumentation encountered an error: %s",t))}}function Cn(e){if(typeof Td=="function"&&(wd(e),C(e)),_n&&typeof _n.setStrictMode=="function")try{_n.setStrictMode(Va,e)}catch(t){sn||(sn=!0,m("React instrumentation encountered an error: %s",t))}}function sa(e){Re=e}function ja(){{for(var e=new Map,t=1,i=0;i<$t;i++){var a=ag(t);e.set(t,a),t*=2}return e}}function cc(e){Re!==null&&typeof Re.markCommitStarted=="function"&&Re.markCommitStarted(e)}function kd(){Re!==null&&typeof Re.markCommitStopped=="function"&&Re.markCommitStopped()}function Ba(e){Re!==null&&typeof Re.markComponentRenderStarted=="function"&&Re.markComponentRenderStarted(e)}function Rl(){Re!==null&&typeof Re.markComponentRenderStopped=="function"&&Re.markComponentRenderStopped()}function ch(e){Re!==null&&typeof Re.markComponentPassiveEffectMountStarted=="function"&&Re.markComponentPassiveEffectMountStarted(e)}function Od(){Re!==null&&typeof Re.markComponentPassiveEffectMountStopped=="function"&&Re.markComponentPassiveEffectMountStopped()}function fc(e){Re!==null&&typeof Re.markComponentPassiveEffectUnmountStarted=="function"&&Re.markComponentPassiveEffectUnmountStarted(e)}function fh(){Re!==null&&typeof Re.markComponentPassiveEffectUnmountStopped=="function"&&Re.markComponentPassiveEffectUnmountStopped()}function dh(e){Re!==null&&typeof Re.markComponentLayoutEffectMountStarted=="function"&&Re.markComponentLayoutEffectMountStarted(e)}function ph(){Re!==null&&typeof Re.markComponentLayoutEffectMountStopped=="function"&&Re.markComponentLayoutEffectMountStopped()}function dc(e){Re!==null&&typeof Re.markComponentLayoutEffectUnmountStarted=="function"&&Re.markComponentLayoutEffectUnmountStarted(e)}function xo(){Re!==null&&typeof Re.markComponentLayoutEffectUnmountStopped=="function"&&Re.markComponentLayoutEffectUnmountStopped()}function pc(e,t,i){Re!==null&&typeof Re.markComponentErrored=="function"&&Re.markComponentErrored(e,t,i)}function vh(e,t,i){Re!==null&&typeof Re.markComponentSuspended=="function"&&Re.markComponentSuspended(e,t,i)}function hh(e){Re!==null&&typeof Re.markLayoutEffectsStarted=="function"&&Re.markLayoutEffectsStarted(e)}function To(){Re!==null&&typeof Re.markLayoutEffectsStopped=="function"&&Re.markLayoutEffectsStopped()}function mh(e){Re!==null&&typeof Re.markPassiveEffectsStarted=="function"&&Re.markPassiveEffectsStarted(e)}function ju(){Re!==null&&typeof Re.markPassiveEffectsStopped=="function"&&Re.markPassiveEffectsStopped()}function ki(e){Re!==null&&typeof Re.markRenderStarted=="function"&&Re.markRenderStarted(e)}function Bu(){Re!==null&&typeof Re.markRenderYielded=="function"&&Re.markRenderYielded()}function wo(){Re!==null&&typeof Re.markRenderStopped=="function"&&Re.markRenderStopped()}function xl(e){Re!==null&&typeof Re.markRenderScheduled=="function"&&Re.markRenderScheduled(e)}function Md(e,t){Re!==null&&typeof Re.markForceUpdateScheduled=="function"&&Re.markForceUpdateScheduled(e,t)}function $a(e,t){Re!==null&&typeof Re.markStateUpdateScheduled=="function"&&Re.markStateUpdateScheduled(e,t)}var Ge=0,ct=1,Xe=2,qt=8,oi=16,vc=Math.clz32?Math.clz32:Tl,hc=Math.log,Ld=Math.LN2;function Tl(e){var t=e>>>0;return t===0?32:31-(hc(t)/Ld|0)|0}var $t=31,J=0,yt=0,qe=1,Ii=2,$r=4,wl=8,Yt=16,bl=32,Ya=4194240,Dl=64,ui=128,Or=256,kl=512,$u=1024,Yu=2048,mc=4096,yc=8192,gc=16384,Sc=32768,Ec=65536,Cc=131072,Rc=262144,xc=524288,Ol=1048576,Tc=2097152,Ml=130023424,ca=4194304,wc=8388608,Qu=16777216,bc=33554432,Dc=67108864,_d=ca,bo=134217728,kc=268435455,Do=268435456,Qa=536870912,Mr=1073741824;function ag(e){{if(e&qe)return"Sync";if(e&Ii)return"InputContinuousHydration";if(e&$r)return"InputContinuous";if(e&wl)return"DefaultHydration";if(e&Yt)return"Default";if(e&bl)return"TransitionHydration";if(e&Ya)return"Transition";if(e&Ml)return"Retry";if(e&bo)return"SelectiveHydration";if(e&Do)return"IdleHydration";if(e&Qa)return"Idle";if(e&Mr)return"Offscreen"}}var Pt=-1,Oc=Dl,Mc=ca;function ko(e){switch(hn(e)){case qe:return qe;case Ii:return Ii;case $r:return $r;case wl:return wl;case Yt:return Yt;case bl:return bl;case Dl:case ui:case Or:case kl:case $u:case Yu:case mc:case yc:case gc:case Sc:case Ec:case Cc:case Rc:case xc:case Ol:case Tc:return e&Ya;case ca:case wc:case Qu:case bc:case Dc:return e&Ml;case bo:return bo;case Do:return Do;case Qa:return Qa;case Mr:return Mr;default:return m("Should have found matching lanes. This is a bug in React."),e}}function Wu(e,t){var i=e.pendingLanes;if(i===J)return J;var a=J,o=e.suspendedLanes,s=e.pingedLanes,d=i&kc;if(d!==J){var y=d&~o;if(y!==J)a=ko(y);else{var S=d&s;S!==J&&(a=ko(S))}}else{var x=i&~o;x!==J?a=ko(x):s!==J&&(a=ko(s))}if(a===J)return J;if(t!==J&&t!==a&&(t&o)===J){var T=hn(a),z=hn(t);if(T>=z||T===Yt&&(z&Ya)!==J)return t}(a&$r)!==J&&(a|=i&Yt);var N=e.entangledLanes;if(N!==J)for(var Y=e.entanglements,W=a&N;W>0;){var q=Wa(W),De=1<<q;a|=Y[q],W&=~De}return a}function yh(e,t){for(var i=e.eventTimes,a=Pt;t>0;){var o=Wa(t),s=1<<o,d=i[o];d>a&&(a=d),t&=~s}return a}function Lc(e,t){switch(e){case qe:case Ii:case $r:return t+250;case wl:case Yt:case bl:case Dl:case ui:case Or:case kl:case $u:case Yu:case mc:case yc:case gc:case Sc:case Ec:case Cc:case Rc:case xc:case Ol:case Tc:return t+5e3;case ca:case wc:case Qu:case bc:case Dc:return Pt;case bo:case Do:case Qa:case Mr:return Pt;default:return m("Should have found matching lanes. This is a bug in React."),Pt}}function lg(e,t){for(var i=e.pendingLanes,a=e.suspendedLanes,o=e.pingedLanes,s=e.expirationTimes,d=i;d>0;){var y=Wa(d),S=1<<y,x=s[y];x===Pt?((S&a)===J||(S&o)!==J)&&(s[y]=Lc(S,t)):x<=t&&(e.expiredLanes|=S),d&=~S}}function og(e){return ko(e.pendingLanes)}function Nd(e){var t=e.pendingLanes&~Mr;return t!==J?t:t&Mr?Mr:J}function Oo(e){return(e&qe)!==J}function Gu(e){return(e&kc)!==J}function _c(e){return(e&Ml)===e}function ug(e){var t=qe|$r|Yt;return(e&t)===J}function gh(e){return(e&Ya)===e}function Ku(e,t){var i=Ii|$r|wl|Yt;return(t&i)!==J}function Sh(e,t){return(t&e.expiredLanes)!==J}function Ad(e){return(e&Ya)!==J}function zd(){var e=Oc;return Oc<<=1,(Oc&Ya)===J&&(Oc=Dl),e}function sg(){var e=Mc;return Mc<<=1,(Mc&Ml)===J&&(Mc=ca),e}function hn(e){return e&-e}function Rn(e){return hn(e)}function Wa(e){return 31-vc(e)}function Nc(e){return Wa(e)}function Lr(e,t){return(e&t)!==J}function Ll(e,t){return(e&t)===t}function ot(e,t){return e|t}function Mo(e,t){return e&~t}function Ud(e,t){return e&t}function Eh(e){return e}function Ch(e,t){return e!==yt&&e<t?e:t}function Ac(e){for(var t=[],i=0;i<$t;i++)t.push(e);return t}function _l(e,t,i){e.pendingLanes|=t,t!==Qa&&(e.suspendedLanes=J,e.pingedLanes=J);var a=e.eventTimes,o=Nc(t);a[o]=i}function Fd(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var i=e.expirationTimes,a=t;a>0;){var o=Wa(a),s=1<<o;i[o]=Pt,a&=~s}}function Hd(e,t,i){e.pingedLanes|=e.suspendedLanes&t}function Pd(e,t){var i=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=J,e.pingedLanes=J,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var a=e.entanglements,o=e.eventTimes,s=e.expirationTimes,d=i;d>0;){var y=Wa(d),S=1<<y;a[y]=J,o[y]=Pt,s[y]=Pt,d&=~S}}function Lo(e,t){for(var i=e.entangledLanes|=t,a=e.entanglements,o=i;o;){var s=Wa(o),d=1<<s;d&t|a[s]&t&&(a[s]|=t),o&=~d}}function cg(e,t){var i=hn(t),a;switch(i){case $r:a=Ii;break;case Yt:a=wl;break;case Dl:case ui:case Or:case kl:case $u:case Yu:case mc:case yc:case gc:case Sc:case Ec:case Cc:case Rc:case xc:case Ol:case Tc:case ca:case wc:case Qu:case bc:case Dc:a=bl;break;case Qa:a=Do;break;default:a=yt;break}return(a&(e.suspendedLanes|t))!==yt?yt:a}function Vd(e,t,i){if(Bn)for(var a=e.pendingUpdatersLaneMap;i>0;){var o=Nc(i),s=1<<o,d=a[o];d.add(t),i&=~s}}function zc(e,t){if(Bn)for(var i=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;t>0;){var o=Nc(t),s=1<<o,d=i[o];d.size>0&&(d.forEach(function(y){var S=y.alternate;(S===null||!a.has(S))&&a.add(y)}),d.clear()),t&=~s}}function Id(e,t){return null}var nr=qe,$n=$r,fa=Yt,Xu=Qa,Nl=yt;function si(){return Nl}function xn(e){Nl=e}function qu(e,t){var i=Nl;try{return Nl=e,t()}finally{Nl=i}}function rr(e,t){return e!==0&&e<t?e:t}function fg(e,t){return e===0||e>t?e:t}function jd(e,t){return e!==0&&e<t}function Zu(e){var t=hn(e);return jd(nr,t)?jd($n,t)?Gu(t)?fa:Xu:$n:nr}function Tn(e){var t=e.current.memoizedState;return t.isDehydrated}var Rh;function Oe(e){Rh=e}function _o(e){Rh(e)}var Ju;function xh(e){Ju=e}var Th;function es(e){Th=e}var ts;function Bd(e){ts=e}var $d;function wh(e){$d=e}var Uc=!1,No=[],ji=null,Kt=null,Nn=null,ci=new Map,Ao=new Map,da=[],Oi=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function bh(e){return Oi.indexOf(e)>-1}function Bi(e,t,i,a,o){return{blockedOn:e,domEventName:t,eventSystemFlags:i,nativeEvent:o,targetContainers:[a]}}function Dh(e,t){switch(e){case"focusin":case"focusout":ji=null;break;case"dragenter":case"dragleave":Kt=null;break;case"mouseover":case"mouseout":Nn=null;break;case"pointerover":case"pointerout":{var i=t.pointerId;ci.delete(i);break}case"gotpointercapture":case"lostpointercapture":{var a=t.pointerId;Ao.delete(a);break}}}function zo(e,t,i,a,o,s){if(e===null||e.nativeEvent!==s){var d=Bi(t,i,a,o,s);if(t!==null){var y=Qo(t);y!==null&&Ju(y)}return d}e.eventSystemFlags|=a;var S=e.targetContainers;return o!==null&&S.indexOf(o)===-1&&S.push(o),e}function kh(e,t,i,a,o){switch(t){case"focusin":{var s=o;return ji=zo(ji,e,t,i,a,s),!0}case"dragenter":{var d=o;return Kt=zo(Kt,e,t,i,a,d),!0}case"mouseover":{var y=o;return Nn=zo(Nn,e,t,i,a,y),!0}case"pointerover":{var S=o,x=S.pointerId;return ci.set(x,zo(ci.get(x)||null,e,t,i,a,S)),!0}case"gotpointercapture":{var T=o,z=T.pointerId;return Ao.set(z,zo(Ao.get(z)||null,e,t,i,a,T)),!0}}return!1}function Yd(e){var t=cs(e.target);if(t!==null){var i=Ir(t);if(i!==null){var a=i.tag;if(a===le){var o=Ed(i);if(o!==null){e.blockedOn=o,$d(e.priority,function(){Th(i)});return}}else if(a===O){var s=i.stateNode;if(Tn(s)){e.blockedOn=ic(i);return}}}}e.blockedOn=null}function Oh(e){for(var t=ts(),i={blockedOn:null,target:e,priority:t},a=0;a<da.length&&jd(t,da[a].priority);a++);da.splice(a,0,i),a===0&&Yd(i)}function Fc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var i=t[0],a=Al(e.domEventName,e.eventSystemFlags,i,e.nativeEvent);if(a===null){var o=e.nativeEvent,s=new o.constructor(o.type,o);Au(s),o.target.dispatchEvent(s),tg()}else{var d=Qo(a);return d!==null&&Ju(d),e.blockedOn=a,!1}t.shift()}return!0}function ns(e,t,i){Fc(e)&&i.delete(t)}function Qd(){Uc=!1,ji!==null&&Fc(ji)&&(ji=null),Kt!==null&&Fc(Kt)&&(Kt=null),Nn!==null&&Fc(Nn)&&(Nn=null),ci.forEach(ns),Ao.forEach(ns)}function ir(e,t){e.blockedOn===t&&(e.blockedOn=null,Uc||(Uc=!0,p.unstable_scheduleCallback(p.unstable_NormalPriority,Qd)))}function vt(e){if(No.length>0){ir(No[0],e);for(var t=1;t<No.length;t++){var i=No[t];i.blockedOn===e&&(i.blockedOn=null)}}ji!==null&&ir(ji,e),Kt!==null&&ir(Kt,e),Nn!==null&&ir(Nn,e);var a=function(y){return ir(y,e)};ci.forEach(a),Ao.forEach(a);for(var o=0;o<da.length;o++){var s=da[o];s.blockedOn===e&&(s.blockedOn=null)}for(;da.length>0;){var d=da[0];if(d.blockedOn!==null)break;Yd(d),d.blockedOn===null&&da.shift()}}var Zt=v.ReactCurrentBatchConfig,ln=!0;function An(e){ln=!!e}function Yr(){return ln}function Uo(e,t,i){var a=sr(t),o;switch(a){case nr:o=wn;break;case $n:o=rs;break;case fa:default:o=pa;break}return o.bind(null,t,i,e)}function wn(e,t,i,a){var o=si(),s=Zt.transition;Zt.transition=null;try{xn(nr),pa(e,t,i,a)}finally{xn(o),Zt.transition=s}}function rs(e,t,i,a){var o=si(),s=Zt.transition;Zt.transition=null;try{xn($n),pa(e,t,i,a)}finally{xn(o),Zt.transition=s}}function pa(e,t,i,a){ln&&Hc(e,t,i,a)}function Hc(e,t,i,a){var o=Al(e,t,i,a);if(o===null){Lg(e,t,a,Fo,i),Dh(e,a);return}if(kh(o,e,t,i,a)){a.stopPropagation();return}if(Dh(e,a),t&ml&&bh(e)){for(;o!==null;){var s=Qo(o);s!==null&&_o(s);var d=Al(e,t,i,a);if(d===null&&Lg(e,t,a,Fo,i),d===o)break;o=d}o!==null&&a.stopPropagation();return}Lg(e,t,a,null,i)}var Fo=null;function Al(e,t,i,a){Fo=null;var o=Js(a),s=cs(o);if(s!==null){var d=Ir(s);if(d===null)s=null;else{var y=d.tag;if(y===le){var S=Ed(d);if(S!==null)return S;s=null}else if(y===O){var x=d.stateNode;if(Tn(x))return ic(d);s=null}else d!==s&&(s=null)}}return Fo=s,null}function sr(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return nr;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return $n;case"message":{var t=xd();switch(t){case uc:return nr;case Br:return $n;case Vi:case sc:return fa;case Pa:return Xu;default:return fa}}default:return fa}}function Wd(e,t,i){return e.addEventListener(t,i,!1),i}function Ho(e,t,i){return e.addEventListener(t,i,!0),i}function va(e,t,i,a){return e.addEventListener(t,i,{capture:!0,passive:a}),i}function Pc(e,t,i,a){return e.addEventListener(t,i,{passive:a}),i}var zl=null,$i=null,Ga=null;function Ka(e){return zl=e,$i=Ic(),!0}function Vc(){zl=null,$i=null,Ga=null}function Po(){if(Ga)return Ga;var e,t=$i,i=t.length,a,o=Ic(),s=o.length;for(e=0;e<i&&t[e]===o[e];e++);var d=i-e;for(a=1;a<=d&&t[i-a]===o[s-a];a++);var y=a>1?1-a:void 0;return Ga=o.slice(e,y),Ga}function Ic(){return"value"in zl?zl.value:zl.textContent}function Ul(e){var t,i=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&i===13&&(t=13)):t=i,t===10&&(t=13),t>=32||t===13?t:0}function Fl(){return!0}function ar(){return!1}function mn(e){function t(i,a,o,s,d){this._reactName=i,this._targetInst=o,this.type=a,this.nativeEvent=s,this.target=d,this.currentTarget=null;for(var y in e)if(e.hasOwnProperty(y)){var S=e[y];S?this[y]=S(s):this[y]=s[y]}var x=s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1;return x?this.isDefaultPrevented=Fl:this.isDefaultPrevented=ar,this.isPropagationStopped=ar,this}return pt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Fl)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Fl)},persist:function(){},isPersistent:Fl}),t}var lr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},or=mn(lr),Vo=pt({},lr,{view:0,detail:0}),Gd=mn(Vo),is,Kd,fi;function Mh(e){e!==fi&&(fi&&e.type==="mousemove"?(is=e.screenX-fi.screenX,Kd=e.screenY-fi.screenY):(is=0,Kd=0),fi=e)}var Io=pt({},Vo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$c,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(Mh(e),is)},movementY:function(e){return"movementY"in e?e.movementY:Kd}}),Xa=mn(Io),Xd=pt({},Io,{dataTransfer:0}),Hl=mn(Xd),Lh=pt({},Vo,{relatedTarget:0}),jc=mn(Lh),qd=pt({},lr,{animationName:0,elapsedTime:0,pseudoElement:0}),Bc=mn(qd),dg=pt({},lr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),pg=mn(dg),_h=pt({},lr,{data:0}),Zd=mn(_h),Pl=Zd,vg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},jo={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function Nh(e){if(e.key){var t=vg[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var i=Ul(e);return i===13?"Enter":String.fromCharCode(i)}return e.type==="keydown"||e.type==="keyup"?jo[e.keyCode]||"Unidentified":""}var on={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hg(e){var t=this,i=t.nativeEvent;if(i.getModifierState)return i.getModifierState(e);var a=on[e];return a?!!i[a]:!1}function $c(e){return hg}var mg=pt({},Vo,{key:Nh,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$c,charCode:function(e){return e.type==="keypress"?Ul(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ul(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),yg=mn(mg),Ah=pt({},Io,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jd=mn(Ah),gg=pt({},Vo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$c}),di=mn(gg),ep=pt({},lr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Sg=mn(ep),qa=pt({},Io,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Yc=mn(qa),Vl=[9,13,27,32],as=229,ls=Vt&&"CompositionEvent"in window,Il=null;Vt&&"documentMode"in document&&(Il=document.documentMode);var Eg=Vt&&"TextEvent"in window&&!Il,Qc=Vt&&(!ls||Il&&Il>8&&Il<=11),zh=32,tp=String.fromCharCode(zh);function Uh(){ut("onBeforeInput",["compositionend","keypress","textInput","paste"]),ut("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),ut("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),ut("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var os=!1;function Wc(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Fh(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function np(e,t){return e==="keydown"&&t.keyCode===as}function Hh(e,t){switch(e){case"keyup":return Vl.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==as;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rp(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Gc(e){return e.locale==="ko"}var ha=!1;function ip(e,t,i,a,o){var s,d;if(ls?s=Fh(t):ha?Hh(t,a)&&(s="onCompositionEnd"):np(t,a)&&(s="onCompositionStart"),!s)return null;Qc&&!Gc(a)&&(!ha&&s==="onCompositionStart"?ha=Ka(o):s==="onCompositionEnd"&&ha&&(d=Po()));var y=Bh(i,s);if(y.length>0){var S=new Zd(s,t,null,a,o);if(e.push({event:S,listeners:y}),d)S.data=d;else{var x=rp(a);x!==null&&(S.data=x)}}}function Kc(e,t){switch(e){case"compositionend":return rp(t);case"keypress":var i=t.which;return i!==zh?null:(os=!0,tp);case"textInput":var a=t.data;return a===tp&&os?null:a;default:return null}}function Ph(e,t){if(ha){if(e==="compositionend"||!ls&&Hh(e,t)){var i=Po();return Vc(),ha=!1,i}return null}switch(e){case"paste":return null;case"keypress":if(!Wc(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Qc&&!Gc(t)?null:t.data;default:return null}}function Cg(e,t,i,a,o){var s;if(Eg?s=Kc(t,a):s=Ph(t,a),!s)return null;var d=Bh(i,"onBeforeInput");if(d.length>0){var y=new Pl("onBeforeInput","beforeinput",null,a,o);e.push({event:y,listeners:d}),y.data=s}}function Xc(e,t,i,a,o,s,d){ip(e,t,i,a,o),Cg(e,t,i,a,o)}var Rg={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Bo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Rg[e.type]:t==="textarea"}/**
|
|
52
|
+
* Checks if an event is supported in the current execution environment.
|
|
53
|
+
*
|
|
54
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
55
|
+
* `reset`, `load`, `error`, and `select`.
|
|
56
|
+
*
|
|
57
|
+
* Borrows from Modernizr.
|
|
58
|
+
*
|
|
59
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
60
|
+
* @return {boolean} True if the event is supported.
|
|
61
|
+
* @internal
|
|
62
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
63
|
+
*/function xg(e){if(!Vt)return!1;var t="on"+e,i=t in document;if(!i){var a=document.createElement("div");a.setAttribute(t,"return;"),i=typeof a[t]=="function"}return i}function qc(){ut("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n(e,t,i,a){ec(a);var o=Bh(t,"onChange");if(o.length>0){var s=new or("onChange","change",null,i,a);e.push({event:s,listeners:o})}}var r=null,l=null;function u(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function c(e){var t=[];n(t,l,e,Js(e)),dd(h,t)}function h(e){tC(e,0)}function E(e){var t=rf(e);if(wv(t))return e}function k(e,t){if(e==="change")return t}var _=!1;Vt&&(_=xg("input")&&(!document.documentMode||document.documentMode>9));function K(e,t){r=e,l=t,r.attachEvent("onpropertychange",ve)}function oe(){r&&(r.detachEvent("onpropertychange",ve),r=null,l=null)}function ve(e){e.propertyName==="value"&&E(l)&&c(e)}function ae(e,t,i){e==="focusin"?(oe(),K(t,i)):e==="focusout"&&oe()}function we(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return E(l)}function _e(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Fe(e,t){if(e==="click")return E(t)}function cn(e,t){if(e==="input"||e==="change")return E(t)}function V(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||La(e,"number",e.value)}function A(e,t,i,a,o,s,d){var y=i?rf(i):window,S,x;if(u(y)?S=k:Bo(y)?_?S=cn:(S=we,x=ae):_e(y)&&(S=Fe),S){var T=S(t,i);if(T){n(e,T,a,o);return}}x&&x(t,y,i),t==="focusout"&&V(y)}function B(){mt("onMouseEnter",["mouseout","mouseover"]),mt("onMouseLeave",["mouseout","mouseover"]),mt("onPointerEnter",["pointerout","pointerover"]),mt("onPointerLeave",["pointerout","pointerover"])}function ye(e,t,i,a,o,s,d){var y=t==="mouseover"||t==="pointerover",S=t==="mouseout"||t==="pointerout";if(y&&!nh(a)){var x=a.relatedTarget||a.fromElement;if(x&&(cs(x)||gp(x)))return}if(!(!S&&!y)){var T;if(o.window===o)T=o;else{var z=o.ownerDocument;z?T=z.defaultView||z.parentWindow:T=window}var N,Y;if(S){var W=a.relatedTarget||a.toElement;if(N=i,Y=W?cs(W):null,Y!==null){var q=Ir(Y);(Y!==q||Y.tag!==b&&Y.tag!==L)&&(Y=null)}}else N=null,Y=i;if(N!==Y){var De=Xa,We="onMouseLeave",Ie="onMouseEnter",St="mouse";(t==="pointerout"||t==="pointerover")&&(De=Jd,We="onPointerLeave",Ie="onPointerEnter",St="pointer");var ht=N==null?T:rf(N),I=Y==null?T:rf(Y),Z=new De(We,St+"leave",N,a,o);Z.target=ht,Z.relatedTarget=I;var j=null,he=cs(o);if(he===i){var ke=new De(Ie,St+"enter",Y,a,o);ke.target=I,ke.relatedTarget=ht,j=ke}JT(e,Z,j,N,Y)}}}function Pe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ne=typeof Object.is=="function"?Object.is:Pe;function Be(e,t){if(Ne(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var o=0;o<i.length;o++){var s=i[o];if(!It.call(t,s)||!Ne(e[s],t[s]))return!1}return!0}function et(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zn(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Ct(e,t){for(var i=et(e),a=0,o=0;i;){if(i.nodeType===na){if(o=a+i.textContent.length,a<=t&&o>=t)return{node:i,offset:t-a};a=o}i=et(zn(i))}}function Za(e){var t=e.ownerDocument,i=t&&t.defaultView||window,a=i.getSelection&&i.getSelection();if(!a||a.rangeCount===0)return null;var o=a.anchorNode,s=a.anchorOffset,d=a.focusNode,y=a.focusOffset;try{o.nodeType,d.nodeType}catch{return null}return Tg(e,o,s,d,y)}function Tg(e,t,i,a,o){var s=0,d=-1,y=-1,S=0,x=0,T=e,z=null;e:for(;;){for(var N=null;T===t&&(i===0||T.nodeType===na)&&(d=s+i),T===a&&(o===0||T.nodeType===na)&&(y=s+o),T.nodeType===na&&(s+=T.nodeValue.length),(N=T.firstChild)!==null;)z=T,T=N;for(;;){if(T===e)break e;if(z===t&&++S===i&&(d=s),z===a&&++x===o&&(y=s),(N=T.nextSibling)!==null)break;T=z,z=T.parentNode}T=N}return d===-1||y===-1?null:{start:d,end:y}}function AT(e,t){var i=e.ownerDocument||document,a=i&&i.defaultView||window;if(a.getSelection){var o=a.getSelection(),s=e.textContent.length,d=Math.min(t.start,s),y=t.end===void 0?d:Math.min(t.end,s);if(!o.extend&&d>y){var S=y;y=d,d=S}var x=Ct(e,d),T=Ct(e,y);if(x&&T){if(o.rangeCount===1&&o.anchorNode===x.node&&o.anchorOffset===x.offset&&o.focusNode===T.node&&o.focusOffset===T.offset)return;var z=i.createRange();z.setStart(x.node,x.offset),o.removeAllRanges(),d>y?(o.addRange(z),o.extend(T.node,T.offset)):(z.setEnd(T.node,T.offset),o.addRange(z))}}}function BE(e){return e&&e.nodeType===na}function $E(e,t){return!e||!t?!1:e===t?!0:BE(e)?!1:BE(t)?$E(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function zT(e){return e&&e.ownerDocument&&$E(e.ownerDocument.documentElement,e)}function UT(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function YE(){for(var e=window,t=Vs();t instanceof e.HTMLIFrameElement;){if(UT(t))e=t.contentWindow;else return t;t=Vs(e.document)}return t}function wg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function FT(){var e=YE();return{focusedElem:e,selectionRange:wg(e)?PT(e):null}}function HT(e){var t=YE(),i=e.focusedElem,a=e.selectionRange;if(t!==i&&zT(i)){a!==null&&wg(i)&&VT(i,a);for(var o=[],s=i;s=s.parentNode;)s.nodeType===xr&&o.push({element:s,left:s.scrollLeft,top:s.scrollTop});typeof i.focus=="function"&&i.focus();for(var d=0;d<o.length;d++){var y=o[d];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}}function PT(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Za(e),t||{start:0,end:0}}function VT(e,t){var i=t.start,a=t.end;a===void 0&&(a=i),"selectionStart"in e?(e.selectionStart=i,e.selectionEnd=Math.min(a,e.value.length)):AT(e,t)}var IT=Vt&&"documentMode"in document&&document.documentMode<=11;function jT(){ut("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Zc=null,bg=null,ap=null,Dg=!1;function BT(e){if("selectionStart"in e&&wg(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,i=t.getSelection();return{anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}}function $T(e){return e.window===e?e.document:e.nodeType===wi?e:e.ownerDocument}function QE(e,t,i){var a=$T(i);if(!(Dg||Zc==null||Zc!==Vs(a))){var o=BT(Zc);if(!ap||!Be(ap,o)){ap=o;var s=Bh(bg,"onSelect");if(s.length>0){var d=new or("onSelect","select",null,t,i);e.push({event:d,listeners:s}),d.target=Zc}}}}function YT(e,t,i,a,o,s,d){var y=i?rf(i):window;switch(t){case"focusin":(Bo(y)||y.contentEditable==="true")&&(Zc=y,bg=i,ap=null);break;case"focusout":Zc=null,bg=null,ap=null;break;case"mousedown":Dg=!0;break;case"contextmenu":case"mouseup":case"dragend":Dg=!1,QE(e,a,o);break;case"selectionchange":if(IT)break;case"keydown":case"keyup":QE(e,a,o)}}function Vh(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var Jc={animationend:Vh("Animation","AnimationEnd"),animationiteration:Vh("Animation","AnimationIteration"),animationstart:Vh("Animation","AnimationStart"),transitionend:Vh("Transition","TransitionEnd")},kg={},WE={};Vt&&(WE=document.createElement("div").style,"AnimationEvent"in window||(delete Jc.animationend.animation,delete Jc.animationiteration.animation,delete Jc.animationstart.animation),"TransitionEvent"in window||delete Jc.transitionend.transition);function Ih(e){if(kg[e])return kg[e];if(!Jc[e])return e;var t=Jc[e];for(var i in t)if(t.hasOwnProperty(i)&&i in WE)return kg[e]=t[i];return e}var GE=Ih("animationend"),KE=Ih("animationiteration"),XE=Ih("animationstart"),qE=Ih("transitionend"),ZE=new Map,JE=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function $o(e,t){ZE.set(e,t),ut(t,[e])}function QT(){for(var e=0;e<JE.length;e++){var t=JE[e],i=t.toLowerCase(),a=t[0].toUpperCase()+t.slice(1);$o(i,"on"+a)}$o(GE,"onAnimationEnd"),$o(KE,"onAnimationIteration"),$o(XE,"onAnimationStart"),$o("dblclick","onDoubleClick"),$o("focusin","onFocus"),$o("focusout","onBlur"),$o(qE,"onTransitionEnd")}function WT(e,t,i,a,o,s,d){var y=ZE.get(t);if(y!==void 0){var S=or,x=t;switch(t){case"keypress":if(Ul(a)===0)return;case"keydown":case"keyup":S=yg;break;case"focusin":x="focus",S=jc;break;case"focusout":x="blur",S=jc;break;case"beforeblur":case"afterblur":S=jc;break;case"click":if(a.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":S=Xa;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":S=Hl;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":S=di;break;case GE:case KE:case XE:S=Bc;break;case qE:S=Sg;break;case"scroll":S=Gd;break;case"wheel":S=Yc;break;case"copy":case"cut":case"paste":S=pg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":S=Jd;break}var T=(s&ml)!==0;{var z=!T&&t==="scroll",N=qT(i,y,a.type,T,z);if(N.length>0){var Y=new S(y,x,null,a,o);e.push({event:Y,listeners:N})}}}}QT(),B(),qc(),jT(),Uh();function GT(e,t,i,a,o,s,d){WT(e,t,i,a,o,s);var y=(s&eg)===0;y&&(ye(e,t,i,a,o),A(e,t,i,a,o),YT(e,t,i,a,o),Xc(e,t,i,a,o))}var lp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Og=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(lp));function eC(e,t,i){var a=e.type||"unknown-event";e.currentTarget=i,la(a,t,void 0,e),e.currentTarget=null}function KT(e,t,i){var a;if(i)for(var o=t.length-1;o>=0;o--){var s=t[o],d=s.instance,y=s.currentTarget,S=s.listener;if(d!==a&&e.isPropagationStopped())return;eC(e,S,y),a=d}else for(var x=0;x<t.length;x++){var T=t[x],z=T.instance,N=T.currentTarget,Y=T.listener;if(z!==a&&e.isPropagationStopped())return;eC(e,Y,N),a=z}}function tC(e,t){for(var i=(t&ml)!==0,a=0;a<e.length;a++){var o=e[a],s=o.event,d=o.listeners;KT(s,d,i)}md()}function XT(e,t,i,a,o){var s=Js(i),d=[];GT(d,e,a,i,s,t),tC(d,t)}function Jt(e,t){Og.has(e)||m('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var i=!1,a=bb(t),o=ew(e,i);a.has(o)||(nC(t,e,_u,i),a.add(o))}function Mg(e,t,i){Og.has(e)&&!t&&m('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=ml),nC(i,e,a,t)}var jh="_reactListening"+Math.random().toString(36).slice(2);function op(e){if(!e[jh]){e[jh]=!0,Le.forEach(function(i){i!=="selectionchange"&&(Og.has(i)||Mg(i,!1,e),Mg(i,!0,e))});var t=e.nodeType===wi?e:e.ownerDocument;t!==null&&(t[jh]||(t[jh]=!0,Mg("selectionchange",!1,t)))}}function nC(e,t,i,a,o){var s=Uo(e,t,i),d=void 0;Fu&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(d=!0),e=e,a?d!==void 0?va(e,t,s,d):Ho(e,t,s):d!==void 0?Pc(e,t,s,d):Wd(e,t,s)}function rC(e,t){return e===t||e.nodeType===vn&&e.parentNode===t}function Lg(e,t,i,a,o){var s=a;if(!(t&ia)&&!(t&_u)){var d=o;if(a!==null){var y=a;e:for(;;){if(y===null)return;var S=y.tag;if(S===O||S===U){var x=y.stateNode.containerInfo;if(rC(x,d))break;if(S===U)for(var T=y.return;T!==null;){var z=T.tag;if(z===O||z===U){var N=T.stateNode.containerInfo;if(rC(N,d))return}T=T.return}for(;x!==null;){var Y=cs(x);if(Y===null)return;var W=Y.tag;if(W===b||W===L){y=s=Y;continue e}x=x.parentNode}}y=y.return}}}dd(function(){return XT(e,t,i,s)})}function up(e,t,i){return{instance:e,listener:t,currentTarget:i}}function qT(e,t,i,a,o,s){for(var d=t!==null?t+"Capture":null,y=a?d:t,S=[],x=e,T=null;x!==null;){var z=x,N=z.stateNode,Y=z.tag;if(Y===b&&N!==null&&(T=N,y!==null)){var W=gl(x,y);W!=null&&S.push(up(x,W,T))}if(o)break;x=x.return}return S}function Bh(e,t){for(var i=t+"Capture",a=[],o=e;o!==null;){var s=o,d=s.stateNode,y=s.tag;if(y===b&&d!==null){var S=d,x=gl(o,i);x!=null&&a.unshift(up(o,x,S));var T=gl(o,t);T!=null&&a.push(up(o,T,S))}o=o.return}return a}function ef(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==b);return e||null}function ZT(e,t){for(var i=e,a=t,o=0,s=i;s;s=ef(s))o++;for(var d=0,y=a;y;y=ef(y))d++;for(;o-d>0;)i=ef(i),o--;for(;d-o>0;)a=ef(a),d--;for(var S=o;S--;){if(i===a||a!==null&&i===a.alternate)return i;i=ef(i),a=ef(a)}return null}function iC(e,t,i,a,o){for(var s=t._reactName,d=[],y=i;y!==null&&y!==a;){var S=y,x=S.alternate,T=S.stateNode,z=S.tag;if(x!==null&&x===a)break;if(z===b&&T!==null){var N=T;if(o){var Y=gl(y,s);Y!=null&&d.unshift(up(y,Y,N))}else if(!o){var W=gl(y,s);W!=null&&d.push(up(y,W,N))}}y=y.return}d.length!==0&&e.push({event:t,listeners:d})}function JT(e,t,i,a,o){var s=a&&o?ZT(a,o):null;a!==null&&iC(e,t,a,s,!1),o!==null&&i!==null&&iC(e,i,o,s,!0)}function ew(e,t){return e+"__"+(t?"capture":"bubble")}var pi=!1,sp="dangerouslySetInnerHTML",$h="suppressContentEditableWarning",Yo="suppressHydrationWarning",aC="autoFocus",us="children",ss="style",Yh="__html",_g,Qh,cp,lC,Wh,oC,uC;_g={dialog:!0,webview:!0},Qh=function(e,t){Zs(e,t),od(e,t),th(e,t,{registrationNameDependencies:Qe,possibleRegistrationNames:Rt})},oC=Vt&&!document.documentMode,cp=function(e,t,i){if(!pi){var a=Gh(i),o=Gh(t);o!==a&&(pi=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(a)))}},lC=function(e){if(!pi){pi=!0;var t=[];e.forEach(function(i){t.push(i)}),m("Extra attributes from the server: %s",t)}},Wh=function(e,t){t===!1?m("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):m("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},uC=function(e,t){var i=e.namespaceURI===ta?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return i.innerHTML=t,i.innerHTML};var tw=/\r\n?/g,nw=/\u0000|\uFFFD/g;function Gh(e){Dn(e);var t=typeof e=="string"?e:""+e;return t.replace(tw,`
|
|
64
|
+
`).replace(nw,"")}function Kh(e,t,i,a){var o=Gh(t),s=Gh(e);if(s!==o&&(a&&(pi||(pi=!0,m('Text content did not match. Server: "%s" Client: "%s"',s,o))),i&&se))throw new Error("Text content does not match server-rendered HTML.")}function sC(e){return e.nodeType===wi?e:e.ownerDocument}function rw(){}function Xh(e){e.onclick=rw}function iw(e,t,i,a,o){for(var s in a)if(a.hasOwnProperty(s)){var d=a[s];if(s===ss)d&&Object.freeze(d),Yv(t,d);else if(s===sp){var y=d?d[Yh]:void 0;y!=null&&Av(t,y)}else if(s===us)if(typeof d=="string"){var S=e!=="textarea"||d!=="";S&&Gs(t,d)}else typeof d=="number"&&Gs(t,""+d);else s===$h||s===Yo||s===aC||(Qe.hasOwnProperty(s)?d!=null&&(typeof d!="function"&&Wh(s,d),s==="onScroll"&&Jt("scroll",t)):d!=null&&cl(t,s,d,o))}}function aw(e,t,i,a){for(var o=0;o<t.length;o+=2){var s=t[o],d=t[o+1];s===ss?Yv(e,d):s===sp?Av(e,d):s===us?Gs(e,d):cl(e,s,d,a)}}function lw(e,t,i,a){var o,s=sC(i),d,y=a;if(y===ta&&(y=Qs(e)),y===ta){if(o=ra(e,t),!o&&e!==e.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var S=s.createElement("div");S.innerHTML="<script><\/script>";var x=S.firstChild;d=S.removeChild(x)}else if(typeof t.is=="string")d=s.createElement(e,{is:t.is});else if(d=s.createElement(e),e==="select"){var T=d;t.multiple?T.multiple=!0:t.size&&(T.size=t.size)}}else d=s.createElementNS(y,e);return y===ta&&!o&&Object.prototype.toString.call(d)==="[object HTMLUnknownElement]"&&!It.call(_g,e)&&(_g[e]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),d}function ow(e,t){return sC(t).createTextNode(e)}function uw(e,t,i,a){var o=ra(t,i);Qh(t,i);var s;switch(t){case"dialog":Jt("cancel",e),Jt("close",e),s=i;break;case"iframe":case"object":case"embed":Jt("load",e),s=i;break;case"video":case"audio":for(var d=0;d<lp.length;d++)Jt(lp[d],e);s=i;break;case"source":Jt("error",e),s=i;break;case"img":case"image":case"link":Jt("error",e),Jt("load",e),s=i;break;case"details":Jt("toggle",e),s=i;break;case"input":bu(e,i),s=wu(e,i),Jt("invalid",e);break;case"option":$s(e,i),s=i;break;case"select":Mv(e,i),s=Xf(e,i),Jt("invalid",e);break;case"textarea":Lv(e,i),s=Zf(e,i),Jt("invalid",e);break;default:s=i}switch(Xs(t,s),iw(t,e,a,s,o),t){case"input":pl(e),Du(e,i,!1);break;case"textarea":pl(e),Nv(e);break;case"option":Kf(e,i);break;case"select":By(e,i);break;default:typeof s.onClick=="function"&&Xh(e);break}}function sw(e,t,i,a,o){Qh(t,a);var s=null,d,y;switch(t){case"input":d=wu(e,i),y=wu(e,a),s=[];break;case"select":d=Xf(e,i),y=Xf(e,a),s=[];break;case"textarea":d=Zf(e,i),y=Zf(e,a),s=[];break;default:d=i,y=a,typeof d.onClick!="function"&&typeof y.onClick=="function"&&Xh(e);break}Xs(t,y);var S,x,T=null;for(S in d)if(!(y.hasOwnProperty(S)||!d.hasOwnProperty(S)||d[S]==null))if(S===ss){var z=d[S];for(x in z)z.hasOwnProperty(x)&&(T||(T={}),T[x]="")}else S===sp||S===us||S===$h||S===Yo||S===aC||(Qe.hasOwnProperty(S)?s||(s=[]):(s=s||[]).push(S,null));for(S in y){var N=y[S],Y=d!=null?d[S]:void 0;if(!(!y.hasOwnProperty(S)||N===Y||N==null&&Y==null))if(S===ss)if(N&&Object.freeze(N),Y){for(x in Y)Y.hasOwnProperty(x)&&(!N||!N.hasOwnProperty(x))&&(T||(T={}),T[x]="");for(x in N)N.hasOwnProperty(x)&&Y[x]!==N[x]&&(T||(T={}),T[x]=N[x])}else T||(s||(s=[]),s.push(S,T)),T=N;else if(S===sp){var W=N?N[Yh]:void 0,q=Y?Y[Yh]:void 0;W!=null&&q!==W&&(s=s||[]).push(S,W)}else S===us?(typeof N=="string"||typeof N=="number")&&(s=s||[]).push(S,""+N):S===$h||S===Yo||(Qe.hasOwnProperty(S)?(N!=null&&(typeof N!="function"&&Wh(S,N),S==="onScroll"&&Jt("scroll",e)),!s&&Y!==N&&(s=[])):(s=s||[]).push(S,N))}return T&&(Mu(T,y[ss]),(s=s||[]).push(ss,T)),s}function cw(e,t,i,a,o){i==="input"&&o.type==="radio"&&o.name!=null&&Gf(e,o);var s=ra(i,a),d=ra(i,o);switch(aw(e,t,s,d),i){case"input":po(e,o);break;case"textarea":_v(e,o);break;case"select":$y(e,o);break}}function fw(e){{var t=e.toLowerCase();return qs.hasOwnProperty(t)&&qs[t]||null}}function dw(e,t,i,a,o,s,d){var y,S;switch(y=ra(t,i),Qh(t,i),t){case"dialog":Jt("cancel",e),Jt("close",e);break;case"iframe":case"object":case"embed":Jt("load",e);break;case"video":case"audio":for(var x=0;x<lp.length;x++)Jt(lp[x],e);break;case"source":Jt("error",e);break;case"img":case"image":case"link":Jt("error",e),Jt("load",e);break;case"details":Jt("toggle",e);break;case"input":bu(e,i),Jt("invalid",e);break;case"option":$s(e,i);break;case"select":Mv(e,i),Jt("invalid",e);break;case"textarea":Lv(e,i),Jt("invalid",e);break}Xs(t,i);{S=new Set;for(var T=e.attributes,z=0;z<T.length;z++){var N=T[z].name.toLowerCase();switch(N){case"value":break;case"checked":break;case"selected":break;default:S.add(T[z].name)}}}var Y=null;for(var W in i)if(i.hasOwnProperty(W)){var q=i[W];if(W===us)typeof q=="string"?e.textContent!==q&&(i[Yo]!==!0&&Kh(e.textContent,q,s,d),Y=[us,q]):typeof q=="number"&&e.textContent!==""+q&&(i[Yo]!==!0&&Kh(e.textContent,q,s,d),Y=[us,""+q]);else if(Qe.hasOwnProperty(W))q!=null&&(typeof q!="function"&&Wh(W,q),W==="onScroll"&&Jt("scroll",e));else if(d&&typeof y=="boolean"){var De=void 0,We=y&&wt?null:Ui(W);if(i[Yo]!==!0){if(!(W===$h||W===Yo||W==="value"||W==="checked"||W==="selected")){if(W===sp){var Ie=e.innerHTML,St=q?q[Yh]:void 0;if(St!=null){var ht=uC(e,St);ht!==Ie&&cp(W,Ie,ht)}}else if(W===ss){if(S.delete(W),oC){var I=Zy(q);De=e.getAttribute("style"),I!==De&&cp(W,De,I)}}else if(y&&!wt)S.delete(W.toLowerCase()),De=zs(e,W,q),q!==De&&cp(W,De,q);else if(!Sn(W,We,y)&&!tn(W,q,We,y)){var Z=!1;if(We!==null)S.delete(We.attributeName),De=hu(e,W,q,We);else{var j=a;if(j===ta&&(j=Qs(t)),j===ta)S.delete(W.toLowerCase());else{var he=fw(W);he!==null&&he!==W&&(Z=!0,S.delete(he)),S.delete(W)}De=zs(e,W,q)}var ke=wt;!ke&&q!==De&&!Z&&cp(W,De,q)}}}}}switch(d&&S.size>0&&i[Yo]!==!0&&lC(S),t){case"input":pl(e),Du(e,i,!0);break;case"textarea":pl(e),Nv(e);break;case"select":case"option":break;default:typeof i.onClick=="function"&&Xh(e);break}return Y}function pw(e,t,i){var a=e.nodeValue!==t;return a}function Ng(e,t){{if(pi)return;pi=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Ag(e,t){{if(pi)return;pi=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function zg(e,t,i){{if(pi)return;pi=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Ug(e,t){{if(t===""||pi)return;pi=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function vw(e,t,i){switch(t){case"input":bv(e,i);return;case"textarea":Jf(e,i);return;case"select":Yy(e,i);return}}var fp=function(){},dp=function(){};{var hw=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],cC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],mw=cC.concat(["button"]),yw=["dd","dt","li","option","optgroup","p","rp","rt"],fC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};dp=function(e,t){var i=pt({},e||fC),a={tag:t};return cC.indexOf(t)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),mw.indexOf(t)!==-1&&(i.pTagInButtonScope=null),hw.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(i.listItemTagAutoclosing=null,i.dlItemTagAutoclosing=null),i.current=a,t==="form"&&(i.formTag=a),t==="a"&&(i.aTagInScope=a),t==="button"&&(i.buttonTagInScope=a),t==="nobr"&&(i.nobrTagInScope=a),t==="p"&&(i.pTagInButtonScope=a),t==="li"&&(i.listItemTagAutoclosing=a),(t==="dd"||t==="dt")&&(i.dlItemTagAutoclosing=a),i};var gw=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return yw.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},Sw=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},dC={};fp=function(e,t,i){i=i||fC;var a=i.current,o=a&&a.tag;t!=null&&(e!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var s=gw(e,o)?null:a,d=s?null:Sw(e,i),y=s||d;if(y){var S=y.tag,x=!!s+"|"+e+"|"+S;if(!dC[x]){dC[x]=!0;var T=e,z="";if(e==="#text"?/\S/.test(t)?T="Text nodes":(T="Whitespace text nodes",z=" Make sure you don't have any extra whitespace between tags on each line of your source code."):T="<"+e+">",s){var N="";S==="table"&&e==="tr"&&(N+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",T,S,z,N)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",T,S)}}}}var qh="suppressHydrationWarning",Zh="$",Jh="/$",pp="$?",vp="$!",Ew="style",Fg=null,Hg=null;function Cw(e){var t,i,a=e.nodeType;switch(a){case wi:case vl:{t=a===wi?"#document":"#fragment";var o=e.documentElement;i=o?o.namespaceURI:td(null,"");break}default:{var s=a===vn?e.parentNode:e,d=s.namespaceURI||null;t=s.tagName,i=td(d,t);break}}{var y=t.toLowerCase(),S=dp(null,y);return{namespace:i,ancestorInfo:S}}}function Rw(e,t,i){{var a=e,o=td(a.namespace,t),s=dp(a.ancestorInfo,t);return{namespace:o,ancestorInfo:s}}}function U_(e){return e}function xw(e){Fg=Yr(),Hg=FT();var t=null;return An(!1),t}function Tw(e){HT(Hg),An(Fg),Fg=null,Hg=null}function ww(e,t,i,a,o){var s;{var d=a;if(fp(e,null,d.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var y=""+t.children,S=dp(d.ancestorInfo,e);fp(null,y,S)}s=d.namespace}var x=lw(e,t,i,s);return yp(o,x),Qg(x,t),x}function bw(e,t){e.appendChild(t)}function Dw(e,t,i,a,o){switch(uw(e,t,i,a),t){case"button":case"input":case"select":case"textarea":return!!i.autoFocus;case"img":return!0;default:return!1}}function kw(e,t,i,a,o,s){{var d=s;if(typeof a.children!=typeof i.children&&(typeof a.children=="string"||typeof a.children=="number")){var y=""+a.children,S=dp(d.ancestorInfo,t);fp(null,y,S)}}return sw(e,t,i,a)}function Pg(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Ow(e,t,i,a){{var o=i;fp(null,e,o.ancestorInfo)}var s=ow(e,t);return yp(a,s),s}function Mw(){var e=window.event;return e===void 0?fa:sr(e.type)}var Vg=typeof setTimeout=="function"?setTimeout:void 0,Lw=typeof clearTimeout=="function"?clearTimeout:void 0,Ig=-1,pC=typeof Promise=="function"?Promise:void 0,_w=typeof queueMicrotask=="function"?queueMicrotask:typeof pC<"u"?function(e){return pC.resolve(null).then(e).catch(Nw)}:Vg;function Nw(e){setTimeout(function(){throw e})}function Aw(e,t,i,a){switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&e.focus();return;case"img":{i.src&&(e.src=i.src);return}}}function zw(e,t,i,a,o,s){cw(e,t,i,a,o),Qg(e,o)}function vC(e){Gs(e,"")}function Uw(e,t,i){e.nodeValue=i}function Fw(e,t){e.appendChild(t)}function Hw(e,t){var i;e.nodeType===vn?(i=e.parentNode,i.insertBefore(t,e)):(i=e,i.appendChild(t));var a=e._reactRootContainer;a==null&&i.onclick===null&&Xh(i)}function Pw(e,t,i){e.insertBefore(t,i)}function Vw(e,t,i){e.nodeType===vn?e.parentNode.insertBefore(t,i):e.insertBefore(t,i)}function Iw(e,t){e.removeChild(t)}function jw(e,t){e.nodeType===vn?e.parentNode.removeChild(t):e.removeChild(t)}function jg(e,t){var i=t,a=0;do{var o=i.nextSibling;if(e.removeChild(i),o&&o.nodeType===vn){var s=o.data;if(s===Jh)if(a===0){e.removeChild(o),vt(t);return}else a--;else(s===Zh||s===pp||s===vp)&&a++}i=o}while(i);vt(t)}function Bw(e,t){e.nodeType===vn?jg(e.parentNode,t):e.nodeType===xr&&jg(e,t),vt(e)}function $w(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function Yw(e){e.nodeValue=""}function Qw(e,t){e=e;var i=t[Ew],a=i!=null&&i.hasOwnProperty("display")?i.display:null;e.style.display=Ks("display",a)}function Ww(e,t){e.nodeValue=t}function Gw(e){e.nodeType===xr?e.textContent="":e.nodeType===wi&&e.documentElement&&e.removeChild(e.documentElement)}function Kw(e,t,i){return e.nodeType!==xr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function Xw(e,t){return t===""||e.nodeType!==na?null:e}function qw(e){return e.nodeType!==vn?null:e}function hC(e){return e.data===pp}function Bg(e){return e.data===vp}function Zw(e){var t=e.nextSibling&&e.nextSibling.dataset,i,a,o;return t&&(i=t.dgst,a=t.msg,o=t.stck),{message:a,digest:i,stack:o}}function Jw(e,t){e._reactRetry=t}function em(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===xr||t===na)break;if(t===vn){var i=e.data;if(i===Zh||i===vp||i===pp)break;if(i===Jh)return null}}return e}function hp(e){return em(e.nextSibling)}function eb(e){return em(e.firstChild)}function tb(e){return em(e.firstChild)}function nb(e){return em(e.nextSibling)}function rb(e,t,i,a,o,s,d){yp(s,e),Qg(e,i);var y;{var S=o;y=S.namespace}var x=(s.mode&ct)!==Ge;return dw(e,t,i,y,a,x,d)}function ib(e,t,i,a){return yp(i,e),i.mode&ct,pw(e,t)}function ab(e,t){yp(t,e)}function lb(e){for(var t=e.nextSibling,i=0;t;){if(t.nodeType===vn){var a=t.data;if(a===Jh){if(i===0)return hp(t);i--}else(a===Zh||a===vp||a===pp)&&i++}t=t.nextSibling}return null}function mC(e){for(var t=e.previousSibling,i=0;t;){if(t.nodeType===vn){var a=t.data;if(a===Zh||a===vp||a===pp){if(i===0)return t;i--}else a===Jh&&i++}t=t.previousSibling}return null}function ob(e){vt(e)}function ub(e){vt(e)}function sb(e){return e!=="head"&&e!=="body"}function cb(e,t,i,a){var o=!0;Kh(t.nodeValue,i,a,o)}function fb(e,t,i,a,o,s){if(t[qh]!==!0){var d=!0;Kh(a.nodeValue,o,s,d)}}function db(e,t){t.nodeType===xr?Ng(e,t):t.nodeType===vn||Ag(e,t)}function pb(e,t){{var i=e.parentNode;i!==null&&(t.nodeType===xr?Ng(i,t):t.nodeType===vn||Ag(i,t))}}function vb(e,t,i,a,o){(o||t[qh]!==!0)&&(a.nodeType===xr?Ng(i,a):a.nodeType===vn||Ag(i,a))}function hb(e,t,i){zg(e,t)}function mb(e,t){Ug(e,t)}function yb(e,t,i){{var a=e.parentNode;a!==null&&zg(a,t)}}function gb(e,t){{var i=e.parentNode;i!==null&&Ug(i,t)}}function Sb(e,t,i,a,o,s){(s||t[qh]!==!0)&&zg(i,a)}function Eb(e,t,i,a,o){(o||t[qh]!==!0)&&Ug(i,a)}function Cb(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function Rb(e){op(e)}var tf=Math.random().toString(36).slice(2),nf="__reactFiber$"+tf,$g="__reactProps$"+tf,mp="__reactContainer$"+tf,Yg="__reactEvents$"+tf,xb="__reactListeners$"+tf,Tb="__reactHandles$"+tf;function wb(e){delete e[nf],delete e[$g],delete e[Yg],delete e[xb],delete e[Tb]}function yp(e,t){t[nf]=e}function tm(e,t){t[mp]=e}function yC(e){e[mp]=null}function gp(e){return!!e[mp]}function cs(e){var t=e[nf];if(t)return t;for(var i=e.parentNode;i;){if(t=i[mp]||i[nf],t){var a=t.alternate;if(t.child!==null||a!==null&&a.child!==null)for(var o=mC(e);o!==null;){var s=o[nf];if(s)return s;o=mC(o)}return t}e=i,i=e.parentNode}return null}function Qo(e){var t=e[nf]||e[mp];return t&&(t.tag===b||t.tag===L||t.tag===le||t.tag===O)?t:null}function rf(e){if(e.tag===b||e.tag===L)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function nm(e){return e[$g]||null}function Qg(e,t){e[$g]=t}function bb(e){var t=e[Yg];return t===void 0&&(t=e[Yg]=new Set),t}var gC={},SC=v.ReactDebugCurrentFrame;function rm(e){if(e){var t=e._owner,i=Su(e.type,e._source,t?t.type:null);SC.setExtraStackFrame(i)}else SC.setExtraStackFrame(null)}function ma(e,t,i,a,o){{var s=Function.call.bind(It);for(var d in e)if(s(e,d)){var y=void 0;try{if(typeof e[d]!="function"){var S=Error((a||"React class")+": "+i+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw S.name="Invariant Violation",S}y=e[d](t,d,a,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){y=x}y&&!(y instanceof Error)&&(rm(o),m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",i,d,typeof y),rm(null)),y instanceof Error&&!(y.message in gC)&&(gC[y.message]=!0,rm(o),m("Failed %s type: %s",i,y.message),rm(null))}}}var Wg=[],im;im=[];var jl=-1;function Wo(e){return{current:e}}function _r(e,t){if(jl<0){m("Unexpected pop.");return}t!==im[jl]&&m("Unexpected Fiber popped."),e.current=Wg[jl],Wg[jl]=null,im[jl]=null,jl--}function Nr(e,t,i){jl++,Wg[jl]=e.current,im[jl]=i,e.current=t}var Gg;Gg={};var Mi={};Object.freeze(Mi);var Bl=Wo(Mi),Ja=Wo(!1),Kg=Mi;function af(e,t,i){return i&&el(t)?Kg:Bl.current}function EC(e,t,i){{var a=e.stateNode;a.__reactInternalMemoizedUnmaskedChildContext=t,a.__reactInternalMemoizedMaskedChildContext=i}}function lf(e,t){{var i=e.type,a=i.contextTypes;if(!a)return Mi;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var s={};for(var d in a)s[d]=t[d];{var y=it(e)||"Unknown";ma(a,s,"context",y)}return o&&EC(e,t,s),s}}function am(){return Ja.current}function el(e){{var t=e.childContextTypes;return t!=null}}function lm(e){_r(Ja,e),_r(Bl,e)}function Xg(e){_r(Ja,e),_r(Bl,e)}function CC(e,t,i){{if(Bl.current!==Mi)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Nr(Bl,t,e),Nr(Ja,i,e)}}function RC(e,t,i){{var a=e.stateNode,o=t.childContextTypes;if(typeof a.getChildContext!="function"){{var s=it(e)||"Unknown";Gg[s]||(Gg[s]=!0,m("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",s,s))}return i}var d=a.getChildContext();for(var y in d)if(!(y in o))throw new Error((it(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var S=it(e)||"Unknown";ma(o,d,"child context",S)}return pt({},i,d)}}function om(e){{var t=e.stateNode,i=t&&t.__reactInternalMemoizedMergedChildContext||Mi;return Kg=Bl.current,Nr(Bl,i,e),Nr(Ja,Ja.current,e),!0}}function xC(e,t,i){{var a=e.stateNode;if(!a)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(i){var o=RC(e,t,Kg);a.__reactInternalMemoizedMergedChildContext=o,_r(Ja,e),_r(Bl,e),Nr(Bl,o,e),Nr(Ja,i,e)}else _r(Ja,e),Nr(Ja,i,e)}}function Db(e){{if(!Cd(e)||e.tag!==w)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case O:return t.stateNode.context;case w:{var i=t.type;if(el(i))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Go=0,um=1,$l=null,qg=!1,Zg=!1;function TC(e){$l===null?$l=[e]:$l.push(e)}function kb(e){qg=!0,TC(e)}function wC(){qg&&Ko()}function Ko(){if(!Zg&&$l!==null){Zg=!0;var e=0,t=si();try{var i=!0,a=$l;for(xn(nr);e<a.length;e++){var o=a[e];do o=o(i);while(o!==null)}$l=null,qg=!1}catch(s){throw $l!==null&&($l=$l.slice(e+1)),lc(uc,Ko),s}finally{xn(t),Zg=!1}}return null}var of=[],uf=0,sm=null,cm=0,Yi=[],Qi=0,fs=null,Yl=1,Ql="";function Ob(e){return ps(),(e.flags&gd)!==Ye}function Mb(e){return ps(),cm}function Lb(){var e=Ql,t=Yl,i=t&~_b(t);return i.toString(32)+e}function ds(e,t){ps(),of[uf++]=cm,of[uf++]=sm,sm=e,cm=t}function bC(e,t,i){ps(),Yi[Qi++]=Yl,Yi[Qi++]=Ql,Yi[Qi++]=fs,fs=e;var a=Yl,o=Ql,s=fm(a)-1,d=a&~(1<<s),y=i+1,S=fm(t)+s;if(S>30){var x=s-s%5,T=(1<<x)-1,z=(d&T).toString(32),N=d>>x,Y=s-x,W=fm(t)+Y,q=y<<Y,De=q|N,We=z+o;Yl=1<<W|De,Ql=We}else{var Ie=y<<s,St=Ie|d,ht=o;Yl=1<<S|St,Ql=ht}}function Jg(e){ps();var t=e.return;if(t!==null){var i=1,a=0;ds(e,i),bC(e,i,a)}}function fm(e){return 32-vc(e)}function _b(e){return 1<<fm(e)-1}function e0(e){for(;e===sm;)sm=of[--uf],of[uf]=null,cm=of[--uf],of[uf]=null;for(;e===fs;)fs=Yi[--Qi],Yi[Qi]=null,Ql=Yi[--Qi],Yi[Qi]=null,Yl=Yi[--Qi],Yi[Qi]=null}function Nb(){return ps(),fs!==null?{id:Yl,overflow:Ql}:null}function Ab(e,t){ps(),Yi[Qi++]=Yl,Yi[Qi++]=Ql,Yi[Qi++]=fs,Yl=t.id,Ql=t.overflow,fs=e}function ps(){fr()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var cr=null,Wi=null,ya=!1,vs=!1,Xo=null;function zb(){ya&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function DC(){vs=!0}function Ub(){return vs}function Fb(e){var t=e.stateNode.containerInfo;return Wi=tb(t),cr=e,ya=!0,Xo=null,vs=!1,!0}function Hb(e,t,i){return Wi=nb(t),cr=e,ya=!0,Xo=null,vs=!1,i!==null&&Ab(e,i),!0}function kC(e,t){switch(e.tag){case O:{db(e.stateNode.containerInfo,t);break}case b:{var i=(e.mode&ct)!==Ge;vb(e.type,e.memoizedProps,e.stateNode,t,i);break}case le:{var a=e.memoizedState;a.dehydrated!==null&&pb(a.dehydrated,t);break}}}function OC(e,t){kC(e,t);var i=IO();i.stateNode=t,i.return=e;var a=e.deletions;a===null?(e.deletions=[i],e.flags|=Dt):a.push(i)}function t0(e,t){{if(vs)return;switch(e.tag){case O:{var i=e.stateNode.containerInfo;switch(t.tag){case b:var a=t.type;t.pendingProps,hb(i,a);break;case L:var o=t.pendingProps;mb(i,o);break}break}case b:{var s=e.type,d=e.memoizedProps,y=e.stateNode;switch(t.tag){case b:{var S=t.type,x=t.pendingProps,T=(e.mode&ct)!==Ge;Sb(s,d,y,S,x,T);break}case L:{var z=t.pendingProps,N=(e.mode&ct)!==Ge;Eb(s,d,y,z,N);break}}break}case le:{var Y=e.memoizedState,W=Y.dehydrated;if(W!==null)switch(t.tag){case b:var q=t.type;t.pendingProps,yb(W,q);break;case L:var De=t.pendingProps;gb(W,De);break}break}default:return}}}function MC(e,t){t.flags=t.flags&~ii|jt,t0(e,t)}function LC(e,t){switch(e.tag){case b:{var i=e.type;e.pendingProps;var a=Kw(t,i);return a!==null?(e.stateNode=a,cr=e,Wi=eb(a),!0):!1}case L:{var o=e.pendingProps,s=Xw(t,o);return s!==null?(e.stateNode=s,cr=e,Wi=null,!0):!1}case le:{var d=qw(t);if(d!==null){var y={dehydrated:d,treeContext:Nb(),retryLane:Mr};e.memoizedState=y;var S=jO(d);return S.return=e,e.child=S,cr=e,Wi=null,!0}return!1}default:return!1}}function n0(e){return(e.mode&ct)!==Ge&&(e.flags&Je)===Ye}function r0(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function i0(e){if(ya){var t=Wi;if(!t){n0(e)&&(t0(cr,e),r0()),MC(cr,e),ya=!1,cr=e;return}var i=t;if(!LC(e,t)){n0(e)&&(t0(cr,e),r0()),t=hp(i);var a=cr;if(!t||!LC(e,t)){MC(cr,e),ya=!1,cr=e;return}OC(a,i)}}}function Pb(e,t,i){var a=e.stateNode,o=!vs,s=rb(a,e.type,e.memoizedProps,t,i,e,o);return e.updateQueue=s,s!==null}function Vb(e){var t=e.stateNode,i=e.memoizedProps,a=ib(t,i,e);if(a){var o=cr;if(o!==null)switch(o.tag){case O:{var s=o.stateNode.containerInfo,d=(o.mode&ct)!==Ge;cb(s,t,i,d);break}case b:{var y=o.type,S=o.memoizedProps,x=o.stateNode,T=(o.mode&ct)!==Ge;fb(y,S,x,t,i,T);break}}}return a}function Ib(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");ab(i,e)}function jb(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return lb(i)}function _C(e){for(var t=e.return;t!==null&&t.tag!==b&&t.tag!==O&&t.tag!==le;)t=t.return;cr=t}function dm(e){if(e!==cr)return!1;if(!ya)return _C(e),ya=!0,!1;if(e.tag!==O&&(e.tag!==b||sb(e.type)&&!Pg(e.type,e.memoizedProps))){var t=Wi;if(t)if(n0(e))NC(e),r0();else for(;t;)OC(e,t),t=hp(t)}return _C(e),e.tag===le?Wi=jb(e):Wi=cr?hp(e.stateNode):null,!0}function Bb(){return ya&&Wi!==null}function NC(e){for(var t=Wi;t;)kC(e,t),t=hp(t)}function sf(){cr=null,Wi=null,ya=!1,vs=!1}function AC(){Xo!==null&&(kR(Xo),Xo=null)}function fr(){return ya}function a0(e){Xo===null?Xo=[e]:Xo.push(e)}var $b=v.ReactCurrentBatchConfig,Yb=null;function Qb(){return $b.transition}var ga={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var Wb=function(e){for(var t=null,i=e;i!==null;)i.mode&qt&&(t=i),i=i.return;return t},hs=function(e){var t=[];return e.forEach(function(i){t.push(i)}),t.sort().join(", ")},Sp=[],Ep=[],Cp=[],Rp=[],xp=[],Tp=[],ms=new Set;ga.recordUnsafeLifecycleWarnings=function(e,t){ms.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Sp.push(e),e.mode&qt&&typeof t.UNSAFE_componentWillMount=="function"&&Ep.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Cp.push(e),e.mode&qt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Rp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&xp.push(e),e.mode&qt&&typeof t.UNSAFE_componentWillUpdate=="function"&&Tp.push(e))},ga.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Sp.length>0&&(Sp.forEach(function(N){e.add(it(N)||"Component"),ms.add(N.type)}),Sp=[]);var t=new Set;Ep.length>0&&(Ep.forEach(function(N){t.add(it(N)||"Component"),ms.add(N.type)}),Ep=[]);var i=new Set;Cp.length>0&&(Cp.forEach(function(N){i.add(it(N)||"Component"),ms.add(N.type)}),Cp=[]);var a=new Set;Rp.length>0&&(Rp.forEach(function(N){a.add(it(N)||"Component"),ms.add(N.type)}),Rp=[]);var o=new Set;xp.length>0&&(xp.forEach(function(N){o.add(it(N)||"Component"),ms.add(N.type)}),xp=[]);var s=new Set;if(Tp.length>0&&(Tp.forEach(function(N){s.add(it(N)||"Component"),ms.add(N.type)}),Tp=[]),t.size>0){var d=hs(t);m(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
65
|
+
|
|
66
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
67
|
+
|
|
68
|
+
Please update the following components: %s`,d)}if(a.size>0){var y=hs(a);m(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
69
|
+
|
|
70
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
71
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
72
|
+
|
|
73
|
+
Please update the following components: %s`,y)}if(s.size>0){var S=hs(s);m(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
74
|
+
|
|
75
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
76
|
+
|
|
77
|
+
Please update the following components: %s`,S)}if(e.size>0){var x=hs(e);R(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
78
|
+
|
|
79
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
80
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
81
|
+
|
|
82
|
+
Please update the following components: %s`,x)}if(i.size>0){var T=hs(i);R(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
83
|
+
|
|
84
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
85
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
86
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
87
|
+
|
|
88
|
+
Please update the following components: %s`,T)}if(o.size>0){var z=hs(o);R(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
89
|
+
|
|
90
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
91
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
92
|
+
|
|
93
|
+
Please update the following components: %s`,z)}};var pm=new Map,zC=new Set;ga.recordLegacyContextWarning=function(e,t){var i=Wb(e);if(i===null){m("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!zC.has(e.type)){var a=pm.get(i);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],pm.set(i,a)),a.push(e))}},ga.flushLegacyContextWarning=function(){pm.forEach(function(e,t){if(e.length!==0){var i=e[0],a=new Set;e.forEach(function(s){a.add(it(s)||"Component"),zC.add(s.type)});var o=hs(a);try{_t(i),m(`Legacy context API has been detected within a strict-mode tree.
|
|
94
|
+
|
|
95
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
96
|
+
|
|
97
|
+
Please update the following components: %s
|
|
98
|
+
|
|
99
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,o)}finally{En()}}})},ga.discardPendingWarnings=function(){Sp=[],Ep=[],Cp=[],Rp=[],xp=[],Tp=[],pm=new Map}}function Sa(e,t){if(e&&e.defaultProps){var i=pt({},t),a=e.defaultProps;for(var o in a)i[o]===void 0&&(i[o]=a[o]);return i}return t}var l0=Wo(null),o0;o0={};var vm=null,cf=null,u0=null,hm=!1;function mm(){vm=null,cf=null,u0=null,hm=!1}function UC(){hm=!0}function FC(){hm=!1}function HC(e,t,i){Nr(l0,t._currentValue,e),t._currentValue=i,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==o0&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=o0}function s0(e,t){var i=l0.current;_r(l0,t),e._currentValue=i}function c0(e,t,i){for(var a=e;a!==null;){var o=a.alternate;if(Ll(a.childLanes,t)?o!==null&&!Ll(o.childLanes,t)&&(o.childLanes=ot(o.childLanes,t)):(a.childLanes=ot(a.childLanes,t),o!==null&&(o.childLanes=ot(o.childLanes,t))),a===i)break;a=a.return}a!==i&&m("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Gb(e,t,i){Kb(e,t,i)}function Kb(e,t,i){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=void 0,s=a.dependencies;if(s!==null){o=a.child;for(var d=s.firstContext;d!==null;){if(d.context===t){if(a.tag===w){var y=Rn(i),S=Wl(Pt,y);S.tag=gm;var x=a.updateQueue;if(x!==null){var T=x.shared,z=T.pending;z===null?S.next=S:(S.next=z.next,z.next=S),T.pending=S}}a.lanes=ot(a.lanes,i);var N=a.alternate;N!==null&&(N.lanes=ot(N.lanes,i)),c0(a.return,i,e),s.lanes=ot(s.lanes,i);break}d=d.next}}else if(a.tag===ue)o=a.type===e.type?null:a.child;else if(a.tag===pe){var Y=a.return;if(Y===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");Y.lanes=ot(Y.lanes,i);var W=Y.alternate;W!==null&&(W.lanes=ot(W.lanes,i)),c0(Y,i,e),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===e){o=null;break}var q=o.sibling;if(q!==null){q.return=o.return,o=q;break}o=o.return}a=o}}function ff(e,t){vm=e,cf=null,u0=null;var i=e.dependencies;if(i!==null){var a=i.firstContext;a!==null&&(Lr(i.lanes,t)&&Hp(),i.firstContext=null)}}function Un(e){hm&&m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(u0!==e){var i={context:e,memoizedValue:t,next:null};if(cf===null){if(vm===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");cf=i,vm.dependencies={lanes:J,firstContext:i}}else cf=cf.next=i}return t}var ys=null;function f0(e){ys===null?ys=[e]:ys.push(e)}function Xb(){if(ys!==null){for(var e=0;e<ys.length;e++){var t=ys[e],i=t.interleaved;if(i!==null){t.interleaved=null;var a=i.next,o=t.pending;if(o!==null){var s=o.next;o.next=a,i.next=s}t.pending=i}}ys=null}}function PC(e,t,i,a){var o=t.interleaved;return o===null?(i.next=i,f0(t)):(i.next=o.next,o.next=i),t.interleaved=i,ym(e,a)}function qb(e,t,i,a){var o=t.interleaved;o===null?(i.next=i,f0(t)):(i.next=o.next,o.next=i),t.interleaved=i}function Zb(e,t,i,a){var o=t.interleaved;return o===null?(i.next=i,f0(t)):(i.next=o.next,o.next=i),t.interleaved=i,ym(e,a)}function vi(e,t){return ym(e,t)}var Jb=ym;function ym(e,t){e.lanes=ot(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=ot(i.lanes,t)),i===null&&(e.flags&(jt|ii))!==Ye&&VR(e);for(var a=e,o=e.return;o!==null;)o.childLanes=ot(o.childLanes,t),i=o.alternate,i!==null?i.childLanes=ot(i.childLanes,t):(o.flags&(jt|ii))!==Ye&&VR(e),a=o,o=o.return;if(a.tag===O){var s=a.stateNode;return s}else return null}var VC=0,IC=1,gm=2,d0=3,Sm=!1,p0,Em;p0=!1,Em=null;function v0(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:J},effects:null};e.updateQueue=t}function jC(e,t){var i=t.updateQueue,a=e.updateQueue;if(i===a){var o={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects};t.updateQueue=o}}function Wl(e,t){var i={eventTime:e,lane:t,tag:VC,payload:null,callback:null,next:null};return i}function qo(e,t,i){var a=e.updateQueue;if(a===null)return null;var o=a.shared;if(Em===o&&!p0&&(m("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),p0=!0),Jk()){var s=o.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),o.pending=t,Jb(e,i)}else return Zb(e,o,t,i)}function Cm(e,t,i){var a=t.updateQueue;if(a!==null){var o=a.shared;if(Ad(i)){var s=o.lanes;s=Ud(s,e.pendingLanes);var d=ot(s,i);o.lanes=d,Lo(e,d)}}}function h0(e,t){var i=e.updateQueue,a=e.alternate;if(a!==null){var o=a.updateQueue;if(i===o){var s=null,d=null,y=i.firstBaseUpdate;if(y!==null){var S=y;do{var x={eventTime:S.eventTime,lane:S.lane,tag:S.tag,payload:S.payload,callback:S.callback,next:null};d===null?s=d=x:(d.next=x,d=x),S=S.next}while(S!==null);d===null?s=d=t:(d.next=t,d=t)}else s=d=t;i={baseState:o.baseState,firstBaseUpdate:s,lastBaseUpdate:d,shared:o.shared,effects:o.effects},e.updateQueue=i;return}}var T=i.lastBaseUpdate;T===null?i.firstBaseUpdate=t:T.next=t,i.lastBaseUpdate=t}function eD(e,t,i,a,o,s){switch(i.tag){case IC:{var d=i.payload;if(typeof d=="function"){UC();var y=d.call(s,a,o);{if(e.mode&qt){Cn(!0);try{d.call(s,a,o)}finally{Cn(!1)}}FC()}return y}return d}case d0:e.flags=e.flags&~Ln|Je;case VC:{var S=i.payload,x;if(typeof S=="function"){UC(),x=S.call(s,a,o);{if(e.mode&qt){Cn(!0);try{S.call(s,a,o)}finally{Cn(!1)}}FC()}}else x=S;return x==null?a:pt({},a,x)}case gm:return Sm=!0,a}return a}function Rm(e,t,i,a){var o=e.updateQueue;Sm=!1,Em=o.shared;var s=o.firstBaseUpdate,d=o.lastBaseUpdate,y=o.shared.pending;if(y!==null){o.shared.pending=null;var S=y,x=S.next;S.next=null,d===null?s=x:d.next=x,d=S;var T=e.alternate;if(T!==null){var z=T.updateQueue,N=z.lastBaseUpdate;N!==d&&(N===null?z.firstBaseUpdate=x:N.next=x,z.lastBaseUpdate=S)}}if(s!==null){var Y=o.baseState,W=J,q=null,De=null,We=null,Ie=s;do{var St=Ie.lane,ht=Ie.eventTime;if(Ll(a,St)){if(We!==null){var Z={eventTime:ht,lane:yt,tag:Ie.tag,payload:Ie.payload,callback:Ie.callback,next:null};We=We.next=Z}Y=eD(e,o,Ie,Y,t,i);var j=Ie.callback;if(j!==null&&Ie.lane!==yt){e.flags|=Pi;var he=o.effects;he===null?o.effects=[Ie]:he.push(Ie)}}else{var I={eventTime:ht,lane:St,tag:Ie.tag,payload:Ie.payload,callback:Ie.callback,next:null};We===null?(De=We=I,q=Y):We=We.next=I,W=ot(W,St)}if(Ie=Ie.next,Ie===null){if(y=o.shared.pending,y===null)break;var ke=y,Te=ke.next;ke.next=null,Ie=Te,o.lastBaseUpdate=ke,o.shared.pending=null}}while(!0);We===null&&(q=Y),o.baseState=q,o.firstBaseUpdate=De,o.lastBaseUpdate=We;var Ze=o.shared.interleaved;if(Ze!==null){var rt=Ze;do W=ot(W,rt.lane),rt=rt.next;while(rt!==Ze)}else s===null&&(o.shared.lanes=J);Xp(W),e.lanes=W,e.memoizedState=Y}Em=null}function tD(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function BC(){Sm=!1}function xm(){return Sm}function $C(e,t,i){var a=t.effects;if(t.effects=null,a!==null)for(var o=0;o<a.length;o++){var s=a[o],d=s.callback;d!==null&&(s.callback=null,tD(d,i))}}var m0={},YC=new f.Component().refs,y0,g0,S0,E0,C0,QC,Tm,R0,x0,T0;{y0=new Set,g0=new Set,S0=new Set,E0=new Set,R0=new Set,C0=new Set,x0=new Set,T0=new Set;var WC=new Set;Tm=function(e,t){if(!(e===null||typeof e=="function")){var i=t+"_"+e;WC.has(i)||(WC.add(i),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},QC=function(e,t){if(t===void 0){var i=Ft(e)||"Component";C0.has(i)||(C0.add(i),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",i))}},Object.defineProperty(m0,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(m0)}function w0(e,t,i,a){var o=e.memoizedState,s=i(a,o);{if(e.mode&qt){Cn(!0);try{s=i(a,o)}finally{Cn(!1)}}QC(t,s)}var d=s==null?o:pt({},o,s);if(e.memoizedState=d,e.lanes===J){var y=e.updateQueue;y.baseState=d}}var b0={isMounted:jr,enqueueSetState:function(e,t,i){var a=ni(e),o=Gr(),s=au(a),d=Wl(o,s);d.payload=t,i!=null&&(Tm(i,"setState"),d.callback=i);var y=qo(a,d,s);y!==null&&(Zn(y,a,s,o),Cm(y,a,s)),$a(a,s)},enqueueReplaceState:function(e,t,i){var a=ni(e),o=Gr(),s=au(a),d=Wl(o,s);d.tag=IC,d.payload=t,i!=null&&(Tm(i,"replaceState"),d.callback=i);var y=qo(a,d,s);y!==null&&(Zn(y,a,s,o),Cm(y,a,s)),$a(a,s)},enqueueForceUpdate:function(e,t){var i=ni(e),a=Gr(),o=au(i),s=Wl(a,o);s.tag=gm,t!=null&&(Tm(t,"forceUpdate"),s.callback=t);var d=qo(i,s,o);d!==null&&(Zn(d,i,o,a),Cm(d,i,o)),Md(i,o)}};function GC(e,t,i,a,o,s,d){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){var S=y.shouldComponentUpdate(a,s,d);{if(e.mode&qt){Cn(!0);try{S=y.shouldComponentUpdate(a,s,d)}finally{Cn(!1)}}S===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Ft(t)||"Component")}return S}return t.prototype&&t.prototype.isPureReactComponent?!Be(i,a)||!Be(o,s):!0}function nD(e,t,i){var a=e.stateNode;{var o=Ft(t)||"Component",s=a.render;s||(t.prototype&&typeof t.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",o)),a.getInitialState&&!a.getInitialState.isReactClassApproved&&!a.state&&m("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",o),a.getDefaultProps&&!a.getDefaultProps.isReactClassApproved&&m("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",o),a.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),a.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),a.contextTypes&&m("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!x0.has(t)&&(x0.add(t),m("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),typeof a.componentShouldUpdate=="function"&&m("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",o),t.prototype&&t.prototype.isPureReactComponent&&typeof a.shouldComponentUpdate<"u"&&m("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Ft(t)||"A pure component"),typeof a.componentDidUnmount=="function"&&m("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),typeof a.componentDidReceiveProps=="function"&&m("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",o),typeof a.componentWillRecieveProps=="function"&&m("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),typeof a.UNSAFE_componentWillRecieveProps=="function"&&m("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var d=a.props!==i;a.props!==void 0&&d&&m("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o,o),a.defaultProps&&m("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",o,o),typeof a.getSnapshotBeforeUpdate=="function"&&typeof a.componentDidUpdate!="function"&&!S0.has(t)&&(S0.add(t),m("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Ft(t))),typeof a.getDerivedStateFromProps=="function"&&m("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),typeof a.getDerivedStateFromError=="function"&&m("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),typeof t.getSnapshotBeforeUpdate=="function"&&m("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o);var y=a.state;y&&(typeof y!="object"||On(y))&&m("%s.state: must be set to an object or null",o),typeof a.getChildContext=="function"&&typeof t.childContextTypes!="object"&&m("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o)}}function KC(e,t){t.updater=b0,e.stateNode=t,Co(t,e),t._reactInternalInstance=m0}function XC(e,t,i){var a=!1,o=Mi,s=Mi,d=t.contextType;if("contextType"in t){var y=d===null||d!==void 0&&d.$$typeof===Hf&&d._context===void 0;if(!y&&!T0.has(t)){T0.add(t);var S="";d===void 0?S=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof d!="object"?S=" However, it is set to a "+typeof d+".":d.$$typeof===Ff?S=" Did you accidentally pass the Context.Provider instead?":d._context!==void 0?S=" Did you accidentally pass the Context.Consumer instead?":S=" However, it is set to an object with keys {"+Object.keys(d).join(", ")+"}.",m("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Ft(t)||"Component",S)}}if(typeof d=="object"&&d!==null)s=Un(d);else{o=af(e,t,!0);var x=t.contextTypes;a=x!=null,s=a?lf(e,o):Mi}var T=new t(i,s);if(e.mode&qt){Cn(!0);try{T=new t(i,s)}finally{Cn(!1)}}var z=e.memoizedState=T.state!==null&&T.state!==void 0?T.state:null;KC(e,T);{if(typeof t.getDerivedStateFromProps=="function"&&z===null){var N=Ft(t)||"Component";g0.has(N)||(g0.add(N),m("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",N,T.state===null?"null":"undefined",N))}if(typeof t.getDerivedStateFromProps=="function"||typeof T.getSnapshotBeforeUpdate=="function"){var Y=null,W=null,q=null;if(typeof T.componentWillMount=="function"&&T.componentWillMount.__suppressDeprecationWarning!==!0?Y="componentWillMount":typeof T.UNSAFE_componentWillMount=="function"&&(Y="UNSAFE_componentWillMount"),typeof T.componentWillReceiveProps=="function"&&T.componentWillReceiveProps.__suppressDeprecationWarning!==!0?W="componentWillReceiveProps":typeof T.UNSAFE_componentWillReceiveProps=="function"&&(W="UNSAFE_componentWillReceiveProps"),typeof T.componentWillUpdate=="function"&&T.componentWillUpdate.__suppressDeprecationWarning!==!0?q="componentWillUpdate":typeof T.UNSAFE_componentWillUpdate=="function"&&(q="UNSAFE_componentWillUpdate"),Y!==null||W!==null||q!==null){var De=Ft(t)||"Component",We=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";E0.has(De)||(E0.add(De),m(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
100
|
+
|
|
101
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
102
|
+
|
|
103
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
104
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,De,We,Y!==null?`
|
|
105
|
+
`+Y:"",W!==null?`
|
|
106
|
+
`+W:"",q!==null?`
|
|
107
|
+
`+q:""))}}}return a&&EC(e,o,s),T}function rD(e,t){var i=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),i!==t.state&&(m("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",it(e)||"Component"),b0.enqueueReplaceState(t,t.state,null))}function qC(e,t,i,a){var o=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,a),t.state!==o){{var s=it(e)||"Component";y0.has(s)||(y0.add(s),m("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",s))}b0.enqueueReplaceState(t,t.state,null)}}function D0(e,t,i,a){nD(e,t,i);var o=e.stateNode;o.props=i,o.state=e.memoizedState,o.refs=YC,v0(e);var s=t.contextType;if(typeof s=="object"&&s!==null)o.context=Un(s);else{var d=af(e,t,!0);o.context=lf(e,d)}{if(o.state===i){var y=Ft(t)||"Component";R0.has(y)||(R0.add(y),m("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",y))}e.mode&qt&&ga.recordLegacyContextWarning(e,o),ga.recordUnsafeLifecycleWarnings(e,o)}o.state=e.memoizedState;var S=t.getDerivedStateFromProps;if(typeof S=="function"&&(w0(e,t,S,i),o.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof o.getSnapshotBeforeUpdate!="function"&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(rD(e,o),Rm(e,i,o,a),o.state=e.memoizedState),typeof o.componentDidMount=="function"){var x=lt;x|=wr,(e.mode&oi)!==Ge&&(x|=br),e.flags|=x}}function iD(e,t,i,a){var o=e.stateNode,s=e.memoizedProps;o.props=s;var d=o.context,y=t.contextType,S=Mi;if(typeof y=="object"&&y!==null)S=Un(y);else{var x=af(e,t,!0);S=lf(e,x)}var T=t.getDerivedStateFromProps,z=typeof T=="function"||typeof o.getSnapshotBeforeUpdate=="function";!z&&(typeof o.UNSAFE_componentWillReceiveProps=="function"||typeof o.componentWillReceiveProps=="function")&&(s!==i||d!==S)&&qC(e,o,i,S),BC();var N=e.memoizedState,Y=o.state=N;if(Rm(e,i,o,a),Y=e.memoizedState,s===i&&N===Y&&!am()&&!xm()){if(typeof o.componentDidMount=="function"){var W=lt;W|=wr,(e.mode&oi)!==Ge&&(W|=br),e.flags|=W}return!1}typeof T=="function"&&(w0(e,t,T,i),Y=e.memoizedState);var q=xm()||GC(e,t,s,i,N,Y,S);if(q){if(!z&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"){var De=lt;De|=wr,(e.mode&oi)!==Ge&&(De|=br),e.flags|=De}}else{if(typeof o.componentDidMount=="function"){var We=lt;We|=wr,(e.mode&oi)!==Ge&&(We|=br),e.flags|=We}e.memoizedProps=i,e.memoizedState=Y}return o.props=i,o.state=Y,o.context=S,q}function aD(e,t,i,a,o){var s=t.stateNode;jC(e,t);var d=t.memoizedProps,y=t.type===t.elementType?d:Sa(t.type,d);s.props=y;var S=t.pendingProps,x=s.context,T=i.contextType,z=Mi;if(typeof T=="object"&&T!==null)z=Un(T);else{var N=af(t,i,!0);z=lf(t,N)}var Y=i.getDerivedStateFromProps,W=typeof Y=="function"||typeof s.getSnapshotBeforeUpdate=="function";!W&&(typeof s.UNSAFE_componentWillReceiveProps=="function"||typeof s.componentWillReceiveProps=="function")&&(d!==S||x!==z)&&qC(t,s,a,z),BC();var q=t.memoizedState,De=s.state=q;if(Rm(t,a,s,o),De=t.memoizedState,d===S&&q===De&&!am()&&!xm()&&!fe)return typeof s.componentDidUpdate=="function"&&(d!==e.memoizedProps||q!==e.memoizedState)&&(t.flags|=lt),typeof s.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||q!==e.memoizedState)&&(t.flags|=ri),!1;typeof Y=="function"&&(w0(t,i,Y,a),De=t.memoizedState);var We=xm()||GC(t,i,y,a,q,De,z)||fe;return We?(!W&&(typeof s.UNSAFE_componentWillUpdate=="function"||typeof s.componentWillUpdate=="function")&&(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(a,De,z),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(a,De,z)),typeof s.componentDidUpdate=="function"&&(t.flags|=lt),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=ri)):(typeof s.componentDidUpdate=="function"&&(d!==e.memoizedProps||q!==e.memoizedState)&&(t.flags|=lt),typeof s.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||q!==e.memoizedState)&&(t.flags|=ri),t.memoizedProps=a,t.memoizedState=De),s.props=a,s.state=De,s.context=z,We}var k0,O0,M0,L0,_0,ZC=function(e,t){};k0=!1,O0=!1,M0={},L0={},_0={},ZC=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var i=it(t)||"Component";L0[i]||(L0[i]=!0,m('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function wp(e,t,i){var a=i.ref;if(a!==null&&typeof a!="function"&&typeof a!="object"){if((e.mode&qt||zt)&&!(i._owner&&i._self&&i._owner.stateNode!==i._self)){var o=it(e)||"Component";M0[o]||(m('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',a),M0[o]=!0)}if(i._owner){var s=i._owner,d;if(s){var y=s;if(y.tag!==w)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");d=y.stateNode}if(!d)throw new Error("Missing owner for string ref "+a+". This error is likely caused by a bug in React. Please file an issue.");var S=d;at(a,"ref");var x=""+a;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===x)return t.ref;var T=function(z){var N=S.refs;N===YC&&(N=S.refs={}),z===null?delete N[x]:N[x]=z};return T._stringRef=x,T}else{if(typeof a!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!i._owner)throw new Error("Element ref was specified as a string ("+a+`) but no owner was set. This could happen for one of the following reasons:
|
|
108
|
+
1. You may be adding a ref to a function component
|
|
109
|
+
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
110
|
+
3. You have multiple copies of React loaded
|
|
111
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return a}function wm(e,t){var i=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}function bm(e){{var t=it(e)||"Component";if(_0[t])return;_0[t]=!0,m("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function JC(e){var t=e._payload,i=e._init;return i(t)}function e1(e){function t(I,Z){if(e){var j=I.deletions;j===null?(I.deletions=[Z],I.flags|=Dt):j.push(Z)}}function i(I,Z){if(!e)return null;for(var j=Z;j!==null;)t(I,j),j=j.sibling;return null}function a(I,Z){for(var j=new Map,he=Z;he!==null;)he.key!==null?j.set(he.key,he):j.set(he.index,he),he=he.sibling;return j}function o(I,Z){var j=ws(I,Z);return j.index=0,j.sibling=null,j}function s(I,Z,j){if(I.index=j,!e)return I.flags|=gd,Z;var he=I.alternate;if(he!==null){var ke=he.index;return ke<Z?(I.flags|=jt,Z):ke}else return I.flags|=jt,Z}function d(I){return e&&I.alternate===null&&(I.flags|=jt),I}function y(I,Z,j,he){if(Z===null||Z.tag!==L){var ke=aE(j,I.mode,he);return ke.return=I,ke}else{var Te=o(Z,j);return Te.return=I,Te}}function S(I,Z,j,he){var ke=j.type;if(ke===Zi)return T(I,Z,j.props.children,he,j.key);if(Z!==null&&(Z.elementType===ke||$R(Z,j)||typeof ke=="object"&&ke!==null&&ke.$$typeof===ur&&JC(ke)===Z.type)){var Te=o(Z,j.props);return Te.ref=wp(I,Z,j),Te.return=I,Te._debugSource=j._source,Te._debugOwner=j._owner,Te}var Ze=iE(j,I.mode,he);return Ze.ref=wp(I,Z,j),Ze.return=I,Ze}function x(I,Z,j,he){if(Z===null||Z.tag!==U||Z.stateNode.containerInfo!==j.containerInfo||Z.stateNode.implementation!==j.implementation){var ke=lE(j,I.mode,he);return ke.return=I,ke}else{var Te=o(Z,j.children||[]);return Te.return=I,Te}}function T(I,Z,j,he,ke){if(Z===null||Z.tag!==P){var Te=ou(j,I.mode,he,ke);return Te.return=I,Te}else{var Ze=o(Z,j);return Ze.return=I,Ze}}function z(I,Z,j){if(typeof Z=="string"&&Z!==""||typeof Z=="number"){var he=aE(""+Z,I.mode,j);return he.return=I,he}if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case ao:{var ke=iE(Z,I.mode,j);return ke.ref=wp(I,null,Z),ke.return=I,ke}case Ci:{var Te=lE(Z,I.mode,j);return Te.return=I,Te}case ur:{var Ze=Z._payload,rt=Z._init;return z(I,rt(Ze),j)}}if(On(Z)||Ji(Z)){var At=ou(Z,I.mode,j,null);return At.return=I,At}wm(I,Z)}return typeof Z=="function"&&bm(I),null}function N(I,Z,j,he){var ke=Z!==null?Z.key:null;if(typeof j=="string"&&j!==""||typeof j=="number")return ke!==null?null:y(I,Z,""+j,he);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case ao:return j.key===ke?S(I,Z,j,he):null;case Ci:return j.key===ke?x(I,Z,j,he):null;case ur:{var Te=j._payload,Ze=j._init;return N(I,Z,Ze(Te),he)}}if(On(j)||Ji(j))return ke!==null?null:T(I,Z,j,he,null);wm(I,j)}return typeof j=="function"&&bm(I),null}function Y(I,Z,j,he,ke){if(typeof he=="string"&&he!==""||typeof he=="number"){var Te=I.get(j)||null;return y(Z,Te,""+he,ke)}if(typeof he=="object"&&he!==null){switch(he.$$typeof){case ao:{var Ze=I.get(he.key===null?j:he.key)||null;return S(Z,Ze,he,ke)}case Ci:{var rt=I.get(he.key===null?j:he.key)||null;return x(Z,rt,he,ke)}case ur:var At=he._payload,xt=he._init;return Y(I,Z,j,xt(At),ke)}if(On(he)||Ji(he)){var bn=I.get(j)||null;return T(Z,bn,he,ke,null)}wm(Z,he)}return typeof he=="function"&&bm(Z),null}function W(I,Z,j){{if(typeof I!="object"||I===null)return Z;switch(I.$$typeof){case ao:case Ci:ZC(I,j);var he=I.key;if(typeof he!="string")break;if(Z===null){Z=new Set,Z.add(he);break}if(!Z.has(he)){Z.add(he);break}m("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",he);break;case ur:var ke=I._payload,Te=I._init;W(Te(ke),Z,j);break}}return Z}function q(I,Z,j,he){for(var ke=null,Te=0;Te<j.length;Te++){var Ze=j[Te];ke=W(Ze,ke,I)}for(var rt=null,At=null,xt=Z,bn=0,Tt=0,yn=null;xt!==null&&Tt<j.length;Tt++){xt.index>Tt?(yn=xt,xt=null):yn=xt.sibling;var zr=N(I,xt,j[Tt],he);if(zr===null){xt===null&&(xt=yn);break}e&&xt&&zr.alternate===null&&t(I,xt),bn=s(zr,bn,Tt),At===null?rt=zr:At.sibling=zr,At=zr,xt=yn}if(Tt===j.length){if(i(I,xt),fr()){var gr=Tt;ds(I,gr)}return rt}if(xt===null){for(;Tt<j.length;Tt++){var _i=z(I,j[Tt],he);_i!==null&&(bn=s(_i,bn,Tt),At===null?rt=_i:At.sibling=_i,At=_i)}if(fr()){var Kr=Tt;ds(I,Kr)}return rt}for(var Xr=a(I,xt);Tt<j.length;Tt++){var Ur=Y(Xr,I,Tt,j[Tt],he);Ur!==null&&(e&&Ur.alternate!==null&&Xr.delete(Ur.key===null?Tt:Ur.key),bn=s(Ur,bn,Tt),At===null?rt=Ur:At.sibling=Ur,At=Ur)}if(e&&Xr.forEach(function(kf){return t(I,kf)}),fr()){var Jl=Tt;ds(I,Jl)}return rt}function De(I,Z,j,he){var ke=Ji(j);if(typeof ke!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&j[Symbol.toStringTag]==="Generator"&&(O0||m("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),O0=!0),j.entries===ke&&(k0||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),k0=!0);var Te=ke.call(j);if(Te)for(var Ze=null,rt=Te.next();!rt.done;rt=Te.next()){var At=rt.value;Ze=W(At,Ze,I)}}var xt=ke.call(j);if(xt==null)throw new Error("An iterable object provided no iterator.");for(var bn=null,Tt=null,yn=Z,zr=0,gr=0,_i=null,Kr=xt.next();yn!==null&&!Kr.done;gr++,Kr=xt.next()){yn.index>gr?(_i=yn,yn=null):_i=yn.sibling;var Xr=N(I,yn,Kr.value,he);if(Xr===null){yn===null&&(yn=_i);break}e&&yn&&Xr.alternate===null&&t(I,yn),zr=s(Xr,zr,gr),Tt===null?bn=Xr:Tt.sibling=Xr,Tt=Xr,yn=_i}if(Kr.done){if(i(I,yn),fr()){var Ur=gr;ds(I,Ur)}return bn}if(yn===null){for(;!Kr.done;gr++,Kr=xt.next()){var Jl=z(I,Kr.value,he);Jl!==null&&(zr=s(Jl,zr,gr),Tt===null?bn=Jl:Tt.sibling=Jl,Tt=Jl)}if(fr()){var kf=gr;ds(I,kf)}return bn}for(var tv=a(I,yn);!Kr.done;gr++,Kr=xt.next()){var ul=Y(tv,I,gr,Kr.value,he);ul!==null&&(e&&ul.alternate!==null&&tv.delete(ul.key===null?gr:ul.key),zr=s(ul,zr,gr),Tt===null?bn=ul:Tt.sibling=ul,Tt=ul)}if(e&&tv.forEach(function(SM){return t(I,SM)}),fr()){var gM=gr;ds(I,gM)}return bn}function We(I,Z,j,he){if(Z!==null&&Z.tag===L){i(I,Z.sibling);var ke=o(Z,j);return ke.return=I,ke}i(I,Z);var Te=aE(j,I.mode,he);return Te.return=I,Te}function Ie(I,Z,j,he){for(var ke=j.key,Te=Z;Te!==null;){if(Te.key===ke){var Ze=j.type;if(Ze===Zi){if(Te.tag===P){i(I,Te.sibling);var rt=o(Te,j.props.children);return rt.return=I,rt._debugSource=j._source,rt._debugOwner=j._owner,rt}}else if(Te.elementType===Ze||$R(Te,j)||typeof Ze=="object"&&Ze!==null&&Ze.$$typeof===ur&&JC(Ze)===Te.type){i(I,Te.sibling);var At=o(Te,j.props);return At.ref=wp(I,Te,j),At.return=I,At._debugSource=j._source,At._debugOwner=j._owner,At}i(I,Te);break}else t(I,Te);Te=Te.sibling}if(j.type===Zi){var xt=ou(j.props.children,I.mode,he,j.key);return xt.return=I,xt}else{var bn=iE(j,I.mode,he);return bn.ref=wp(I,Z,j),bn.return=I,bn}}function St(I,Z,j,he){for(var ke=j.key,Te=Z;Te!==null;){if(Te.key===ke)if(Te.tag===U&&Te.stateNode.containerInfo===j.containerInfo&&Te.stateNode.implementation===j.implementation){i(I,Te.sibling);var Ze=o(Te,j.children||[]);return Ze.return=I,Ze}else{i(I,Te);break}else t(I,Te);Te=Te.sibling}var rt=lE(j,I.mode,he);return rt.return=I,rt}function ht(I,Z,j,he){var ke=typeof j=="object"&&j!==null&&j.type===Zi&&j.key===null;if(ke&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case ao:return d(Ie(I,Z,j,he));case Ci:return d(St(I,Z,j,he));case ur:var Te=j._payload,Ze=j._init;return ht(I,Z,Ze(Te),he)}if(On(j))return q(I,Z,j,he);if(Ji(j))return De(I,Z,j,he);wm(I,j)}return typeof j=="string"&&j!==""||typeof j=="number"?d(We(I,Z,""+j,he)):(typeof j=="function"&&bm(I),i(I,Z))}return ht}var df=e1(!0),t1=e1(!1);function lD(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var i=t.child,a=ws(i,i.pendingProps);for(t.child=a,a.return=t;i.sibling!==null;)i=i.sibling,a=a.sibling=ws(i,i.pendingProps),a.return=t;a.sibling=null}}function oD(e,t){for(var i=e.child;i!==null;)UO(i,t),i=i.sibling}var bp={},Zo=Wo(bp),Dp=Wo(bp),Dm=Wo(bp);function km(e){if(e===bp)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function n1(){var e=km(Dm.current);return e}function N0(e,t){Nr(Dm,t,e),Nr(Dp,e,e),Nr(Zo,bp,e);var i=Cw(t);_r(Zo,e),Nr(Zo,i,e)}function pf(e){_r(Zo,e),_r(Dp,e),_r(Dm,e)}function A0(){var e=km(Zo.current);return e}function r1(e){km(Dm.current);var t=km(Zo.current),i=Rw(t,e.type);t!==i&&(Nr(Dp,e,e),Nr(Zo,i,e))}function z0(e){Dp.current===e&&(_r(Zo,e),_r(Dp,e))}var uD=0,i1=1,a1=1,kp=2,Ea=Wo(uD);function U0(e,t){return(e&t)!==0}function vf(e){return e&i1}function F0(e,t){return e&i1|t}function sD(e,t){return e|t}function Jo(e,t){Nr(Ea,t,e)}function hf(e){_r(Ea,e)}function cD(e,t){var i=e.memoizedState;return i!==null?i.dehydrated!==null:(e.memoizedProps,!0)}function Om(e){for(var t=e;t!==null;){if(t.tag===le){var i=t.memoizedState;if(i!==null){var a=i.dehydrated;if(a===null||hC(a)||Bg(a))return t}}else if(t.tag===Se&&t.memoizedProps.revealOrder!==void 0){var o=(t.flags&Je)!==Ye;if(o)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var hi=0,Yn=1,tl=2,Qn=4,dr=8,H0=[];function P0(){for(var e=0;e<H0.length;e++){var t=H0[e];t._workInProgressVersionPrimary=null}H0.length=0}function fD(e,t){var i=t._getVersion,a=i(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,a]:e.mutableSourceEagerHydrationData.push(t,a)}var be=v.ReactCurrentDispatcher,Op=v.ReactCurrentBatchConfig,V0,mf;V0=new Set;var gs=J,Nt=null,Wn=null,Gn=null,Mm=!1,Mp=!1,Lp=0,dD=0,pD=25,te=null,Gi=null,eu=-1,I0=!1;function Ot(){{var e=te;Gi===null?Gi=[e]:Gi.push(e)}}function xe(){{var e=te;Gi!==null&&(eu++,Gi[eu]!==e&&vD(e))}}function yf(e){e!=null&&!On(e)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",te,typeof e)}function vD(e){{var t=it(Nt);if(!V0.has(t)&&(V0.add(t),Gi!==null)){for(var i="",a=30,o=0;o<=eu;o++){for(var s=Gi[o],d=o===eu?e:s,y=o+1+". "+s;y.length<a;)y+=" ";y+=d+`
|
|
112
|
+
`,i+=y}m(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
113
|
+
|
|
114
|
+
Previous render Next render
|
|
115
|
+
------------------------------------------------------
|
|
116
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
117
|
+
`,t,i)}}}function Ar(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
118
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
119
|
+
2. You might be breaking the Rules of Hooks
|
|
120
|
+
3. You might have more than one copy of React in the same app
|
|
121
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function j0(e,t){if(I0)return!1;if(t===null)return m("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",te),!1;e.length!==t.length&&m(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
122
|
+
|
|
123
|
+
Previous: %s
|
|
124
|
+
Incoming: %s`,te,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var i=0;i<t.length&&i<e.length;i++)if(!Ne(e[i],t[i]))return!1;return!0}function gf(e,t,i,a,o,s){gs=s,Nt=t,Gi=e!==null?e._debugHookTypes:null,eu=-1,I0=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=J,e!==null&&e.memoizedState!==null?be.current=D1:Gi!==null?be.current=b1:be.current=w1;var d=i(a,o);if(Mp){var y=0;do{if(Mp=!1,Lp=0,y>=pD)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");y+=1,I0=!1,Wn=null,Gn=null,t.updateQueue=null,eu=-1,be.current=k1,d=i(a,o)}while(Mp)}be.current=Bm,t._debugHookTypes=Gi;var S=Wn!==null&&Wn.next!==null;if(gs=J,Nt=null,Wn=null,Gn=null,te=null,Gi=null,eu=-1,e!==null&&(e.flags&jn)!==(t.flags&jn)&&(e.mode&ct)!==Ge&&m("Internal React error: Expected static flag was missing. Please notify the React team."),Mm=!1,S)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return d}function Sf(){var e=Lp!==0;return Lp=0,e}function l1(e,t,i){t.updateQueue=e.updateQueue,(t.mode&oi)!==Ge?t.flags&=~(Cl|br|Gt|lt):t.flags&=~(Gt|lt),e.lanes=Mo(e.lanes,i)}function o1(){if(be.current=Bm,Mm){for(var e=Nt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Mm=!1}gs=J,Nt=null,Wn=null,Gn=null,Gi=null,eu=-1,te=null,E1=!1,Mp=!1,Lp=0}function nl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gn===null?Nt.memoizedState=Gn=e:Gn=Gn.next=e,Gn}function Ki(){var e;if(Wn===null){var t=Nt.alternate;t!==null?e=t.memoizedState:e=null}else e=Wn.next;var i;if(Gn===null?i=Nt.memoizedState:i=Gn.next,i!==null)Gn=i,i=Gn.next,Wn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Wn=e;var a={memoizedState:Wn.memoizedState,baseState:Wn.baseState,baseQueue:Wn.baseQueue,queue:Wn.queue,next:null};Gn===null?Nt.memoizedState=Gn=a:Gn=Gn.next=a}return Gn}function u1(){return{lastEffect:null,stores:null}}function B0(e,t){return typeof t=="function"?t(e):t}function $0(e,t,i){var a=nl(),o;i!==void 0?o=i(t):o=t,a.memoizedState=a.baseState=o;var s={pending:null,interleaved:null,lanes:J,dispatch:null,lastRenderedReducer:e,lastRenderedState:o};a.queue=s;var d=s.dispatch=gD.bind(null,Nt,s);return[a.memoizedState,d]}function Y0(e,t,i){var a=Ki(),o=a.queue;if(o===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var s=Wn,d=s.baseQueue,y=o.pending;if(y!==null){if(d!==null){var S=d.next,x=y.next;d.next=x,y.next=S}s.baseQueue!==d&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),s.baseQueue=d=y,o.pending=null}if(d!==null){var T=d.next,z=s.baseState,N=null,Y=null,W=null,q=T;do{var De=q.lane;if(Ll(gs,De)){if(W!==null){var Ie={lane:yt,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null};W=W.next=Ie}if(q.hasEagerState)z=q.eagerState;else{var St=q.action;z=e(z,St)}}else{var We={lane:De,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null};W===null?(Y=W=We,N=z):W=W.next=We,Nt.lanes=ot(Nt.lanes,De),Xp(De)}q=q.next}while(q!==null&&q!==T);W===null?N=z:W.next=Y,Ne(z,a.memoizedState)||Hp(),a.memoizedState=z,a.baseState=N,a.baseQueue=W,o.lastRenderedState=z}var ht=o.interleaved;if(ht!==null){var I=ht;do{var Z=I.lane;Nt.lanes=ot(Nt.lanes,Z),Xp(Z),I=I.next}while(I!==ht)}else d===null&&(o.lanes=J);var j=o.dispatch;return[a.memoizedState,j]}function Q0(e,t,i){var a=Ki(),o=a.queue;if(o===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var s=o.dispatch,d=o.pending,y=a.memoizedState;if(d!==null){o.pending=null;var S=d.next,x=S;do{var T=x.action;y=e(y,T),x=x.next}while(x!==S);Ne(y,a.memoizedState)||Hp(),a.memoizedState=y,a.baseQueue===null&&(a.baseState=y),o.lastRenderedState=y}return[y,s]}function F_(e,t,i){}function H_(e,t,i){}function W0(e,t,i){var a=Nt,o=nl(),s,d=fr();if(d){if(i===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");s=i(),mf||s!==i()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),mf=!0)}else{if(s=t(),!mf){var y=t();Ne(s,y)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),mf=!0)}var S=oy();if(S===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ku(S,gs)||s1(a,t,s)}o.memoizedState=s;var x={value:s,getSnapshot:t};return o.queue=x,zm(f1.bind(null,a,x,e),[e]),a.flags|=Gt,_p(Yn|dr,c1.bind(null,a,x,s,t),void 0,null),s}function Lm(e,t,i){var a=Nt,o=Ki(),s=t();if(!mf){var d=t();Ne(s,d)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),mf=!0)}var y=o.memoizedState,S=!Ne(y,s);S&&(o.memoizedState=s,Hp());var x=o.queue;if(Ap(f1.bind(null,a,x,e),[e]),x.getSnapshot!==t||S||Gn!==null&&Gn.memoizedState.tag&Yn){a.flags|=Gt,_p(Yn|dr,c1.bind(null,a,x,s,t),void 0,null);var T=oy();if(T===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ku(T,gs)||s1(a,t,s)}return s}function s1(e,t,i){e.flags|=Vu;var a={getSnapshot:t,value:i},o=Nt.updateQueue;if(o===null)o=u1(),Nt.updateQueue=o,o.stores=[a];else{var s=o.stores;s===null?o.stores=[a]:s.push(a)}}function c1(e,t,i,a){t.value=i,t.getSnapshot=a,d1(t)&&p1(e)}function f1(e,t,i){var a=function(){d1(t)&&p1(e)};return i(a)}function d1(e){var t=e.getSnapshot,i=e.value;try{var a=t();return!Ne(i,a)}catch{return!0}}function p1(e){var t=vi(e,qe);t!==null&&Zn(t,e,qe,Pt)}function _m(e){var t=nl();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var i={pending:null,interleaved:null,lanes:J,dispatch:null,lastRenderedReducer:B0,lastRenderedState:e};t.queue=i;var a=i.dispatch=SD.bind(null,Nt,i);return[t.memoizedState,a]}function G0(e){return Y0(B0)}function K0(e){return Q0(B0)}function _p(e,t,i,a){var o={tag:e,create:t,destroy:i,deps:a,next:null},s=Nt.updateQueue;if(s===null)s=u1(),Nt.updateQueue=s,s.lastEffect=o.next=o;else{var d=s.lastEffect;if(d===null)s.lastEffect=o.next=o;else{var y=d.next;d.next=o,o.next=y,s.lastEffect=o}}return o}function X0(e){var t=nl();{var i={current:e};return t.memoizedState=i,i}}function Nm(e){var t=Ki();return t.memoizedState}function Np(e,t,i,a){var o=nl(),s=a===void 0?null:a;Nt.flags|=e,o.memoizedState=_p(Yn|t,i,void 0,s)}function Am(e,t,i,a){var o=Ki(),s=a===void 0?null:a,d=void 0;if(Wn!==null){var y=Wn.memoizedState;if(d=y.destroy,s!==null){var S=y.deps;if(j0(s,S)){o.memoizedState=_p(t,i,d,s);return}}}Nt.flags|=e,o.memoizedState=_p(Yn|t,i,d,s)}function zm(e,t){return(Nt.mode&oi)!==Ge?Np(Cl|Gt|Ha,dr,e,t):Np(Gt|Ha,dr,e,t)}function Ap(e,t){return Am(Gt,dr,e,t)}function q0(e,t){return Np(lt,tl,e,t)}function Um(e,t){return Am(lt,tl,e,t)}function Z0(e,t){var i=lt;return i|=wr,(Nt.mode&oi)!==Ge&&(i|=br),Np(i,Qn,e,t)}function Fm(e,t){return Am(lt,Qn,e,t)}function v1(e,t){if(typeof t=="function"){var i=t,a=e();return i(a),function(){i(null)}}else if(t!=null){var o=t;o.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(o).join(", ")+"}");var s=e();return o.current=s,function(){o.current=null}}}function J0(e,t,i){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var a=i!=null?i.concat([e]):null,o=lt;return o|=wr,(Nt.mode&oi)!==Ge&&(o|=br),Np(o,Qn,v1.bind(null,t,e),a)}function Hm(e,t,i){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var a=i!=null?i.concat([e]):null;return Am(lt,Qn,v1.bind(null,t,e),a)}function hD(e,t){}var Pm=hD;function eS(e,t){var i=nl(),a=t===void 0?null:t;return i.memoizedState=[e,a],e}function Vm(e,t){var i=Ki(),a=t===void 0?null:t,o=i.memoizedState;if(o!==null&&a!==null){var s=o[1];if(j0(a,s))return o[0]}return i.memoizedState=[e,a],e}function tS(e,t){var i=nl(),a=t===void 0?null:t,o=e();return i.memoizedState=[o,a],o}function Im(e,t){var i=Ki(),a=t===void 0?null:t,o=i.memoizedState;if(o!==null&&a!==null){var s=o[1];if(j0(a,s))return o[0]}var d=e();return i.memoizedState=[d,a],d}function nS(e){var t=nl();return t.memoizedState=e,e}function h1(e){var t=Ki(),i=Wn,a=i.memoizedState;return y1(t,a,e)}function m1(e){var t=Ki();if(Wn===null)return t.memoizedState=e,e;var i=Wn.memoizedState;return y1(t,i,e)}function y1(e,t,i){var a=!ug(gs);if(a){if(!Ne(i,t)){var o=zd();Nt.lanes=ot(Nt.lanes,o),Xp(o),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Hp()),e.memoizedState=i,i}function mD(e,t,i){var a=si();xn(rr(a,$n)),e(!0);var o=Op.transition;Op.transition={};var s=Op.transition;Op.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(xn(a),Op.transition=o,o===null&&s._updatedFibers){var d=s._updatedFibers.size;d>10&&R("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),s._updatedFibers.clear()}}}function rS(){var e=_m(!1),t=e[0],i=e[1],a=mD.bind(null,i),o=nl();return o.memoizedState=a,[t,a]}function g1(){var e=G0(),t=e[0],i=Ki(),a=i.memoizedState;return[t,a]}function S1(){var e=K0(),t=e[0],i=Ki(),a=i.memoizedState;return[t,a]}var E1=!1;function yD(){return E1}function iS(){var e=nl(),t=oy(),i=t.identifierPrefix,a;if(fr()){var o=Lb();a=":"+i+"R"+o;var s=Lp++;s>0&&(a+="H"+s.toString(32)),a+=":"}else{var d=dD++;a=":"+i+"r"+d.toString(32)+":"}return e.memoizedState=a,a}function jm(){var e=Ki(),t=e.memoizedState;return t}function gD(e,t,i){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var a=au(e),o={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(C1(e))R1(t,o);else{var s=PC(e,t,o,a);if(s!==null){var d=Gr();Zn(s,e,a,d),x1(s,t,a)}}T1(e,a)}function SD(e,t,i){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var a=au(e),o={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(C1(e))R1(t,o);else{var s=e.alternate;if(e.lanes===J&&(s===null||s.lanes===J)){var d=t.lastRenderedReducer;if(d!==null){var y;y=be.current,be.current=Ca;try{var S=t.lastRenderedState,x=d(S,i);if(o.hasEagerState=!0,o.eagerState=x,Ne(x,S)){qb(e,t,o,a);return}}catch{}finally{be.current=y}}}var T=PC(e,t,o,a);if(T!==null){var z=Gr();Zn(T,e,a,z),x1(T,t,a)}}T1(e,a)}function C1(e){var t=e.alternate;return e===Nt||t!==null&&t===Nt}function R1(e,t){Mp=Mm=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function x1(e,t,i){if(Ad(i)){var a=t.lanes;a=Ud(a,e.pendingLanes);var o=ot(a,i);t.lanes=o,Lo(e,o)}}function T1(e,t,i){$a(e,t)}var Bm={readContext:Un,useCallback:Ar,useContext:Ar,useEffect:Ar,useImperativeHandle:Ar,useInsertionEffect:Ar,useLayoutEffect:Ar,useMemo:Ar,useReducer:Ar,useRef:Ar,useState:Ar,useDebugValue:Ar,useDeferredValue:Ar,useTransition:Ar,useMutableSource:Ar,useSyncExternalStore:Ar,useId:Ar,unstable_isNewReconciler:X},w1=null,b1=null,D1=null,k1=null,rl=null,Ca=null,$m=null;{var aS=function(){m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},nt=function(){m("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};w1={readContext:function(e){return Un(e)},useCallback:function(e,t){return te="useCallback",Ot(),yf(t),eS(e,t)},useContext:function(e){return te="useContext",Ot(),Un(e)},useEffect:function(e,t){return te="useEffect",Ot(),yf(t),zm(e,t)},useImperativeHandle:function(e,t,i){return te="useImperativeHandle",Ot(),yf(i),J0(e,t,i)},useInsertionEffect:function(e,t){return te="useInsertionEffect",Ot(),yf(t),q0(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",Ot(),yf(t),Z0(e,t)},useMemo:function(e,t){te="useMemo",Ot(),yf(t);var i=be.current;be.current=rl;try{return tS(e,t)}finally{be.current=i}},useReducer:function(e,t,i){te="useReducer",Ot();var a=be.current;be.current=rl;try{return $0(e,t,i)}finally{be.current=a}},useRef:function(e){return te="useRef",Ot(),X0(e)},useState:function(e){te="useState",Ot();var t=be.current;be.current=rl;try{return _m(e)}finally{be.current=t}},useDebugValue:function(e,t){return te="useDebugValue",Ot(),void 0},useDeferredValue:function(e){return te="useDeferredValue",Ot(),nS(e)},useTransition:function(){return te="useTransition",Ot(),rS()},useMutableSource:function(e,t,i){return te="useMutableSource",Ot(),void 0},useSyncExternalStore:function(e,t,i){return te="useSyncExternalStore",Ot(),W0(e,t,i)},useId:function(){return te="useId",Ot(),iS()},unstable_isNewReconciler:X},b1={readContext:function(e){return Un(e)},useCallback:function(e,t){return te="useCallback",xe(),eS(e,t)},useContext:function(e){return te="useContext",xe(),Un(e)},useEffect:function(e,t){return te="useEffect",xe(),zm(e,t)},useImperativeHandle:function(e,t,i){return te="useImperativeHandle",xe(),J0(e,t,i)},useInsertionEffect:function(e,t){return te="useInsertionEffect",xe(),q0(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",xe(),Z0(e,t)},useMemo:function(e,t){te="useMemo",xe();var i=be.current;be.current=rl;try{return tS(e,t)}finally{be.current=i}},useReducer:function(e,t,i){te="useReducer",xe();var a=be.current;be.current=rl;try{return $0(e,t,i)}finally{be.current=a}},useRef:function(e){return te="useRef",xe(),X0(e)},useState:function(e){te="useState",xe();var t=be.current;be.current=rl;try{return _m(e)}finally{be.current=t}},useDebugValue:function(e,t){return te="useDebugValue",xe(),void 0},useDeferredValue:function(e){return te="useDeferredValue",xe(),nS(e)},useTransition:function(){return te="useTransition",xe(),rS()},useMutableSource:function(e,t,i){return te="useMutableSource",xe(),void 0},useSyncExternalStore:function(e,t,i){return te="useSyncExternalStore",xe(),W0(e,t,i)},useId:function(){return te="useId",xe(),iS()},unstable_isNewReconciler:X},D1={readContext:function(e){return Un(e)},useCallback:function(e,t){return te="useCallback",xe(),Vm(e,t)},useContext:function(e){return te="useContext",xe(),Un(e)},useEffect:function(e,t){return te="useEffect",xe(),Ap(e,t)},useImperativeHandle:function(e,t,i){return te="useImperativeHandle",xe(),Hm(e,t,i)},useInsertionEffect:function(e,t){return te="useInsertionEffect",xe(),Um(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",xe(),Fm(e,t)},useMemo:function(e,t){te="useMemo",xe();var i=be.current;be.current=Ca;try{return Im(e,t)}finally{be.current=i}},useReducer:function(e,t,i){te="useReducer",xe();var a=be.current;be.current=Ca;try{return Y0(e,t,i)}finally{be.current=a}},useRef:function(e){return te="useRef",xe(),Nm()},useState:function(e){te="useState",xe();var t=be.current;be.current=Ca;try{return G0(e)}finally{be.current=t}},useDebugValue:function(e,t){return te="useDebugValue",xe(),Pm()},useDeferredValue:function(e){return te="useDeferredValue",xe(),h1(e)},useTransition:function(){return te="useTransition",xe(),g1()},useMutableSource:function(e,t,i){return te="useMutableSource",xe(),void 0},useSyncExternalStore:function(e,t,i){return te="useSyncExternalStore",xe(),Lm(e,t)},useId:function(){return te="useId",xe(),jm()},unstable_isNewReconciler:X},k1={readContext:function(e){return Un(e)},useCallback:function(e,t){return te="useCallback",xe(),Vm(e,t)},useContext:function(e){return te="useContext",xe(),Un(e)},useEffect:function(e,t){return te="useEffect",xe(),Ap(e,t)},useImperativeHandle:function(e,t,i){return te="useImperativeHandle",xe(),Hm(e,t,i)},useInsertionEffect:function(e,t){return te="useInsertionEffect",xe(),Um(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",xe(),Fm(e,t)},useMemo:function(e,t){te="useMemo",xe();var i=be.current;be.current=$m;try{return Im(e,t)}finally{be.current=i}},useReducer:function(e,t,i){te="useReducer",xe();var a=be.current;be.current=$m;try{return Q0(e,t,i)}finally{be.current=a}},useRef:function(e){return te="useRef",xe(),Nm()},useState:function(e){te="useState",xe();var t=be.current;be.current=$m;try{return K0(e)}finally{be.current=t}},useDebugValue:function(e,t){return te="useDebugValue",xe(),Pm()},useDeferredValue:function(e){return te="useDeferredValue",xe(),m1(e)},useTransition:function(){return te="useTransition",xe(),S1()},useMutableSource:function(e,t,i){return te="useMutableSource",xe(),void 0},useSyncExternalStore:function(e,t,i){return te="useSyncExternalStore",xe(),Lm(e,t)},useId:function(){return te="useId",xe(),jm()},unstable_isNewReconciler:X},rl={readContext:function(e){return aS(),Un(e)},useCallback:function(e,t){return te="useCallback",nt(),Ot(),eS(e,t)},useContext:function(e){return te="useContext",nt(),Ot(),Un(e)},useEffect:function(e,t){return te="useEffect",nt(),Ot(),zm(e,t)},useImperativeHandle:function(e,t,i){return te="useImperativeHandle",nt(),Ot(),J0(e,t,i)},useInsertionEffect:function(e,t){return te="useInsertionEffect",nt(),Ot(),q0(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",nt(),Ot(),Z0(e,t)},useMemo:function(e,t){te="useMemo",nt(),Ot();var i=be.current;be.current=rl;try{return tS(e,t)}finally{be.current=i}},useReducer:function(e,t,i){te="useReducer",nt(),Ot();var a=be.current;be.current=rl;try{return $0(e,t,i)}finally{be.current=a}},useRef:function(e){return te="useRef",nt(),Ot(),X0(e)},useState:function(e){te="useState",nt(),Ot();var t=be.current;be.current=rl;try{return _m(e)}finally{be.current=t}},useDebugValue:function(e,t){return te="useDebugValue",nt(),Ot(),void 0},useDeferredValue:function(e){return te="useDeferredValue",nt(),Ot(),nS(e)},useTransition:function(){return te="useTransition",nt(),Ot(),rS()},useMutableSource:function(e,t,i){return te="useMutableSource",nt(),Ot(),void 0},useSyncExternalStore:function(e,t,i){return te="useSyncExternalStore",nt(),Ot(),W0(e,t,i)},useId:function(){return te="useId",nt(),Ot(),iS()},unstable_isNewReconciler:X},Ca={readContext:function(e){return aS(),Un(e)},useCallback:function(e,t){return te="useCallback",nt(),xe(),Vm(e,t)},useContext:function(e){return te="useContext",nt(),xe(),Un(e)},useEffect:function(e,t){return te="useEffect",nt(),xe(),Ap(e,t)},useImperativeHandle:function(e,t,i){return te="useImperativeHandle",nt(),xe(),Hm(e,t,i)},useInsertionEffect:function(e,t){return te="useInsertionEffect",nt(),xe(),Um(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",nt(),xe(),Fm(e,t)},useMemo:function(e,t){te="useMemo",nt(),xe();var i=be.current;be.current=Ca;try{return Im(e,t)}finally{be.current=i}},useReducer:function(e,t,i){te="useReducer",nt(),xe();var a=be.current;be.current=Ca;try{return Y0(e,t,i)}finally{be.current=a}},useRef:function(e){return te="useRef",nt(),xe(),Nm()},useState:function(e){te="useState",nt(),xe();var t=be.current;be.current=Ca;try{return G0(e)}finally{be.current=t}},useDebugValue:function(e,t){return te="useDebugValue",nt(),xe(),Pm()},useDeferredValue:function(e){return te="useDeferredValue",nt(),xe(),h1(e)},useTransition:function(){return te="useTransition",nt(),xe(),g1()},useMutableSource:function(e,t,i){return te="useMutableSource",nt(),xe(),void 0},useSyncExternalStore:function(e,t,i){return te="useSyncExternalStore",nt(),xe(),Lm(e,t)},useId:function(){return te="useId",nt(),xe(),jm()},unstable_isNewReconciler:X},$m={readContext:function(e){return aS(),Un(e)},useCallback:function(e,t){return te="useCallback",nt(),xe(),Vm(e,t)},useContext:function(e){return te="useContext",nt(),xe(),Un(e)},useEffect:function(e,t){return te="useEffect",nt(),xe(),Ap(e,t)},useImperativeHandle:function(e,t,i){return te="useImperativeHandle",nt(),xe(),Hm(e,t,i)},useInsertionEffect:function(e,t){return te="useInsertionEffect",nt(),xe(),Um(e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",nt(),xe(),Fm(e,t)},useMemo:function(e,t){te="useMemo",nt(),xe();var i=be.current;be.current=Ca;try{return Im(e,t)}finally{be.current=i}},useReducer:function(e,t,i){te="useReducer",nt(),xe();var a=be.current;be.current=Ca;try{return Q0(e,t,i)}finally{be.current=a}},useRef:function(e){return te="useRef",nt(),xe(),Nm()},useState:function(e){te="useState",nt(),xe();var t=be.current;be.current=Ca;try{return K0(e)}finally{be.current=t}},useDebugValue:function(e,t){return te="useDebugValue",nt(),xe(),Pm()},useDeferredValue:function(e){return te="useDeferredValue",nt(),xe(),m1(e)},useTransition:function(){return te="useTransition",nt(),xe(),S1()},useMutableSource:function(e,t,i){return te="useMutableSource",nt(),xe(),void 0},useSyncExternalStore:function(e,t,i){return te="useSyncExternalStore",nt(),xe(),Lm(e,t)},useId:function(){return te="useId",nt(),xe(),jm()},unstable_isNewReconciler:X}}var tu=p.unstable_now,O1=0,Ym=-1,zp=-1,Qm=-1,lS=!1,Wm=!1;function M1(){return lS}function ED(){Wm=!0}function CD(){lS=!1,Wm=!1}function RD(){lS=Wm,Wm=!1}function L1(){return O1}function _1(){O1=tu()}function oS(e){zp=tu(),e.actualStartTime<0&&(e.actualStartTime=tu())}function N1(e){zp=-1}function Gm(e,t){if(zp>=0){var i=tu()-zp;e.actualDuration+=i,t&&(e.selfBaseDuration=i),zp=-1}}function il(e){if(Ym>=0){var t=tu()-Ym;Ym=-1;for(var i=e.return;i!==null;){switch(i.tag){case O:var a=i.stateNode;a.effectDuration+=t;return;case ee:var o=i.stateNode;o.effectDuration+=t;return}i=i.return}}}function uS(e){if(Qm>=0){var t=tu()-Qm;Qm=-1;for(var i=e.return;i!==null;){switch(i.tag){case O:var a=i.stateNode;a!==null&&(a.passiveEffectDuration+=t);return;case ee:var o=i.stateNode;o!==null&&(o.passiveEffectDuration+=t);return}i=i.return}}}function al(){Ym=tu()}function sS(){Qm=tu()}function cS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Ss(e,t){return{value:e,source:t,stack:$f(t),digest:null}}function fS(e,t,i){return{value:e,source:null,stack:i??null,digest:t??null}}function xD(e,t){return!0}function dS(e,t){try{var i=xD(e,t);if(i===!1)return;var a=t.value,o=t.source,s=t.stack,d=s!==null?s:"";if(a!=null&&a._suppressLogging){if(e.tag===w)return;console.error(a)}var y=o?it(o):null,S=y?"The above error occurred in the <"+y+"> component:":"The above error occurred in one of your React components:",x;if(e.tag===O)x=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
125
|
+
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var T=it(e)||"Anonymous";x="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+T+".")}var z=S+`
|
|
126
|
+
`+d+`
|
|
127
|
+
|
|
128
|
+
`+(""+x);console.error(z)}catch(N){setTimeout(function(){throw N})}}var TD=typeof WeakMap=="function"?WeakMap:Map;function A1(e,t,i){var a=Wl(Pt,i);a.tag=d0,a.payload={element:null};var o=t.value;return a.callback=function(){mO(o),dS(e,t)},a}function pS(e,t,i){var a=Wl(Pt,i);a.tag=d0;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var s=t.value;a.payload=function(){return o(s)},a.callback=function(){YR(e),dS(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(a.callback=function(){YR(e),dS(e,t),typeof o!="function"&&vO(this);var S=t.value,x=t.stack;this.componentDidCatch(S,{componentStack:x!==null?x:""}),typeof o!="function"&&(Lr(e.lanes,qe)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",it(e)||"Unknown"))}),a}function z1(e,t,i){var a=e.pingCache,o;if(a===null?(a=e.pingCache=new TD,o=new Set,a.set(t,o)):(o=a.get(t),o===void 0&&(o=new Set,a.set(t,o))),!o.has(i)){o.add(i);var s=yO.bind(null,e,t,i);Bn&&qp(e,i),t.then(s,s)}}function wD(e,t,i,a){var o=e.updateQueue;if(o===null){var s=new Set;s.add(i),e.updateQueue=s}else o.add(i)}function bD(e,t){var i=e.tag;if((e.mode&ct)===Ge&&(i===D||i===Q||i===ge)){var a=e.alternate;a?(e.updateQueue=a.updateQueue,e.memoizedState=a.memoizedState,e.lanes=a.lanes):(e.updateQueue=null,e.memoizedState=null)}}function U1(e){var t=e;do{if(t.tag===le&&cD(t))return t;t=t.return}while(t!==null);return null}function F1(e,t,i,a,o){if((e.mode&ct)===Ge){if(e===t)e.flags|=Ln;else{if(e.flags|=Je,i.flags|=Iu,i.flags&=~(rc|Vr),i.tag===w){var s=i.alternate;if(s===null)i.tag=je;else{var d=Wl(Pt,qe);d.tag=gm,qo(i,d,qe)}}i.lanes=ot(i.lanes,qe)}return e}return e.flags|=Ln,e.lanes=o,e}function DD(e,t,i,a,o){if(i.flags|=Vr,Bn&&qp(e,o),a!==null&&typeof a=="object"&&typeof a.then=="function"){var s=a;bD(i),fr()&&i.mode&ct&&DC();var d=U1(t);if(d!==null){d.flags&=~an,F1(d,t,i,e,o),d.mode&ct&&z1(e,s,o),wD(d,e,s);return}else{if(!Oo(o)){z1(e,s,o),QS();return}var y=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");a=y}}else if(fr()&&i.mode&ct){DC();var S=U1(t);if(S!==null){(S.flags&Ln)===Ye&&(S.flags|=an),F1(S,t,i,e,o),a0(Ss(a,i));return}}a=Ss(a,i),lO(a);var x=t;do{switch(x.tag){case O:{var T=a;x.flags|=Ln;var z=Rn(o);x.lanes=ot(x.lanes,z);var N=A1(x,T,z);h0(x,N);return}case w:var Y=a,W=x.type,q=x.stateNode;if((x.flags&Je)===Ye&&(typeof W.getDerivedStateFromError=="function"||q!==null&&typeof q.componentDidCatch=="function"&&!UR(q))){x.flags|=Ln;var De=Rn(o);x.lanes=ot(x.lanes,De);var We=pS(x,Y,De);h0(x,We);return}break}x=x.return}while(x!==null)}function kD(){return null}var Up=v.ReactCurrentOwner,Ra=!1,vS,Fp,hS,mS,yS,Es,gS,Km;vS={},Fp={},hS={},mS={},yS={},Es=!1,gS={},Km={};function Qr(e,t,i,a){e===null?t.child=t1(t,null,i,a):t.child=df(t,e.child,i,a)}function OD(e,t,i,a){t.child=df(t,e.child,null,a),t.child=df(t,null,i,a)}function H1(e,t,i,a,o){if(t.type!==t.elementType){var s=i.propTypes;s&&ma(s,a,"prop",Ft(i))}var d=i.render,y=t.ref,S,x;ff(t,o),Ba(t);{if(Up.current=t,Ti(!0),S=gf(e,t,d,a,y,o),x=Sf(),t.mode&qt){Cn(!0);try{S=gf(e,t,d,a,y,o),x=Sf()}finally{Cn(!1)}}Ti(!1)}return Rl(),e!==null&&!Ra?(l1(e,t,o),Gl(e,t,o)):(fr()&&x&&Jg(t),t.flags|=Ua,Qr(e,t,S,o),t.child)}function P1(e,t,i,a,o){if(e===null){var s=i.type;if(AO(s)&&i.compare===null&&i.defaultProps===void 0){var d=s;return d=Df(s),t.tag=ge,t.type=d,CS(t,s),V1(e,t,d,a,o)}{var y=s.propTypes;y&&ma(y,a,"prop",Ft(s))}var S=rE(i.type,null,a,t,t.mode,o);return S.ref=t.ref,S.return=t,t.child=S,S}{var x=i.type,T=x.propTypes;T&&ma(T,a,"prop",Ft(x))}var z=e.child,N=DS(e,o);if(!N){var Y=z.memoizedProps,W=i.compare;if(W=W!==null?W:Be,W(Y,a)&&e.ref===t.ref)return Gl(e,t,o)}t.flags|=Ua;var q=ws(z,a);return q.ref=t.ref,q.return=t,t.child=q,q}function V1(e,t,i,a,o){if(t.type!==t.elementType){var s=t.elementType;if(s.$$typeof===ur){var d=s,y=d._payload,S=d._init;try{s=S(y)}catch{s=null}var x=s&&s.propTypes;x&&ma(x,a,"prop",Ft(s))}}if(e!==null){var T=e.memoizedProps;if(Be(T,a)&&e.ref===t.ref&&t.type===e.type)if(Ra=!1,t.pendingProps=a=T,DS(e,o))(e.flags&Iu)!==Ye&&(Ra=!0);else return t.lanes=e.lanes,Gl(e,t,o)}return SS(e,t,i,a,o)}function I1(e,t,i){var a=t.pendingProps,o=a.children,s=e!==null?e.memoizedState:null;if(a.mode==="hidden"||$)if((t.mode&ct)===Ge){var d={baseLanes:J,cachePool:null,transitions:null};t.memoizedState=d,uy(t,i)}else if(Lr(i,Mr)){var z={baseLanes:J,cachePool:null,transitions:null};t.memoizedState=z;var N=s!==null?s.baseLanes:i;uy(t,N)}else{var y=null,S;if(s!==null){var x=s.baseLanes;S=ot(x,i)}else S=i;t.lanes=t.childLanes=Mr;var T={baseLanes:S,cachePool:y,transitions:null};return t.memoizedState=T,t.updateQueue=null,uy(t,S),null}else{var Y;s!==null?(Y=ot(s.baseLanes,i),t.memoizedState=null):Y=i,uy(t,Y)}return Qr(e,t,o,i),t.child}function MD(e,t,i){var a=t.pendingProps;return Qr(e,t,a,i),t.child}function LD(e,t,i){var a=t.pendingProps.children;return Qr(e,t,a,i),t.child}function _D(e,t,i){{t.flags|=lt;{var a=t.stateNode;a.effectDuration=0,a.passiveEffectDuration=0}}var o=t.pendingProps,s=o.children;return Qr(e,t,s,i),t.child}function j1(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=Tr,t.flags|=Sd)}function SS(e,t,i,a,o){if(t.type!==t.elementType){var s=i.propTypes;s&&ma(s,a,"prop",Ft(i))}var d;{var y=af(t,i,!0);d=lf(t,y)}var S,x;ff(t,o),Ba(t);{if(Up.current=t,Ti(!0),S=gf(e,t,i,a,d,o),x=Sf(),t.mode&qt){Cn(!0);try{S=gf(e,t,i,a,d,o),x=Sf()}finally{Cn(!1)}}Ti(!1)}return Rl(),e!==null&&!Ra?(l1(e,t,o),Gl(e,t,o)):(fr()&&x&&Jg(t),t.flags|=Ua,Qr(e,t,S,o),t.child)}function B1(e,t,i,a,o){{switch(KO(t)){case!1:{var s=t.stateNode,d=t.type,y=new d(t.memoizedProps,s.context),S=y.state;s.updater.enqueueSetState(s,S,null);break}case!0:{t.flags|=Je,t.flags|=Ln;var x=new Error("Simulated error coming from DevTools"),T=Rn(o);t.lanes=ot(t.lanes,T);var z=pS(t,Ss(x,t),T);h0(t,z);break}}if(t.type!==t.elementType){var N=i.propTypes;N&&ma(N,a,"prop",Ft(i))}}var Y;el(i)?(Y=!0,om(t)):Y=!1,ff(t,o);var W=t.stateNode,q;W===null?(qm(e,t),XC(t,i,a),D0(t,i,a,o),q=!0):e===null?q=iD(t,i,a,o):q=aD(e,t,i,a,o);var De=ES(e,t,i,q,Y,o);{var We=t.stateNode;q&&We.props!==a&&(Es||m("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",it(t)||"a component"),Es=!0)}return De}function ES(e,t,i,a,o,s){j1(e,t);var d=(t.flags&Je)!==Ye;if(!a&&!d)return o&&xC(t,i,!1),Gl(e,t,s);var y=t.stateNode;Up.current=t;var S;if(d&&typeof i.getDerivedStateFromError!="function")S=null,N1();else{Ba(t);{if(Ti(!0),S=y.render(),t.mode&qt){Cn(!0);try{y.render()}finally{Cn(!1)}}Ti(!1)}Rl()}return t.flags|=Ua,e!==null&&d?OD(e,t,S,s):Qr(e,t,S,s),t.memoizedState=y.state,o&&xC(t,i,!0),t.child}function $1(e){var t=e.stateNode;t.pendingContext?CC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&CC(e,t.context,!1),N0(e,t.containerInfo)}function ND(e,t,i){if($1(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var a=t.pendingProps,o=t.memoizedState,s=o.element;jC(e,t),Rm(t,a,null,i);var d=t.memoizedState;t.stateNode;var y=d.element;if(o.isDehydrated){var S={element:y,isDehydrated:!1,cache:d.cache,pendingSuspenseBoundaries:d.pendingSuspenseBoundaries,transitions:d.transitions},x=t.updateQueue;if(x.baseState=S,t.memoizedState=S,t.flags&an){var T=Ss(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return Y1(e,t,y,i,T)}else if(y!==s){var z=Ss(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return Y1(e,t,y,i,z)}else{Fb(t);var N=t1(t,null,y,i);t.child=N;for(var Y=N;Y;)Y.flags=Y.flags&~jt|ii,Y=Y.sibling}}else{if(sf(),y===s)return Gl(e,t,i);Qr(e,t,y,i)}return t.child}function Y1(e,t,i,a,o){return sf(),a0(o),t.flags|=an,Qr(e,t,i,a),t.child}function AD(e,t,i){r1(t),e===null&&i0(t);var a=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,d=o.children,y=Pg(a,o);return y?d=null:s!==null&&Pg(a,s)&&(t.flags|=kt),j1(e,t),Qr(e,t,d,i),t.child}function zD(e,t){return e===null&&i0(t),null}function UD(e,t,i,a){qm(e,t);var o=t.pendingProps,s=i,d=s._payload,y=s._init,S=y(d);t.type=S;var x=t.tag=zO(S),T=Sa(S,o),z;switch(x){case D:return CS(t,S),t.type=S=Df(S),z=SS(null,t,S,T,a),z;case w:return t.type=S=qS(S),z=B1(null,t,S,T,a),z;case Q:return t.type=S=ZS(S),z=H1(null,t,S,T,a),z;case me:{if(t.type!==t.elementType){var N=S.propTypes;N&&ma(N,T,"prop",Ft(S))}return z=P1(null,t,S,Sa(S.type,T),a),z}}var Y="";throw S!==null&&typeof S=="object"&&S.$$typeof===ur&&(Y=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+S+". "+("Lazy element type must resolve to a class or function."+Y))}function FD(e,t,i,a,o){qm(e,t),t.tag=w;var s;return el(i)?(s=!0,om(t)):s=!1,ff(t,o),XC(t,i,a),D0(t,i,a,o),ES(null,t,i,!0,s,o)}function HD(e,t,i,a){qm(e,t);var o=t.pendingProps,s;{var d=af(t,i,!1);s=lf(t,d)}ff(t,a);var y,S;Ba(t);{if(i.prototype&&typeof i.prototype.render=="function"){var x=Ft(i)||"Unknown";vS[x]||(m("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",x,x),vS[x]=!0)}t.mode&qt&&ga.recordLegacyContextWarning(t,null),Ti(!0),Up.current=t,y=gf(null,t,i,o,s,a),S=Sf(),Ti(!1)}if(Rl(),t.flags|=Ua,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var T=Ft(i)||"Unknown";Fp[T]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",T,T,T),Fp[T]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var z=Ft(i)||"Unknown";Fp[z]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),Fp[z]=!0)}t.tag=w,t.memoizedState=null,t.updateQueue=null;var N=!1;return el(i)?(N=!0,om(t)):N=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,v0(t),KC(t,y),D0(t,i,o,a),ES(null,t,i,!0,N,a)}else{if(t.tag=D,t.mode&qt){Cn(!0);try{y=gf(null,t,i,o,s,a),S=Sf()}finally{Cn(!1)}}return fr()&&S&&Jg(t),Qr(null,t,y,a),CS(t,i),t.child}}function CS(e,t){{if(t&&t.childContextTypes&&m("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var i="",a=ei();a&&(i+=`
|
|
129
|
+
|
|
130
|
+
Check the render method of \``+a+"`.");var o=a||"",s=e._debugSource;s&&(o=s.fileName+":"+s.lineNumber),yS[o]||(yS[o]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",i))}if(typeof t.getDerivedStateFromProps=="function"){var d=Ft(t)||"Unknown";mS[d]||(m("%s: Function components do not support getDerivedStateFromProps.",d),mS[d]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var y=Ft(t)||"Unknown";hS[y]||(m("%s: Function components do not support contextType.",y),hS[y]=!0)}}}var RS={dehydrated:null,treeContext:null,retryLane:yt};function xS(e){return{baseLanes:e,cachePool:kD(),transitions:null}}function PD(e,t){var i=null;return{baseLanes:ot(e.baseLanes,t),cachePool:i,transitions:e.transitions}}function VD(e,t,i,a){if(t!==null){var o=t.memoizedState;if(o===null)return!1}return U0(e,kp)}function ID(e,t){return Mo(e.childLanes,t)}function Q1(e,t,i){var a=t.pendingProps;XO(t)&&(t.flags|=Je);var o=Ea.current,s=!1,d=(t.flags&Je)!==Ye;if(d||VD(o,e)?(s=!0,t.flags&=~Je):(e===null||e.memoizedState!==null)&&(o=sD(o,a1)),o=vf(o),Jo(t,o),e===null){i0(t);var y=t.memoizedState;if(y!==null){var S=y.dehydrated;if(S!==null)return QD(t,S)}var x=a.children,T=a.fallback;if(s){var z=jD(t,x,T,i),N=t.child;return N.memoizedState=xS(i),t.memoizedState=RS,z}else return TS(t,x)}else{var Y=e.memoizedState;if(Y!==null){var W=Y.dehydrated;if(W!==null)return WD(e,t,d,a,W,Y,i)}if(s){var q=a.fallback,De=a.children,We=$D(e,t,De,q,i),Ie=t.child,St=e.child.memoizedState;return Ie.memoizedState=St===null?xS(i):PD(St,i),Ie.childLanes=ID(e,i),t.memoizedState=RS,We}else{var ht=a.children,I=BD(e,t,ht,i);return t.memoizedState=null,I}}}function TS(e,t,i){var a=e.mode,o={mode:"visible",children:t},s=wS(o,a);return s.return=e,e.child=s,s}function jD(e,t,i,a){var o=e.mode,s=e.child,d={mode:"hidden",children:t},y,S;return(o&ct)===Ge&&s!==null?(y=s,y.childLanes=J,y.pendingProps=d,e.mode&Xe&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),S=ou(i,o,a,null)):(y=wS(d,o),S=ou(i,o,a,null)),y.return=e,S.return=e,y.sibling=S,e.child=y,S}function wS(e,t,i){return WR(e,t,J,null)}function W1(e,t){return ws(e,t)}function BD(e,t,i,a){var o=e.child,s=o.sibling,d=W1(o,{mode:"visible",children:i});if((t.mode&ct)===Ge&&(d.lanes=a),d.return=t,d.sibling=null,s!==null){var y=t.deletions;y===null?(t.deletions=[s],t.flags|=Dt):y.push(s)}return t.child=d,d}function $D(e,t,i,a,o){var s=t.mode,d=e.child,y=d.sibling,S={mode:"hidden",children:i},x;if((s&ct)===Ge&&t.child!==d){var T=t.child;x=T,x.childLanes=J,x.pendingProps=S,t.mode&Xe&&(x.actualDuration=0,x.actualStartTime=-1,x.selfBaseDuration=d.selfBaseDuration,x.treeBaseDuration=d.treeBaseDuration),t.deletions=null}else x=W1(d,S),x.subtreeFlags=d.subtreeFlags&jn;var z;return y!==null?z=ws(y,a):(z=ou(a,s,o,null),z.flags|=jt),z.return=t,x.return=t,x.sibling=z,t.child=x,z}function Xm(e,t,i,a){a!==null&&a0(a),df(t,e.child,null,i);var o=t.pendingProps,s=o.children,d=TS(t,s);return d.flags|=jt,t.memoizedState=null,d}function YD(e,t,i,a,o){var s=t.mode,d={mode:"visible",children:i},y=wS(d,s),S=ou(a,s,o,null);return S.flags|=jt,y.return=t,S.return=t,y.sibling=S,t.child=y,(t.mode&ct)!==Ge&&df(t,e.child,null,o),S}function QD(e,t,i){return(e.mode&ct)===Ge?(m("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=qe):Bg(t)?e.lanes=wl:e.lanes=Mr,null}function WD(e,t,i,a,o,s,d){if(i)if(t.flags&an){t.flags&=~an;var I=fS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Xm(e,t,d,I)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Je,null;var Z=a.children,j=a.fallback,he=YD(e,t,Z,j,d),ke=t.child;return ke.memoizedState=xS(d),t.memoizedState=RS,he}else{if(zb(),(t.mode&ct)===Ge)return Xm(e,t,d,null);if(Bg(o)){var y,S,x;{var T=Zw(o);y=T.digest,S=T.message,x=T.stack}var z;S?z=new Error(S):z=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var N=fS(z,y,x);return Xm(e,t,d,N)}var Y=Lr(d,e.childLanes);if(Ra||Y){var W=oy();if(W!==null){var q=cg(W,d);if(q!==yt&&q!==s.retryLane){s.retryLane=q;var De=Pt;vi(e,q),Zn(W,e,q,De)}}QS();var We=fS(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Xm(e,t,d,We)}else if(hC(o)){t.flags|=Je,t.child=e.child;var Ie=gO.bind(null,e);return Jw(o,Ie),null}else{Hb(t,o,s.treeContext);var St=a.children,ht=TS(t,St);return ht.flags|=ii,ht}}}function G1(e,t,i){e.lanes=ot(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=ot(a.lanes,t)),c0(e.return,t,i)}function GD(e,t,i){for(var a=t;a!==null;){if(a.tag===le){var o=a.memoizedState;o!==null&&G1(a,i,e)}else if(a.tag===Se)G1(a,i,e);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return;for(;a.sibling===null;){if(a.return===null||a.return===e)return;a=a.return}a.sibling.return=a.return,a=a.sibling}}function KD(e){for(var t=e,i=null;t!==null;){var a=t.alternate;a!==null&&Om(a)===null&&(i=t),t=t.sibling}return i}function XD(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!gS[e])if(gS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:m('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else m('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function qD(e,t){e!==void 0&&!Km[e]&&(e!=="collapsed"&&e!=="hidden"?(Km[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Km[e]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function K1(e,t){{var i=On(e),a=!i&&typeof Ji(e)=="function";if(i||a){var o=i?"array":"iterable";return m("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",o,t,o),!1}}return!0}function ZD(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(On(e)){for(var i=0;i<e.length;i++)if(!K1(e[i],i))return}else{var a=Ji(e);if(typeof a=="function"){var o=a.call(e);if(o)for(var s=o.next(),d=0;!s.done;s=o.next()){if(!K1(s.value,d))return;d++}}else m('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function bS(e,t,i,a,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:i,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=i,s.tailMode=o)}function X1(e,t,i){var a=t.pendingProps,o=a.revealOrder,s=a.tail,d=a.children;XD(o),qD(s,o),ZD(d,o),Qr(e,t,d,i);var y=Ea.current,S=U0(y,kp);if(S)y=F0(y,kp),t.flags|=Je;else{var x=e!==null&&(e.flags&Je)!==Ye;x&&GD(t,t.child,i),y=vf(y)}if(Jo(t,y),(t.mode&ct)===Ge)t.memoizedState=null;else switch(o){case"forwards":{var T=KD(t.child),z;T===null?(z=t.child,t.child=null):(z=T.sibling,T.sibling=null),bS(t,!1,z,T,s);break}case"backwards":{var N=null,Y=t.child;for(t.child=null;Y!==null;){var W=Y.alternate;if(W!==null&&Om(W)===null){t.child=Y;break}var q=Y.sibling;Y.sibling=N,N=Y,Y=q}bS(t,!0,N,null,s);break}case"together":{bS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function JD(e,t,i){N0(t,t.stateNode.containerInfo);var a=t.pendingProps;return e===null?t.child=df(t,null,a,i):Qr(e,t,a,i),t.child}var q1=!1;function ek(e,t,i){var a=t.type,o=a._context,s=t.pendingProps,d=t.memoizedProps,y=s.value;{"value"in s||q1||(q1=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var S=t.type.propTypes;S&&ma(S,s,"prop","Context.Provider")}if(HC(t,o,y),d!==null){var x=d.value;if(Ne(x,y)){if(d.children===s.children&&!am())return Gl(e,t,i)}else Gb(t,o,i)}var T=s.children;return Qr(e,t,T,i),t.child}var Z1=!1;function tk(e,t,i){var a=t.type;a._context===void 0?a!==a.Consumer&&(Z1||(Z1=!0,m("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):a=a._context;var o=t.pendingProps,s=o.children;typeof s!="function"&&m("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),ff(t,i);var d=Un(a);Ba(t);var y;return Up.current=t,Ti(!0),y=s(d),Ti(!1),Rl(),t.flags|=Ua,Qr(e,t,y,i),t.child}function Hp(){Ra=!0}function qm(e,t){(t.mode&ct)===Ge&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=jt)}function Gl(e,t,i){return e!==null&&(t.dependencies=e.dependencies),N1(),Xp(t.lanes),Lr(i,t.childLanes)?(lD(e,t),t.child):null}function nk(e,t,i){{var a=t.return;if(a===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,i.index=t.index,i.sibling=t.sibling,i.return=t.return,i.ref=t.ref,t===a.child)a.child=i;else{var o=a.child;if(o===null)throw new Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw new Error("Expected to find the previous sibling.");o.sibling=i}var s=a.deletions;return s===null?(a.deletions=[e],a.flags|=Dt):s.push(e),i.flags|=jt,i}}function DS(e,t){var i=e.lanes;return!!Lr(i,t)}function rk(e,t,i){switch(t.tag){case O:$1(t),t.stateNode,sf();break;case b:r1(t);break;case w:{var a=t.type;el(a)&&om(t);break}case U:N0(t,t.stateNode.containerInfo);break;case ue:{var o=t.memoizedProps.value,s=t.type._context;HC(t,s,o);break}case ee:{var d=Lr(i,t.childLanes);d&&(t.flags|=lt);{var y=t.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}}break;case le:{var S=t.memoizedState;if(S!==null){if(S.dehydrated!==null)return Jo(t,vf(Ea.current)),t.flags|=Je,null;var x=t.child,T=x.childLanes;if(Lr(i,T))return Q1(e,t,i);Jo(t,vf(Ea.current));var z=Gl(e,t,i);return z!==null?z.sibling:null}else Jo(t,vf(Ea.current));break}case Se:{var N=(e.flags&Je)!==Ye,Y=Lr(i,t.childLanes);if(N){if(Y)return X1(e,t,i);t.flags|=Je}var W=t.memoizedState;if(W!==null&&(W.rendering=null,W.tail=null,W.lastEffect=null),Jo(t,Ea.current),Y)break;return null}case re:case G:return t.lanes=J,I1(e,t,i)}return Gl(e,t,i)}function J1(e,t,i){if(t._debugNeedsRemount&&e!==null)return nk(e,t,rE(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var a=e.memoizedProps,o=t.pendingProps;if(a!==o||am()||t.type!==e.type)Ra=!0;else{var s=DS(e,i);if(!s&&(t.flags&Je)===Ye)return Ra=!1,rk(e,t,i);(e.flags&Iu)!==Ye?Ra=!0:Ra=!1}}else if(Ra=!1,fr()&&Ob(t)){var d=t.index,y=Mb();bC(t,y,d)}switch(t.lanes=J,t.tag){case F:return HD(e,t,t.type,i);case Ue:{var S=t.elementType;return UD(e,t,S,i)}case D:{var x=t.type,T=t.pendingProps,z=t.elementType===x?T:Sa(x,T);return SS(e,t,x,z,i)}case w:{var N=t.type,Y=t.pendingProps,W=t.elementType===N?Y:Sa(N,Y);return B1(e,t,N,W,i)}case O:return ND(e,t,i);case b:return AD(e,t,i);case L:return zD(e,t);case le:return Q1(e,t,i);case U:return JD(e,t,i);case Q:{var q=t.type,De=t.pendingProps,We=t.elementType===q?De:Sa(q,De);return H1(e,t,q,We,i)}case P:return MD(e,t,i);case ne:return LD(e,t,i);case ee:return _D(e,t,i);case ue:return ek(e,t,i);case de:return tk(e,t,i);case me:{var Ie=t.type,St=t.pendingProps,ht=Sa(Ie,St);if(t.type!==t.elementType){var I=Ie.propTypes;I&&ma(I,ht,"prop",Ft(Ie))}return ht=Sa(Ie.type,ht),P1(e,t,Ie,ht,i)}case ge:return V1(e,t,t.type,t.pendingProps,i);case je:{var Z=t.type,j=t.pendingProps,he=t.elementType===Z?j:Sa(Z,j);return FD(e,t,Z,he,i)}case Se:return X1(e,t,i);case Ee:break;case re:return I1(e,t,i)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ef(e){e.flags|=lt}function eR(e){e.flags|=Tr,e.flags|=Sd}var tR,kS,nR,rR;tR=function(e,t,i,a){for(var o=t.child;o!==null;){if(o.tag===b||o.tag===L)bw(e,o.stateNode);else if(o.tag!==U){if(o.child!==null){o.child.return=o,o=o.child;continue}}if(o===t)return;for(;o.sibling===null;){if(o.return===null||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},kS=function(e,t){},nR=function(e,t,i,a,o){var s=e.memoizedProps;if(s!==a){var d=t.stateNode,y=A0(),S=kw(d,i,s,a,o,y);t.updateQueue=S,S&&Ef(t)}},rR=function(e,t,i,a){i!==a&&Ef(t)};function Pp(e,t){if(!fr())switch(e.tailMode){case"hidden":{for(var i=e.tail,a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?e.tail=null:a.sibling=null;break}case"collapsed":{for(var o=e.tail,s=null;o!==null;)o.alternate!==null&&(s=o),o=o.sibling;s===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:s.sibling=null;break}}}function pr(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=J,a=Ye;if(t){if((e.mode&Xe)!==Ge){for(var S=e.selfBaseDuration,x=e.child;x!==null;)i=ot(i,ot(x.lanes,x.childLanes)),a|=x.subtreeFlags&jn,a|=x.flags&jn,S+=x.treeBaseDuration,x=x.sibling;e.treeBaseDuration=S}else for(var T=e.child;T!==null;)i=ot(i,ot(T.lanes,T.childLanes)),a|=T.subtreeFlags&jn,a|=T.flags&jn,T.return=e,T=T.sibling;e.subtreeFlags|=a}else{if((e.mode&Xe)!==Ge){for(var o=e.actualDuration,s=e.selfBaseDuration,d=e.child;d!==null;)i=ot(i,ot(d.lanes,d.childLanes)),a|=d.subtreeFlags,a|=d.flags,o+=d.actualDuration,s+=d.treeBaseDuration,d=d.sibling;e.actualDuration=o,e.treeBaseDuration=s}else for(var y=e.child;y!==null;)i=ot(i,ot(y.lanes,y.childLanes)),a|=y.subtreeFlags,a|=y.flags,y.return=e,y=y.sibling;e.subtreeFlags|=a}return e.childLanes=i,t}function ik(e,t,i){if(Bb()&&(t.mode&ct)!==Ge&&(t.flags&Je)===Ye)return NC(t),sf(),t.flags|=an|Vr|Ln,!1;var a=dm(t);if(i!==null&&i.dehydrated!==null)if(e===null){if(!a)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(Ib(t),pr(t),(t.mode&Xe)!==Ge){var o=i!==null;if(o){var s=t.child;s!==null&&(t.treeBaseDuration-=s.treeBaseDuration)}}return!1}else{if(sf(),(t.flags&Je)===Ye&&(t.memoizedState=null),t.flags|=lt,pr(t),(t.mode&Xe)!==Ge){var d=i!==null;if(d){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else return AC(),!0}function iR(e,t,i){var a=t.pendingProps;switch(e0(t),t.tag){case F:case Ue:case ge:case D:case Q:case P:case ne:case ee:case de:case me:return pr(t),null;case w:{var o=t.type;return el(o)&&lm(t),pr(t),null}case O:{var s=t.stateNode;if(pf(t),Xg(t),P0(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),e===null||e.child===null){var d=dm(t);if(d)Ef(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&an)!==Ye)&&(t.flags|=ri,AC())}}return kS(e,t),pr(t),null}case b:{z0(t);var S=n1(),x=t.type;if(e!==null&&t.stateNode!=null)nR(e,t,x,a,S),e.ref!==t.ref&&eR(t);else{if(!a){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return pr(t),null}var T=A0(),z=dm(t);if(z)Pb(t,S,T)&&Ef(t);else{var N=ww(x,a,S,T,t);tR(N,t,!1,!1),t.stateNode=N,Dw(N,x,a,S)&&Ef(t)}t.ref!==null&&eR(t)}return pr(t),null}case L:{var Y=a;if(e&&t.stateNode!=null){var W=e.memoizedProps;rR(e,t,W,Y)}else{if(typeof Y!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var q=n1(),De=A0(),We=dm(t);We?Vb(t)&&Ef(t):t.stateNode=Ow(Y,q,De,t)}return pr(t),null}case le:{hf(t);var Ie=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var St=ik(e,t,Ie);if(!St)return t.flags&Ln?t:null}if((t.flags&Je)!==Ye)return t.lanes=i,(t.mode&Xe)!==Ge&&cS(t),t;var ht=Ie!==null,I=e!==null&&e.memoizedState!==null;if(ht!==I&&ht){var Z=t.child;if(Z.flags|=Fa,(t.mode&ct)!==Ge){var j=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!ze);j||U0(Ea.current,a1)?aO():QS()}}var he=t.updateQueue;if(he!==null&&(t.flags|=lt),pr(t),(t.mode&Xe)!==Ge&&ht){var ke=t.child;ke!==null&&(t.treeBaseDuration-=ke.treeBaseDuration)}return null}case U:return pf(t),kS(e,t),e===null&&Rb(t.stateNode.containerInfo),pr(t),null;case ue:var Te=t.type._context;return s0(Te,t),pr(t),null;case je:{var Ze=t.type;return el(Ze)&&lm(t),pr(t),null}case Se:{hf(t);var rt=t.memoizedState;if(rt===null)return pr(t),null;var At=(t.flags&Je)!==Ye,xt=rt.rendering;if(xt===null)if(At)Pp(rt,!1);else{var bn=oO()&&(e===null||(e.flags&Je)===Ye);if(!bn)for(var Tt=t.child;Tt!==null;){var yn=Om(Tt);if(yn!==null){At=!0,t.flags|=Je,Pp(rt,!1);var zr=yn.updateQueue;return zr!==null&&(t.updateQueue=zr,t.flags|=lt),t.subtreeFlags=Ye,oD(t,i),Jo(t,F0(Ea.current,kp)),t.child}Tt=Tt.sibling}rt.tail!==null&&Xt()>wR()&&(t.flags|=Je,At=!0,Pp(rt,!1),t.lanes=_d)}else{if(!At){var gr=Om(xt);if(gr!==null){t.flags|=Je,At=!0;var _i=gr.updateQueue;if(_i!==null&&(t.updateQueue=_i,t.flags|=lt),Pp(rt,!0),rt.tail===null&&rt.tailMode==="hidden"&&!xt.alternate&&!fr())return pr(t),null}else Xt()*2-rt.renderingStartTime>wR()&&i!==Mr&&(t.flags|=Je,At=!0,Pp(rt,!1),t.lanes=_d)}if(rt.isBackwards)xt.sibling=t.child,t.child=xt;else{var Kr=rt.last;Kr!==null?Kr.sibling=xt:t.child=xt,rt.last=xt}}if(rt.tail!==null){var Xr=rt.tail;rt.rendering=Xr,rt.tail=Xr.sibling,rt.renderingStartTime=Xt(),Xr.sibling=null;var Ur=Ea.current;return At?Ur=F0(Ur,kp):Ur=vf(Ur),Jo(t,Ur),Xr}return pr(t),null}case Ee:break;case re:case G:{YS(t);var Jl=t.memoizedState,kf=Jl!==null;if(e!==null){var tv=e.memoizedState,ul=tv!==null;ul!==kf&&!$&&(t.flags|=Fa)}return!kf||(t.mode&ct)===Ge?pr(t):Lr(ol,Mr)&&(pr(t),t.subtreeFlags&(jt|lt)&&(t.flags|=Fa)),null}case ce:return null;case ie:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ak(e,t,i){switch(e0(t),t.tag){case w:{var a=t.type;el(a)&&lm(t);var o=t.flags;return o&Ln?(t.flags=o&~Ln|Je,(t.mode&Xe)!==Ge&&cS(t),t):null}case O:{t.stateNode,pf(t),Xg(t),P0();var s=t.flags;return(s&Ln)!==Ye&&(s&Je)===Ye?(t.flags=s&~Ln|Je,t):null}case b:return z0(t),null;case le:{hf(t);var d=t.memoizedState;if(d!==null&&d.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");sf()}var y=t.flags;return y&Ln?(t.flags=y&~Ln|Je,(t.mode&Xe)!==Ge&&cS(t),t):null}case Se:return hf(t),null;case U:return pf(t),null;case ue:var S=t.type._context;return s0(S,t),null;case re:case G:return YS(t),null;case ce:return null;default:return null}}function aR(e,t,i){switch(e0(t),t.tag){case w:{var a=t.type.childContextTypes;a!=null&&lm(t);break}case O:{t.stateNode,pf(t),Xg(t),P0();break}case b:{z0(t);break}case U:pf(t);break;case le:hf(t);break;case Se:hf(t);break;case ue:var o=t.type._context;s0(o,t);break;case re:case G:YS(t);break}}var lR=null;lR=new Set;var Zm=!1,vr=!1,lk=typeof WeakSet=="function"?WeakSet:Set,Ae=null,Cf=null,Rf=null;function ok(e){El(null,function(){throw e}),yd()}var uk=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Xe)try{al(),t.componentWillUnmount()}finally{il(e)}else t.componentWillUnmount()};function oR(e,t){try{nu(Qn,e)}catch(i){Qt(e,t,i)}}function OS(e,t,i){try{uk(e,i)}catch(a){Qt(e,t,a)}}function sk(e,t,i){try{i.componentDidMount()}catch(a){Qt(e,t,a)}}function uR(e,t){try{cR(e)}catch(i){Qt(e,t,i)}}function xf(e,t){var i=e.ref;if(i!==null)if(typeof i=="function"){var a;try{if(Ve&&He&&e.mode&Xe)try{al(),a=i(null)}finally{il(e)}else a=i(null)}catch(o){Qt(e,t,o)}typeof a=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",it(e))}else i.current=null}function Jm(e,t,i){try{i()}catch(a){Qt(e,t,a)}}var sR=!1;function ck(e,t){xw(e.containerInfo),Ae=t,fk();var i=sR;return sR=!1,i}function fk(){for(;Ae!==null;){var e=Ae,t=e.child;(e.subtreeFlags&Ro)!==Ye&&t!==null?(t.return=e,Ae=t):dk()}}function dk(){for(;Ae!==null;){var e=Ae;_t(e);try{pk(e)}catch(i){Qt(e,e.return,i)}En();var t=e.sibling;if(t!==null){t.return=e.return,Ae=t;return}Ae=e.return}}function pk(e){var t=e.alternate,i=e.flags;if((i&ri)!==Ye){switch(_t(e),e.tag){case D:case Q:case ge:break;case w:{if(t!==null){var a=t.memoizedProps,o=t.memoizedState,s=e.stateNode;e.type===e.elementType&&!Es&&(s.props!==e.memoizedProps&&m("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",it(e)||"instance"),s.state!==e.memoizedState&&m("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",it(e)||"instance"));var d=s.getSnapshotBeforeUpdate(e.elementType===e.type?a:Sa(e.type,a),o);{var y=lR;d===void 0&&!y.has(e.type)&&(y.add(e.type),m("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",it(e)))}s.__reactInternalSnapshotBeforeUpdate=d}break}case O:{{var S=e.stateNode;Gw(S.containerInfo)}break}case b:case L:case U:case je:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}En()}}function xa(e,t,i){var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var s=o.next,d=s;do{if((d.tag&e)===e){var y=d.destroy;d.destroy=void 0,y!==void 0&&((e&dr)!==hi?fc(t):(e&Qn)!==hi&&dc(t),(e&tl)!==hi&&Zp(!0),Jm(t,i,y),(e&tl)!==hi&&Zp(!1),(e&dr)!==hi?fh():(e&Qn)!==hi&&xo())}d=d.next}while(d!==s)}}function nu(e,t){var i=t.updateQueue,a=i!==null?i.lastEffect:null;if(a!==null){var o=a.next,s=o;do{if((s.tag&e)===e){(e&dr)!==hi?ch(t):(e&Qn)!==hi&&dh(t);var d=s.create;(e&tl)!==hi&&Zp(!0),s.destroy=d(),(e&tl)!==hi&&Zp(!1),(e&dr)!==hi?Od():(e&Qn)!==hi&&ph();{var y=s.destroy;if(y!==void 0&&typeof y!="function"){var S=void 0;(s.tag&Qn)!==Ye?S="useLayoutEffect":(s.tag&tl)!==Ye?S="useInsertionEffect":S="useEffect";var x=void 0;y===null?x=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof y.then=="function"?x=`
|
|
131
|
+
|
|
132
|
+
It looks like you wrote `+S+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
133
|
+
|
|
134
|
+
`+S+`(() => {
|
|
135
|
+
async function fetchData() {
|
|
136
|
+
// You can await here
|
|
137
|
+
const response = await MyAPI.getData(someId);
|
|
138
|
+
// ...
|
|
139
|
+
}
|
|
140
|
+
fetchData();
|
|
141
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
142
|
+
|
|
143
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:x=" You returned: "+y,m("%s must not return anything besides a function, which is used for clean-up.%s",S,x)}}}s=s.next}while(s!==o)}}function vk(e,t){if((t.flags<)!==Ye)switch(t.tag){case ee:{var i=t.stateNode.passiveEffectDuration,a=t.memoizedProps,o=a.id,s=a.onPostCommit,d=L1(),y=t.alternate===null?"mount":"update";M1()&&(y="nested-update"),typeof s=="function"&&s(o,y,i,d);var S=t.return;e:for(;S!==null;){switch(S.tag){case O:var x=S.stateNode;x.passiveEffectDuration+=i;break e;case ee:var T=S.stateNode;T.passiveEffectDuration+=i;break e}S=S.return}break}}}function hk(e,t,i,a){if((i.flags&tr)!==Ye)switch(i.tag){case D:case Q:case ge:{if(!vr)if(i.mode&Xe)try{al(),nu(Qn|Yn,i)}finally{il(i)}else nu(Qn|Yn,i);break}case w:{var o=i.stateNode;if(i.flags<&&!vr)if(t===null)if(i.type===i.elementType&&!Es&&(o.props!==i.memoizedProps&&m("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",it(i)||"instance"),o.state!==i.memoizedState&&m("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",it(i)||"instance")),i.mode&Xe)try{al(),o.componentDidMount()}finally{il(i)}else o.componentDidMount();else{var s=i.elementType===i.type?t.memoizedProps:Sa(i.type,t.memoizedProps),d=t.memoizedState;if(i.type===i.elementType&&!Es&&(o.props!==i.memoizedProps&&m("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",it(i)||"instance"),o.state!==i.memoizedState&&m("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",it(i)||"instance")),i.mode&Xe)try{al(),o.componentDidUpdate(s,d,o.__reactInternalSnapshotBeforeUpdate)}finally{il(i)}else o.componentDidUpdate(s,d,o.__reactInternalSnapshotBeforeUpdate)}var y=i.updateQueue;y!==null&&(i.type===i.elementType&&!Es&&(o.props!==i.memoizedProps&&m("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",it(i)||"instance"),o.state!==i.memoizedState&&m("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",it(i)||"instance")),$C(i,y,o));break}case O:{var S=i.updateQueue;if(S!==null){var x=null;if(i.child!==null)switch(i.child.tag){case b:x=i.child.stateNode;break;case w:x=i.child.stateNode;break}$C(i,S,x)}break}case b:{var T=i.stateNode;if(t===null&&i.flags<){var z=i.type,N=i.memoizedProps;Aw(T,z,N)}break}case L:break;case U:break;case ee:{{var Y=i.memoizedProps,W=Y.onCommit,q=Y.onRender,De=i.stateNode.effectDuration,We=L1(),Ie=t===null?"mount":"update";M1()&&(Ie="nested-update"),typeof q=="function"&&q(i.memoizedProps.id,Ie,i.actualDuration,i.treeBaseDuration,i.actualStartTime,We);{typeof W=="function"&&W(i.memoizedProps.id,Ie,De,We),dO(i);var St=i.return;e:for(;St!==null;){switch(St.tag){case O:var ht=St.stateNode;ht.effectDuration+=De;break e;case ee:var I=St.stateNode;I.effectDuration+=De;break e}St=St.return}}}break}case le:{xk(e,i);break}case Se:case je:case Ee:case re:case G:case ie:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}vr||i.flags&Tr&&cR(i)}function mk(e){switch(e.tag){case D:case Q:case ge:{if(e.mode&Xe)try{al(),oR(e,e.return)}finally{il(e)}else oR(e,e.return);break}case w:{var t=e.stateNode;typeof t.componentDidMount=="function"&&sk(e,e.return,t),uR(e,e.return);break}case b:{uR(e,e.return);break}}}function yk(e,t){for(var i=null,a=e;;){if(a.tag===b){if(i===null){i=a;try{var o=a.stateNode;t?$w(o):Qw(a.stateNode,a.memoizedProps)}catch(d){Qt(e,e.return,d)}}}else if(a.tag===L){if(i===null)try{var s=a.stateNode;t?Yw(s):Ww(s,a.memoizedProps)}catch(d){Qt(e,e.return,d)}}else if(!((a.tag===re||a.tag===G)&&a.memoizedState!==null&&a!==e)){if(a.child!==null){a.child.return=a,a=a.child;continue}}if(a===e)return;for(;a.sibling===null;){if(a.return===null||a.return===e)return;i===a&&(i=null),a=a.return}i===a&&(i=null),a.sibling.return=a.return,a=a.sibling}}function cR(e){var t=e.ref;if(t!==null){var i=e.stateNode,a;switch(e.tag){case b:a=i;break;default:a=i}if(typeof t=="function"){var o;if(e.mode&Xe)try{al(),o=t(a)}finally{il(e)}else o=t(a);typeof o=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",it(e))}else t.hasOwnProperty("current")||m("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",it(e)),t.current=a}}function gk(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function fR(e){var t=e.alternate;t!==null&&(e.alternate=null,fR(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===b){var i=e.stateNode;i!==null&&wb(i)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function Sk(e){for(var t=e.return;t!==null;){if(dR(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function dR(e){return e.tag===b||e.tag===O||e.tag===U}function pR(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||dR(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==b&&t.tag!==L&&t.tag!==pe;){if(t.flags&jt||t.child===null||t.tag===U)continue e;t.child.return=t,t=t.child}if(!(t.flags&jt))return t.stateNode}}function Ek(e){var t=Sk(e);switch(t.tag){case b:{var i=t.stateNode;t.flags&kt&&(vC(i),t.flags&=~kt);var a=pR(e);LS(e,a,i);break}case O:case U:{var o=t.stateNode.containerInfo,s=pR(e);MS(e,s,o);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function MS(e,t,i){var a=e.tag,o=a===b||a===L;if(o){var s=e.stateNode;t?Vw(i,s,t):Hw(i,s)}else if(a!==U){var d=e.child;if(d!==null){MS(d,t,i);for(var y=d.sibling;y!==null;)MS(y,t,i),y=y.sibling}}}function LS(e,t,i){var a=e.tag,o=a===b||a===L;if(o){var s=e.stateNode;t?Pw(i,s,t):Fw(i,s)}else if(a!==U){var d=e.child;if(d!==null){LS(d,t,i);for(var y=d.sibling;y!==null;)LS(y,t,i),y=y.sibling}}}var hr=null,Ta=!1;function Ck(e,t,i){{var a=t;e:for(;a!==null;){switch(a.tag){case b:{hr=a.stateNode,Ta=!1;break e}case O:{hr=a.stateNode.containerInfo,Ta=!0;break e}case U:{hr=a.stateNode.containerInfo,Ta=!0;break e}}a=a.return}if(hr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");vR(e,t,i),hr=null,Ta=!1}gk(i)}function ru(e,t,i){for(var a=i.child;a!==null;)vR(e,t,a),a=a.sibling}function vR(e,t,i){switch(Dd(i),i.tag){case b:vr||xf(i,t);case L:{{var a=hr,o=Ta;hr=null,ru(e,t,i),hr=a,Ta=o,hr!==null&&(Ta?jw(hr,i.stateNode):Iw(hr,i.stateNode))}return}case pe:{hr!==null&&(Ta?Bw(hr,i.stateNode):jg(hr,i.stateNode));return}case U:{{var s=hr,d=Ta;hr=i.stateNode.containerInfo,Ta=!0,ru(e,t,i),hr=s,Ta=d}return}case D:case Q:case me:case ge:{if(!vr){var y=i.updateQueue;if(y!==null){var S=y.lastEffect;if(S!==null){var x=S.next,T=x;do{var z=T,N=z.destroy,Y=z.tag;N!==void 0&&((Y&tl)!==hi?Jm(i,t,N):(Y&Qn)!==hi&&(dc(i),i.mode&Xe?(al(),Jm(i,t,N),il(i)):Jm(i,t,N),xo())),T=T.next}while(T!==x)}}}ru(e,t,i);return}case w:{if(!vr){xf(i,t);var W=i.stateNode;typeof W.componentWillUnmount=="function"&&OS(i,t,W)}ru(e,t,i);return}case Ee:{ru(e,t,i);return}case re:{if(i.mode&ct){var q=vr;vr=q||i.memoizedState!==null,ru(e,t,i),vr=q}else ru(e,t,i);break}default:{ru(e,t,i);return}}}function Rk(e){e.memoizedState}function xk(e,t){var i=t.memoizedState;if(i===null){var a=t.alternate;if(a!==null){var o=a.memoizedState;if(o!==null){var s=o.dehydrated;s!==null&&ub(s)}}}}function hR(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new lk),t.forEach(function(a){var o=SO.bind(null,e,a);if(!i.has(a)){if(i.add(a),Bn)if(Cf!==null&&Rf!==null)qp(Rf,Cf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");a.then(o,o)}})}}function Tk(e,t,i){Cf=i,Rf=e,_t(t),mR(t,e),_t(t),Cf=null,Rf=null}function wa(e,t,i){var a=t.deletions;if(a!==null)for(var o=0;o<a.length;o++){var s=a[o];try{Ck(e,t,s)}catch(S){Qt(s,t,S)}}var d=Iy();if(t.subtreeFlags&Dr)for(var y=t.child;y!==null;)_t(y),mR(y,e),y=y.sibling;_t(d)}function mR(e,t,i){var a=e.alternate,o=e.flags;switch(e.tag){case D:case Q:case me:case ge:{if(wa(t,e),ll(e),o<){try{xa(tl|Yn,e,e.return),nu(tl|Yn,e)}catch(Ze){Qt(e,e.return,Ze)}if(e.mode&Xe){try{al(),xa(Qn|Yn,e,e.return)}catch(Ze){Qt(e,e.return,Ze)}il(e)}else try{xa(Qn|Yn,e,e.return)}catch(Ze){Qt(e,e.return,Ze)}}return}case w:{wa(t,e),ll(e),o&Tr&&a!==null&&xf(a,a.return);return}case b:{wa(t,e),ll(e),o&Tr&&a!==null&&xf(a,a.return);{if(e.flags&kt){var s=e.stateNode;try{vC(s)}catch(Ze){Qt(e,e.return,Ze)}}if(o<){var d=e.stateNode;if(d!=null){var y=e.memoizedProps,S=a!==null?a.memoizedProps:y,x=e.type,T=e.updateQueue;if(e.updateQueue=null,T!==null)try{zw(d,T,x,S,y,e)}catch(Ze){Qt(e,e.return,Ze)}}}}return}case L:{if(wa(t,e),ll(e),o<){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var z=e.stateNode,N=e.memoizedProps,Y=a!==null?a.memoizedProps:N;try{Uw(z,Y,N)}catch(Ze){Qt(e,e.return,Ze)}}return}case O:{if(wa(t,e),ll(e),o<&&a!==null){var W=a.memoizedState;if(W.isDehydrated)try{ob(t.containerInfo)}catch(Ze){Qt(e,e.return,Ze)}}return}case U:{wa(t,e),ll(e);return}case le:{wa(t,e),ll(e);var q=e.child;if(q.flags&Fa){var De=q.stateNode,We=q.memoizedState,Ie=We!==null;if(De.isHidden=Ie,Ie){var St=q.alternate!==null&&q.alternate.memoizedState!==null;St||iO()}}if(o<){try{Rk(e)}catch(Ze){Qt(e,e.return,Ze)}hR(e)}return}case re:{var ht=a!==null&&a.memoizedState!==null;if(e.mode&ct){var I=vr;vr=I||ht,wa(t,e),vr=I}else wa(t,e);if(ll(e),o&Fa){var Z=e.stateNode,j=e.memoizedState,he=j!==null,ke=e;if(Z.isHidden=he,he&&!ht&&(ke.mode&ct)!==Ge){Ae=ke;for(var Te=ke.child;Te!==null;)Ae=Te,bk(Te),Te=Te.sibling}yk(ke,he)}return}case Se:{wa(t,e),ll(e),o<&&hR(e);return}case Ee:return;default:{wa(t,e),ll(e);return}}}function ll(e){var t=e.flags;if(t&jt){try{Ek(e)}catch(i){Qt(e,e.return,i)}e.flags&=~jt}t&ii&&(e.flags&=~ii)}function wk(e,t,i){Cf=i,Rf=t,Ae=e,yR(e,t,i),Cf=null,Rf=null}function yR(e,t,i){for(var a=(e.mode&ct)!==Ge;Ae!==null;){var o=Ae,s=o.child;if(o.tag===re&&a){var d=o.memoizedState!==null,y=d||Zm;if(y){_S(e,t,i);continue}else{var S=o.alternate,x=S!==null&&S.memoizedState!==null,T=x||vr,z=Zm,N=vr;Zm=y,vr=T,vr&&!N&&(Ae=o,Dk(o));for(var Y=s;Y!==null;)Ae=Y,yR(Y,t,i),Y=Y.sibling;Ae=o,Zm=z,vr=N,_S(e,t,i);continue}}(o.subtreeFlags&tr)!==Ye&&s!==null?(s.return=o,Ae=s):_S(e,t,i)}}function _S(e,t,i){for(;Ae!==null;){var a=Ae;if((a.flags&tr)!==Ye){var o=a.alternate;_t(a);try{hk(t,o,a,i)}catch(d){Qt(a,a.return,d)}En()}if(a===e){Ae=null;return}var s=a.sibling;if(s!==null){s.return=a.return,Ae=s;return}Ae=a.return}}function bk(e){for(;Ae!==null;){var t=Ae,i=t.child;switch(t.tag){case D:case Q:case me:case ge:{if(t.mode&Xe)try{al(),xa(Qn,t,t.return)}finally{il(t)}else xa(Qn,t,t.return);break}case w:{xf(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&OS(t,t.return,a);break}case b:{xf(t,t.return);break}case re:{var o=t.memoizedState!==null;if(o){gR(e);continue}break}}i!==null?(i.return=t,Ae=i):gR(e)}}function gR(e){for(;Ae!==null;){var t=Ae;if(t===e){Ae=null;return}var i=t.sibling;if(i!==null){i.return=t.return,Ae=i;return}Ae=t.return}}function Dk(e){for(;Ae!==null;){var t=Ae,i=t.child;if(t.tag===re){var a=t.memoizedState!==null;if(a){SR(e);continue}}i!==null?(i.return=t,Ae=i):SR(e)}}function SR(e){for(;Ae!==null;){var t=Ae;_t(t);try{mk(t)}catch(a){Qt(t,t.return,a)}if(En(),t===e){Ae=null;return}var i=t.sibling;if(i!==null){i.return=t.return,Ae=i;return}Ae=t.return}}function kk(e,t,i,a){Ae=t,Ok(t,e,i,a)}function Ok(e,t,i,a){for(;Ae!==null;){var o=Ae,s=o.child;(o.subtreeFlags&ai)!==Ye&&s!==null?(s.return=o,Ae=s):Mk(e,t,i,a)}}function Mk(e,t,i,a){for(;Ae!==null;){var o=Ae;if((o.flags&Gt)!==Ye){_t(o);try{Lk(t,o,i,a)}catch(d){Qt(o,o.return,d)}En()}if(o===e){Ae=null;return}var s=o.sibling;if(s!==null){s.return=o.return,Ae=s;return}Ae=o.return}}function Lk(e,t,i,a){switch(t.tag){case D:case Q:case ge:{if(t.mode&Xe){sS();try{nu(dr|Yn,t)}finally{uS(t)}}else nu(dr|Yn,t);break}}}function _k(e){Ae=e,Nk()}function Nk(){for(;Ae!==null;){var e=Ae,t=e.child;if((Ae.flags&Dt)!==Ye){var i=e.deletions;if(i!==null){for(var a=0;a<i.length;a++){var o=i[a];Ae=o,Uk(o,e)}{var s=e.alternate;if(s!==null){var d=s.child;if(d!==null){s.child=null;do{var y=d.sibling;d.sibling=null,d=y}while(d!==null)}}}Ae=e}}(e.subtreeFlags&ai)!==Ye&&t!==null?(t.return=e,Ae=t):Ak()}}function Ak(){for(;Ae!==null;){var e=Ae;(e.flags&Gt)!==Ye&&(_t(e),zk(e),En());var t=e.sibling;if(t!==null){t.return=e.return,Ae=t;return}Ae=e.return}}function zk(e){switch(e.tag){case D:case Q:case ge:{e.mode&Xe?(sS(),xa(dr|Yn,e,e.return),uS(e)):xa(dr|Yn,e,e.return);break}}}function Uk(e,t){for(;Ae!==null;){var i=Ae;_t(i),Hk(i,t),En();var a=i.child;a!==null?(a.return=i,Ae=a):Fk(e)}}function Fk(e){for(;Ae!==null;){var t=Ae,i=t.sibling,a=t.return;if(fR(t),t===e){Ae=null;return}if(i!==null){i.return=a,Ae=i;return}Ae=a}}function Hk(e,t){switch(e.tag){case D:case Q:case ge:{e.mode&Xe?(sS(),xa(dr,e,t),uS(e)):xa(dr,e,t);break}}}function Pk(e){switch(e.tag){case D:case Q:case ge:{try{nu(Qn|Yn,e)}catch(i){Qt(e,e.return,i)}break}case w:{var t=e.stateNode;try{t.componentDidMount()}catch(i){Qt(e,e.return,i)}break}}}function Vk(e){switch(e.tag){case D:case Q:case ge:{try{nu(dr|Yn,e)}catch(t){Qt(e,e.return,t)}break}}}function Ik(e){switch(e.tag){case D:case Q:case ge:{try{xa(Qn|Yn,e,e.return)}catch(i){Qt(e,e.return,i)}break}case w:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&OS(e,e.return,t);break}}}function jk(e){switch(e.tag){case D:case Q:case ge:try{xa(dr|Yn,e,e.return)}catch(t){Qt(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Vp=Symbol.for;Vp("selector.component"),Vp("selector.has_pseudo_class"),Vp("selector.role"),Vp("selector.test_id"),Vp("selector.text")}var Bk=[];function $k(){Bk.forEach(function(e){return e()})}var Yk=v.ReactCurrentActQueue;function Qk(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,i=typeof jest<"u";return i&&t!==!1}}function ER(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&Yk.current!==null&&m("The current testing environment is not configured to support act(...)"),e}}var Wk=Math.ceil,NS=v.ReactCurrentDispatcher,AS=v.ReactCurrentOwner,mr=v.ReactCurrentBatchConfig,ba=v.ReactCurrentActQueue,Kn=0,CR=1,yr=2,Xi=4,Kl=0,Ip=1,Cs=2,ey=3,jp=4,RR=5,zS=6,gt=Kn,Wr=null,fn=null,Xn=J,ol=J,US=Wo(J),qn=Kl,Bp=null,ty=J,$p=J,ny=J,Yp=null,mi=null,FS=0,xR=500,TR=1/0,Gk=500,Xl=null;function Qp(){TR=Xt()+Gk}function wR(){return TR}var ry=!1,HS=null,Tf=null,Rs=!1,iu=null,Wp=J,PS=[],VS=null,Kk=50,Gp=0,IS=null,jS=!1,iy=!1,Xk=50,wf=0,ay=null,Kp=Pt,ly=J,bR=!1;function oy(){return Wr}function Gr(){return(gt&(yr|Xi))!==Kn?Xt():(Kp!==Pt||(Kp=Xt()),Kp)}function au(e){var t=e.mode;if((t&ct)===Ge)return qe;if((gt&yr)!==Kn&&Xn!==J)return Rn(Xn);var i=Qb()!==Yb;if(i){if(mr.transition!==null){var a=mr.transition;a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(e)}return ly===yt&&(ly=zd()),ly}var o=si();if(o!==yt)return o;var s=Mw();return s}function qk(e){var t=e.mode;return(t&ct)===Ge?qe:sg()}function Zn(e,t,i,a){CO(),bR&&m("useInsertionEffect must not schedule updates."),jS&&(iy=!0),_l(e,i,a),(gt&yr)!==J&&e===Wr?TO(t):(Bn&&Vd(e,t,i),wO(t),e===Wr&&((gt&yr)===Kn&&($p=ot($p,i)),qn===jp&&lu(e,Xn)),yi(e,a),i===qe&>===Kn&&(t.mode&ct)===Ge&&!ba.isBatchingLegacy&&(Qp(),wC()))}function Zk(e,t,i){var a=e.current;a.lanes=t,_l(e,t,i),yi(e,i)}function Jk(e){return(gt&yr)!==Kn}function yi(e,t){var i=e.callbackNode;lg(e,t);var a=Wu(e,e===Wr?Xn:J);if(a===J){i!==null&&jR(i),e.callbackNode=null,e.callbackPriority=yt;return}var o=hn(a),s=e.callbackPriority;if(s===o&&!(ba.current!==null&&i!==KS)){i==null&&s!==qe&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}i!=null&&jR(i);var d;if(o===qe)e.tag===Go?(ba.isBatchingLegacy!==null&&(ba.didScheduleLegacyUpdate=!0),kb(OR.bind(null,e))):TC(OR.bind(null,e)),ba.current!==null?ba.current.push(Ko):_w(function(){(gt&(yr|Xi))===Kn&&Ko()}),d=null;else{var y;switch(Zu(a)){case nr:y=uc;break;case $n:y=Br;break;case fa:y=Vi;break;case Xu:y=Pa;break;default:y=Vi;break}d=XS(y,DR.bind(null,e))}e.callbackPriority=o,e.callbackNode=d}function DR(e,t){if(CD(),Kp=Pt,ly=J,(gt&(yr|Xi))!==Kn)throw new Error("Should not already be working.");var i=e.callbackNode,a=Zl();if(a&&e.callbackNode!==i)return null;var o=Wu(e,e===Wr?Xn:J);if(o===J)return null;var s=!Ku(e,o)&&!Sh(e,o)&&!t,d=s?sO(e,o):sy(e,o);if(d!==Kl){if(d===Cs){var y=Nd(e);y!==J&&(o=y,d=BS(e,y))}if(d===Ip){var S=Bp;throw xs(e,J),lu(e,o),yi(e,Xt()),S}if(d===zS)lu(e,o);else{var x=!Ku(e,o),T=e.current.alternate;if(x&&!tO(T)){if(d=sy(e,o),d===Cs){var z=Nd(e);z!==J&&(o=z,d=BS(e,z))}if(d===Ip){var N=Bp;throw xs(e,J),lu(e,o),yi(e,Xt()),N}}e.finishedWork=T,e.finishedLanes=o,eO(e,d,o)}}return yi(e,Xt()),e.callbackNode===i?DR.bind(null,e):null}function BS(e,t){var i=Yp;if(Tn(e)){var a=xs(e,t);a.flags|=an,Cb(e.containerInfo)}var o=sy(e,t);if(o!==Cs){var s=mi;mi=i,s!==null&&kR(s)}return o}function kR(e){mi===null?mi=e:mi.push.apply(mi,e)}function eO(e,t,i){switch(t){case Kl:case Ip:throw new Error("Root did not complete. This is a bug in React.");case Cs:{Ts(e,mi,Xl);break}case ey:{if(lu(e,i),_c(i)&&!BR()){var a=FS+xR-Xt();if(a>10){var o=Wu(e,J);if(o!==J)break;var s=e.suspendedLanes;if(!Ll(s,i)){Gr(),Hd(e,s);break}e.timeoutHandle=Vg(Ts.bind(null,e,mi,Xl),a);break}}Ts(e,mi,Xl);break}case jp:{if(lu(e,i),gh(i))break;if(!BR()){var d=yh(e,i),y=d,S=Xt()-y,x=EO(S)-S;if(x>10){e.timeoutHandle=Vg(Ts.bind(null,e,mi,Xl),x);break}}Ts(e,mi,Xl);break}case RR:{Ts(e,mi,Xl);break}default:throw new Error("Unknown root exit status.")}}function tO(e){for(var t=e;;){if(t.flags&Vu){var i=t.updateQueue;if(i!==null){var a=i.stores;if(a!==null)for(var o=0;o<a.length;o++){var s=a[o],d=s.getSnapshot,y=s.value;try{if(!Ne(d(),y))return!1}catch{return!1}}}}var S=t.child;if(t.subtreeFlags&Vu&&S!==null){S.return=t,t=S;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function lu(e,t){t=Mo(t,ny),t=Mo(t,$p),Fd(e,t)}function OR(e){if(RD(),(gt&(yr|Xi))!==Kn)throw new Error("Should not already be working.");Zl();var t=Wu(e,J);if(!Lr(t,qe))return yi(e,Xt()),null;var i=sy(e,t);if(e.tag!==Go&&i===Cs){var a=Nd(e);a!==J&&(t=a,i=BS(e,a))}if(i===Ip){var o=Bp;throw xs(e,J),lu(e,t),yi(e,Xt()),o}if(i===zS)throw new Error("Root did not complete. This is a bug in React.");var s=e.current.alternate;return e.finishedWork=s,e.finishedLanes=t,Ts(e,mi,Xl),yi(e,Xt()),null}function nO(e,t){t!==J&&(Lo(e,ot(t,qe)),yi(e,Xt()),(gt&(yr|Xi))===Kn&&(Qp(),Ko()))}function $S(e,t){var i=gt;gt|=CR;try{return e(t)}finally{gt=i,gt===Kn&&!ba.isBatchingLegacy&&(Qp(),wC())}}function rO(e,t,i,a,o){var s=si(),d=mr.transition;try{return mr.transition=null,xn(nr),e(t,i,a,o)}finally{xn(s),mr.transition=d,gt===Kn&&Qp()}}function ql(e){iu!==null&&iu.tag===Go&&(gt&(yr|Xi))===Kn&&Zl();var t=gt;gt|=CR;var i=mr.transition,a=si();try{return mr.transition=null,xn(nr),e?e():void 0}finally{xn(a),mr.transition=i,gt=t,(gt&(yr|Xi))===Kn&&Ko()}}function MR(){return(gt&(yr|Xi))!==Kn}function uy(e,t){Nr(US,ol,e),ol=ot(ol,t)}function YS(e){ol=US.current,_r(US,e)}function xs(e,t){e.finishedWork=null,e.finishedLanes=J;var i=e.timeoutHandle;if(i!==Ig&&(e.timeoutHandle=Ig,Lw(i)),fn!==null)for(var a=fn.return;a!==null;){var o=a.alternate;aR(o,a),a=a.return}Wr=e;var s=ws(e.current,null);return fn=s,Xn=ol=t,qn=Kl,Bp=null,ty=J,$p=J,ny=J,Yp=null,mi=null,Xb(),ga.discardPendingWarnings(),s}function LR(e,t){do{var i=fn;try{if(mm(),o1(),En(),AS.current=null,i===null||i.return===null){qn=Ip,Bp=t,fn=null;return}if(Ve&&i.mode&Xe&&Gm(i,!0),Me)if(Rl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var a=t;vh(i,a,Xn)}else pc(i,t,Xn);DD(e,i.return,i,t,Xn),zR(i)}catch(o){t=o,fn===i&&i!==null?(i=i.return,fn=i):i=fn;continue}return}while(!0)}function _R(){var e=NS.current;return NS.current=Bm,e===null?Bm:e}function NR(e){NS.current=e}function iO(){FS=Xt()}function Xp(e){ty=ot(e,ty)}function aO(){qn===Kl&&(qn=ey)}function QS(){(qn===Kl||qn===ey||qn===Cs)&&(qn=jp),Wr!==null&&(Gu(ty)||Gu($p))&&lu(Wr,Xn)}function lO(e){qn!==jp&&(qn=Cs),Yp===null?Yp=[e]:Yp.push(e)}function oO(){return qn===Kl}function sy(e,t){var i=gt;gt|=yr;var a=_R();if(Wr!==e||Xn!==t){if(Bn){var o=e.memoizedUpdaters;o.size>0&&(qp(e,Xn),o.clear()),zc(e,t)}Xl=Id(),xs(e,t)}ki(t);do try{uO();break}catch(s){LR(e,s)}while(!0);if(mm(),gt=i,NR(a),fn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return wo(),Wr=null,Xn=J,qn}function uO(){for(;fn!==null;)AR(fn)}function sO(e,t){var i=gt;gt|=yr;var a=_R();if(Wr!==e||Xn!==t){if(Bn){var o=e.memoizedUpdaters;o.size>0&&(qp(e,Xn),o.clear()),zc(e,t)}Xl=Id(),Qp(),xs(e,t)}ki(t);do try{cO();break}catch(s){LR(e,s)}while(!0);return mm(),NR(a),gt=i,fn!==null?(Bu(),Kl):(wo(),Wr=null,Xn=J,qn)}function cO(){for(;fn!==null&&!oc();)AR(fn)}function AR(e){var t=e.alternate;_t(e);var i;(e.mode&Xe)!==Ge?(oS(e),i=WS(t,e,ol),Gm(e,!0)):i=WS(t,e,ol),En(),e.memoizedProps=e.pendingProps,i===null?zR(e):fn=i,AS.current=null}function zR(e){var t=e;do{var i=t.alternate,a=t.return;if((t.flags&Vr)===Ye){_t(t);var o=void 0;if((t.mode&Xe)===Ge?o=iR(i,t,ol):(oS(t),o=iR(i,t,ol),Gm(t,!1)),En(),o!==null){fn=o;return}}else{var s=ak(i,t);if(s!==null){s.flags&=ah,fn=s;return}if((t.mode&Xe)!==Ge){Gm(t,!1);for(var d=t.actualDuration,y=t.child;y!==null;)d+=y.actualDuration,y=y.sibling;t.actualDuration=d}if(a!==null)a.flags|=Vr,a.subtreeFlags=Ye,a.deletions=null;else{qn=zS,fn=null;return}}var S=t.sibling;if(S!==null){fn=S;return}t=a,fn=t}while(t!==null);qn===Kl&&(qn=RR)}function Ts(e,t,i){var a=si(),o=mr.transition;try{mr.transition=null,xn(nr),fO(e,t,i,a)}finally{mr.transition=o,xn(a)}return null}function fO(e,t,i,a){do Zl();while(iu!==null);if(RO(),(gt&(yr|Xi))!==Kn)throw new Error("Should not already be working.");var o=e.finishedWork,s=e.finishedLanes;if(cc(s),o===null)return kd(),null;if(s===J&&m("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=J,o===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=yt;var d=ot(o.lanes,o.childLanes);Pd(e,d),e===Wr&&(Wr=null,fn=null,Xn=J),((o.subtreeFlags&ai)!==Ye||(o.flags&ai)!==Ye)&&(Rs||(Rs=!0,VS=i,XS(Vi,function(){return Zl(),null})));var y=(o.subtreeFlags&(Ro|Dr|tr|ai))!==Ye,S=(o.flags&(Ro|Dr|tr|ai))!==Ye;if(y||S){var x=mr.transition;mr.transition=null;var T=si();xn(nr);var z=gt;gt|=Xi,AS.current=null,ck(e,o),_1(),Tk(e,o,s),Tw(e.containerInfo),e.current=o,hh(s),wk(o,e,s),To(),uh(),gt=z,xn(T),mr.transition=x}else e.current=o,_1();var N=Rs;if(Rs?(Rs=!1,iu=e,Wp=s):(wf=0,ay=null),d=e.pendingLanes,d===J&&(Tf=null),N||PR(e.current,!1),ua(o.stateNode,a),Bn&&e.memoizedUpdaters.clear(),$k(),yi(e,Xt()),t!==null)for(var Y=e.onRecoverableError,W=0;W<t.length;W++){var q=t[W],De=q.stack,We=q.digest;Y(q.value,{componentStack:De,digest:We})}if(ry){ry=!1;var Ie=HS;throw HS=null,Ie}return Lr(Wp,qe)&&e.tag!==Go&&Zl(),d=e.pendingLanes,Lr(d,qe)?(ED(),e===IS?Gp++:(Gp=0,IS=e)):Gp=0,Ko(),kd(),null}function Zl(){if(iu!==null){var e=Zu(Wp),t=fg(fa,e),i=mr.transition,a=si();try{return mr.transition=null,xn(t),pO()}finally{xn(a),mr.transition=i}}return!1}function dO(e){PS.push(e),Rs||(Rs=!0,XS(Vi,function(){return Zl(),null}))}function pO(){if(iu===null)return!1;var e=VS;VS=null;var t=iu,i=Wp;if(iu=null,Wp=J,(gt&(yr|Xi))!==Kn)throw new Error("Cannot flush passive effects while already rendering.");jS=!0,iy=!1,mh(i);var a=gt;gt|=Xi,_k(t.current),kk(t,t.current,i,e);{var o=PS;PS=[];for(var s=0;s<o.length;s++){var d=o[s];vk(t,d)}}ju(),PR(t.current,!0),gt=a,Ko(),iy?t===ay?wf++:(wf=0,ay=t):wf=0,jS=!1,iy=!1,Ia(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function UR(e){return Tf!==null&&Tf.has(e)}function vO(e){Tf===null?Tf=new Set([e]):Tf.add(e)}function hO(e){ry||(ry=!0,HS=e)}var mO=hO;function FR(e,t,i){var a=Ss(i,t),o=A1(e,a,qe),s=qo(e,o,qe),d=Gr();s!==null&&(_l(s,qe,d),yi(s,d))}function Qt(e,t,i){if(ok(i),Zp(!1),e.tag===O){FR(e,e,i);return}var a=null;for(a=t;a!==null;){if(a.tag===O){FR(a,e,i);return}else if(a.tag===w){var o=a.type,s=a.stateNode;if(typeof o.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&!UR(s)){var d=Ss(i,e),y=pS(a,d,qe),S=qo(a,y,qe),x=Gr();S!==null&&(_l(S,qe,x),yi(S,x));return}}a=a.return}m(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
144
|
+
|
|
145
|
+
Error message:
|
|
146
|
+
|
|
147
|
+
%s`,i)}function yO(e,t,i){var a=e.pingCache;a!==null&&a.delete(t);var o=Gr();Hd(e,i),bO(e),Wr===e&&Ll(Xn,i)&&(qn===jp||qn===ey&&_c(Xn)&&Xt()-FS<xR?xs(e,J):ny=ot(ny,i)),yi(e,o)}function HR(e,t){t===yt&&(t=qk(e));var i=Gr(),a=vi(e,t);a!==null&&(_l(a,t,i),yi(a,i))}function gO(e){var t=e.memoizedState,i=yt;t!==null&&(i=t.retryLane),HR(e,i)}function SO(e,t){var i=yt,a;switch(e.tag){case le:a=e.stateNode;var o=e.memoizedState;o!==null&&(i=o.retryLane);break;case Se:a=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}a!==null&&a.delete(t),HR(e,i)}function EO(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:Wk(e/1960)*1960}function CO(){if(Gp>Kk)throw Gp=0,IS=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");wf>Xk&&(wf=0,ay=null,m("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function RO(){ga.flushLegacyContextWarning(),ga.flushPendingUnsafeLifecycleWarnings()}function PR(e,t){_t(e),cy(e,br,Ik),t&&cy(e,Cl,jk),cy(e,br,Pk),t&&cy(e,Cl,Vk),En()}function cy(e,t,i){for(var a=e,o=null;a!==null;){var s=a.subtreeFlags&t;a!==o&&a.child!==null&&s!==Ye?a=a.child:((a.flags&t)!==Ye&&i(a),a.sibling!==null?a=a.sibling:a=o=a.return)}}var fy=null;function VR(e){{if((gt&yr)!==Kn||!(e.mode&ct))return;var t=e.tag;if(t!==F&&t!==O&&t!==w&&t!==D&&t!==Q&&t!==me&&t!==ge)return;var i=it(e)||"ReactComponent";if(fy!==null){if(fy.has(i))return;fy.add(i)}else fy=new Set([i]);var a=pn;try{_t(e),m("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{a?_t(e):En()}}}var WS;{var xO=null;WS=function(e,t,i){var a=GR(xO,t);try{return J1(e,t,i)}catch(s){if(Ub()||s!==null&&typeof s=="object"&&typeof s.then=="function")throw s;if(mm(),o1(),aR(e,t),GR(t,a),t.mode&Xe&&oS(t),El(null,J1,null,e,t,i),ig()){var o=yd();typeof o=="object"&&o!==null&&o._suppressLogging&&typeof s=="object"&&s!==null&&!s._suppressLogging&&(s._suppressLogging=!0)}throw s}}}var IR=!1,GS;GS=new Set;function TO(e){if(Jr&&!yD())switch(e.tag){case D:case Q:case ge:{var t=fn&&it(fn)||"Unknown",i=t;if(!GS.has(i)){GS.add(i);var a=it(e)||"Unknown";m("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",a,t,t)}break}case w:{IR||(m("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),IR=!0);break}}}function qp(e,t){if(Bn){var i=e.memoizedUpdaters;i.forEach(function(a){Vd(e,a,t)})}}var KS={};function XS(e,t){{var i=ba.current;return i!==null?(i.push(t),KS):lc(e,t)}}function jR(e){if(e!==KS)return oh(e)}function BR(){return ba.current!==null}function wO(e){{if(e.mode&ct){if(!ER())return}else if(!Qk()||gt!==Kn||e.tag!==D&&e.tag!==Q&&e.tag!==ge)return;if(ba.current===null){var t=pn;try{_t(e),m(`An update to %s inside a test was not wrapped in act(...).
|
|
148
|
+
|
|
149
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
150
|
+
|
|
151
|
+
act(() => {
|
|
152
|
+
/* fire events that update state */
|
|
153
|
+
});
|
|
154
|
+
/* assert on the output */
|
|
155
|
+
|
|
156
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,it(e))}finally{t?_t(e):En()}}}}function bO(e){e.tag!==Go&&ER()&&ba.current===null&&m(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
157
|
+
|
|
158
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
159
|
+
|
|
160
|
+
act(() => {
|
|
161
|
+
/* finish loading suspended data */
|
|
162
|
+
});
|
|
163
|
+
/* assert on the output */
|
|
164
|
+
|
|
165
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Zp(e){bR=e}var qi=null,bf=null,DO=function(e){qi=e};function Df(e){{if(qi===null)return e;var t=qi(e);return t===void 0?e:t.current}}function qS(e){return Df(e)}function ZS(e){{if(qi===null)return e;var t=qi(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var i=Df(e.render);if(e.render!==i){var a={$$typeof:oo,render:i};return e.displayName!==void 0&&(a.displayName=e.displayName),a}}return e}return t.current}}function $R(e,t){{if(qi===null)return!1;var i=e.elementType,a=t.type,o=!1,s=typeof a=="object"&&a!==null?a.$$typeof:null;switch(e.tag){case w:{typeof a=="function"&&(o=!0);break}case D:{(typeof a=="function"||s===ur)&&(o=!0);break}case Q:{(s===oo||s===ur)&&(o=!0);break}case me:case ge:{(s===uo||s===ur)&&(o=!0);break}default:return!1}if(o){var d=qi(i);if(d!==void 0&&d===qi(a))return!0}return!1}}function YR(e){{if(qi===null||typeof WeakSet!="function")return;bf===null&&(bf=new WeakSet),bf.add(e)}}var kO=function(e,t){{if(qi===null)return;var i=t.staleFamilies,a=t.updatedFamilies;Zl(),ql(function(){JS(e.current,a,i)})}},OO=function(e,t){{if(e.context!==Mi)return;Zl(),ql(function(){Jp(t,e,null,null)})}};function JS(e,t,i){{var a=e.alternate,o=e.child,s=e.sibling,d=e.tag,y=e.type,S=null;switch(d){case D:case ge:case w:S=y;break;case Q:S=y.render;break}if(qi===null)throw new Error("Expected resolveFamily to be set during hot reload.");var x=!1,T=!1;if(S!==null){var z=qi(S);z!==void 0&&(i.has(z)?T=!0:t.has(z)&&(d===w?T=!0:x=!0))}if(bf!==null&&(bf.has(e)||a!==null&&bf.has(a))&&(T=!0),T&&(e._debugNeedsRemount=!0),T||x){var N=vi(e,qe);N!==null&&Zn(N,e,qe,Pt)}o!==null&&!T&&JS(o,t,i),s!==null&&JS(s,t,i)}}var MO=function(e,t){{var i=new Set,a=new Set(t.map(function(o){return o.current}));return eE(e.current,a,i),i}};function eE(e,t,i){{var a=e.child,o=e.sibling,s=e.tag,d=e.type,y=null;switch(s){case D:case ge:case w:y=d;break;case Q:y=d.render;break}var S=!1;y!==null&&t.has(y)&&(S=!0),S?LO(e,i):a!==null&&eE(a,t,i),o!==null&&eE(o,t,i)}}function LO(e,t){{var i=_O(e,t);if(i)return;for(var a=e;;){switch(a.tag){case b:t.add(a.stateNode);return;case U:t.add(a.stateNode.containerInfo);return;case O:t.add(a.stateNode.containerInfo);return}if(a.return===null)throw new Error("Expected to reach root first.");a=a.return}}}function _O(e,t){for(var i=e,a=!1;;){if(i.tag===b)a=!0,t.add(i.stateNode);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return a;for(;i.sibling===null;){if(i.return===null||i.return===e)return a;i=i.return}i.sibling.return=i.return,i=i.sibling}return!1}var tE;{tE=!1;try{var QR=Object.preventExtensions({})}catch{tE=!0}}function NO(e,t,i,a){this.tag=e,this.key=i,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=a,this.flags=Ye,this.subtreeFlags=Ye,this.deletions=null,this.lanes=J,this.childLanes=J,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!tE&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Li=function(e,t,i,a){return new NO(e,t,i,a)};function nE(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function AO(e){return typeof e=="function"&&!nE(e)&&e.defaultProps===void 0}function zO(e){if(typeof e=="function")return nE(e)?w:D;if(e!=null){var t=e.$$typeof;if(t===oo)return Q;if(t===uo)return me}return F}function ws(e,t){var i=e.alternate;i===null?(i=Li(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i._debugSource=e._debugSource,i._debugOwner=e._debugOwner,i._debugHookTypes=e._debugHookTypes,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=Ye,i.subtreeFlags=Ye,i.deletions=null,i.actualDuration=0,i.actualStartTime=-1),i.flags=e.flags&jn,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue;var a=e.dependencies;switch(i.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.selfBaseDuration=e.selfBaseDuration,i.treeBaseDuration=e.treeBaseDuration,i._debugNeedsRemount=e._debugNeedsRemount,i.tag){case F:case D:case ge:i.type=Df(e.type);break;case w:i.type=qS(e.type);break;case Q:i.type=ZS(e.type);break}return i}function UO(e,t){e.flags&=jn|jt;var i=e.alternate;if(i===null)e.childLanes=J,e.lanes=t,e.child=null,e.subtreeFlags=Ye,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=Ye,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type;var a=i.dependencies;e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},e.selfBaseDuration=i.selfBaseDuration,e.treeBaseDuration=i.treeBaseDuration}return e}function FO(e,t,i){var a;return e===um?(a=ct,t===!0&&(a|=qt,a|=oi)):a=Ge,Bn&&(a|=Xe),Li(O,null,null,a)}function rE(e,t,i,a,o,s){var d=F,y=e;if(typeof e=="function")nE(e)?(d=w,y=qS(y)):y=Df(y);else if(typeof e=="string")d=b;else e:switch(e){case Zi:return ou(i.children,o,s,t);case lo:d=ne,o|=qt,(o&ct)!==Ge&&(o|=oi);break;case mu:return HO(i,o,s,t);case Fi:return PO(i,o,s,t);case yu:return VO(i,o,s,t);case Pf:return WR(i,o,s,t);case mv:case vv:case Uy:case Fy:case hv:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ff:d=ue;break e;case Hf:d=de;break e;case oo:d=Q,y=ZS(y);break e;case uo:d=me;break e;case ur:d=Ue,y=null;break e}var S="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(S+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var x=a?it(a):null;x&&(S+=`
|
|
166
|
+
|
|
167
|
+
Check the render method of \``+x+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+S))}}var T=Li(d,i,t,o);return T.elementType=e,T.type=y,T.lanes=s,T._debugOwner=a,T}function iE(e,t,i){var a=null;a=e._owner;var o=e.type,s=e.key,d=e.props,y=rE(o,s,d,a,t,i);return y._debugSource=e._source,y._debugOwner=e._owner,y}function ou(e,t,i,a){var o=Li(P,e,a,t);return o.lanes=i,o}function HO(e,t,i,a){typeof e.id!="string"&&m('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var o=Li(ee,e,a,t|Xe);return o.elementType=mu,o.lanes=i,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}function PO(e,t,i,a){var o=Li(le,e,a,t);return o.elementType=Fi,o.lanes=i,o}function VO(e,t,i,a){var o=Li(Se,e,a,t);return o.elementType=yu,o.lanes=i,o}function WR(e,t,i,a){var o=Li(re,e,a,t);o.elementType=Pf,o.lanes=i;var s={isHidden:!1};return o.stateNode=s,o}function aE(e,t,i){var a=Li(L,e,null,t);return a.lanes=i,a}function IO(){var e=Li(b,null,null,Ge);return e.elementType="DELETED",e}function jO(e){var t=Li(pe,null,null,Ge);return t.stateNode=e,t}function lE(e,t,i){var a=e.children!==null?e.children:[],o=Li(U,a,e.key,t);return o.lanes=i,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function GR(e,t){return e===null&&(e=Li(F,null,null,Ge)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function BO(e,t,i,a,o){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=Ig,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=yt,this.eventTimes=Ac(J),this.expirationTimes=Ac(Pt),this.pendingLanes=J,this.suspendedLanes=J,this.pingedLanes=J,this.expiredLanes=J,this.mutableReadLanes=J,this.finishedLanes=J,this.entangledLanes=J,this.entanglements=Ac(J),this.identifierPrefix=a,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var s=this.pendingUpdatersLaneMap=[],d=0;d<$t;d++)s.push(new Set)}switch(t){case um:this._debugRootType=i?"hydrateRoot()":"createRoot()";break;case Go:this._debugRootType=i?"hydrate()":"render()";break}}function KR(e,t,i,a,o,s,d,y,S,x){var T=new BO(e,t,i,y,S),z=FO(t,s);T.current=z,z.stateNode=T;{var N={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null};z.memoizedState=N}return v0(z),T}var oE="18.2.0";function $O(e,t,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return bt(a),{$$typeof:Ci,key:a==null?null:""+a,children:e,containerInfo:t,implementation:i}}var uE,sE;uE=!1,sE={};function XR(e){if(!e)return Mi;var t=ni(e),i=Db(t);if(t.tag===w){var a=t.type;if(el(a))return RC(t,a,i)}return i}function YO(e,t){{var i=ni(e);if(i===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var a=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+a)}var o=li(i);if(o===null)return null;if(o.mode&qt){var s=it(i)||"Component";if(!sE[s]){sE[s]=!0;var d=pn;try{_t(o),i.mode&qt?m("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,s):m("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,s)}finally{d?_t(d):En()}}}return o.stateNode}}function qR(e,t,i,a,o,s,d,y){var S=!1,x=null;return KR(e,t,S,x,i,a,o,s,d)}function ZR(e,t,i,a,o,s,d,y,S,x){var T=!0,z=KR(i,a,T,e,o,s,d,y,S);z.context=XR(null);var N=z.current,Y=Gr(),W=au(N),q=Wl(Y,W);return q.callback=t??null,qo(N,q,W),Zk(z,W,Y),z}function Jp(e,t,i,a){sh(t,e);var o=t.current,s=Gr(),d=au(o);xl(d);var y=XR(i);t.context===null?t.context=y:t.pendingContext=y,Jr&&pn!==null&&!uE&&(uE=!0,m(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
168
|
+
|
|
169
|
+
Check the render method of %s.`,it(pn)||"Unknown"));var S=Wl(s,d);S.payload={element:e},a=a===void 0?null:a,a!==null&&(typeof a!="function"&&m("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a),S.callback=a);var x=qo(o,S,d);return x!==null&&(Zn(x,o,d,s),Cm(x,o,d)),d}function dy(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case b:return t.child.stateNode;default:return t.child.stateNode}}function QO(e){switch(e.tag){case O:{var t=e.stateNode;if(Tn(t)){var i=og(t);nO(t,i)}break}case le:{ql(function(){var o=vi(e,qe);if(o!==null){var s=Gr();Zn(o,e,qe,s)}});var a=qe;cE(e,a);break}}}function JR(e,t){var i=e.memoizedState;i!==null&&i.dehydrated!==null&&(i.retryLane=Ch(i.retryLane,t))}function cE(e,t){JR(e,t);var i=e.alternate;i&&JR(i,t)}function WO(e){if(e.tag===le){var t=bo,i=vi(e,t);if(i!==null){var a=Gr();Zn(i,e,t,a)}cE(e,t)}}function GO(e){if(e.tag===le){var t=au(e),i=vi(e,t);if(i!==null){var a=Gr();Zn(i,e,t,a)}cE(e,t)}}function ex(e){var t=lh(e);return t===null?null:t.stateNode}var tx=function(e){return null};function KO(e){return tx(e)}var nx=function(e){return!1};function XO(e){return nx(e)}var rx=null,ix=null,ax=null,lx=null,ox=null,ux=null,sx=null,cx=null,fx=null;{var dx=function(e,t,i){var a=t[i],o=On(e)?e.slice():pt({},e);return i+1===t.length?(On(o)?o.splice(a,1):delete o[a],o):(o[a]=dx(e[a],t,i+1),o)},px=function(e,t){return dx(e,t,0)},vx=function(e,t,i,a){var o=t[a],s=On(e)?e.slice():pt({},e);if(a+1===t.length){var d=i[a];s[d]=s[o],On(s)?s.splice(o,1):delete s[o]}else s[o]=vx(e[o],t,i,a+1);return s},hx=function(e,t,i){if(t.length!==i.length){R("copyWithRename() expects paths of the same length");return}else for(var a=0;a<i.length-1;a++)if(t[a]!==i[a]){R("copyWithRename() expects paths to be the same except for the deepest key");return}return vx(e,t,i,0)},mx=function(e,t,i,a){if(i>=t.length)return a;var o=t[i],s=On(e)?e.slice():pt({},e);return s[o]=mx(e[o],t,i+1,a),s},yx=function(e,t,i){return mx(e,t,0,i)},fE=function(e,t){for(var i=e.memoizedState;i!==null&&t>0;)i=i.next,t--;return i};rx=function(e,t,i,a){var o=fE(e,t);if(o!==null){var s=yx(o.memoizedState,i,a);o.memoizedState=s,o.baseState=s,e.memoizedProps=pt({},e.memoizedProps);var d=vi(e,qe);d!==null&&Zn(d,e,qe,Pt)}},ix=function(e,t,i){var a=fE(e,t);if(a!==null){var o=px(a.memoizedState,i);a.memoizedState=o,a.baseState=o,e.memoizedProps=pt({},e.memoizedProps);var s=vi(e,qe);s!==null&&Zn(s,e,qe,Pt)}},ax=function(e,t,i,a){var o=fE(e,t);if(o!==null){var s=hx(o.memoizedState,i,a);o.memoizedState=s,o.baseState=s,e.memoizedProps=pt({},e.memoizedProps);var d=vi(e,qe);d!==null&&Zn(d,e,qe,Pt)}},lx=function(e,t,i){e.pendingProps=yx(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=vi(e,qe);a!==null&&Zn(a,e,qe,Pt)},ox=function(e,t){e.pendingProps=px(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=vi(e,qe);i!==null&&Zn(i,e,qe,Pt)},ux=function(e,t,i){e.pendingProps=hx(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=vi(e,qe);a!==null&&Zn(a,e,qe,Pt)},sx=function(e){var t=vi(e,qe);t!==null&&Zn(t,e,qe,Pt)},cx=function(e){tx=e},fx=function(e){nx=e}}function qO(e){var t=li(e);return t===null?null:t.stateNode}function ZO(e){return null}function JO(){return pn}function eM(e){var t=e.findFiberByHostInstance,i=v.ReactCurrentDispatcher;return bd({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:rx,overrideHookStateDeletePath:ix,overrideHookStateRenamePath:ax,overrideProps:lx,overridePropsDeletePath:ox,overridePropsRenamePath:ux,setErrorHandler:cx,setSuspenseHandler:fx,scheduleUpdate:sx,currentDispatcherRef:i,findHostInstanceByFiber:qO,findFiberByHostInstance:t||ZO,findHostInstancesForRefresh:MO,scheduleRefresh:kO,scheduleRoot:OO,setRefreshHandler:DO,getCurrentFiber:JO,reconcilerVersion:oE})}var gx=typeof reportError=="function"?reportError:function(e){console.error(e)};function dE(e){this._internalRoot=e}py.prototype.render=dE.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?m("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):vy(arguments[1])?m("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&m("You passed a second argument to root.render(...) but it only accepts one argument.");var i=t.containerInfo;if(i.nodeType!==vn){var a=ex(t.current);a&&a.parentNode!==i&&m("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}Jp(e,t,null,null)},py.prototype.unmount=dE.prototype.unmount=function(){typeof arguments[0]=="function"&&m("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;MR()&&m("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),ql(function(){Jp(null,e,null,null)}),yC(t)}};function tM(e,t){if(!vy(e))throw new Error("createRoot(...): Target container is not a DOM element.");Sx(e);var i=!1,a=!1,o="",s=gx;t!=null&&(t.hydrate?R("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===ao&&m(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
170
|
+
|
|
171
|
+
let root = createRoot(domContainer);
|
|
172
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var d=qR(e,um,null,i,a,o,s);tm(d.current,e);var y=e.nodeType===vn?e.parentNode:e;return op(y),new dE(d)}function py(e){this._internalRoot=e}function nM(e){e&&Oh(e)}py.prototype.unstable_scheduleHydration=nM;function rM(e,t,i){if(!vy(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Sx(e),t===void 0&&m("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=i??null,o=i!=null&&i.hydratedSources||null,s=!1,d=!1,y="",S=gx;i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(y=i.identifierPrefix),i.onRecoverableError!==void 0&&(S=i.onRecoverableError));var x=ZR(t,null,e,um,a,s,d,y,S);if(tm(x.current,e),op(e),o)for(var T=0;T<o.length;T++){var z=o[T];fD(x,z)}return new py(x)}function vy(e){return!!(e&&(e.nodeType===xr||e.nodeType===wi||e.nodeType===vl||!tt))}function ev(e){return!!(e&&(e.nodeType===xr||e.nodeType===wi||e.nodeType===vl||e.nodeType===vn&&e.nodeValue===" react-mount-point-unstable "))}function Sx(e){e.nodeType===xr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),gp(e)&&(e._reactRootContainer?m("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):m("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var iM=v.ReactCurrentOwner,Ex;Ex=function(e){if(e._reactRootContainer&&e.nodeType!==vn){var t=ex(e._reactRootContainer.current);t&&t.parentNode!==e&&m("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var i=!!e._reactRootContainer,a=pE(e),o=!!(a&&Qo(a));o&&!i&&m("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===xr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function pE(e){return e?e.nodeType===wi?e.documentElement:e.firstChild:null}function Cx(){}function aM(e,t,i,a,o){if(o){if(typeof a=="function"){var s=a;a=function(){var N=dy(d);s.call(N)}}var d=ZR(t,a,e,Go,null,!1,!1,"",Cx);e._reactRootContainer=d,tm(d.current,e);var y=e.nodeType===vn?e.parentNode:e;return op(y),ql(),d}else{for(var S;S=e.lastChild;)e.removeChild(S);if(typeof a=="function"){var x=a;a=function(){var N=dy(T);x.call(N)}}var T=qR(e,Go,null,!1,!1,"",Cx);e._reactRootContainer=T,tm(T.current,e);var z=e.nodeType===vn?e.parentNode:e;return op(z),ql(function(){Jp(t,T,i,a)}),T}}function lM(e,t){e!==null&&typeof e!="function"&&m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function hy(e,t,i,a,o){Ex(i),lM(o===void 0?null:o,"render");var s=i._reactRootContainer,d;if(!s)d=aM(i,t,e,o,a);else{if(d=s,typeof o=="function"){var y=o;o=function(){var S=dy(d);y.call(S)}}Jp(t,d,e,o)}return dy(d)}function oM(e){{var t=iM.current;if(t!==null&&t.stateNode!==null){var i=t.stateNode._warnedAboutRefsInRender;i||m("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Ft(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===xr?e:YO(e,"findDOMNode")}function uM(e,t,i){if(m("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!ev(t))throw new Error("Target container is not a DOM element.");{var a=gp(t)&&t._reactRootContainer===void 0;a&&m("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return hy(null,e,t,!0,i)}function sM(e,t,i){if(m("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!ev(t))throw new Error("Target container is not a DOM element.");{var a=gp(t)&&t._reactRootContainer===void 0;a&&m("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return hy(null,e,t,!1,i)}function cM(e,t,i,a){if(m("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!ev(i))throw new Error("Target container is not a DOM element.");if(e==null||!Pu(e))throw new Error("parentComponent must be a valid React Component");return hy(e,t,i,!1,a)}function fM(e){if(!ev(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=gp(e)&&e._reactRootContainer===void 0;t&&m("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var i=pE(e),a=i&&!Qo(i);a&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return ql(function(){hy(null,null,e,!1,function(){e._reactRootContainer=null,yC(e)})}),!0}else{{var o=pE(e),s=!!(o&&Qo(o)),d=e.nodeType===xr&&ev(e.parentNode)&&!!e.parentNode._reactRootContainer;s&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",d?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Oe(QO),xh(WO),es(GO),Bd(si),wh(qu),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&m("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),rh(vw),tc($S,rO,ql);function dM(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!vy(t))throw new Error("Target container is not a DOM element.");return $O(e,t,null,i)}function pM(e,t,i,a){return cM(e,t,i,a)}var vE={usingClientEntryPoint:!1,Events:[Qo,rf,nm,ec,Uu,$S]};function vM(e,t){return vE.usingClientEntryPoint||m('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),tM(e,t)}function hM(e,t,i){return vE.usingClientEntryPoint||m('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),rM(e,t,i)}function mM(e){return MR()&&m("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),ql(e)}var yM=eM({findFiberByHostInstance:cs,bundleType:1,version:oE,rendererPackageName:"react-dom"});if(!yM&&Vt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var Rx=window.location.protocol;/^(https?|file):$/.test(Rx)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(Rx==="file:"?`
|
|
173
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Si.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vE,Si.createPortal=dM,Si.createRoot=vM,Si.findDOMNode=oM,Si.flushSync=mM,Si.hydrate=uM,Si.hydrateRoot=hM,Si.render=sM,Si.unmountComponentAtNode=fM,Si.unstable_batchedUpdates=$S,Si.unstable_renderSubtreeIntoContainer=pM,Si.version=oE,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Si}function pT(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pT)}catch(f){console.error(f)}}}process.env.NODE_ENV==="production"?(pT(),OE.exports=tL()):OE.exports=nL();var vT=OE.exports;function Ox(f,p,v){let{reference:g,floating:C}=f;const R=pu(p),m=HE(p),M=FE(m),D=ro(p),w=R==="y",F=g.x+g.width/2-C.width/2,O=g.y+g.height/2-C.height/2,U=g[M]/2-C[M]/2;let b;switch(D){case"top":b={x:F,y:g.y-C.height};break;case"bottom":b={x:F,y:g.y+g.height};break;case"right":b={x:g.x+g.width,y:O};break;case"left":b={x:g.x-C.width,y:O};break;default:b={x:g.x,y:g.y}}switch(Af(p)){case"start":b[m]-=U*(v&&w?-1:1);break;case"end":b[m]+=U*(v&&w?-1:1);break}return b}const rL=async(f,p,v)=>{const{placement:g="bottom",strategy:C="absolute",middleware:R=[],platform:m}=v,M=R.filter(Boolean),D=await(m.isRTL==null?void 0:m.isRTL(p));let w=await m.getElementRects({reference:f,floating:p,strategy:C}),{x:F,y:O}=Ox(w,g,D),U=g,b={},L=0;for(let P=0;P<M.length;P++){const{name:ne,fn:de}=M[P],{x:ue,y:Q,data:ee,reset:le}=await de({x:F,y:O,initialPlacement:g,placement:U,strategy:C,middlewareData:b,rects:w,platform:m,elements:{reference:f,floating:p}});F=ue??F,O=Q??O,b={...b,[ne]:{...b[ne],...ee}},le&&L<=50&&(L++,typeof le=="object"&&(le.placement&&(U=le.placement),le.rects&&(w=le.rects===!0?await m.getElementRects({reference:f,floating:p,strategy:C}):le.rects),{x:F,y:O}=Ox(w,U,D)),P=-1)}return{x:F,y:O,placement:U,strategy:C,middlewareData:b}};async function PE(f,p){var v;p===void 0&&(p={});const{x:g,y:C,platform:R,rects:m,elements:M,strategy:D}=f,{boundary:w="clippingAncestors",rootBoundary:F="viewport",elementContext:O="floating",altBoundary:U=!1,padding:b=0}=du(p,f),L=oT(b),ne=M[U?O==="floating"?"reference":"floating":O],de=by(await R.getClippingRect({element:(v=await(R.isElement==null?void 0:R.isElement(ne)))==null||v?ne:ne.contextElement||await(R.getDocumentElement==null?void 0:R.getDocumentElement(M.floating)),boundary:w,rootBoundary:F,strategy:D})),ue=O==="floating"?{x:g,y:C,width:m.floating.width,height:m.floating.height}:m.reference,Q=await(R.getOffsetParent==null?void 0:R.getOffsetParent(M.floating)),ee=await(R.isElement==null?void 0:R.isElement(Q))?await(R.getScale==null?void 0:R.getScale(Q))||{x:1,y:1}:{x:1,y:1},le=by(R.convertOffsetParentRelativeRectToViewportRelativeRect?await R.convertOffsetParentRelativeRectToViewportRelativeRect({elements:M,rect:ue,offsetParent:Q,strategy:D}):ue);return{top:(de.top-le.top+L.top)/ee.y,bottom:(le.bottom-de.bottom+L.bottom)/ee.y,left:(de.left-le.left+L.left)/ee.x,right:(le.right-de.right+L.right)/ee.x}}const iL=f=>({name:"arrow",options:f,async fn(p){const{x:v,y:g,placement:C,rects:R,platform:m,elements:M,middlewareData:D}=p,{element:w,padding:F=0}=du(f,p)||{};if(w==null)return{};const O=oT(F),U={x:v,y:g},b=HE(C),L=FE(b),P=await m.getDimensions(w),ne=b==="y",de=ne?"top":"left",ue=ne?"bottom":"right",Q=ne?"clientHeight":"clientWidth",ee=R.reference[L]+R.reference[b]-U[b]-R.floating[L],le=U[b]-R.reference[b],me=await(m.getOffsetParent==null?void 0:m.getOffsetParent(w));let ge=me?me[Q]:0;(!ge||!await(m.isElement==null?void 0:m.isElement(me)))&&(ge=M.floating[Q]||R.floating[L]);const Ue=ee/2-le/2,je=ge/2-P[L]/2-1,pe=sl(O[de],je),Se=sl(O[ue],je),Ee=pe,re=ge-P[L]-Se,G=ge/2-P[L]/2+Ue,ce=bE(Ee,G,re),ie=!D.arrow&&Af(C)!=null&&G!==ce&&R.reference[L]/2-(G<Ee?pe:Se)-P[L]/2<0,se=ie?G<Ee?G-Ee:G-re:0;return{[b]:U[b]+se,data:{[b]:ce,centerOffset:G-ce-se,...ie&&{alignmentOffset:se}},reset:ie}}}),aL=function(f){return f===void 0&&(f={}),{name:"flip",options:f,async fn(p){var v,g;const{placement:C,middlewareData:R,rects:m,initialPlacement:M,platform:D,elements:w}=p,{mainAxis:F=!0,crossAxis:O=!0,fallbackPlacements:U,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:L="none",flipAlignment:P=!0,...ne}=du(f,p);if((v=R.arrow)!=null&&v.alignmentOffset)return{};const de=ro(C),ue=pu(M),Q=ro(M)===M,ee=await(D.isRTL==null?void 0:D.isRTL(w.floating)),le=U||(Q||!P?[wy(M)]:MM(M)),me=L!=="none";!U&&me&&le.push(..._M(M,P,L,ee));const ge=[M,...le],Ue=await PE(p,ne),je=[];let pe=((g=R.flip)==null?void 0:g.overflows)||[];if(F&&je.push(Ue[de]),O){const G=OM(C,m,ee);je.push(Ue[G[0]],Ue[G[1]])}if(pe=[...pe,{placement:C,overflows:je}],!je.every(G=>G<=0)){var Se,Ee;const G=(((Se=R.flip)==null?void 0:Se.index)||0)+1,ce=ge[G];if(ce)return{data:{index:G,overflows:pe},reset:{placement:ce}};let ie=(Ee=pe.filter(se=>se.overflows[0]<=0).sort((se,X)=>se.overflows[1]-X.overflows[1])[0])==null?void 0:Ee.placement;if(!ie)switch(b){case"bestFit":{var re;const se=(re=pe.filter(X=>{if(me){const fe=pu(X.placement);return fe===ue||fe==="y"}return!0}).map(X=>[X.placement,X.overflows.filter(fe=>fe>0).reduce((fe,$)=>fe+$,0)]).sort((X,fe)=>X[1]-fe[1])[0])==null?void 0:re[0];se&&(ie=se);break}case"initialPlacement":ie=M;break}if(C!==ie)return{reset:{placement:ie}}}return{}}}};async function lL(f,p){const{placement:v,platform:g,elements:C}=f,R=await(g.isRTL==null?void 0:g.isRTL(C.floating)),m=ro(v),M=Af(v),D=pu(v)==="y",w=["left","top"].includes(m)?-1:1,F=R&&D?-1:1,O=du(p,f);let{mainAxis:U,crossAxis:b,alignmentAxis:L}=typeof O=="number"?{mainAxis:O,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...O};return M&&typeof L=="number"&&(b=M==="end"?L*-1:L),D?{x:b*F,y:U*w}:{x:U*w,y:b*F}}const oL=function(f){return f===void 0&&(f=0),{name:"offset",options:f,async fn(p){var v,g;const{x:C,y:R,placement:m,middlewareData:M}=p,D=await lL(p,f);return m===((v=M.offset)==null?void 0:v.placement)&&(g=M.arrow)!=null&&g.alignmentOffset?{}:{x:C+D.x,y:R+D.y,data:{...D,placement:m}}}}},uL=function(f){return f===void 0&&(f={}),{name:"shift",options:f,async fn(p){const{x:v,y:g,placement:C}=p,{mainAxis:R=!0,crossAxis:m=!1,limiter:M={fn:ne=>{let{x:de,y:ue}=ne;return{x:de,y:ue}}},...D}=du(f,p),w={x:v,y:g},F=await PE(p,D),O=pu(ro(C)),U=UE(O);let b=w[U],L=w[O];if(R){const ne=U==="y"?"top":"left",de=U==="y"?"bottom":"right",ue=b+F[ne],Q=b-F[de];b=bE(ue,b,Q)}if(m){const ne=O==="y"?"top":"left",de=O==="y"?"bottom":"right",ue=L+F[ne],Q=L-F[de];L=bE(ue,L,Q)}const P=M.fn({...p,[U]:b,[O]:L});return{...P,data:{x:P.x-v,y:P.y-g}}}}},sL=function(f){return f===void 0&&(f={}),{options:f,fn(p){const{x:v,y:g,placement:C,rects:R,middlewareData:m}=p,{offset:M=0,mainAxis:D=!0,crossAxis:w=!0}=du(f,p),F={x:v,y:g},O=pu(C),U=UE(O);let b=F[U],L=F[O];const P=du(M,p),ne=typeof P=="number"?{mainAxis:P,crossAxis:0}:{mainAxis:0,crossAxis:0,...P};if(D){const Q=U==="y"?"height":"width",ee=R.reference[U]-R.floating[Q]+ne.mainAxis,le=R.reference[U]+R.reference[Q]-ne.mainAxis;b<ee?b=ee:b>le&&(b=le)}if(w){var de,ue;const Q=U==="y"?"width":"height",ee=["top","left"].includes(ro(C)),le=R.reference[O]-R.floating[Q]+(ee&&((de=m.offset)==null?void 0:de[O])||0)+(ee?0:ne.crossAxis),me=R.reference[O]+R.reference[Q]+(ee?0:((ue=m.offset)==null?void 0:ue[O])||0)-(ee?ne.crossAxis:0);L<le?L=le:L>me&&(L=me)}return{[U]:b,[O]:L}}}},cL=function(f){return f===void 0&&(f={}),{name:"size",options:f,async fn(p){const{placement:v,rects:g,platform:C,elements:R}=p,{apply:m=()=>{},...M}=du(f,p),D=await PE(p,M),w=ro(v),F=Af(v),O=pu(v)==="y",{width:U,height:b}=g.floating;let L,P;w==="top"||w==="bottom"?(L=w,P=F===(await(C.isRTL==null?void 0:C.isRTL(R.floating))?"start":"end")?"left":"right"):(P=w,L=F==="end"?"top":"bottom");const ne=b-D.top-D.bottom,de=U-D.left-D.right,ue=sl(b-D[L],ne),Q=sl(U-D[P],de),ee=!p.middlewareData.shift;let le=ue,me=Q;if(O?me=F||ee?sl(Q,de):de:le=F||ee?sl(ue,ne):ne,ee&&!F){const Ue=Ni(D.left,0),je=Ni(D.right,0),pe=Ni(D.top,0),Se=Ni(D.bottom,0);O?me=U-2*(Ue!==0||je!==0?Ue+je:Ni(D.left,D.right)):le=b-2*(pe!==0||Se!==0?pe+Se:Ni(D.top,D.bottom))}await m({...p,availableWidth:me,availableHeight:le});const ge=await C.getDimensions(R.floating);return U!==ge.width||b!==ge.height?{reset:{rects:!0}}:{}}}};function hT(f){const p=zi(f);let v=parseFloat(p.width)||0,g=parseFloat(p.height)||0;const C=Hn(f),R=C?f.offsetWidth:v,m=C?f.offsetHeight:g,M=Ty(v)!==R||Ty(g)!==m;return M&&(v=R,g=m),{width:v,height:g,$:M}}function VE(f){return Wt(f)?f:f.contextElement}function Lf(f){const p=VE(f);if(!Hn(p))return fu(1);const v=p.getBoundingClientRect(),{width:g,height:C,$:R}=hT(p);let m=(R?Ty(v.width):v.width)/g,M=(R?Ty(v.height):v.height)/C;return(!m||!Number.isFinite(m))&&(m=1),(!M||!Number.isFinite(M))&&(M=1),{x:m,y:M}}const fL=fu(0);function mT(f){const p=Ei(f);return!_E()||!p.visualViewport?fL:{x:p.visualViewport.offsetLeft,y:p.visualViewport.offsetTop}}function dL(f,p,v){return p===void 0&&(p=!1),!v||p&&v!==Ei(f)?!1:p}function ks(f,p,v,g){p===void 0&&(p=!1),v===void 0&&(v=!1);const C=f.getBoundingClientRect(),R=VE(f);let m=fu(1);p&&(g?Wt(g)&&(m=Lf(g)):m=Lf(f));const M=dL(R,v,g)?mT(R):fu(0);let D=(C.left+M.x)/m.x,w=(C.top+M.y)/m.y,F=C.width/m.x,O=C.height/m.y;if(R){const U=Ei(R),b=g&&Wt(g)?Ei(g):g;let L=U,P=L.frameElement;for(;P&&g&&b!==L;){const ne=Lf(P),de=P.getBoundingClientRect(),ue=zi(P),Q=de.left+(P.clientLeft+parseFloat(ue.paddingLeft))*ne.x,ee=de.top+(P.clientTop+parseFloat(ue.paddingTop))*ne.y;D*=ne.x,w*=ne.y,F*=ne.x,O*=ne.y,D+=Q,w+=ee,L=Ei(P),P=L.frameElement}}return by({width:F,height:O,x:D,y:w})}function pL(f){let{elements:p,rect:v,offsetParent:g,strategy:C}=f;const R=C==="fixed",m=io(g),M=p?_y(p.floating):!1;if(g===m||M&&R)return v;let D={scrollLeft:0,scrollTop:0},w=fu(1);const F=fu(0),O=Hn(g);if((O||!O&&!R)&&((vu(g)!=="body"||uv(m))&&(D=Ny(g)),Hn(g))){const U=ks(g);w=Lf(g),F.x=U.x+g.clientLeft,F.y=U.y+g.clientTop}return{width:v.width*w.x,height:v.height*w.y,x:v.x*w.x-D.scrollLeft*w.x+F.x,y:v.y*w.y-D.scrollTop*w.y+F.y}}function vL(f){return Array.from(f.getClientRects())}function yT(f){return ks(io(f)).left+Ny(f).scrollLeft}function hL(f){const p=io(f),v=Ny(f),g=f.ownerDocument.body,C=Ni(p.scrollWidth,p.clientWidth,g.scrollWidth,g.clientWidth),R=Ni(p.scrollHeight,p.clientHeight,g.scrollHeight,g.clientHeight);let m=-v.scrollLeft+yT(f);const M=-v.scrollTop;return zi(g).direction==="rtl"&&(m+=Ni(p.clientWidth,g.clientWidth)-C),{width:C,height:R,x:m,y:M}}function mL(f,p){const v=Ei(f),g=io(f),C=v.visualViewport;let R=g.clientWidth,m=g.clientHeight,M=0,D=0;if(C){R=C.width,m=C.height;const w=_E();(!w||w&&p==="fixed")&&(M=C.offsetLeft,D=C.offsetTop)}return{width:R,height:m,x:M,y:D}}function yL(f,p){const v=ks(f,!0,p==="fixed"),g=v.top+f.clientTop,C=v.left+f.clientLeft,R=Hn(f)?Lf(f):fu(1),m=f.clientWidth*R.x,M=f.clientHeight*R.y,D=C*R.x,w=g*R.y;return{width:m,height:M,x:D,y:w}}function Mx(f,p,v){let g;if(p==="viewport")g=mL(f,v);else if(p==="document")g=hL(io(f));else if(Wt(p))g=yL(p,v);else{const C=mT(f);g={...p,x:p.x-C.x,y:p.y-C.y}}return by(g)}function gT(f,p){const v=no(f);return v===p||!Wt(v)||cu(v)?!1:zi(v).position==="fixed"||gT(v,p)}function gL(f,p){const v=p.get(f);if(v)return v;let g=uu(f,[],!1).filter(M=>Wt(M)&&vu(M)!=="body"),C=null;const R=zi(f).position==="fixed";let m=R?no(f):f;for(;Wt(m)&&!cu(m);){const M=zi(m),D=LE(m);!D&&M.position==="fixed"&&(C=null),(R?!D&&!C:!D&&M.position==="static"&&!!C&&["absolute","fixed"].includes(C.position)||uv(m)&&!D&&gT(f,m))?g=g.filter(F=>F!==m):C=M,m=no(m)}return p.set(f,g),g}function SL(f){let{element:p,boundary:v,rootBoundary:g,strategy:C}=f;const m=[...v==="clippingAncestors"?_y(p)?[]:gL(p,this._c):[].concat(v),g],M=m[0],D=m.reduce((w,F)=>{const O=Mx(p,F,C);return w.top=Ni(O.top,w.top),w.right=sl(O.right,w.right),w.bottom=sl(O.bottom,w.bottom),w.left=Ni(O.left,w.left),w},Mx(p,M,C));return{width:D.right-D.left,height:D.bottom-D.top,x:D.left,y:D.top}}function EL(f){const{width:p,height:v}=hT(f);return{width:p,height:v}}function CL(f,p,v){const g=Hn(p),C=io(p),R=v==="fixed",m=ks(f,!0,R,p);let M={scrollLeft:0,scrollTop:0};const D=fu(0);if(g||!g&&!R)if((vu(p)!=="body"||uv(C))&&(M=Ny(p)),g){const O=ks(p,!0,R,p);D.x=O.x+p.clientLeft,D.y=O.y+p.clientTop}else C&&(D.x=yT(C));const w=m.left+M.scrollLeft-D.x,F=m.top+M.scrollTop-D.y;return{x:w,y:F,width:m.width,height:m.height}}function gE(f){return zi(f).position==="static"}function Lx(f,p){return!Hn(f)||zi(f).position==="fixed"?null:p?p(f):f.offsetParent}function ST(f,p){const v=Ei(f);if(_y(f))return v;if(!Hn(f)){let C=no(f);for(;C&&!cu(C);){if(Wt(C)&&!gE(C))return C;C=no(C)}return v}let g=Lx(f,p);for(;g&&CM(g)&&gE(g);)g=Lx(g,p);return g&&cu(g)&&gE(g)&&!LE(g)?v:g||RM(f)||v}const RL=async function(f){const p=this.getOffsetParent||ST,v=this.getDimensions,g=await v(f.floating);return{reference:CL(f.reference,await p(f.floating),f.strategy),floating:{x:0,y:0,width:g.width,height:g.height}}};function xL(f){return zi(f).direction==="rtl"}const TL={convertOffsetParentRelativeRectToViewportRelativeRect:pL,getDocumentElement:io,getClippingRect:SL,getOffsetParent:ST,getElementRects:RL,getClientRects:vL,getDimensions:EL,getScale:Lf,isElement:Wt,isRTL:xL};function wL(f,p){let v=null,g;const C=io(f);function R(){var M;clearTimeout(g),(M=v)==null||M.disconnect(),v=null}function m(M,D){M===void 0&&(M=!1),D===void 0&&(D=1),R();const{left:w,top:F,width:O,height:U}=f.getBoundingClientRect();if(M||p(),!O||!U)return;const b=Mf(F),L=Mf(C.clientWidth-(w+O)),P=Mf(C.clientHeight-(F+U)),ne=Mf(w),ue={rootMargin:-b+"px "+-L+"px "+-P+"px "+-ne+"px",threshold:Ni(0,sl(1,D))||1};let Q=!0;function ee(le){const me=le[0].intersectionRatio;if(me!==D){if(!Q)return m();me?m(!1,me):g=setTimeout(()=>{m(!1,1e-7)},1e3)}Q=!1}try{v=new IntersectionObserver(ee,{...ue,root:C.ownerDocument})}catch{v=new IntersectionObserver(ee,ue)}v.observe(f)}return m(!0),R}function bL(f,p,v,g){g===void 0&&(g={});const{ancestorScroll:C=!0,ancestorResize:R=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:M=typeof IntersectionObserver=="function",animationFrame:D=!1}=g,w=VE(f),F=C||R?[...w?uu(w):[],...uu(p)]:[];F.forEach(de=>{C&&de.addEventListener("scroll",v,{passive:!0}),R&&de.addEventListener("resize",v)});const O=w&&M?wL(w,v):null;let U=-1,b=null;m&&(b=new ResizeObserver(de=>{let[ue]=de;ue&&ue.target===w&&b&&(b.unobserve(p),cancelAnimationFrame(U),U=requestAnimationFrame(()=>{var Q;(Q=b)==null||Q.observe(p)})),v()}),w&&!D&&b.observe(w),b.observe(p));let L,P=D?ks(f):null;D&&ne();function ne(){const de=ks(f);P&&(de.x!==P.x||de.y!==P.y||de.width!==P.width||de.height!==P.height)&&v(),P=de,L=requestAnimationFrame(ne)}return v(),()=>{var de;F.forEach(ue=>{C&&ue.removeEventListener("scroll",v),R&&ue.removeEventListener("resize",v)}),O==null||O(),(de=b)==null||de.disconnect(),b=null,D&&cancelAnimationFrame(L)}}const DL=oL,kL=uL,OL=aL,ML=cL,_x=iL,LL=sL,_L=(f,p,v)=>{const g=new Map,C={platform:TL,...v},R={...C.platform,_c:g};return rL(f,p,{...C,platform:R})};var Ey=typeof document<"u"?su.useLayoutEffect:su.useEffect;function My(f,p){if(f===p)return!0;if(typeof f!=typeof p)return!1;if(typeof f=="function"&&f.toString()===p.toString())return!0;let v,g,C;if(f&&p&&typeof f=="object"){if(Array.isArray(f)){if(v=f.length,v!==p.length)return!1;for(g=v;g--!==0;)if(!My(f[g],p[g]))return!1;return!0}if(C=Object.keys(f),v=C.length,v!==Object.keys(p).length)return!1;for(g=v;g--!==0;)if(!{}.hasOwnProperty.call(p,C[g]))return!1;for(g=v;g--!==0;){const R=C[g];if(!(R==="_owner"&&f.$$typeof)&&!My(f[R],p[R]))return!1}return!0}return f!==f&&p!==p}function ET(f){return typeof window>"u"?1:(f.ownerDocument.defaultView||window).devicePixelRatio||1}function Nx(f,p){const v=ET(f);return Math.round(p*v)/v}function Ax(f){const p=H.useRef(f);return Ey(()=>{p.current=f}),p}function NL(f){f===void 0&&(f={});const{placement:p="bottom",strategy:v="absolute",middleware:g=[],platform:C,elements:{reference:R,floating:m}={},transform:M=!0,whileElementsMounted:D,open:w}=f,[F,O]=H.useState({x:0,y:0,strategy:v,placement:p,middlewareData:{},isPositioned:!1}),[U,b]=H.useState(g);My(U,g)||b(g);const[L,P]=H.useState(null),[ne,de]=H.useState(null),ue=H.useCallback(se=>{se!==me.current&&(me.current=se,P(se))},[]),Q=H.useCallback(se=>{se!==ge.current&&(ge.current=se,de(se))},[]),ee=R||L,le=m||ne,me=H.useRef(null),ge=H.useRef(null),Ue=H.useRef(F),je=D!=null,pe=Ax(D),Se=Ax(C),Ee=H.useCallback(()=>{if(!me.current||!ge.current)return;const se={placement:p,strategy:v,middleware:U};Se.current&&(se.platform=Se.current),_L(me.current,ge.current,se).then(X=>{const fe={...X,isPositioned:!0};re.current&&!My(Ue.current,fe)&&(Ue.current=fe,vT.flushSync(()=>{O(fe)}))})},[U,p,v,Se]);Ey(()=>{w===!1&&Ue.current.isPositioned&&(Ue.current.isPositioned=!1,O(se=>({...se,isPositioned:!1})))},[w]);const re=H.useRef(!1);Ey(()=>(re.current=!0,()=>{re.current=!1}),[]),Ey(()=>{if(ee&&(me.current=ee),le&&(ge.current=le),ee&&le){if(pe.current)return pe.current(ee,le,Ee);Ee()}},[ee,le,Ee,pe,je]);const G=H.useMemo(()=>({reference:me,floating:ge,setReference:ue,setFloating:Q}),[ue,Q]),ce=H.useMemo(()=>({reference:ee,floating:le}),[ee,le]),ie=H.useMemo(()=>{const se={position:v,left:0,top:0};if(!ce.floating)return se;const X=Nx(ce.floating,F.x),fe=Nx(ce.floating,F.y);return M?{...se,transform:"translate("+X+"px, "+fe+"px)",...ET(ce.floating)>=1.5&&{willChange:"transform"}}:{position:v,left:X,top:fe}},[v,M,ce.floating,F.x,F.y]);return H.useMemo(()=>({...F,update:Ee,refs:G,elements:ce,floatingStyles:ie}),[F,Ee,G,ce,ie])}const AL=f=>{function p(v){return{}.hasOwnProperty.call(v,"current")}return{name:"arrow",options:f,fn(v){const{element:g,padding:C}=typeof f=="function"?f(v):f;return g&&p(g)?g.current!=null?_x({element:g.current,padding:C}).fn(v):{}:g?_x({element:g,padding:C}).fn(v):{}}}},zL=(f,p)=>({...DL(f),options:[f,p]}),UL=(f,p)=>({...kL(f),options:[f,p]}),FL=(f,p)=>({...LL(f),options:[f,p]}),HL=(f,p)=>({...OL(f),options:[f,p]}),PL=(f,p)=>({...ML(f),options:[f,p]}),VL=(f,p)=>({...AL(f),options:[f,p]});function IL(f){return H.useMemo(()=>f.every(p=>p==null)?null:p=>{f.forEach(v=>{typeof v=="function"?v(p):v!=null&&(v.current=p)})},f)}const CT={...H},jL=CT.useInsertionEffect,BL=jL||(f=>f());function Cr(f){const p=H.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return BL(()=>{p.current=f}),H.useCallback(function(){for(var v=arguments.length,g=new Array(v),C=0;C<v;C++)g[C]=arguments[C];return p.current==null?void 0:p.current(...g)},[])}const IE="ArrowUp",sv="ArrowDown",Nf="ArrowLeft",zf="ArrowRight";function yy(f,p,v){return Math.floor(f/p)!==v}function nv(f,p){return p<0||p>=f.current.length}function SE(f,p){return Fr(f,{disabledIndices:p})}function zx(f,p){return Fr(f,{decrement:!0,startingIndex:f.current.length,disabledIndices:p})}function Fr(f,p){let{startingIndex:v=-1,decrement:g=!1,disabledIndices:C,amount:R=1}=p===void 0?{}:p;const m=f.current;let M=v;do M+=g?-R:R;while(M>=0&&M<=m.length-1&&Cy(m,M,C));return M}function $L(f,p){let{event:v,orientation:g,loop:C,cols:R,disabledIndices:m,minIndex:M,maxIndex:D,prevIndex:w,stopEvent:F=!1}=p,O=w;if(v.key===IE){if(F&&Sr(v),w===-1)O=D;else if(O=Fr(f,{startingIndex:O,amount:R,decrement:!0,disabledIndices:m}),C&&(w-R<M||O<0)){const U=w%R,b=D%R,L=D-(b-U);b===U?O=D:O=b>U?L:L-R}nv(f,O)&&(O=w)}if(v.key===sv&&(F&&Sr(v),w===-1?O=M:(O=Fr(f,{startingIndex:w,amount:R,disabledIndices:m}),C&&w+R>D&&(O=Fr(f,{startingIndex:w%R-R,amount:R,disabledIndices:m}))),nv(f,O)&&(O=w)),g==="both"){const U=Mf(w/R);v.key===zf&&(F&&Sr(v),w%R!==R-1?(O=Fr(f,{startingIndex:w,disabledIndices:m}),C&&yy(O,R,U)&&(O=Fr(f,{startingIndex:w-w%R-1,disabledIndices:m}))):C&&(O=Fr(f,{startingIndex:w-w%R-1,disabledIndices:m})),yy(O,R,U)&&(O=w)),v.key===Nf&&(F&&Sr(v),w%R!==0?(O=Fr(f,{startingIndex:w,decrement:!0,disabledIndices:m}),C&&yy(O,R,U)&&(O=Fr(f,{startingIndex:w+(R-w%R),decrement:!0,disabledIndices:m}))):C&&(O=Fr(f,{startingIndex:w+(R-w%R),decrement:!0,disabledIndices:m})),yy(O,R,U)&&(O=w));const b=Mf(D/R)===U;nv(f,O)&&(C&&b?O=v.key===Nf?D:Fr(f,{startingIndex:w-w%R-1,disabledIndices:m}):O=w)}return O}function YL(f,p,v){const g=[];let C=0;return f.forEach((R,m)=>{let{width:M,height:D}=R;if(M>p&&process.env.NODE_ENV!=="production")throw new Error("[Floating UI]: Invalid grid - item width at index "+m+" is greater than grid columns");let w=!1;for(v&&(C=0);!w;){const F=[];for(let O=0;O<M;O++)for(let U=0;U<D;U++)F.push(C+O+U*p);C%p+M<=p&&F.every(O=>g[O]==null)?(F.forEach(O=>{g[O]=m}),w=!0):C++}}),[...g]}function QL(f,p,v,g,C){if(f===-1)return-1;const R=v.indexOf(f),m=p[f];switch(C){case"tl":return R;case"tr":return m?R+m.width-1:R;case"bl":return m?R+(m.height-1)*g:R;case"br":return v.lastIndexOf(f)}}function WL(f,p){return p.flatMap((v,g)=>f.includes(v)?[g]:[])}function Cy(f,p,v){if(v)return v.includes(p);const g=f[p];return g==null||g.hasAttribute("disabled")||g.getAttribute("aria-disabled")==="true"}let Ux=0;function eo(f,p){p===void 0&&(p={});const{preventScroll:v=!1,cancelPrevious:g=!0,sync:C=!1}=p;g&&cancelAnimationFrame(Ux);const R=()=>f==null?void 0:f.focus({preventScroll:v});C?R():Ux=requestAnimationFrame(R)}var Mt=typeof document<"u"?su.useLayoutEffect:su.useEffect;function GL(f,p){const v=f.compareDocumentPosition(p);return v&Node.DOCUMENT_POSITION_FOLLOWING||v&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:v&Node.DOCUMENT_POSITION_PRECEDING||v&Node.DOCUMENT_POSITION_CONTAINS?1:0}function KL(f,p){if(f.size!==p.size)return!1;for(const[v,g]of f.entries())if(g!==p.get(v))return!1;return!0}const RT=H.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function XL(f){const{children:p,elementsRef:v,labelsRef:g}=f,[C,R]=H.useState(()=>new Map),m=H.useCallback(D=>{R(w=>new Map(w).set(D,null))},[]),M=H.useCallback(D=>{R(w=>{const F=new Map(w);return F.delete(D),F})},[]);return Mt(()=>{const D=new Map(C);Array.from(D.keys()).sort(GL).forEach((F,O)=>{D.set(F,O)}),KL(C,D)||R(D)},[C]),H.createElement(RT.Provider,{value:H.useMemo(()=>({register:m,unregister:M,map:C,elementsRef:v,labelsRef:g}),[m,M,C,v,g])},p)}function qL(f){f===void 0&&(f={});const{label:p}=f,{register:v,unregister:g,map:C,elementsRef:R,labelsRef:m}=H.useContext(RT),[M,D]=H.useState(null),w=H.useRef(null),F=H.useCallback(O=>{if(w.current=O,M!==null&&(R.current[M]=O,m)){var U;const b=p!==void 0;m.current[M]=b?p:(U=O==null?void 0:O.textContent)!=null?U:null}},[M,R,m,p]);return Mt(()=>{const O=w.current;if(O)return v(O),()=>{g(O)}},[v,g]),Mt(()=>{const O=w.current?C.get(w.current):null;O!=null&&D(O)},[C]),H.useMemo(()=>({ref:F,index:M??-1}),[M,F])}function av(){return av=Object.assign?Object.assign.bind():function(f){for(var p=1;p<arguments.length;p++){var v=arguments[p];for(var g in v)Object.prototype.hasOwnProperty.call(v,g)&&(f[g]=v[g])}return f},av.apply(this,arguments)}let Fx=!1,ZL=0;const Hx=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+ZL++;function JL(){const[f,p]=H.useState(()=>Fx?Hx():void 0);return Mt(()=>{f==null&&p(Hx())},[]),H.useEffect(()=>{Fx=!0},[]),f}const e_=CT.useId,cv=e_||JL;let lv;process.env.NODE_ENV!=="production"&&(lv=new Set);function Ry(){for(var f,p=arguments.length,v=new Array(p),g=0;g<p;g++)v[g]=arguments[g];const C="Floating UI: "+v.join(" ");if(!((f=lv)!=null&&f.has(C))){var R;(R=lv)==null||R.add(C),console.warn(C)}}function t_(){for(var f,p=arguments.length,v=new Array(p),g=0;g<p;g++)v[g]=arguments[g];const C="Floating UI: "+v.join(" ");if(!((f=lv)!=null&&f.has(C))){var R;(R=lv)==null||R.add(C),console.error(C)}}const n_=H.forwardRef(function(p,v){const{context:{placement:g,elements:{floating:C},middlewareData:{arrow:R}},width:m=14,height:M=7,tipRadius:D=0,strokeWidth:w=0,staticOffset:F,stroke:O,d:U,style:{transform:b,...L}={},...P}=p;process.env.NODE_ENV!=="production"&&(v||Ry("The `ref` prop is required for `FloatingArrow`."));const ne=cv(),[de,ue]=H.useState(!1);if(Mt(()=>{if(!C)return;zi(C).direction==="rtl"&&ue(!0)},[C]),!C)return null;const Q=w*2,ee=Q/2,le=m/2*(D/-8+1),me=M/2*D/4,[ge,Ue]=g.split("-"),je=!!U,pe=ge==="top"||ge==="bottom",Se=F&&Ue==="end"?"bottom":"top";let Ee=F&&Ue==="end"?"right":"left";F&&de&&(Ee=Ue==="end"?"left":"right");const re=(R==null?void 0:R.x)!=null?F||R.x:"",G=(R==null?void 0:R.y)!=null?F||R.y:"",ce=U||"M0,0"+(" H"+m)+(" L"+(m-le)+","+(M-me))+(" Q"+m/2+","+M+" "+le+","+(M-me))+" Z",ie={top:je?"rotate(180deg)":"",left:je?"rotate(90deg)":"rotate(-90deg)",bottom:je?"":"rotate(180deg)",right:je?"rotate(-90deg)":"rotate(90deg)"}[ge];return H.createElement("svg",av({},P,{"aria-hidden":!0,ref:v,width:je?m:m+Q,height:m,viewBox:"0 0 "+m+" "+(M>m?M:m),style:{position:"absolute",pointerEvents:"none",[Ee]:re,[Se]:G,[ge]:pe||je?"100%":"calc(100% - "+Q/2+"px)",transform:""+ie+(b??""),...L}}),Q>0&&H.createElement("path",{clipPath:"url(#"+ne+")",fill:"none",stroke:O,strokeWidth:Q+(U?0:1),d:ce}),H.createElement("path",{stroke:Q&&!U?P.fill:"none",d:ce}),H.createElement("clipPath",{id:ne},H.createElement("rect",{x:-ee,y:ee*(je?-1:1),width:m+Q,height:m})))});function xT(){const f=new Map;return{emit(p,v){var g;(g=f.get(p))==null||g.forEach(C=>C(v))},on(p,v){f.set(p,[...f.get(p)||[],v])},off(p,v){var g;f.set(p,((g=f.get(p))==null?void 0:g.filter(C=>C!==v))||[])}}}const TT=H.createContext(null),wT=H.createContext(null),Ms=()=>{var f;return((f=H.useContext(TT))==null?void 0:f.id)||null},Ls=()=>H.useContext(wT);function r_(f){const p=cv(),v=Ls(),g=Ms(),C=f||g;return Mt(()=>{const R={id:p,parentId:C};return v==null||v.addNode(R),()=>{v==null||v.removeNode(R)}},[v,p,C]),p}function i_(f){const{children:p,id:v}=f,g=Ms();return H.createElement(TT.Provider,{value:H.useMemo(()=>({id:v,parentId:g}),[v,g])},p)}function a_(f){const{children:p}=f,v=H.useRef([]),g=H.useCallback(m=>{v.current=[...v.current,m]},[]),C=H.useCallback(m=>{v.current=v.current.filter(M=>M!==m)},[]),R=H.useState(()=>xT())[0];return H.createElement(wT.Provider,{value:H.useMemo(()=>({nodesRef:v,addNode:g,removeNode:C,events:R}),[g,C,R])},p)}function Os(f){return"data-floating-ui-"+f}function Ai(f){const p=su.useRef(f);return Mt(()=>{p.current=f}),p}const Px=Os("safe-polygon");function xy(f,p,v){return v&&!iv(v)?0:typeof f=="number"?f:f==null?void 0:f[p]}function l_(f,p){p===void 0&&(p={});const{open:v,onOpenChange:g,dataRef:C,events:R,elements:m}=f,{enabled:M=!0,delay:D=0,handleClose:w=null,mouseOnly:F=!1,restMs:O=0,move:U=!0}=p,b=Ls(),L=Ms(),P=Ai(w),ne=Ai(D),de=Ai(v),ue=H.useRef(),Q=H.useRef(-1),ee=H.useRef(),le=H.useRef(-1),me=H.useRef(!0),ge=H.useRef(!1),Ue=H.useRef(()=>{}),je=H.useCallback(()=>{var ce;const ie=(ce=C.current.openEvent)==null?void 0:ce.type;return(ie==null?void 0:ie.includes("mouse"))&&ie!=="mousedown"},[C]);H.useEffect(()=>{if(!M)return;function ce(ie){let{open:se}=ie;se||(clearTimeout(Q.current),clearTimeout(le.current),me.current=!0)}return R.on("openchange",ce),()=>{R.off("openchange",ce)}},[M,R]),H.useEffect(()=>{if(!M||!P.current||!v)return;function ce(se){je()&&g(!1,se,"hover")}const ie=Er(m.floating).documentElement;return ie.addEventListener("mouseleave",ce),()=>{ie.removeEventListener("mouseleave",ce)}},[m.floating,v,g,M,P,je]);const pe=H.useCallback(function(ce,ie,se){ie===void 0&&(ie=!0),se===void 0&&(se="hover");const X=xy(ne.current,"close",ue.current);X&&!ee.current?(clearTimeout(Q.current),Q.current=window.setTimeout(()=>g(!1,ce,se),X)):ie&&(clearTimeout(Q.current),g(!1,ce,se))},[ne,g]),Se=Cr(()=>{Ue.current(),ee.current=void 0}),Ee=Cr(()=>{if(ge.current){const ce=Er(m.floating).body;ce.style.pointerEvents="",ce.removeAttribute(Px),ge.current=!1}});H.useEffect(()=>{if(!M)return;function ce(){return C.current.openEvent?["click","mousedown"].includes(C.current.openEvent.type):!1}function ie($){if(clearTimeout(Q.current),me.current=!1,F&&!iv(ue.current)||O>0&&!xy(ne.current,"open"))return;const ze=xy(ne.current,"open",ue.current);ze?Q.current=window.setTimeout(()=>{de.current||g(!0,$,"hover")},ze):g(!0,$,"hover")}function se($){if(ce())return;Ue.current();const ze=Er(m.floating);if(clearTimeout(le.current),P.current&&C.current.floatingContext){v||clearTimeout(Q.current),ee.current=P.current({...C.current.floatingContext,tree:b,x:$.clientX,y:$.clientY,onClose(){Ee(),Se(),pe($,!0,"safe-polygon")}});const wt=ee.current;ze.addEventListener("mousemove",wt),Ue.current=()=>{ze.removeEventListener("mousemove",wt)};return}(ue.current==="touch"?!Fn(m.floating,$.relatedTarget):!0)&&pe($)}function X($){ce()||C.current.floatingContext&&(P.current==null||P.current({...C.current.floatingContext,tree:b,x:$.clientX,y:$.clientY,onClose(){Ee(),Se(),pe($)}})($))}if(Wt(m.domReference)){var fe;const $=m.domReference;return v&&$.addEventListener("mouseleave",X),(fe=m.floating)==null||fe.addEventListener("mouseleave",X),U&&$.addEventListener("mousemove",ie,{once:!0}),$.addEventListener("mouseenter",ie),$.addEventListener("mouseleave",se),()=>{var ze;v&&$.removeEventListener("mouseleave",X),(ze=m.floating)==null||ze.removeEventListener("mouseleave",X),U&&$.removeEventListener("mousemove",ie),$.removeEventListener("mouseenter",ie),$.removeEventListener("mouseleave",se)}}},[m,M,f,F,O,U,pe,Se,Ee,g,v,de,b,ne,P,C]),Mt(()=>{var ce;if(M&&v&&(ce=P.current)!=null&&ce.__options.blockPointerEvents&&je()){const se=Er(m.floating).body;se.setAttribute(Px,""),se.style.pointerEvents="none",ge.current=!0;const X=m.floating;if(Wt(m.domReference)&&X){var ie;const fe=m.domReference,$=b==null||(ie=b.nodesRef.current.find(ze=>ze.id===L))==null||(ie=ie.context)==null?void 0:ie.elements.floating;return $&&($.style.pointerEvents=""),fe.style.pointerEvents="auto",X.style.pointerEvents="auto",()=>{fe.style.pointerEvents="",X.style.pointerEvents=""}}}},[M,v,L,m,b,P,je]),Mt(()=>{v||(ue.current=void 0,Se(),Ee())},[v,Se,Ee]),H.useEffect(()=>()=>{Se(),clearTimeout(Q.current),clearTimeout(le.current),Ee()},[M,m.domReference,Se,Ee]);const re=H.useMemo(()=>{function ce(ie){ue.current=ie.pointerType}return{onPointerDown:ce,onPointerEnter:ce,onMouseMove(ie){const{nativeEvent:se}=ie;function X(){!me.current&&!de.current&&g(!0,se,"hover")}F&&!iv(ue.current)||v||O===0||(clearTimeout(le.current),ue.current==="touch"?X():le.current=window.setTimeout(X,O))}}},[F,g,v,de,O]),G=H.useMemo(()=>({onMouseEnter(){clearTimeout(Q.current)},onMouseLeave(ce){pe(ce.nativeEvent,!1)}}),[pe]);return H.useMemo(()=>M?{reference:re,floating:G}:{},[M,re,G])}const ME=()=>{},bT=H.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:ME,setState:ME,isInstantPhase:!1}),DT=()=>H.useContext(bT);function o_(f){const{children:p,delay:v,timeoutMs:g=0}=f,[C,R]=H.useReducer((D,w)=>({...D,...w}),{delay:v,timeoutMs:g,initialDelay:v,currentId:null,isInstantPhase:!1}),m=H.useRef(null),M=H.useCallback(D=>{R({currentId:D})},[]);return Mt(()=>{C.currentId?m.current===null?m.current=C.currentId:C.isInstantPhase||R({isInstantPhase:!0}):(C.isInstantPhase&&R({isInstantPhase:!1}),m.current=null)},[C.currentId,C.isInstantPhase]),H.createElement(bT.Provider,{value:H.useMemo(()=>({...C,setState:R,setCurrentId:M}),[C,M])},p)}function u_(f,p){p===void 0&&(p={});const{open:v,onOpenChange:g,floatingId:C}=f,{id:R}=p,m=R??C,M=DT(),{currentId:D,setCurrentId:w,initialDelay:F,setState:O,timeoutMs:U}=M;return Mt(()=>{D&&(O({delay:{open:1,close:xy(F,"close")}}),D!==m&&g(!1))},[m,g,O,D,F]),Mt(()=>{function b(){g(!1),O({delay:F,currentId:null})}if(D&&!v&&D===m){if(U){const L=window.setTimeout(b,U);return()=>{clearTimeout(L)}}b()}},[v,O,D,m,g,F,U]),Mt(()=>{w===ME||!v||w(m)},[v,w,m]),M}function s_(f,p){var v;let g=[],C=(v=f.find(R=>R.id===p))==null?void 0:v.parentId;for(;C;){const R=f.find(m=>m.id===C);C=R==null?void 0:R.parentId,R&&(g=g.concat(R))}return g}function Ds(f,p){let v=f.filter(C=>{var R;return C.parentId===p&&((R=C.context)==null?void 0:R.open)}),g=v;for(;g.length;)g=f.filter(C=>{var R;return(R=g)==null?void 0:R.some(m=>{var M;return C.parentId===m.id&&((M=C.context)==null?void 0:M.open)})}),v=v.concat(g);return v}function c_(f,p){let v,g=-1;function C(R,m){m>g&&(v=R,g=m),Ds(f,R).forEach(D=>{C(D.id,m+1)})}return C(p,0),f.find(R=>R.id===v)}let Of=new WeakMap,gy=new WeakSet,Sy={},EE=0;const f_=()=>typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype,kT=f=>f&&(f.host||kT(f.parentNode)),d_=(f,p)=>p.map(v=>{if(f.contains(v))return v;const g=kT(v);return f.contains(g)?g:null}).filter(v=>v!=null);function p_(f,p,v,g){const C="data-floating-ui-inert",R=g?"inert":v?"aria-hidden":null,m=d_(p,f),M=new Set,D=new Set(m),w=[];Sy[C]||(Sy[C]=new WeakMap);const F=Sy[C];m.forEach(O),U(p),M.clear();function O(b){!b||M.has(b)||(M.add(b),b.parentNode&&O(b.parentNode))}function U(b){!b||D.has(b)||[].forEach.call(b.children,L=>{if(vu(L)!=="script")if(M.has(L))U(L);else{const P=R?L.getAttribute(R):null,ne=P!==null&&P!=="false",de=(Of.get(L)||0)+1,ue=(F.get(L)||0)+1;Of.set(L,de),F.set(L,ue),w.push(L),de===1&&ne&&gy.add(L),ue===1&&L.setAttribute(C,""),!ne&&R&&L.setAttribute(R,"true")}})}return EE++,()=>{w.forEach(b=>{const L=(Of.get(b)||0)-1,P=(F.get(b)||0)-1;Of.set(b,L),F.set(b,P),L||(!gy.has(b)&&R&&b.removeAttribute(R),gy.delete(b)),P||b.removeAttribute(C)}),EE--,EE||(Of=new WeakMap,Of=new WeakMap,gy=new WeakSet,Sy={})}}function Vx(f,p,v){p===void 0&&(p=!1),v===void 0&&(v=!1);const g=Er(f[0]).body;return p_(f.concat(Array.from(g.querySelectorAll("[aria-live]"))),g,p,v)}const ov=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function OT(f,p){const v=Ay(f,ov());p==="prev"&&v.reverse();const g=v.indexOf(Da(Er(f)));return v.slice(g+1)[0]}function MT(){return OT(document.body,"next")}function LT(){return OT(document.body,"prev")}function rv(f,p){const v=p||f.currentTarget,g=f.relatedTarget;return!g||!Fn(v,g)}function v_(f){Ay(f,ov()).forEach(v=>{v.dataset.tabindex=v.getAttribute("tabindex")||"",v.setAttribute("tabindex","-1")})}function h_(f){f.querySelectorAll("[data-tabindex]").forEach(v=>{const g=v.dataset.tabindex;delete v.dataset.tabindex,g?v.setAttribute("tabindex",g):v.removeAttribute("tabindex")})}const jE={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};let m_;function Ix(f){f.key==="Tab"&&(f.target,clearTimeout(m_))}const Ly=H.forwardRef(function(p,v){const[g,C]=H.useState();Mt(()=>(AE()&&C("button"),document.addEventListener("keydown",Ix),()=>{document.removeEventListener("keydown",Ix)}),[]);const R={ref:v,tabIndex:0,role:g,"aria-hidden":g?void 0:!0,[Os("focus-guard")]:"",style:jE};return H.createElement("span",av({},p,R))}),_T=H.createContext(null),jx=Os("portal");function y_(f){f===void 0&&(f={});const{id:p,root:v}=f,g=cv(),C=NT(),[R,m]=H.useState(null),M=H.useRef(null);return Mt(()=>()=>{R==null||R.remove(),queueMicrotask(()=>{M.current=null})},[R]),Mt(()=>{if(!g||M.current)return;const D=p?document.getElementById(p):null;if(!D)return;const w=document.createElement("div");w.id=g,w.setAttribute(jx,""),D.appendChild(w),M.current=w,m(w)},[p,g]),Mt(()=>{if(!g||M.current)return;let D=v||(C==null?void 0:C.portalNode);D&&!Wt(D)&&(D=D.current),D=D||document.body;let w=null;p&&(w=document.createElement("div"),w.id=p,D.appendChild(w));const F=document.createElement("div");F.id=g,F.setAttribute(jx,""),D=w||D,D.appendChild(F),M.current=F,m(F)},[p,v,g,C]),R}function g_(f){const{children:p,id:v,root:g=null,preserveTabOrder:C=!0}=f,R=y_({id:v,root:g}),[m,M]=H.useState(null),D=H.useRef(null),w=H.useRef(null),F=H.useRef(null),O=H.useRef(null),U=!!m&&!m.modal&&m.open&&C&&!!(g||R);return H.useEffect(()=>{if(!R||!C||m!=null&&m.modal)return;function b(L){R&&rv(L)&&(L.type==="focusin"?h_:v_)(R)}return R.addEventListener("focusin",b,!0),R.addEventListener("focusout",b,!0),()=>{R.removeEventListener("focusin",b,!0),R.removeEventListener("focusout",b,!0)}},[R,C,m==null?void 0:m.modal]),H.createElement(_T.Provider,{value:H.useMemo(()=>({preserveTabOrder:C,beforeOutsideRef:D,afterOutsideRef:w,beforeInsideRef:F,afterInsideRef:O,portalNode:R,setFocusManagerState:M}),[C,R])},U&&R&&H.createElement(Ly,{"data-type":"outside",ref:D,onFocus:b=>{if(rv(b,R)){var L;(L=F.current)==null||L.focus()}else{const P=LT()||(m==null?void 0:m.refs.domReference.current);P==null||P.focus()}}}),U&&R&&H.createElement("span",{"aria-owns":R.id,style:jE}),R&&vT.createPortal(p,R),U&&R&&H.createElement(Ly,{"data-type":"outside",ref:w,onFocus:b=>{if(rv(b,R)){var L;(L=O.current)==null||L.focus()}else{const P=MT()||(m==null?void 0:m.refs.domReference.current);P==null||P.focus(),m!=null&&m.closeOnFocusOut&&(m==null||m.onOpenChange(!1,b.nativeEvent))}}}))}const NT=()=>H.useContext(_T),Bx=20;let bs=[];function CE(f){bs=bs.filter(v=>v.isConnected);let p=f;if(!(!p||vu(p)==="body")){if(!ZM(p,ov())){const v=Ay(p,ov())[0];v&&(p=v)}bs.push(p),bs.length>Bx&&(bs=bs.slice(-Bx))}}function $x(){return bs.slice().reverse().find(f=>f.isConnected)}const S_=H.forwardRef(function(p,v){return H.createElement("button",av({},p,{type:"button",ref:v,tabIndex:-1,style:jE}))});function E_(f){const{context:p,children:v,disabled:g=!1,order:C=["content"],guards:R=!0,initialFocus:m=0,returnFocus:M=!0,restoreFocus:D=!1,modal:w=!0,visuallyHiddenDismiss:F=!1,closeOnFocusOut:O=!0}=f,{open:U,refs:b,nodeId:L,onOpenChange:P,events:ne,dataRef:de,floatingId:ue,elements:{domReference:Q,floating:ee}}=p,le=typeof m=="number"&&m<0,me=lT(Q)&&le,ge=f_()?R:!0,Ue=Ai(C),je=Ai(m),pe=Ai(M),Se=Ls(),Ee=NT(),re=H.useRef(null),G=H.useRef(null),ce=H.useRef(!1),ie=H.useRef(!1),se=H.useRef(-1),X=Ee!=null,fe=ee==null?void 0:ee.firstElementChild,$=(fe==null?void 0:fe.id)===ue?fe:ee,ze=Cr(function(Me){return Me===void 0&&(Me=$),Me?Ay(Me,ov()):[]}),tt=Cr(Me=>{const Ve=ze(Me);return Ue.current.map(He=>Q&&He==="reference"?Q:$&&He==="floating"?$:Ve).filter(Boolean).flat()});H.useEffect(()=>{if(g||!w)return;function Me(He){if(He.key==="Tab"){Fn($,Da(Er($)))&&ze().length===0&&!me&&Sr(He);const Le=tt(),Qe=to(He);Ue.current[0]==="reference"&&Qe===Q&&(Sr(He),He.shiftKey?eo(Le[Le.length-1]):eo(Le[1])),Ue.current[1]==="floating"&&Qe===$&&He.shiftKey&&(Sr(He),eo(Le[0]))}}const Ve=Er($);return Ve.addEventListener("keydown",Me),()=>{Ve.removeEventListener("keydown",Me)}},[g,Q,$,w,Ue,me,ze,tt]),H.useEffect(()=>{if(g||!ee)return;function Me(Ve){const He=to(Ve),Qe=ze().indexOf(He);Qe!==-1&&(se.current=Qe)}return ee.addEventListener("focusin",Me),()=>{ee.removeEventListener("focusin",Me)}},[g,ee,ze]),H.useEffect(()=>{if(g||!O)return;function Me(){ie.current=!0,setTimeout(()=>{ie.current=!1})}function Ve(He){const Le=He.relatedTarget;queueMicrotask(()=>{const Qe=!(Fn(Q,Le)||Fn(ee,Le)||Fn(Le,ee)||Fn(Ee==null?void 0:Ee.portalNode,Le)||Le!=null&&Le.hasAttribute(Os("focus-guard"))||Se&&(Ds(Se.nodesRef.current,L).find(Rt=>{var ut,mt;return Fn((ut=Rt.context)==null?void 0:ut.elements.floating,Le)||Fn((mt=Rt.context)==null?void 0:mt.elements.domReference,Le)})||s_(Se.nodesRef.current,L).find(Rt=>{var ut,mt;return((ut=Rt.context)==null?void 0:ut.elements.floating)===Le||((mt=Rt.context)==null?void 0:mt.elements.domReference)===Le})));if(D&&Qe&&Da(Er($))===Er($).body){Hn($)&&($==null||$.focus());const Rt=se.current,ut=ze(),mt=ut[Rt]||ut[ut.length-1]||$;Hn(mt)&&mt.focus()}(me||!w)&&Le&&Qe&&!ie.current&&Le!==$x()&&(ce.current=!0,P(!1,He))})}if(ee&&Hn(Q))return Q.addEventListener("focusout",Ve),Q.addEventListener("pointerdown",Me),ee.addEventListener("focusout",Ve),()=>{Q.removeEventListener("focusout",Ve),Q.removeEventListener("pointerdown",Me),ee.removeEventListener("focusout",Ve)}},[g,Q,ee,$,w,L,Se,Ee,P,O,D,ze,me]),H.useEffect(()=>{var Me;if(g)return;const Ve=Array.from((Ee==null||(Me=Ee.portalNode)==null?void 0:Me.querySelectorAll("["+Os("portal")+"]"))||[]);if(ee){const He=[ee,...Ve,re.current,G.current,Ue.current.includes("reference")||me?Q:null].filter(Qe=>Qe!=null),Le=w||me?Vx(He,ge,!ge):Vx(He);return()=>{Le()}}},[g,Q,ee,w,Ue,Ee,me,ge]),Mt(()=>{if(g||!Hn($))return;const Me=Er($),Ve=Da(Me);queueMicrotask(()=>{const He=tt($),Le=je.current,Qe=(typeof Le=="number"?He[Le]:Le.current)||$,Rt=Fn($,Ve);!le&&!Rt&&U&&eo(Qe,{preventScroll:Qe===$})})},[g,U,$,le,tt,je]),Mt(()=>{if(g||!$)return;let Me=!1;const Ve=Er($),He=Da(Ve);let Qe=de.current.openEvent;CE(He);function Rt(ut){let{open:mt,reason:Vt,event:It,nested:gn}=ut;mt&&(Qe=It),Vt==="escape-key"&&b.domReference.current&&CE(b.domReference.current),Vt==="hover"&&It.type==="mouseleave"&&(ce.current=!0),Vt==="outside-press"&&(gn?(ce.current=!1,Me=!0):ce.current=!(iT(It)||NE(It)))}return ne.on("openchange",Rt),()=>{ne.off("openchange",Rt);const ut=Da(Ve),mt=Fn(ee,ut)||Se&&Ds(Se.nodesRef.current,L).some(gn=>{var Ke;return Fn((Ke=gn.context)==null?void 0:Ke.elements.floating,ut)});(mt||Qe&&["click","mousedown"].includes(Qe.type))&&b.domReference.current&&CE(b.domReference.current);const It=$x();pe.current&&!ce.current&&Hn(It)&&(!(It!==ut&&ut!==Ve.body)||mt)&&eo(It,{cancelPrevious:!1,preventScroll:Me})}},[g,ee,$,pe,de,b,ne,Se,L]),Mt(()=>{if(!g&&Ee)return Ee.setFocusManagerState({modal:w,closeOnFocusOut:O,open:U,onOpenChange:P,refs:b}),()=>{Ee.setFocusManagerState(null)}},[g,Ee,w,U,P,b,O]),Mt(()=>{if(g||!$||typeof MutationObserver!="function"||le)return;const Me=()=>{const He=$.getAttribute("tabindex"),Le=ze(),Qe=Da(Er(ee)),Rt=Le.indexOf(Qe);Rt!==-1&&(se.current=Rt),Ue.current.includes("floating")||Qe!==b.domReference.current&&Le.length===0?He!=="0"&&$.setAttribute("tabindex","0"):He!=="-1"&&$.setAttribute("tabindex","-1")};Me();const Ve=new MutationObserver(Me);return Ve.observe($,{childList:!0,subtree:!0,attributes:!0}),()=>{Ve.disconnect()}},[g,ee,$,b,Ue,ze,le]);function wt(Me){return g||!F||!w?null:H.createElement(S_,{ref:Me==="start"?re:G,onClick:Ve=>P(!1,Ve.nativeEvent)},typeof F=="string"?F:"Dismiss")}const zt=!g&&ge&&(w?!me:!0)&&(X||w);return H.createElement(H.Fragment,null,zt&&H.createElement(Ly,{"data-type":"inside",ref:Ee==null?void 0:Ee.beforeInsideRef,onFocus:Me=>{if(w){const He=tt();eo(C[0]==="reference"?He[0]:He[He.length-1])}else if(Ee!=null&&Ee.preserveTabOrder&&Ee.portalNode)if(ce.current=!1,rv(Me,Ee.portalNode)){const He=MT()||Q;He==null||He.focus()}else{var Ve;(Ve=Ee.beforeOutsideRef.current)==null||Ve.focus()}}}),!me&&wt("start"),v,wt("end"),zt&&H.createElement(Ly,{"data-type":"inside",ref:Ee==null?void 0:Ee.afterInsideRef,onFocus:Me=>{if(w)eo(tt()[0]);else if(Ee!=null&&Ee.preserveTabOrder&&Ee.portalNode)if(O&&(ce.current=!0),rv(Me,Ee.portalNode)){const He=LT()||Q;He==null||He.focus()}else{var Ve;(Ve=Ee.afterOutsideRef.current)==null||Ve.focus()}}}))}function Yx(f){return Hn(f.target)&&f.target.tagName==="BUTTON"}function Qx(f){return zE(f)}function C_(f,p){p===void 0&&(p={});const{open:v,onOpenChange:g,dataRef:C,elements:{domReference:R}}=f,{enabled:m=!0,event:M="click",toggle:D=!0,ignoreMouse:w=!1,keyboardHandlers:F=!0}=p,O=H.useRef(),U=H.useRef(!1),b=H.useMemo(()=>({onPointerDown(L){O.current=L.pointerType},onMouseDown(L){const P=O.current;L.button===0&&M!=="click"&&(iv(P,!0)&&w||(v&&D&&(!C.current.openEvent||C.current.openEvent.type==="mousedown")?g(!1,L.nativeEvent,"click"):(L.preventDefault(),g(!0,L.nativeEvent,"click"))))},onClick(L){const P=O.current;if(M==="mousedown"&&O.current){O.current=void 0;return}iv(P,!0)&&w||(v&&D&&(!C.current.openEvent||C.current.openEvent.type==="click")?g(!1,L.nativeEvent,"click"):g(!0,L.nativeEvent,"click"))},onKeyDown(L){O.current=void 0,!(L.defaultPrevented||!F||Yx(L))&&(L.key===" "&&!Qx(R)&&(L.preventDefault(),U.current=!0),L.key==="Enter"&&g(!(v&&D),L.nativeEvent,"click"))},onKeyUp(L){L.defaultPrevented||!F||Yx(L)||Qx(R)||L.key===" "&&U.current&&(U.current=!1,g(!(v&&D),L.nativeEvent,"click"))}}),[C,R,M,w,F,g,v,D]);return H.useMemo(()=>m?{reference:b}:{},[m,b])}const R_={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},x_={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Wx=f=>{var p,v;return{escapeKey:typeof f=="boolean"?f:(p=f==null?void 0:f.escapeKey)!=null?p:!1,outsidePress:typeof f=="boolean"?f:(v=f==null?void 0:f.outsidePress)!=null?v:!0}};function T_(f,p){p===void 0&&(p={});const{open:v,onOpenChange:g,elements:C,dataRef:R}=f,{enabled:m=!0,escapeKey:M=!0,outsidePress:D=!0,outsidePressEvent:w="pointerdown",referencePress:F=!1,referencePressEvent:O="pointerdown",ancestorScroll:U=!1,bubbles:b,capture:L}=p,P=Ls(),ne=Cr(typeof D=="function"?D:()=>!1),de=typeof D=="function"?ne:D,ue=H.useRef(!1),Q=H.useRef(!1),{escapeKey:ee,outsidePress:le}=Wx(b),{escapeKey:me,outsidePress:ge}=Wx(L),Ue=Cr(G=>{var ce;if(!v||!m||!M||G.key!=="Escape")return;const ie=(ce=R.current.floatingContext)==null?void 0:ce.nodeId,se=P?Ds(P.nodesRef.current,ie):[];if(!ee&&(G.stopPropagation(),se.length>0)){let X=!0;if(se.forEach(fe=>{var $;if(($=fe.context)!=null&&$.open&&!fe.context.dataRef.current.__escapeKeyBubbles){X=!1;return}}),!X)return}g(!1,TM(G)?G.nativeEvent:G,"escape-key")}),je=Cr(G=>{var ce;const ie=()=>{var se;Ue(G),(se=to(G))==null||se.removeEventListener("keydown",ie)};(ce=to(G))==null||ce.addEventListener("keydown",ie)}),pe=Cr(G=>{var ce;const ie=ue.current;ue.current=!1;const se=Q.current;if(Q.current=!1,w==="click"&&se||ie||typeof de=="function"&&!de(G))return;const X=to(G),fe="["+Os("inert")+"]",$=Er(C.floating).querySelectorAll(fe);let ze=Wt(X)?X:null;for(;ze&&!cu(ze);){const Me=no(ze);if(cu(Me)||!Wt(Me))break;ze=Me}if($.length&&Wt(X)&&!wM(X)&&!Fn(X,C.floating)&&Array.from($).every(Me=>!Fn(ze,Me)))return;if(Hn(X)&&re){const Me=X.clientWidth>0&&X.scrollWidth>X.clientWidth,Ve=X.clientHeight>0&&X.scrollHeight>X.clientHeight;let He=Ve&&G.offsetX>X.clientWidth;if(Ve&&zi(X).direction==="rtl"&&(He=G.offsetX<=X.offsetWidth-X.clientWidth),He||Me&&G.offsetY>X.clientHeight)return}const tt=(ce=R.current.floatingContext)==null?void 0:ce.nodeId,wt=P&&Ds(P.nodesRef.current,tt).some(Me=>{var Ve;return hE(G,(Ve=Me.context)==null?void 0:Ve.elements.floating)});if(hE(G,C.floating)||hE(G,C.domReference)||wt)return;const zt=P?Ds(P.nodesRef.current,tt):[];if(zt.length>0){let Me=!0;if(zt.forEach(Ve=>{var He;if((He=Ve.context)!=null&&He.open&&!Ve.context.dataRef.current.__outsidePressBubbles){Me=!1;return}}),!Me)return}g(!1,G,"outside-press")}),Se=Cr(G=>{var ce;const ie=()=>{var se;pe(G),(se=to(G))==null||se.removeEventListener(w,ie)};(ce=to(G))==null||ce.addEventListener(w,ie)});H.useEffect(()=>{if(!v||!m)return;R.current.__escapeKeyBubbles=ee,R.current.__outsidePressBubbles=le;function G(se){g(!1,se,"ancestor-scroll")}const ce=Er(C.floating);M&&ce.addEventListener("keydown",me?je:Ue,me),de&&ce.addEventListener(w,ge?Se:pe,ge);let ie=[];return U&&(Wt(C.domReference)&&(ie=uu(C.domReference)),Wt(C.floating)&&(ie=ie.concat(uu(C.floating))),!Wt(C.reference)&&C.reference&&C.reference.contextElement&&(ie=ie.concat(uu(C.reference.contextElement)))),ie=ie.filter(se=>{var X;return se!==((X=ce.defaultView)==null?void 0:X.visualViewport)}),ie.forEach(se=>{se.addEventListener("scroll",G,{passive:!0})}),()=>{M&&ce.removeEventListener("keydown",me?je:Ue,me),de&&ce.removeEventListener(w,ge?Se:pe,ge),ie.forEach(se=>{se.removeEventListener("scroll",G)})}},[R,C,M,de,w,v,g,U,m,ee,le,Ue,me,je,pe,ge,Se]),H.useEffect(()=>{ue.current=!1},[de,w]);const Ee=H.useMemo(()=>({onKeyDown:Ue,[R_[O]]:G=>{F&&g(!1,G.nativeEvent,"reference-press")}}),[Ue,g,F,O]),re=H.useMemo(()=>({onKeyDown:Ue,onMouseDown(){Q.current=!0},onMouseUp(){Q.current=!0},[x_[w]]:()=>{ue.current=!0}}),[Ue,w]);return H.useMemo(()=>m?{reference:Ee,floating:re}:{},[m,Ee,re])}function w_(f){const{open:p=!1,onOpenChange:v,elements:g}=f,C=cv(),R=H.useRef({}),[m]=H.useState(()=>xT()),M=Ms()!=null;if(process.env.NODE_ENV!=="production"){const b=g.reference;b&&!Wt(b)&&t_("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[D,w]=H.useState(g.reference),F=Cr((b,L,P)=>{R.current.openEvent=b?L:void 0,m.emit("openchange",{open:b,event:L,reason:P,nested:M}),v==null||v(b,L,P)}),O=H.useMemo(()=>({setPositionReference:w}),[]),U=H.useMemo(()=>({reference:D||g.reference||null,floating:g.floating||null,domReference:g.reference}),[D,g.reference,g.floating]);return H.useMemo(()=>({dataRef:R,open:p,onOpenChange:F,elements:U,events:m,floatingId:C,refs:O}),[p,F,U,m,C,O])}function b_(f){f===void 0&&(f={});const{nodeId:p}=f,v=w_({...f,elements:{reference:null,floating:null,...f.elements}}),g=f.rootContext||v,C=g.elements,[R,m]=H.useState(null),[M,D]=H.useState(null),F=(C==null?void 0:C.reference)||R,O=H.useRef(null),U=Ls();Mt(()=>{F&&(O.current=F)},[F]);const b=NL({...f,elements:{...C,...M&&{reference:M}}}),L=H.useCallback(Q=>{const ee=Wt(Q)?{getBoundingClientRect:()=>Q.getBoundingClientRect(),contextElement:Q}:Q;D(ee),b.refs.setReference(ee)},[b.refs]),P=H.useCallback(Q=>{(Wt(Q)||Q===null)&&(O.current=Q,m(Q)),(Wt(b.refs.reference.current)||b.refs.reference.current===null||Q!==null&&!Wt(Q))&&b.refs.setReference(Q)},[b.refs]),ne=H.useMemo(()=>({...b.refs,setReference:P,setPositionReference:L,domReference:O}),[b.refs,P,L]),de=H.useMemo(()=>({...b.elements,domReference:F}),[b.elements,F]),ue=H.useMemo(()=>({...b,...g,refs:ne,elements:de,nodeId:p}),[b,ne,de,p,g]);return Mt(()=>{g.dataRef.current.floatingContext=ue;const Q=U==null?void 0:U.nodesRef.current.find(ee=>ee.id===p);Q&&(Q.context=ue)}),H.useMemo(()=>({...b,context:ue,refs:ne,elements:de}),[b,ne,de,ue])}function D_(f,p){p===void 0&&(p={});const{open:v,onOpenChange:g,events:C,dataRef:R,elements:m}=f,{enabled:M=!0,visibleOnly:D=!0}=p,w=H.useRef(!1),F=H.useRef(),O=H.useRef(!0);H.useEffect(()=>{if(!M)return;const b=Ei(m.domReference);function L(){!v&&Hn(m.domReference)&&m.domReference===Da(Er(m.domReference))&&(w.current=!0)}function P(){O.current=!0}return b.addEventListener("blur",L),b.addEventListener("keydown",P,!0),()=>{b.removeEventListener("blur",L),b.removeEventListener("keydown",P,!0)}},[m.domReference,v,M]),H.useEffect(()=>{if(!M)return;function b(L){let{reason:P}=L;(P==="reference-press"||P==="escape-key")&&(w.current=!0)}return C.on("openchange",b),()=>{C.off("openchange",b)}},[C,M]),H.useEffect(()=>()=>{clearTimeout(F.current)},[]);const U=H.useMemo(()=>({onPointerDown(b){NE(b.nativeEvent)||(O.current=!1)},onMouseLeave(){w.current=!1},onFocus(b){if(w.current)return;const L=to(b.nativeEvent);if(D&&Wt(L))try{if(AE()&&aT())throw Error();if(!L.matches(":focus-visible"))return}catch{if(!O.current&&!zE(L))return}g(!0,b.nativeEvent,"focus")},onBlur(b){w.current=!1;const L=b.relatedTarget,P=b.nativeEvent,ne=Wt(L)&&L.hasAttribute(Os("focus-guard"))&&L.getAttribute("data-type")==="outside";F.current=window.setTimeout(()=>{var de;const ue=Da(m.domReference?m.domReference.ownerDocument:document);!L&&ue===m.domReference||Fn((de=R.current.floatingContext)==null?void 0:de.refs.floating.current,ue)||Fn(m.domReference,ue)||ne||g(!1,P,"focus")})}}),[R,m.domReference,g,D]);return H.useMemo(()=>M?{reference:U}:{},[M,U])}const Gx="active",Kx="selected";function RE(f,p,v){const g=new Map,C=v==="item";let R=f;if(C&&f){const{[Gx]:m,[Kx]:M,...D}=f;R=D}return{...v==="floating"&&{tabIndex:-1},...R,...p.map(m=>{const M=m?m[v]:null;return typeof M=="function"?f?M(f):null:M}).concat(f).reduce((m,M)=>(M&&Object.entries(M).forEach(D=>{let[w,F]=D;if(!(C&&[Gx,Kx].includes(w)))if(w.indexOf("on")===0){if(g.has(w)||g.set(w,[]),typeof F=="function"){var O;(O=g.get(w))==null||O.push(F),m[w]=function(){for(var U,b=arguments.length,L=new Array(b),P=0;P<b;P++)L[P]=arguments[P];return(U=g.get(w))==null?void 0:U.map(ne=>ne(...L)).find(ne=>ne!==void 0)}}}else m[w]=F}),m),{})}}function k_(f){f===void 0&&(f=[]);const p=f.map(M=>M==null?void 0:M.reference),v=f.map(M=>M==null?void 0:M.floating),g=f.map(M=>M==null?void 0:M.item),C=H.useCallback(M=>RE(M,f,"reference"),p),R=H.useCallback(M=>RE(M,f,"floating"),v),m=H.useCallback(M=>RE(M,f,"item"),g);return H.useMemo(()=>({getReferenceProps:C,getFloatingProps:R,getItemProps:m}),[C,R,m])}let Xx=!1;function zy(f,p,v){switch(f){case"vertical":return p;case"horizontal":return v;default:return p||v}}function qx(f,p){return zy(p,f===IE||f===sv,f===Nf||f===zf)}function xE(f,p,v){return zy(p,f===sv,v?f===Nf:f===zf)||f==="Enter"||f===" "||f===""}function O_(f,p,v){return zy(p,v?f===Nf:f===zf,f===sv)}function Zx(f,p,v){return zy(p,v?f===zf:f===Nf,f===IE)}function M_(f,p){const{open:v,onOpenChange:g,elements:C}=f,{listRef:R,activeIndex:m,onNavigate:M=()=>{},enabled:D=!0,selectedIndex:w=null,allowEscape:F=!1,loop:O=!1,nested:U=!1,rtl:b=!1,virtual:L=!1,focusItemOnOpen:P="auto",focusItemOnHover:ne=!0,openOnArrowKeyDown:de=!0,disabledIndices:ue=void 0,orientation:Q="vertical",cols:ee=1,scrollItemIntoView:le=!0,virtualItemRef:me,itemSizes:ge,dense:Ue=!1}=p;process.env.NODE_ENV!=="production"&&(F&&(O||Ry("`useListNavigation` looping must be enabled to allow escaping."),L||Ry("`useListNavigation` must be virtual to allow escaping.")),Q==="vertical"&&ee>1&&Ry("In grid list navigation mode (`cols` > 1), the `orientation` should",'be either "horizontal" or "both".'));const je=Ms(),pe=Ls(),Se=Cr(M),Ee=H.useRef(P),re=H.useRef(w??-1),G=H.useRef(null),ce=H.useRef(!0),ie=H.useRef(Se),se=H.useRef(!!C.floating),X=H.useRef(!1),fe=H.useRef(!1),$=Ai(ue),ze=Ai(v),tt=Ai(le),wt=Ai(C.floating),zt=Ai(w),[Me,Ve]=H.useState(),[He,Le]=H.useState(),Qe=Cr(function(Ke,ft,dt){dt===void 0&&(dt=!1);function bt(Et){L?(Ve(Et.id),pe==null||pe.events.emit("virtualfocus",Et),me&&(me.current=Et)):eo(Et,{preventScroll:!0,sync:aT()&&AE()?Xx||X.current:!1})}const at=Ke.current[ft.current];at&&bt(at),requestAnimationFrame(()=>{const Et=Ke.current[ft.current]||at;if(!Et)return;at||bt(Et);const Dn=tt.current;Dn&&ut&&(dt||!ce.current)&&(Et.scrollIntoView==null||Et.scrollIntoView(typeof Dn=="boolean"?{block:"nearest",inline:"nearest"}:Dn))})});Mt(()=>{document.createElement("div").focus({get preventScroll(){return Xx=!0,!1}})},[]),Mt(()=>{D&&(v&&C.floating?Ee.current&&w!=null&&(fe.current=!0,re.current=w,Se(w)):se.current&&(re.current=-1,ie.current(null)))},[D,v,C.floating,w,Se]),Mt(()=>{if(D&&v&&C.floating)if(m==null){if(X.current=!1,zt.current!=null)return;if(se.current&&(re.current=-1,Qe(R,re)),!se.current&&Ee.current&&(G.current!=null||Ee.current===!0&&G.current==null)){let Ke=0;const ft=()=>{R.current[0]==null?(Ke<2&&(Ke?requestAnimationFrame:queueMicrotask)(ft),Ke++):(re.current=G.current==null||xE(G.current,Q,b)||U?SE(R,$.current):zx(R,$.current),G.current=null,Se(re.current))};ft()}}else nv(R,m)||(re.current=m,Qe(R,re,fe.current),fe.current=!1)},[D,v,C.floating,m,zt,U,R,Q,b,Se,Qe,$]),Mt(()=>{var Ke;if(!D||C.floating||!pe||L||!se.current)return;const ft=pe.nodesRef.current,dt=(Ke=ft.find(Et=>Et.id===je))==null||(Ke=Ke.context)==null?void 0:Ke.elements.floating,bt=Da(Er(C.floating)),at=ft.some(Et=>Et.context&&Fn(Et.context.elements.floating,bt));dt&&!at&&ce.current&&dt.focus({preventScroll:!0})},[D,C.floating,pe,je,L]),Mt(()=>{if(!D||!pe||!L||je)return;function Ke(ft){Le(ft.id),me&&(me.current=ft)}return pe.events.on("virtualfocus",Ke),()=>{pe.events.off("virtualfocus",Ke)}},[D,pe,L,je,me]),Mt(()=>{ie.current=Se,se.current=!!C.floating}),Mt(()=>{v||(G.current=null)},[v]);const Rt=m!=null,ut=H.useMemo(()=>{function Ke(dt){if(!v)return;const bt=R.current.indexOf(dt);bt!==-1&&Se(bt)}return{onFocus(dt){let{currentTarget:bt}=dt;Ke(bt)},onClick:dt=>{let{currentTarget:bt}=dt;return bt.focus({preventScroll:!0})},...ne&&{onMouseMove(dt){let{currentTarget:bt}=dt;Ke(bt)},onPointerLeave(dt){let{pointerType:bt}=dt;!ce.current||bt==="touch"||(re.current=-1,Qe(R,re),Se(null),L||eo(wt.current,{preventScroll:!0}))}}}},[v,wt,Qe,ne,R,Se,L]),mt=Cr(Ke=>{if(ce.current=!1,X.current=!0,!ze.current&&Ke.currentTarget===wt.current)return;if(U&&Zx(Ke.key,Q,b)){Sr(Ke),g(!1,Ke.nativeEvent,"list-navigation"),Hn(C.domReference)&&!L&&C.domReference.focus();return}const ft=re.current,dt=SE(R,ue),bt=zx(R,ue);if(Ke.key==="Home"&&(Sr(Ke),re.current=dt,Se(re.current)),Ke.key==="End"&&(Sr(Ke),re.current=bt,Se(re.current)),ee>1){const at=ge||Array.from({length:R.current.length},()=>({width:1,height:1})),Et=YL(at,ee,Ue),Dn=Et.findIndex(en=>en!=null&&!Cy(R.current,en,ue)),Pn=Et.reduce((en,kn,Hr)=>kn!=null&&!Cy(R.current,kn,ue)?Hr:en,-1);if(re.current=Et[$L({current:Et.map(en=>en!=null?R.current[en]:null)},{event:Ke,orientation:Q,loop:O,cols:ee,disabledIndices:WL([...ue||R.current.map((en,kn)=>Cy(R.current,kn)?kn:void 0),void 0],Et),minIndex:Dn,maxIndex:Pn,prevIndex:QL(re.current>bt?dt:re.current,at,Et,ee,Ke.key===sv?"bl":Ke.key===zf?"tr":"tl"),stopEvent:!0})],Se(re.current),Q==="both")return}if(qx(Ke.key,Q)){if(Sr(Ke),v&&!L&&Da(Ke.currentTarget.ownerDocument)===Ke.currentTarget){re.current=xE(Ke.key,Q,b)?dt:bt,Se(re.current);return}xE(Ke.key,Q,b)?O?re.current=ft>=bt?F&&ft!==R.current.length?-1:dt:Fr(R,{startingIndex:ft,disabledIndices:ue}):re.current=Math.min(bt,Fr(R,{startingIndex:ft,disabledIndices:ue})):O?re.current=ft<=dt?F&&ft!==-1?R.current.length:bt:Fr(R,{startingIndex:ft,decrement:!0,disabledIndices:ue}):re.current=Math.max(dt,Fr(R,{startingIndex:ft,decrement:!0,disabledIndices:ue})),nv(R,re.current)?Se(null):Se(re.current)}}),Vt=H.useMemo(()=>L&&v&&Rt&&{"aria-activedescendant":He||Me},[L,v,Rt,He,Me]),It=H.useMemo(()=>({"aria-orientation":Q==="both"?void 0:Q,...!lT(C.domReference)&&Vt,onKeyDown:mt,onPointerMove(){ce.current=!0}}),[Vt,mt,C.domReference,Q]),gn=H.useMemo(()=>{const Ke=$.current,ft=R.current.find(at=>(at==null?void 0:at.id)===Me);function dt(at){P==="auto"&&iT(at.nativeEvent)&&(Ee.current=!0)}function bt(at){Ee.current=P,P==="auto"&&NE(at.nativeEvent)&&(Ee.current=!0)}return{...Vt,onKeyDown(at){ce.current=!1;const Et=at.key.indexOf("Arrow")===0,Dn=O_(at.key,Q,b),Pn=Zx(at.key,Q,b),en=qx(at.key,Q),kn=(U?Dn:en)||at.key==="Enter"||at.key.trim()==="";if(L&&v){const ka=pe==null?void 0:pe.nodesRef.current.find(Ce=>Ce.parentId==null),In=pe&&ka?c_(pe.nodesRef.current,ka.id):null;if(Et&&In&&me){const Ce=new KeyboardEvent("keydown",{key:at.key,bubbles:!0});if(Dn||Pn){var Hr,Vn;const $e=((Hr=In.context)==null?void 0:Hr.elements.domReference)===at.currentTarget,st=Pn&&!$e?(Vn=In.context)==null?void 0:Vn.elements.domReference:Dn?ft:null;st&&(Sr(at),st.dispatchEvent(Ce),Le(void 0))}if(en&&In.context&&In.context.open&&In.parentId&&at.currentTarget!==In.context.elements.domReference){var Rr;Sr(at),(Rr=In.context.elements.domReference)==null||Rr.dispatchEvent(Ce);return}}return mt(at)}if(!(!v&&!de&&Et)){if(kn&&(G.current=U&&en?null:at.key),U){Dn&&(Sr(at),v?(re.current=SE(R,Ke),Se(re.current)):g(!0,at.nativeEvent,"list-navigation"));return}en&&(w!=null&&(re.current=w),Sr(at),!v&&de?g(!0,at.nativeEvent,"list-navigation"):mt(at),v&&Se(re.current))}},onFocus(){v&&!L&&Se(null)},onPointerDown:bt,onMouseDown:dt,onClick:dt}},[Me,Vt,mt,$,P,R,U,Se,g,v,de,Q,b,w,pe,L,me]);return H.useMemo(()=>D?{reference:gn,floating:It,item:ut}:{},[D,gn,It,ut])}const L_=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function __(f,p){var v;p===void 0&&(p={});const{open:g,floatingId:C}=f,{enabled:R=!0,role:m="dialog"}=p,M=(v=L_.get(m))!=null?v:m,D=cv(),F=Ms()!=null,O=H.useMemo(()=>M==="tooltip"||m==="label"?{["aria-"+(m==="label"?"labelledby":"describedby")]:g?C:void 0}:{"aria-expanded":g?"true":"false","aria-haspopup":M==="alertdialog"?"dialog":M,"aria-controls":g?C:void 0,...M==="listbox"&&{role:"combobox"},...M==="menu"&&{id:D},...M==="menu"&&F&&{role:"menuitem"},...m==="select"&&{"aria-autocomplete":"none"},...m==="combobox"&&{"aria-autocomplete":"list"}},[M,C,F,g,D,m]),U=H.useMemo(()=>{const L={id:C,...M&&{role:M}};return M==="tooltip"||m==="label"?L:{...L,...M==="menu"&&{"aria-labelledby":D}}},[M,C,D,m]),b=H.useCallback(L=>{let{active:P,selected:ne}=L;const de={role:"option",...P&&{id:C+"-option"}};switch(m){case"select":return{...de,"aria-selected":P&&ne};case"combobox":return{...de,...P&&{"aria-selected":!0}}}return{}},[C,m]);return H.useMemo(()=>R?{reference:O,floating:U,item:b}:{},[R,O,U,b])}function N_(f,p){var v;const{open:g,dataRef:C}=f,{listRef:R,activeIndex:m,onMatch:M,onTypingChange:D,enabled:w=!0,findMatch:F=null,resetMs:O=750,ignoreKeys:U=[],selectedIndex:b=null}=p,L=H.useRef(),P=H.useRef(""),ne=H.useRef((v=b??m)!=null?v:-1),de=H.useRef(null),ue=Cr(M),Q=Cr(D),ee=Ai(F),le=Ai(U);Mt(()=>{g&&(clearTimeout(L.current),de.current=null,P.current="")},[g]),Mt(()=>{if(g&&P.current===""){var pe;ne.current=(pe=b??m)!=null?pe:-1}},[g,b,m]);const me=Cr(pe=>{pe?C.current.typing||(C.current.typing=pe,Q(pe)):C.current.typing&&(C.current.typing=pe,Q(pe))}),ge=Cr(pe=>{function Se(ie,se,X){const fe=ee.current?ee.current(se,X):se.find($=>($==null?void 0:$.toLocaleLowerCase().indexOf(X.toLocaleLowerCase()))===0);return fe?ie.indexOf(fe):-1}const Ee=R.current;if(P.current.length>0&&P.current[0]!==" "&&(Se(Ee,Ee,P.current)===-1?me(!1):pe.key===" "&&Sr(pe)),Ee==null||le.current.includes(pe.key)||pe.key.length!==1||pe.ctrlKey||pe.metaKey||pe.altKey)return;g&&pe.key!==" "&&(Sr(pe),me(!0)),Ee.every(ie=>{var se,X;return ie?((se=ie[0])==null?void 0:se.toLocaleLowerCase())!==((X=ie[1])==null?void 0:X.toLocaleLowerCase()):!0})&&P.current===pe.key&&(P.current="",ne.current=de.current),P.current+=pe.key,clearTimeout(L.current),L.current=setTimeout(()=>{P.current="",ne.current=de.current,me(!1)},O);const G=ne.current,ce=Se(Ee,[...Ee.slice((G||0)+1),...Ee.slice(0,(G||0)+1)],P.current);ce!==-1?(ue(ce),de.current=ce):pe.key!==" "&&(P.current="",me(!1))}),Ue=H.useMemo(()=>({onKeyDown:ge}),[ge]),je=H.useMemo(()=>({onKeyDown:ge,onKeyUp(pe){pe.key===" "&&me(!1)}}),[ge,me]);return H.useMemo(()=>w?{reference:Ue,floating:je}:{},[w,Ue,je])}function Jx(f,p){const[v,g]=f;let C=!1;const R=p.length;for(let m=0,M=R-1;m<R;M=m++){const[D,w]=p[m]||[0,0],[F,O]=p[M]||[0,0];w>=g!=O>=g&&v<=(F-D)*(g-w)/(O-w)+D&&(C=!C)}return C}function A_(f,p){return f[0]>=p.x&&f[0]<=p.x+p.width&&f[1]>=p.y&&f[1]<=p.y+p.height}function z_(f){f===void 0&&(f={});const{buffer:p=.5,blockPointerEvents:v=!1,requireIntent:g=!0}=f;let C,R=!1,m=null,M=null,D=performance.now();function w(O,U){const b=performance.now(),L=b-D;if(m===null||M===null||L===0)return m=O,M=U,D=b,null;const P=O-m,ne=U-M,ue=Math.sqrt(P*P+ne*ne)/L;return m=O,M=U,D=b,ue}const F=O=>{let{x:U,y:b,placement:L,elements:P,onClose:ne,nodeId:de,tree:ue}=O;return function(ee){function le(){clearTimeout(C),ne()}if(clearTimeout(C),!P.domReference||!P.floating||L==null||U==null||b==null)return;const{clientX:me,clientY:ge}=ee,Ue=[me,ge],je=to(ee),pe=ee.type==="mouseleave",Se=Fn(P.floating,je),Ee=Fn(P.domReference,je),re=P.domReference.getBoundingClientRect(),G=P.floating.getBoundingClientRect(),ce=L.split("-")[0],ie=U>G.right-G.width/2,se=b>G.bottom-G.height/2,X=A_(Ue,re),fe=G.width>re.width,$=G.height>re.height,ze=(fe?re:G).left,tt=(fe?re:G).right,wt=($?re:G).top,zt=($?re:G).bottom;if(Se&&(R=!0,!pe))return;if(Ee&&(R=!1),Ee&&!pe){R=!0;return}if(pe&&Wt(ee.relatedTarget)&&Fn(P.floating,ee.relatedTarget)||ue&&Ds(ue.nodesRef.current,de).some(He=>{let{context:Le}=He;return Le==null?void 0:Le.open}))return;if(ce==="top"&&b>=re.bottom-1||ce==="bottom"&&b<=re.top+1||ce==="left"&&U>=re.right-1||ce==="right"&&U<=re.left+1)return le();let Me=[];switch(ce){case"top":Me=[[ze,re.top+1],[ze,G.bottom-1],[tt,G.bottom-1],[tt,re.top+1]];break;case"bottom":Me=[[ze,G.top+1],[ze,re.bottom-1],[tt,re.bottom-1],[tt,G.top+1]];break;case"left":Me=[[G.right-1,zt],[G.right-1,wt],[re.left+1,wt],[re.left+1,zt]];break;case"right":Me=[[re.right-1,zt],[re.right-1,wt],[G.left+1,wt],[G.left+1,zt]];break}function Ve(He){let[Le,Qe]=He;switch(ce){case"top":{const Rt=[fe?Le+p/2:ie?Le+p*4:Le-p*4,Qe+p+1],ut=[fe?Le-p/2:ie?Le+p*4:Le-p*4,Qe+p+1],mt=[[G.left,ie||fe?G.bottom-p:G.top],[G.right,ie?fe?G.bottom-p:G.top:G.bottom-p]];return[Rt,ut,...mt]}case"bottom":{const Rt=[fe?Le+p/2:ie?Le+p*4:Le-p*4,Qe-p],ut=[fe?Le-p/2:ie?Le+p*4:Le-p*4,Qe-p],mt=[[G.left,ie||fe?G.top+p:G.bottom],[G.right,ie?fe?G.top+p:G.bottom:G.top+p]];return[Rt,ut,...mt]}case"left":{const Rt=[Le+p+1,$?Qe+p/2:se?Qe+p*4:Qe-p*4],ut=[Le+p+1,$?Qe-p/2:se?Qe+p*4:Qe-p*4];return[...[[se||$?G.right-p:G.left,G.top],[se?$?G.right-p:G.left:G.right-p,G.bottom]],Rt,ut]}case"right":{const Rt=[Le-p,$?Qe+p/2:se?Qe+p*4:Qe-p*4],ut=[Le-p,$?Qe-p/2:se?Qe+p*4:Qe-p*4],mt=[[se||$?G.left+p:G.right,G.top],[se?$?G.left+p:G.right:G.left+p,G.bottom]];return[Rt,ut,...mt]}}}if(!Jx([me,ge],Me)){if(R&&!X)return le();if(!pe&&g){const He=w(ee.clientX,ee.clientY);if(He!==null&&He<.1)return le()}Jx([me,ge],Ve([U,b]))?!R&&g&&(C=window.setTimeout(le,40)):le()}}};return F.__options={blockPointerEvents:v},F}exports.FloatingArrow=n_;exports.FloatingDelayGroup=o_;exports.FloatingFocusManager=E_;exports.FloatingList=XL;exports.FloatingNode=i_;exports.FloatingPortal=g_;exports.FloatingTree=a_;exports.arrow=VL;exports.autoUpdate=bL;exports.flip=HL;exports.limitShift=FL;exports.offset=zL;exports.safePolygon=z_;exports.shift=UL;exports.size=PL;exports.useClick=C_;exports.useDelayGroup=u_;exports.useDelayGroupContext=DT;exports.useDismiss=T_;exports.useFloating=b_;exports.useFloatingNodeId=r_;exports.useFloatingParentNodeId=Ms;exports.useFloatingTree=Ls;exports.useFocus=D_;exports.useHover=l_;exports.useInteractions=k_;exports.useListItem=qL;exports.useListNavigation=M_;exports.useMergeRefs=IL;exports.useRole=__;exports.useTypeahead=N_;
|
|
174
|
+
//# sourceMappingURL=floating-ui.react-d0c0de5b.cjs.map
|