@servicetitan/anvil2 1.2.1 → 1.2.3
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-6336e146.cjs +2 -0
- package/Alert-6336e146.cjs.map +1 -0
- package/Alert-6faa0b05.js +88 -0
- package/Alert-6faa0b05.js.map +1 -0
- package/Alert.cjs +1 -1
- package/Alert.css +1 -1
- package/Alert.js +1 -1
- package/{Announcement-0ef0c8f7.js → Announcement-d04009ea.js} +26 -26
- package/Announcement-d04009ea.js.map +1 -0
- package/Announcement-fff87b68.cjs +2 -0
- package/Announcement-fff87b68.cjs.map +1 -0
- package/Announcement.cjs +1 -1
- package/Announcement.css +1 -1
- package/Announcement.js +1 -1
- package/AnvilProvider.cjs +1 -1
- package/AnvilProvider.js +1 -1
- package/Avatar.cjs +1 -1
- package/Avatar.js +7 -7
- package/Badge-0073b5a1.cjs +2 -0
- package/{Badge-29ed0c9e.cjs.map → Badge-0073b5a1.cjs.map} +1 -1
- package/Badge-f761458c.js +35 -0
- package/Badge-f761458c.js.map +1 -0
- package/Badge.cjs +1 -1
- package/Badge.css +1 -1
- package/Badge.js +1 -1
- package/Button-268ba8a9.cjs +2 -0
- package/Button-268ba8a9.cjs.map +1 -0
- package/Button-d05507c5.js +289 -0
- package/Button-d05507c5.js.map +1 -0
- package/Button.cjs +1 -1
- package/Button.cjs.map +1 -1
- package/Button.css +1 -1
- package/Button.js +46 -14
- package/Button.js.map +1 -1
- package/ButtonCompound.cjs +1 -1
- package/ButtonCompound.cjs.map +1 -1
- package/ButtonCompound.js +45 -13
- package/ButtonCompound.js.map +1 -1
- package/ButtonLink.cjs +1 -1
- package/ButtonLink.cjs.map +1 -1
- package/ButtonLink.js +46 -14
- package/ButtonLink.js.map +1 -1
- package/ButtonToggle.cjs +1 -1
- package/ButtonToggle.cjs.map +1 -1
- package/ButtonToggle.js +46 -14
- package/ButtonToggle.js.map +1 -1
- package/{Calendar-fc2373b7.js → Calendar-073dc10d.js} +821 -821
- package/{Calendar-fc2373b7.js.map → Calendar-073dc10d.js.map} +1 -1
- package/{Calendar-e0743dcf.cjs → Calendar-706f41ff.cjs} +2 -2
- package/{Calendar-e0743dcf.cjs.map → Calendar-706f41ff.cjs.map} +1 -1
- package/Calendar.cjs +1 -1
- package/Calendar.css +1 -1
- package/Calendar.js +1 -1
- package/Card-33f3ad0a.js +51 -0
- package/Card-33f3ad0a.js.map +1 -0
- package/Card-92ebca1f.cjs +2 -0
- package/Card-92ebca1f.cjs.map +1 -0
- package/Card.cjs +1 -1
- package/Card.css +1 -1
- package/Card.js +1 -1
- package/{Checkbox-e2b0e7d0.js → Checkbox-d503c3b6.js} +41 -41
- package/Checkbox-d503c3b6.js.map +1 -0
- package/Checkbox-edf070c3.cjs +2 -0
- package/Checkbox-edf070c3.cjs.map +1 -0
- package/Checkbox.cjs +1 -1
- package/Checkbox.css +1 -1
- package/Checkbox.d.ts +25 -4
- package/Checkbox.js +4 -4
- package/{Chip-dbc470f4.js → Chip-a8eb2656.js} +31 -31
- package/Chip-a8eb2656.js.map +1 -0
- package/Chip-b52e1bd7.cjs +2 -0
- package/Chip-b52e1bd7.cjs.map +1 -0
- package/Chip.cjs +1 -1
- package/Chip.css +1 -1
- package/Chip.js +1 -1
- package/Combobox.cjs +1 -1
- package/Combobox.cjs.map +1 -1
- package/Combobox.js +65 -32
- package/Combobox.js.map +1 -1
- package/Details.cjs +1 -1
- package/Details.cjs.map +1 -1
- package/Details.js +54 -22
- package/Details.js.map +1 -1
- package/Dialog.cjs +1 -1
- package/Dialog.cjs.map +1 -1
- package/Dialog.js +70 -38
- package/Dialog.js.map +1 -1
- package/Divider-86c1f4ea.cjs +2 -0
- package/Divider-86c1f4ea.cjs.map +1 -0
- package/Divider-edca965e.js +74 -0
- package/Divider-edca965e.js.map +1 -0
- package/Divider.cjs +1 -1
- package/Divider.css +1 -1
- package/Divider.js +1 -1
- package/Drawer-6c2a6e0c.cjs +2 -0
- package/{Drawer-989d1d8a.cjs.map → Drawer-6c2a6e0c.cjs.map} +1 -1
- package/{Drawer-b81924d3.js → Drawer-f68286e8.js} +56 -56
- package/Drawer-f68286e8.js.map +1 -0
- package/Drawer.cjs +1 -1
- package/Drawer.css +1 -1
- package/Drawer.js +1 -1
- package/Flex-4b128a0e.cjs +2 -0
- package/{Flex-740ea6ba.cjs.map → Flex-4b128a0e.cjs.map} +1 -1
- package/{Flex-15fbb5a2.js → Flex-f6e67921.js} +2 -2
- package/{Flex-15fbb5a2.js.map → Flex-f6e67921.js.map} +1 -1
- package/Flex.cjs +1 -1
- package/Flex.css +1 -1
- package/Flex.js +1 -1
- package/{Grid-674805a9.cjs → Grid-8226f7a1.cjs} +2 -2
- package/{Grid-674805a9.cjs.map → Grid-8226f7a1.cjs.map} +1 -1
- package/{Grid-043bde66.js → Grid-992de375.js} +15 -15
- package/{Grid-043bde66.js.map → Grid-992de375.js.map} +1 -1
- package/Grid.cjs +1 -1
- package/Grid.css +1 -1
- package/Grid.js +1 -1
- package/{Helper-74a1f07f-18441e16.js → Helper-74a1f07f-067ae3f7.js} +2 -2
- package/{Helper-74a1f07f-18441e16.js.map → Helper-74a1f07f-067ae3f7.js.map} +1 -1
- package/{Helper-74a1f07f-2aeadeae.cjs → Helper-74a1f07f-6cf9865b.cjs} +2 -2
- package/{Helper-74a1f07f-2aeadeae.cjs.map → Helper-74a1f07f-6cf9865b.cjs.map} +1 -1
- package/Icon-ae9b951b.cjs +2 -0
- package/Icon-ae9b951b.cjs.map +1 -0
- package/Icon-fa8f3dc8.js +47 -0
- package/Icon-fa8f3dc8.js.map +1 -0
- package/Icon.cjs +1 -1
- package/Icon.css +1 -1
- package/Icon.js +1 -1
- package/Link.cjs +1 -1
- package/Link.cjs.map +1 -1
- package/Link.d.ts +2 -1
- package/Link.js +49 -17
- package/Link.js.map +1 -1
- package/{ListView-b33a9948.cjs → ListView-14d80585.cjs} +2 -2
- package/{ListView-b33a9948.cjs.map → ListView-14d80585.cjs.map} +1 -1
- package/{ListView-dac3c924.js → ListView-1f75e2de.js} +26 -26
- package/{ListView-dac3c924.js.map → ListView-1f75e2de.js.map} +1 -1
- package/ListView.cjs +1 -1
- package/ListView.css +1 -1
- package/ListView.js +1 -1
- package/Listbox-306a8d62.cjs +2 -0
- package/{Listbox-873403e9.cjs.map → Listbox-306a8d62.cjs.map} +1 -1
- package/{Listbox-7a43984b.js → Listbox-cdf02568.js} +81 -81
- package/{Listbox-7a43984b.js.map → Listbox-cdf02568.js.map} +1 -1
- package/Listbox.cjs +1 -1
- package/Listbox.css +1 -1
- package/Listbox.js +1 -1
- package/Menu.cjs +1 -1
- package/Menu.cjs.map +1 -1
- package/Menu.d.ts +7 -2
- package/Menu.js +3 -3
- package/Overflow.cjs +1 -1
- package/Overflow.cjs.map +1 -1
- package/Overflow.js +56 -24
- package/Overflow.js.map +1 -1
- package/Page.cjs +1 -1
- package/Page.js +2 -2
- package/Popover.cjs +1 -1
- package/Popover.cjs.map +1 -1
- package/Popover.d.ts +22 -1
- package/Popover.js +68 -36
- package/Popover.js.map +1 -1
- package/ProgressBar-29d21945.cjs +2 -0
- package/ProgressBar-29d21945.cjs.map +1 -0
- package/{ProgressBar-f9325dbe.js → ProgressBar-5f350a3f.js} +93 -93
- package/ProgressBar-5f350a3f.js.map +1 -0
- package/ProgressBar.cjs +1 -1
- package/ProgressBar.css +1 -1
- package/ProgressBar.js +1 -1
- package/Radio-4189b000.js +124 -0
- package/Radio-4189b000.js.map +1 -0
- package/Radio-abd4d3fd.cjs +2 -0
- package/Radio-abd4d3fd.cjs.map +1 -0
- package/Radio.cjs +1 -1
- package/Radio.cjs.map +1 -1
- package/Radio.css +1 -1
- package/Radio.d.ts +18 -4
- package/Radio.js +1 -1
- package/Radio.js.map +1 -1
- package/{SideNav-369bf761.cjs → SideNav-6de704fd.cjs} +6 -6
- package/{SideNav-369bf761.cjs.map → SideNav-6de704fd.cjs.map} +1 -1
- package/{SideNav-94ab00f0.js → SideNav-e92d850f.js} +136 -136
- package/{SideNav-94ab00f0.js.map → SideNav-e92d850f.js.map} +1 -1
- package/SideNav.cjs +5 -5
- package/SideNav.cjs.map +1 -1
- package/SideNav.css +1 -1
- package/SideNav.d.ts +5 -35
- package/SideNav.js +524 -585
- package/SideNav.js.map +1 -1
- package/Stepper-e776cc28.cjs +2 -0
- package/Stepper-e776cc28.cjs.map +1 -0
- package/{Stepper-54e47376.js → Stepper-fa554908.js} +140 -140
- package/Stepper-fa554908.js.map +1 -0
- package/Stepper.cjs +1 -1
- package/Stepper.css +1 -1
- package/Stepper.js +1 -1
- package/Switch-285b3272.cjs +2 -0
- package/Switch-285b3272.cjs.map +1 -0
- package/Switch-b0a37fc1.js +54 -0
- package/Switch-b0a37fc1.js.map +1 -0
- package/Switch.cjs +1 -1
- package/Switch.css +1 -1
- package/Switch.js +1 -1
- package/{Tab-120468a3.js → Tab-1934a4ca.js} +80 -80
- package/{Tab-120468a3.js.map → Tab-1934a4ca.js.map} +1 -1
- package/Tab-ad70a0a5.cjs +10 -0
- package/{Tab-3de6894a.cjs.map → Tab-ad70a0a5.cjs.map} +1 -1
- package/Tab.cjs +1 -1
- package/Tab.css +1 -1
- package/Tab.js +1 -1
- package/{Text-a7747376.js → Text-4c30916c.js} +31 -31
- package/Text-4c30916c.js.map +1 -0
- package/Text-ed02cc62.cjs +2 -0
- package/Text-ed02cc62.cjs.map +1 -0
- package/Text.cjs +1 -1
- package/Text.css +1 -1
- package/Text.js +1 -1
- package/TextField.cjs +1 -1
- package/TextField.cjs.map +1 -1
- package/TextField.js +47 -15
- package/TextField.js.map +1 -1
- package/Textarea.cjs +1 -1
- package/Textarea.cjs.map +1 -1
- package/Textarea.js +51 -19
- package/Textarea.js.map +1 -1
- package/ThemeProvider.cjs +1 -1
- package/ThemeProvider.js +1 -1
- package/{Toast-4bab713a.cjs → Toast-834c85cd.cjs} +6 -6
- package/{Toast-4bab713a.cjs.map → Toast-834c85cd.cjs.map} +1 -1
- package/{Toast-5b02b7c0.js → Toast-f15e9d36.js} +141 -141
- package/Toast-f15e9d36.js.map +1 -0
- package/Toast.cjs +1 -1
- package/Toast.css +1 -1
- package/Toast.js +1 -1
- package/Tooltip.cjs +1 -1
- package/Tooltip.cjs.map +1 -1
- package/Tooltip.d.ts +2 -1
- package/Tooltip.js +47 -17
- package/Tooltip.js.map +1 -1
- package/anvil2.cjs +1 -1
- package/anvil2.d.ts +68 -47
- package/anvil2.js +40 -40
- package/floating-ui.react-5347095a.cjs +178 -0
- package/floating-ui.react-5347095a.cjs.map +1 -0
- package/{floating-ui.react-3f85fcd1.js → floating-ui.react-8d61182d.js} +5666 -5654
- package/floating-ui.react-8d61182d.js.map +1 -0
- package/index-098ca719-3c14c40c.js +307 -0
- package/index-098ca719-3c14c40c.js.map +1 -0
- package/index-098ca719-8e068129.cjs +2 -0
- package/index-098ca719-8e068129.cjs.map +1 -0
- package/index-098ca719.css +1 -0
- package/{index-5654965e.js → index-439b5871.js} +4 -4
- package/{index-5654965e.js.map → index-439b5871.js.map} +1 -1
- package/{index-a6d2f789.js → index-8ee9499c.js} +682 -673
- package/{index-a6d2f789.js.map → index-8ee9499c.js.map} +1 -1
- package/{index-ebc2776c.js → index-ab05dabf.js} +2 -2
- package/{index-ebc2776c.js.map → index-ab05dabf.js.map} +1 -1
- package/{index-0c3dd58b.cjs → index-acdc415f.cjs} +2 -2
- package/{index-0c3dd58b.cjs.map → index-acdc415f.cjs.map} +1 -1
- package/{index-d46fa8de-cc49032b.cjs → index-d46fa8de-08092573.cjs} +2 -2
- package/{index-d46fa8de-cc49032b.cjs.map → index-d46fa8de-08092573.cjs.map} +1 -1
- package/{index-d46fa8de-997b6b08.js → index-d46fa8de-8695742b.js} +15 -15
- package/{index-d46fa8de-997b6b08.js.map → index-d46fa8de-8695742b.js.map} +1 -1
- package/index-da56edbc-372336bd.js +120 -0
- package/index-da56edbc-372336bd.js.map +1 -0
- package/index-da56edbc-53f59f54.cjs +2 -0
- package/index-da56edbc-53f59f54.cjs.map +1 -0
- package/index-da56edbc.css +1 -0
- package/{index-51c8d206.cjs → index-dfb6272f.cjs} +5 -5
- package/{index-51c8d206.cjs.map → index-dfb6272f.cjs.map} +1 -1
- package/{index-30317fba.cjs → index-f6c22572.cjs} +2 -2
- package/{index-30317fba.cjs.map → index-f6c22572.cjs.map} +1 -1
- package/index3.css +1 -1
- package/package.json +33 -33
- package/token.cjs +1 -1
- package/token.js +1 -1
- package/useAccessibleColor.cjs +1 -1
- package/useAccessibleColor.js +29 -29
- package/useLinkStyles.cjs +1 -1
- package/useLinkStyles.js +29 -29
- package/useMergeRefs.cjs +1 -1
- package/useMergeRefs.js +30 -30
- package/usePrefersColorScheme.cjs +1 -1
- package/usePrefersColorScheme.js +29 -29
- package/useSwipe.cjs +1 -1
- package/useSwipe.js +29 -29
- package/Alert-017471de.js +0 -88
- package/Alert-017471de.js.map +0 -1
- package/Alert-3ae85e66.cjs +0 -2
- package/Alert-3ae85e66.cjs.map +0 -1
- package/Announcement-0ef0c8f7.js.map +0 -1
- package/Announcement-3540ab95.cjs +0 -2
- package/Announcement-3540ab95.cjs.map +0 -1
- package/Badge-29ed0c9e.cjs +0 -2
- package/Badge-2dc92a40.js +0 -35
- package/Badge-2dc92a40.js.map +0 -1
- package/Button-dbbb8dc0.js +0 -289
- package/Button-dbbb8dc0.js.map +0 -1
- package/Button-df4be721.cjs +0 -2
- package/Button-df4be721.cjs.map +0 -1
- package/Card-42198f6c.cjs +0 -2
- package/Card-42198f6c.cjs.map +0 -1
- package/Card-d7d23388.js +0 -51
- package/Card-d7d23388.js.map +0 -1
- package/Checkbox-949d5f00.cjs +0 -2
- package/Checkbox-949d5f00.cjs.map +0 -1
- package/Checkbox-e2b0e7d0.js.map +0 -1
- package/Chip-c1c9ff14.cjs +0 -2
- package/Chip-c1c9ff14.cjs.map +0 -1
- package/Chip-dbc470f4.js.map +0 -1
- package/Divider-6e94652c.js +0 -74
- package/Divider-6e94652c.js.map +0 -1
- package/Divider-9719b490.cjs +0 -2
- package/Divider-9719b490.cjs.map +0 -1
- package/Drawer-989d1d8a.cjs +0 -2
- package/Drawer-b81924d3.js.map +0 -1
- package/Flex-740ea6ba.cjs +0 -2
- package/Icon-7dc0db59.js +0 -47
- package/Icon-7dc0db59.js.map +0 -1
- package/Icon-d02abfdd.cjs +0 -2
- package/Icon-d02abfdd.cjs.map +0 -1
- package/Listbox-873403e9.cjs +0 -2
- package/Menu-0a24f1ba.js +0 -284
- package/Menu-0a24f1ba.js.map +0 -1
- package/Menu-869a24e2.cjs +0 -2
- package/Menu-869a24e2.cjs.map +0 -1
- package/Menu.css +0 -1
- package/ProgressBar-2589ad1b.cjs +0 -2
- package/ProgressBar-2589ad1b.cjs.map +0 -1
- package/ProgressBar-f9325dbe.js.map +0 -1
- package/Radio-c81308ef.js +0 -124
- package/Radio-c81308ef.js.map +0 -1
- package/Radio-e11ee699.cjs +0 -2
- package/Radio-e11ee699.cjs.map +0 -1
- package/Stepper-54e47376.js.map +0 -1
- package/Stepper-e26d5bac.cjs +0 -2
- package/Stepper-e26d5bac.cjs.map +0 -1
- package/Switch-c4977b9b.js +0 -54
- package/Switch-c4977b9b.js.map +0 -1
- package/Switch-f1d54e52.cjs +0 -2
- package/Switch-f1d54e52.cjs.map +0 -1
- package/Tab-3de6894a.cjs +0 -10
- package/Text-a7747376.js.map +0 -1
- package/Text-eefa573a.cjs +0 -2
- package/Text-eefa573a.cjs.map +0 -1
- package/Toast-5b02b7c0.js.map +0 -1
- package/floating-ui.react-3f85fcd1.js.map +0 -1
- package/floating-ui.react-518bb704.cjs +0 -178
- package/floating-ui.react-518bb704.cjs.map +0 -1
- package/index-f3ce3681-94450aba.js +0 -120
- package/index-f3ce3681-94450aba.js.map +0 -1
- package/index-f3ce3681-b0bee9d9.cjs +0 -2
- package/index-f3ce3681-b0bee9d9.cjs.map +0 -1
- package/index-f3ce3681.css +0 -1
- package/ui-react-7152d718.js +0 -53
- package/ui-react-7152d718.js.map +0 -1
- package/ui-react-7f005f46.cjs +0 -2
- package/ui-react-7f005f46.cjs.map +0 -1
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
"use strict";const ou=require("react");function TM(f){const p=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(f){for(const v in f)if(v!=="default"){const S=Object.getOwnPropertyDescriptor(f,v);Object.defineProperty(p,v,S.get?S:{enumerable:!0,get:()=>f[v]})}}return p.default=f,Object.freeze(p)}const H=TM(ou);function du(f){return nT(f)?(f.nodeName||"").toLowerCase():"#document"}function Ri(f){var p;return(f==null||(p=f.ownerDocument)==null?void 0:p.defaultView)||window}function Kl(f){var p;return(p=(nT(f)?f.ownerDocument:f.document)||window.document)==null?void 0:p.documentElement}function nT(f){return f instanceof Node||f instanceof Ri(f).Node}function Qt(f){return f instanceof Element||f instanceof Ri(f).Element}function Hn(f){return f instanceof HTMLElement||f instanceof Ri(f).HTMLElement}function wE(f){return typeof ShadowRoot>"u"?!1:f instanceof ShadowRoot||f instanceof Ri(f).ShadowRoot}function ov(f){const{overflow:p,overflowX:v,overflowY:S,display:C}=Ui(f);return/auto|scroll|overlay|hidden|clip/.test(p+S+v)&&!["inline","contents"].includes(C)}function wM(f){return["table","td","th"].includes(du(f))}function zy(f){return[":popover-open",":modal"].some(p=>{try{return f.matches(p)}catch{return!1}})}function _E(f){const p=NE(),v=Ui(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(S=>(v.willChange||"").includes(S))||["paint","layout","strict","content"].some(S=>(v.contain||"").includes(S))}function bM(f){let p=Wl(f);for(;Hn(p)&&!uu(p);){if(zy(p))return null;if(_E(p))return p;p=Wl(p)}return null}function NE(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function uu(f){return["html","body","#document"].includes(du(f))}function Ui(f){return Ri(f).getComputedStyle(f)}function Uy(f){return Qt(f)?{scrollLeft:f.scrollLeft,scrollTop:f.scrollTop}:{scrollLeft:f.scrollX,scrollTop:f.scrollY}}function Wl(f){if(du(f)==="html")return f;const p=f.assignedSlot||f.parentNode||wE(f)&&f.host||Kl(f);return wE(p)?p.host:p}function rT(f){const p=Wl(f);return uu(p)?f.ownerDocument?f.ownerDocument.body:f.body:Hn(p)&&ov(p)?p:rT(p)}function lu(f,p,v){var S;p===void 0&&(p=[]),v===void 0&&(v=!0);const C=rT(f),R=C===((S=f.ownerDocument)==null?void 0:S.body),m=Ri(C);return R?p.concat(m,m.visualViewport||[],ov(C)?C:[],m.frameElement&&v?lu(m.frameElement):[]):p.concat(C,lu(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&&wE(v)){let S=p;for(;S;){if(f===S)return!0;S=S.parentNode||S.host}}return!1}function iT(){const f=navigator.userAgentData;return f!=null&&f.platform?f.platform:navigator.platform}function aT(){const f=navigator.userAgentData;return f&&Array.isArray(f.brands)?f.brands.map(p=>{let{brand:v,version:S}=p;return v+"/"+S}).join(" "):navigator.userAgent}function lT(f){return f.mozInputSource===0&&f.isTrusted?!0:bE()&&f.pointerType?f.type==="click"&&f.buttons===1:f.detail===0&&!f.pointerType}function AE(f){return DM()?!1:!bE()&&f.width===0&&f.height===0||bE()&&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 zE(){return/apple/i.test(navigator.vendor)}function bE(){const f=/android/i;return f.test(iT())||f.test(aT())}function oT(){return iT().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function DM(){return aT().includes("jsdom/")}function rv(f,p){const v=["mouse","pen"];return p||v.push("",void 0),v.includes(f)}function kM(f){return"nativeEvent"in f}function OM(f){return f.matches("html,body")}function gr(f){return(f==null?void 0:f.ownerDocument)||document}function mE(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 Ql(f){return"composedPath"in f?f.composedPath()[0]:f.target}const MM="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function UE(f){return Hn(f)&&f.matches(MM)}function yr(f){f.preventDefault(),f.stopPropagation()}function uT(f){return f?f.getAttribute("role")==="combobox"&&UE(f):!1}const il=Math.min,Ai=Math.max,Dy=Math.round,Af=Math.floor,su=f=>({x:f,y:f}),LM={left:"right",right:"left",bottom:"top",top:"bottom"},_M={start:"end",end:"start"};function DE(f,p,v){return Ai(f,il(p,v))}function cu(f,p){return typeof f=="function"?f(p):f}function Gl(f){return f.split("-")[0]}function Hf(f){return f.split("-")[1]}function FE(f){return f==="x"?"y":"x"}function HE(f){return f==="y"?"height":"width"}function fu(f){return["top","bottom"].includes(Gl(f))?"y":"x"}function PE(f){return FE(fu(f))}function NM(f,p,v){v===void 0&&(v=!1);const S=Hf(f),C=PE(f),R=HE(C);let m=C==="x"?S===(v?"end":"start")?"right":"left":S==="start"?"bottom":"top";return p.reference[R]>p.floating[R]&&(m=ky(m)),[m,ky(m)]}function AM(f){const p=ky(f);return[kE(f),p,kE(p)]}function kE(f){return f.replace(/start|end/g,p=>_M[p])}function zM(f,p,v){const S=["left","right"],C=["right","left"],R=["top","bottom"],m=["bottom","top"];switch(f){case"top":case"bottom":return v?p?C:S:p?S:C;case"left":case"right":return p?R:m;default:return[]}}function UM(f,p,v,S){const C=Hf(f);let R=zM(Gl(f),v==="start",S);return C&&(R=R.map(m=>m+"-"+C),p&&(R=R.concat(R.map(kE)))),R}function ky(f){return f.replace(/left|right|bottom|top/g,p=>LM[p])}function FM(f){return{top:0,right:0,bottom:0,left:0,...f}}function sT(f){return typeof f!="number"?FM(f):{top:f,right:f,bottom:f,left:f}}function Oy(f){const{x:p,y:v,width:S,height:C}=f;return{width:S,height:C,top:v,left:p,right:p+S,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 HM=["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])"],My=HM.join(","),cT=typeof Element>"u",Uf=cT?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ly=!cT&&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},_y=function f(p,v){var S;v===void 0&&(v=!0);var C=p==null||(S=p.getAttribute)===null||S===void 0?void 0:S.call(p,"inert"),R=C===""||C==="true",m=R||v&&p&&f(p.parentNode);return m},PM=function(p){var v,S=p==null||(v=p.getAttribute)===null||v===void 0?void 0:v.call(p,"contenteditable");return S===""||S==="true"},VM=function(p,v,S){if(_y(p))return[];var C=Array.prototype.slice.apply(p.querySelectorAll(My));return v&&Uf.call(p,My)&&C.unshift(p),C=C.filter(S),C},IM=function f(p,v,S){for(var C=[],R=Array.from(p);R.length;){var m=R.shift();if(!_y(m,!1))if(m.tagName==="SLOT"){var M=m.assignedElements(),k=M.length?M:m.children,w=f(k,!0,S);S.flatten?C.push.apply(C,w):C.push({scopeParent:m,candidates:w})}else{var F=Uf.call(m,My);F&&S.filter(m)&&(v||!p.includes(m))&&C.push(m);var O=m.shadowRoot||typeof S.getShadowRoot=="function"&&S.getShadowRoot(m),U=!_y(O,!1)&&(!S.shadowRootFilter||S.shadowRootFilter(m));if(O&&U){var b=f(O===!0?m.children:O.children,!0,S);S.flatten?C.push.apply(C,b):C.push({scopeParent:m,candidates:b})}else R.unshift.apply(R,m.children)}}return C},fT=function(p){return!isNaN(parseInt(p.getAttribute("tabindex"),10))},dT=function(p){if(!p)throw new Error("No node provided");return p.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(p.tagName)||PM(p))&&!fT(p)?0:p.tabIndex},jM=function(p,v){var S=dT(p);return S<0&&v&&!fT(p)?0:S},BM=function(p,v){return p.tabIndex===v.tabIndex?p.documentOrder-v.documentOrder:p.tabIndex-v.tabIndex},pT=function(p){return p.tagName==="INPUT"},$M=function(p){return pT(p)&&p.type==="hidden"},YM=function(p){var v=p.tagName==="DETAILS"&&Array.prototype.slice.apply(p.children).some(function(S){return S.tagName==="SUMMARY"});return v},QM=function(p,v){for(var S=0;S<p.length;S++)if(p[S].checked&&p[S].form===v)return p[S]},WM=function(p){if(!p.name)return!0;var v=p.form||Ly(p),S=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=S(window.CSS.escape(p.name));else try{C=S(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=QM(C,p.form);return!R||R===p},GM=function(p){return pT(p)&&p.type==="radio"},KM=function(p){return GM(p)&&!WM(p)},XM=function(p){var v,S=p&&Ly(p),C=(v=S)===null||v===void 0?void 0:v.host,R=!1;if(S&&S!==p){var m,M,k;for(R=!!((m=C)!==null&&m!==void 0&&(M=m.ownerDocument)!==null&&M!==void 0&&M.contains(C)||p!=null&&(k=p.ownerDocument)!==null&&k!==void 0&&k.contains(p));!R&&C;){var w,F,O;S=Ly(C),C=(w=S)===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},wx=function(p){var v=p.getBoundingClientRect(),S=v.width,C=v.height;return S===0&&C===0},qM=function(p,v){var S=v.displayCheck,C=v.getShadowRoot;if(getComputedStyle(p).visibility==="hidden")return!0;var R=Uf.call(p,"details>summary:first-of-type"),m=R?p.parentElement:p;if(Uf.call(m,"details:not([open]) *"))return!0;if(!S||S==="full"||S==="legacy-full"){if(typeof C=="function"){for(var M=p;p;){var k=p.parentElement,w=Ly(p);if(k&&!k.shadowRoot&&C(k)===!0)return wx(p);p.assignedSlot?p=p.assignedSlot:!k&&w!==p.ownerDocument?p=w.host:p=k}p=M}if(XM(p))return!p.getClientRects().length;if(S!=="legacy-full")return!0}else if(S==="non-zero-area")return wx(p);return!1},ZM=function(p){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(p.tagName))for(var v=p.parentElement;v;){if(v.tagName==="FIELDSET"&&v.disabled){for(var S=0;S<v.children.length;S++){var C=v.children.item(S);if(C.tagName==="LEGEND")return Uf.call(v,"fieldset[disabled] *")?!0:!C.contains(p)}return!0}v=v.parentElement}return!1},JM=function(p,v){return!(v.disabled||_y(v)||$M(v)||qM(v,p)||YM(v)||ZM(v))},OE=function(p,v){return!(KM(v)||dT(v)<0||!JM(p,v))},eL=function(p){var v=parseInt(p.getAttribute("tabindex"),10);return!!(isNaN(v)||v>=0)},tL=function f(p){var v=[],S=[];return p.forEach(function(C,R){var m=!!C.scopeParent,M=m?C.scopeParent:C,k=jM(M,m),w=m?f(C.candidates):M;k===0?m?v.push.apply(v,w):v.push(M):S.push({documentOrder:R,tabIndex:k,item:C,isScope:m,content:w})}),S.sort(BM).reduce(function(C,R){return R.isScope?C.push.apply(C,R.content):C.push(R.content),C},[]).concat(v)},Fy=function(p,v){v=v||{};var S;return v.getShadowRoot?S=IM([p],v.includeContainer,{filter:OE.bind(null,v),flatten:!1,getShadowRoot:v.getShadowRoot,shadowRootFilter:eL}):S=VM(p,v.includeContainer,OE.bind(null,v)),tL(S)},nL=function(p,v){if(v=v||{},!p)throw new Error("No node provided");return Uf.call(p,My)===!1?!1:OE(v,p)},ME={exports:{}},Ei={},Sy={exports:{}},yE={};/**
|
|
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 bx;function rL(){return bx||(bx=1,function(f){function p(X,fe){var $=X.length;X.push(fe);e:for(;0<$;){var ze=$-1>>>1,nt=X[ze];if(0<C(nt,fe))X[ze]=fe,X[$]=nt,$=ze;else break e}}function v(X){return X.length===0?null:X[0]}function S(X){if(X.length===0)return null;var fe=X[0],$=X.pop();if($!==fe){X[0]=$;e:for(var ze=0,nt=X.length,wt=nt>>>1;ze<wt;){var Ut=2*(ze+1)-1,Me=X[Ut],Ie=Ut+1,He=X[Ie];if(0>C(Me,$))Ie<nt&&0>C(He,Me)?(X[ze]=He,X[Ie]=$,ze=Ie):(X[ze]=Me,X[Ut]=$,ze=Ut);else if(Ie<nt&&0>C(He,$))X[ze]=He,X[Ie]=$,ze=Ie;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 k=[],w=[],F=1,O=null,U=3,b=!1,L=!1,P=!1,te=typeof setTimeout=="function"?setTimeout:null,de=typeof clearTimeout=="function"?clearTimeout:null,oe=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)S(w);else if(fe.startTime<=X)S(w),fe.sortIndex=fe.expirationTime,p(k,fe);else break;fe=v(w)}}function J(X){if(P=!1,Q(X),!L)if(v(k)!==null)L=!0,re(le);else{var fe=v(w);fe!==null&&ue(J,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(k);O!==null&&(!(O.expirationTime>fe)||X&&!Se());){var ze=O.callback;if(typeof ze=="function"){O.callback=null,U=O.priorityLevel;var nt=ze(O.expirationTime<=fe);fe=f.unstable_now(),typeof nt=="function"?O.callback=nt:O===v(k)&&S(k),Q(fe)}else S(k);O=v(k)}if(O!==null)var wt=!0;else{var Ut=v(w);Ut!==null&&ue(J,Ut.startTime-fe),wt=!1}return wt}finally{O=null,U=$,b=!1}}var me=!1,ge=null,Ue=-1,$e=5,pe=-1;function Se(){return!(f.unstable_now()-pe<$e)}function Ee(){if(ge!==null){var X=f.unstable_now();pe=X;var fe=!0;try{fe=ge(!0,X)}finally{fe?ne():(me=!1,ge=null)}}else me=!1}var ne;if(typeof oe=="function")ne=function(){oe(Ee)};else if(typeof MessageChannel<"u"){var G=new MessageChannel,ce=G.port2;G.port1.onmessage=Ee,ne=function(){ce.postMessage(null)}}else ne=function(){te(Ee,0)};function re(X){ge=X,me||(me=!0,ne())}function ue(X,fe){Ue=te(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,re(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"):$e=0<X?Math.floor(1e3/X):5},f.unstable_getCurrentPriorityLevel=function(){return U},f.unstable_getFirstCallbackNode=function(){return v(k)},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 nt=-1;break;case 2:nt=250;break;case 5:nt=1073741823;break;case 4:nt=1e4;break;default:nt=5e3}return nt=$+nt,X={id:F++,callback:fe,priorityLevel:X,startTime:$,expirationTime:nt,sortIndex:-1},$>ze?(X.sortIndex=$,p(w,X),v(k)===null&&X===v(w)&&(P?(de(Ue),Ue=-1):P=!0,ue(J,$-ze))):(X.sortIndex=nt,p(k,X),L||b||(L=!0,re(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=$}}}}(yE)),yE}var gE={};/**
|
|
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 Dx;function iL(){return Dx||(Dx=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,S=5;function C(Ce,Qe){var ct=Ce.length;Ce.push(Qe),M(Ce,Qe,ct)}function R(Ce){return Ce.length===0?null:Ce[0]}function m(Ce){if(Ce.length===0)return null;var Qe=Ce[0],ct=Ce.pop();return ct!==Qe&&(Ce[0]=ct,k(Ce,ct,0)),Qe}function M(Ce,Qe,ct){for(var Ft=ct;Ft>0;){var un=Ft-1>>>1,Jn=Ce[un];if(w(Jn,Qe)>0)Ce[un]=Qe,Ce[Ft]=Jn,Ft=un;else return}}function k(Ce,Qe,ct){for(var Ft=ct,un=Ce.length,Jn=un>>>1;Ft<Jn;){var En=(Ft+1)*2-1,qr=Ce[En],en=En+1,Fi=Ce[en];if(w(qr,Qe)<0)en<un&&w(Fi,qr)<0?(Ce[Ft]=Fi,Ce[en]=Qe,Ft=en):(Ce[Ft]=qr,Ce[En]=Qe,Ft=En);else if(en<un&&w(Fi,Qe)<0)Ce[Ft]=Fi,Ce[en]=Qe,Ft=en;else return}}function w(Ce,Qe){var ct=Ce.sortIndex-Qe.sortIndex;return ct!==0?ct:Ce.id-Qe.id}var F=1,O=2,U=3,b=4,L=5;function P(Ce,Qe){}var te=typeof performance=="object"&&typeof performance.now=="function";if(te){var de=performance;f.unstable_now=function(){return de.now()}}else{var oe=Date,Q=oe.now();f.unstable_now=function(){return oe.now()-Q}}var J=1073741823,le=-1,me=250,ge=5e3,Ue=1e4,$e=J,pe=[],Se=[],Ee=1,ne=null,G=U,ce=!1,re=!1,ue=!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 Qe=R(Se);Qe!==null;){if(Qe.callback===null)m(Se);else if(Qe.startTime<=Ce)m(Se),Qe.sortIndex=Qe.expirationTime,C(pe,Qe);else return;Qe=R(Se)}}function nt(Ce){if(ue=!1,ze(Ce),!re)if(R(pe)!==null)re=!0,Hr(wt);else{var Qe=R(Se);Qe!==null&&Vn(nt,Qe.startTime-Ce)}}function wt(Ce,Qe){re=!1,ue&&(ue=!1,Er()),ce=!0;var ct=G;try{var Ft;if(!v)return Ut(Ce,Qe)}finally{ne=null,G=ct,ce=!1}}function Ut(Ce,Qe){var ct=Qe;for(ze(ct),ne=R(pe);ne!==null&&!p&&!(ne.expirationTime>ct&&(!Ce||bt()));){var Ft=ne.callback;if(typeof Ft=="function"){ne.callback=null,G=ne.priorityLevel;var un=ne.expirationTime<=ct,Jn=Ft(un);ct=f.unstable_now(),typeof Jn=="function"?ne.callback=Jn:ne===R(pe)&&m(pe),ze(ct)}else m(pe);ne=R(pe)}if(ne!==null)return!0;var En=R(Se);return En!==null&&Vn(nt,En.startTime-ct),!1}function Me(Ce,Qe){switch(Ce){case F:case O:case U:case b:case L:break;default:Ce=U}var ct=G;G=Ce;try{return Qe()}finally{G=ct}}function Ie(Ce){var Qe;switch(G){case F:case O:case U:Qe=U;break;default:Qe=G;break}var ct=G;G=Qe;try{return Ce()}finally{G=ct}}function He(Ce){var Qe=G;return function(){var ct=G;G=Qe;try{return Ce.apply(this,arguments)}finally{G=ct}}}function Le(Ce,Qe,ct){var Ft=f.unstable_now(),un;if(typeof ct=="object"&&ct!==null){var Jn=ct.delay;typeof Jn=="number"&&Jn>0?un=Ft+Jn:un=Ft}else un=Ft;var En;switch(Ce){case F:En=le;break;case O:En=me;break;case L:En=$e;break;case b:En=Ue;break;case U:default:En=ge;break}var qr=un+En,en={id:Ee++,callback:Qe,priorityLevel:Ce,startTime:un,expirationTime:qr,sortIndex:-1};return un>Ft?(en.sortIndex=un,C(Se,en),R(pe)===null&&en===R(Se)&&(ue?Er():ue=!0,Vn(nt,un-Ft))):(en.sortIndex=qr,C(pe,en),!re&&!ce&&(re=!0,Hr(wt))),en}function Ge(){}function Ct(){!re&&!ce&&(re=!0,Hr(wt))}function st(){return R(pe)}function yt(Ce){Ce.callback=null}function Pt(){return G}var Vt=!1,Sn=null,Xe=-1,dt=S,pt=-1;function bt(){var Ce=f.unstable_now()-pt;return!(Ce<dt)}function ot(){}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?dt=Math.floor(1e3/Ce):dt=S}var kn=function(){if(Sn!==null){var Ce=f.unstable_now();pt=Ce;var Qe=!0,ct=!0;try{ct=Sn(Qe,Ce)}finally{ct?Pn():(Vt=!1,Sn=null)}}else Vt=!1},Pn;if(typeof $=="function")Pn=function(){$(kn)};else if(typeof MessageChannel<"u"){var Jt=new MessageChannel,On=Jt.port2;Jt.port1.onmessage=kn,Pn=function(){On.postMessage(null)}}else Pn=function(){X(kn,0)};function Hr(Ce){Sn=Ce,Vt||(Vt=!0,Pn())}function Vn(Ce,Qe){Xe=X(function(){Ce(f.unstable_now())},Qe)}function Er(){fe(Xe),Xe=-1}var ka=ot,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=yt,f.unstable_continueExecution=Ct,f.unstable_forceFrameRate=Et,f.unstable_getCurrentPriorityLevel=Pt,f.unstable_getFirstCallbackNode=st,f.unstable_next=Ie,f.unstable_pauseExecution=Ge,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)}()}(gE)),gE}var kx;function vT(){return kx||(kx=1,process.env.NODE_ENV==="production"?Sy.exports=rL():Sy.exports=iL()),Sy.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 Ox;function aL(){if(Ox)return Ei;Ox=1;var f=ou,p=vT();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 S=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++)S.add(r[n])}var M=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),k=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 k.call(O,n)?!0:k.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 te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){te[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];te[r]=new P(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){te[n]=new P(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){te[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){te[n]=new P(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){te[n]=new P(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){te[n]=new P(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){te[n]=new P(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){te[n]=new P(n,5,!1,n.toLowerCase(),null,!1,!1)});var de=/[\-:]([a-z])/g;function oe(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,oe);te[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,oe);te[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,oe);te[r]=new P(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){te[n]=new P(n,1,!1,n.toLowerCase(),null,!1,!1)}),te.xlinkHref=new P("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){te[n]=new P(n,1,!1,n.toLowerCase(),null,!0,!0)});function Q(n,r,l,u){var c=te.hasOwnProperty(r)?te[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 J=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"),$e=Symbol.for("react.profiler"),pe=Symbol.for("react.provider"),Se=Symbol.for("react.context"),Ee=Symbol.for("react.forward_ref"),ne=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),ce=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),ue=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 nt(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 Ut(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(W){var u=W}Reflect.construct(n,[],r)}else{try{r.call()}catch(W){u=W}n.call(r.prototype)}else{try{throw Error()}catch(W){u=W}n()}}catch(W){if(W&&u&&typeof W.stack=="string"){for(var c=W.stack.split(`
|
|
30
|
-
`),h=u.stack.split(`
|
|
31
|
-
`),E=c.length-1,D=h.length-1;1<=E&&0<=D&&c[E]!==h[D];)D--;for(;1<=E&&0<=D;E--,D--)if(c[E]!==h[D]){if(E!==1||D!==1)do if(E--,D--,0>D||c[E]!==h[D]){var _=`
|
|
32
|
-
`+c[E].replace(" at new "," at ");return n.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",n.displayName)),_}while(1<=E&&0<=D);break}}}finally{wt=!1,Error.prepareStackTrace=l}return(n=n?n.displayName||n.name:"")?nt(n):""}function Me(n){switch(n.tag){case 5:return nt(n.type);case 16:return nt("Lazy");case 13:return nt("Suspense");case 19:return nt("SuspenseList");case 0:case 2:case 15:return n=Ut(n.type,!1),n;case 11:return n=Ut(n.type.render,!1),n;case 1:return n=Ut(n.type,!0),n;default:return""}}function Ie(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 $e:return"Profiler";case Ue:return"StrictMode";case ne: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:Ie(n.type)||"Memo";case re:r=n._payload,n=n._init;try{return Ie(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 Ie(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 Ge(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Ct(n){var r=Ge(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 st(n){n._valueTracker||(n._valueTracker=Ct(n))}function yt(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var l=r.getValue(),u="";return n&&(u=Ge(n)?n.checked?"true":"false":n.value),n=u,n!==l?(r.setValue(n),!0):!1}function Pt(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 Vt(n,r){var l=r.checked;return $({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??n._wrapperState.initialChecked})}function Sn(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 Xe(n,r){r=r.checked,r!=null&&Q(n,"checked",r,!1)}function dt(n,r){Xe(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 pt(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"||Pt(n.ownerDocument)!==n)&&(l==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+l&&(n.defaultValue=""+l))}var ot=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 kn(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(ot(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 Jt(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 On(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 Er,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(Er=Er||document.createElement("div"),Er.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Er.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},Qe=["Webkit","ms","Moz","O"];Object.keys(Ce).forEach(function(n){Qe.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),Ce[r]=Ce[n]})});function ct(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 Ft(n,r){n=n.style;for(var l in r)if(r.hasOwnProperty(l)){var u=l.indexOf("--")===0,c=ct(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 En(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 en(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Fi=null,pn=null,tn=null;function cv(n){if(n=Fu(n)){if(typeof Fi!="function")throw Error(v(280));var r=n.stateNode;r&&(r=We(r),Fi(n.stateNode,n.type,r))}}function _s(n){pn?tn?tn.push(n):tn=[n]:pn=n}function Ns(){if(pn){var n=pn,r=tn;if(tn=pn=null,cv(n),r)for(n=0;n<r.length;n++)cv(r[n])}}function fv(n,r){return n(r)}function dv(){}var As=!1;function Vf(n,r,l){if(As)return n(r,l);As=!0;try{return fv(n,r,l)}finally{As=!1,(pn!==null||tn!==null)&&(dv(),Ns())}}function pu(n,r){var l=n.stateNode;if(l===null)return null;var u=We(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 al={};Object.defineProperty(al,"passive",{get:function(){zs=!0}}),window.addEventListener("test",al,al),window.removeEventListener("test",al,al)}catch{zs=!1}function Xl(n,r,l,u,c,h,E,D,_){var W=Array.prototype.slice.call(arguments,3);try{r.apply(l,W)}catch(se){this.onError(se)}}var xi=!1,Ji=null,ql=!1,vu=null,If={onError:function(n){xi=!0,Ji=n}};function jf(n,r,l,u,c,h,E,D,_){xi=!1,Ji=null,Xl.apply(If,arguments)}function Zl(n,r,l,u,c,h,E,D,_){if(jf.apply(this,arguments),xi){if(xi){var W=Ji;xi=!1,Ji=null}else throw Error(v(198));ql||(ql=!0,vu=W)}}function Hi(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 hu(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 Jl(n){if(Hi(n)!==n)throw Error(v(188))}function lr(n){var r=n.alternate;if(!r){if(r=Hi(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 Jl(c),n;if(h===u)return Jl(c),r;h=h.sibling}throw Error(v(188))}if(l.return!==u.return)l=c,u=h;else{for(var E=!1,D=c.child;D;){if(D===l){E=!0,l=c,u=h;break}if(D===u){E=!0,u=c,l=h;break}D=D.sibling}if(!E){for(D=h.child;D;){if(D===l){E=!0,l=h,u=c;break}if(D===u){E=!0,u=h,l=c;break}D=D.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 pv(n){return n=lr(n),n!==null?vv(n):null}function vv(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=vv(n);if(r!==null)return r;n=n.sibling}return null}var Bf=p.unstable_scheduleCallback,hv=p.unstable_cancelCallback,Py=p.unstable_shouldYield,Vy=p.unstable_requestPaint,nn=p.unstable_now,Iy=p.unstable_getCurrentPriorityLevel,ea=p.unstable_ImmediatePriority,vt=p.unstable_UserBlockingPriority,Oa=p.unstable_NormalPriority,mv=p.unstable_LowPriority,$f=p.unstable_IdlePriority,mu=null,Ti=null;function yv(n){if(Ti&&typeof Ti.onCommitFiberRoot=="function")try{Ti.onCommitFiberRoot(mu,n,void 0,(n.current.flags&128)===128)}catch{}}var Zr=Math.clz32?Math.clz32:jy,gv=Math.log,Sv=Math.LN2;function jy(n){return n>>>=0,n===0?32:31-(gv(n)/Sv|0)|0}var Us=64,eo=4194304;function ll(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 wi(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 D=E&~c;D!==0?u=ll(D):(h&=E,h!==0&&(u=ll(h)))}else E=l&~c,E!==0?u=ll(E):h!==0&&(u=ll(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 Yf(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),D=1<<E,_=c[E];_===-1?(!(D&l)||D&u)&&(c[E]=Yf(D,r)):_<=r&&(n.expiredLanes|=D),h&=~D}}function Qf(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 Wf(n){for(var r=[],l=0;31>l;l++)r.push(n);return r}function ol(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 By(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 yu(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 Gf(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var Ev,Ps,_t,Cv,Kf,at=!1,gu=[],vn=null,Jr=null,ei=null,Su=new Map,Cn=new Map,Nt=[],$y="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 bi(n,r){switch(n){case"focusin":case"focusout":vn=null;break;case"dragenter":case"dragleave":Jr=null;break;case"mouseover":case"mouseout":ei=null;break;case"pointerover":case"pointerout":Su.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Cn.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=Fu(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 vn=er(vn,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 Su.set(h,er(Su.get(h)||null,n,r,l,u,c)),!0;case"gotpointercapture":return h=c.pointerId,Cn.set(h,er(Cn.get(h)||null,n,r,l,u,c)),!0}return!1}function Rv(n){var r=ni(n.target);if(r!==null){var l=Hi(r);if(l!==null){if(r=l.tag,r===13){if(r=hu(l),r!==null){n.blockedOn=r,Kf(n.priority,function(){_t(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 to(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=Fu(l),r!==null&&Ps(r),n.blockedOn=l,!1;r.shift()}return!0}function Xf(n,r,l){to(n)&&l.delete(r)}function xv(){at=!1,vn!==null&&to(vn)&&(vn=null),Jr!==null&&to(Jr)&&(Jr=null),ei!==null&&to(ei)&&(ei=null),Su.forEach(Xf),Cn.forEach(Xf)}function Eu(n,r){n.blockedOn===r&&(n.blockedOn=null,at||(at=!0,p.unstable_scheduleCallback(p.unstable_NormalPriority,xv)))}function Cu(n){function r(c){return Eu(c,n)}if(0<gu.length){Eu(gu[0],n);for(var l=1;l<gu.length;l++){var u=gu[l];u.blockedOn===n&&(u.blockedOn=null)}}for(vn!==null&&Eu(vn,n),Jr!==null&&Eu(Jr,n),ei!==null&&Eu(ei,n),Su.forEach(r),Cn.forEach(r),l=0;l<Nt.length;l++)u=Nt[l],u.blockedOn===n&&(u.blockedOn=null);for(;0<Nt.length&&(l=Nt[0],l.blockedOn===null);)Rv(l),l.blockedOn===null&&Nt.shift()}var no=J.ReactCurrentBatchConfig,ul=!0;function Tv(n,r,l,u){var c=Lt,h=no.transition;no.transition=null;try{Lt=1,Is(n,r,l,u)}finally{Lt=c,no.transition=h}}function Vs(n,r,l,u){var c=Lt,h=no.transition;no.transition=null;try{Lt=4,Is(n,r,l,u)}finally{Lt=c,no.transition=h}}function Is(n,r,l,u){if(ul){var c=js(n,r,l,u);if(c===null)ec(n,r,u,Ru,l),bi(n,u);else if(Ma(c,n,r,l,u))u.stopPropagation();else if(bi(n,u),r&4&&-1<$y.indexOf(n)){for(;c!==null;){var h=Fu(c);if(h!==null&&Ev(h),h=js(n,r,l,u),h===null&&ec(n,r,u,Ru,l),h===c)break;c=h}c!==null&&u.stopPropagation()}else ec(n,r,u,null,l)}}var Ru=null;function js(n,r,l,u){if(Ru=null,n=en(u),n=ni(n),n!==null)if(r=Hi(n),r===null)n=null;else if(l=r.tag,l===13){if(n=hu(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 Ru=n,null}function qf(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(Iy()){case ea:return 1;case vt:return 4;case Oa:case mv:return 16;case $f:return 536870912;default:return 16}default:return 16}}var ta=null,xu=null,Tu=null;function Zf(){if(Tu)return Tu;var n,r=xu,l=r.length,u,c="value"in ta?ta.value:ta.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 Tu=c.slice(n,1<u?1-u:void 0)}function ro(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 wu(){return!0}function wv(){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 D in n)n.hasOwnProperty(D)&&(l=n[D],this[D]=l?l(h):h[D]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?wu:wv,this.isPropagationStopped=wv,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=wu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=wu)},persist:function(){},isPersistent:wu}),r}var La={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bs=Pr(La),io=$({},La,{view:0,detail:0}),bv=Pr(io),$s,Jf,bu,Mn=$({},io,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:rd,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!==bu&&(bu&&n.type==="mousemove"?($s=n.screenX-bu.screenX,Jf=n.screenY-bu.screenY):Jf=$s=0,bu=n),$s)},movementY:function(n){return"movementY"in n?n.movementY:Jf}}),Ys=Pr(Mn),Dv=$({},Mn,{dataTransfer:0}),kv=Pr(Dv),Yy=$({},io,{relatedTarget:0}),_a=Pr(Yy),ed=$({},La,{animationName:0,elapsedTime:0,pseudoElement:0}),Ov=Pr(ed),Qy=$({},La,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Wy=Pr(Qy),Gy=$({},La,{data:0}),td=Pr(Gy),nd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Mv={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"},Lv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _v(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=Lv[n])?!!r[n]:!1}function rd(){return _v}var na=$({},io,{key:function(n){if(n.key){var r=nd[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=ro(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Mv[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:rd,charCode:function(n){return n.type==="keypress"?ro(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?ro(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Ky=Pr(na),id=$({},Mn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qs=Pr(id),ad=$({},io,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:rd}),Xy=Pr(ad),Ws=$({},La,{propertyName:0,elapsedTime:0,pseudoElement:0}),Nv=Pr(Ws),Cr=$({},Mn,{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}),ra=Pr(Cr),hn=[9,13,27,32],Di=M&&"CompositionEvent"in window,sl=null;M&&"documentMode"in document&&(sl=document.documentMode);var Gs=M&&"TextEvent"in window&&!sl,Av=M&&(!Di||sl&&8<sl&&11>=sl),ao=String.fromCharCode(32),zv=!1;function Uv(n,r){switch(n){case"keyup":return hn.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 lo=!1;function qy(n,r){switch(n){case"compositionend":return Ks(r);case"keypress":return r.which!==32?null:(zv=!0,ao);case"textInput":return n=r.data,n===ao&&zv?null:n;default:return null}}function Zy(n,r){if(lo)return n==="compositionend"||!Di&&Uv(n,r)?(n=Zf(),Tu=xu=ta=null,lo=!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 Av&&r.locale!=="ko"?null:r.data;default:return null}}var Fv={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 Hv(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!Fv[n.type]:r==="textarea"}function Pv(n,r,l,u){_s(u),r=Au(r,"onChange"),0<r.length&&(l=new Bs("onChange","change",null,l,u),n.push({event:l,listeners:r}))}var Du=null,oo=null;function uo(n){Js(n,0)}function so(n){var r=fo(n);if(yt(r))return n}function Vv(n,r){if(n==="change")return r}var ld=!1;if(M){var od;if(M){var ud="oninput"in document;if(!ud){var Iv=document.createElement("div");Iv.setAttribute("oninput","return;"),ud=typeof Iv.oninput=="function"}od=ud}else od=!1;ld=od&&(!document.documentMode||9<document.documentMode)}function jv(){Du&&(Du.detachEvent("onpropertychange",Bv),oo=Du=null)}function Bv(n){if(n.propertyName==="value"&&so(oo)){var r=[];Pv(r,oo,n,en(n)),Vf(uo,r)}}function Jy(n,r,l){n==="focusin"?(jv(),Du=r,oo=l,Du.attachEvent("onpropertychange",Bv)):n==="focusout"&&jv()}function eg(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return so(oo)}function tg(n,r){if(n==="click")return so(r)}function $v(n,r){if(n==="input"||n==="change")return so(r)}function ng(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var ti=typeof Object.is=="function"?Object.is:ng;function ku(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(!k.call(r,c)||!ti(n[c],r[c]))return!1}return!0}function Yv(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Qv(n,r){var l=Yv(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=Yv(l)}}function Wv(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?Wv(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function Xs(){for(var n=window,r=Pt();r instanceof n.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)n=r.contentWindow;else break;r=Pt(n.document)}return r}function ia(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&&Wv(l.ownerDocument.documentElement,l)){if(u!==null&&ia(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=Qv(l,h);var E=Qv(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 Gv=M&&"documentMode"in document&&11>=document.documentMode,ki=null,sd=null,Ou=null,cd=!1;function Kv(n,r,l){var u=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;cd||ki==null||ki!==Pt(u)||(u=ki,"selectionStart"in u&&ia(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}),Ou&&ku(Ou,u)||(Ou=u,u=Au(sd,"onSelect"),0<u.length&&(r=new Bs("onSelect","select",null,r,l),n.push({event:r,listeners:u}),r.target=ki)))}function Zs(n,r){var l={};return l[n.toLowerCase()]=r.toLowerCase(),l["Webkit"+n]="webkit"+r,l["Moz"+n]="moz"+r,l}var cl={animationend:Zs("Animation","AnimationEnd"),animationiteration:Zs("Animation","AnimationIteration"),animationstart:Zs("Animation","AnimationStart"),transitionend:Zs("Transition","TransitionEnd")},fd={},dd={};M&&(dd=document.createElement("div").style,"AnimationEvent"in window||(delete cl.animationend.animation,delete cl.animationiteration.animation,delete cl.animationstart.animation),"TransitionEvent"in window||delete cl.transitionend.transition);function Ln(n){if(fd[n])return fd[n];if(!cl[n])return n;var r=cl[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in dd)return fd[n]=r[l];return n}var pd=Ln("animationend"),Xv=Ln("animationiteration"),qv=Ln("animationstart"),Zv=Ln("transitionend"),Jv=new Map,eh="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 aa(n,r){Jv.set(n,r),R(r,[n])}for(var Mu=0;Mu<eh.length;Mu++){var fl=eh[Mu],rg=fl.toLowerCase(),Lu=fl[0].toUpperCase()+fl.slice(1);aa(rg,"on"+Lu)}aa(pd,"onAnimationEnd"),aa(Xv,"onAnimationIteration"),aa(qv,"onAnimationStart"),aa("dblclick","onDoubleClick"),aa("focusin","onFocus"),aa("focusout","onBlur"),aa(Zv,"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 _u="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(" "),ig=new Set("cancel close invalid load scroll toggle".split(" ").concat(_u));function th(n,r,l){var u=n.type||"unknown-event";n.currentTarget=l,Zl(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 D=u[E],_=D.instance,W=D.currentTarget;if(D=D.listener,_!==h&&c.isPropagationStopped())break e;th(c,D,W),h=_}else for(E=0;E<u.length;E++){if(D=u[E],_=D.instance,W=D.currentTarget,D=D.listener,_!==h&&c.isPropagationStopped())break e;th(c,D,W),h=_}}}if(ql)throw n=vu,ql=!1,vu=null,n}function Ht(n,r){var l=r[Ed];l===void 0&&(l=r[Ed]=new Set);var u=n+"__bubble";l.has(u)||(nh(r,n,2,!1),l.add(u))}function Na(n,r,l){var u=0;r&&(u|=4),nh(l,n,u,r)}var la="_reactListening"+Math.random().toString(36).slice(2);function co(n){if(!n[la]){n[la]=!0,S.forEach(function(l){l!=="selectionchange"&&(ig.has(l)||Na(l,!1,n),Na(l,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[la]||(r[la]=!0,Na("selectionchange",!1,r))}}function nh(n,r,l,u){switch(qf(r)){case 1:var c=Tv;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 D=u.stateNode.containerInfo;if(D===c||D.nodeType===8&&D.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(;D!==null;){if(E=ni(D),E===null)return;if(_=E.tag,_===5||_===6){u=h=E;continue e}D=D.parentNode}}u=u.return}Vf(function(){var W=h,se=en(l),ve=[];e:{var ae=Jv.get(n);if(ae!==void 0){var be=Bs,_e=n;switch(n){case"keypress":if(ro(l)===0)break e;case"keydown":case"keyup":be=Ky;break;case"focusin":_e="focus",be=_a;break;case"focusout":_e="blur",be=_a;break;case"beforeblur":case"afterblur":be=_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":be=Ys;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":be=kv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":be=Xy;break;case pd:case Xv:case qv:be=Ov;break;case Zv:be=Nv;break;case"scroll":be=bv;break;case"wheel":be=ra;break;case"copy":case"cut":case"paste":be=Wy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":be=Qs}var Fe=(r&4)!==0,fn=!Fe&&n==="scroll",V=Fe?ae!==null?ae+"Capture":null:ae;Fe=[];for(var A=W,B;A!==null;){B=A;var ye=B.stateNode;if(B.tag===5&&ye!==null&&(B=ye,V!==null&&(ye=pu(A,V),ye!=null&&Fe.push(Nu(A,ye,B)))),fn)break;A=A.return}0<Fe.length&&(ae=new be(ae,_e,null,l,se),ve.push({event:ae,listeners:Fe}))}}if(!(r&7)){e:{if(ae=n==="mouseover"||n==="pointerover",be=n==="mouseout"||n==="pointerout",ae&&l!==qr&&(_e=l.relatedTarget||l.fromElement)&&(ni(_e)||_e[oa]))break e;if((be||ae)&&(ae=se.window===se?se:(ae=se.ownerDocument)?ae.defaultView||ae.parentWindow:window,be?(_e=l.relatedTarget||l.toElement,be=W,_e=_e?ni(_e):null,_e!==null&&(fn=Hi(_e),_e!==fn||_e.tag!==5&&_e.tag!==6)&&(_e=null)):(be=null,_e=W),be!==_e)){if(Fe=Ys,ye="onMouseLeave",V="onMouseEnter",A="mouse",(n==="pointerout"||n==="pointerover")&&(Fe=Qs,ye="onPointerLeave",V="onPointerEnter",A="pointer"),fn=be==null?ae:fo(be),B=_e==null?ae:fo(_e),ae=new Fe(ye,A+"leave",be,l,se),ae.target=fn,ae.relatedTarget=B,ye=null,ni(se)===W&&(Fe=new Fe(V,A+"enter",_e,l,se),Fe.target=B,Fe.relatedTarget=fn,ye=Fe),fn=ye,be&&_e)t:{for(Fe=be,V=_e,A=0,B=Fe;B;B=dl(B))A++;for(B=0,ye=V;ye;ye=dl(ye))B++;for(;0<A-B;)Fe=dl(Fe),A--;for(;0<B-A;)V=dl(V),B--;for(;A--;){if(Fe===V||V!==null&&Fe===V.alternate)break t;Fe=dl(Fe),V=dl(V)}Fe=null}else Fe=null;be!==null&&vd(ve,ae,be,Fe,!1),_e!==null&&fn!==null&&vd(ve,fn,_e,Fe,!0)}}e:{if(ae=W?fo(W):window,be=ae.nodeName&&ae.nodeName.toLowerCase(),be==="select"||be==="input"&&ae.type==="file")var Ve=Vv;else if(Hv(ae))if(ld)Ve=$v;else{Ve=eg;var qe=Jy}else(be=ae.nodeName)&&be.toLowerCase()==="input"&&(ae.type==="checkbox"||ae.type==="radio")&&(Ve=tg);if(Ve&&(Ve=Ve(n,W))){Pv(ve,Ve,l,se);break e}qe&&qe(n,ae,W),n==="focusout"&&(qe=ae._wrapperState)&&qe.controlled&&ae.type==="number"&&bt(ae,"number",ae.value)}switch(qe=W?fo(W):window,n){case"focusin":(Hv(qe)||qe.contentEditable==="true")&&(ki=qe,sd=W,Ou=null);break;case"focusout":Ou=sd=ki=null;break;case"mousedown":cd=!0;break;case"contextmenu":case"mouseup":case"dragend":cd=!1,Kv(ve,l,se);break;case"selectionchange":if(Gv)break;case"keydown":case"keyup":Kv(ve,l,se)}var Ne;if(Di)e:{switch(n){case"compositionstart":var Ze="onCompositionStart";break e;case"compositionend":Ze="onCompositionEnd";break e;case"compositionupdate":Ze="onCompositionUpdate";break e}Ze=void 0}else lo?Uv(n,l)&&(Ze="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(Ze="onCompositionStart");Ze&&(Av&&l.locale!=="ko"&&(lo||Ze!=="onCompositionStart"?Ze==="onCompositionEnd"&&lo&&(Ne=Zf()):(ta=se,xu="value"in ta?ta.value:ta.textContent,lo=!0)),qe=Au(W,Ze),0<qe.length&&(Ze=new td(Ze,n,null,l,se),ve.push({event:Ze,listeners:qe}),Ne?Ze.data=Ne:(Ne=Ks(l),Ne!==null&&(Ze.data=Ne)))),(Ne=Gs?qy(n,l):Zy(n,l))&&(W=Au(W,"onBeforeInput"),0<W.length&&(se=new td("onBeforeInput","beforeinput",null,l,se),ve.push({event:se,listeners:W}),se.data=Ne))}Js(ve,r)})}function Nu(n,r,l){return{instance:n,listener:r,currentTarget:l}}function Au(n,r){for(var l=r+"Capture",u=[];n!==null;){var c=n,h=c.stateNode;c.tag===5&&h!==null&&(c=h,h=pu(n,l),h!=null&&u.unshift(Nu(n,h,c)),h=pu(n,r),h!=null&&u.push(Nu(n,h,c))),n=n.return}return u}function dl(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function vd(n,r,l,u,c){for(var h=r._reactName,E=[];l!==null&&l!==u;){var D=l,_=D.alternate,W=D.stateNode;if(_!==null&&_===u)break;D.tag===5&&W!==null&&(D=W,c?(_=pu(l,h),_!=null&&E.unshift(Nu(l,_,D))):c||(_=pu(l,h),_!=null&&E.push(Nu(l,_,D)))),l=l.return}E.length!==0&&n.push({event:r,listeners:E})}var hd=/\r\n?/g,ag=/\u0000|\uFFFD/g;function md(n){return(typeof n=="string"?n:""+n).replace(hd,`
|
|
33
|
-
`).replace(ag,"")}function tc(n,r,l){if(r=md(r),md(n)!==r&&l)throw Error(v(425))}function nc(){}var yd=null,pl=null;function zu(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 vl=typeof setTimeout=="function"?setTimeout:void 0,rh=typeof clearTimeout=="function"?clearTimeout:void 0,gd=typeof Promise=="function"?Promise:void 0,Sd=typeof queueMicrotask=="function"?queueMicrotask:typeof gd<"u"?function(n){return gd.resolve(null).then(n).catch(lg)}:vl;function lg(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),Cu(r);return}u--}else l!=="$"&&l!=="$?"&&l!=="$!"||u++;l=c}while(l);Cu(r)}function Oi(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 Uu(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),Pi="__reactFiber$"+za,hl="__reactProps$"+za,oa="__reactContainer$"+za,Ed="__reactEvents$"+za,og="__reactListeners$"+za,Cd="__reactHandles$"+za;function ni(n){var r=n[Pi];if(r)return r;for(var l=n.parentNode;l;){if(r=l[oa]||l[Pi]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=Uu(n);n!==null;){if(l=n[Pi])return l;n=Uu(n)}return r}n=l,l=n.parentNode}return null}function Fu(n){return n=n[Pi]||n[oa],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function fo(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(v(33))}function We(n){return n[hl]||null}var Ua=[],jt=-1;function ut(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 Vi={},et=ut(Vi),rn=ut(!1),Rr=Vi;function ri(n,r){var l=n.type.contextTypes;if(!l)return Vi;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 Wt(n){return n=n.childContextTypes,n!=null}function ii(){Dt(rn),Dt(et)}function Fa(n,r,l){if(et.current!==Vi)throw Error(v(168));kt(et,r),kt(rn,l)}function Hu(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||Vi,Rr=et.current,kt(et,n),kt(rn,rn.current),!0}function ih(n,r,l){var u=n.stateNode;if(!u)throw Error(v(169));l?(n=Hu(n,r,Rr),u.__reactInternalMemoizedMergedChildContext=n,Dt(rn),Dt(et),kt(et,n)):Dt(rn),kt(rn,l)}var Vr=null,_n=!1,Pu=!1;function Rd(n){Vr===null?Vr=[n]:Vr.push(n)}function xd(n){_n=!0,Rd(n)}function xr(){if(!Pu&&Vr!==null){Pu=!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,_n=!1}catch(c){throw Vr!==null&&(Vr=Vr.slice(n+1)),Bf(ea,xr),c}finally{Lt=r,Pu=!1}}return null}var Ha=[],Tr=0,ml=null,po=0,wr=[],tr=0,ai=null,jn=1,ua="";function Ir(n,r){Ha[Tr++]=po,Ha[Tr++]=ml,ml=n,po=r}function Td(n,r,l){wr[tr++]=jn,wr[tr++]=ua,wr[tr++]=ai,ai=n;var u=jn;n=ua;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,ua=h+n}else jn=1<<h|l<<c|u,ua=n}function ic(n){n.return!==null&&(Ir(n,1),Td(n,1,0))}function wd(n){for(;n===ml;)ml=Ha[--Tr],Ha[Tr]=null,po=Ha[--Tr],Ha[Tr]=null;for(;n===ai;)ai=wr[--tr],wr[tr]=null,ua=wr[--tr],wr[tr]=null,jn=wr[--tr],wr[tr]=null}var jr=null,br=null,Bt=!1,li=null;function bd(n,r){var l=vi(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 ah(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,br=Oi(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,jr=n,br=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(l=ai!==null?{id:jn,overflow:ua}:null,n.memoizedState={dehydrated:r,treeContext:l,retryLane:1073741824},l=vi(18,null,null,0),l.stateNode=r,l.return=n,n.child=l,jr=n,br=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=br;if(r){var l=r;if(!ah(n,r)){if(ac(n))throw Error(v(418));r=Oi(l.nextSibling);var u=jr;r&&ah(n,r)?bd(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 lh(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 lh(n),Bt=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!zu(n.type,n.memoizedProps)),r&&(r=br)){if(ac(n))throw oh(),Error(v(418));for(;r;)bd(n,r),r=Oi(r.nextSibling)}if(lh(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){br=Oi(n.nextSibling);break e}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++}n=n.nextSibling}br=null}}else br=jr?Oi(n.stateNode.nextSibling):null;return!0}function oh(){for(var n=br;n;)n=Oi(n.nextSibling)}function Xt(){br=jr=null,Bt=!1}function Dd(n){li===null?li=[n]:li.push(n)}var uc=J.ReactCurrentBatchConfig;function yl(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 D=c.refs;E===null?delete D[h]:D[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 Ii(n,r){throw n=Object.prototype.toString.call(r),Error(v(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function uh(n){var r=n._init;return r(n._payload)}function sc(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 D(V,A,B,ye){return A===null||A.tag!==6?(A=Xc(B,V.mode,ye),A.return=V,A):(A=c(A,B),A.return=V,A)}function _(V,A,B,ye){var Ve=B.type;return Ve===ge?se(V,A,B.props.children,ye,B.key):A!==null&&(A.elementType===Ve||typeof Ve=="object"&&Ve!==null&&Ve.$$typeof===re&&uh(Ve)===A.type)?(ye=c(A,B.props),ye.ref=yl(V,A,B),ye.return=V,ye):(ye=Gc(B.type,B.key,B.props,null,V.mode,ye),ye.ref=yl(V,A,B),ye.return=V,ye)}function W(V,A,B,ye){return A===null||A.tag!==4||A.stateNode.containerInfo!==B.containerInfo||A.stateNode.implementation!==B.implementation?(A=rs(B,V.mode,ye),A.return=V,A):(A=c(A,B.children||[]),A.return=V,A)}function se(V,A,B,ye,Ve){return A===null||A.tag!==7?(A=_l(B,V.mode,ye,Ve),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=Xc(""+A,V.mode,B),A.return=V,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case le:return B=Gc(A.type,A.key,A.props,null,V.mode,B),B.ref=yl(V,null,A),B.return=V,B;case me:return A=rs(A,V.mode,B),A.return=V,A;case re:var ye=A._init;return ve(V,ye(A._payload),B)}if(ot(A)||fe(A))return A=_l(A,V.mode,B,null),A.return=V,A;Ii(V,A)}return null}function ae(V,A,B,ye){var Ve=A!==null?A.key:null;if(typeof B=="string"&&B!==""||typeof B=="number")return Ve!==null?null:D(V,A,""+B,ye);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case le:return B.key===Ve?_(V,A,B,ye):null;case me:return B.key===Ve?W(V,A,B,ye):null;case re:return Ve=B._init,ae(V,A,Ve(B._payload),ye)}if(ot(B)||fe(B))return Ve!==null?null:se(V,A,B,ye,null);Ii(V,B)}return null}function be(V,A,B,ye,Ve){if(typeof ye=="string"&&ye!==""||typeof ye=="number")return V=V.get(B)||null,D(A,V,""+ye,Ve);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,Ve);case me:return V=V.get(ye.key===null?B:ye.key)||null,W(A,V,ye,Ve);case re:var qe=ye._init;return be(V,A,B,qe(ye._payload),Ve)}if(ot(ye)||fe(ye))return V=V.get(B)||null,se(A,V,ye,Ve,null);Ii(A,ye)}return null}function _e(V,A,B,ye){for(var Ve=null,qe=null,Ne=A,Ze=A=0,bn=null;Ne!==null&&Ze<B.length;Ze++){Ne.index>Ze?(bn=Ne,Ne=null):bn=Ne.sibling;var Rt=ae(V,Ne,B[Ze],ye);if(Rt===null){Ne===null&&(Ne=bn);break}n&&Ne&&Rt.alternate===null&&r(V,Ne),A=h(Rt,A,Ze),qe===null?Ve=Rt:qe.sibling=Rt,qe=Rt,Ne=bn}if(Ze===B.length)return l(V,Ne),Bt&&Ir(V,Ze),Ve;if(Ne===null){for(;Ze<B.length;Ze++)Ne=ve(V,B[Ze],ye),Ne!==null&&(A=h(Ne,A,Ze),qe===null?Ve=Ne:qe.sibling=Ne,qe=Ne);return Bt&&Ir(V,Ze),Ve}for(Ne=u(V,Ne);Ze<B.length;Ze++)bn=be(Ne,V,Ze,B[Ze],ye),bn!==null&&(n&&bn.alternate!==null&&Ne.delete(bn.key===null?Ze:bn.key),A=h(bn,A,Ze),qe===null?Ve=bn:qe.sibling=bn,qe=bn);return n&&Ne.forEach(function(ha){return r(V,ha)}),Bt&&Ir(V,Ze),Ve}function Fe(V,A,B,ye){var Ve=fe(B);if(typeof Ve!="function")throw Error(v(150));if(B=Ve.call(B),B==null)throw Error(v(151));for(var qe=Ve=null,Ne=A,Ze=A=0,bn=null,Rt=B.next();Ne!==null&&!Rt.done;Ze++,Rt=B.next()){Ne.index>Ze?(bn=Ne,Ne=null):bn=Ne.sibling;var ha=ae(V,Ne,Rt.value,ye);if(ha===null){Ne===null&&(Ne=bn);break}n&&Ne&&ha.alternate===null&&r(V,Ne),A=h(ha,A,Ze),qe===null?Ve=ha:qe.sibling=ha,qe=ha,Ne=bn}if(Rt.done)return l(V,Ne),Bt&&Ir(V,Ze),Ve;if(Ne===null){for(;!Rt.done;Ze++,Rt=B.next())Rt=ve(V,Rt.value,ye),Rt!==null&&(A=h(Rt,A,Ze),qe===null?Ve=Rt:qe.sibling=Rt,qe=Rt);return Bt&&Ir(V,Ze),Ve}for(Ne=u(V,Ne);!Rt.done;Ze++,Rt=B.next())Rt=be(Ne,V,Ze,Rt.value,ye),Rt!==null&&(n&&Rt.alternate!==null&&Ne.delete(Rt.key===null?Ze:Rt.key),A=h(Rt,A,Ze),qe===null?Ve=Rt:qe.sibling=Rt,qe=Rt);return n&&Ne.forEach(function(wg){return r(V,wg)}),Bt&&Ir(V,Ze),Ve}function fn(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 Ve=B.key,qe=A;qe!==null;){if(qe.key===Ve){if(Ve=B.type,Ve===ge){if(qe.tag===7){l(V,qe.sibling),A=c(qe,B.props.children),A.return=V,V=A;break e}}else if(qe.elementType===Ve||typeof Ve=="object"&&Ve!==null&&Ve.$$typeof===re&&uh(Ve)===qe.type){l(V,qe.sibling),A=c(qe,B.props),A.ref=yl(V,qe,B),A.return=V,V=A;break e}l(V,qe);break}else r(V,qe);qe=qe.sibling}B.type===ge?(A=_l(B.props.children,V.mode,ye,B.key),A.return=V,V=A):(ye=Gc(B.type,B.key,B.props,null,V.mode,ye),ye.ref=yl(V,A,B),ye.return=V,V=ye)}return E(V);case me:e:{for(qe=B.key;A!==null;){if(A.key===qe)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=rs(B,V.mode,ye),A.return=V,V=A}return E(V);case re:return qe=B._init,fn(V,A,qe(B._payload),ye)}if(ot(B))return _e(V,A,B,ye);if(fe(B))return Fe(V,A,B,ye);Ii(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=Xc(B,V.mode,ye),A.return=V,V=A),E(V)):l(V,A)}return fn}var vo=sc(!0),sh=sc(!1),sa=ut(null),Rn=null,Re=null,oi=null;function Br(){oi=Re=Rn=null}function kd(n){var r=sa.current;Dt(sa),n._currentValue=r}function Od(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 ho(n,r){Rn=n,oi=Re=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(Or=!0),n.firstContext=null)}function ui(n){var r=n._currentValue;if(oi!==n)if(n={context:n,memoizedValue:r,next:null},Re===null){if(Rn===null)throw Error(v(308));Re=n,Rn.dependencies={lanes:0,firstContext:n}}else Re=Re.next=n;return r}var gl=null;function mn(n){gl===null?gl=[n]:gl.push(n)}function ch(n,r,l,u){var c=r.interleaved;return c===null?(l.next=l,mn(r)):(l.next=c.next,c.next=l),r.interleaved=l,ca(n,u)}function ca(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 Pa=!1;function cc(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function mo(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 Dr(n,r){return{eventTime:n,lane:r,tag:0,payload:null,callback:null,next:null}}function Va(n,r,l){var u=n.updateQueue;if(u===null)return null;if(u=u.shared,ht&2){var c=u.pending;return c===null?r.next=r:(r.next=c.next,c.next=r),u.pending=r,ca(n,l)}return c=u.interleaved,c===null?(r.next=r,mn(u)):(r.next=c.next,c.next=r),u.interleaved=r,ca(n,l)}function fc(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,yu(n,l)}}function fh(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 dc(n,r,l,u){var c=n.updateQueue;Pa=!1;var h=c.firstBaseUpdate,E=c.lastBaseUpdate,D=c.shared.pending;if(D!==null){c.shared.pending=null;var _=D,W=_.next;_.next=null,E===null?h=W:E.next=W,E=_;var se=n.alternate;se!==null&&(se=se.updateQueue,D=se.lastBaseUpdate,D!==E&&(D===null?se.firstBaseUpdate=W:D.next=W,se.lastBaseUpdate=_))}if(h!==null){var ve=c.baseState;E=0,se=W=_=null,D=h;do{var ae=D.lane,be=D.eventTime;if((u&ae)===ae){se!==null&&(se=se.next={eventTime:be,lane:0,tag:D.tag,payload:D.payload,callback:D.callback,next:null});e:{var _e=n,Fe=D;switch(ae=r,be=l,Fe.tag){case 1:if(_e=Fe.payload,typeof _e=="function"){ve=_e.call(be,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(be,ve,ae):_e,ae==null)break e;ve=$({},ve,ae);break e;case 2:Pa=!0}}D.callback!==null&&D.lane!==0&&(n.flags|=64,ae=c.effects,ae===null?c.effects=[D]:ae.push(D))}else be={eventTime:be,lane:ae,tag:D.tag,payload:D.payload,callback:D.callback,next:null},se===null?(W=se=be,_=ve):se=se.next=be,E|=ae;if(D=D.next,D===null){if(D=c.shared.pending,D===null)break;ae=D,D=ae.next,ae.next=null,c.lastBaseUpdate=ae,c.shared.pending=null}}while(1);if(se===null&&(_=ve),c.baseState=_,c.firstBaseUpdate=W,c.lastBaseUpdate=se,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);kl|=E,n.lanes=E,n.memoizedState=ve}}function dh(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 Vu={},Mi=ut(Vu),yo=ut(Vu),Iu=ut(Vu);function Sl(n){if(n===Vu)throw Error(v(174));return n}function Md(n,r){switch(kt(Iu,r),kt(yo,n),kt(Mi,Vu),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(Mi),kt(Mi,r)}function go(){Dt(Mi),Dt(yo),Dt(Iu)}function ph(n){Sl(Iu.current);var r=Sl(Mi.current),l=Vn(r,n.type);r!==l&&(kt(yo,n),kt(Mi,l))}function Ld(n){yo.current===n&&(Dt(Mi),Dt(yo))}var Gt=ut(0);function pc(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 vc=[];function _d(){for(var n=0;n<vc.length;n++)vc[n]._workInProgressVersionPrimary=null;vc.length=0}var hc=J.ReactCurrentDispatcher,ju=J.ReactCurrentBatchConfig,Pe=0,je=null,tt=null,ft=null,$r=!1,So=!1,Bu=0,ug=0;function nr(){throw Error(v(321))}function $u(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 ie(n,r,l,u,c,h){if(Pe=h,je=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,hc.current=n===null||n.memoizedState===null?sg:It,n=l(u,c),So){h=0;do{if(So=!1,Bu=0,25<=h)throw Error(v(301));h+=1,ft=tt=null,r.updateQueue=null,hc.current=Mc,n=l(u,c)}while(So)}if(hc.current=rr,r=tt!==null&&tt.next!==null,Pe=0,ft=tt=je=null,$r=!1,r)throw Error(v(300));return n}function yn(){var n=Bu!==0;return Bu=0,n}function Ye(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ft===null?je.memoizedState=ft=n:ft=ft.next=n,ft}function Bn(){if(tt===null){var n=je.alternate;n=n!==null?n.memoizedState:null}else n=tt.next;var r=ft===null?je.memoizedState:ft.next;if(r!==null)ft=r,tt=n;else{if(n===null)throw Error(v(310));tt=n,n={memoizedState:tt.memoizedState,baseState:tt.baseState,baseQueue:tt.baseQueue,queue:tt.queue,next:null},ft===null?je.memoizedState=ft=n:ft=ft.next=n}return ft}function Yr(n,r){return typeof r=="function"?r(n):r}function fa(n){var r=Bn(),l=r.queue;if(l===null)throw Error(v(311));l.lastRenderedReducer=n;var u=tt,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 D=E=null,_=null,W=h;do{var se=W.lane;if((Pe&se)===se)_!==null&&(_=_.next={lane:0,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null}),u=W.hasEagerState?W.eagerState:n(u,W.action);else{var ve={lane:se,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null};_===null?(D=_=ve,E=u):_=_.next=ve,je.lanes|=se,kl|=se}W=W.next}while(W!==null&&W!==h);_===null?E=u:_.next=D,ti(u,r.memoizedState)||(Or=!0),r.memoizedState=u,r.baseState=E,r.baseQueue=_,l.lastRenderedState=u}if(n=l.interleaved,n!==null){c=n;do h=c.lane,je.lanes|=h,kl|=h,c=c.next;while(c!==n)}else c===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function si(n){var r=Bn(),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)||(Or=!0),r.memoizedState=h,r.baseQueue===null&&(r.baseState=h),l.lastRenderedState=h}return[h,u]}function Eo(){}function El(n,r){var l=je,u=Bn(),c=r(),h=!ti(u.memoizedState,c);if(h&&(u.memoizedState=c,Or=!0),u=u.queue,Yu(yc.bind(null,l,u,n),[n]),u.getSnapshot!==r||h||ft!==null&&ft.memoizedState.tag&1){if(l.flags|=2048,Cl(9,mc.bind(null,l,u,c,r),void 0,null),ln===null)throw Error(v(349));Pe&30||Co(l,r,c)}return c}function Co(n,r,l){n.flags|=16384,n={getSnapshot:r,value:l},r=je.updateQueue,r===null?(r={lastEffect:null,stores:null},je.updateQueue=r,r.stores=[n]):(l=r.stores,l===null?r.stores=[n]:l.push(n))}function mc(n,r,l,u){r.value=l,r.getSnapshot=u,gc(r)&&Sc(n)}function yc(n,r,l){return l(function(){gc(r)&&Sc(n)})}function gc(n){var r=n.getSnapshot;n=n.value;try{var l=r();return!ti(n,l)}catch{return!0}}function Sc(n){var r=ca(n,1);r!==null&&qt(r,n,1,-1)}function Ec(n){var r=Ye();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Yr,lastRenderedState:n},r.queue=n,n=n.dispatch=Qu.bind(null,je,n),[r.memoizedState,n]}function Cl(n,r,l,u){return n={tag:n,create:r,destroy:l,deps:u,next:null},r=je.updateQueue,r===null?(r={lastEffect:null,stores:null},je.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 Cc(){return Bn().memoizedState}function Ro(n,r,l,u){var c=Ye();je.flags|=n,c.memoizedState=Cl(1|r,l,void 0,u===void 0?null:u)}function xo(n,r,l,u){var c=Bn();u=u===void 0?null:u;var h=void 0;if(tt!==null){var E=tt.memoizedState;if(h=E.destroy,u!==null&&$u(u,E.deps)){c.memoizedState=Cl(r,l,h,u);return}}je.flags|=n,c.memoizedState=Cl(1|r,l,h,u)}function Rc(n,r){return Ro(8390656,8,n,r)}function Yu(n,r){return xo(2048,8,n,r)}function xc(n,r){return xo(4,2,n,r)}function Tc(n,r){return xo(4,4,n,r)}function wc(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 bc(n,r,l){return l=l!=null?l.concat([n]):null,xo(4,4,wc.bind(null,r,n),l)}function To(){}function Rl(n,r){var l=Bn();r=r===void 0?null:r;var u=l.memoizedState;return u!==null&&r!==null&&$u(r,u[1])?u[0]:(l.memoizedState=[n,r],n)}function Dc(n,r){var l=Bn();r=r===void 0?null:r;var u=l.memoizedState;return u!==null&&r!==null&&$u(r,u[1])?u[0]:(n=n(),l.memoizedState=[n,r],n)}function kc(n,r,l){return Pe&21?(ti(l,r)||(l=Hs(),je.lanes|=l,kl|=l,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,Or=!0),n.memoizedState=l)}function Nd(n,r){var l=Lt;Lt=l!==0&&4>l?l:4,n(!0);var u=ju.transition;ju.transition={};try{n(!1),r()}finally{Lt=l,ju.transition=u}}function Oc(){return Bn().memoizedState}function vh(n,r,l){var u=va(n);if(l={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null},Ad(n))wo(r,l);else if(l=ch(n,r,l,u),l!==null){var c=zn();qt(l,n,u,c),Ia(l,r,u)}}function Qu(n,r,l){var u=va(n),c={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null};if(Ad(n))wo(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,D=h(E,l);if(c.hasEagerState=!0,c.eagerState=D,ti(D,E)){var _=r.interleaved;_===null?(c.next=c,mn(r)):(c.next=_.next,_.next=c),r.interleaved=c;return}}catch{}finally{}l=ch(n,r,c,u),l!==null&&(c=zn(),qt(l,n,u,c),Ia(l,r,u))}}function Ad(n){var r=n.alternate;return n===je||r!==null&&r===je}function wo(n,r){So=$r=!0;var l=n.pending;l===null?r.next=r:(r.next=l.next,l.next=r),n.pending=r}function Ia(n,r,l){if(l&4194240){var u=r.lanes;u&=n.pendingLanes,l|=u,r.lanes=l,yu(n,l)}}var rr={readContext:ui,useCallback:nr,useContext:nr,useEffect:nr,useImperativeHandle:nr,useInsertionEffect:nr,useLayoutEffect:nr,useMemo:nr,useReducer:nr,useRef:nr,useState:nr,useDebugValue:nr,useDeferredValue:nr,useTransition:nr,useMutableSource:nr,useSyncExternalStore:nr,useId:nr,unstable_isNewReconciler:!1},sg={readContext:ui,useCallback:function(n,r){return Ye().memoizedState=[n,r===void 0?null:r],n},useContext:ui,useEffect:Rc,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,Ro(4194308,4,wc.bind(null,r,n),l)},useLayoutEffect:function(n,r){return Ro(4194308,4,n,r)},useInsertionEffect:function(n,r){return Ro(4,2,n,r)},useMemo:function(n,r){var l=Ye();return r=r===void 0?null:r,n=n(),l.memoizedState=[n,r],n},useReducer:function(n,r,l){var u=Ye();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=vh.bind(null,je,n),[u.memoizedState,n]},useRef:function(n){var r=Ye();return n={current:n},r.memoizedState=n},useState:Ec,useDebugValue:To,useDeferredValue:function(n){return Ye().memoizedState=n},useTransition:function(){var n=Ec(!1),r=n[0];return n=Nd.bind(null,n[1]),Ye().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,l){var u=je,c=Ye();if(Bt){if(l===void 0)throw Error(v(407));l=l()}else{if(l=r(),ln===null)throw Error(v(349));Pe&30||Co(u,r,l)}c.memoizedState=l;var h={value:l,getSnapshot:r};return c.queue=h,Rc(yc.bind(null,u,h,n),[n]),u.flags|=2048,Cl(9,mc.bind(null,u,h,l,r),void 0,null),l},useId:function(){var n=Ye(),r=ln.identifierPrefix;if(Bt){var l=ua,u=jn;l=(u&~(1<<32-Zr(u)-1)).toString(32)+l,r=":"+r+"R"+l,l=Bu++,0<l&&(r+="H"+l.toString(32)),r+=":"}else l=ug++,r=":"+r+"r"+l.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},It={readContext:ui,useCallback:Rl,useContext:ui,useEffect:Yu,useImperativeHandle:bc,useInsertionEffect:xc,useLayoutEffect:Tc,useMemo:Dc,useReducer:fa,useRef:Cc,useState:function(){return fa(Yr)},useDebugValue:To,useDeferredValue:function(n){var r=Bn();return kc(r,tt.memoizedState,n)},useTransition:function(){var n=fa(Yr)[0],r=Bn().memoizedState;return[n,r]},useMutableSource:Eo,useSyncExternalStore:El,useId:Oc,unstable_isNewReconciler:!1},Mc={readContext:ui,useCallback:Rl,useContext:ui,useEffect:Yu,useImperativeHandle:bc,useInsertionEffect:xc,useLayoutEffect:Tc,useMemo:Dc,useReducer:si,useRef:Cc,useState:function(){return si(Yr)},useDebugValue:To,useDeferredValue:function(n){var r=Bn();return tt===null?r.memoizedState=n:kc(r,tt.memoizedState,n)},useTransition:function(){var n=si(Yr)[0],r=Bn().memoizedState;return[n,r]},useMutableSource:Eo,useSyncExternalStore:El,useId:Oc,unstable_isNewReconciler:!1};function kr(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}function xl(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 Tl={isMounted:function(n){return(n=n._reactInternals)?Hi(n)===n:!1},enqueueSetState:function(n,r,l){n=n._reactInternals;var u=zn(),c=va(n),h=Dr(u,c);h.payload=r,l!=null&&(h.callback=l),r=Va(n,h,c),r!==null&&(qt(r,n,c,u),fc(r,n,c))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var u=zn(),c=va(n),h=Dr(u,c);h.tag=1,h.payload=r,l!=null&&(h.callback=l),r=Va(n,h,c),r!==null&&(qt(r,n,c,u),fc(r,n,c))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=zn(),u=va(n),c=Dr(l,u);c.tag=2,r!=null&&(c.callback=r),r=Va(n,c,u),r!==null&&(qt(r,n,u,l),fc(r,n,u))}};function hh(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?!ku(l,u)||!ku(c,h):!0}function mh(n,r,l){var u=!1,c=Vi,h=r.contextType;return typeof h=="object"&&h!==null?h=ui(h):(c=Wt(r)?Rr:et.current,u=r.contextTypes,h=(u=u!=null)?ri(n,c):Vi),r=new r(l,h),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Tl,n.stateNode=r,r._reactInternals=n,u&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=c,n.__reactInternalMemoizedMaskedChildContext=h),r}function yh(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&&Tl.enqueueReplaceState(r,r.state,null)}function zd(n,r,l,u){var c=n.stateNode;c.props=l,c.state=n.memoizedState,c.refs={},cc(n);var h=r.contextType;typeof h=="object"&&h!==null?c.context=ui(h):(h=Wt(r)?Rr:et.current,c.context=ri(n,h)),c.state=n.memoizedState,h=r.getDerivedStateFromProps,typeof h=="function"&&(xl(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&&Tl.enqueueReplaceState(c,c.state,null),dc(n,l,c,u),c.state=n.memoizedState),typeof c.componentDidMount=="function"&&(n.flags|=4194308)}function ja(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 Ud(n,r,l){return{value:n,source:null,stack:l??null,digest:r??null}}function Wu(n,r){try{console.error(r.value)}catch(l){setTimeout(function(){throw l})}}var gh=typeof WeakMap=="function"?WeakMap:Map;function Sh(n,r,l){l=Dr(-1,l),l.tag=3,l.payload={element:null};var u=r.value;return l.callback=function(){jc||(jc=!0,Yd=u),Wu(n,r)},l}function Eh(n,r,l){l=Dr(-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(){Wu(n,r)}}var h=n.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(l.callback=function(){Wu(n,r),typeof u!="function"&&(di===null?di=new Set([this]):di.add(this));var E=r.stack;this.componentDidCatch(r.value,{componentStack:E!==null?E:""})}),l}function Gu(n,r,l){var u=n.pingCache;if(u===null){u=n.pingCache=new gh;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=Sg.bind(null,n,r,l),r.then(n,n))}function Ch(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 Fd(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=Dr(-1,1),r.tag=2,Va(l,r,1))),l.lanes|=1),n)}var Rh=J.ReactCurrentOwner,Or=!1;function sn(n,r,l,u){r.child=n===null?sh(r,null,l,u):vo(r,n.child,l,u)}function bo(n,r,l,u,c){l=l.render;var h=r.ref;return ho(r,c),u=ie(n,r,l,u,h,c),l=yn(),n!==null&&!Or?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,cn(n,r,c)):(Bt&&l&&ic(r),r.flags|=1,sn(n,r,u,c),r.child)}function Ba(n,r,l,u,c){if(n===null){var h=l.type;return typeof h=="function"&&!Xd(h)&&h.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(r.tag=15,r.type=h,Lc(n,r,h,u,c)):(n=Gc(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:ku,l(E,u)&&n.ref===r.ref)return cn(n,r,c)}return r.flags|=1,n=Qa(h,u),n.ref=r.ref,n.return=r,r.child=n}function Lc(n,r,l,u,c){if(n!==null){var h=n.memoizedProps;if(ku(h,u)&&n.ref===r.ref)if(Or=!1,r.pendingProps=u=h,(n.lanes&c)!==0)n.flags&131072&&(Or=!0);else return r.lanes=n.lanes,cn(n,r,c)}return lt(n,r,l,u,c)}function Mr(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,Lr),Lr|=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,Lr),Lr|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=h!==null?h.baseLanes:l,kt(Uo,Lr),Lr|=u}else h!==null?(u=h.baseLanes|l,r.memoizedState=null):u=l,kt(Uo,Lr),Lr|=u;return sn(n,r,c,l),r.child}function wl(n,r){var l=r.ref;(n===null&&l!==null||n!==null&&n.ref!==l)&&(r.flags|=512,r.flags|=2097152)}function lt(n,r,l,u,c){var h=Wt(l)?Rr:et.current;return h=ri(r,h),ho(r,c),l=ie(n,r,l,u,h,c),u=yn(),n!==null&&!Or?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,cn(n,r,c)):(Bt&&u&&ic(r),r.flags|=1,sn(n,r,l,c),r.child)}function Ku(n,r,l,u,c){if(Wt(l)){var h=!0;rc(r)}else h=!1;if(ho(r,c),r.stateNode===null)qu(n,r),mh(r,l,u),zd(r,l,u,c),u=!0;else if(n===null){var E=r.stateNode,D=r.memoizedProps;E.props=D;var _=E.context,W=l.contextType;typeof W=="object"&&W!==null?W=ui(W):(W=Wt(l)?Rr:et.current,W=ri(r,W));var se=l.getDerivedStateFromProps,ve=typeof se=="function"||typeof E.getSnapshotBeforeUpdate=="function";ve||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(D!==u||_!==W)&&yh(r,E,u,W),Pa=!1;var ae=r.memoizedState;E.state=ae,dc(r,u,E,c),_=r.memoizedState,D!==u||ae!==_||rn.current||Pa?(typeof se=="function"&&(xl(r,l,se,u),_=r.memoizedState),(D=Pa||hh(r,l,D,u,ae,_,W))?(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=W,u=D):(typeof E.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{E=r.stateNode,mo(n,r),D=r.memoizedProps,W=r.type===r.elementType?D:kr(r.type,D),E.props=W,ve=r.pendingProps,ae=E.context,_=l.contextType,typeof _=="object"&&_!==null?_=ui(_):(_=Wt(l)?Rr:et.current,_=ri(r,_));var be=l.getDerivedStateFromProps;(se=typeof be=="function"||typeof E.getSnapshotBeforeUpdate=="function")||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(D!==ve||ae!==_)&&yh(r,E,u,_),Pa=!1,ae=r.memoizedState,E.state=ae,dc(r,u,E,c);var _e=r.memoizedState;D!==ve||ae!==_e||rn.current||Pa?(typeof be=="function"&&(xl(r,l,be,u),_e=r.memoizedState),(W=Pa||hh(r,l,W,u,ae,_e,_)||!1)?(se||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"||D===n.memoizedProps&&ae===n.memoizedState||(r.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||D===n.memoizedProps&&ae===n.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=_e),E.props=u,E.state=_e,E.context=_,u=W):(typeof E.componentDidUpdate!="function"||D===n.memoizedProps&&ae===n.memoizedState||(r.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||D===n.memoizedProps&&ae===n.memoizedState||(r.flags|=1024),u=!1)}return _c(n,r,l,u,h,c)}function _c(n,r,l,u,c,h){wl(n,r);var E=(r.flags&128)!==0;if(!u&&!E)return c&&ih(r,l,!1),cn(n,r,h);u=r.stateNode,Rh.current=r;var D=E&&typeof l.getDerivedStateFromError!="function"?null:u.render();return r.flags|=1,n!==null&&E?(r.child=vo(r,n.child,null,h),r.child=vo(r,null,D,h)):sn(n,r,D,h),r.memoizedState=u.state,c&&ih(r,l,!0),r.child}function cg(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 xh(n,r,l,u,c){return Xt(),Dd(c),r.flags|=256,sn(n,r,l,u),r.child}var Xu={dehydrated:null,treeContext:null,retryLane:0};function bl(n){return{baseLanes:n,cachePool:null,transitions:null}}function Th(n,r,l){var u=r.pendingProps,c=Gt.current,h=!1,E=(r.flags&128)!==0,D;if((D=E)||(D=n!==null&&n.memoizedState===null?!1:(c&2)!==0),D?(h=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(c|=1),kt(Gt,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=Kc(E,u,0,null),n=_l(n,u,l,null),h.return=r,n.return=r,h.sibling=n,r.child=h,r.child.memoizedState=bl(l),r.memoizedState=Xu,n):Nc(r,E));if(c=n.memoizedState,c!==null&&(D=c.dehydrated,D!==null))return Hd(n,r,E,u,D,c,l);if(h){h=u.fallback,E=r.mode,c=n.child,D=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),D!==null?h=Qa(D,h):(h=_l(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?bl(l):{baseLanes:E.baseLanes|l,cachePool:null,transitions:E.transitions},h.memoizedState=E,h.childLanes=n.childLanes&~l,r.memoizedState=Xu,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 Nc(n,r){return r=Kc({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function Ac(n,r,l,u){return u!==null&&Dd(u),vo(r,n.child,null,l),n=Nc(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function Hd(n,r,l,u,c,h,E){if(l)return r.flags&256?(r.flags&=-257,u=Ud(Error(v(422))),Ac(n,r,E,u)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(h=u.fallback,c=r.mode,u=Kc({mode:"visible",children:u.children},c,0,null),h=_l(h,c,E,null),h.flags|=2,u.return=r,h.return=r,u.sibling=h,r.child=u,r.mode&1&&vo(r,n.child,null,E),r.child.memoizedState=bl(E),r.memoizedState=Xu,h);if(!(r.mode&1))return Ac(n,r,E,null);if(c.data==="$!"){if(u=c.nextSibling&&c.nextSibling.dataset,u)var D=u.dgst;return u=D,h=Error(v(419)),u=Ud(h,u,void 0),Ac(n,r,E,u)}if(D=(E&n.childLanes)!==0,Or||D){if(u=ln,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,ca(n,c),qt(u,n,c,-1))}return ns(),u=Ud(Error(v(421))),Ac(n,r,E,u)}return c.data==="$?"?(r.flags|=128,r.child=n.child,r=Kd.bind(null,n),c._reactRetry=r,null):(n=h.treeContext,br=Oi(c.nextSibling),jr=r,Bt=!0,li=null,n!==null&&(wr[tr++]=jn,wr[tr++]=ua,wr[tr++]=ai,jn=n.id,ua=n.overflow,ai=r),r=Nc(r,u.children),r.flags|=4096,r)}function wh(n,r,l){n.lanes|=r;var u=n.alternate;u!==null&&(u.lanes|=r),Od(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 Pd(n,r,l){var u=r.pendingProps,c=u.revealOrder,h=u.tail;if(sn(n,r,u.children,l),u=Gt.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&&wh(n,l,r);else if(n.tag===19)wh(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(Gt,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&&pc(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&&pc(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 qu(n,r){!(r.mode&1)&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function cn(n,r,l){if(n!==null&&(r.dependencies=n.dependencies),kl|=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 da(n,r,l){switch(r.tag){case 3:cg(r),Xt();break;case 5:ph(r);break;case 1:Wt(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(sa,u._currentValue),u._currentValue=c;break;case 13:if(u=r.memoizedState,u!==null)return u.dehydrated!==null?(kt(Gt,Gt.current&1),r.flags|=128,null):l&r.child.childLanes?Th(n,r,l):(kt(Gt,Gt.current&1),n=cn(n,r,l),n!==null?n.sibling:null);kt(Gt,Gt.current&1);break;case 19:if(u=(l&r.childLanes)!==0,n.flags&128){if(u)return Pd(n,r,l);r.flags|=128}if(c=r.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),kt(Gt,Gt.current),u)break;return null;case 22:case 23:return r.lanes=0,Mr(n,r,l)}return cn(n,r,l)}var ji,Do,ko,ci;ji=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}},Do=function(){},ko=function(n,r,l,u){var c=n.memoizedProps;if(c!==u){n=r.stateNode,Sl(Mi.current);var h=null;switch(l){case"input":c=Vt(n,c),u=Vt(n,u),h=[];break;case"select":c=$({},c,{value:void 0}),u=$({},u,{value:void 0}),h=[];break;case"textarea":c=kn(n,c),u=kn(n,u),h=[];break;default:typeof c.onClick!="function"&&typeof u.onClick=="function"&&(n.onclick=nc)}Jn(l,u);var E;l=null;for(W in c)if(!u.hasOwnProperty(W)&&c.hasOwnProperty(W)&&c[W]!=null)if(W==="style"){var D=c[W];for(E in D)D.hasOwnProperty(E)&&(l||(l={}),l[E]="")}else W!=="dangerouslySetInnerHTML"&&W!=="children"&&W!=="suppressContentEditableWarning"&&W!=="suppressHydrationWarning"&&W!=="autoFocus"&&(C.hasOwnProperty(W)?h||(h=[]):(h=h||[]).push(W,null));for(W in u){var _=u[W];if(D=c!=null?c[W]:void 0,u.hasOwnProperty(W)&&_!==D&&(_!=null||D!=null))if(W==="style")if(D){for(E in D)!D.hasOwnProperty(E)||_&&_.hasOwnProperty(E)||(l||(l={}),l[E]="");for(E in _)_.hasOwnProperty(E)&&D[E]!==_[E]&&(l||(l={}),l[E]=_[E])}else l||(h||(h=[]),h.push(W,l)),l=_;else W==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,D=D?D.__html:void 0,_!=null&&D!==_&&(h=h||[]).push(W,_)):W==="children"?typeof _!="string"&&typeof _!="number"||(h=h||[]).push(W,""+_):W!=="suppressContentEditableWarning"&&W!=="suppressHydrationWarning"&&(C.hasOwnProperty(W)?(_!=null&&W==="onScroll"&&Ht("scroll",n),h||D===_||(h=[])):(h=h||[]).push(W,_))}l&&(h=h||[]).push("style",l);var W=h;(r.updateQueue=W)&&(r.flags|=4)}},ci=function(n,r,l,u){l!==u&&(r.flags|=4)};function an(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 ir(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(wd(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ir(r),null;case 1:return Wt(r.type)&&ii(),ir(r),null;case 3:return u=r.stateNode,go(),Dt(rn),Dt(et),_d(),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&&(Qd(li),li=null))),Do(n,r),ir(r),null;case 5:Ld(r);var c=Sl(Iu.current);if(l=r.type,n!==null&&r.stateNode!=null)ko(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 ir(r),null}if(n=Sl(Mi.current),oc(r)){u=r.stateNode,l=r.type;var h=r.memoizedProps;switch(u[Pi]=r,u[hl]=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<_u.length;c++)Ht(_u[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":Sn(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 D=h[E];E==="children"?typeof D=="string"?u.textContent!==D&&(h.suppressHydrationWarning!==!0&&tc(u.textContent,D,n),c=["children",D]):typeof D=="number"&&u.textContent!==""+D&&(h.suppressHydrationWarning!==!0&&tc(u.textContent,D,n),c=["children",""+D]):C.hasOwnProperty(E)&&D!=null&&E==="onScroll"&&Ht("scroll",u)}switch(l){case"input":st(u),pt(u,h,!0);break;case"textarea":st(u),On(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[Pi]=r,n[hl]=u,ji(n,r,!1,!1),r.stateNode=n;e:{switch(E=En(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<_u.length;c++)Ht(_u[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":Sn(n,u),c=Vt(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=kn(n,u),Ht("invalid",n);break;default:c=u}Jn(l,c),D=c;for(h in D)if(D.hasOwnProperty(h)){var _=D[h];h==="style"?Ft(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":st(n),pt(n,u,!1);break;case"textarea":st(n),On(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 ir(r),null;case 6:if(n&&r.stateNode!=null)ci(n,r,n.memoizedProps,u);else{if(typeof u!="string"&&r.stateNode===null)throw Error(v(166));if(l=Sl(Iu.current),Sl(Mi.current),oc(r)){if(u=r.stateNode,l=r.memoizedProps,u[Pi]=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[Pi]=r,r.stateNode=u}return ir(r),null;case 13:if(Dt(Gt),u=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Bt&&br!==null&&r.mode&1&&!(r.flags&128))oh(),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[Pi]=r}else Xt(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;ir(r),h=!1}else li!==null&&(Qd(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||Gt.current&1?Tn===0&&(Tn=3):ns())),r.updateQueue!==null&&(r.flags|=4),ir(r),null);case 4:return go(),Do(n,r),n===null&&co(r.stateNode.containerInfo),ir(r),null;case 10:return kd(r.type._context),ir(r),null;case 17:return Wt(r.type)&&ii(),ir(r),null;case 19:if(Dt(Gt),h=r.memoizedState,h===null)return ir(r),null;if(u=(r.flags&128)!==0,E=h.rendering,E===null)if(u)an(h,!1);else{if(Tn!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(E=pc(n),E!==null){for(r.flags|=128,an(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(Gt,Gt.current&1|2),r.child}n=n.sibling}h.tail!==null&&nn()>Ho&&(r.flags|=128,u=!0,an(h,!1),r.lanes=4194304)}else{if(!u)if(n=pc(E),n!==null){if(r.flags|=128,u=!0,l=n.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),an(h,!0),h.tail===null&&h.tailMode==="hidden"&&!E.alternate&&!Bt)return ir(r),null}else 2*nn()-h.renderingStartTime>Ho&&l!==1073741824&&(r.flags|=128,u=!0,an(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=nn(),r.sibling=null,l=Gt.current,kt(Gt,u?l&1|2:l&1),r):(ir(r),null);case 22:case 23:return Qc(),u=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==u&&(r.flags|=8192),u&&r.mode&1?Lr&1073741824&&(ir(r),r.subtreeFlags&6&&(r.flags|=8192)):ir(r),null;case 24:return null;case 25:return null}throw Error(v(156,r.tag))}function dg(n,r){switch(wd(r),r.tag){case 1:return Wt(r.type)&&ii(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return go(),Dt(rn),Dt(et),_d(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return Ld(r),null;case 13:if(Dt(Gt),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(Gt),null;case 4:return go(),null;case 10:return kd(r.type._context),null;case 22:case 23:return Qc(),null;case 24:return null;default:return null}}var Oo=!1,$n=!1,Uc=typeof WeakSet=="function"?WeakSet:Set,Oe=null;function Mo(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 Vd(n,r,l){try{l()}catch(u){on(n,r,u)}}var Fc=!1;function pg(n,r){if(yd=ul,n=Xs(),ia(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,D=-1,_=-1,W=0,se=0,ve=n,ae=null;t:for(;;){for(var be;ve!==l||c!==0&&ve.nodeType!==3||(D=E+c),ve!==h||u!==0&&ve.nodeType!==3||(_=E+u),ve.nodeType===3&&(E+=ve.nodeValue.length),(be=ve.firstChild)!==null;)ae=ve,ve=be;for(;;){if(ve===n)break t;if(ae===l&&++W===c&&(D=E),ae===h&&++se===u&&(_=E),(be=ve.nextSibling)!==null)break;ve=ae,ae=ve.parentNode}ve=be}l=D===-1||_===-1?null:{start:D,end:_}}else l=null}l=l||{start:0,end:0}}else l=null;for(pl={focusedElem:n,selectionRange:l},ul=!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,fn=_e.memoizedState,V=r.stateNode,A=V.getSnapshotBeforeUpdate(r.elementType===r.type?Fe:kr(r.type,Fe),fn);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=Fc,Fc=!1,_e}function Lo(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&&Vd(r,l,h)}c=c.next}while(c!==u)}}function Hc(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 Pc(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 bh(n){var r=n.alternate;r!==null&&(n.alternate=null,bh(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[Pi],delete r[hl],delete r[Ed],delete r[og],delete r[Cd])),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 Id(n){return n.tag===5||n.tag===3||n.tag===4}function Dh(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Id(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 Zu(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(Zu(n,r,l),n=n.sibling;n!==null;)Zu(n,r,l),n=n.sibling}function _o(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(_o(n,r,l),n=n.sibling;n!==null;)_o(n,r,l),n=n.sibling}var Kt=null,Nn=!1;function or(n,r,l){for(l=l.child;l!==null;)No(n,r,l),l=l.sibling}function No(n,r,l){if(Ti&&typeof Ti.onCommitFiberUnmount=="function")try{Ti.onCommitFiberUnmount(mu,l)}catch{}switch(l.tag){case 5:$n||Mo(l,r);case 6:var u=Kt,c=Nn;Kt=null,or(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),Cu(n)):Aa(Kt,l.stateNode));break;case 4:u=Kt,c=Nn,Kt=l.stateNode.containerInfo,Nn=!0,or(n,r,l),Kt=u,Nn=c;break;case 0:case 11:case 14:case 15:if(!$n&&(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)&&Vd(l,r,E),c=c.next}while(c!==u)}or(n,r,l);break;case 1:if(!$n&&(Mo(l,r),u=l.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=l.memoizedProps,u.state=l.memoizedState,u.componentWillUnmount()}catch(D){on(l,r,D)}or(n,r,l);break;case 21:or(n,r,l);break;case 22:l.mode&1?($n=(u=$n)||l.memoizedState!==null,or(n,r,l),$n=u):or(n,r,l);break;default:or(n,r,l)}}function Ao(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var l=n.stateNode;l===null&&(l=n.stateNode=new Uc),r.forEach(function(u){var c=Eg.bind(null,n,u);l.has(u)||(l.add(u),u.then(c,c))})}}function An(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,D=E;e:for(;D!==null;){switch(D.tag){case 5:Kt=D.stateNode,Nn=!1;break e;case 3:Kt=D.stateNode.containerInfo,Nn=!0;break e;case 4:Kt=D.stateNode.containerInfo,Nn=!0;break e}D=D.return}if(Kt===null)throw Error(v(160));No(h,E,c),Kt=null,Nn=!1;var _=c.alternate;_!==null&&(_.return=null),c.return=null}catch(W){on(c,r,W)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)kh(r,n),r=r.sibling}function kh(n,r){var l=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(An(r,n),Bi(n),u&4){try{Lo(3,n,n.return),Hc(3,n)}catch(Fe){on(n,n.return,Fe)}try{Lo(5,n,n.return)}catch(Fe){on(n,n.return,Fe)}}break;case 1:An(r,n),Bi(n),u&512&&l!==null&&Mo(l,l.return);break;case 5:if(An(r,n),Bi(n),u&512&&l!==null&&Mo(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,D=n.type,_=n.updateQueue;if(n.updateQueue=null,_!==null)try{D==="input"&&h.type==="radio"&&h.name!=null&&Xe(c,h),En(D,E);var W=En(D,h);for(E=0;E<_.length;E+=2){var se=_[E],ve=_[E+1];se==="style"?Ft(c,ve):se==="dangerouslySetInnerHTML"?ka(c,ve):se==="children"?In(c,ve):Q(c,se,ve,W)}switch(D){case"input":dt(c,h);break;case"textarea":Jt(c,h);break;case"select":var ae=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!h.multiple;var be=h.value;be!=null?Et(c,!!h.multiple,be,!1):ae!==!!h.multiple&&(h.defaultValue!=null?Et(c,!!h.multiple,h.defaultValue,!0):Et(c,!!h.multiple,h.multiple?[]:"",!1))}c[hl]=h}catch(Fe){on(n,n.return,Fe)}}break;case 6:if(An(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(An(r,n),Bi(n),u&4&&l!==null&&l.memoizedState.isDehydrated)try{Cu(r.containerInfo)}catch(Fe){on(n,n.return,Fe)}break;case 4:An(r,n),Bi(n);break;case 13:An(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||(Ic=nn())),u&4&&Ao(n);break;case 22:if(se=l!==null&&l.memoizedState!==null,n.mode&1?($n=(W=$n)||se,An(r,n),$n=W):An(r,n),Bi(n),u&8192){if(W=n.memoizedState!==null,(n.stateNode.isHidden=W)&&!se&&n.mode&1)for(Oe=n,se=n.child;se!==null;){for(ve=Oe=se;Oe!==null;){switch(ae=Oe,be=ae.child,ae.tag){case 0:case 11:case 14:case 15:Lo(4,ae,ae.return);break;case 1:Mo(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:Mo(ae,ae.return);break;case 22:if(ae.memoizedState!==null){Oh(ve);continue}}be!==null?(be.return=ae,Oe=be):Oh(ve)}se=se.sibling}e:for(se=null,ve=n;;){if(ve.tag===5){if(se===null){se=ve;try{c=ve.stateNode,W?(h=c.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(D=ve.stateNode,_=ve.memoizedProps.style,E=_!=null&&_.hasOwnProperty("display")?_.display:null,D.style.display=ct("display",E))}catch(Fe){on(n,n.return,Fe)}}}else if(ve.tag===6){if(se===null)try{ve.stateNode.nodeValue=W?"":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;se===ve&&(se=null),ve=ve.return}se===ve&&(se=null),ve.sibling.return=ve.return,ve=ve.sibling}}break;case 19:An(r,n),Bi(n),u&4&&Ao(n);break;case 21:break;default:An(r,n),Bi(n)}}function Bi(n){var r=n.flags;if(r&2){try{e:{for(var l=n.return;l!==null;){if(Id(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=Dh(n);_o(n,h,c);break;case 3:case 4:var E=u.stateNode.containerInfo,D=Dh(n);Zu(n,D,E);break;default:throw Error(v(161))}}catch(_){on(n,n.return,_)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function vg(n,r,l){Oe=n,jd(n)}function jd(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||Oo;if(!E){var D=c.alternate,_=D!==null&&D.memoizedState!==null||$n;D=Oo;var W=$n;if(Oo=E,($n=_)&&!W)for(Oe=c;Oe!==null;)E=Oe,_=E.child,E.tag===22&&E.memoizedState!==null?Bd(c):_!==null?(_.return=E,Oe=_):Bd(c);for(;h!==null;)Oe=h,jd(h),h=h.sibling;Oe=c,Oo=D,$n=W}zo(n)}else c.subtreeFlags&8772&&h!==null?(h.return=c,Oe=h):zo(n)}}function zo(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:$n||Hc(5,r);break;case 1:var u=r.stateNode;if(r.flags&4&&!$n)if(l===null)u.componentDidMount();else{var c=r.elementType===r.type?l.memoizedProps:kr(r.type,l.memoizedProps);u.componentDidUpdate(c,l.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var h=r.updateQueue;h!==null&&dh(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}dh(r,E,l)}break;case 5:var D=r.stateNode;if(l===null&&r.flags&4){l=D;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 W=r.alternate;if(W!==null){var se=W.memoizedState;if(se!==null){var ve=se.dehydrated;ve!==null&&Cu(ve)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(v(163))}$n||r.flags&512&&Pc(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 Oh(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 Bd(n){for(;Oe!==null;){var r=Oe;try{switch(r.tag){case 0:case 11:case 15:var l=r.return;try{Hc(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{Pc(r)}catch(_){on(r,h,_)}break;case 5:var E=r.return;try{Pc(r)}catch(_){on(r,E,_)}}}catch(_){on(r,r.return,_)}if(r===n){Oe=null;break}var D=r.sibling;if(D!==null){D.return=r.return,Oe=D;break}Oe=r.return}}var hg=Math.ceil,Dl=J.ReactCurrentDispatcher,Vc=J.ReactCurrentOwner,fi=J.ReactCurrentBatchConfig,ht=0,ln=null,$t=null,xn=0,Lr=0,Uo=ut(0),Tn=0,Ju=null,kl=0,Fo=0,$d=0,$a=null,ar=null,Ic=0,Ho=1/0,pa=null,jc=!1,Yd=null,di=null,Po=!1,pi=null,Bc=0,es=0,$c=null,ts=-1,Ol=0;function zn(){return ht&6?nn():ts!==-1?ts:ts=nn()}function va(n){return n.mode&1?ht&2&&xn!==0?xn&-xn:uc.transition!==null?(Ol===0&&(Ol=Hs()),Ol):(n=Lt,n!==0||(n=window.event,n=n===void 0?16:qf(n.type)),n):1}function qt(n,r,l,u){if(50<es)throw es=0,$c=null,Error(v(185));ol(n,l,u),(!(ht&2)||n!==ln)&&(n===ln&&(!(ht&2)&&(Fo|=l),Tn===4&&$i(n,xn)),wn(n,u),l===1&&ht===0&&!(r.mode&1)&&(Ho=nn()+500,_n&&xr()))}function wn(n,r){var l=n.callbackNode;Fs(n,r);var u=wi(n,n===ln?xn:0);if(u===0)l!==null&&hv(l),n.callbackNode=null,n.callbackPriority=0;else if(r=u&-u,n.callbackPriority!==r){if(l!=null&&hv(l),r===1)n.tag===0?xd(Vo.bind(null,n)):Rd(Vo.bind(null,n)),Sd(function(){!(ht&6)&&xr()}),l=null;else{switch(Gf(u)){case 1:l=ea;break;case 4:l=vt;break;case 16:l=Oa;break;case 536870912:l=$f;break;default:l=Oa}l=Fh(l,Yc.bind(null,n))}n.callbackPriority=r,n.callbackNode=l}}function Yc(n,r){if(ts=-1,Ol=0,ht&6)throw Error(v(327));var l=n.callbackNode;if(Io()&&n.callbackNode!==l)return null;var u=wi(n,n===ln?xn:0);if(u===0)return null;if(u&30||u&n.expiredLanes||r)r=Wc(n,u);else{r=u;var c=ht;ht|=2;var h=Lh();(ln!==n||xn!==r)&&(pa=null,Ho=nn()+500,Ll(n,r));do try{yg();break}catch(D){Mh(n,D)}while(1);Br(),Dl.current=h,ht=c,$t!==null?r=0:(ln=null,xn=0,r=Tn)}if(r!==0){if(r===2&&(c=Qf(n),c!==0&&(u=c,r=Ml(n,c))),r===1)throw l=Ju,Ll(n,0),$i(n,u),wn(n,nn()),l;if(r===6)$i(n,u);else{if(c=n.current.alternate,!(u&30)&&!Wd(c)&&(r=Wc(n,u),r===2&&(h=Qf(n),h!==0&&(u=h,r=Ml(n,h))),r===1))throw l=Ju,Ll(n,0),$i(n,u),wn(n,nn()),l;switch(n.finishedWork=c,n.finishedLanes=u,r){case 0:case 1:throw Error(v(345));case 2:Ya(n,ar,pa);break;case 3:if($i(n,u),(u&130023424)===u&&(r=Ic+500-nn(),10<r)){if(wi(n,0)!==0)break;if(c=n.suspendedLanes,(c&u)!==u){zn(),n.pingedLanes|=n.suspendedLanes&c;break}n.timeoutHandle=vl(Ya.bind(null,n,ar,pa),r);break}Ya(n,ar,pa);break;case 4:if($i(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=nn()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*hg(u/1960))-u,10<u){n.timeoutHandle=vl(Ya.bind(null,n,ar,pa),u);break}Ya(n,ar,pa);break;case 5:Ya(n,ar,pa);break;default:throw Error(v(329))}}}return wn(n,nn()),n.callbackNode===l?Yc.bind(null,n):null}function Ml(n,r){var l=$a;return n.current.memoizedState.isDehydrated&&(Ll(n,r).flags|=256),n=Wc(n,r),n!==2&&(r=ar,ar=l,r!==null&&Qd(r)),n}function Qd(n){ar===null?ar=n:ar.push.apply(ar,n)}function Wd(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 $i(n,r){for(r&=~$d,r&=~Fo,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 Vo(n){if(ht&6)throw Error(v(327));Io();var r=wi(n,0);if(!(r&1))return wn(n,nn()),null;var l=Wc(n,r);if(n.tag!==0&&l===2){var u=Qf(n);u!==0&&(r=u,l=Ml(n,u))}if(l===1)throw l=Ju,Ll(n,0),$i(n,r),wn(n,nn()),l;if(l===6)throw Error(v(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,Ya(n,ar,pa),wn(n,nn()),null}function Gd(n,r){var l=ht;ht|=1;try{return n(r)}finally{ht=l,ht===0&&(Ho=nn()+500,_n&&xr())}}function Yi(n){pi!==null&&pi.tag===0&&!(ht&6)&&Io();var r=ht;ht|=1;var l=fi.transition,u=Lt;try{if(fi.transition=null,Lt=1,n)return n()}finally{Lt=u,fi.transition=l,ht=r,!(ht&6)&&xr()}}function Qc(){Lr=Uo.current,Dt(Uo)}function Ll(n,r){n.finishedWork=null,n.finishedLanes=0;var l=n.timeoutHandle;if(l!==-1&&(n.timeoutHandle=-1,rh(l)),$t!==null)for(l=$t.return;l!==null;){var u=l;switch(wd(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&ii();break;case 3:go(),Dt(rn),Dt(et),_d();break;case 5:Ld(u);break;case 4:go();break;case 13:Dt(Gt);break;case 19:Dt(Gt);break;case 10:kd(u.type._context);break;case 22:case 23:Qc()}l=l.return}if(ln=n,$t=n=Qa(n.current,null),xn=Lr=r,Tn=0,Ju=null,$d=Fo=kl=0,ar=$a=null,gl!==null){for(r=0;r<gl.length;r++)if(l=gl[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}gl=null}return n}function Mh(n,r){do{var l=$t;try{if(Br(),hc.current=rr,$r){for(var u=je.memoizedState;u!==null;){var c=u.queue;c!==null&&(c.pending=null),u=u.next}$r=!1}if(Pe=0,ft=tt=je=null,So=!1,Bu=0,Vc.current=null,l===null||l.return===null){Tn=1,Ju=r,$t=null;break}e:{var h=n,E=l.return,D=l,_=r;if(r=xn,D.flags|=32768,_!==null&&typeof _=="object"&&typeof _.then=="function"){var W=_,se=D,ve=se.tag;if(!(se.mode&1)&&(ve===0||ve===11||ve===15)){var ae=se.alternate;ae?(se.updateQueue=ae.updateQueue,se.memoizedState=ae.memoizedState,se.lanes=ae.lanes):(se.updateQueue=null,se.memoizedState=null)}var be=Ch(E);if(be!==null){be.flags&=-257,Fd(be,E,D,h,r),be.mode&1&&Gu(h,W,r),r=be,_=W;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)){Gu(h,W,r),ns();break e}_=Error(v(426))}}else if(Bt&&D.mode&1){var fn=Ch(E);if(fn!==null){!(fn.flags&65536)&&(fn.flags|=256),Fd(fn,E,D,h,r),Dd(ja(_,D));break e}}h=_=ja(_,D),Tn!==4&&(Tn=2),$a===null?$a=[h]:$a.push(h),h=E;do{switch(h.tag){case 3:h.flags|=65536,r&=-r,h.lanes|=r;var V=Sh(h,_,r);fh(h,V);break e;case 1:D=_;var A=h.type,B=h.stateNode;if(!(h.flags&128)&&(typeof A.getDerivedStateFromError=="function"||B!==null&&typeof B.componentDidCatch=="function"&&(di===null||!di.has(B)))){h.flags|=65536,r&=-r,h.lanes|=r;var ye=Eh(h,D,r);fh(h,ye);break e}}h=h.return}while(h!==null)}Nh(l)}catch(Ve){r=Ve,$t===l&&l!==null&&($t=l=l.return);continue}break}while(1)}function Lh(){var n=Dl.current;return Dl.current=rr,n===null?rr:n}function ns(){(Tn===0||Tn===3||Tn===2)&&(Tn=4),ln===null||!(kl&268435455)&&!(Fo&268435455)||$i(ln,xn)}function Wc(n,r){var l=ht;ht|=2;var u=Lh();(ln!==n||xn!==r)&&(pa=null,Ll(n,r));do try{mg();break}catch(c){Mh(n,c)}while(1);if(Br(),ht=l,Dl.current=u,$t!==null)throw Error(v(261));return ln=null,xn=0,Tn}function mg(){for(;$t!==null;)_h($t)}function yg(){for(;$t!==null&&!Py();)_h($t)}function _h(n){var r=Uh(n.alternate,n,Lr);n.memoizedProps=n.pendingProps,r===null?Nh(n):$t=r,Vc.current=null}function Nh(n){var r=n;do{var l=r.alternate;if(n=r.return,r.flags&32768){if(l=dg(l,r),l!==null){l.flags&=32767,$t=l;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{Tn=6,$t=null;return}}else if(l=fg(l,r,Lr),l!==null){$t=l;return}if(r=r.sibling,r!==null){$t=r;return}$t=r=n}while(r!==null);Tn===0&&(Tn=5)}function Ya(n,r,l){var u=Lt,c=fi.transition;try{fi.transition=null,Lt=1,gg(n,r,l,u)}finally{fi.transition=c,Lt=u}return null}function gg(n,r,l,u){do Io();while(pi!==null);if(ht&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(By(n,h),n===ln&&($t=ln=null,xn=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||Po||(Po=!0,Fh(Oa,function(){return Io(),null})),h=(l.flags&15990)!==0,l.subtreeFlags&15990||h){h=fi.transition,fi.transition=null;var E=Lt;Lt=1;var D=ht;ht|=4,Vc.current=null,pg(n,l),kh(l,n),qs(pl),ul=!!yd,pl=yd=null,n.current=l,vg(l),Vy(),ht=D,Lt=E,fi.transition=h}else n.current=l;if(Po&&(Po=!1,pi=n,Bc=c),h=n.pendingLanes,h===0&&(di=null),yv(l.stateNode),wn(n,nn()),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(jc)throw jc=!1,n=Yd,Yd=null,n;return Bc&1&&n.tag!==0&&Io(),h=n.pendingLanes,h&1?n===$c?es++:(es=0,$c=n):es=0,xr(),null}function Io(){if(pi!==null){var n=Gf(Bc),r=fi.transition,l=Lt;try{if(fi.transition=null,Lt=16>n?16:n,pi===null)var u=!1;else{if(n=pi,pi=null,Bc=0,ht&6)throw Error(v(331));var c=ht;for(ht|=4,Oe=n.current;Oe!==null;){var h=Oe,E=h.child;if(Oe.flags&16){var D=h.deletions;if(D!==null){for(var _=0;_<D.length;_++){var W=D[_];for(Oe=W;Oe!==null;){var se=Oe;switch(se.tag){case 0:case 11:case 15:Lo(8,se,h)}var ve=se.child;if(ve!==null)ve.return=se,Oe=ve;else for(;Oe!==null;){se=Oe;var ae=se.sibling,be=se.return;if(bh(se),se===W){Oe=null;break}if(ae!==null){ae.return=be,Oe=ae;break}Oe=be}}}var _e=h.alternate;if(_e!==null){var Fe=_e.child;if(Fe!==null){_e.child=null;do{var fn=Fe.sibling;Fe.sibling=null,Fe=fn}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:Lo(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(D=Oe,D.flags&2048)try{switch(D.tag){case 0:case 11:case 15:Hc(9,D)}}catch(Ve){on(D,D.return,Ve)}if(D===E){Oe=null;break e}var ye=D.sibling;if(ye!==null){ye.return=D.return,Oe=ye;break e}Oe=D.return}}if(ht=c,xr(),Ti&&typeof Ti.onPostCommitFiberRoot=="function")try{Ti.onPostCommitFiberRoot(mu,n)}catch{}u=!0}return u}finally{Lt=l,fi.transition=r}}return!1}function Ah(n,r,l){r=ja(l,r),r=Sh(n,r,1),n=Va(n,r,1),r=zn(),n!==null&&(ol(n,1,r),wn(n,r))}function on(n,r,l){if(n.tag===3)Ah(n,n,l);else for(;r!==null;){if(r.tag===3){Ah(r,n,l);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(di===null||!di.has(u))){n=ja(l,n),n=Eh(r,n,1),r=Va(r,n,1),n=zn(),r!==null&&(ol(r,1,n),wn(r,n));break}}r=r.return}}function Sg(n,r,l){var u=n.pingCache;u!==null&&u.delete(r),r=zn(),n.pingedLanes|=n.suspendedLanes&l,ln===n&&(xn&l)===l&&(Tn===4||Tn===3&&(xn&130023424)===xn&&500>nn()-Ic?Ll(n,0):$d|=l),wn(n,r)}function zh(n,r){r===0&&(n.mode&1?(r=eo,eo<<=1,!(eo&130023424)&&(eo=4194304)):r=1);var l=zn();n=ca(n,r),n!==null&&(ol(n,r,l),wn(n,l))}function Kd(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),zh(n,l)}function Eg(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),zh(n,l)}var Uh;Uh=function(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps||rn.current)Or=!0;else{if(!(n.lanes&l)&&!(r.flags&128))return Or=!1,da(n,r,l);Or=!!(n.flags&131072)}else Or=!1,Bt&&r.flags&1048576&&Td(r,po,r.index);switch(r.lanes=0,r.tag){case 2:var u=r.type;qu(n,r),n=r.pendingProps;var c=ri(r,et.current);ho(r,l),c=ie(null,r,u,n,c,l);var h=yn();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,Wt(u)?(h=!0,rc(r)):h=!1,r.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,cc(r),c.updater=Tl,r.stateNode=c,c._reactInternals=r,zd(r,u,n,l),r=_c(null,r,u,!0,h,l)):(r.tag=0,Bt&&h&&ic(r),sn(null,r,c,l),r=r.child),r;case 16:u=r.elementType;e:{switch(qu(n,r),n=r.pendingProps,c=u._init,u=c(u._payload),r.type=u,c=r.tag=Cg(u),n=kr(u,n),c){case 0:r=lt(null,r,u,n,l);break e;case 1:r=Ku(null,r,u,n,l);break e;case 11:r=bo(null,r,u,n,l);break e;case 14:r=Ba(null,r,u,kr(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:kr(u,c),lt(n,r,u,c,l);case 1:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:kr(u,c),Ku(n,r,u,c,l);case 3:e:{if(cg(r),n===null)throw Error(v(387));u=r.pendingProps,h=r.memoizedState,c=h.element,mo(n,r),dc(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=ja(Error(v(423)),r),r=xh(n,r,u,l,c);break e}else if(u!==c){c=ja(Error(v(424)),r),r=xh(n,r,u,l,c);break e}else for(br=Oi(r.stateNode.containerInfo.firstChild),jr=r,Bt=!0,li=null,l=sh(r,null,u,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Xt(),u===c){r=cn(n,r,l);break e}sn(n,r,u,l)}r=r.child}return r;case 5:return ph(r),n===null&&lc(r),u=r.type,c=r.pendingProps,h=n!==null?n.memoizedProps:null,E=c.children,zu(u,c)?E=null:h!==null&&zu(u,h)&&(r.flags|=32),wl(n,r),sn(n,r,E,l),r.child;case 6:return n===null&&lc(r),null;case 13:return Th(n,r,l);case 4:return Md(r,r.stateNode.containerInfo),u=r.pendingProps,n===null?r.child=vo(r,null,u,l):sn(n,r,u,l),r.child;case 11:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:kr(u,c),bo(n,r,u,c,l);case 7:return sn(n,r,r.pendingProps,l),r.child;case 8:return sn(n,r,r.pendingProps.children,l),r.child;case 12:return sn(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(sa,u._currentValue),u._currentValue=E,h!==null)if(ti(h.value,E)){if(h.children===c.children&&!rn.current){r=cn(n,r,l);break e}}else for(h=r.child,h!==null&&(h.return=r);h!==null;){var D=h.dependencies;if(D!==null){E=h.child;for(var _=D.firstContext;_!==null;){if(_.context===u){if(h.tag===1){_=Dr(-1,l&-l),_.tag=2;var W=h.updateQueue;if(W!==null){W=W.shared;var se=W.pending;se===null?_.next=_:(_.next=se.next,se.next=_),W.pending=_}}h.lanes|=l,_=h.alternate,_!==null&&(_.lanes|=l),Od(h.return,l,r),D.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,D=E.alternate,D!==null&&(D.lanes|=l),Od(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}sn(n,r,c.children,l),r=r.child}return r;case 9:return c=r.type,u=r.pendingProps.children,ho(r,l),c=ui(c),u=u(c),r.flags|=1,sn(n,r,u,l),r.child;case 14:return u=r.type,c=kr(u,r.pendingProps),c=kr(u.type,c),Ba(n,r,u,c,l);case 15:return Lc(n,r,r.type,r.pendingProps,l);case 17:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:kr(u,c),qu(n,r),r.tag=1,Wt(u)?(n=!0,rc(r)):n=!1,ho(r,l),mh(r,u,c),zd(r,u,c,l),_c(null,r,u,!0,n,l);case 19:return Pd(n,r,l);case 22:return Mr(n,r,l)}throw Error(v(156,r.tag))};function Fh(n,r){return Bf(n,r)}function Hh(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 vi(n,r,l,u){return new Hh(n,r,l,u)}function Xd(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Cg(n){if(typeof n=="function")return Xd(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=vi(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 Gc(n,r,l,u,c,h){var E=2;if(u=n,typeof n=="function")Xd(n)&&(E=1);else if(typeof n=="string")E=5;else e:switch(n){case ge:return _l(l.children,c,h,r);case Ue:E=8,c|=8;break;case $e:return n=vi(12,l,r,c|2),n.elementType=$e,n.lanes=h,n;case ne:return n=vi(13,l,r,c),n.elementType=ne,n.lanes=h,n;case G:return n=vi(19,l,r,c),n.elementType=G,n.lanes=h,n;case ue:return Kc(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 re:E=16,u=null;break e}throw Error(v(130,n==null?n:typeof n,""))}return r=vi(E,l,r,c),r.elementType=n,r.type=u,r.lanes=h,r}function _l(n,r,l,u){return n=vi(7,n,u,r),n.lanes=l,n}function Kc(n,r,l,u){return n=vi(22,n,u,r),n.elementType=ue,n.lanes=l,n.stateNode={isHidden:!1},n}function Xc(n,r,l){return n=vi(6,n,null,r),n.lanes=l,n}function rs(n,r,l){return r=vi(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function is(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=Wf(0),this.expirationTimes=Wf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wf(0),this.identifierPrefix=u,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function qd(n,r,l,u,c,h,E,D,_){return n=new is(n,r,l,D,_),r===1?(r=1,h===!0&&(r|=8)):r=0,h=vi(3,null,null,r),n.current=h,h.stateNode=n,h.memoizedState={element:u,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},cc(h),n}function Ph(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 Zd(n){if(!n)return Vi;n=n._reactInternals;e:{if(Hi(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(Wt(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(Wt(l))return Hu(n,l,r)}return r}function Jd(n,r,l,u,c,h,E,D,_){return n=qd(l,u,!0,n,c,h,E,D,_),n.context=Zd(null),l=n.current,u=zn(),c=va(l),h=Dr(u,c),h.callback=r??null,Va(l,h,c),n.current.lanes=c,ol(n,c,u),wn(n,u),n}function qc(n,r,l,u){var c=r.current,h=zn(),E=va(c);return l=Zd(l),r.context===null?r.context=l:r.pendingContext=l,r=Dr(h,E),r.payload={element:n},u=u===void 0?null:u,u!==null&&(r.callback=u),n=Va(c,r,E),n!==null&&(qt(n,c,E,h),fc(n,c,E)),E}function as(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 Vh(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function ep(n,r){Vh(n,r),(n=n.alternate)&&Vh(n,r)}function Rg(){return null}var tp=typeof reportError=="function"?reportError:function(n){console.error(n)};function Zc(n){this._internalRoot=n}ls.prototype.render=Zc.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(v(409));qc(n,r,null,null)},ls.prototype.unmount=Zc.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;Yi(function(){qc(null,n,null,null)}),r[oa]=null}};function ls(n){this._internalRoot=n}ls.prototype.unstable_scheduleHydration=function(n){if(n){var r=Cv();n={blockedOn:null,target:n,priority:r};for(var l=0;l<Nt.length&&r!==0&&r<Nt[l].priority;l++);Nt.splice(l,0,n),l===0&&Rv(n)}};function Wa(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Jc(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Ih(){}function xg(n,r,l,u,c){if(c){if(typeof u=="function"){var h=u;u=function(){var W=as(E);h.call(W)}}var E=Jd(r,u,n,0,null,!1,!1,"",Ih);return n._reactRootContainer=E,n[oa]=E.current,co(n.nodeType===8?n.parentNode:n),Yi(),E}for(;c=n.lastChild;)n.removeChild(c);if(typeof u=="function"){var D=u;u=function(){var W=as(_);D.call(W)}}var _=qd(n,0,!1,null,null,!1,!1,"",Ih);return n._reactRootContainer=_,n[oa]=_.current,co(n.nodeType===8?n.parentNode:n),Yi(function(){qc(r,_,l,u)}),_}function ef(n,r,l,u,c){var h=l._reactRootContainer;if(h){var E=h;if(typeof c=="function"){var D=c;c=function(){var _=as(E);D.call(_)}}qc(r,E,n,c)}else E=xg(l,r,n,c,u);return as(E)}Ev=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var l=ll(r.pendingLanes);l!==0&&(yu(r,l|1),wn(r,nn()),!(ht&6)&&(Ho=nn()+500,xr()))}break;case 13:Yi(function(){var u=ca(n,1);if(u!==null){var c=zn();qt(u,n,1,c)}}),ep(n,1)}},Ps=function(n){if(n.tag===13){var r=ca(n,134217728);if(r!==null){var l=zn();qt(r,n,134217728,l)}ep(n,134217728)}},_t=function(n){if(n.tag===13){var r=va(n),l=ca(n,r);if(l!==null){var u=zn();qt(l,n,r,u)}ep(n,r)}},Cv=function(){return Lt},Kf=function(n,r){var l=Lt;try{return Lt=n,r()}finally{Lt=l}},Fi=function(n,r,l){switch(r){case"input":if(dt(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=We(u);if(!c)throw Error(v(90));yt(u),dt(u,c)}}}break;case"textarea":Jt(n,l);break;case"select":r=l.value,r!=null&&Et(n,!!l.multiple,r,!1)}},fv=Gd,dv=Yi;var Tg={usingClientEntryPoint:!1,Events:[Fu,fo,We,_s,Ns,Gd]},os={findFiberByHostInstance:ni,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},jh={bundleType:os.bundleType,version:os.version,rendererPackageName:os.rendererPackageName,rendererConfig:os.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:J.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=pv(n),n===null?null:n.stateNode},findFiberByHostInstance:os.findFiberByHostInstance||Rg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var tf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!tf.isDisabled&&tf.supportsFiber)try{mu=tf.inject(jh),Ti=tf}catch{}}return Ei.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tg,Ei.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Wa(r))throw Error(v(200));return Ph(n,r,null,l)},Ei.createRoot=function(n,r){if(!Wa(n))throw Error(v(299));var l=!1,u="",c=tp;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onRecoverableError!==void 0&&(c=r.onRecoverableError)),r=qd(n,1,!1,null,null,l,!1,u,c),n[oa]=r.current,co(n.nodeType===8?n.parentNode:n),new Zc(r)},Ei.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=pv(r),n=n===null?null:n.stateNode,n},Ei.flushSync=function(n){return Yi(n)},Ei.hydrate=function(n,r,l){if(!Jc(r))throw Error(v(200));return ef(null,n,r,!0,l)},Ei.hydrateRoot=function(n,r,l){if(!Wa(n))throw Error(v(405));var u=l!=null&&l.hydratedSources||null,c=!1,h="",E=tp;if(l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(h=l.identifierPrefix),l.onRecoverableError!==void 0&&(E=l.onRecoverableError)),r=Jd(r,null,n,1,l??null,c,!1,h,E),n[oa]=r.current,co(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 ls(r)},Ei.render=function(n,r,l){if(!Jc(r))throw Error(v(200));return ef(null,n,r,!1,l)},Ei.unmountComponentAtNode=function(n){if(!Jc(n))throw Error(v(40));return n._reactRootContainer?(Yi(function(){ef(null,null,n,!1,function(){n._reactRootContainer=null,n[oa]=null})}),!0):!1},Ei.unstable_batchedUpdates=Gd,Ei.unstable_renderSubtreeIntoContainer=function(n,r,l,u){if(!Jc(l))throw Error(v(200));if(n==null||n._reactInternals===void 0)throw Error(v(38));return ef(n,r,l,!1,u)},Ei.version="18.3.1-next-f1338f8080-20240426",Ei}var Ci={};/**
|
|
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 Mx;function lL(){return Mx||(Mx=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=ou,p=vT(),v=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=!1;function C(e){S=e}function R(e){if(!S){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(!S){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 k=0,w=1,F=2,O=3,U=4,b=5,L=6,P=7,te=8,de=9,oe=10,Q=11,J=12,le=13,me=14,ge=15,Ue=16,$e=17,pe=18,Se=19,Ee=21,ne=22,G=23,ce=24,re=25,ue=!0,X=!1,fe=!1,$=!1,ze=!1,nt=!0,wt=!1,Ut=!0,Me=!0,Ie=!0,He=!0,Le=new Set,Ge={},Ct={};function st(e,t){yt(e,t),yt(e+"Capture",t)}function yt(e,t){Ge[e]&&m("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ge[e]=t;{var i=e.toLowerCase();Ct[i]=e,e==="onDoubleClick"&&(Ct.ondblclick=e)}for(var a=0;a<t.length;a++)Le.add(t[a])}var Pt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Vt=Object.prototype.hasOwnProperty;function Sn(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,i=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i}}function Xe(e){try{return dt(e),!1}catch{return!0}}function dt(e){return""+e}function pt(e,t){if(Xe(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,Sn(e)),dt(e)}function bt(e){if(Xe(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Sn(e)),dt(e)}function ot(e,t){if(Xe(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,Sn(e)),dt(e)}function Et(e,t){if(Xe(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,Sn(e)),dt(e)}function kn(e){if(Xe(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.",Sn(e)),dt(e)}function Pn(e){if(Xe(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.",Sn(e)),dt(e)}var Jt=0,On=1,Hr=2,Vn=3,Er=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",Qe=Ce+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ct=new RegExp("^["+Ce+"]["+Qe+"]*$"),Ft={},un={};function Jn(e){return Vt.call(un,e)?!0:Vt.call(Ft,e)?!1:ct.test(e)?(un[e]=!0,!0):(Ft[e]=!0,m("Invalid attribute name: `%s`",e),!1)}function En(e,t,i){return t!==null?t.type===Jt: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===Jt)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 en(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 Er:return t===!1;case ka:return isNaN(t);case In:return isNaN(t)||t<1}return!1}function Fi(e){return tn.hasOwnProperty(e)?tn[e]:null}function pn(e,t,i,a,o,s,d){this.acceptsBooleans=t===Hr||t===Vn||t===Er,this.attributeName=a,this.attributeNamespace=o,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=d}var tn={},cv=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];cv.forEach(function(e){tn[e]=new pn(e,Jt,!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];tn[t]=new pn(t,On,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){tn[e]=new pn(e,Hr,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){tn[e]=new pn(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){tn[e]=new pn(e,Vn,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){tn[e]=new pn(e,Vn,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){tn[e]=new pn(e,Er,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){tn[e]=new pn(e,In,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){tn[e]=new pn(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);tn[t]=new pn(t,On,!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);tn[t]=new pn(t,On,!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);tn[t]=new pn(t,On,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){tn[e]=new pn(e,On,!1,e.toLowerCase(),null,!1,!1)});var fv="xlinkHref";tn[fv]=new pn("xlinkHref",On,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){tn[e]=new pn(e,On,!1,e.toLowerCase(),null,!0,!0)});var dv=/^[\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 Vf(e){!As&&dv.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 pu(e,t,i,a){if(a.mustUseProperty){var o=a.propertyName;return e[o]}else{pt(i,t),a.sanitizeURL&&Vf(""+i);var s=a.attributeName,d=null;if(a.type===Er){if(e.hasAttribute(s)){var y=e.getAttribute(s);return y===""?!0:en(t,i,a,!1)?y:y===""+i?i:y}}else if(e.hasAttribute(s)){if(en(t,i,a,!1))return e.getAttribute(s);if(a.type===Vn)return i;d=e.getAttribute(s)}return en(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 pt(i,t),o===""+i?i:o}}function al(e,t,i,a){var o=Fi(t);if(!En(t,o,a)){if(en(t,i,o,a)&&(i=null),a||o===null){if(Jn(t)){var s=t;i===null?e.removeAttribute(s):(pt(i,t),e.setAttribute(s,""+i))}return}var d=o.mustUseProperty;if(d){var y=o.propertyName;if(i===null){var g=o.type;e[y]=g===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===Er&&i===!0?N="":(pt(i,x),N=""+i,o.sanitizeURL&&Vf(N.toString())),T?e.setAttributeNS(T,x,N):e.setAttribute(x,N)}}}var Xl=Symbol.for("react.element"),xi=Symbol.for("react.portal"),Ji=Symbol.for("react.fragment"),ql=Symbol.for("react.strict_mode"),vu=Symbol.for("react.profiler"),If=Symbol.for("react.provider"),jf=Symbol.for("react.context"),Zl=Symbol.for("react.forward_ref"),Hi=Symbol.for("react.suspense"),hu=Symbol.for("react.suspense_list"),Jl=Symbol.for("react.memo"),lr=Symbol.for("react.lazy"),pv=Symbol.for("react.scope"),vv=Symbol.for("react.debug_trace_mode"),Bf=Symbol.for("react.offscreen"),hv=Symbol.for("react.legacy_hidden"),Py=Symbol.for("react.cache"),Vy=Symbol.for("react.tracing_marker"),nn=Symbol.iterator,Iy="@@iterator";function ea(e){if(e===null||typeof e!="object")return null;var t=nn&&e[nn]||e[Iy];return typeof t=="function"?t:null}var vt=Object.assign,Oa=0,mv,$f,mu,Ti,yv,Zr,gv;function Sv(){}Sv.__reactDisabledLog=!0;function jy(){{if(Oa===0){mv=console.log,$f=console.info,mu=console.warn,Ti=console.error,yv=console.group,Zr=console.groupCollapsed,gv=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Sv,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:vt({},e,{value:mv}),info:vt({},e,{value:$f}),warn:vt({},e,{value:mu}),error:vt({},e,{value:Ti}),group:vt({},e,{value:yv}),groupCollapsed:vt({},e,{value:Zr}),groupEnd:vt({},e,{value:gv})})}Oa<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var eo=v.ReactCurrentDispatcher,ll;function wi(e,t,i){{if(ll===void 0)try{throw Error()}catch(o){var a=o.stack.trim().match(/\n( *(at )?)/);ll=a&&a[1]||""}return`
|
|
44
|
-
`+ll+e}}var Yf=!1,Fs;{var Qf=typeof WeakMap=="function"?WeakMap:Map;Fs=new Qf}function Hs(e,t){if(!e||Yf)return"";{var i=Fs.get(e);if(i!==void 0)return i}var a;Yf=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=eo.current,eo.current=null,jy();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(K){a=K}Reflect.construct(e,[],d)}else{try{d.call()}catch(K){a=K}e.call(d.prototype)}}else{try{throw Error()}catch(K){a=K}e()}}catch(K){if(K&&a&&typeof K.stack=="string"){for(var y=K.stack.split(`
|
|
45
|
-
`),g=a.stack.split(`
|
|
46
|
-
`),x=y.length-1,T=g.length-1;x>=1&&T>=0&&y[x]!==g[T];)T--;for(;x>=1&&T>=0;x--,T--)if(y[x]!==g[T]){if(x!==1||T!==1)do if(x--,T--,T<0||y[x]!==g[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{Yf=!1,eo.current=s,Us(),Error.prepareStackTrace=o}var N=e?e.displayName||e.name:"",Y=N?wi(N):"";return typeof e=="function"&&Fs.set(e,Y),Y}function Wf(e,t,i){return Hs(e,!0)}function ol(e,t,i){return Hs(e,!1)}function By(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function yu(e,t,i){if(e==null)return"";if(typeof e=="function")return Hs(e,By(e));if(typeof e=="string")return wi(e);switch(e){case Hi:return wi("Suspense");case hu:return wi("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case Zl:return ol(e.render);case Jl:return yu(e.type,t,i);case lr:{var a=e,o=a._payload,s=a._init;try{return yu(s(o),t,i)}catch{}}}return""}function Lt(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case b:return wi(e.type);case Ue:return wi("Lazy");case le:return wi("Suspense");case Se:return wi("SuspenseList");case k:case F:case ge:return ol(e.type);case Q:return ol(e.type.render);case w:return Wf(e.type);default:return""}}function Gf(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 Ev(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 _t(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 Ji:return"Fragment";case xi:return"Portal";case vu:return"Profiler";case ql:return"StrictMode";case Hi:return"Suspense";case hu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case jf:var t=e;return Ps(t)+".Consumer";case If:var i=e;return Ps(i._context)+".Provider";case Zl:return Ev(e,e.render,"ForwardRef");case Jl:var a=e.displayName||null;return a!==null?a:_t(e.type)||"Memo";case lr:{var o=e,s=o._payload,d=o._init;try{return _t(d(s))}catch{return null}}}return null}function Cv(e,t,i){var a=t.displayName||t.name||"";return e.displayName||(a!==""?i+"("+a+")":i)}function Kf(e){return e.displayName||"Context"}function at(e){var t=e.tag,i=e.type;switch(t){case ce:return"Cache";case de:var a=i;return Kf(a)+".Consumer";case oe:var o=i;return Kf(o._context)+".Provider";case pe:return"DehydratedFragment";case Q:return Cv(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 _t(i);case te:return i===ql?"StrictMode":"Mode";case ne:return"Offscreen";case J:return"Profiler";case Ee:return"Scope";case le:return"Suspense";case Se:return"SuspenseList";case re:return"TracingMarker";case w:case k:case $e: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 gu=v.ReactDebugCurrentFrame,vn=null,Jr=!1;function ei(){{if(vn===null)return null;var e=vn._debugOwner;if(e!==null&&typeof e<"u")return at(e)}return null}function Su(){return vn===null?"":Gf(vn)}function Cn(){gu.getCurrentStack=null,vn=null,Jr=!1}function Nt(e){gu.getCurrentStack=e===null?null:Su,vn=e,Jr=!1}function $y(){return vn}function bi(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 Rv={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function to(e,t){Rv[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 Xf(e){var t=e.type,i=e.nodeName;return i&&i.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function xv(e){return e._valueTracker}function Eu(e){e._valueTracker=null}function Cu(e){var t="";return e&&(Xf(e)?t=e.checked?"true":"false":t=e.value),t}function no(e){var t=Xf(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(){Eu(e),delete e[t]}};return d}}function ul(e){xv(e)||(e._valueTracker=no(e))}function Tv(e){if(!e)return!1;var t=xv(e);if(!t)return!0;var i=t.getValue(),a=Cu(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,Ru=!1,js=!1,qf=!1;function ta(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function xu(e,t){var i=e,a=t.checked,o=vt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??i._wrapperState.initialChecked});return o}function Tu(e,t){to("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Ru&&(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),Ru=!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:ta(t)}}function Zf(e,t){var i=e,a=t.checked;a!=null&&al(i,"checked",a,!1)}function ro(e,t){var i=e;{var a=ta(t);!i._wrapperState.controlled&&a&&!qf&&(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"),qf=!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)}Zf(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 wu(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 wv(e,t){var i=e;ro(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;pt(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=am(d);if(!y)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Tv(d),ro(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,io=!1,bv=!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"||io||(io=!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&&(bv||(bv=!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 Jf(e,t){t.value!=null&&e.setAttribute("value",er(Ma(t.value)))}var bu=Array.isArray;function Mn(e){return bu(e)}var Ys;Ys=!1;function Dv(){var e=ei();return e?`
|
|
50
|
-
|
|
51
|
-
Check the render method of \``+e+"`.":""}var kv=["value","defaultValue"];function Yy(e){{to("select",e);for(var t=0;t<kv.length;t++){var i=kv[t];if(e[i]!=null){var a=Mn(e[i]);e.multiple&&!a?m("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",i,Dv()):!e.multiple&&a&&m("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",i,Dv())}}}}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 g=0;g<o.length;g++){var x=d.hasOwnProperty("$"+o[g].value);o[g].selected!==x&&(o[g].selected=x),x&&a&&(o[g].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 ed(e,t){return vt({},t,{value:void 0})}function Ov(e,t){var i=e;Yy(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 Qy(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 Wy(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 Gy(e,t){var i=e,a=t.value;a!=null&&_a(i,!!t.multiple,a,!1)}var td=!1;function nd(e,t){var i=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var a=vt({},t,{value:void 0,defaultValue:void 0,children:er(i._wrapperState.initialValue)});return a}function Mv(e,t){var i=e;to("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!td&&(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"),td=!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(Mn(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 Lv(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 _v(e,t){var i=e,a=i.textContent;a===i._wrapperState.initialValue&&a!==""&&a!==null&&(i.value=a)}function rd(e,t){Lv(e,t)}var na="http://www.w3.org/1999/xhtml",Ky="http://www.w3.org/1998/Math/MathML",id="http://www.w3.org/2000/svg";function Qs(e){switch(e){case"svg":return id;case"math":return Ky;default:return na}}function ad(e,t){return e==null||e===na?Qs(t):e===id&&t==="foreignObject"?na:e}var Xy=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,i,a,o){MSApp.execUnsafeLocalFunction(function(){return e(t,i,a,o)})}:e},Ws,Nv=Xy(function(e,t){if(e.namespaceURI===id&&!("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}),Cr=1,ra=3,hn=8,Di=9,sl=11,Gs=function(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===ra){i.nodeValue=t;return}}e.textContent=t},Av={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"]},ao={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 zv(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Uv=["Webkit","ms","Moz","O"];Object.keys(ao).forEach(function(e){Uv.forEach(function(t){ao[zv(t,e)]=ao[e]})});function Ks(e,t,i){var a=t==null||typeof t=="boolean"||t==="";return a?"":!i&&typeof t=="number"&&t!==0&&!(ao.hasOwnProperty(e)&&ao[e])?t+"px":(Et(t,e),(""+t).trim())}var lo=/([A-Z])/g,qy=/^ms-/;function Zy(e){return e.replace(lo,"-$1").toLowerCase().replace(qy,"-ms-")}var Fv=function(){};{var Hv=/^(?:webkit|moz|o)[A-Z]/,Pv=/^-ms-/,Du=/-(.)/g,oo=/;\s*$/,uo={},so={},Vv=!1,ld=!1,od=function(e){return e.replace(Du,function(t,i){return i.toUpperCase()})},ud=function(e){uo.hasOwnProperty(e)&&uo[e]||(uo[e]=!0,m("Unsupported style property %s. Did you mean %s?",e,od(e.replace(Pv,"ms-"))))},Iv=function(e){uo.hasOwnProperty(e)&&uo[e]||(uo[e]=!0,m("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},jv=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(oo,"")))},Bv=function(e,t){Vv||(Vv=!0,m("`NaN` is an invalid value for the `%s` css style property.",e))},Jy=function(e,t){ld||(ld=!0,m("`Infinity` is an invalid value for the `%s` css style property.",e))};Fv=function(e,t){e.indexOf("-")>-1?ud(e):Hv.test(e)?Iv(e):oo.test(t)&&jv(e,t),typeof t=="number"&&(isNaN(t)?Bv(e,t):isFinite(t)||Jy(e,t))}}var eg=Fv;function tg(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:Zy(a))+":",t+=Ks(a,o,s),i=";"}}return t||null}}function $v(e,t){var i=e.style;for(var a in t)if(t.hasOwnProperty(a)){var o=a.indexOf("--")===0;o||eg(a,t[a]);var s=Ks(a,t[a],o);a==="float"&&(a="cssFloat"),o?i.setProperty(a,s):i[a]=s}}function ng(e){return e==null||typeof e=="boolean"||e===""}function ti(e){var t={};for(var i in e)for(var a=Av[i]||[i],o=0;o<a.length;o++)t[a[o]]=i;return t}function ku(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 g=d+","+y;if(o[g])continue;o[g]=!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.",ng(e[d])?"Removing":"Updating",d,y)}}}}var Yv={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},Qv=vt({menuitem:!0},Yv),Wv="__html";function Xs(e,t){if(t){if(Qv[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"||!(Wv 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 ia(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"},Gv={"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},ki={},sd=new RegExp("^(aria)-["+Qe+"]*$"),Ou=new RegExp("^(aria)[A-Z]["+Qe+"]*$");function cd(e,t){{if(Vt.call(ki,t)&&ki[t])return!0;if(Ou.test(t)){var i="aria-"+t.slice(4).toLowerCase(),a=Gv.hasOwnProperty(i)?i:null;if(a==null)return m("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),ki[t]=!0,!0;if(t!==a)return m("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,a),ki[t]=!0,!0}if(sd.test(t)){var o=t.toLowerCase(),s=Gv.hasOwnProperty(o)?o:null;if(s==null)return ki[t]=!0,!1;if(t!==s)return m("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,s),ki[t]=!0,!0}}return!0}function Kv(e,t){{var i=[];for(var a in t){var o=cd(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){ia(e,t)||Kv(e,t)}var cl=!1;function fd(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!cl&&(cl=!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 dd=function(){};{var Ln={},pd=/^on./,Xv=/^on[^A-Z]/,qv=new RegExp("^(aria)-["+Qe+"]*$"),Zv=new RegExp("^(aria)[A-Z]["+Qe+"]*$");dd=function(e,t,i,a){if(Vt.call(Ln,t)&&Ln[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."),Ln[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),Ln[t]=!0,!0;if(pd.test(t))return m("Unknown event handler property `%s`. It will be ignored.",t),Ln[t]=!0,!0}else if(pd.test(t))return Xv.test(t)&&m("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Ln[t]=!0,!0;if(qv.test(t)||Zv.test(t))return!0;if(o==="innerhtml")return m("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ln[t]=!0,!0;if(o==="aria")return m("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ln[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),Ln[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),Ln[t]=!0,!0;var g=Fi(t),x=g!==null&&g.type===Jt;if(qs.hasOwnProperty(o)){var T=qs[o];if(T!==t)return m("Invalid DOM property `%s`. Did you mean `%s`?",t,T),Ln[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),Ln[t]=!0,!0;return typeof i=="boolean"&&qr(t,i,g,!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),Ln[t]=!0,!0):x?!0:qr(t,i,g,!1)?(Ln[t]=!0,!1):((i==="false"||i==="true")&&g!==null&&g.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),Ln[t]=!0),!0)}}var Jv=function(e,t,i){{var a=[];for(var o in t){var s=dd(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 eh(e,t,i){ia(e,t)||Jv(e,t,i)}var aa=1,Mu=2,fl=4,rg=aa|Mu|fl,Lu=null;function _u(e){Lu!==null&&m("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Lu=e}function ig(){Lu===null&&m("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Lu=null}function th(e){return e===Lu}function Js(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===ra?t.parentNode:t}var Ht=null,Na=null,la=null;function co(e){var t=$o(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=am(i);Ht(t.stateNode,t.type,a)}}}function nh(e){Ht=e}function ec(e){Na?la?la.push(e):la=[e]:Na=e}function Nu(){return Na!==null||la!==null}function Au(){if(Na){var e=Na,t=la;if(Na=null,la=null,co(e),t)for(var i=0;i<t.length;i++)co(t[i])}}var dl=function(e,t){return e(t)},vd=function(){},hd=!1;function ag(){var e=Nu();e&&(vd(),Au())}function md(e,t,i){if(hd)return e(t,i);hd=!0;try{return dl(e,t,i)}finally{hd=!1,ag()}}function tc(e,t,i){dl=e,vd=i}function nc(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function yd(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 pl(e,t){var i=e.stateNode;if(i===null)return null;var a=am(i);if(a===null)return null;var o=a[t];if(yd(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 zu=!1;if(Pt)try{var vl={};Object.defineProperty(vl,"passive",{get:function(){zu=!0}}),window.addEventListener("test",vl,vl),window.removeEventListener("test",vl,vl)}catch{zu=!1}function rh(e,t,i,a,o,s,d,y,g){var x=Array.prototype.slice.call(arguments,3);try{t.apply(i,x)}catch(T){this.onError(T)}}var gd=rh;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Sd=document.createElement("react");gd=function(t,i,a,o,s,d,y,g,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,K=Object.getOwnPropertyDescriptor(window,"event");function q(){Sd.removeEventListener(Z,Ke,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Y)}var Te=Array.prototype.slice.call(arguments,3);function Ke(){z=!0,q(),i.apply(a,Te),N=!1}var Be,St=!1,mt=!1;function I(j){if(Be=j.error,St=!0,Be===null&&j.colno===0&&j.lineno===0&&(mt=!0),j.defaultPrevented&&Be!=null&&typeof Be=="object")try{Be._suppressLogging=!0}catch{}}var Z="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",I),Sd.addEventListener(Z,Ke,!1),T.initEvent(Z,!1,!1),Sd.dispatchEvent(T),K&&Object.defineProperty(window,"event",K),z&&N&&(St?mt&&(Be=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.")):Be=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(Be)),window.removeEventListener("error",I),!z)return q(),rh.apply(this,arguments)}}var lg=gd,Aa=!1,Oi=null,Uu=!1,za=null,Pi={onError:function(e){Aa=!0,Oi=e}};function hl(e,t,i,a,o,s,d,y,g){Aa=!1,Oi=null,lg.apply(Pi,arguments)}function oa(e,t,i,a,o,s,d,y,g){if(hl.apply(this,arguments),Aa){var x=Cd();Uu||(Uu=!0,za=x)}}function Ed(){if(Uu){var e=za;throw Uu=!1,za=null,e}}function og(){return Aa}function Cd(){if(Aa){var e=Oi;return Aa=!1,Oi=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 Fu(e){return e._reactInternals!==void 0}function fo(e,t){e._reactInternals=t}var We=0,Ua=1,jt=2,ut=4,Dt=16,kt=32,Vi=64,et=128,rn=256,Rr=512,ri=1024,Wt=2048,ii=4096,Fa=8192,Hu=16384,rc=Wt|ut|Vi|Rr|ri|Hu,ih=32767,Vr=32768,_n=65536,Pu=131072,Rd=1048576,xd=2097152,xr=4194304,Ha=8388608,Tr=16777216,ml=33554432,po=ut|ri|0,wr=jt|ut|Dt|kt|Rr|ii|Fa,tr=ut|Vi|Rr|Fa,ai=Wt|Dt,jn=xr|Ha|xd,ua=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))!==We&&(i=t.return),a=t.return;while(a)}return t.tag===O?i:null}function Td(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 wd(e){return Ir(e)===e}function jr(e){{var t=ua.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.",at(i)||"A component"),a._warnedAboutRefsInRender=!0}}var o=ni(e);return o?Ir(o)===o:!1}function br(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 g=s.child;g;){if(g===a)return br(s),e;if(g===o)return br(s),t;g=g.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?bd(t):null}function bd(e){if(e.tag===b||e.tag===L)return e;for(var t=e.child;t!==null;){var i=bd(t);if(i!==null)return i;t=t.sibling}return null}function ah(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,lh=p.unstable_cancelCallback,oc=p.unstable_shouldYield,oh=p.unstable_requestPaint,Xt=p.unstable_now,Dd=p.unstable_getCurrentPriorityLevel,uc=p.unstable_ImmediatePriority,yl=p.unstable_UserBlockingPriority,Ii=p.unstable_NormalPriority,uh=p.unstable_LowPriority,sc=p.unstable_IdlePriority,vo=p.unstable_yieldValue,sh=p.unstable_setDisableYieldValue,sa=null,Rn=null,Re=null,oi=!1,Br=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function kd(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=vt({},e,{getLaneLabelMap:ca,injectProfilingHooks:ch})),sa=t.inject(e),Rn=t}catch(i){m("React instrumentation encountered an error: %s.",i)}return!!t.checkDCE}function Od(e,t){if(Rn&&typeof Rn.onScheduleFiberRoot=="function")try{Rn.onScheduleFiberRoot(sa,e,t)}catch(i){oi||(oi=!0,m("React instrumentation encountered an error: %s",i))}}function ho(e,t){if(Rn&&typeof Rn.onCommitFiberRoot=="function")try{var i=(e.current.flags&et)===et;if(Ie){var a;switch(t){case cn:a=uc;break;case da:a=yl;break;case ji:a=Ii;break;case Do:a=sc;break;default:a=Ii;break}Rn.onCommitFiberRoot(sa,e,a,i)}}catch(o){oi||(oi=!0,m("React instrumentation encountered an error: %s",o))}}function ui(e){if(Rn&&typeof Rn.onPostCommitFiberRoot=="function")try{Rn.onPostCommitFiberRoot(sa,e)}catch(t){oi||(oi=!0,m("React instrumentation encountered an error: %s",t))}}function gl(e){if(Rn&&typeof Rn.onCommitFiberUnmount=="function")try{Rn.onCommitFiberUnmount(sa,e)}catch(t){oi||(oi=!0,m("React instrumentation encountered an error: %s",t))}}function mn(e){if(typeof vo=="function"&&(sh(e),C(e)),Rn&&typeof Rn.setStrictMode=="function")try{Rn.setStrictMode(sa,e)}catch(t){oi||(oi=!0,m("React instrumentation encountered an error: %s",t))}}function ch(e){Re=e}function ca(){{for(var e=new Map,t=1,i=0;i<$u;i++){var a=sg(t);e.set(t,a),t*=2}return e}}function Pa(e){Re!==null&&typeof Re.markCommitStarted=="function"&&Re.markCommitStarted(e)}function cc(){Re!==null&&typeof Re.markCommitStopped=="function"&&Re.markCommitStopped()}function mo(e){Re!==null&&typeof Re.markComponentRenderStarted=="function"&&Re.markComponentRenderStarted(e)}function Dr(){Re!==null&&typeof Re.markComponentRenderStopped=="function"&&Re.markComponentRenderStopped()}function Va(e){Re!==null&&typeof Re.markComponentPassiveEffectMountStarted=="function"&&Re.markComponentPassiveEffectMountStarted(e)}function fc(){Re!==null&&typeof Re.markComponentPassiveEffectMountStopped=="function"&&Re.markComponentPassiveEffectMountStopped()}function fh(e){Re!==null&&typeof Re.markComponentPassiveEffectUnmountStarted=="function"&&Re.markComponentPassiveEffectUnmountStarted(e)}function dc(){Re!==null&&typeof Re.markComponentPassiveEffectUnmountStopped=="function"&&Re.markComponentPassiveEffectUnmountStopped()}function dh(e){Re!==null&&typeof Re.markComponentLayoutEffectMountStarted=="function"&&Re.markComponentLayoutEffectMountStarted(e)}function Vu(){Re!==null&&typeof Re.markComponentLayoutEffectMountStopped=="function"&&Re.markComponentLayoutEffectMountStopped()}function Mi(e){Re!==null&&typeof Re.markComponentLayoutEffectUnmountStarted=="function"&&Re.markComponentLayoutEffectUnmountStarted(e)}function yo(){Re!==null&&typeof Re.markComponentLayoutEffectUnmountStopped=="function"&&Re.markComponentLayoutEffectUnmountStopped()}function Iu(e,t,i){Re!==null&&typeof Re.markComponentErrored=="function"&&Re.markComponentErrored(e,t,i)}function Sl(e,t,i){Re!==null&&typeof Re.markComponentSuspended=="function"&&Re.markComponentSuspended(e,t,i)}function Md(e){Re!==null&&typeof Re.markLayoutEffectsStarted=="function"&&Re.markLayoutEffectsStarted(e)}function go(){Re!==null&&typeof Re.markLayoutEffectsStopped=="function"&&Re.markLayoutEffectsStopped()}function ph(e){Re!==null&&typeof Re.markPassiveEffectsStarted=="function"&&Re.markPassiveEffectsStarted(e)}function Ld(){Re!==null&&typeof Re.markPassiveEffectsStopped=="function"&&Re.markPassiveEffectsStopped()}function Gt(e){Re!==null&&typeof Re.markRenderStarted=="function"&&Re.markRenderStarted(e)}function pc(){Re!==null&&typeof Re.markRenderYielded=="function"&&Re.markRenderYielded()}function vc(){Re!==null&&typeof Re.markRenderStopped=="function"&&Re.markRenderStopped()}function _d(e){Re!==null&&typeof Re.markRenderScheduled=="function"&&Re.markRenderScheduled(e)}function hc(e,t){Re!==null&&typeof Re.markForceUpdateScheduled=="function"&&Re.markForceUpdateScheduled(e,t)}function ju(e,t){Re!==null&&typeof Re.markStateUpdateScheduled=="function"&&Re.markStateUpdateScheduled(e,t)}var Pe=0,je=1,tt=2,ft=8,$r=16,So=Math.clz32?Math.clz32:nr,Bu=Math.log,ug=Math.LN2;function nr(e){var t=e>>>0;return t===0?32:31-(Bu(t)/ug|0)|0}var $u=31,ie=0,yn=0,Ye=1,Bn=2,Yr=4,fa=8,si=16,Eo=32,El=4194240,Co=64,mc=128,yc=256,gc=512,Sc=1024,Ec=2048,Cl=4096,Cc=8192,Ro=16384,xo=32768,Rc=65536,Yu=131072,xc=262144,Tc=524288,wc=1048576,bc=2097152,To=130023424,Rl=4194304,Dc=8388608,kc=16777216,Nd=33554432,Oc=67108864,vh=Rl,Qu=134217728,Ad=268435455,wo=268435456,Ia=536870912,rr=1073741824;function sg(e){{if(e&Ye)return"Sync";if(e&Bn)return"InputContinuousHydration";if(e&Yr)return"InputContinuous";if(e&fa)return"DefaultHydration";if(e&si)return"Default";if(e&Eo)return"TransitionHydration";if(e&El)return"Transition";if(e&To)return"Retry";if(e&Qu)return"SelectiveHydration";if(e&wo)return"IdleHydration";if(e&Ia)return"Idle";if(e&rr)return"Offscreen"}}var It=-1,Mc=Co,kr=Rl;function xl(e){switch(sn(e)){case Ye:return Ye;case Bn:return Bn;case Yr:return Yr;case fa:return fa;case si:return si;case Eo:return Eo;case Co:case mc:case yc:case gc:case Sc:case Ec:case Cl:case Cc:case Ro:case xo:case Rc:case Yu:case xc:case Tc:case wc:case bc:return e&El;case Rl:case Dc:case kc:case Nd:case Oc:return e&To;case Qu:return Qu;case wo:return wo;case Ia:return Ia;case rr:return rr;default:return m("Should have found matching lanes. This is a bug in React."),e}}function Tl(e,t){var i=e.pendingLanes;if(i===ie)return ie;var a=ie,o=e.suspendedLanes,s=e.pingedLanes,d=i&Ad;if(d!==ie){var y=d&~o;if(y!==ie)a=xl(y);else{var g=d&s;g!==ie&&(a=xl(g))}}else{var x=i&~o;x!==ie?a=xl(x):s!==ie&&(a=xl(s))}if(a===ie)return ie;if(t!==ie&&t!==a&&(t&o)===ie){var T=sn(a),z=sn(t);if(T>=z||T===si&&(z&El)!==ie)return t}(a&Yr)!==ie&&(a|=i&si);var N=e.entangledLanes;if(N!==ie)for(var Y=e.entanglements,K=a&N;K>0;){var q=Ba(K),Te=1<<q;a|=Y[q],K&=~Te}return a}function hh(e,t){for(var i=e.eventTimes,a=It;t>0;){var o=Ba(t),s=1<<o,d=i[o];d>a&&(a=d),t&=~s}return a}function mh(e,t){switch(e){case Ye:case Bn:case Yr:return t+250;case fa:case si:case Eo:case Co:case mc:case yc:case gc:case Sc:case Ec:case Cl:case Cc:case Ro:case xo:case Rc:case Yu:case xc:case Tc:case wc:case bc:return t+5e3;case Rl:case Dc:case kc:case Nd:case Oc:return It;case Qu:case wo:case Ia:case rr:return It;default:return m("Should have found matching lanes. This is a bug in React."),It}}function yh(e,t){for(var i=e.pendingLanes,a=e.suspendedLanes,o=e.pingedLanes,s=e.expirationTimes,d=i;d>0;){var y=Ba(d),g=1<<y,x=s[y];x===It?((g&a)===ie||(g&o)!==ie)&&(s[y]=mh(g,t)):x<=t&&(e.expiredLanes|=g),d&=~g}}function zd(e){return xl(e.pendingLanes)}function ja(e){var t=e.pendingLanes&~rr;return t!==ie?t:t&rr?rr:ie}function Ud(e){return(e&Ye)!==ie}function Wu(e){return(e&Ad)!==ie}function gh(e){return(e&To)===e}function Sh(e){var t=Ye|Yr|si;return(e&t)===ie}function Eh(e){return(e&El)===e}function Gu(e,t){var i=Bn|Yr|fa|si;return(t&i)!==ie}function Ch(e,t){return(t&e.expiredLanes)!==ie}function Fd(e){return(e&El)!==ie}function Rh(){var e=Mc;return Mc<<=1,(Mc&El)===ie&&(Mc=Co),e}function Or(){var e=kr;return kr<<=1,(kr&To)===ie&&(kr=Rl),e}function sn(e){return e&-e}function bo(e){return sn(e)}function Ba(e){return 31-So(e)}function Lc(e){return Ba(e)}function Mr(e,t){return(e&t)!==ie}function wl(e,t){return(e&t)===t}function lt(e,t){return e|t}function Ku(e,t){return e&~t}function _c(e,t){return e&t}function cg(e){return e}function xh(e,t){return e!==yn&&e<t?e:t}function Xu(e){for(var t=[],i=0;i<$u;i++)t.push(e);return t}function bl(e,t,i){e.pendingLanes|=t,t!==Ia&&(e.suspendedLanes=ie,e.pingedLanes=ie);var a=e.eventTimes,o=Lc(t);a[o]=i}function Th(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var i=e.expirationTimes,a=t;a>0;){var o=Ba(a),s=1<<o;i[o]=It,a&=~s}}function Nc(e,t,i){e.pingedLanes|=e.suspendedLanes&t}function Ac(e,t){var i=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ie,e.pingedLanes=ie,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=Ba(d),g=1<<y;a[y]=ie,o[y]=It,s[y]=It,d&=~g}}function Hd(e,t){for(var i=e.entangledLanes|=t,a=e.entanglements,o=i;o;){var s=Ba(o),d=1<<s;d&t|a[s]&t&&(a[s]|=t),o&=~d}}function wh(e,t){var i=sn(t),a;switch(i){case Yr:a=Bn;break;case si:a=fa;break;case Co:case mc:case yc:case gc:case Sc:case Ec:case Cl:case Cc:case Ro:case xo:case Rc:case Yu:case xc:case Tc:case wc:case bc:case Rl:case Dc:case kc:case Nd:case Oc:a=Eo;break;case Ia:a=wo;break;default:a=yn;break}return(a&(e.suspendedLanes|t))!==yn?yn:a}function zc(e,t,i){if(Br)for(var a=e.pendingUpdatersLaneMap;i>0;){var o=Lc(i),s=1<<o,d=a[o];d.add(t),i&=~s}}function Pd(e,t){if(Br)for(var i=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;t>0;){var o=Lc(t),s=1<<o,d=i[o];d.size>0&&(d.forEach(function(y){var g=y.alternate;(g===null||!a.has(g))&&a.add(y)}),d.clear()),t&=~s}}function qu(e,t){return null}var cn=Ye,da=Yr,ji=si,Do=Ia,ko=yn;function ci(){return ko}function an(e){ko=e}function ir(e,t){var i=ko;try{return ko=e,t()}finally{ko=i}}function fg(e,t){return e!==0&&e<t?e:t}function dg(e,t){return e===0||e>t?e:t}function Oo(e,t){return e!==0&&e<t}function $n(e){var t=sn(e);return Oo(cn,t)?Oo(da,t)?Wu(t)?ji:Do:da:cn}function Uc(e){var t=e.current.memoizedState;return t.isDehydrated}var Oe;function Mo(e){Oe=e}function Vd(e){Oe(e)}var Fc;function pg(e){Fc=e}var Lo;function Hc(e){Lo=e}var Pc;function bh(e){Pc=e}var Id;function Dh(e){Id=e}var Zu=!1,_o=[],Kt=null,Nn=null,or=null,No=new Map,Ao=new Map,An=[],kh=["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 Bi(e){return kh.indexOf(e)>-1}function vg(e,t,i,a,o){return{blockedOn:e,domEventName:t,eventSystemFlags:i,nativeEvent:o,targetContainers:[a]}}function jd(e,t){switch(e){case"focusin":case"focusout":Kt=null;break;case"dragenter":case"dragleave":Nn=null;break;case"mouseover":case"mouseout":or=null;break;case"pointerover":case"pointerout":{var i=t.pointerId;No.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=vg(t,i,a,o,s);if(t!==null){var y=$o(t);y!==null&&Fc(y)}return d}e.eventSystemFlags|=a;var g=e.targetContainers;return o!==null&&g.indexOf(o)===-1&&g.push(o),e}function Oh(e,t,i,a,o){switch(t){case"focusin":{var s=o;return Kt=zo(Kt,e,t,i,a,s),!0}case"dragenter":{var d=o;return Nn=zo(Nn,e,t,i,a,d),!0}case"mouseover":{var y=o;return or=zo(or,e,t,i,a,y),!0}case"pointerover":{var g=o,x=g.pointerId;return No.set(x,zo(No.get(x)||null,e,t,i,a,g)),!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 Bd(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=Td(i);if(o!==null){e.blockedOn=o,Id(e.priority,function(){Lo(i)});return}}else if(a===O){var s=i.stateNode;if(Uc(s)){e.blockedOn=ic(i);return}}}}e.blockedOn=null}function hg(e){for(var t=Pc(),i={blockedOn:null,target:e,priority:t},a=0;a<An.length&&Oo(t,An[a].priority);a++);An.splice(a,0,i),a===0&&Bd(i)}function Dl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var i=t[0],a=ar(e.domEventName,e.eventSystemFlags,i,e.nativeEvent);if(a===null){var o=e.nativeEvent,s=new o.constructor(o.type,o);_u(s),o.target.dispatchEvent(s),ig()}else{var d=$o(a);return d!==null&&Fc(d),e.blockedOn=a,!1}t.shift()}return!0}function Vc(e,t,i){Dl(e)&&i.delete(t)}function fi(){Zu=!1,Kt!==null&&Dl(Kt)&&(Kt=null),Nn!==null&&Dl(Nn)&&(Nn=null),or!==null&&Dl(or)&&(or=null),No.forEach(Vc),Ao.forEach(Vc)}function ht(e,t){e.blockedOn===t&&(e.blockedOn=null,Zu||(Zu=!0,p.unstable_scheduleCallback(p.unstable_NormalPriority,fi)))}function ln(e){if(_o.length>0){ht(_o[0],e);for(var t=1;t<_o.length;t++){var i=_o[t];i.blockedOn===e&&(i.blockedOn=null)}}Kt!==null&&ht(Kt,e),Nn!==null&&ht(Nn,e),or!==null&&ht(or,e);var a=function(y){return ht(y,e)};No.forEach(a),Ao.forEach(a);for(var o=0;o<An.length;o++){var s=An[o];s.blockedOn===e&&(s.blockedOn=null)}for(;An.length>0;){var d=An[0];if(d.blockedOn!==null)break;Bd(d),d.blockedOn===null&&An.shift()}}var $t=v.ReactCurrentBatchConfig,xn=!0;function Lr(e){xn=!!e}function Uo(){return xn}function Tn(e,t,i){var a=Ic(t),o;switch(a){case cn:o=Ju;break;case da:o=kl;break;case ji:default:o=Fo;break}return o.bind(null,t,i,e)}function Ju(e,t,i,a){var o=ci(),s=$t.transition;$t.transition=null;try{an(cn),Fo(e,t,i,a)}finally{an(o),$t.transition=s}}function kl(e,t,i,a){var o=ci(),s=$t.transition;$t.transition=null;try{an(da),Fo(e,t,i,a)}finally{an(o),$t.transition=s}}function Fo(e,t,i,a){xn&&$d(e,t,i,a)}function $d(e,t,i,a){var o=ar(e,t,i,a);if(o===null){_g(e,t,a,$a,i),jd(e,a);return}if(Oh(o,e,t,i,a)){a.stopPropagation();return}if(jd(e,a),t&fl&&Bi(e)){for(;o!==null;){var s=$o(o);s!==null&&Vd(s);var d=ar(e,t,i,a);if(d===null&&_g(e,t,a,$a,i),d===o)break;o=d}o!==null&&a.stopPropagation();return}_g(e,t,a,null,i)}var $a=null;function ar(e,t,i,a){$a=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 g=Td(d);if(g!==null)return g;s=null}else if(y===O){var x=d.stateNode;if(Uc(x))return ic(d);s=null}else d!==s&&(s=null)}}return $a=s,null}function Ic(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 cn;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 da;case"message":{var t=Dd();switch(t){case uc:return cn;case yl:return da;case Ii:case uh:return ji;case sc:return Do;default:return ji}}default:return ji}}function Ho(e,t,i){return e.addEventListener(t,i,!1),i}function pa(e,t,i){return e.addEventListener(t,i,!0),i}function jc(e,t,i,a){return e.addEventListener(t,i,{capture:!0,passive:a}),i}function Yd(e,t,i,a){return e.addEventListener(t,i,{passive:a}),i}var di=null,Po=null,pi=null;function Bc(e){return di=e,Po=ts(),!0}function es(){di=null,Po=null,pi=null}function $c(){if(pi)return pi;var e,t=Po,i=t.length,a,o=ts(),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 pi=o.slice(e,y),pi}function ts(){return"value"in di?di.value:di.textContent}function Ol(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 zn(){return!0}function va(){return!1}function qt(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 g=e[y];g?this[y]=g(s):this[y]=s[y]}var x=s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1;return x?this.isDefaultPrevented=zn:this.isDefaultPrevented=va,this.isPropagationStopped=va,this}return vt(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=zn)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=zn)},persist:function(){},isPersistent:zn}),t}var wn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Yc=qt(wn),Ml=vt({},wn,{view:0,detail:0}),Qd=qt(Ml),Wd,$i,Vo;function Gd(e){e!==Vo&&(Vo&&e.type==="mousemove"?(Wd=e.screenX-Vo.screenX,$i=e.screenY-Vo.screenY):(Wd=0,$i=0),Vo=e)}var Yi=vt({},Ml,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kd,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:(Gd(e),Wd)},movementY:function(e){return"movementY"in e?e.movementY:$i}}),Qc=qt(Yi),Ll=vt({},Yi,{dataTransfer:0}),Mh=qt(Ll),Lh=vt({},Ml,{relatedTarget:0}),ns=qt(Lh),Wc=vt({},wn,{animationName:0,elapsedTime:0,pseudoElement:0}),mg=qt(Wc),yg=vt({},wn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_h=qt(yg),Nh=vt({},wn,{data:0}),Ya=qt(Nh),gg=Ya,Io={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ah={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 on(e){if(e.key){var t=Io[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var i=Ol(e);return i===13?"Enter":String.fromCharCode(i)}return e.type==="keydown"||e.type==="keyup"?Ah[e.keyCode]||"Unidentified":""}var Sg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zh(e){var t=this,i=t.nativeEvent;if(i.getModifierState)return i.getModifierState(e);var a=Sg[e];return a?!!i[a]:!1}function Kd(e){return zh}var Eg=vt({},Ml,{key:on,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kd,charCode:function(e){return e.type==="keypress"?Ol(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ol(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Uh=qt(Eg),Fh=vt({},Yi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Hh=qt(Fh),vi=vt({},Ml,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kd}),Xd=qt(vi),Cg=vt({},wn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Qa=qt(Cg),Gc=vt({},Yi,{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}),_l=qt(Gc),Kc=[9,13,27,32],Xc=229,rs=Pt&&"CompositionEvent"in window,is=null;Pt&&"documentMode"in document&&(is=document.documentMode);var qd=Pt&&"TextEvent"in window&&!is,Ph=Pt&&(!rs||is&&is>8&&is<=11),Zd=32,Jd=String.fromCharCode(Zd);function qc(){st("onBeforeInput",["compositionend","keypress","textInput","paste"]),st("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),st("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),st("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var as=!1;function Vh(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function ep(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Rg(e,t){return e==="keydown"&&t.keyCode===Xc}function tp(e,t){switch(e){case"keyup":return Kc.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Xc;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zc(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function ls(e){return e.locale==="ko"}var Wa=!1;function Jc(e,t,i,a,o){var s,d;if(rs?s=ep(t):Wa?tp(t,a)&&(s="onCompositionEnd"):Rg(t,a)&&(s="onCompositionStart"),!s)return null;Ph&&!ls(a)&&(!Wa&&s==="onCompositionStart"?Wa=Bc(o):s==="onCompositionEnd"&&Wa&&(d=$c()));var y=Qh(i,s);if(y.length>0){var g=new Ya(s,t,null,a,o);if(e.push({event:g,listeners:y}),d)g.data=d;else{var x=Zc(a);x!==null&&(g.data=x)}}}function Ih(e,t){switch(e){case"compositionend":return Zc(t);case"keypress":var i=t.which;return i!==Zd?null:(as=!0,Jd);case"textInput":var a=t.data;return a===Jd&&as?null:a;default:return null}}function xg(e,t){if(Wa){if(e==="compositionend"||!rs&&tp(e,t)){var i=$c();return es(),Wa=!1,i}return null}switch(e){case"paste":return null;case"keypress":if(!Vh(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ph&&!ls(t)?null:t.data;default:return null}}function ef(e,t,i,a,o){var s;if(qd?s=Ih(t,a):s=xg(t,a),!s)return null;var d=Qh(i,"onBeforeInput");if(d.length>0){var y=new gg("onBeforeInput","beforeinput",null,a,o);e.push({event:y,listeners:d}),y.data=s}}function Tg(e,t,i,a,o,s,d){Jc(e,t,i,a,o),ef(e,t,i,a,o)}var os={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 jh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!os[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 tf(e){if(!Pt)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 n(){st("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function r(e,t,i,a){ec(a);var o=Qh(t,"onChange");if(o.length>0){var s=new Yc("onChange","change",null,i,a);e.push({event:s,listeners:o})}}var l=null,u=null;function c(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function h(e){var t=[];r(t,u,e,Js(e)),md(E,t)}function E(e){nC(e,0)}function D(e){var t=uf(e);if(Tv(t))return e}function _(e,t){if(e==="change")return t}var W=!1;Pt&&(W=tf("input")&&(!document.documentMode||document.documentMode>9));function se(e,t){l=e,u=t,l.attachEvent("onpropertychange",ae)}function ve(){l&&(l.detachEvent("onpropertychange",ae),l=null,u=null)}function ae(e){e.propertyName==="value"&&D(u)&&h(e)}function be(e,t,i){e==="focusin"?(ve(),se(t,i)):e==="focusout"&&ve()}function _e(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return D(u)}function Fe(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function fn(e,t){if(e==="click")return D(t)}function V(e,t){if(e==="input"||e==="change")return D(t)}function A(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||La(e,"number",e.value)}function B(e,t,i,a,o,s,d){var y=i?uf(i):window,g,x;if(c(y)?g=_:jh(y)?W?g=V:(g=_e,x=be):Fe(y)&&(g=fn),g){var T=g(t,i);if(T){r(e,T,a,o);return}}x&&x(t,y,i),t==="focusout"&&A(y)}function ye(){yt("onMouseEnter",["mouseout","mouseover"]),yt("onMouseLeave",["mouseout","mouseover"]),yt("onPointerEnter",["pointerout","pointerover"]),yt("onPointerLeave",["pointerout","pointerover"])}function Ve(e,t,i,a,o,s,d){var y=t==="mouseover"||t==="pointerover",g=t==="mouseout"||t==="pointerout";if(y&&!th(a)){var x=a.relatedTarget||a.fromElement;if(x&&(cs(x)||hp(x)))return}if(!(!g&&!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(g){var K=a.relatedTarget||a.toElement;if(N=i,Y=K?cs(K):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 Te=Qc,Ke="onMouseLeave",Be="onMouseEnter",St="mouse";(t==="pointerout"||t==="pointerover")&&(Te=Hh,Ke="onPointerLeave",Be="onPointerEnter",St="pointer");var mt=N==null?T:uf(N),I=Y==null?T:uf(Y),Z=new Te(Ke,St+"leave",N,a,o);Z.target=mt,Z.relatedTarget=I;var j=null,he=cs(o);if(he===i){var ke=new Te(Be,St+"enter",Y,a,o);ke.target=I,ke.relatedTarget=mt,j=ke}nw(e,Z,j,N,Y)}}}function qe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ne=typeof Object.is=="function"?Object.is:qe;function Ze(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(!Vt.call(t,s)||!Ne(e[s],t[s]))return!1}return!0}function bn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rt(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function ha(e,t){for(var i=bn(e),a=0,o=0;i;){if(i.nodeType===ra){if(o=a+i.textContent.length,a<=t&&o>=t)return{node:i,offset:t-a};a=o}i=bn(Rt(i))}}function wg(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 UT(e,o,s,d,y)}function UT(e,t,i,a,o){var s=0,d=-1,y=-1,g=0,x=0,T=e,z=null;e:for(;;){for(var N=null;T===t&&(i===0||T.nodeType===ra)&&(d=s+i),T===a&&(o===0||T.nodeType===ra)&&(y=s+o),T.nodeType===ra&&(s+=T.nodeValue.length),(N=T.firstChild)!==null;)z=T,T=N;for(;;){if(T===e)break e;if(z===t&&++g===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 FT(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 g=y;y=d,d=g}var x=ha(e,d),T=ha(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 $E(e){return e&&e.nodeType===ra}function YE(e,t){return!e||!t?!1:e===t?!0:$E(e)?!1:$E(t)?YE(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function HT(e){return e&&e.ownerDocument&&YE(e.ownerDocument.documentElement,e)}function PT(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function QE(){for(var e=window,t=Vs();t instanceof e.HTMLIFrameElement;){if(PT(t))e=t.contentWindow;else return t;t=Vs(e.document)}return t}function bg(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 VT(){var e=QE();return{focusedElem:e,selectionRange:bg(e)?jT(e):null}}function IT(e){var t=QE(),i=e.focusedElem,a=e.selectionRange;if(t!==i&&HT(i)){a!==null&&bg(i)&&BT(i,a);for(var o=[],s=i;s=s.parentNode;)s.nodeType===Cr&&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 jT(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=wg(e),t||{start:0,end:0}}function BT(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)):FT(e,t)}var $T=Pt&&"documentMode"in document&&document.documentMode<=11;function YT(){st("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var nf=null,Dg=null,np=null,kg=!1;function QT(e){if("selectionStart"in e&&bg(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 WT(e){return e.window===e?e.document:e.nodeType===Di?e:e.ownerDocument}function WE(e,t,i){var a=WT(i);if(!(kg||nf==null||nf!==Vs(a))){var o=QT(nf);if(!np||!Ze(np,o)){np=o;var s=Qh(Dg,"onSelect");if(s.length>0){var d=new Yc("onSelect","select",null,t,i);e.push({event:d,listeners:s}),d.target=nf}}}}function GT(e,t,i,a,o,s,d){var y=i?uf(i):window;switch(t){case"focusin":(jh(y)||y.contentEditable==="true")&&(nf=y,Dg=i,np=null);break;case"focusout":nf=null,Dg=null,np=null;break;case"mousedown":kg=!0;break;case"contextmenu":case"mouseup":case"dragend":kg=!1,WE(e,a,o);break;case"selectionchange":if($T)break;case"keydown":case"keyup":WE(e,a,o)}}function Bh(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var rf={animationend:Bh("Animation","AnimationEnd"),animationiteration:Bh("Animation","AnimationIteration"),animationstart:Bh("Animation","AnimationStart"),transitionend:Bh("Transition","TransitionEnd")},Og={},GE={};Pt&&(GE=document.createElement("div").style,"AnimationEvent"in window||(delete rf.animationend.animation,delete rf.animationiteration.animation,delete rf.animationstart.animation),"TransitionEvent"in window||delete rf.transitionend.transition);function $h(e){if(Og[e])return Og[e];if(!rf[e])return e;var t=rf[e];for(var i in t)if(t.hasOwnProperty(i)&&i in GE)return Og[e]=t[i];return e}var KE=$h("animationend"),XE=$h("animationiteration"),qE=$h("animationstart"),ZE=$h("transitionend"),JE=new Map,eC=["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 jo(e,t){JE.set(e,t),st(t,[e])}function KT(){for(var e=0;e<eC.length;e++){var t=eC[e],i=t.toLowerCase(),a=t[0].toUpperCase()+t.slice(1);jo(i,"on"+a)}jo(KE,"onAnimationEnd"),jo(XE,"onAnimationIteration"),jo(qE,"onAnimationStart"),jo("dblclick","onDoubleClick"),jo("focusin","onFocus"),jo("focusout","onBlur"),jo(ZE,"onTransitionEnd")}function XT(e,t,i,a,o,s,d){var y=JE.get(t);if(y!==void 0){var g=Yc,x=t;switch(t){case"keypress":if(Ol(a)===0)return;case"keydown":case"keyup":g=Uh;break;case"focusin":x="focus",g=ns;break;case"focusout":x="blur",g=ns;break;case"beforeblur":case"afterblur":g=ns;break;case"click":if(a.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=Qc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=Mh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Xd;break;case KE:case XE:case qE:g=mg;break;case ZE:g=Qa;break;case"scroll":g=Qd;break;case"wheel":g=_l;break;case"copy":case"cut":case"paste":g=_h;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Hh;break}var T=(s&fl)!==0;{var z=!T&&t==="scroll",N=ew(i,y,a.type,T,z);if(N.length>0){var Y=new g(y,x,null,a,o);e.push({event:Y,listeners:N})}}}}KT(),ye(),n(),YT(),qc();function qT(e,t,i,a,o,s,d){XT(e,t,i,a,o,s);var y=(s&rg)===0;y&&(Ve(e,t,i,a,o),B(e,t,i,a,o),GT(e,t,i,a,o),Tg(e,t,i,a,o))}var rp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Mg=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(rp));function tC(e,t,i){var a=e.type||"unknown-event";e.currentTarget=i,oa(a,t,void 0,e),e.currentTarget=null}function ZT(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,g=s.listener;if(d!==a&&e.isPropagationStopped())return;tC(e,g,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;tC(e,Y,N),a=z}}function nC(e,t){for(var i=(t&fl)!==0,a=0;a<e.length;a++){var o=e[a],s=o.event,d=o.listeners;ZT(s,d,i)}Ed()}function JT(e,t,i,a,o){var s=Js(i),d=[];qT(d,e,a,i,s,t),nC(d,t)}function Zt(e,t){Mg.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=Ob(t),o=rw(e,i);a.has(o)||(rC(t,e,Mu,i),a.add(o))}function Lg(e,t,i){Mg.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|=fl),rC(i,e,a,t)}var Yh="_reactListening"+Math.random().toString(36).slice(2);function ip(e){if(!e[Yh]){e[Yh]=!0,Le.forEach(function(i){i!=="selectionchange"&&(Mg.has(i)||Lg(i,!1,e),Lg(i,!0,e))});var t=e.nodeType===Di?e:e.ownerDocument;t!==null&&(t[Yh]||(t[Yh]=!0,Lg("selectionchange",!1,t)))}}function rC(e,t,i,a,o){var s=Tn(e,t,i),d=void 0;zu&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(d=!0),e=e,a?d!==void 0?jc(e,t,s,d):pa(e,t,s):d!==void 0?Yd(e,t,s,d):Ho(e,t,s)}function iC(e,t){return e===t||e.nodeType===hn&&e.parentNode===t}function _g(e,t,i,a,o){var s=a;if(!(t&aa)&&!(t&Mu)){var d=o;if(a!==null){var y=a;e:for(;;){if(y===null)return;var g=y.tag;if(g===O||g===U){var x=y.stateNode.containerInfo;if(iC(x,d))break;if(g===U)for(var T=y.return;T!==null;){var z=T.tag;if(z===O||z===U){var N=T.stateNode.containerInfo;if(iC(N,d))return}T=T.return}for(;x!==null;){var Y=cs(x);if(Y===null)return;var K=Y.tag;if(K===b||K===L){y=s=Y;continue e}x=x.parentNode}}y=y.return}}}md(function(){return JT(e,t,i,s)})}function ap(e,t,i){return{instance:e,listener:t,currentTarget:i}}function ew(e,t,i,a,o,s){for(var d=t!==null?t+"Capture":null,y=a?d:t,g=[],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 K=pl(x,y);K!=null&&g.push(ap(x,K,T))}if(o)break;x=x.return}return g}function Qh(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 g=d,x=pl(o,i);x!=null&&a.unshift(ap(o,x,g));var T=pl(o,t);T!=null&&a.push(ap(o,T,g))}o=o.return}return a}function af(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==b);return e||null}function tw(e,t){for(var i=e,a=t,o=0,s=i;s;s=af(s))o++;for(var d=0,y=a;y;y=af(y))d++;for(;o-d>0;)i=af(i),o--;for(;d-o>0;)a=af(a),d--;for(var g=o;g--;){if(i===a||a!==null&&i===a.alternate)return i;i=af(i),a=af(a)}return null}function aC(e,t,i,a,o){for(var s=t._reactName,d=[],y=i;y!==null&&y!==a;){var g=y,x=g.alternate,T=g.stateNode,z=g.tag;if(x!==null&&x===a)break;if(z===b&&T!==null){var N=T;if(o){var Y=pl(y,s);Y!=null&&d.unshift(ap(y,Y,N))}else if(!o){var K=pl(y,s);K!=null&&d.push(ap(y,K,N))}}y=y.return}d.length!==0&&e.push({event:t,listeners:d})}function nw(e,t,i,a,o){var s=a&&o?tw(a,o):null;a!==null&&aC(e,t,a,s,!1),o!==null&&i!==null&&aC(e,i,o,s,!0)}function rw(e,t){return e+"__"+(t?"capture":"bubble")}var hi=!1,lp="dangerouslySetInnerHTML",Wh="suppressContentEditableWarning",Bo="suppressHydrationWarning",lC="autoFocus",us="children",ss="style",Gh="__html",Ng,Kh,op,oC,Xh,uC,sC;Ng={dialog:!0,webview:!0},Kh=function(e,t){Zs(e,t),fd(e,t),eh(e,t,{registrationNameDependencies:Ge,possibleRegistrationNames:Ct})},uC=Pt&&!document.documentMode,op=function(e,t,i){if(!hi){var a=qh(i),o=qh(t);o!==a&&(hi=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(a)))}},oC=function(e){if(!hi){hi=!0;var t=[];e.forEach(function(i){t.push(i)}),m("Extra attributes from the server: %s",t)}},Xh=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)},sC=function(e,t){var i=e.namespaceURI===na?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return i.innerHTML=t,i.innerHTML};var iw=/\r\n?/g,aw=/\u0000|\uFFFD/g;function qh(e){kn(e);var t=typeof e=="string"?e:""+e;return t.replace(iw,`
|
|
64
|
-
`).replace(aw,"")}function Zh(e,t,i,a){var o=qh(t),s=qh(e);if(s!==o&&(a&&(hi||(hi=!0,m('Text content did not match. Server: "%s" Client: "%s"',s,o))),i&&ue))throw new Error("Text content does not match server-rendered HTML.")}function cC(e){return e.nodeType===Di?e:e.ownerDocument}function lw(){}function Jh(e){e.onclick=lw}function ow(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),$v(t,d);else if(s===lp){var y=d?d[Gh]:void 0;y!=null&&Nv(t,y)}else if(s===us)if(typeof d=="string"){var g=e!=="textarea"||d!=="";g&&Gs(t,d)}else typeof d=="number"&&Gs(t,""+d);else s===Wh||s===Bo||s===lC||(Ge.hasOwnProperty(s)?d!=null&&(typeof d!="function"&&Xh(s,d),s==="onScroll"&&Zt("scroll",t)):d!=null&&al(t,s,d,o))}}function uw(e,t,i,a){for(var o=0;o<t.length;o+=2){var s=t[o],d=t[o+1];s===ss?$v(e,d):s===lp?Nv(e,d):s===us?Gs(e,d):al(e,s,d,a)}}function sw(e,t,i,a){var o,s=cC(i),d,y=a;if(y===na&&(y=Qs(e)),y===na){if(o=ia(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 g=s.createElement("div");g.innerHTML="<script><\/script>";var x=g.firstChild;d=g.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===na&&!o&&Object.prototype.toString.call(d)==="[object HTMLUnknownElement]"&&!Vt.call(Ng,e)&&(Ng[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 cw(e,t){return cC(t).createTextNode(e)}function fw(e,t,i,a){var o=ia(t,i);Kh(t,i);var s;switch(t){case"dialog":Zt("cancel",e),Zt("close",e),s=i;break;case"iframe":case"object":case"embed":Zt("load",e),s=i;break;case"video":case"audio":for(var d=0;d<rp.length;d++)Zt(rp[d],e);s=i;break;case"source":Zt("error",e),s=i;break;case"img":case"image":case"link":Zt("error",e),Zt("load",e),s=i;break;case"details":Zt("toggle",e),s=i;break;case"input":Tu(e,i),s=xu(e,i),Zt("invalid",e);break;case"option":$s(e,i),s=i;break;case"select":Ov(e,i),s=ed(e,i),Zt("invalid",e);break;case"textarea":Mv(e,i),s=nd(e,i),Zt("invalid",e);break;default:s=i}switch(Xs(t,s),ow(t,e,a,s,o),t){case"input":ul(e),wu(e,i,!1);break;case"textarea":ul(e),_v(e);break;case"option":Jf(e,i);break;case"select":Qy(e,i);break;default:typeof s.onClick=="function"&&Jh(e);break}}function dw(e,t,i,a,o){Kh(t,a);var s=null,d,y;switch(t){case"input":d=xu(e,i),y=xu(e,a),s=[];break;case"select":d=ed(e,i),y=ed(e,a),s=[];break;case"textarea":d=nd(e,i),y=nd(e,a),s=[];break;default:d=i,y=a,typeof d.onClick!="function"&&typeof y.onClick=="function"&&Jh(e);break}Xs(t,y);var g,x,T=null;for(g in d)if(!(y.hasOwnProperty(g)||!d.hasOwnProperty(g)||d[g]==null))if(g===ss){var z=d[g];for(x in z)z.hasOwnProperty(x)&&(T||(T={}),T[x]="")}else g===lp||g===us||g===Wh||g===Bo||g===lC||(Ge.hasOwnProperty(g)?s||(s=[]):(s=s||[]).push(g,null));for(g in y){var N=y[g],Y=d!=null?d[g]:void 0;if(!(!y.hasOwnProperty(g)||N===Y||N==null&&Y==null))if(g===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(g,T)),T=N;else if(g===lp){var K=N?N[Gh]:void 0,q=Y?Y[Gh]:void 0;K!=null&&q!==K&&(s=s||[]).push(g,K)}else g===us?(typeof N=="string"||typeof N=="number")&&(s=s||[]).push(g,""+N):g===Wh||g===Bo||(Ge.hasOwnProperty(g)?(N!=null&&(typeof N!="function"&&Xh(g,N),g==="onScroll"&&Zt("scroll",e)),!s&&Y!==N&&(s=[])):(s=s||[]).push(g,N))}return T&&(ku(T,y[ss]),(s=s||[]).push(ss,T)),s}function pw(e,t,i,a,o){i==="input"&&o.type==="radio"&&o.name!=null&&Zf(e,o);var s=ia(i,a),d=ia(i,o);switch(uw(e,t,s,d),i){case"input":ro(e,o);break;case"textarea":Lv(e,o);break;case"select":Wy(e,o);break}}function vw(e){{var t=e.toLowerCase();return qs.hasOwnProperty(t)&&qs[t]||null}}function hw(e,t,i,a,o,s,d){var y,g;switch(y=ia(t,i),Kh(t,i),t){case"dialog":Zt("cancel",e),Zt("close",e);break;case"iframe":case"object":case"embed":Zt("load",e);break;case"video":case"audio":for(var x=0;x<rp.length;x++)Zt(rp[x],e);break;case"source":Zt("error",e);break;case"img":case"image":case"link":Zt("error",e),Zt("load",e);break;case"details":Zt("toggle",e);break;case"input":Tu(e,i),Zt("invalid",e);break;case"option":$s(e,i);break;case"select":Ov(e,i),Zt("invalid",e);break;case"textarea":Mv(e,i),Zt("invalid",e);break}Xs(t,i);{g=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:g.add(T[z].name)}}}var Y=null;for(var K in i)if(i.hasOwnProperty(K)){var q=i[K];if(K===us)typeof q=="string"?e.textContent!==q&&(i[Bo]!==!0&&Zh(e.textContent,q,s,d),Y=[us,q]):typeof q=="number"&&e.textContent!==""+q&&(i[Bo]!==!0&&Zh(e.textContent,q,s,d),Y=[us,""+q]);else if(Ge.hasOwnProperty(K))q!=null&&(typeof q!="function"&&Xh(K,q),K==="onScroll"&&Zt("scroll",e));else if(d&&typeof y=="boolean"){var Te=void 0,Ke=y&&wt?null:Fi(K);if(i[Bo]!==!0){if(!(K===Wh||K===Bo||K==="value"||K==="checked"||K==="selected")){if(K===lp){var Be=e.innerHTML,St=q?q[Gh]:void 0;if(St!=null){var mt=sC(e,St);mt!==Be&&op(K,Be,mt)}}else if(K===ss){if(g.delete(K),uC){var I=tg(q);Te=e.getAttribute("style"),I!==Te&&op(K,Te,I)}}else if(y&&!wt)g.delete(K.toLowerCase()),Te=zs(e,K,q),q!==Te&&op(K,Te,q);else if(!En(K,Ke,y)&&!en(K,q,Ke,y)){var Z=!1;if(Ke!==null)g.delete(Ke.attributeName),Te=pu(e,K,q,Ke);else{var j=a;if(j===na&&(j=Qs(t)),j===na)g.delete(K.toLowerCase());else{var he=vw(K);he!==null&&he!==K&&(Z=!0,g.delete(he)),g.delete(K)}Te=zs(e,K,q)}var ke=wt;!ke&&q!==Te&&!Z&&op(K,Te,q)}}}}}switch(d&&g.size>0&&i[Bo]!==!0&&oC(g),t){case"input":ul(e),wu(e,i,!0);break;case"textarea":ul(e),_v(e);break;case"select":case"option":break;default:typeof i.onClick=="function"&&Jh(e);break}return Y}function mw(e,t,i){var a=e.nodeValue!==t;return a}function Ag(e,t){{if(hi)return;hi=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function zg(e,t){{if(hi)return;hi=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function Ug(e,t,i){{if(hi)return;hi=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Fg(e,t){{if(t===""||hi)return;hi=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function yw(e,t,i){switch(t){case"input":wv(e,i);return;case"textarea":rd(e,i);return;case"select":Gy(e,i);return}}var up=function(){},sp=function(){};{var gw=["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"],fC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Sw=fC.concat(["button"]),Ew=["dd","dt","li","option","optgroup","p","rp","rt"],dC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};sp=function(e,t){var i=vt({},e||dC),a={tag:t};return fC.indexOf(t)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),Sw.indexOf(t)!==-1&&(i.pTagInButtonScope=null),gw.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 Cw=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 Ew.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},Rw=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},pC={};up=function(e,t,i){i=i||dC;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=Cw(e,o)?null:a,d=s?null:Rw(e,i),y=s||d;if(y){var g=y.tag,x=!!s+"|"+e+"|"+g;if(!pC[x]){pC[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="";g==="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,g,z,N)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",T,g)}}}}var em="suppressHydrationWarning",tm="$",nm="/$",cp="$?",fp="$!",xw="style",Hg=null,Pg=null;function Tw(e){var t,i,a=e.nodeType;switch(a){case Di:case sl:{t=a===Di?"#document":"#fragment";var o=e.documentElement;i=o?o.namespaceURI:ad(null,"");break}default:{var s=a===hn?e.parentNode:e,d=s.namespaceURI||null;t=s.tagName,i=ad(d,t);break}}{var y=t.toLowerCase(),g=sp(null,y);return{namespace:i,ancestorInfo:g}}}function ww(e,t,i){{var a=e,o=ad(a.namespace,t),s=sp(a.ancestorInfo,t);return{namespace:o,ancestorInfo:s}}}function V_(e){return e}function bw(e){Hg=Uo(),Pg=VT();var t=null;return Lr(!1),t}function Dw(e){IT(Pg),Lr(Hg),Hg=null,Pg=null}function kw(e,t,i,a,o){var s;{var d=a;if(up(e,null,d.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var y=""+t.children,g=sp(d.ancestorInfo,e);up(null,y,g)}s=d.namespace}var x=sw(e,t,i,s);return vp(o,x),Wg(x,t),x}function Ow(e,t){e.appendChild(t)}function Mw(e,t,i,a,o){switch(fw(e,t,i,a),t){case"button":case"input":case"select":case"textarea":return!!i.autoFocus;case"img":return!0;default:return!1}}function Lw(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,g=sp(d.ancestorInfo,t);up(null,y,g)}}return dw(e,t,i,a)}function Vg(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 _w(e,t,i,a){{var o=i;up(null,e,o.ancestorInfo)}var s=cw(e,t);return vp(a,s),s}function Nw(){var e=window.event;return e===void 0?ji:Ic(e.type)}var Ig=typeof setTimeout=="function"?setTimeout:void 0,Aw=typeof clearTimeout=="function"?clearTimeout:void 0,jg=-1,vC=typeof Promise=="function"?Promise:void 0,zw=typeof queueMicrotask=="function"?queueMicrotask:typeof vC<"u"?function(e){return vC.resolve(null).then(e).catch(Uw)}:Ig;function Uw(e){setTimeout(function(){throw e})}function Fw(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 Hw(e,t,i,a,o,s){pw(e,t,i,a,o),Wg(e,o)}function hC(e){Gs(e,"")}function Pw(e,t,i){e.nodeValue=i}function Vw(e,t){e.appendChild(t)}function Iw(e,t){var i;e.nodeType===hn?(i=e.parentNode,i.insertBefore(t,e)):(i=e,i.appendChild(t));var a=e._reactRootContainer;a==null&&i.onclick===null&&Jh(i)}function jw(e,t,i){e.insertBefore(t,i)}function Bw(e,t,i){e.nodeType===hn?e.parentNode.insertBefore(t,i):e.insertBefore(t,i)}function $w(e,t){e.removeChild(t)}function Yw(e,t){e.nodeType===hn?e.parentNode.removeChild(t):e.removeChild(t)}function Bg(e,t){var i=t,a=0;do{var o=i.nextSibling;if(e.removeChild(i),o&&o.nodeType===hn){var s=o.data;if(s===nm)if(a===0){e.removeChild(o),ln(t);return}else a--;else(s===tm||s===cp||s===fp)&&a++}i=o}while(i);ln(t)}function Qw(e,t){e.nodeType===hn?Bg(e.parentNode,t):e.nodeType===Cr&&Bg(e,t),ln(e)}function Ww(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function Gw(e){e.nodeValue=""}function Kw(e,t){e=e;var i=t[xw],a=i!=null&&i.hasOwnProperty("display")?i.display:null;e.style.display=Ks("display",a)}function Xw(e,t){e.nodeValue=t}function qw(e){e.nodeType===Cr?e.textContent="":e.nodeType===Di&&e.documentElement&&e.removeChild(e.documentElement)}function Zw(e,t,i){return e.nodeType!==Cr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function Jw(e,t){return t===""||e.nodeType!==ra?null:e}function eb(e){return e.nodeType!==hn?null:e}function mC(e){return e.data===cp}function $g(e){return e.data===fp}function tb(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 nb(e,t){e._reactRetry=t}function rm(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Cr||t===ra)break;if(t===hn){var i=e.data;if(i===tm||i===fp||i===cp)break;if(i===nm)return null}}return e}function dp(e){return rm(e.nextSibling)}function rb(e){return rm(e.firstChild)}function ib(e){return rm(e.firstChild)}function ab(e){return rm(e.nextSibling)}function lb(e,t,i,a,o,s,d){vp(s,e),Wg(e,i);var y;{var g=o;y=g.namespace}var x=(s.mode&je)!==Pe;return hw(e,t,i,y,a,x,d)}function ob(e,t,i,a){return vp(i,e),i.mode&je,mw(e,t)}function ub(e,t){vp(t,e)}function sb(e){for(var t=e.nextSibling,i=0;t;){if(t.nodeType===hn){var a=t.data;if(a===nm){if(i===0)return dp(t);i--}else(a===tm||a===fp||a===cp)&&i++}t=t.nextSibling}return null}function yC(e){for(var t=e.previousSibling,i=0;t;){if(t.nodeType===hn){var a=t.data;if(a===tm||a===fp||a===cp){if(i===0)return t;i--}else a===nm&&i++}t=t.previousSibling}return null}function cb(e){ln(e)}function fb(e){ln(e)}function db(e){return e!=="head"&&e!=="body"}function pb(e,t,i,a){var o=!0;Zh(t.nodeValue,i,a,o)}function vb(e,t,i,a,o,s){if(t[em]!==!0){var d=!0;Zh(a.nodeValue,o,s,d)}}function hb(e,t){t.nodeType===Cr?Ag(e,t):t.nodeType===hn||zg(e,t)}function mb(e,t){{var i=e.parentNode;i!==null&&(t.nodeType===Cr?Ag(i,t):t.nodeType===hn||zg(i,t))}}function yb(e,t,i,a,o){(o||t[em]!==!0)&&(a.nodeType===Cr?Ag(i,a):a.nodeType===hn||zg(i,a))}function gb(e,t,i){Ug(e,t)}function Sb(e,t){Fg(e,t)}function Eb(e,t,i){{var a=e.parentNode;a!==null&&Ug(a,t)}}function Cb(e,t){{var i=e.parentNode;i!==null&&Fg(i,t)}}function Rb(e,t,i,a,o,s){(s||t[em]!==!0)&&Ug(i,a)}function xb(e,t,i,a,o){(o||t[em]!==!0)&&Fg(i,a)}function Tb(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function wb(e){ip(e)}var lf=Math.random().toString(36).slice(2),of="__reactFiber$"+lf,Yg="__reactProps$"+lf,pp="__reactContainer$"+lf,Qg="__reactEvents$"+lf,bb="__reactListeners$"+lf,Db="__reactHandles$"+lf;function kb(e){delete e[of],delete e[Yg],delete e[Qg],delete e[bb],delete e[Db]}function vp(e,t){t[of]=e}function im(e,t){t[pp]=e}function gC(e){e[pp]=null}function hp(e){return!!e[pp]}function cs(e){var t=e[of];if(t)return t;for(var i=e.parentNode;i;){if(t=i[pp]||i[of],t){var a=t.alternate;if(t.child!==null||a!==null&&a.child!==null)for(var o=yC(e);o!==null;){var s=o[of];if(s)return s;o=yC(o)}return t}e=i,i=e.parentNode}return null}function $o(e){var t=e[of]||e[pp];return t&&(t.tag===b||t.tag===L||t.tag===le||t.tag===O)?t:null}function uf(e){if(e.tag===b||e.tag===L)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function am(e){return e[Yg]||null}function Wg(e,t){e[Yg]=t}function Ob(e){var t=e[Qg];return t===void 0&&(t=e[Qg]=new Set),t}var SC={},EC=v.ReactDebugCurrentFrame;function lm(e){if(e){var t=e._owner,i=yu(e.type,e._source,t?t.type:null);EC.setExtraStackFrame(i)}else EC.setExtraStackFrame(null)}function ma(e,t,i,a,o){{var s=Function.call.bind(Vt);for(var d in e)if(s(e,d)){var y=void 0;try{if(typeof e[d]!="function"){var g=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 g.name="Invariant Violation",g}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)&&(lm(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),lm(null)),y instanceof Error&&!(y.message in SC)&&(SC[y.message]=!0,lm(o),m("Failed %s type: %s",i,y.message),lm(null))}}}var Gg=[],om;om=[];var Nl=-1;function Yo(e){return{current:e}}function _r(e,t){if(Nl<0){m("Unexpected pop.");return}t!==om[Nl]&&m("Unexpected Fiber popped."),e.current=Gg[Nl],Gg[Nl]=null,om[Nl]=null,Nl--}function Nr(e,t,i){Nl++,Gg[Nl]=e.current,om[Nl]=i,e.current=t}var Kg;Kg={};var Li={};Object.freeze(Li);var Al=Yo(Li),Ga=Yo(!1),Xg=Li;function sf(e,t,i){return i&&Ka(t)?Xg:Al.current}function CC(e,t,i){{var a=e.stateNode;a.__reactInternalMemoizedUnmaskedChildContext=t,a.__reactInternalMemoizedMaskedChildContext=i}}function cf(e,t){{var i=e.type,a=i.contextTypes;if(!a)return Li;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=at(e)||"Unknown";ma(a,s,"context",y)}return o&&CC(e,t,s),s}}function um(){return Ga.current}function Ka(e){{var t=e.childContextTypes;return t!=null}}function sm(e){_r(Ga,e),_r(Al,e)}function qg(e){_r(Ga,e),_r(Al,e)}function RC(e,t,i){{if(Al.current!==Li)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Nr(Al,t,e),Nr(Ga,i,e)}}function xC(e,t,i){{var a=e.stateNode,o=t.childContextTypes;if(typeof a.getChildContext!="function"){{var s=at(e)||"Unknown";Kg[s]||(Kg[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((at(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var g=at(e)||"Unknown";ma(o,d,"child context",g)}return vt({},i,d)}}function cm(e){{var t=e.stateNode,i=t&&t.__reactInternalMemoizedMergedChildContext||Li;return Xg=Al.current,Nr(Al,i,e),Nr(Ga,Ga.current,e),!0}}function TC(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=xC(e,t,Xg);a.__reactInternalMemoizedMergedChildContext=o,_r(Ga,e),_r(Al,e),Nr(Al,o,e),Nr(Ga,i,e)}else _r(Ga,e),Nr(Ga,i,e)}}function Mb(e){{if(!wd(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(Ka(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 Qo=0,fm=1,zl=null,Zg=!1,Jg=!1;function wC(e){zl===null?zl=[e]:zl.push(e)}function Lb(e){Zg=!0,wC(e)}function bC(){Zg&&Wo()}function Wo(){if(!Jg&&zl!==null){Jg=!0;var e=0,t=ci();try{var i=!0,a=zl;for(an(cn);e<a.length;e++){var o=a[e];do o=o(i);while(o!==null)}zl=null,Zg=!1}catch(s){throw zl!==null&&(zl=zl.slice(e+1)),lc(uc,Wo),s}finally{an(t),Jg=!1}}return null}var ff=[],df=0,dm=null,pm=0,Qi=[],Wi=0,fs=null,Ul=1,Fl="";function _b(e){return ps(),(e.flags&Rd)!==We}function Nb(e){return ps(),pm}function Ab(){var e=Fl,t=Ul,i=t&~zb(t);return i.toString(32)+e}function ds(e,t){ps(),ff[df++]=pm,ff[df++]=dm,dm=e,pm=t}function DC(e,t,i){ps(),Qi[Wi++]=Ul,Qi[Wi++]=Fl,Qi[Wi++]=fs,fs=e;var a=Ul,o=Fl,s=vm(a)-1,d=a&~(1<<s),y=i+1,g=vm(t)+s;if(g>30){var x=s-s%5,T=(1<<x)-1,z=(d&T).toString(32),N=d>>x,Y=s-x,K=vm(t)+Y,q=y<<Y,Te=q|N,Ke=z+o;Ul=1<<K|Te,Fl=Ke}else{var Be=y<<s,St=Be|d,mt=o;Ul=1<<g|St,Fl=mt}}function e0(e){ps();var t=e.return;if(t!==null){var i=1,a=0;ds(e,i),DC(e,i,a)}}function vm(e){return 32-So(e)}function zb(e){return 1<<vm(e)-1}function t0(e){for(;e===dm;)dm=ff[--df],ff[df]=null,pm=ff[--df],ff[df]=null;for(;e===fs;)fs=Qi[--Wi],Qi[Wi]=null,Fl=Qi[--Wi],Qi[Wi]=null,Ul=Qi[--Wi],Qi[Wi]=null}function Ub(){return ps(),fs!==null?{id:Ul,overflow:Fl}:null}function Fb(e,t){ps(),Qi[Wi++]=Ul,Qi[Wi++]=Fl,Qi[Wi++]=fs,Ul=t.id,Fl=t.overflow,fs=e}function ps(){sr()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var ur=null,Gi=null,ya=!1,vs=!1,Go=null;function Hb(){ya&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function kC(){vs=!0}function Pb(){return vs}function Vb(e){var t=e.stateNode.containerInfo;return Gi=ib(t),ur=e,ya=!0,Go=null,vs=!1,!0}function Ib(e,t,i){return Gi=ab(t),ur=e,ya=!0,Go=null,vs=!1,i!==null&&Fb(e,i),!0}function OC(e,t){switch(e.tag){case O:{hb(e.stateNode.containerInfo,t);break}case b:{var i=(e.mode&je)!==Pe;yb(e.type,e.memoizedProps,e.stateNode,t,i);break}case le:{var a=e.memoizedState;a.dehydrated!==null&&mb(a.dehydrated,t);break}}}function MC(e,t){OC(e,t);var i=YO();i.stateNode=t,i.return=e;var a=e.deletions;a===null?(e.deletions=[i],e.flags|=Dt):a.push(i)}function n0(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,gb(i,a);break;case L:var o=t.pendingProps;Sb(i,o);break}break}case b:{var s=e.type,d=e.memoizedProps,y=e.stateNode;switch(t.tag){case b:{var g=t.type,x=t.pendingProps,T=(e.mode&je)!==Pe;Rb(s,d,y,g,x,T);break}case L:{var z=t.pendingProps,N=(e.mode&je)!==Pe;xb(s,d,y,z,N);break}}break}case le:{var Y=e.memoizedState,K=Y.dehydrated;if(K!==null)switch(t.tag){case b:var q=t.type;t.pendingProps,Eb(K,q);break;case L:var Te=t.pendingProps;Cb(K,Te);break}break}default:return}}}function LC(e,t){t.flags=t.flags&~ii|jt,n0(e,t)}function _C(e,t){switch(e.tag){case b:{var i=e.type;e.pendingProps;var a=Zw(t,i);return a!==null?(e.stateNode=a,ur=e,Gi=rb(a),!0):!1}case L:{var o=e.pendingProps,s=Jw(t,o);return s!==null?(e.stateNode=s,ur=e,Gi=null,!0):!1}case le:{var d=eb(t);if(d!==null){var y={dehydrated:d,treeContext:Ub(),retryLane:rr};e.memoizedState=y;var g=QO(d);return g.return=e,e.child=g,ur=e,Gi=null,!0}return!1}default:return!1}}function r0(e){return(e.mode&je)!==Pe&&(e.flags&et)===We}function i0(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function a0(e){if(ya){var t=Gi;if(!t){r0(e)&&(n0(ur,e),i0()),LC(ur,e),ya=!1,ur=e;return}var i=t;if(!_C(e,t)){r0(e)&&(n0(ur,e),i0()),t=dp(i);var a=ur;if(!t||!_C(e,t)){LC(ur,e),ya=!1,ur=e;return}MC(a,i)}}}function jb(e,t,i){var a=e.stateNode,o=!vs,s=lb(a,e.type,e.memoizedProps,t,i,e,o);return e.updateQueue=s,s!==null}function Bb(e){var t=e.stateNode,i=e.memoizedProps,a=ob(t,i,e);if(a){var o=ur;if(o!==null)switch(o.tag){case O:{var s=o.stateNode.containerInfo,d=(o.mode&je)!==Pe;pb(s,t,i,d);break}case b:{var y=o.type,g=o.memoizedProps,x=o.stateNode,T=(o.mode&je)!==Pe;vb(y,g,x,t,i,T);break}}}return a}function $b(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.");ub(i,e)}function Yb(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 sb(i)}function NC(e){for(var t=e.return;t!==null&&t.tag!==b&&t.tag!==O&&t.tag!==le;)t=t.return;ur=t}function hm(e){if(e!==ur)return!1;if(!ya)return NC(e),ya=!0,!1;if(e.tag!==O&&(e.tag!==b||db(e.type)&&!Vg(e.type,e.memoizedProps))){var t=Gi;if(t)if(r0(e))AC(e),i0();else for(;t;)MC(e,t),t=dp(t)}return NC(e),e.tag===le?Gi=Yb(e):Gi=ur?dp(e.stateNode):null,!0}function Qb(){return ya&&Gi!==null}function AC(e){for(var t=Gi;t;)OC(e,t),t=dp(t)}function pf(){ur=null,Gi=null,ya=!1,vs=!1}function zC(){Go!==null&&(kR(Go),Go=null)}function sr(){return ya}function l0(e){Go===null?Go=[e]:Go.push(e)}var Wb=v.ReactCurrentBatchConfig,Gb=null;function Kb(){return Wb.transition}var ga={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var Xb=function(e){for(var t=null,i=e;i!==null;)i.mode&ft&&(t=i),i=i.return;return t},hs=function(e){var t=[];return e.forEach(function(i){t.push(i)}),t.sort().join(", ")},mp=[],yp=[],gp=[],Sp=[],Ep=[],Cp=[],ms=new Set;ga.recordUnsafeLifecycleWarnings=function(e,t){ms.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&mp.push(e),e.mode&ft&&typeof t.UNSAFE_componentWillMount=="function"&&yp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&gp.push(e),e.mode&ft&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Sp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Ep.push(e),e.mode&ft&&typeof t.UNSAFE_componentWillUpdate=="function"&&Cp.push(e))},ga.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;mp.length>0&&(mp.forEach(function(N){e.add(at(N)||"Component"),ms.add(N.type)}),mp=[]);var t=new Set;yp.length>0&&(yp.forEach(function(N){t.add(at(N)||"Component"),ms.add(N.type)}),yp=[]);var i=new Set;gp.length>0&&(gp.forEach(function(N){i.add(at(N)||"Component"),ms.add(N.type)}),gp=[]);var a=new Set;Sp.length>0&&(Sp.forEach(function(N){a.add(at(N)||"Component"),ms.add(N.type)}),Sp=[]);var o=new Set;Ep.length>0&&(Ep.forEach(function(N){o.add(at(N)||"Component"),ms.add(N.type)}),Ep=[]);var s=new Set;if(Cp.length>0&&(Cp.forEach(function(N){s.add(at(N)||"Component"),ms.add(N.type)}),Cp=[]),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 g=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`,g)}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 mm=new Map,UC=new Set;ga.recordLegacyContextWarning=function(e,t){var i=Xb(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(!UC.has(e.type)){var a=mm.get(i);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],mm.set(i,a)),a.push(e))}},ga.flushLegacyContextWarning=function(){mm.forEach(function(e,t){if(e.length!==0){var i=e[0],a=new Set;e.forEach(function(s){a.add(at(s)||"Component"),UC.add(s.type)});var o=hs(a);try{Nt(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{Cn()}}})},ga.discardPendingWarnings=function(){mp=[],yp=[],gp=[],Sp=[],Ep=[],Cp=[],mm=new Map}}var o0,u0,s0,c0,f0,FC=function(e,t){};o0=!1,u0=!1,s0={},c0={},f0={},FC=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=at(t)||"Component";c0[i]||(c0[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 qb(e){return e.prototype&&e.prototype.isReactComponent}function Rp(e,t,i){var a=i.ref;if(a!==null&&typeof a!="function"&&typeof a!="object"){if((e.mode&ft||Ut)&&!(i._owner&&i._self&&i._owner.stateNode!==i._self)&&!(i._owner&&i._owner.tag!==w)&&!(typeof i.type=="function"&&!qb(i.type))&&i._owner){var o=at(e)||"Component";s0[o]||(m('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',o,a),s0[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 g=d;ot(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=g.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:
|
|
100
|
-
1. You may be adding a ref to a function component
|
|
101
|
-
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
102
|
-
3. You have multiple copies of React loaded
|
|
103
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return a}function ym(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 gm(e){{var t=at(e)||"Component";if(f0[t])return;f0[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 HC(e){var t=e._payload,i=e._init;return i(t)}function PC(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|=Rd,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=lE(j,I.mode,he);return ke.return=I,ke}else{var we=o(Z,j);return we.return=I,we}}function g(I,Z,j,he){var ke=j.type;if(ke===Ji)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===lr&&HC(ke)===Z.type)){var we=o(Z,j.props);return we.ref=Rp(I,Z,j),we.return=I,we._debugSource=j._source,we._debugOwner=j._owner,we}var Je=aE(j,I.mode,he);return Je.ref=Rp(I,Z,j),Je.return=I,Je}function x(I,Z,j,he){if(Z===null||Z.tag!==U||Z.stateNode.containerInfo!==j.containerInfo||Z.stateNode.implementation!==j.implementation){var ke=oE(j,I.mode,he);return ke.return=I,ke}else{var we=o(Z,j.children||[]);return we.return=I,we}}function T(I,Z,j,he,ke){if(Z===null||Z.tag!==P){var we=au(j,I.mode,he,ke);return we.return=I,we}else{var Je=o(Z,j);return Je.return=I,Je}}function z(I,Z,j){if(typeof Z=="string"&&Z!==""||typeof Z=="number"){var he=lE(""+Z,I.mode,j);return he.return=I,he}if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case Xl:{var ke=aE(Z,I.mode,j);return ke.ref=Rp(I,null,Z),ke.return=I,ke}case xi:{var we=oE(Z,I.mode,j);return we.return=I,we}case lr:{var Je=Z._payload,it=Z._init;return z(I,it(Je),j)}}if(Mn(Z)||ea(Z)){var zt=au(Z,I.mode,j,null);return zt.return=I,zt}ym(I,Z)}return typeof Z=="function"&&gm(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 Xl:return j.key===ke?g(I,Z,j,he):null;case xi:return j.key===ke?x(I,Z,j,he):null;case lr:{var we=j._payload,Je=j._init;return N(I,Z,Je(we),he)}}if(Mn(j)||ea(j))return ke!==null?null:T(I,Z,j,he,null);ym(I,j)}return typeof j=="function"&&gm(I),null}function Y(I,Z,j,he,ke){if(typeof he=="string"&&he!==""||typeof he=="number"){var we=I.get(j)||null;return y(Z,we,""+he,ke)}if(typeof he=="object"&&he!==null){switch(he.$$typeof){case Xl:{var Je=I.get(he.key===null?j:he.key)||null;return g(Z,Je,he,ke)}case xi:{var it=I.get(he.key===null?j:he.key)||null;return x(Z,it,he,ke)}case lr:var zt=he._payload,xt=he._init;return Y(I,Z,j,xt(zt),ke)}if(Mn(he)||ea(he)){var Dn=I.get(j)||null;return T(Z,Dn,he,ke,null)}ym(Z,he)}return typeof he=="function"&&gm(Z),null}function K(I,Z,j){{if(typeof I!="object"||I===null)return Z;switch(I.$$typeof){case Xl:case xi:FC(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 lr:var ke=I._payload,we=I._init;K(we(ke),Z,j);break}}return Z}function q(I,Z,j,he){for(var ke=null,we=0;we<j.length;we++){var Je=j[we];ke=K(Je,ke,I)}for(var it=null,zt=null,xt=Z,Dn=0,Tt=0,gn=null;xt!==null&&Tt<j.length;Tt++){xt.index>Tt?(gn=xt,xt=null):gn=xt.sibling;var zr=N(I,xt,j[Tt],he);if(zr===null){xt===null&&(xt=gn);break}e&&xt&&zr.alternate===null&&t(I,xt),Dn=s(zr,Dn,Tt),zt===null?it=zr:zt.sibling=zr,zt=zr,xt=gn}if(Tt===j.length){if(i(I,xt),sr()){var mr=Tt;ds(I,mr)}return it}if(xt===null){for(;Tt<j.length;Tt++){var Ni=z(I,j[Tt],he);Ni!==null&&(Dn=s(Ni,Dn,Tt),zt===null?it=Ni:zt.sibling=Ni,zt=Ni)}if(sr()){var Kr=Tt;ds(I,Kr)}return it}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),Dn=s(Ur,Dn,Tt),zt===null?it=Ur:zt.sibling=Ur,zt=Ur)}if(e&&Xr.forEach(function(_f){return t(I,_f)}),sr()){var $l=Tt;ds(I,$l)}return it}function Te(I,Z,j,he){var ke=ea(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"&&(u0||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."),u0=!0),j.entries===ke&&(o0||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),o0=!0);var we=ke.call(j);if(we)for(var Je=null,it=we.next();!it.done;it=we.next()){var zt=it.value;Je=K(zt,Je,I)}}var xt=ke.call(j);if(xt==null)throw new Error("An iterable object provided no iterator.");for(var Dn=null,Tt=null,gn=Z,zr=0,mr=0,Ni=null,Kr=xt.next();gn!==null&&!Kr.done;mr++,Kr=xt.next()){gn.index>mr?(Ni=gn,gn=null):Ni=gn.sibling;var Xr=N(I,gn,Kr.value,he);if(Xr===null){gn===null&&(gn=Ni);break}e&&gn&&Xr.alternate===null&&t(I,gn),zr=s(Xr,zr,mr),Tt===null?Dn=Xr:Tt.sibling=Xr,Tt=Xr,gn=Ni}if(Kr.done){if(i(I,gn),sr()){var Ur=mr;ds(I,Ur)}return Dn}if(gn===null){for(;!Kr.done;mr++,Kr=xt.next()){var $l=z(I,Kr.value,he);$l!==null&&(zr=s($l,zr,mr),Tt===null?Dn=$l:Tt.sibling=$l,Tt=$l)}if(sr()){var _f=mr;ds(I,_f)}return Dn}for(var ev=a(I,gn);!Kr.done;mr++,Kr=xt.next()){var rl=Y(ev,I,mr,Kr.value,he);rl!==null&&(e&&rl.alternate!==null&&ev.delete(rl.key===null?mr:rl.key),zr=s(rl,zr,mr),Tt===null?Dn=rl:Tt.sibling=rl,Tt=rl)}if(e&&ev.forEach(function(xM){return t(I,xM)}),sr()){var RM=mr;ds(I,RM)}return Dn}function Ke(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 we=lE(j,I.mode,he);return we.return=I,we}function Be(I,Z,j,he){for(var ke=j.key,we=Z;we!==null;){if(we.key===ke){var Je=j.type;if(Je===Ji){if(we.tag===P){i(I,we.sibling);var it=o(we,j.props.children);return it.return=I,it._debugSource=j._source,it._debugOwner=j._owner,it}}else if(we.elementType===Je||$R(we,j)||typeof Je=="object"&&Je!==null&&Je.$$typeof===lr&&HC(Je)===we.type){i(I,we.sibling);var zt=o(we,j.props);return zt.ref=Rp(I,we,j),zt.return=I,zt._debugSource=j._source,zt._debugOwner=j._owner,zt}i(I,we);break}else t(I,we);we=we.sibling}if(j.type===Ji){var xt=au(j.props.children,I.mode,he,j.key);return xt.return=I,xt}else{var Dn=aE(j,I.mode,he);return Dn.ref=Rp(I,Z,j),Dn.return=I,Dn}}function St(I,Z,j,he){for(var ke=j.key,we=Z;we!==null;){if(we.key===ke)if(we.tag===U&&we.stateNode.containerInfo===j.containerInfo&&we.stateNode.implementation===j.implementation){i(I,we.sibling);var Je=o(we,j.children||[]);return Je.return=I,Je}else{i(I,we);break}else t(I,we);we=we.sibling}var it=oE(j,I.mode,he);return it.return=I,it}function mt(I,Z,j,he){var ke=typeof j=="object"&&j!==null&&j.type===Ji&&j.key===null;if(ke&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case Xl:return d(Be(I,Z,j,he));case xi:return d(St(I,Z,j,he));case lr:var we=j._payload,Je=j._init;return mt(I,Z,Je(we),he)}if(Mn(j))return q(I,Z,j,he);if(ea(j))return Te(I,Z,j,he);ym(I,j)}return typeof j=="string"&&j!==""||typeof j=="number"?d(Ke(I,Z,""+j,he)):(typeof j=="function"&&gm(I),i(I,Z))}return mt}var vf=PC(!0),VC=PC(!1);function Zb(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 Jb(e,t){for(var i=e.child;i!==null;)VO(i,t),i=i.sibling}var d0=Yo(null),p0;p0={};var Sm=null,hf=null,v0=null,Em=!1;function Cm(){Sm=null,hf=null,v0=null,Em=!1}function IC(){Em=!0}function jC(){Em=!1}function BC(e,t,i){Nr(d0,t._currentValue,e),t._currentValue=i,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==p0&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=p0}function h0(e,t){var i=d0.current;_r(d0,t),e._currentValue=i}function m0(e,t,i){for(var a=e;a!==null;){var o=a.alternate;if(wl(a.childLanes,t)?o!==null&&!wl(o.childLanes,t)&&(o.childLanes=lt(o.childLanes,t)):(a.childLanes=lt(a.childLanes,t),o!==null&&(o.childLanes=lt(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 eD(e,t,i){tD(e,t,i)}function tD(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=bo(i),g=Hl(It,y);g.tag=xm;var x=a.updateQueue;if(x!==null){var T=x.shared,z=T.pending;z===null?g.next=g:(g.next=z.next,z.next=g),T.pending=g}}a.lanes=lt(a.lanes,i);var N=a.alternate;N!==null&&(N.lanes=lt(N.lanes,i)),m0(a.return,i,e),s.lanes=lt(s.lanes,i);break}d=d.next}}else if(a.tag===oe)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=lt(Y.lanes,i);var K=Y.alternate;K!==null&&(K.lanes=lt(K.lanes,i)),m0(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 mf(e,t){Sm=e,hf=null,v0=null;var i=e.dependencies;if(i!==null){var a=i.firstContext;a!==null&&(Mr(i.lanes,t)&&Fp(),i.firstContext=null)}}function Un(e){Em&&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(v0!==e){var i={context:e,memoizedValue:t,next:null};if(hf===null){if(Sm===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().");hf=i,Sm.dependencies={lanes:ie,firstContext:i}}else hf=hf.next=i}return t}var ys=null;function y0(e){ys===null?ys=[e]:ys.push(e)}function nD(){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 $C(e,t,i,a){var o=t.interleaved;return o===null?(i.next=i,y0(t)):(i.next=o.next,o.next=i),t.interleaved=i,Rm(e,a)}function rD(e,t,i,a){var o=t.interleaved;o===null?(i.next=i,y0(t)):(i.next=o.next,o.next=i),t.interleaved=i}function iD(e,t,i,a){var o=t.interleaved;return o===null?(i.next=i,y0(t)):(i.next=o.next,o.next=i),t.interleaved=i,Rm(e,a)}function mi(e,t){return Rm(e,t)}var aD=Rm;function Rm(e,t){e.lanes=lt(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=lt(i.lanes,t)),i===null&&(e.flags&(jt|ii))!==We&&VR(e);for(var a=e,o=e.return;o!==null;)o.childLanes=lt(o.childLanes,t),i=o.alternate,i!==null?i.childLanes=lt(i.childLanes,t):(o.flags&(jt|ii))!==We&&VR(e),a=o,o=o.return;if(a.tag===O){var s=a.stateNode;return s}else return null}var YC=0,QC=1,xm=2,g0=3,Tm=!1,S0,wm;S0=!1,wm=null;function E0(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ie},effects:null};e.updateQueue=t}function WC(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 Hl(e,t){var i={eventTime:e,lane:t,tag:YC,payload:null,callback:null,next:null};return i}function Ko(e,t,i){var a=e.updateQueue;if(a===null)return null;var o=a.shared;if(wm===o&&!S0&&(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."),S0=!0),rO()){var s=o.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),o.pending=t,aD(e,i)}else return iD(e,o,t,i)}function bm(e,t,i){var a=t.updateQueue;if(a!==null){var o=a.shared;if(Fd(i)){var s=o.lanes;s=_c(s,e.pendingLanes);var d=lt(s,i);o.lanes=d,Hd(e,d)}}}function C0(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 g=y;do{var x={eventTime:g.eventTime,lane:g.lane,tag:g.tag,payload:g.payload,callback:g.callback,next:null};d===null?s=d=x:(d.next=x,d=x),g=g.next}while(g!==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 lD(e,t,i,a,o,s){switch(i.tag){case QC:{var d=i.payload;if(typeof d=="function"){IC();var y=d.call(s,a,o);{if(e.mode&ft){mn(!0);try{d.call(s,a,o)}finally{mn(!1)}}jC()}return y}return d}case g0:e.flags=e.flags&~_n|et;case YC:{var g=i.payload,x;if(typeof g=="function"){IC(),x=g.call(s,a,o);{if(e.mode&ft){mn(!0);try{g.call(s,a,o)}finally{mn(!1)}}jC()}}else x=g;return x==null?a:vt({},a,x)}case xm:return Tm=!0,a}return a}function Dm(e,t,i,a){var o=e.updateQueue;Tm=!1,wm=o.shared;var s=o.firstBaseUpdate,d=o.lastBaseUpdate,y=o.shared.pending;if(y!==null){o.shared.pending=null;var g=y,x=g.next;g.next=null,d===null?s=x:d.next=x,d=g;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=g)}}if(s!==null){var Y=o.baseState,K=ie,q=null,Te=null,Ke=null,Be=s;do{var St=Be.lane,mt=Be.eventTime;if(wl(a,St)){if(Ke!==null){var Z={eventTime:mt,lane:yn,tag:Be.tag,payload:Be.payload,callback:Be.callback,next:null};Ke=Ke.next=Z}Y=lD(e,o,Be,Y,t,i);var j=Be.callback;if(j!==null&&Be.lane!==yn){e.flags|=Vi;var he=o.effects;he===null?o.effects=[Be]:he.push(Be)}}else{var I={eventTime:mt,lane:St,tag:Be.tag,payload:Be.payload,callback:Be.callback,next:null};Ke===null?(Te=Ke=I,q=Y):Ke=Ke.next=I,K=lt(K,St)}if(Be=Be.next,Be===null){if(y=o.shared.pending,y===null)break;var ke=y,we=ke.next;ke.next=null,Be=we,o.lastBaseUpdate=ke,o.shared.pending=null}}while(!0);Ke===null&&(q=Y),o.baseState=q,o.firstBaseUpdate=Te,o.lastBaseUpdate=Ke;var Je=o.shared.interleaved;if(Je!==null){var it=Je;do K=lt(K,it.lane),it=it.next;while(it!==Je)}else s===null&&(o.shared.lanes=ie);Kp(K),e.lanes=K,e.memoizedState=Y}wm=null}function oD(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function GC(){Tm=!1}function km(){return Tm}function KC(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,oD(d,i))}}var xp={},Xo=Yo(xp),Tp=Yo(xp),Om=Yo(xp);function Mm(e){if(e===xp)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 XC(){var e=Mm(Om.current);return e}function R0(e,t){Nr(Om,t,e),Nr(Tp,e,e),Nr(Xo,xp,e);var i=Tw(t);_r(Xo,e),Nr(Xo,i,e)}function yf(e){_r(Xo,e),_r(Tp,e),_r(Om,e)}function x0(){var e=Mm(Xo.current);return e}function qC(e){Mm(Om.current);var t=Mm(Xo.current),i=ww(t,e.type);t!==i&&(Nr(Tp,e,e),Nr(Xo,i,e))}function T0(e){Tp.current===e&&(_r(Xo,e),_r(Tp,e))}var uD=0,ZC=1,JC=1,wp=2,Sa=Yo(uD);function w0(e,t){return(e&t)!==0}function gf(e){return e&ZC}function b0(e,t){return e&ZC|t}function sD(e,t){return e|t}function qo(e,t){Nr(Sa,t,e)}function Sf(e){_r(Sa,e)}function cD(e,t){var i=e.memoizedState;return i!==null?i.dehydrated!==null:(e.memoizedProps,!0)}function Lm(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||mC(a)||$g(a))return t}}else if(t.tag===Se&&t.memoizedProps.revealOrder!==void 0){var o=(t.flags&et)!==We;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 yi=0,Yn=1,Xa=2,Qn=4,cr=8,D0=[];function k0(){for(var e=0;e<D0.length;e++){var t=D0[e];t._workInProgressVersionPrimary=null}D0.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 De=v.ReactCurrentDispatcher,bp=v.ReactCurrentBatchConfig,O0,Ef;O0=new Set;var gs=ie,At=null,Wn=null,Gn=null,_m=!1,Dp=!1,kp=0,dD=0,pD=25,ee=null,Ki=null,Zo=-1,M0=!1;function Ot(){{var e=ee;Ki===null?Ki=[e]:Ki.push(e)}}function xe(){{var e=ee;Ki!==null&&(Zo++,Ki[Zo]!==e&&vD(e))}}function Cf(e){e!=null&&!Mn(e)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ee,typeof e)}function vD(e){{var t=at(At);if(!O0.has(t)&&(O0.add(t),Ki!==null)){for(var i="",a=30,o=0;o<=Zo;o++){for(var s=Ki[o],d=o===Zo?e:s,y=o+1+". "+s;y.length<a;)y+=" ";y+=d+`
|
|
104
|
-
`,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
|
|
105
|
-
|
|
106
|
-
Previous render Next render
|
|
107
|
-
------------------------------------------------------
|
|
108
|
-
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
109
|
-
`,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:
|
|
110
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
111
|
-
2. You might be breaking the Rules of Hooks
|
|
112
|
-
3. You might have more than one copy of React in the same app
|
|
113
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function L0(e,t){if(M0)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.",ee),!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.
|
|
114
|
-
|
|
115
|
-
Previous: %s
|
|
116
|
-
Incoming: %s`,ee,"["+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 Rf(e,t,i,a,o,s){gs=s,At=t,Ki=e!==null?e._debugHookTypes:null,Zo=-1,M0=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ie,e!==null&&e.memoizedState!==null?De.current=C1:Ki!==null?De.current=E1:De.current=S1;var d=i(a,o);if(Dp){var y=0;do{if(Dp=!1,kp=0,y>=pD)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");y+=1,M0=!1,Wn=null,Gn=null,t.updateQueue=null,Zo=-1,De.current=R1,d=i(a,o)}while(Dp)}De.current=Ym,t._debugHookTypes=Ki;var g=Wn!==null&&Wn.next!==null;if(gs=ie,At=null,Wn=null,Gn=null,ee=null,Ki=null,Zo=-1,e!==null&&(e.flags&jn)!==(t.flags&jn)&&(e.mode&je)!==Pe&&m("Internal React error: Expected static flag was missing. Please notify the React team."),_m=!1,g)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return d}function xf(){var e=kp!==0;return kp=0,e}function e1(e,t,i){t.updateQueue=e.updateQueue,(t.mode&$r)!==Pe?t.flags&=~(ml|Tr|Wt|ut):t.flags&=~(Wt|ut),e.lanes=Ku(e.lanes,i)}function t1(){if(De.current=Ym,_m){for(var e=At.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}_m=!1}gs=ie,At=null,Wn=null,Gn=null,Ki=null,Zo=-1,ee=null,v1=!1,Dp=!1,kp=0}function qa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gn===null?At.memoizedState=Gn=e:Gn=Gn.next=e,Gn}function Xi(){var e;if(Wn===null){var t=At.alternate;t!==null?e=t.memoizedState:e=null}else e=Wn.next;var i;if(Gn===null?i=At.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?At.memoizedState=Gn=a:Gn=Gn.next=a}return Gn}function n1(){return{lastEffect:null,stores:null}}function _0(e,t){return typeof t=="function"?t(e):t}function N0(e,t,i){var a=qa(),o;i!==void 0?o=i(t):o=t,a.memoizedState=a.baseState=o;var s={pending:null,interleaved:null,lanes:ie,dispatch:null,lastRenderedReducer:e,lastRenderedState:o};a.queue=s;var d=s.dispatch=gD.bind(null,At,s);return[a.memoizedState,d]}function A0(e,t,i){var a=Xi(),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 g=d.next,x=y.next;d.next=x,y.next=g}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,K=null,q=T;do{var Te=q.lane;if(wl(gs,Te)){if(K!==null){var Be={lane:yn,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null};K=K.next=Be}if(q.hasEagerState)z=q.eagerState;else{var St=q.action;z=e(z,St)}}else{var Ke={lane:Te,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null};K===null?(Y=K=Ke,N=z):K=K.next=Ke,At.lanes=lt(At.lanes,Te),Kp(Te)}q=q.next}while(q!==null&&q!==T);K===null?N=z:K.next=Y,Ne(z,a.memoizedState)||Fp(),a.memoizedState=z,a.baseState=N,a.baseQueue=K,o.lastRenderedState=z}var mt=o.interleaved;if(mt!==null){var I=mt;do{var Z=I.lane;At.lanes=lt(At.lanes,Z),Kp(Z),I=I.next}while(I!==mt)}else d===null&&(o.lanes=ie);var j=o.dispatch;return[a.memoizedState,j]}function z0(e,t,i){var a=Xi(),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 g=d.next,x=g;do{var T=x.action;y=e(y,T),x=x.next}while(x!==g);Ne(y,a.memoizedState)||Fp(),a.memoizedState=y,a.baseQueue===null&&(a.baseState=y),o.lastRenderedState=y}return[y,s]}function I_(e,t,i){}function j_(e,t,i){}function U0(e,t,i){var a=At,o=qa(),s,d=sr();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(),Ef||s!==i()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),Ef=!0)}else{if(s=t(),!Ef){var y=t();Ne(s,y)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),Ef=!0)}var g=cy();if(g===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Gu(g,gs)||r1(a,t,s)}o.memoizedState=s;var x={value:s,getSnapshot:t};return o.queue=x,Fm(a1.bind(null,a,x,e),[e]),a.flags|=Wt,Op(Yn|cr,i1.bind(null,a,x,s,t),void 0,null),s}function Nm(e,t,i){var a=At,o=Xi(),s=t();if(!Ef){var d=t();Ne(s,d)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),Ef=!0)}var y=o.memoizedState,g=!Ne(y,s);g&&(o.memoizedState=s,Fp());var x=o.queue;if(Lp(a1.bind(null,a,x,e),[e]),x.getSnapshot!==t||g||Gn!==null&&Gn.memoizedState.tag&Yn){a.flags|=Wt,Op(Yn|cr,i1.bind(null,a,x,s,t),void 0,null);var T=cy();if(T===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Gu(T,gs)||r1(a,t,s)}return s}function r1(e,t,i){e.flags|=Hu;var a={getSnapshot:t,value:i},o=At.updateQueue;if(o===null)o=n1(),At.updateQueue=o,o.stores=[a];else{var s=o.stores;s===null?o.stores=[a]:s.push(a)}}function i1(e,t,i,a){t.value=i,t.getSnapshot=a,l1(t)&&o1(e)}function a1(e,t,i){var a=function(){l1(t)&&o1(e)};return i(a)}function l1(e){var t=e.getSnapshot,i=e.value;try{var a=t();return!Ne(i,a)}catch{return!0}}function o1(e){var t=mi(e,Ye);t!==null&&Zn(t,e,Ye,It)}function Am(e){var t=qa();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var i={pending:null,interleaved:null,lanes:ie,dispatch:null,lastRenderedReducer:_0,lastRenderedState:e};t.queue=i;var a=i.dispatch=SD.bind(null,At,i);return[t.memoizedState,a]}function F0(e){return A0(_0)}function H0(e){return z0(_0)}function Op(e,t,i,a){var o={tag:e,create:t,destroy:i,deps:a,next:null},s=At.updateQueue;if(s===null)s=n1(),At.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 P0(e){var t=qa();{var i={current:e};return t.memoizedState=i,i}}function zm(e){var t=Xi();return t.memoizedState}function Mp(e,t,i,a){var o=qa(),s=a===void 0?null:a;At.flags|=e,o.memoizedState=Op(Yn|t,i,void 0,s)}function Um(e,t,i,a){var o=Xi(),s=a===void 0?null:a,d=void 0;if(Wn!==null){var y=Wn.memoizedState;if(d=y.destroy,s!==null){var g=y.deps;if(L0(s,g)){o.memoizedState=Op(t,i,d,s);return}}}At.flags|=e,o.memoizedState=Op(Yn|t,i,d,s)}function Fm(e,t){return(At.mode&$r)!==Pe?Mp(ml|Wt|Ha,cr,e,t):Mp(Wt|Ha,cr,e,t)}function Lp(e,t){return Um(Wt,cr,e,t)}function V0(e,t){return Mp(ut,Xa,e,t)}function Hm(e,t){return Um(ut,Xa,e,t)}function I0(e,t){var i=ut;return i|=xr,(At.mode&$r)!==Pe&&(i|=Tr),Mp(i,Qn,e,t)}function Pm(e,t){return Um(ut,Qn,e,t)}function u1(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=ut;return o|=xr,(At.mode&$r)!==Pe&&(o|=Tr),Mp(o,Qn,u1.bind(null,t,e),a)}function Vm(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 Um(ut,Qn,u1.bind(null,t,e),a)}function hD(e,t){}var Im=hD;function B0(e,t){var i=qa(),a=t===void 0?null:t;return i.memoizedState=[e,a],e}function jm(e,t){var i=Xi(),a=t===void 0?null:t,o=i.memoizedState;if(o!==null&&a!==null){var s=o[1];if(L0(a,s))return o[0]}return i.memoizedState=[e,a],e}function $0(e,t){var i=qa(),a=t===void 0?null:t,o=e();return i.memoizedState=[o,a],o}function Bm(e,t){var i=Xi(),a=t===void 0?null:t,o=i.memoizedState;if(o!==null&&a!==null){var s=o[1];if(L0(a,s))return o[0]}var d=e();return i.memoizedState=[d,a],d}function Y0(e){var t=qa();return t.memoizedState=e,e}function s1(e){var t=Xi(),i=Wn,a=i.memoizedState;return f1(t,a,e)}function c1(e){var t=Xi();if(Wn===null)return t.memoizedState=e,e;var i=Wn.memoizedState;return f1(t,i,e)}function f1(e,t,i){var a=!Sh(gs);if(a){if(!Ne(i,t)){var o=Rh();At.lanes=lt(At.lanes,o),Kp(o),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Fp()),e.memoizedState=i,i}function mD(e,t,i){var a=ci();an(fg(a,da)),e(!0);var o=bp.transition;bp.transition={};var s=bp.transition;bp.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(an(a),bp.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 Q0(){var e=Am(!1),t=e[0],i=e[1],a=mD.bind(null,i),o=qa();return o.memoizedState=a,[t,a]}function d1(){var e=F0(),t=e[0],i=Xi(),a=i.memoizedState;return[t,a]}function p1(){var e=H0(),t=e[0],i=Xi(),a=i.memoizedState;return[t,a]}var v1=!1;function yD(){return v1}function W0(){var e=qa(),t=cy(),i=t.identifierPrefix,a;if(sr()){var o=Ab();a=":"+i+"R"+o;var s=kp++;s>0&&(a+="H"+s.toString(32)),a+=":"}else{var d=dD++;a=":"+i+"r"+d.toString(32)+":"}return e.memoizedState=a,a}function $m(){var e=Xi(),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=ru(e),o={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(h1(e))m1(t,o);else{var s=$C(e,t,o,a);if(s!==null){var d=Gr();Zn(s,e,a,d),y1(s,t,a)}}g1(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=ru(e),o={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(h1(e))m1(t,o);else{var s=e.alternate;if(e.lanes===ie&&(s===null||s.lanes===ie)){var d=t.lastRenderedReducer;if(d!==null){var y;y=De.current,De.current=Ea;try{var g=t.lastRenderedState,x=d(g,i);if(o.hasEagerState=!0,o.eagerState=x,Ne(x,g)){rD(e,t,o,a);return}}catch{}finally{De.current=y}}}var T=$C(e,t,o,a);if(T!==null){var z=Gr();Zn(T,e,a,z),y1(T,t,a)}}g1(e,a)}function h1(e){var t=e.alternate;return e===At||t!==null&&t===At}function m1(e,t){Dp=_m=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function y1(e,t,i){if(Fd(i)){var a=t.lanes;a=_c(a,e.pendingLanes);var o=lt(a,i);t.lanes=o,Hd(e,o)}}function g1(e,t,i){ju(e,t)}var Ym={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},S1=null,E1=null,C1=null,R1=null,Za=null,Ea=null,Qm=null;{var G0=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().")},rt=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")};S1={readContext:function(e){return Un(e)},useCallback:function(e,t){return ee="useCallback",Ot(),Cf(t),B0(e,t)},useContext:function(e){return ee="useContext",Ot(),Un(e)},useEffect:function(e,t){return ee="useEffect",Ot(),Cf(t),Fm(e,t)},useImperativeHandle:function(e,t,i){return ee="useImperativeHandle",Ot(),Cf(i),j0(e,t,i)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",Ot(),Cf(t),V0(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",Ot(),Cf(t),I0(e,t)},useMemo:function(e,t){ee="useMemo",Ot(),Cf(t);var i=De.current;De.current=Za;try{return $0(e,t)}finally{De.current=i}},useReducer:function(e,t,i){ee="useReducer",Ot();var a=De.current;De.current=Za;try{return N0(e,t,i)}finally{De.current=a}},useRef:function(e){return ee="useRef",Ot(),P0(e)},useState:function(e){ee="useState",Ot();var t=De.current;De.current=Za;try{return Am(e)}finally{De.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",Ot(),void 0},useDeferredValue:function(e){return ee="useDeferredValue",Ot(),Y0(e)},useTransition:function(){return ee="useTransition",Ot(),Q0()},useMutableSource:function(e,t,i){return ee="useMutableSource",Ot(),void 0},useSyncExternalStore:function(e,t,i){return ee="useSyncExternalStore",Ot(),U0(e,t,i)},useId:function(){return ee="useId",Ot(),W0()},unstable_isNewReconciler:X},E1={readContext:function(e){return Un(e)},useCallback:function(e,t){return ee="useCallback",xe(),B0(e,t)},useContext:function(e){return ee="useContext",xe(),Un(e)},useEffect:function(e,t){return ee="useEffect",xe(),Fm(e,t)},useImperativeHandle:function(e,t,i){return ee="useImperativeHandle",xe(),j0(e,t,i)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",xe(),V0(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",xe(),I0(e,t)},useMemo:function(e,t){ee="useMemo",xe();var i=De.current;De.current=Za;try{return $0(e,t)}finally{De.current=i}},useReducer:function(e,t,i){ee="useReducer",xe();var a=De.current;De.current=Za;try{return N0(e,t,i)}finally{De.current=a}},useRef:function(e){return ee="useRef",xe(),P0(e)},useState:function(e){ee="useState",xe();var t=De.current;De.current=Za;try{return Am(e)}finally{De.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",xe(),void 0},useDeferredValue:function(e){return ee="useDeferredValue",xe(),Y0(e)},useTransition:function(){return ee="useTransition",xe(),Q0()},useMutableSource:function(e,t,i){return ee="useMutableSource",xe(),void 0},useSyncExternalStore:function(e,t,i){return ee="useSyncExternalStore",xe(),U0(e,t,i)},useId:function(){return ee="useId",xe(),W0()},unstable_isNewReconciler:X},C1={readContext:function(e){return Un(e)},useCallback:function(e,t){return ee="useCallback",xe(),jm(e,t)},useContext:function(e){return ee="useContext",xe(),Un(e)},useEffect:function(e,t){return ee="useEffect",xe(),Lp(e,t)},useImperativeHandle:function(e,t,i){return ee="useImperativeHandle",xe(),Vm(e,t,i)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",xe(),Hm(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",xe(),Pm(e,t)},useMemo:function(e,t){ee="useMemo",xe();var i=De.current;De.current=Ea;try{return Bm(e,t)}finally{De.current=i}},useReducer:function(e,t,i){ee="useReducer",xe();var a=De.current;De.current=Ea;try{return A0(e,t,i)}finally{De.current=a}},useRef:function(e){return ee="useRef",xe(),zm()},useState:function(e){ee="useState",xe();var t=De.current;De.current=Ea;try{return F0(e)}finally{De.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",xe(),Im()},useDeferredValue:function(e){return ee="useDeferredValue",xe(),s1(e)},useTransition:function(){return ee="useTransition",xe(),d1()},useMutableSource:function(e,t,i){return ee="useMutableSource",xe(),void 0},useSyncExternalStore:function(e,t,i){return ee="useSyncExternalStore",xe(),Nm(e,t)},useId:function(){return ee="useId",xe(),$m()},unstable_isNewReconciler:X},R1={readContext:function(e){return Un(e)},useCallback:function(e,t){return ee="useCallback",xe(),jm(e,t)},useContext:function(e){return ee="useContext",xe(),Un(e)},useEffect:function(e,t){return ee="useEffect",xe(),Lp(e,t)},useImperativeHandle:function(e,t,i){return ee="useImperativeHandle",xe(),Vm(e,t,i)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",xe(),Hm(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",xe(),Pm(e,t)},useMemo:function(e,t){ee="useMemo",xe();var i=De.current;De.current=Qm;try{return Bm(e,t)}finally{De.current=i}},useReducer:function(e,t,i){ee="useReducer",xe();var a=De.current;De.current=Qm;try{return z0(e,t,i)}finally{De.current=a}},useRef:function(e){return ee="useRef",xe(),zm()},useState:function(e){ee="useState",xe();var t=De.current;De.current=Qm;try{return H0(e)}finally{De.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",xe(),Im()},useDeferredValue:function(e){return ee="useDeferredValue",xe(),c1(e)},useTransition:function(){return ee="useTransition",xe(),p1()},useMutableSource:function(e,t,i){return ee="useMutableSource",xe(),void 0},useSyncExternalStore:function(e,t,i){return ee="useSyncExternalStore",xe(),Nm(e,t)},useId:function(){return ee="useId",xe(),$m()},unstable_isNewReconciler:X},Za={readContext:function(e){return G0(),Un(e)},useCallback:function(e,t){return ee="useCallback",rt(),Ot(),B0(e,t)},useContext:function(e){return ee="useContext",rt(),Ot(),Un(e)},useEffect:function(e,t){return ee="useEffect",rt(),Ot(),Fm(e,t)},useImperativeHandle:function(e,t,i){return ee="useImperativeHandle",rt(),Ot(),j0(e,t,i)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",rt(),Ot(),V0(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",rt(),Ot(),I0(e,t)},useMemo:function(e,t){ee="useMemo",rt(),Ot();var i=De.current;De.current=Za;try{return $0(e,t)}finally{De.current=i}},useReducer:function(e,t,i){ee="useReducer",rt(),Ot();var a=De.current;De.current=Za;try{return N0(e,t,i)}finally{De.current=a}},useRef:function(e){return ee="useRef",rt(),Ot(),P0(e)},useState:function(e){ee="useState",rt(),Ot();var t=De.current;De.current=Za;try{return Am(e)}finally{De.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",rt(),Ot(),void 0},useDeferredValue:function(e){return ee="useDeferredValue",rt(),Ot(),Y0(e)},useTransition:function(){return ee="useTransition",rt(),Ot(),Q0()},useMutableSource:function(e,t,i){return ee="useMutableSource",rt(),Ot(),void 0},useSyncExternalStore:function(e,t,i){return ee="useSyncExternalStore",rt(),Ot(),U0(e,t,i)},useId:function(){return ee="useId",rt(),Ot(),W0()},unstable_isNewReconciler:X},Ea={readContext:function(e){return G0(),Un(e)},useCallback:function(e,t){return ee="useCallback",rt(),xe(),jm(e,t)},useContext:function(e){return ee="useContext",rt(),xe(),Un(e)},useEffect:function(e,t){return ee="useEffect",rt(),xe(),Lp(e,t)},useImperativeHandle:function(e,t,i){return ee="useImperativeHandle",rt(),xe(),Vm(e,t,i)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",rt(),xe(),Hm(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",rt(),xe(),Pm(e,t)},useMemo:function(e,t){ee="useMemo",rt(),xe();var i=De.current;De.current=Ea;try{return Bm(e,t)}finally{De.current=i}},useReducer:function(e,t,i){ee="useReducer",rt(),xe();var a=De.current;De.current=Ea;try{return A0(e,t,i)}finally{De.current=a}},useRef:function(e){return ee="useRef",rt(),xe(),zm()},useState:function(e){ee="useState",rt(),xe();var t=De.current;De.current=Ea;try{return F0(e)}finally{De.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",rt(),xe(),Im()},useDeferredValue:function(e){return ee="useDeferredValue",rt(),xe(),s1(e)},useTransition:function(){return ee="useTransition",rt(),xe(),d1()},useMutableSource:function(e,t,i){return ee="useMutableSource",rt(),xe(),void 0},useSyncExternalStore:function(e,t,i){return ee="useSyncExternalStore",rt(),xe(),Nm(e,t)},useId:function(){return ee="useId",rt(),xe(),$m()},unstable_isNewReconciler:X},Qm={readContext:function(e){return G0(),Un(e)},useCallback:function(e,t){return ee="useCallback",rt(),xe(),jm(e,t)},useContext:function(e){return ee="useContext",rt(),xe(),Un(e)},useEffect:function(e,t){return ee="useEffect",rt(),xe(),Lp(e,t)},useImperativeHandle:function(e,t,i){return ee="useImperativeHandle",rt(),xe(),Vm(e,t,i)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",rt(),xe(),Hm(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",rt(),xe(),Pm(e,t)},useMemo:function(e,t){ee="useMemo",rt(),xe();var i=De.current;De.current=Ea;try{return Bm(e,t)}finally{De.current=i}},useReducer:function(e,t,i){ee="useReducer",rt(),xe();var a=De.current;De.current=Ea;try{return z0(e,t,i)}finally{De.current=a}},useRef:function(e){return ee="useRef",rt(),xe(),zm()},useState:function(e){ee="useState",rt(),xe();var t=De.current;De.current=Ea;try{return H0(e)}finally{De.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",rt(),xe(),Im()},useDeferredValue:function(e){return ee="useDeferredValue",rt(),xe(),c1(e)},useTransition:function(){return ee="useTransition",rt(),xe(),p1()},useMutableSource:function(e,t,i){return ee="useMutableSource",rt(),xe(),void 0},useSyncExternalStore:function(e,t,i){return ee="useSyncExternalStore",rt(),xe(),Nm(e,t)},useId:function(){return ee="useId",rt(),xe(),$m()},unstable_isNewReconciler:X}}var Jo=p.unstable_now,x1=0,Wm=-1,_p=-1,Gm=-1,K0=!1,Km=!1;function T1(){return K0}function ED(){Km=!0}function CD(){K0=!1,Km=!1}function RD(){K0=Km,Km=!1}function w1(){return x1}function b1(){x1=Jo()}function X0(e){_p=Jo(),e.actualStartTime<0&&(e.actualStartTime=Jo())}function D1(e){_p=-1}function Xm(e,t){if(_p>=0){var i=Jo()-_p;e.actualDuration+=i,t&&(e.selfBaseDuration=i),_p=-1}}function Ja(e){if(Wm>=0){var t=Jo()-Wm;Wm=-1;for(var i=e.return;i!==null;){switch(i.tag){case O:var a=i.stateNode;a.effectDuration+=t;return;case J:var o=i.stateNode;o.effectDuration+=t;return}i=i.return}}}function q0(e){if(Gm>=0){var t=Jo()-Gm;Gm=-1;for(var i=e.return;i!==null;){switch(i.tag){case O:var a=i.stateNode;a!==null&&(a.passiveEffectDuration+=t);return;case J:var o=i.stateNode;o!==null&&(o.passiveEffectDuration+=t);return}i=i.return}}}function el(){Wm=Jo()}function Z0(){Gm=Jo()}function J0(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Ca(e,t){if(e&&e.defaultProps){var i=vt({},t),a=e.defaultProps;for(var o in a)i[o]===void 0&&(i[o]=a[o]);return i}return t}var eS={},tS,nS,rS,iS,aS,k1,qm,lS,oS,uS,Np;{tS=new Set,nS=new Set,rS=new Set,iS=new Set,lS=new Set,aS=new Set,oS=new Set,uS=new Set,Np=new Set;var O1=new Set;qm=function(e,t){if(!(e===null||typeof e=="function")){var i=t+"_"+e;O1.has(i)||(O1.add(i),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},k1=function(e,t){if(t===void 0){var i=_t(e)||"Component";aS.has(i)||(aS.add(i),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",i))}},Object.defineProperty(eS,"_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(eS)}function sS(e,t,i,a){var o=e.memoizedState,s=i(a,o);{if(e.mode&ft){mn(!0);try{s=i(a,o)}finally{mn(!1)}}k1(t,s)}var d=s==null?o:vt({},o,s);if(e.memoizedState=d,e.lanes===ie){var y=e.updateQueue;y.baseState=d}}var cS={isMounted:jr,enqueueSetState:function(e,t,i){var a=ni(e),o=Gr(),s=ru(a),d=Hl(o,s);d.payload=t,i!=null&&(qm(i,"setState"),d.callback=i);var y=Ko(a,d,s);y!==null&&(Zn(y,a,s,o),bm(y,a,s)),ju(a,s)},enqueueReplaceState:function(e,t,i){var a=ni(e),o=Gr(),s=ru(a),d=Hl(o,s);d.tag=QC,d.payload=t,i!=null&&(qm(i,"replaceState"),d.callback=i);var y=Ko(a,d,s);y!==null&&(Zn(y,a,s,o),bm(y,a,s)),ju(a,s)},enqueueForceUpdate:function(e,t){var i=ni(e),a=Gr(),o=ru(i),s=Hl(a,o);s.tag=xm,t!=null&&(qm(t,"forceUpdate"),s.callback=t);var d=Ko(i,s,o);d!==null&&(Zn(d,i,o,a),bm(d,i,o)),hc(i,o)}};function M1(e,t,i,a,o,s,d){var y=e.stateNode;if(typeof y.shouldComponentUpdate=="function"){var g=y.shouldComponentUpdate(a,s,d);{if(e.mode&ft){mn(!0);try{g=y.shouldComponentUpdate(a,s,d)}finally{mn(!1)}}g===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",_t(t)||"Component")}return g}return t.prototype&&t.prototype.isPureReactComponent?!Ze(i,a)||!Ze(o,s):!0}function xD(e,t,i){var a=e.stateNode;{var o=_t(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),t.childContextTypes&&!Np.has(t)&&(e.mode&ft)===Pe&&(Np.add(t),m(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
117
|
-
|
|
118
|
-
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,o)),t.contextTypes&&!Np.has(t)&&(e.mode&ft)===Pe&&(Np.add(t),m(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
119
|
-
|
|
120
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,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&&!oS.has(t)&&(oS.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.",_t(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"&&!rS.has(t)&&(rS.add(t),m("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",_t(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"||Mn(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 L1(e,t){t.updater=cS,e.stateNode=t,fo(t,e),t._reactInternalInstance=eS}function _1(e,t,i){var a=!1,o=Li,s=Li,d=t.contextType;if("contextType"in t){var y=d===null||d!==void 0&&d.$$typeof===jf&&d._context===void 0;if(!y&&!uS.has(t)){uS.add(t);var g="";d===void 0?g=" 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"?g=" However, it is set to a "+typeof d+".":d.$$typeof===If?g=" Did you accidentally pass the Context.Provider instead?":d._context!==void 0?g=" Did you accidentally pass the Context.Consumer instead?":g=" 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",_t(t)||"Component",g)}}if(typeof d=="object"&&d!==null)s=Un(d);else{o=sf(e,t,!0);var x=t.contextTypes;a=x!=null,s=a?cf(e,o):Li}var T=new t(i,s);if(e.mode&ft){mn(!0);try{T=new t(i,s)}finally{mn(!1)}}var z=e.memoizedState=T.state!==null&&T.state!==void 0?T.state:null;L1(e,T);{if(typeof t.getDerivedStateFromProps=="function"&&z===null){var N=_t(t)||"Component";nS.has(N)||(nS.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,K=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?K="componentWillReceiveProps":typeof T.UNSAFE_componentWillReceiveProps=="function"&&(K="UNSAFE_componentWillReceiveProps"),typeof T.componentWillUpdate=="function"&&T.componentWillUpdate.__suppressDeprecationWarning!==!0?q="componentWillUpdate":typeof T.UNSAFE_componentWillUpdate=="function"&&(q="UNSAFE_componentWillUpdate"),Y!==null||K!==null||q!==null){var Te=_t(t)||"Component",Ke=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";iS.has(Te)||(iS.add(Te),m(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
121
|
-
|
|
122
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
123
|
-
|
|
124
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
125
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,Te,Ke,Y!==null?`
|
|
126
|
-
`+Y:"",K!==null?`
|
|
127
|
-
`+K:"",q!==null?`
|
|
128
|
-
`+q:""))}}}return a&&CC(e,o,s),T}function TD(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.",at(e)||"Component"),cS.enqueueReplaceState(t,t.state,null))}function N1(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=at(e)||"Component";tS.has(s)||(tS.add(s),m("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",s))}cS.enqueueReplaceState(t,t.state,null)}}function fS(e,t,i,a){xD(e,t,i);var o=e.stateNode;o.props=i,o.state=e.memoizedState,o.refs={},E0(e);var s=t.contextType;if(typeof s=="object"&&s!==null)o.context=Un(s);else{var d=sf(e,t,!0);o.context=cf(e,d)}{if(o.state===i){var y=_t(t)||"Component";lS.has(y)||(lS.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&ft&&ga.recordLegacyContextWarning(e,o),ga.recordUnsafeLifecycleWarnings(e,o)}o.state=e.memoizedState;var g=t.getDerivedStateFromProps;if(typeof g=="function"&&(sS(e,t,g,i),o.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof o.getSnapshotBeforeUpdate!="function"&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(TD(e,o),Dm(e,i,o,a),o.state=e.memoizedState),typeof o.componentDidMount=="function"){var x=ut;x|=xr,(e.mode&$r)!==Pe&&(x|=Tr),e.flags|=x}}function wD(e,t,i,a){var o=e.stateNode,s=e.memoizedProps;o.props=s;var d=o.context,y=t.contextType,g=Li;if(typeof y=="object"&&y!==null)g=Un(y);else{var x=sf(e,t,!0);g=cf(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!==g)&&N1(e,o,i,g),GC();var N=e.memoizedState,Y=o.state=N;if(Dm(e,i,o,a),Y=e.memoizedState,s===i&&N===Y&&!um()&&!km()){if(typeof o.componentDidMount=="function"){var K=ut;K|=xr,(e.mode&$r)!==Pe&&(K|=Tr),e.flags|=K}return!1}typeof T=="function"&&(sS(e,t,T,i),Y=e.memoizedState);var q=km()||M1(e,t,s,i,N,Y,g);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 Te=ut;Te|=xr,(e.mode&$r)!==Pe&&(Te|=Tr),e.flags|=Te}}else{if(typeof o.componentDidMount=="function"){var Ke=ut;Ke|=xr,(e.mode&$r)!==Pe&&(Ke|=Tr),e.flags|=Ke}e.memoizedProps=i,e.memoizedState=Y}return o.props=i,o.state=Y,o.context=g,q}function bD(e,t,i,a,o){var s=t.stateNode;WC(e,t);var d=t.memoizedProps,y=t.type===t.elementType?d:Ca(t.type,d);s.props=y;var g=t.pendingProps,x=s.context,T=i.contextType,z=Li;if(typeof T=="object"&&T!==null)z=Un(T);else{var N=sf(t,i,!0);z=cf(t,N)}var Y=i.getDerivedStateFromProps,K=typeof Y=="function"||typeof s.getSnapshotBeforeUpdate=="function";!K&&(typeof s.UNSAFE_componentWillReceiveProps=="function"||typeof s.componentWillReceiveProps=="function")&&(d!==g||x!==z)&&N1(t,s,a,z),GC();var q=t.memoizedState,Te=s.state=q;if(Dm(t,a,s,o),Te=t.memoizedState,d===g&&q===Te&&!um()&&!km()&&!fe)return typeof s.componentDidUpdate=="function"&&(d!==e.memoizedProps||q!==e.memoizedState)&&(t.flags|=ut),typeof s.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||q!==e.memoizedState)&&(t.flags|=ri),!1;typeof Y=="function"&&(sS(t,i,Y,a),Te=t.memoizedState);var Ke=km()||M1(t,i,y,a,q,Te,z)||fe;return Ke?(!K&&(typeof s.UNSAFE_componentWillUpdate=="function"||typeof s.componentWillUpdate=="function")&&(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(a,Te,z),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(a,Te,z)),typeof s.componentDidUpdate=="function"&&(t.flags|=ut),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=ri)):(typeof s.componentDidUpdate=="function"&&(d!==e.memoizedProps||q!==e.memoizedState)&&(t.flags|=ut),typeof s.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||q!==e.memoizedState)&&(t.flags|=ri),t.memoizedProps=a,t.memoizedState=Te),s.props=a,s.state=Te,s.context=z,Ke}function Ss(e,t){return{value:e,source:t,stack:Gf(t),digest:null}}function dS(e,t,i){return{value:e,source:null,stack:i??null,digest:t??null}}function DD(e,t){return!0}function pS(e,t){try{var i=DD(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?at(o):null,g=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.
|
|
129
|
-
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var T=at(e)||"Anonymous";x="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+T+".")}var z=g+`
|
|
130
|
-
`+d+`
|
|
131
|
-
|
|
132
|
-
`+(""+x);console.error(z)}catch(N){setTimeout(function(){throw N})}}var kD=typeof WeakMap=="function"?WeakMap:Map;function A1(e,t,i){var a=Hl(It,i);a.tag=g0,a.payload={element:null};var o=t.value;return a.callback=function(){EO(o),pS(e,t)},a}function vS(e,t,i){var a=Hl(It,i);a.tag=g0;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var s=t.value;a.payload=function(){return o(s)},a.callback=function(){YR(e),pS(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(a.callback=function(){YR(e),pS(e,t),typeof o!="function"&&gO(this);var g=t.value,x=t.stack;this.componentDidCatch(g,{componentStack:x!==null?x:""}),typeof o!="function"&&(Mr(e.lanes,Ye)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",at(e)||"Unknown"))}),a}function z1(e,t,i){var a=e.pingCache,o;if(a===null?(a=e.pingCache=new kD,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=CO.bind(null,e,t,i);Br&&Xp(e,i),t.then(s,s)}}function OD(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 MD(e,t){var i=e.tag;if((e.mode&je)===Pe&&(i===k||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&je)===Pe){if(e===t)e.flags|=_n;else{if(e.flags|=et,i.flags|=Pu,i.flags&=~(rc|Vr),i.tag===w){var s=i.alternate;if(s===null)i.tag=$e;else{var d=Hl(It,Ye);d.tag=xm,Ko(i,d,Ye)}}i.lanes=lt(i.lanes,Ye)}return e}return e.flags|=_n,e.lanes=o,e}function LD(e,t,i,a,o){if(i.flags|=Vr,Br&&Xp(e,o),a!==null&&typeof a=="object"&&typeof a.then=="function"){var s=a;MD(i),sr()&&i.mode&je&&kC();var d=U1(t);if(d!==null){d.flags&=~rn,F1(d,t,i,e,o),d.mode&je&&z1(e,s,o),OD(d,e,s);return}else{if(!Ud(o)){z1(e,s,o),WS();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(sr()&&i.mode&je){kC();var g=U1(t);if(g!==null){(g.flags&_n)===We&&(g.flags|=rn),F1(g,t,i,e,o),l0(Ss(a,i));return}}a=Ss(a,i),cO(a);var x=t;do{switch(x.tag){case O:{var T=a;x.flags|=_n;var z=bo(o);x.lanes=lt(x.lanes,z);var N=A1(x,T,z);C0(x,N);return}case w:var Y=a,K=x.type,q=x.stateNode;if((x.flags&et)===We&&(typeof K.getDerivedStateFromError=="function"||q!==null&&typeof q.componentDidCatch=="function"&&!UR(q))){x.flags|=_n;var Te=bo(o);x.lanes=lt(x.lanes,Te);var Ke=vS(x,Y,Te);C0(x,Ke);return}break}x=x.return}while(x!==null)}function _D(){return null}var Ap=v.ReactCurrentOwner,Ra=!1,hS,zp,mS,yS,gS,Es,SS,Zm,Up;hS={},zp={},mS={},yS={},gS={},Es=!1,SS={},Zm={},Up={};function Qr(e,t,i,a){e===null?t.child=VC(t,null,i,a):t.child=vf(t,e.child,i,a)}function ND(e,t,i,a){t.child=vf(t,e.child,null,a),t.child=vf(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",_t(i))}var d=i.render,y=t.ref,g,x;mf(t,o),mo(t);{if(Ap.current=t,bi(!0),g=Rf(e,t,d,a,y,o),x=xf(),t.mode&ft){mn(!0);try{g=Rf(e,t,d,a,y,o),x=xf()}finally{mn(!1)}}bi(!1)}return Dr(),e!==null&&!Ra?(e1(e,t,o),Pl(e,t,o)):(sr()&&x&&e0(t),t.flags|=Ua,Qr(e,t,g,o),t.child)}function P1(e,t,i,a,o){if(e===null){var s=i.type;if(HO(s)&&i.compare===null&&i.defaultProps===void 0){var d=s;return d=Lf(s),t.tag=ge,t.type=d,RS(t,s),V1(e,t,d,a,o)}{var y=s.propTypes;if(y&&ma(y,a,"prop",_t(s)),i.defaultProps!==void 0){var g=_t(s)||"Unknown";Up[g]||(m("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",g),Up[g]=!0)}}var x=iE(i.type,null,a,t,t.mode,o);return x.ref=t.ref,x.return=t,t.child=x,x}{var T=i.type,z=T.propTypes;z&&ma(z,a,"prop",_t(T))}var N=e.child,Y=kS(e,o);if(!Y){var K=N.memoizedProps,q=i.compare;if(q=q!==null?q:Ze,q(K,a)&&e.ref===t.ref)return Pl(e,t,o)}t.flags|=Ua;var Te=ws(N,a);return Te.ref=t.ref,Te.return=t,t.child=Te,Te}function V1(e,t,i,a,o){if(t.type!==t.elementType){var s=t.elementType;if(s.$$typeof===lr){var d=s,y=d._payload,g=d._init;try{s=g(y)}catch{s=null}var x=s&&s.propTypes;x&&ma(x,a,"prop",_t(s))}}if(e!==null){var T=e.memoizedProps;if(Ze(T,a)&&e.ref===t.ref&&t.type===e.type)if(Ra=!1,t.pendingProps=a=T,kS(e,o))(e.flags&Pu)!==We&&(Ra=!0);else return t.lanes=e.lanes,Pl(e,t,o)}return ES(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&je)===Pe){var d={baseLanes:ie,cachePool:null,transitions:null};t.memoizedState=d,fy(t,i)}else if(Mr(i,rr)){var z={baseLanes:ie,cachePool:null,transitions:null};t.memoizedState=z;var N=s!==null?s.baseLanes:i;fy(t,N)}else{var y=null,g;if(s!==null){var x=s.baseLanes;g=lt(x,i)}else g=i;t.lanes=t.childLanes=rr;var T={baseLanes:g,cachePool:y,transitions:null};return t.memoizedState=T,t.updateQueue=null,fy(t,g),null}else{var Y;s!==null?(Y=lt(s.baseLanes,i),t.memoizedState=null):Y=i,fy(t,Y)}return Qr(e,t,o,i),t.child}function AD(e,t,i){var a=t.pendingProps;return Qr(e,t,a,i),t.child}function zD(e,t,i){var a=t.pendingProps.children;return Qr(e,t,a,i),t.child}function UD(e,t,i){{t.flags|=ut;{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|=Rr,t.flags|=xd)}function ES(e,t,i,a,o){if(t.type!==t.elementType){var s=i.propTypes;s&&ma(s,a,"prop",_t(i))}var d;{var y=sf(t,i,!0);d=cf(t,y)}var g,x;mf(t,o),mo(t);{if(Ap.current=t,bi(!0),g=Rf(e,t,i,a,d,o),x=xf(),t.mode&ft){mn(!0);try{g=Rf(e,t,i,a,d,o),x=xf()}finally{mn(!1)}}bi(!1)}return Dr(),e!==null&&!Ra?(e1(e,t,o),Pl(e,t,o)):(sr()&&x&&e0(t),t.flags|=Ua,Qr(e,t,g,o),t.child)}function B1(e,t,i,a,o){{switch(JO(t)){case!1:{var s=t.stateNode,d=t.type,y=new d(t.memoizedProps,s.context),g=y.state;s.updater.enqueueSetState(s,g,null);break}case!0:{t.flags|=et,t.flags|=_n;var x=new Error("Simulated error coming from DevTools"),T=bo(o);t.lanes=lt(t.lanes,T);var z=vS(t,Ss(x,t),T);C0(t,z);break}}if(t.type!==t.elementType){var N=i.propTypes;N&&ma(N,a,"prop",_t(i))}}var Y;Ka(i)?(Y=!0,cm(t)):Y=!1,mf(t,o);var K=t.stateNode,q;K===null?(ey(e,t),_1(t,i,a),fS(t,i,a,o),q=!0):e===null?q=wD(t,i,a,o):q=bD(e,t,i,a,o);var Te=CS(e,t,i,q,Y,o);{var Ke=t.stateNode;q&&Ke.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.",at(t)||"a component"),Es=!0)}return Te}function CS(e,t,i,a,o,s){j1(e,t);var d=(t.flags&et)!==We;if(!a&&!d)return o&&TC(t,i,!1),Pl(e,t,s);var y=t.stateNode;Ap.current=t;var g;if(d&&typeof i.getDerivedStateFromError!="function")g=null,D1();else{mo(t);{if(bi(!0),g=y.render(),t.mode&ft){mn(!0);try{y.render()}finally{mn(!1)}}bi(!1)}Dr()}return t.flags|=Ua,e!==null&&d?ND(e,t,g,s):Qr(e,t,g,s),t.memoizedState=y.state,o&&TC(t,i,!0),t.child}function $1(e){var t=e.stateNode;t.pendingContext?RC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&RC(e,t.context,!1),R0(e,t.containerInfo)}function FD(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;WC(e,t),Dm(t,a,null,i);var d=t.memoizedState;t.stateNode;var y=d.element;if(o.isDehydrated){var g={element:y,isDehydrated:!1,cache:d.cache,pendingSuspenseBoundaries:d.pendingSuspenseBoundaries,transitions:d.transitions},x=t.updateQueue;if(x.baseState=g,t.memoizedState=g,t.flags&rn){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{Vb(t);var N=VC(t,null,y,i);t.child=N;for(var Y=N;Y;)Y.flags=Y.flags&~jt|ii,Y=Y.sibling}}else{if(pf(),y===s)return Pl(e,t,i);Qr(e,t,y,i)}return t.child}function Y1(e,t,i,a,o){return pf(),l0(o),t.flags|=rn,Qr(e,t,i,a),t.child}function HD(e,t,i){qC(t),e===null&&a0(t);var a=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,d=o.children,y=Vg(a,o);return y?d=null:s!==null&&Vg(a,s)&&(t.flags|=kt),j1(e,t),Qr(e,t,d,i),t.child}function PD(e,t){return e===null&&a0(t),null}function VD(e,t,i,a){ey(e,t);var o=t.pendingProps,s=i,d=s._payload,y=s._init,g=y(d);t.type=g;var x=t.tag=PO(g),T=Ca(g,o),z;switch(x){case k:return RS(t,g),t.type=g=Lf(g),z=ES(null,t,g,T,a),z;case w:return t.type=g=ZS(g),z=B1(null,t,g,T,a),z;case Q:return t.type=g=JS(g),z=H1(null,t,g,T,a),z;case me:{if(t.type!==t.elementType){var N=g.propTypes;N&&ma(N,T,"prop",_t(g))}return z=P1(null,t,g,Ca(g.type,T),a),z}}var Y="";throw g!==null&&typeof g=="object"&&g.$$typeof===lr&&(Y=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+g+". "+("Lazy element type must resolve to a class or function."+Y))}function ID(e,t,i,a,o){ey(e,t),t.tag=w;var s;return Ka(i)?(s=!0,cm(t)):s=!1,mf(t,o),_1(t,i,a),fS(t,i,a,o),CS(null,t,i,!0,s,o)}function jD(e,t,i,a){ey(e,t);var o=t.pendingProps,s;{var d=sf(t,i,!1);s=cf(t,d)}mf(t,a);var y,g;mo(t);{if(i.prototype&&typeof i.prototype.render=="function"){var x=_t(i)||"Unknown";hS[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),hS[x]=!0)}t.mode&ft&&ga.recordLegacyContextWarning(t,null),bi(!0),Ap.current=t,y=Rf(null,t,i,o,s,a),g=xf(),bi(!1)}if(Dr(),t.flags|=Ua,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var T=_t(i)||"Unknown";zp[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),zp[T]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var z=_t(i)||"Unknown";zp[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),zp[z]=!0)}t.tag=w,t.memoizedState=null,t.updateQueue=null;var N=!1;return Ka(i)?(N=!0,cm(t)):N=!1,t.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,E0(t),L1(t,y),fS(t,i,o,a),CS(null,t,i,!0,N,a)}else{if(t.tag=k,t.mode&ft){mn(!0);try{y=Rf(null,t,i,o,s,a),g=xf()}finally{mn(!1)}}return sr()&&g&&e0(t),Qr(null,t,y,a),RS(t,i),t.child}}function RS(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+=`
|
|
133
|
-
|
|
134
|
-
Check the render method of \``+a+"`.");var o=a||"",s=e._debugSource;s&&(o=s.fileName+":"+s.lineNumber),gS[o]||(gS[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(t.defaultProps!==void 0){var d=_t(t)||"Unknown";Up[d]||(m("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",d),Up[d]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var y=_t(t)||"Unknown";yS[y]||(m("%s: Function components do not support getDerivedStateFromProps.",y),yS[y]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var g=_t(t)||"Unknown";mS[g]||(m("%s: Function components do not support contextType.",g),mS[g]=!0)}}}var xS={dehydrated:null,treeContext:null,retryLane:yn};function TS(e){return{baseLanes:e,cachePool:_D(),transitions:null}}function BD(e,t){var i=null;return{baseLanes:lt(e.baseLanes,t),cachePool:i,transitions:e.transitions}}function $D(e,t,i,a){if(t!==null){var o=t.memoizedState;if(o===null)return!1}return w0(e,wp)}function YD(e,t){return Ku(e.childLanes,t)}function Q1(e,t,i){var a=t.pendingProps;eM(t)&&(t.flags|=et);var o=Sa.current,s=!1,d=(t.flags&et)!==We;if(d||$D(o,e)?(s=!0,t.flags&=~et):(e===null||e.memoizedState!==null)&&(o=sD(o,JC)),o=gf(o),qo(t,o),e===null){a0(t);var y=t.memoizedState;if(y!==null){var g=y.dehydrated;if(g!==null)return XD(t,g)}var x=a.children,T=a.fallback;if(s){var z=QD(t,x,T,i),N=t.child;return N.memoizedState=TS(i),t.memoizedState=xS,z}else return wS(t,x)}else{var Y=e.memoizedState;if(Y!==null){var K=Y.dehydrated;if(K!==null)return qD(e,t,d,a,K,Y,i)}if(s){var q=a.fallback,Te=a.children,Ke=GD(e,t,Te,q,i),Be=t.child,St=e.child.memoizedState;return Be.memoizedState=St===null?TS(i):BD(St,i),Be.childLanes=YD(e,i),t.memoizedState=xS,Ke}else{var mt=a.children,I=WD(e,t,mt,i);return t.memoizedState=null,I}}}function wS(e,t,i){var a=e.mode,o={mode:"visible",children:t},s=bS(o,a);return s.return=e,e.child=s,s}function QD(e,t,i,a){var o=e.mode,s=e.child,d={mode:"hidden",children:t},y,g;return(o&je)===Pe&&s!==null?(y=s,y.childLanes=ie,y.pendingProps=d,e.mode&tt&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),g=au(i,o,a,null)):(y=bS(d,o),g=au(i,o,a,null)),y.return=e,g.return=e,y.sibling=g,e.child=y,g}function bS(e,t,i){return WR(e,t,ie,null)}function W1(e,t){return ws(e,t)}function WD(e,t,i,a){var o=e.child,s=o.sibling,d=W1(o,{mode:"visible",children:i});if((t.mode&je)===Pe&&(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 GD(e,t,i,a,o){var s=t.mode,d=e.child,y=d.sibling,g={mode:"hidden",children:i},x;if((s&je)===Pe&&t.child!==d){var T=t.child;x=T,x.childLanes=ie,x.pendingProps=g,t.mode&tt&&(x.actualDuration=0,x.actualStartTime=-1,x.selfBaseDuration=d.selfBaseDuration,x.treeBaseDuration=d.treeBaseDuration),t.deletions=null}else x=W1(d,g),x.subtreeFlags=d.subtreeFlags&jn;var z;return y!==null?z=ws(y,a):(z=au(a,s,o,null),z.flags|=jt),z.return=t,x.return=t,x.sibling=z,t.child=x,z}function Jm(e,t,i,a){a!==null&&l0(a),vf(t,e.child,null,i);var o=t.pendingProps,s=o.children,d=wS(t,s);return d.flags|=jt,t.memoizedState=null,d}function KD(e,t,i,a,o){var s=t.mode,d={mode:"visible",children:i},y=bS(d,s),g=au(a,s,o,null);return g.flags|=jt,y.return=t,g.return=t,y.sibling=g,t.child=y,(t.mode&je)!==Pe&&vf(t,e.child,null,o),g}function XD(e,t,i){return(e.mode&je)===Pe?(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=Ye):$g(t)?e.lanes=fa:e.lanes=rr,null}function qD(e,t,i,a,o,s,d){if(i)if(t.flags&rn){t.flags&=~rn;var I=dS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Jm(e,t,d,I)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=et,null;var Z=a.children,j=a.fallback,he=KD(e,t,Z,j,d),ke=t.child;return ke.memoizedState=TS(d),t.memoizedState=xS,he}else{if(Hb(),(t.mode&je)===Pe)return Jm(e,t,d,null);if($g(o)){var y,g,x;{var T=tb(o);y=T.digest,g=T.message,x=T.stack}var z;g?z=new Error(g):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=dS(z,y,x);return Jm(e,t,d,N)}var Y=Mr(d,e.childLanes);if(Ra||Y){var K=cy();if(K!==null){var q=wh(K,d);if(q!==yn&&q!==s.retryLane){s.retryLane=q;var Te=It;mi(e,q),Zn(K,e,q,Te)}}WS();var Ke=dS(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 Jm(e,t,d,Ke)}else if(mC(o)){t.flags|=et,t.child=e.child;var Be=RO.bind(null,e);return nb(o,Be),null}else{Ib(t,o,s.treeContext);var St=a.children,mt=wS(t,St);return mt.flags|=ii,mt}}}function G1(e,t,i){e.lanes=lt(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=lt(a.lanes,t)),m0(e.return,t,i)}function ZD(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 JD(e){for(var t=e,i=null;t!==null;){var a=t.alternate;a!==null&&Lm(a)===null&&(i=t),t=t.sibling}return i}function ek(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!SS[e])if(SS[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 tk(e,t){e!==void 0&&!Zm[e]&&(e!=="collapsed"&&e!=="hidden"?(Zm[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Zm[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=Mn(e),a=!i&&typeof ea(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 nk(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Mn(e)){for(var i=0;i<e.length;i++)if(!K1(e[i],i))return}else{var a=ea(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 DS(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;ek(o),tk(s,o),nk(d,o),Qr(e,t,d,i);var y=Sa.current,g=w0(y,wp);if(g)y=b0(y,wp),t.flags|=et;else{var x=e!==null&&(e.flags&et)!==We;x&&ZD(t,t.child,i),y=gf(y)}if(qo(t,y),(t.mode&je)===Pe)t.memoizedState=null;else switch(o){case"forwards":{var T=JD(t.child),z;T===null?(z=t.child,t.child=null):(z=T.sibling,T.sibling=null),DS(t,!1,z,T,s);break}case"backwards":{var N=null,Y=t.child;for(t.child=null;Y!==null;){var K=Y.alternate;if(K!==null&&Lm(K)===null){t.child=Y;break}var q=Y.sibling;Y.sibling=N,N=Y,Y=q}DS(t,!0,N,null,s);break}case"together":{DS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function rk(e,t,i){R0(t,t.stateNode.containerInfo);var a=t.pendingProps;return e===null?t.child=vf(t,null,a,i):Qr(e,t,a,i),t.child}var q1=!1;function ik(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 g=t.type.propTypes;g&&ma(g,s,"prop","Context.Provider")}if(BC(t,o,y),d!==null){var x=d.value;if(Ne(x,y)){if(d.children===s.children&&!um())return Pl(e,t,i)}else eD(t,o,i)}var T=s.children;return Qr(e,t,T,i),t.child}var Z1=!1;function ak(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."),mf(t,i);var d=Un(a);mo(t);var y;return Ap.current=t,bi(!0),y=s(d),bi(!1),Dr(),t.flags|=Ua,Qr(e,t,y,i),t.child}function Fp(){Ra=!0}function ey(e,t){(t.mode&je)===Pe&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=jt)}function Pl(e,t,i){return e!==null&&(t.dependencies=e.dependencies),D1(),Kp(t.lanes),Mr(i,t.childLanes)?(Zb(e,t),t.child):null}function lk(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 kS(e,t){var i=e.lanes;return!!Mr(i,t)}function ok(e,t,i){switch(t.tag){case O:$1(t),t.stateNode,pf();break;case b:qC(t);break;case w:{var a=t.type;Ka(a)&&cm(t);break}case U:R0(t,t.stateNode.containerInfo);break;case oe:{var o=t.memoizedProps.value,s=t.type._context;BC(t,s,o);break}case J:{var d=Mr(i,t.childLanes);d&&(t.flags|=ut);{var y=t.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}}break;case le:{var g=t.memoizedState;if(g!==null){if(g.dehydrated!==null)return qo(t,gf(Sa.current)),t.flags|=et,null;var x=t.child,T=x.childLanes;if(Mr(i,T))return Q1(e,t,i);qo(t,gf(Sa.current));var z=Pl(e,t,i);return z!==null?z.sibling:null}else qo(t,gf(Sa.current));break}case Se:{var N=(e.flags&et)!==We,Y=Mr(i,t.childLanes);if(N){if(Y)return X1(e,t,i);t.flags|=et}var K=t.memoizedState;if(K!==null&&(K.rendering=null,K.tail=null,K.lastEffect=null),qo(t,Sa.current),Y)break;return null}case ne:case G:return t.lanes=ie,I1(e,t,i)}return Pl(e,t,i)}function J1(e,t,i){if(t._debugNeedsRemount&&e!==null)return lk(e,t,iE(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||um()||t.type!==e.type)Ra=!0;else{var s=kS(e,i);if(!s&&(t.flags&et)===We)return Ra=!1,ok(e,t,i);(e.flags&Pu)!==We?Ra=!0:Ra=!1}}else if(Ra=!1,sr()&&_b(t)){var d=t.index,y=Nb();DC(t,y,d)}switch(t.lanes=ie,t.tag){case F:return jD(e,t,t.type,i);case Ue:{var g=t.elementType;return VD(e,t,g,i)}case k:{var x=t.type,T=t.pendingProps,z=t.elementType===x?T:Ca(x,T);return ES(e,t,x,z,i)}case w:{var N=t.type,Y=t.pendingProps,K=t.elementType===N?Y:Ca(N,Y);return B1(e,t,N,K,i)}case O:return FD(e,t,i);case b:return HD(e,t,i);case L:return PD(e,t);case le:return Q1(e,t,i);case U:return rk(e,t,i);case Q:{var q=t.type,Te=t.pendingProps,Ke=t.elementType===q?Te:Ca(q,Te);return H1(e,t,q,Ke,i)}case P:return AD(e,t,i);case te:return zD(e,t,i);case J:return UD(e,t,i);case oe:return ik(e,t,i);case de:return ak(e,t,i);case me:{var Be=t.type,St=t.pendingProps,mt=Ca(Be,St);if(t.type!==t.elementType){var I=Be.propTypes;I&&ma(I,mt,"prop",_t(Be))}return mt=Ca(Be.type,mt),P1(e,t,Be,mt,i)}case ge:return V1(e,t,t.type,t.pendingProps,i);case $e:{var Z=t.type,j=t.pendingProps,he=t.elementType===Z?j:Ca(Z,j);return ID(e,t,Z,he,i)}case Se:return X1(e,t,i);case Ee:break;case ne: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 Tf(e){e.flags|=ut}function eR(e){e.flags|=Rr,e.flags|=xd}var tR,OS,nR,rR;tR=function(e,t,i,a){for(var o=t.child;o!==null;){if(o.tag===b||o.tag===L)Ow(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}},OS=function(e,t){},nR=function(e,t,i,a,o){var s=e.memoizedProps;if(s!==a){var d=t.stateNode,y=x0(),g=Lw(d,i,s,a,o,y);t.updateQueue=g,g&&Tf(t)}},rR=function(e,t,i,a){i!==a&&Tf(t)};function Hp(e,t){if(!sr())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 fr(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=ie,a=We;if(t){if((e.mode&tt)!==Pe){for(var g=e.selfBaseDuration,x=e.child;x!==null;)i=lt(i,lt(x.lanes,x.childLanes)),a|=x.subtreeFlags&jn,a|=x.flags&jn,g+=x.treeBaseDuration,x=x.sibling;e.treeBaseDuration=g}else for(var T=e.child;T!==null;)i=lt(i,lt(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&tt)!==Pe){for(var o=e.actualDuration,s=e.selfBaseDuration,d=e.child;d!==null;)i=lt(i,lt(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=lt(i,lt(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 uk(e,t,i){if(Qb()&&(t.mode&je)!==Pe&&(t.flags&et)===We)return AC(t),pf(),t.flags|=rn|Vr|_n,!1;var a=hm(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($b(t),fr(t),(t.mode&tt)!==Pe){var o=i!==null;if(o){var s=t.child;s!==null&&(t.treeBaseDuration-=s.treeBaseDuration)}}return!1}else{if(pf(),(t.flags&et)===We&&(t.memoizedState=null),t.flags|=ut,fr(t),(t.mode&tt)!==Pe){var d=i!==null;if(d){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else return zC(),!0}function iR(e,t,i){var a=t.pendingProps;switch(t0(t),t.tag){case F:case Ue:case ge:case k:case Q:case P:case te:case J:case de:case me:return fr(t),null;case w:{var o=t.type;return Ka(o)&&sm(t),fr(t),null}case O:{var s=t.stateNode;if(yf(t),qg(t),k0(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),e===null||e.child===null){var d=hm(t);if(d)Tf(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&rn)!==We)&&(t.flags|=ri,zC())}}return OS(e,t),fr(t),null}case b:{T0(t);var g=XC(),x=t.type;if(e!==null&&t.stateNode!=null)nR(e,t,x,a,g),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 fr(t),null}var T=x0(),z=hm(t);if(z)jb(t,g,T)&&Tf(t);else{var N=kw(x,a,g,T,t);tR(N,t,!1,!1),t.stateNode=N,Mw(N,x,a,g)&&Tf(t)}t.ref!==null&&eR(t)}return fr(t),null}case L:{var Y=a;if(e&&t.stateNode!=null){var K=e.memoizedProps;rR(e,t,K,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=XC(),Te=x0(),Ke=hm(t);Ke?Bb(t)&&Tf(t):t.stateNode=_w(Y,q,Te,t)}return fr(t),null}case le:{Sf(t);var Be=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var St=uk(e,t,Be);if(!St)return t.flags&_n?t:null}if((t.flags&et)!==We)return t.lanes=i,(t.mode&tt)!==Pe&&J0(t),t;var mt=Be!==null,I=e!==null&&e.memoizedState!==null;if(mt!==I&&mt){var Z=t.child;if(Z.flags|=Fa,(t.mode&je)!==Pe){var j=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!ze);j||w0(Sa.current,JC)?sO():WS()}}var he=t.updateQueue;if(he!==null&&(t.flags|=ut),fr(t),(t.mode&tt)!==Pe&&mt){var ke=t.child;ke!==null&&(t.treeBaseDuration-=ke.treeBaseDuration)}return null}case U:return yf(t),OS(e,t),e===null&&wb(t.stateNode.containerInfo),fr(t),null;case oe:var we=t.type._context;return h0(we,t),fr(t),null;case $e:{var Je=t.type;return Ka(Je)&&sm(t),fr(t),null}case Se:{Sf(t);var it=t.memoizedState;if(it===null)return fr(t),null;var zt=(t.flags&et)!==We,xt=it.rendering;if(xt===null)if(zt)Hp(it,!1);else{var Dn=fO()&&(e===null||(e.flags&et)===We);if(!Dn)for(var Tt=t.child;Tt!==null;){var gn=Lm(Tt);if(gn!==null){zt=!0,t.flags|=et,Hp(it,!1);var zr=gn.updateQueue;return zr!==null&&(t.updateQueue=zr,t.flags|=ut),t.subtreeFlags=We,Jb(t,i),qo(t,b0(Sa.current,wp)),t.child}Tt=Tt.sibling}it.tail!==null&&Xt()>wR()&&(t.flags|=et,zt=!0,Hp(it,!1),t.lanes=vh)}else{if(!zt){var mr=Lm(xt);if(mr!==null){t.flags|=et,zt=!0;var Ni=mr.updateQueue;if(Ni!==null&&(t.updateQueue=Ni,t.flags|=ut),Hp(it,!0),it.tail===null&&it.tailMode==="hidden"&&!xt.alternate&&!sr())return fr(t),null}else Xt()*2-it.renderingStartTime>wR()&&i!==rr&&(t.flags|=et,zt=!0,Hp(it,!1),t.lanes=vh)}if(it.isBackwards)xt.sibling=t.child,t.child=xt;else{var Kr=it.last;Kr!==null?Kr.sibling=xt:t.child=xt,it.last=xt}}if(it.tail!==null){var Xr=it.tail;it.rendering=Xr,it.tail=Xr.sibling,it.renderingStartTime=Xt(),Xr.sibling=null;var Ur=Sa.current;return zt?Ur=b0(Ur,wp):Ur=gf(Ur),qo(t,Ur),Xr}return fr(t),null}case Ee:break;case ne:case G:{QS(t);var $l=t.memoizedState,_f=$l!==null;if(e!==null){var ev=e.memoizedState,rl=ev!==null;rl!==_f&&!$&&(t.flags|=Fa)}return!_f||(t.mode&je)===Pe?fr(t):Mr(nl,rr)&&(fr(t),t.subtreeFlags&(jt|ut)&&(t.flags|=Fa)),null}case ce:return null;case re: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 sk(e,t,i){switch(t0(t),t.tag){case w:{var a=t.type;Ka(a)&&sm(t);var o=t.flags;return o&_n?(t.flags=o&~_n|et,(t.mode&tt)!==Pe&&J0(t),t):null}case O:{t.stateNode,yf(t),qg(t),k0();var s=t.flags;return(s&_n)!==We&&(s&et)===We?(t.flags=s&~_n|et,t):null}case b:return T0(t),null;case le:{Sf(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.");pf()}var y=t.flags;return y&_n?(t.flags=y&~_n|et,(t.mode&tt)!==Pe&&J0(t),t):null}case Se:return Sf(t),null;case U:return yf(t),null;case oe:var g=t.type._context;return h0(g,t),null;case ne:case G:return QS(t),null;case ce:return null;default:return null}}function aR(e,t,i){switch(t0(t),t.tag){case w:{var a=t.type.childContextTypes;a!=null&&sm(t);break}case O:{t.stateNode,yf(t),qg(t),k0();break}case b:{T0(t);break}case U:yf(t);break;case le:Sf(t);break;case Se:Sf(t);break;case oe:var o=t.type._context;h0(o,t);break;case ne:case G:QS(t);break}}var lR=null;lR=new Set;var ty=!1,dr=!1,ck=typeof WeakSet=="function"?WeakSet:Set,Ae=null,wf=null,bf=null;function fk(e){hl(null,function(){throw e}),Cd()}var dk=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&tt)try{el(),t.componentWillUnmount()}finally{Ja(e)}else t.componentWillUnmount()};function oR(e,t){try{eu(Qn,e)}catch(i){Yt(e,t,i)}}function MS(e,t,i){try{dk(e,i)}catch(a){Yt(e,t,a)}}function pk(e,t,i){try{i.componentDidMount()}catch(a){Yt(e,t,a)}}function uR(e,t){try{cR(e)}catch(i){Yt(e,t,i)}}function Df(e,t){var i=e.ref;if(i!==null)if(typeof i=="function"){var a;try{if(Ie&&He&&e.mode&tt)try{el(),a=i(null)}finally{Ja(e)}else a=i(null)}catch(o){Yt(e,t,o)}typeof a=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",at(e))}else i.current=null}function ny(e,t,i){try{i()}catch(a){Yt(e,t,a)}}var sR=!1;function vk(e,t){bw(e.containerInfo),Ae=t,hk();var i=sR;return sR=!1,i}function hk(){for(;Ae!==null;){var e=Ae,t=e.child;(e.subtreeFlags&po)!==We&&t!==null?(t.return=e,Ae=t):mk()}}function mk(){for(;Ae!==null;){var e=Ae;Nt(e);try{yk(e)}catch(i){Yt(e,e.return,i)}Cn();var t=e.sibling;if(t!==null){t.return=e.return,Ae=t;return}Ae=e.return}}function yk(e){var t=e.alternate,i=e.flags;if((i&ri)!==We){switch(Nt(e),e.tag){case k: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.",at(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.",at(e)||"instance"));var d=s.getSnapshotBeforeUpdate(e.elementType===e.type?a:Ca(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.",at(e)))}s.__reactInternalSnapshotBeforeUpdate=d}break}case O:{{var g=e.stateNode;qw(g.containerInfo)}break}case b:case L:case U:case $e: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.")}Cn()}}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&cr)!==yi?fh(t):(e&Qn)!==yi&&Mi(t),(e&Xa)!==yi&&qp(!0),ny(t,i,y),(e&Xa)!==yi&&qp(!1),(e&cr)!==yi?dc():(e&Qn)!==yi&&yo())}d=d.next}while(d!==s)}}function eu(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&cr)!==yi?Va(t):(e&Qn)!==yi&&dh(t);var d=s.create;(e&Xa)!==yi&&qp(!0),s.destroy=d(),(e&Xa)!==yi&&qp(!1),(e&cr)!==yi?fc():(e&Qn)!==yi&&Vu();{var y=s.destroy;if(y!==void 0&&typeof y!="function"){var g=void 0;(s.tag&Qn)!==We?g="useLayoutEffect":(s.tag&Xa)!==We?g="useInsertionEffect":g="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=`
|
|
135
|
-
|
|
136
|
-
It looks like you wrote `+g+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
137
|
-
|
|
138
|
-
`+g+`(() => {
|
|
139
|
-
async function fetchData() {
|
|
140
|
-
// You can await here
|
|
141
|
-
const response = await MyAPI.getData(someId);
|
|
142
|
-
// ...
|
|
143
|
-
}
|
|
144
|
-
fetchData();
|
|
145
|
-
}, [someId]); // Or [] if effect doesn't need props or state
|
|
146
|
-
|
|
147
|
-
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",g,x)}}}s=s.next}while(s!==o)}}function gk(e,t){if((t.flags&ut)!==We)switch(t.tag){case J:{var i=t.stateNode.passiveEffectDuration,a=t.memoizedProps,o=a.id,s=a.onPostCommit,d=w1(),y=t.alternate===null?"mount":"update";T1()&&(y="nested-update"),typeof s=="function"&&s(o,y,i,d);var g=t.return;e:for(;g!==null;){switch(g.tag){case O:var x=g.stateNode;x.passiveEffectDuration+=i;break e;case J:var T=g.stateNode;T.passiveEffectDuration+=i;break e}g=g.return}break}}}function Sk(e,t,i,a){if((i.flags&tr)!==We)switch(i.tag){case k:case Q:case ge:{if(!dr)if(i.mode&tt)try{el(),eu(Qn|Yn,i)}finally{Ja(i)}else eu(Qn|Yn,i);break}case w:{var o=i.stateNode;if(i.flags&ut&&!dr)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.",at(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.",at(i)||"instance")),i.mode&tt)try{el(),o.componentDidMount()}finally{Ja(i)}else o.componentDidMount();else{var s=i.elementType===i.type?t.memoizedProps:Ca(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.",at(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.",at(i)||"instance")),i.mode&tt)try{el(),o.componentDidUpdate(s,d,o.__reactInternalSnapshotBeforeUpdate)}finally{Ja(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.",at(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.",at(i)||"instance")),KC(i,y,o));break}case O:{var g=i.updateQueue;if(g!==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}KC(i,g,x)}break}case b:{var T=i.stateNode;if(t===null&&i.flags&ut){var z=i.type,N=i.memoizedProps;Fw(T,z,N)}break}case L:break;case U:break;case J:{{var Y=i.memoizedProps,K=Y.onCommit,q=Y.onRender,Te=i.stateNode.effectDuration,Ke=w1(),Be=t===null?"mount":"update";T1()&&(Be="nested-update"),typeof q=="function"&&q(i.memoizedProps.id,Be,i.actualDuration,i.treeBaseDuration,i.actualStartTime,Ke);{typeof K=="function"&&K(i.memoizedProps.id,Be,Te,Ke),mO(i);var St=i.return;e:for(;St!==null;){switch(St.tag){case O:var mt=St.stateNode;mt.effectDuration+=Te;break e;case J:var I=St.stateNode;I.effectDuration+=Te;break e}St=St.return}}}break}case le:{Dk(e,i);break}case Se:case $e:case Ee:case ne:case G:case re: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.")}dr||i.flags&Rr&&cR(i)}function Ek(e){switch(e.tag){case k:case Q:case ge:{if(e.mode&tt)try{el(),oR(e,e.return)}finally{Ja(e)}else oR(e,e.return);break}case w:{var t=e.stateNode;typeof t.componentDidMount=="function"&&pk(e,e.return,t),uR(e,e.return);break}case b:{uR(e,e.return);break}}}function Ck(e,t){for(var i=null,a=e;;){if(a.tag===b){if(i===null){i=a;try{var o=a.stateNode;t?Ww(o):Kw(a.stateNode,a.memoizedProps)}catch(d){Yt(e,e.return,d)}}}else if(a.tag===L){if(i===null)try{var s=a.stateNode;t?Gw(s):Xw(s,a.memoizedProps)}catch(d){Yt(e,e.return,d)}}else if(!((a.tag===ne||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&tt)try{el(),o=t(a)}finally{Ja(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.",at(e))}else t.hasOwnProperty("current")||m("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",at(e)),t.current=a}}function Rk(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&&kb(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 xk(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 Tk(e){var t=xk(e);switch(t.tag){case b:{var i=t.stateNode;t.flags&kt&&(hC(i),t.flags&=~kt);var a=pR(e);_S(e,a,i);break}case O:case U:{var o=t.stateNode.containerInfo,s=pR(e);LS(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 LS(e,t,i){var a=e.tag,o=a===b||a===L;if(o){var s=e.stateNode;t?Bw(i,s,t):Iw(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}}}function _S(e,t,i){var a=e.tag,o=a===b||a===L;if(o){var s=e.stateNode;t?jw(i,s,t):Vw(i,s)}else if(a!==U){var d=e.child;if(d!==null){_S(d,t,i);for(var y=d.sibling;y!==null;)_S(y,t,i),y=y.sibling}}}var pr=null,Ta=!1;function wk(e,t,i){{var a=t;e:for(;a!==null;){switch(a.tag){case b:{pr=a.stateNode,Ta=!1;break e}case O:{pr=a.stateNode.containerInfo,Ta=!0;break e}case U:{pr=a.stateNode.containerInfo,Ta=!0;break e}}a=a.return}if(pr===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),pr=null,Ta=!1}Rk(i)}function tu(e,t,i){for(var a=i.child;a!==null;)vR(e,t,a),a=a.sibling}function vR(e,t,i){switch(gl(i),i.tag){case b:dr||Df(i,t);case L:{{var a=pr,o=Ta;pr=null,tu(e,t,i),pr=a,Ta=o,pr!==null&&(Ta?Yw(pr,i.stateNode):$w(pr,i.stateNode))}return}case pe:{pr!==null&&(Ta?Qw(pr,i.stateNode):Bg(pr,i.stateNode));return}case U:{{var s=pr,d=Ta;pr=i.stateNode.containerInfo,Ta=!0,tu(e,t,i),pr=s,Ta=d}return}case k:case Q:case me:case ge:{if(!dr){var y=i.updateQueue;if(y!==null){var g=y.lastEffect;if(g!==null){var x=g.next,T=x;do{var z=T,N=z.destroy,Y=z.tag;N!==void 0&&((Y&Xa)!==yi?ny(i,t,N):(Y&Qn)!==yi&&(Mi(i),i.mode&tt?(el(),ny(i,t,N),Ja(i)):ny(i,t,N),yo())),T=T.next}while(T!==x)}}}tu(e,t,i);return}case w:{if(!dr){Df(i,t);var K=i.stateNode;typeof K.componentWillUnmount=="function"&&MS(i,t,K)}tu(e,t,i);return}case Ee:{tu(e,t,i);return}case ne:{if(i.mode&je){var q=dr;dr=q||i.memoizedState!==null,tu(e,t,i),dr=q}else tu(e,t,i);break}default:{tu(e,t,i);return}}}function bk(e){e.memoizedState}function Dk(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&&fb(s)}}}}function hR(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new ck),t.forEach(function(a){var o=xO.bind(null,e,a);if(!i.has(a)){if(i.add(a),Br)if(wf!==null&&bf!==null)Xp(bf,wf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");a.then(o,o)}})}}function kk(e,t,i){wf=i,bf=e,Nt(t),mR(t,e),Nt(t),wf=null,bf=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{wk(e,t,s)}catch(g){Yt(s,t,g)}}var d=$y();if(t.subtreeFlags&wr)for(var y=t.child;y!==null;)Nt(y),mR(y,e),y=y.sibling;Nt(d)}function mR(e,t,i){var a=e.alternate,o=e.flags;switch(e.tag){case k:case Q:case me:case ge:{if(wa(t,e),tl(e),o&ut){try{xa(Xa|Yn,e,e.return),eu(Xa|Yn,e)}catch(Je){Yt(e,e.return,Je)}if(e.mode&tt){try{el(),xa(Qn|Yn,e,e.return)}catch(Je){Yt(e,e.return,Je)}Ja(e)}else try{xa(Qn|Yn,e,e.return)}catch(Je){Yt(e,e.return,Je)}}return}case w:{wa(t,e),tl(e),o&Rr&&a!==null&&Df(a,a.return);return}case b:{wa(t,e),tl(e),o&Rr&&a!==null&&Df(a,a.return);{if(e.flags&kt){var s=e.stateNode;try{hC(s)}catch(Je){Yt(e,e.return,Je)}}if(o&ut){var d=e.stateNode;if(d!=null){var y=e.memoizedProps,g=a!==null?a.memoizedProps:y,x=e.type,T=e.updateQueue;if(e.updateQueue=null,T!==null)try{Hw(d,T,x,g,y,e)}catch(Je){Yt(e,e.return,Je)}}}}return}case L:{if(wa(t,e),tl(e),o&ut){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{Pw(z,Y,N)}catch(Je){Yt(e,e.return,Je)}}return}case O:{if(wa(t,e),tl(e),o&ut&&a!==null){var K=a.memoizedState;if(K.isDehydrated)try{cb(t.containerInfo)}catch(Je){Yt(e,e.return,Je)}}return}case U:{wa(t,e),tl(e);return}case le:{wa(t,e),tl(e);var q=e.child;if(q.flags&Fa){var Te=q.stateNode,Ke=q.memoizedState,Be=Ke!==null;if(Te.isHidden=Be,Be){var St=q.alternate!==null&&q.alternate.memoizedState!==null;St||uO()}}if(o&ut){try{bk(e)}catch(Je){Yt(e,e.return,Je)}hR(e)}return}case ne:{var mt=a!==null&&a.memoizedState!==null;if(e.mode&je){var I=dr;dr=I||mt,wa(t,e),dr=I}else wa(t,e);if(tl(e),o&Fa){var Z=e.stateNode,j=e.memoizedState,he=j!==null,ke=e;if(Z.isHidden=he,he&&!mt&&(ke.mode&je)!==Pe){Ae=ke;for(var we=ke.child;we!==null;)Ae=we,Mk(we),we=we.sibling}Ck(ke,he)}return}case Se:{wa(t,e),tl(e),o&ut&&hR(e);return}case Ee:return;default:{wa(t,e),tl(e);return}}}function tl(e){var t=e.flags;if(t&jt){try{Tk(e)}catch(i){Yt(e,e.return,i)}e.flags&=~jt}t&ii&&(e.flags&=~ii)}function Ok(e,t,i){wf=i,bf=t,Ae=e,yR(e,t,i),wf=null,bf=null}function yR(e,t,i){for(var a=(e.mode&je)!==Pe;Ae!==null;){var o=Ae,s=o.child;if(o.tag===ne&&a){var d=o.memoizedState!==null,y=d||ty;if(y){NS(e,t,i);continue}else{var g=o.alternate,x=g!==null&&g.memoizedState!==null,T=x||dr,z=ty,N=dr;ty=y,dr=T,dr&&!N&&(Ae=o,Lk(o));for(var Y=s;Y!==null;)Ae=Y,yR(Y,t,i),Y=Y.sibling;Ae=o,ty=z,dr=N,NS(e,t,i);continue}}(o.subtreeFlags&tr)!==We&&s!==null?(s.return=o,Ae=s):NS(e,t,i)}}function NS(e,t,i){for(;Ae!==null;){var a=Ae;if((a.flags&tr)!==We){var o=a.alternate;Nt(a);try{Sk(t,o,a,i)}catch(d){Yt(a,a.return,d)}Cn()}if(a===e){Ae=null;return}var s=a.sibling;if(s!==null){s.return=a.return,Ae=s;return}Ae=a.return}}function Mk(e){for(;Ae!==null;){var t=Ae,i=t.child;switch(t.tag){case k:case Q:case me:case ge:{if(t.mode&tt)try{el(),xa(Qn,t,t.return)}finally{Ja(t)}else xa(Qn,t,t.return);break}case w:{Df(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&MS(t,t.return,a);break}case b:{Df(t,t.return);break}case ne:{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 Lk(e){for(;Ae!==null;){var t=Ae,i=t.child;if(t.tag===ne){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;Nt(t);try{Ek(t)}catch(a){Yt(t,t.return,a)}if(Cn(),t===e){Ae=null;return}var i=t.sibling;if(i!==null){i.return=t.return,Ae=i;return}Ae=t.return}}function _k(e,t,i,a){Ae=t,Nk(t,e,i,a)}function Nk(e,t,i,a){for(;Ae!==null;){var o=Ae,s=o.child;(o.subtreeFlags&ai)!==We&&s!==null?(s.return=o,Ae=s):Ak(e,t,i,a)}}function Ak(e,t,i,a){for(;Ae!==null;){var o=Ae;if((o.flags&Wt)!==We){Nt(o);try{zk(t,o,i,a)}catch(d){Yt(o,o.return,d)}Cn()}if(o===e){Ae=null;return}var s=o.sibling;if(s!==null){s.return=o.return,Ae=s;return}Ae=o.return}}function zk(e,t,i,a){switch(t.tag){case k:case Q:case ge:{if(t.mode&tt){Z0();try{eu(cr|Yn,t)}finally{q0(t)}}else eu(cr|Yn,t);break}}}function Uk(e){Ae=e,Fk()}function Fk(){for(;Ae!==null;){var e=Ae,t=e.child;if((Ae.flags&Dt)!==We){var i=e.deletions;if(i!==null){for(var a=0;a<i.length;a++){var o=i[a];Ae=o,Vk(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)!==We&&t!==null?(t.return=e,Ae=t):Hk()}}function Hk(){for(;Ae!==null;){var e=Ae;(e.flags&Wt)!==We&&(Nt(e),Pk(e),Cn());var t=e.sibling;if(t!==null){t.return=e.return,Ae=t;return}Ae=e.return}}function Pk(e){switch(e.tag){case k:case Q:case ge:{e.mode&tt?(Z0(),xa(cr|Yn,e,e.return),q0(e)):xa(cr|Yn,e,e.return);break}}}function Vk(e,t){for(;Ae!==null;){var i=Ae;Nt(i),jk(i,t),Cn();var a=i.child;a!==null?(a.return=i,Ae=a):Ik(e)}}function Ik(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 jk(e,t){switch(e.tag){case k:case Q:case ge:{e.mode&tt?(Z0(),xa(cr,e,t),q0(e)):xa(cr,e,t);break}}}function Bk(e){switch(e.tag){case k:case Q:case ge:{try{eu(Qn|Yn,e)}catch(i){Yt(e,e.return,i)}break}case w:{var t=e.stateNode;try{t.componentDidMount()}catch(i){Yt(e,e.return,i)}break}}}function $k(e){switch(e.tag){case k:case Q:case ge:{try{eu(cr|Yn,e)}catch(t){Yt(e,e.return,t)}break}}}function Yk(e){switch(e.tag){case k:case Q:case ge:{try{xa(Qn|Yn,e,e.return)}catch(i){Yt(e,e.return,i)}break}case w:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&MS(e,e.return,t);break}}}function Qk(e){switch(e.tag){case k:case Q:case ge:try{xa(cr|Yn,e,e.return)}catch(t){Yt(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Pp=Symbol.for;Pp("selector.component"),Pp("selector.has_pseudo_class"),Pp("selector.role"),Pp("selector.test_id"),Pp("selector.text")}var Wk=[];function Gk(){Wk.forEach(function(e){return e()})}var Kk=v.ReactCurrentActQueue;function Xk(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&&Kk.current!==null&&m("The current testing environment is not configured to support act(...)"),e}}var qk=Math.ceil,AS=v.ReactCurrentDispatcher,zS=v.ReactCurrentOwner,vr=v.ReactCurrentBatchConfig,ba=v.ReactCurrentActQueue,Kn=0,CR=1,hr=2,qi=4,Vl=0,Vp=1,Cs=2,ry=3,Ip=4,RR=5,US=6,gt=Kn,Wr=null,dn=null,Xn=ie,nl=ie,FS=Yo(ie),qn=Vl,jp=null,iy=ie,Bp=ie,ay=ie,$p=null,gi=null,HS=0,xR=500,TR=1/0,Zk=500,Il=null;function Yp(){TR=Xt()+Zk}function wR(){return TR}var ly=!1,PS=null,kf=null,Rs=!1,nu=null,Qp=ie,VS=[],IS=null,Jk=50,Wp=0,jS=null,BS=!1,oy=!1,eO=50,Of=0,uy=null,Gp=It,sy=ie,bR=!1;function cy(){return Wr}function Gr(){return(gt&(hr|qi))!==Kn?Xt():(Gp!==It||(Gp=Xt()),Gp)}function ru(e){var t=e.mode;if((t&je)===Pe)return Ye;if((gt&hr)!==Kn&&Xn!==ie)return bo(Xn);var i=Kb()!==Gb;if(i){if(vr.transition!==null){var a=vr.transition;a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(e)}return sy===yn&&(sy=Rh()),sy}var o=ci();if(o!==yn)return o;var s=Nw();return s}function tO(e){var t=e.mode;return(t&je)===Pe?Ye:Or()}function Zn(e,t,i,a){wO(),bR&&m("useInsertionEffect must not schedule updates."),BS&&(oy=!0),bl(e,i,a),(gt&hr)!==ie&&e===Wr?kO(t):(Br&&zc(e,t,i),OO(t),e===Wr&&((gt&hr)===Kn&&(Bp=lt(Bp,i)),qn===Ip&&iu(e,Xn)),Si(e,a),i===Ye&>===Kn&&(t.mode&je)===Pe&&!ba.isBatchingLegacy&&(Yp(),bC()))}function nO(e,t,i){var a=e.current;a.lanes=t,bl(e,t,i),Si(e,i)}function rO(e){return(gt&hr)!==Kn}function Si(e,t){var i=e.callbackNode;yh(e,t);var a=Tl(e,e===Wr?Xn:ie);if(a===ie){i!==null&&jR(i),e.callbackNode=null,e.callbackPriority=yn;return}var o=sn(a),s=e.callbackPriority;if(s===o&&!(ba.current!==null&&i!==XS)){i==null&&s!==Ye&&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===Ye)e.tag===Qo?(ba.isBatchingLegacy!==null&&(ba.didScheduleLegacyUpdate=!0),Lb(OR.bind(null,e))):wC(OR.bind(null,e)),ba.current!==null?ba.current.push(Wo):zw(function(){(gt&(hr|qi))===Kn&&Wo()}),d=null;else{var y;switch($n(a)){case cn:y=uc;break;case da:y=yl;break;case ji:y=Ii;break;case Do:y=sc;break;default:y=Ii;break}d=qS(y,DR.bind(null,e))}e.callbackPriority=o,e.callbackNode=d}function DR(e,t){if(CD(),Gp=It,sy=ie,(gt&(hr|qi))!==Kn)throw new Error("Should not already be working.");var i=e.callbackNode,a=Bl();if(a&&e.callbackNode!==i)return null;var o=Tl(e,e===Wr?Xn:ie);if(o===ie)return null;var s=!Gu(e,o)&&!Ch(e,o)&&!t,d=s?pO(e,o):dy(e,o);if(d!==Vl){if(d===Cs){var y=ja(e);y!==ie&&(o=y,d=$S(e,y))}if(d===Vp){var g=jp;throw xs(e,ie),iu(e,o),Si(e,Xt()),g}if(d===US)iu(e,o);else{var x=!Gu(e,o),T=e.current.alternate;if(x&&!aO(T)){if(d=dy(e,o),d===Cs){var z=ja(e);z!==ie&&(o=z,d=$S(e,z))}if(d===Vp){var N=jp;throw xs(e,ie),iu(e,o),Si(e,Xt()),N}}e.finishedWork=T,e.finishedLanes=o,iO(e,d,o)}}return Si(e,Xt()),e.callbackNode===i?DR.bind(null,e):null}function $S(e,t){var i=$p;if(Uc(e)){var a=xs(e,t);a.flags|=rn,Tb(e.containerInfo)}var o=dy(e,t);if(o!==Cs){var s=gi;gi=i,s!==null&&kR(s)}return o}function kR(e){gi===null?gi=e:gi.push.apply(gi,e)}function iO(e,t,i){switch(t){case Vl:case Vp:throw new Error("Root did not complete. This is a bug in React.");case Cs:{Ts(e,gi,Il);break}case ry:{if(iu(e,i),gh(i)&&!BR()){var a=HS+xR-Xt();if(a>10){var o=Tl(e,ie);if(o!==ie)break;var s=e.suspendedLanes;if(!wl(s,i)){Gr(),Nc(e,s);break}e.timeoutHandle=Ig(Ts.bind(null,e,gi,Il),a);break}}Ts(e,gi,Il);break}case Ip:{if(iu(e,i),Eh(i))break;if(!BR()){var d=hh(e,i),y=d,g=Xt()-y,x=TO(g)-g;if(x>10){e.timeoutHandle=Ig(Ts.bind(null,e,gi,Il),x);break}}Ts(e,gi,Il);break}case RR:{Ts(e,gi,Il);break}default:throw new Error("Unknown root exit status.")}}function aO(e){for(var t=e;;){if(t.flags&Hu){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 g=t.child;if(t.subtreeFlags&Hu&&g!==null){g.return=t,t=g;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 iu(e,t){t=Ku(t,ay),t=Ku(t,Bp),Th(e,t)}function OR(e){if(RD(),(gt&(hr|qi))!==Kn)throw new Error("Should not already be working.");Bl();var t=Tl(e,ie);if(!Mr(t,Ye))return Si(e,Xt()),null;var i=dy(e,t);if(e.tag!==Qo&&i===Cs){var a=ja(e);a!==ie&&(t=a,i=$S(e,a))}if(i===Vp){var o=jp;throw xs(e,ie),iu(e,t),Si(e,Xt()),o}if(i===US)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,gi,Il),Si(e,Xt()),null}function lO(e,t){t!==ie&&(Hd(e,lt(t,Ye)),Si(e,Xt()),(gt&(hr|qi))===Kn&&(Yp(),Wo()))}function YS(e,t){var i=gt;gt|=CR;try{return e(t)}finally{gt=i,gt===Kn&&!ba.isBatchingLegacy&&(Yp(),bC())}}function oO(e,t,i,a,o){var s=ci(),d=vr.transition;try{return vr.transition=null,an(cn),e(t,i,a,o)}finally{an(s),vr.transition=d,gt===Kn&&Yp()}}function jl(e){nu!==null&&nu.tag===Qo&&(gt&(hr|qi))===Kn&&Bl();var t=gt;gt|=CR;var i=vr.transition,a=ci();try{return vr.transition=null,an(cn),e?e():void 0}finally{an(a),vr.transition=i,gt=t,(gt&(hr|qi))===Kn&&Wo()}}function MR(){return(gt&(hr|qi))!==Kn}function fy(e,t){Nr(FS,nl,e),nl=lt(nl,t)}function QS(e){nl=FS.current,_r(FS,e)}function xs(e,t){e.finishedWork=null,e.finishedLanes=ie;var i=e.timeoutHandle;if(i!==jg&&(e.timeoutHandle=jg,Aw(i)),dn!==null)for(var a=dn.return;a!==null;){var o=a.alternate;aR(o,a),a=a.return}Wr=e;var s=ws(e.current,null);return dn=s,Xn=nl=t,qn=Vl,jp=null,iy=ie,Bp=ie,ay=ie,$p=null,gi=null,nD(),ga.discardPendingWarnings(),s}function LR(e,t){do{var i=dn;try{if(Cm(),t1(),Cn(),zS.current=null,i===null||i.return===null){qn=Vp,jp=t,dn=null;return}if(Ie&&i.mode&tt&&Xm(i,!0),Me)if(Dr(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var a=t;Sl(i,a,Xn)}else Iu(i,t,Xn);LD(e,i.return,i,t,Xn),zR(i)}catch(o){t=o,dn===i&&i!==null?(i=i.return,dn=i):i=dn;continue}return}while(!0)}function _R(){var e=AS.current;return AS.current=Ym,e===null?Ym:e}function NR(e){AS.current=e}function uO(){HS=Xt()}function Kp(e){iy=lt(e,iy)}function sO(){qn===Vl&&(qn=ry)}function WS(){(qn===Vl||qn===ry||qn===Cs)&&(qn=Ip),Wr!==null&&(Wu(iy)||Wu(Bp))&&iu(Wr,Xn)}function cO(e){qn!==Ip&&(qn=Cs),$p===null?$p=[e]:$p.push(e)}function fO(){return qn===Vl}function dy(e,t){var i=gt;gt|=hr;var a=_R();if(Wr!==e||Xn!==t){if(Br){var o=e.memoizedUpdaters;o.size>0&&(Xp(e,Xn),o.clear()),Pd(e,t)}Il=qu(),xs(e,t)}Gt(t);do try{dO();break}catch(s){LR(e,s)}while(!0);if(Cm(),gt=i,NR(a),dn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return vc(),Wr=null,Xn=ie,qn}function dO(){for(;dn!==null;)AR(dn)}function pO(e,t){var i=gt;gt|=hr;var a=_R();if(Wr!==e||Xn!==t){if(Br){var o=e.memoizedUpdaters;o.size>0&&(Xp(e,Xn),o.clear()),Pd(e,t)}Il=qu(),Yp(),xs(e,t)}Gt(t);do try{vO();break}catch(s){LR(e,s)}while(!0);return Cm(),NR(a),gt=i,dn!==null?(pc(),Vl):(vc(),Wr=null,Xn=ie,qn)}function vO(){for(;dn!==null&&!oc();)AR(dn)}function AR(e){var t=e.alternate;Nt(e);var i;(e.mode&tt)!==Pe?(X0(e),i=GS(t,e,nl),Xm(e,!0)):i=GS(t,e,nl),Cn(),e.memoizedProps=e.pendingProps,i===null?zR(e):dn=i,zS.current=null}function zR(e){var t=e;do{var i=t.alternate,a=t.return;if((t.flags&Vr)===We){Nt(t);var o=void 0;if((t.mode&tt)===Pe?o=iR(i,t,nl):(X0(t),o=iR(i,t,nl),Xm(t,!1)),Cn(),o!==null){dn=o;return}}else{var s=sk(i,t);if(s!==null){s.flags&=ih,dn=s;return}if((t.mode&tt)!==Pe){Xm(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=We,a.deletions=null;else{qn=US,dn=null;return}}var g=t.sibling;if(g!==null){dn=g;return}t=a,dn=t}while(t!==null);qn===Vl&&(qn=RR)}function Ts(e,t,i){var a=ci(),o=vr.transition;try{vr.transition=null,an(cn),hO(e,t,i,a)}finally{vr.transition=o,an(a)}return null}function hO(e,t,i,a){do Bl();while(nu!==null);if(bO(),(gt&(hr|qi))!==Kn)throw new Error("Should not already be working.");var o=e.finishedWork,s=e.finishedLanes;if(Pa(s),o===null)return cc(),null;if(s===ie&&m("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ie,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=yn;var d=lt(o.lanes,o.childLanes);Ac(e,d),e===Wr&&(Wr=null,dn=null,Xn=ie),((o.subtreeFlags&ai)!==We||(o.flags&ai)!==We)&&(Rs||(Rs=!0,IS=i,qS(Ii,function(){return Bl(),null})));var y=(o.subtreeFlags&(po|wr|tr|ai))!==We,g=(o.flags&(po|wr|tr|ai))!==We;if(y||g){var x=vr.transition;vr.transition=null;var T=ci();an(cn);var z=gt;gt|=qi,zS.current=null,vk(e,o),b1(),kk(e,o,s),Dw(e.containerInfo),e.current=o,Md(s),Ok(o,e,s),go(),oh(),gt=z,an(T),vr.transition=x}else e.current=o,b1();var N=Rs;if(Rs?(Rs=!1,nu=e,Qp=s):(Of=0,uy=null),d=e.pendingLanes,d===ie&&(kf=null),N||PR(e.current,!1),ho(o.stateNode,a),Br&&e.memoizedUpdaters.clear(),Gk(),Si(e,Xt()),t!==null)for(var Y=e.onRecoverableError,K=0;K<t.length;K++){var q=t[K],Te=q.stack,Ke=q.digest;Y(q.value,{componentStack:Te,digest:Ke})}if(ly){ly=!1;var Be=PS;throw PS=null,Be}return Mr(Qp,Ye)&&e.tag!==Qo&&Bl(),d=e.pendingLanes,Mr(d,Ye)?(ED(),e===jS?Wp++:(Wp=0,jS=e)):Wp=0,Wo(),cc(),null}function Bl(){if(nu!==null){var e=$n(Qp),t=dg(ji,e),i=vr.transition,a=ci();try{return vr.transition=null,an(t),yO()}finally{an(a),vr.transition=i}}return!1}function mO(e){VS.push(e),Rs||(Rs=!0,qS(Ii,function(){return Bl(),null}))}function yO(){if(nu===null)return!1;var e=IS;IS=null;var t=nu,i=Qp;if(nu=null,Qp=ie,(gt&(hr|qi))!==Kn)throw new Error("Cannot flush passive effects while already rendering.");BS=!0,oy=!1,ph(i);var a=gt;gt|=qi,Uk(t.current),_k(t,t.current,i,e);{var o=VS;VS=[];for(var s=0;s<o.length;s++){var d=o[s];gk(t,d)}}Ld(),PR(t.current,!0),gt=a,Wo(),oy?t===uy?Of++:(Of=0,uy=t):Of=0,BS=!1,oy=!1,ui(t);{var y=t.current.stateNode;y.effectDuration=0,y.passiveEffectDuration=0}return!0}function UR(e){return kf!==null&&kf.has(e)}function gO(e){kf===null?kf=new Set([e]):kf.add(e)}function SO(e){ly||(ly=!0,PS=e)}var EO=SO;function FR(e,t,i){var a=Ss(i,t),o=A1(e,a,Ye),s=Ko(e,o,Ye),d=Gr();s!==null&&(bl(s,Ye,d),Si(s,d))}function Yt(e,t,i){if(fk(i),qp(!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=vS(a,d,Ye),g=Ko(a,y,Ye),x=Gr();g!==null&&(bl(g,Ye,x),Si(g,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.
|
|
148
|
-
|
|
149
|
-
Error message:
|
|
150
|
-
|
|
151
|
-
%s`,i)}function CO(e,t,i){var a=e.pingCache;a!==null&&a.delete(t);var o=Gr();Nc(e,i),MO(e),Wr===e&&wl(Xn,i)&&(qn===Ip||qn===ry&&gh(Xn)&&Xt()-HS<xR?xs(e,ie):ay=lt(ay,i)),Si(e,o)}function HR(e,t){t===yn&&(t=tO(e));var i=Gr(),a=mi(e,t);a!==null&&(bl(a,t,i),Si(a,i))}function RO(e){var t=e.memoizedState,i=yn;t!==null&&(i=t.retryLane),HR(e,i)}function xO(e,t){var i=yn,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 TO(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:qk(e/1960)*1960}function wO(){if(Wp>Jk)throw Wp=0,jS=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.");Of>eO&&(Of=0,uy=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 bO(){ga.flushLegacyContextWarning(),ga.flushPendingUnsafeLifecycleWarnings()}function PR(e,t){Nt(e),py(e,Tr,Yk),t&&py(e,ml,Qk),py(e,Tr,Bk),t&&py(e,ml,$k),Cn()}function py(e,t,i){for(var a=e,o=null;a!==null;){var s=a.subtreeFlags&t;a!==o&&a.child!==null&&s!==We?a=a.child:((a.flags&t)!==We&&i(a),a.sibling!==null?a=a.sibling:a=o=a.return)}}var vy=null;function VR(e){{if((gt&hr)!==Kn||!(e.mode&je))return;var t=e.tag;if(t!==F&&t!==O&&t!==w&&t!==k&&t!==Q&&t!==me&&t!==ge)return;var i=at(e)||"ReactComponent";if(vy!==null){if(vy.has(i))return;vy.add(i)}else vy=new Set([i]);var a=vn;try{Nt(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?Nt(e):Cn()}}}var GS;{var DO=null;GS=function(e,t,i){var a=GR(DO,t);try{return J1(e,t,i)}catch(s){if(Pb()||s!==null&&typeof s=="object"&&typeof s.then=="function")throw s;if(Cm(),t1(),aR(e,t),GR(t,a),t.mode&tt&&X0(t),hl(null,J1,null,e,t,i),og()){var o=Cd();typeof o=="object"&&o!==null&&o._suppressLogging&&typeof s=="object"&&s!==null&&!s._suppressLogging&&(s._suppressLogging=!0)}throw s}}}var IR=!1,KS;KS=new Set;function kO(e){if(Jr&&!yD())switch(e.tag){case k:case Q:case ge:{var t=dn&&at(dn)||"Unknown",i=t;if(!KS.has(i)){KS.add(i);var a=at(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 Xp(e,t){if(Br){var i=e.memoizedUpdaters;i.forEach(function(a){zc(e,a,t)})}}var XS={};function qS(e,t){{var i=ba.current;return i!==null?(i.push(t),XS):lc(e,t)}}function jR(e){if(e!==XS)return lh(e)}function BR(){return ba.current!==null}function OO(e){{if(e.mode&je){if(!ER())return}else if(!Xk()||gt!==Kn||e.tag!==k&&e.tag!==Q&&e.tag!==ge)return;if(ba.current===null){var t=vn;try{Nt(e),m(`An update to %s inside a test was not wrapped in act(...).
|
|
152
|
-
|
|
153
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
154
|
-
|
|
155
|
-
act(() => {
|
|
156
|
-
/* fire events that update state */
|
|
157
|
-
});
|
|
158
|
-
/* assert on the output */
|
|
159
|
-
|
|
160
|
-
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`,at(e))}finally{t?Nt(e):Cn()}}}}function MO(e){e.tag!==Qo&&ER()&&ba.current===null&&m(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
161
|
-
|
|
162
|
-
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
163
|
-
|
|
164
|
-
act(() => {
|
|
165
|
-
/* finish loading suspended data */
|
|
166
|
-
});
|
|
167
|
-
/* assert on the output */
|
|
168
|
-
|
|
169
|
-
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 qp(e){bR=e}var Zi=null,Mf=null,LO=function(e){Zi=e};function Lf(e){{if(Zi===null)return e;var t=Zi(e);return t===void 0?e:t.current}}function ZS(e){return Lf(e)}function JS(e){{if(Zi===null)return e;var t=Zi(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var i=Lf(e.render);if(e.render!==i){var a={$$typeof:Zl,render:i};return e.displayName!==void 0&&(a.displayName=e.displayName),a}}return e}return t.current}}function $R(e,t){{if(Zi===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 k:{(typeof a=="function"||s===lr)&&(o=!0);break}case Q:{(s===Zl||s===lr)&&(o=!0);break}case me:case ge:{(s===Jl||s===lr)&&(o=!0);break}default:return!1}if(o){var d=Zi(i);if(d!==void 0&&d===Zi(a))return!0}return!1}}function YR(e){{if(Zi===null||typeof WeakSet!="function")return;Mf===null&&(Mf=new WeakSet),Mf.add(e)}}var _O=function(e,t){{if(Zi===null)return;var i=t.staleFamilies,a=t.updatedFamilies;Bl(),jl(function(){eE(e.current,a,i)})}},NO=function(e,t){{if(e.context!==Li)return;Bl(),jl(function(){Zp(t,e,null,null)})}};function eE(e,t,i){{var a=e.alternate,o=e.child,s=e.sibling,d=e.tag,y=e.type,g=null;switch(d){case k:case ge:case w:g=y;break;case Q:g=y.render;break}if(Zi===null)throw new Error("Expected resolveFamily to be set during hot reload.");var x=!1,T=!1;if(g!==null){var z=Zi(g);z!==void 0&&(i.has(z)?T=!0:t.has(z)&&(d===w?T=!0:x=!0))}if(Mf!==null&&(Mf.has(e)||a!==null&&Mf.has(a))&&(T=!0),T&&(e._debugNeedsRemount=!0),T||x){var N=mi(e,Ye);N!==null&&Zn(N,e,Ye,It)}o!==null&&!T&&eE(o,t,i),s!==null&&eE(s,t,i)}}var AO=function(e,t){{var i=new Set,a=new Set(t.map(function(o){return o.current}));return tE(e.current,a,i),i}};function tE(e,t,i){{var a=e.child,o=e.sibling,s=e.tag,d=e.type,y=null;switch(s){case k:case ge:case w:y=d;break;case Q:y=d.render;break}var g=!1;y!==null&&t.has(y)&&(g=!0),g?zO(e,i):a!==null&&tE(a,t,i),o!==null&&tE(o,t,i)}}function zO(e,t){{var i=UO(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 UO(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 nE;{nE=!1;try{var QR=Object.preventExtensions({})}catch{nE=!0}}function FO(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=We,this.subtreeFlags=We,this.deletions=null,this.lanes=ie,this.childLanes=ie,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,!nE&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var _i=function(e,t,i,a){return new FO(e,t,i,a)};function rE(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function HO(e){return typeof e=="function"&&!rE(e)&&e.defaultProps===void 0}function PO(e){if(typeof e=="function")return rE(e)?w:k;if(e!=null){var t=e.$$typeof;if(t===Zl)return Q;if(t===Jl)return me}return F}function ws(e,t){var i=e.alternate;i===null?(i=_i(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=We,i.subtreeFlags=We,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 k:case ge:i.type=Lf(e.type);break;case w:i.type=ZS(e.type);break;case Q:i.type=JS(e.type);break}return i}function VO(e,t){e.flags&=jn|jt;var i=e.alternate;if(i===null)e.childLanes=ie,e.lanes=t,e.child=null,e.subtreeFlags=We,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=We,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 IO(e,t,i){var a;return e===fm?(a=je,t===!0&&(a|=ft,a|=$r)):a=Pe,Br&&(a|=tt),_i(O,null,null,a)}function iE(e,t,i,a,o,s){var d=F,y=e;if(typeof e=="function")rE(e)?(d=w,y=ZS(y)):y=Lf(y);else if(typeof e=="string")d=b;else e:switch(e){case Ji:return au(i.children,o,s,t);case ql:d=te,o|=ft,(o&je)!==Pe&&(o|=$r);break;case vu:return jO(i,o,s,t);case Hi:return BO(i,o,s,t);case hu:return $O(i,o,s,t);case Bf:return WR(i,o,s,t);case hv:case pv:case Py:case Vy:case vv:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case If:d=oe;break e;case jf:d=de;break e;case Zl:d=Q,y=JS(y);break e;case Jl:d=me;break e;case lr:d=Ue,y=null;break e}var g="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(g+=" 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?at(a):null;x&&(g+=`
|
|
170
|
-
|
|
171
|
-
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)+"."+g))}}var T=_i(d,i,t,o);return T.elementType=e,T.type=y,T.lanes=s,T._debugOwner=a,T}function aE(e,t,i){var a=null;a=e._owner;var o=e.type,s=e.key,d=e.props,y=iE(o,s,d,a,t,i);return y._debugSource=e._source,y._debugOwner=e._owner,y}function au(e,t,i,a){var o=_i(P,e,a,t);return o.lanes=i,o}function jO(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=_i(J,e,a,t|tt);return o.elementType=vu,o.lanes=i,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}function BO(e,t,i,a){var o=_i(le,e,a,t);return o.elementType=Hi,o.lanes=i,o}function $O(e,t,i,a){var o=_i(Se,e,a,t);return o.elementType=hu,o.lanes=i,o}function WR(e,t,i,a){var o=_i(ne,e,a,t);o.elementType=Bf,o.lanes=i;var s={isHidden:!1};return o.stateNode=s,o}function lE(e,t,i){var a=_i(L,e,null,t);return a.lanes=i,a}function YO(){var e=_i(b,null,null,Pe);return e.elementType="DELETED",e}function QO(e){var t=_i(pe,null,null,Pe);return t.stateNode=e,t}function oE(e,t,i){var a=e.children!==null?e.children:[],o=_i(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=_i(F,null,null,Pe)),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 WO(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=jg,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=yn,this.eventTimes=Xu(ie),this.expirationTimes=Xu(It),this.pendingLanes=ie,this.suspendedLanes=ie,this.pingedLanes=ie,this.expiredLanes=ie,this.mutableReadLanes=ie,this.finishedLanes=ie,this.entangledLanes=ie,this.entanglements=Xu(ie),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<$u;d++)s.push(new Set)}switch(t){case fm:this._debugRootType=i?"hydrateRoot()":"createRoot()";break;case Qo:this._debugRootType=i?"hydrate()":"render()";break}}function KR(e,t,i,a,o,s,d,y,g,x){var T=new WO(e,t,i,y,g),z=IO(t,s);T.current=z,z.stateNode=T;{var N={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null};z.memoizedState=N}return E0(z),T}var uE="18.3.1";function GO(e,t,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return bt(a),{$$typeof:xi,key:a==null?null:""+a,children:e,containerInfo:t,implementation:i}}var sE,cE;sE=!1,cE={};function XR(e){if(!e)return Li;var t=ni(e),i=Mb(t);if(t.tag===w){var a=t.type;if(Ka(a))return xC(t,a,i)}return i}function KO(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&ft){var s=at(i)||"Component";if(!cE[s]){cE[s]=!0;var d=vn;try{Nt(o),i.mode&ft?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?Nt(d):Cn()}}}return o.stateNode}}function qR(e,t,i,a,o,s,d,y){var g=!1,x=null;return KR(e,t,g,x,i,a,o,s,d)}function ZR(e,t,i,a,o,s,d,y,g,x){var T=!0,z=KR(i,a,T,e,o,s,d,y,g);z.context=XR(null);var N=z.current,Y=Gr(),K=ru(N),q=Hl(Y,K);return q.callback=t??null,Ko(N,q,K),nO(z,K,Y),z}function Zp(e,t,i,a){Od(t,e);var o=t.current,s=Gr(),d=ru(o);_d(d);var y=XR(i);t.context===null?t.context=y:t.pendingContext=y,Jr&&vn!==null&&!sE&&(sE=!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.
|
|
172
|
-
|
|
173
|
-
Check the render method of %s.`,at(vn)||"Unknown"));var g=Hl(s,d);g.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),g.callback=a);var x=Ko(o,g,d);return x!==null&&(Zn(x,o,d,s),bm(x,o,d)),d}function hy(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 XO(e){switch(e.tag){case O:{var t=e.stateNode;if(Uc(t)){var i=zd(t);lO(t,i)}break}case le:{jl(function(){var o=mi(e,Ye);if(o!==null){var s=Gr();Zn(o,e,Ye,s)}});var a=Ye;fE(e,a);break}}}function JR(e,t){var i=e.memoizedState;i!==null&&i.dehydrated!==null&&(i.retryLane=xh(i.retryLane,t))}function fE(e,t){JR(e,t);var i=e.alternate;i&&JR(i,t)}function qO(e){if(e.tag===le){var t=Qu,i=mi(e,t);if(i!==null){var a=Gr();Zn(i,e,t,a)}fE(e,t)}}function ZO(e){if(e.tag===le){var t=ru(e),i=mi(e,t);if(i!==null){var a=Gr();Zn(i,e,t,a)}fE(e,t)}}function ex(e){var t=ah(e);return t===null?null:t.stateNode}var tx=function(e){return null};function JO(e){return tx(e)}var nx=function(e){return!1};function eM(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=Mn(e)?e.slice():vt({},e);return i+1===t.length?(Mn(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=Mn(e)?e.slice():vt({},e);if(a+1===t.length){var d=i[a];s[d]=s[o],Mn(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=Mn(e)?e.slice():vt({},e);return s[o]=mx(e[o],t,i+1,a),s},yx=function(e,t,i){return mx(e,t,0,i)},dE=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=dE(e,t);if(o!==null){var s=yx(o.memoizedState,i,a);o.memoizedState=s,o.baseState=s,e.memoizedProps=vt({},e.memoizedProps);var d=mi(e,Ye);d!==null&&Zn(d,e,Ye,It)}},ix=function(e,t,i){var a=dE(e,t);if(a!==null){var o=px(a.memoizedState,i);a.memoizedState=o,a.baseState=o,e.memoizedProps=vt({},e.memoizedProps);var s=mi(e,Ye);s!==null&&Zn(s,e,Ye,It)}},ax=function(e,t,i,a){var o=dE(e,t);if(o!==null){var s=hx(o.memoizedState,i,a);o.memoizedState=s,o.baseState=s,e.memoizedProps=vt({},e.memoizedProps);var d=mi(e,Ye);d!==null&&Zn(d,e,Ye,It)}},lx=function(e,t,i){e.pendingProps=yx(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=mi(e,Ye);a!==null&&Zn(a,e,Ye,It)},ox=function(e,t){e.pendingProps=px(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=mi(e,Ye);i!==null&&Zn(i,e,Ye,It)},ux=function(e,t,i){e.pendingProps=hx(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=mi(e,Ye);a!==null&&Zn(a,e,Ye,It)},sx=function(e){var t=mi(e,Ye);t!==null&&Zn(t,e,Ye,It)},cx=function(e){tx=e},fx=function(e){nx=e}}function tM(e){var t=li(e);return t===null?null:t.stateNode}function nM(e){return null}function rM(){return vn}function iM(e){var t=e.findFiberByHostInstance,i=v.ReactCurrentDispatcher;return kd({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:tM,findFiberByHostInstance:t||nM,findHostInstancesForRefresh:AO,scheduleRefresh:_O,scheduleRoot:NO,setRefreshHandler:LO,getCurrentFiber:rM,reconcilerVersion:uE})}var gx=typeof reportError=="function"?reportError:function(e){console.error(e)};function pE(e){this._internalRoot=e}my.prototype.render=pE.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()."):yy(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!==hn){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.")}}Zp(e,t,null,null)},my.prototype.unmount=pE.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."),jl(function(){Zp(null,e,null,null)}),gC(t)}};function aM(e,t){if(!yy(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===Xl&&m(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
174
|
-
|
|
175
|
-
let root = createRoot(domContainer);
|
|
176
|
-
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,fm,null,i,a,o,s);im(d.current,e);var y=e.nodeType===hn?e.parentNode:e;return ip(y),new pE(d)}function my(e){this._internalRoot=e}function lM(e){e&&hg(e)}my.prototype.unstable_scheduleHydration=lM;function oM(e,t,i){if(!yy(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="",g=gx;i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(y=i.identifierPrefix),i.onRecoverableError!==void 0&&(g=i.onRecoverableError));var x=ZR(t,null,e,fm,a,s,d,y,g);if(im(x.current,e),ip(e),o)for(var T=0;T<o.length;T++){var z=o[T];fD(x,z)}return new my(x)}function yy(e){return!!(e&&(e.nodeType===Cr||e.nodeType===Di||e.nodeType===sl||!nt))}function Jp(e){return!!(e&&(e.nodeType===Cr||e.nodeType===Di||e.nodeType===sl||e.nodeType===hn&&e.nodeValue===" react-mount-point-unstable "))}function Sx(e){e.nodeType===Cr&&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."),hp(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 uM=v.ReactCurrentOwner,Ex;Ex=function(e){if(e._reactRootContainer&&e.nodeType!==hn){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=vE(e),o=!!(a&&$o(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===Cr&&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 vE(e){return e?e.nodeType===Di?e.documentElement:e.firstChild:null}function Cx(){}function sM(e,t,i,a,o){if(o){if(typeof a=="function"){var s=a;a=function(){var N=hy(d);s.call(N)}}var d=ZR(t,a,e,Qo,null,!1,!1,"",Cx);e._reactRootContainer=d,im(d.current,e);var y=e.nodeType===hn?e.parentNode:e;return ip(y),jl(),d}else{for(var g;g=e.lastChild;)e.removeChild(g);if(typeof a=="function"){var x=a;a=function(){var N=hy(T);x.call(N)}}var T=qR(e,Qo,null,!1,!1,"",Cx);e._reactRootContainer=T,im(T.current,e);var z=e.nodeType===hn?e.parentNode:e;return ip(z),jl(function(){Zp(t,T,i,a)}),T}}function cM(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 gy(e,t,i,a,o){Ex(i),cM(o===void 0?null:o,"render");var s=i._reactRootContainer,d;if(!s)d=sM(i,t,e,o,a);else{if(d=s,typeof o=="function"){var y=o;o=function(){var g=hy(d);y.call(g)}}Zp(t,d,e,o)}return hy(d)}var Rx=!1;function fM(e){{Rx||(Rx=!0,m("findDOMNode is deprecated and will be removed in the next major release. 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"));var t=uM.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.",_t(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Cr?e:KO(e,"findDOMNode")}function dM(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"),!Jp(t))throw new Error("Target container is not a DOM element.");{var a=hp(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 gy(null,e,t,!0,i)}function pM(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"),!Jp(t))throw new Error("Target container is not a DOM element.");{var a=hp(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 gy(null,e,t,!1,i)}function vM(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"),!Jp(i))throw new Error("Target container is not a DOM element.");if(e==null||!Fu(e))throw new Error("parentComponent must be a valid React Component");return gy(e,t,i,!1,a)}var xx=!1;function hM(e){if(xx||(xx=!0,m("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Jp(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=hp(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=vE(e),a=i&&!$o(i);a&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return jl(function(){gy(null,null,e,!1,function(){e._reactRootContainer=null,gC(e)})}),!0}else{{var o=vE(e),s=!!(o&&$o(o)),d=e.nodeType===Cr&&Jp(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}}Mo(XO),pg(qO),Hc(ZO),bh(ci),Dh(ir),(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"),nh(yw),tc(YS,oO,jl);function mM(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!yy(t))throw new Error("Target container is not a DOM element.");return GO(e,t,null,i)}function yM(e,t,i,a){return vM(e,t,i,a)}var hE={usingClientEntryPoint:!1,Events:[$o,uf,am,ec,Au,YS]};function gM(e,t){return hE.usingClientEntryPoint||m('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),aM(e,t)}function SM(e,t,i){return hE.usingClientEntryPoint||m('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),oM(e,t,i)}function EM(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."),jl(e)}var CM=iM({findFiberByHostInstance:cs,bundleType:1,version:uE,rendererPackageName:"react-dom"});if(!CM&&Pt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var Tx=window.location.protocol;/^(https?|file):$/.test(Tx)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(Tx==="file:"?`
|
|
177
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Ci.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=hE,Ci.createPortal=mM,Ci.createRoot=gM,Ci.findDOMNode=fM,Ci.flushSync=EM,Ci.hydrate=dM,Ci.hydrateRoot=SM,Ci.render=pM,Ci.unmountComponentAtNode=hM,Ci.unstable_batchedUpdates=YS,Ci.unstable_renderSubtreeIntoContainer=yM,Ci.version=uE,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ci}function hT(){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(hT)}catch(f){console.error(f)}}}process.env.NODE_ENV==="production"?(hT(),ME.exports=aL()):ME.exports=lL();var mT=ME.exports;function Lx(f,p,v){let{reference:S,floating:C}=f;const R=fu(p),m=PE(p),M=HE(m),k=Gl(p),w=R==="y",F=S.x+S.width/2-C.width/2,O=S.y+S.height/2-C.height/2,U=S[M]/2-C[M]/2;let b;switch(k){case"top":b={x:F,y:S.y-C.height};break;case"bottom":b={x:F,y:S.y+S.height};break;case"right":b={x:S.x+S.width,y:O};break;case"left":b={x:S.x-C.width,y:O};break;default:b={x:S.x,y:S.y}}switch(Hf(p)){case"start":b[m]-=U*(v&&w?-1:1);break;case"end":b[m]+=U*(v&&w?-1:1);break}return b}const oL=async(f,p,v)=>{const{placement:S="bottom",strategy:C="absolute",middleware:R=[],platform:m}=v,M=R.filter(Boolean),k=await(m.isRTL==null?void 0:m.isRTL(p));let w=await m.getElementRects({reference:f,floating:p,strategy:C}),{x:F,y:O}=Lx(w,S,k),U=S,b={},L=0;for(let P=0;P<M.length;P++){const{name:te,fn:de}=M[P],{x:oe,y:Q,data:J,reset:le}=await de({x:F,y:O,initialPlacement:S,placement:U,strategy:C,middlewareData:b,rects:w,platform:m,elements:{reference:f,floating:p}});F=oe??F,O=Q??O,b={...b,[te]:{...b[te],...J}},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}=Lx(w,U,k)),P=-1)}return{x:F,y:O,placement:U,strategy:C,middlewareData:b}};async function VE(f,p){var v;p===void 0&&(p={});const{x:S,y:C,platform:R,rects:m,elements:M,strategy:k}=f,{boundary:w="clippingAncestors",rootBoundary:F="viewport",elementContext:O="floating",altBoundary:U=!1,padding:b=0}=cu(p,f),L=sT(b),te=M[U?O==="floating"?"reference":"floating":O],de=Oy(await R.getClippingRect({element:(v=await(R.isElement==null?void 0:R.isElement(te)))==null||v?te:te.contextElement||await(R.getDocumentElement==null?void 0:R.getDocumentElement(M.floating)),boundary:w,rootBoundary:F,strategy:k})),oe=O==="floating"?{x:S,y:C,width:m.floating.width,height:m.floating.height}:m.reference,Q=await(R.getOffsetParent==null?void 0:R.getOffsetParent(M.floating)),J=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=Oy(R.convertOffsetParentRelativeRectToViewportRelativeRect?await R.convertOffsetParentRelativeRectToViewportRelativeRect({elements:M,rect:oe,offsetParent:Q,strategy:k}):oe);return{top:(de.top-le.top+L.top)/J.y,bottom:(le.bottom-de.bottom+L.bottom)/J.y,left:(de.left-le.left+L.left)/J.x,right:(le.right-de.right+L.right)/J.x}}const uL=f=>({name:"arrow",options:f,async fn(p){const{x:v,y:S,placement:C,rects:R,platform:m,elements:M,middlewareData:k}=p,{element:w,padding:F=0}=cu(f,p)||{};if(w==null)return{};const O=sT(F),U={x:v,y:S},b=PE(C),L=HE(b),P=await m.getDimensions(w),te=b==="y",de=te?"top":"left",oe=te?"bottom":"right",Q=te?"clientHeight":"clientWidth",J=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=J/2-le/2,$e=ge/2-P[L]/2-1,pe=il(O[de],$e),Se=il(O[oe],$e),Ee=pe,ne=ge-P[L]-Se,G=ge/2-P[L]/2+Ue,ce=DE(Ee,G,ne),re=!k.arrow&&Hf(C)!=null&&G!==ce&&R.reference[L]/2-(G<Ee?pe:Se)-P[L]/2<0,ue=re?G<Ee?G-Ee:G-ne:0;return{[b]:U[b]+ue,data:{[b]:ce,centerOffset:G-ce-ue,...re&&{alignmentOffset:ue}},reset:re}}}),sL=function(f){return f===void 0&&(f={}),{name:"flip",options:f,async fn(p){var v,S;const{placement:C,middlewareData:R,rects:m,initialPlacement:M,platform:k,elements:w}=p,{mainAxis:F=!0,crossAxis:O=!0,fallbackPlacements:U,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:L="none",flipAlignment:P=!0,...te}=cu(f,p);if((v=R.arrow)!=null&&v.alignmentOffset)return{};const de=Gl(C),oe=fu(M),Q=Gl(M)===M,J=await(k.isRTL==null?void 0:k.isRTL(w.floating)),le=U||(Q||!P?[ky(M)]:AM(M)),me=L!=="none";!U&&me&&le.push(...UM(M,P,L,J));const ge=[M,...le],Ue=await VE(p,te),$e=[];let pe=((S=R.flip)==null?void 0:S.overflows)||[];if(F&&$e.push(Ue[de]),O){const G=NM(C,m,J);$e.push(Ue[G[0]],Ue[G[1]])}if(pe=[...pe,{placement:C,overflows:$e}],!$e.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 re=(Ee=pe.filter(ue=>ue.overflows[0]<=0).sort((ue,X)=>ue.overflows[1]-X.overflows[1])[0])==null?void 0:Ee.placement;if(!re)switch(b){case"bestFit":{var ne;const ue=(ne=pe.filter(X=>{if(me){const fe=fu(X.placement);return fe===oe||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:ne[0];ue&&(re=ue);break}case"initialPlacement":re=M;break}if(C!==re)return{reset:{placement:re}}}return{}}}};async function cL(f,p){const{placement:v,platform:S,elements:C}=f,R=await(S.isRTL==null?void 0:S.isRTL(C.floating)),m=Gl(v),M=Hf(v),k=fu(v)==="y",w=["left","top"].includes(m)?-1:1,F=R&&k?-1:1,O=cu(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),k?{x:b*F,y:U*w}:{x:U*w,y:b*F}}const fL=function(f){return f===void 0&&(f=0),{name:"offset",options:f,async fn(p){var v,S;const{x:C,y:R,placement:m,middlewareData:M}=p,k=await cL(p,f);return m===((v=M.offset)==null?void 0:v.placement)&&(S=M.arrow)!=null&&S.alignmentOffset?{}:{x:C+k.x,y:R+k.y,data:{...k,placement:m}}}}},dL=function(f){return f===void 0&&(f={}),{name:"shift",options:f,async fn(p){const{x:v,y:S,placement:C}=p,{mainAxis:R=!0,crossAxis:m=!1,limiter:M={fn:te=>{let{x:de,y:oe}=te;return{x:de,y:oe}}},...k}=cu(f,p),w={x:v,y:S},F=await VE(p,k),O=fu(Gl(C)),U=FE(O);let b=w[U],L=w[O];if(R){const te=U==="y"?"top":"left",de=U==="y"?"bottom":"right",oe=b+F[te],Q=b-F[de];b=DE(oe,b,Q)}if(m){const te=O==="y"?"top":"left",de=O==="y"?"bottom":"right",oe=L+F[te],Q=L-F[de];L=DE(oe,L,Q)}const P=M.fn({...p,[U]:b,[O]:L});return{...P,data:{x:P.x-v,y:P.y-S}}}}},pL=function(f){return f===void 0&&(f={}),{options:f,fn(p){const{x:v,y:S,placement:C,rects:R,middlewareData:m}=p,{offset:M=0,mainAxis:k=!0,crossAxis:w=!0}=cu(f,p),F={x:v,y:S},O=fu(C),U=FE(O);let b=F[U],L=F[O];const P=cu(M,p),te=typeof P=="number"?{mainAxis:P,crossAxis:0}:{mainAxis:0,crossAxis:0,...P};if(k){const Q=U==="y"?"height":"width",J=R.reference[U]-R.floating[Q]+te.mainAxis,le=R.reference[U]+R.reference[Q]-te.mainAxis;b<J?b=J:b>le&&(b=le)}if(w){var de,oe;const Q=U==="y"?"width":"height",J=["top","left"].includes(Gl(C)),le=R.reference[O]-R.floating[Q]+(J&&((de=m.offset)==null?void 0:de[O])||0)+(J?0:te.crossAxis),me=R.reference[O]+R.reference[Q]+(J?0:((oe=m.offset)==null?void 0:oe[O])||0)-(J?te.crossAxis:0);L<le?L=le:L>me&&(L=me)}return{[U]:b,[O]:L}}}},vL=function(f){return f===void 0&&(f={}),{name:"size",options:f,async fn(p){const{placement:v,rects:S,platform:C,elements:R}=p,{apply:m=()=>{},...M}=cu(f,p),k=await VE(p,M),w=Gl(v),F=Hf(v),O=fu(v)==="y",{width:U,height:b}=S.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 te=b-k.top-k.bottom,de=U-k.left-k.right,oe=il(b-k[L],te),Q=il(U-k[P],de),J=!p.middlewareData.shift;let le=oe,me=Q;if(O?me=F||J?il(Q,de):de:le=F||J?il(oe,te):te,J&&!F){const Ue=Ai(k.left,0),$e=Ai(k.right,0),pe=Ai(k.top,0),Se=Ai(k.bottom,0);O?me=U-2*(Ue!==0||$e!==0?Ue+$e:Ai(k.left,k.right)):le=b-2*(pe!==0||Se!==0?pe+Se:Ai(k.top,k.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 yT(f){const p=Ui(f);let v=parseFloat(p.width)||0,S=parseFloat(p.height)||0;const C=Hn(f),R=C?f.offsetWidth:v,m=C?f.offsetHeight:S,M=Dy(v)!==R||Dy(S)!==m;return M&&(v=R,S=m),{width:v,height:S,$:M}}function IE(f){return Qt(f)?f:f.contextElement}function zf(f){const p=IE(f);if(!Hn(p))return su(1);const v=p.getBoundingClientRect(),{width:S,height:C,$:R}=yT(p);let m=(R?Dy(v.width):v.width)/S,M=(R?Dy(v.height):v.height)/C;return(!m||!Number.isFinite(m))&&(m=1),(!M||!Number.isFinite(M))&&(M=1),{x:m,y:M}}const hL=su(0);function gT(f){const p=Ri(f);return!NE()||!p.visualViewport?hL:{x:p.visualViewport.offsetLeft,y:p.visualViewport.offsetTop}}function mL(f,p,v){return p===void 0&&(p=!1),!v||p&&v!==Ri(f)?!1:p}function ks(f,p,v,S){p===void 0&&(p=!1),v===void 0&&(v=!1);const C=f.getBoundingClientRect(),R=IE(f);let m=su(1);p&&(S?Qt(S)&&(m=zf(S)):m=zf(f));const M=mL(R,v,S)?gT(R):su(0);let k=(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=Ri(R),b=S&&Qt(S)?Ri(S):S;let L=U,P=L.frameElement;for(;P&&S&&b!==L;){const te=zf(P),de=P.getBoundingClientRect(),oe=Ui(P),Q=de.left+(P.clientLeft+parseFloat(oe.paddingLeft))*te.x,J=de.top+(P.clientTop+parseFloat(oe.paddingTop))*te.y;k*=te.x,w*=te.y,F*=te.x,O*=te.y,k+=Q,w+=J,L=Ri(P),P=L.frameElement}}return Oy({width:F,height:O,x:k,y:w})}function yL(f){let{elements:p,rect:v,offsetParent:S,strategy:C}=f;const R=C==="fixed",m=Kl(S),M=p?zy(p.floating):!1;if(S===m||M&&R)return v;let k={scrollLeft:0,scrollTop:0},w=su(1);const F=su(0),O=Hn(S);if((O||!O&&!R)&&((du(S)!=="body"||ov(m))&&(k=Uy(S)),Hn(S))){const U=ks(S);w=zf(S),F.x=U.x+S.clientLeft,F.y=U.y+S.clientTop}return{width:v.width*w.x,height:v.height*w.y,x:v.x*w.x-k.scrollLeft*w.x+F.x,y:v.y*w.y-k.scrollTop*w.y+F.y}}function gL(f){return Array.from(f.getClientRects())}function ST(f){return ks(Kl(f)).left+Uy(f).scrollLeft}function SL(f){const p=Kl(f),v=Uy(f),S=f.ownerDocument.body,C=Ai(p.scrollWidth,p.clientWidth,S.scrollWidth,S.clientWidth),R=Ai(p.scrollHeight,p.clientHeight,S.scrollHeight,S.clientHeight);let m=-v.scrollLeft+ST(f);const M=-v.scrollTop;return Ui(S).direction==="rtl"&&(m+=Ai(p.clientWidth,S.clientWidth)-C),{width:C,height:R,x:m,y:M}}function EL(f,p){const v=Ri(f),S=Kl(f),C=v.visualViewport;let R=S.clientWidth,m=S.clientHeight,M=0,k=0;if(C){R=C.width,m=C.height;const w=NE();(!w||w&&p==="fixed")&&(M=C.offsetLeft,k=C.offsetTop)}return{width:R,height:m,x:M,y:k}}function CL(f,p){const v=ks(f,!0,p==="fixed"),S=v.top+f.clientTop,C=v.left+f.clientLeft,R=Hn(f)?zf(f):su(1),m=f.clientWidth*R.x,M=f.clientHeight*R.y,k=C*R.x,w=S*R.y;return{width:m,height:M,x:k,y:w}}function _x(f,p,v){let S;if(p==="viewport")S=EL(f,v);else if(p==="document")S=SL(Kl(f));else if(Qt(p))S=CL(p,v);else{const C=gT(f);S={...p,x:p.x-C.x,y:p.y-C.y}}return Oy(S)}function ET(f,p){const v=Wl(f);return v===p||!Qt(v)||uu(v)?!1:Ui(v).position==="fixed"||ET(v,p)}function RL(f,p){const v=p.get(f);if(v)return v;let S=lu(f,[],!1).filter(M=>Qt(M)&&du(M)!=="body"),C=null;const R=Ui(f).position==="fixed";let m=R?Wl(f):f;for(;Qt(m)&&!uu(m);){const M=Ui(m),k=_E(m);!k&&M.position==="fixed"&&(C=null),(R?!k&&!C:!k&&M.position==="static"&&!!C&&["absolute","fixed"].includes(C.position)||ov(m)&&!k&&ET(f,m))?S=S.filter(F=>F!==m):C=M,m=Wl(m)}return p.set(f,S),S}function xL(f){let{element:p,boundary:v,rootBoundary:S,strategy:C}=f;const m=[...v==="clippingAncestors"?zy(p)?[]:RL(p,this._c):[].concat(v),S],M=m[0],k=m.reduce((w,F)=>{const O=_x(p,F,C);return w.top=Ai(O.top,w.top),w.right=il(O.right,w.right),w.bottom=il(O.bottom,w.bottom),w.left=Ai(O.left,w.left),w},_x(p,M,C));return{width:k.right-k.left,height:k.bottom-k.top,x:k.left,y:k.top}}function TL(f){const{width:p,height:v}=yT(f);return{width:p,height:v}}function wL(f,p,v){const S=Hn(p),C=Kl(p),R=v==="fixed",m=ks(f,!0,R,p);let M={scrollLeft:0,scrollTop:0};const k=su(0);if(S||!S&&!R)if((du(p)!=="body"||ov(C))&&(M=Uy(p)),S){const O=ks(p,!0,R,p);k.x=O.x+p.clientLeft,k.y=O.y+p.clientTop}else C&&(k.x=ST(C));const w=m.left+M.scrollLeft-k.x,F=m.top+M.scrollTop-k.y;return{x:w,y:F,width:m.width,height:m.height}}function SE(f){return Ui(f).position==="static"}function Nx(f,p){return!Hn(f)||Ui(f).position==="fixed"?null:p?p(f):f.offsetParent}function CT(f,p){const v=Ri(f);if(zy(f))return v;if(!Hn(f)){let C=Wl(f);for(;C&&!uu(C);){if(Qt(C)&&!SE(C))return C;C=Wl(C)}return v}let S=Nx(f,p);for(;S&&wM(S)&&SE(S);)S=Nx(S,p);return S&&uu(S)&&SE(S)&&!_E(S)?v:S||bM(f)||v}const bL=async function(f){const p=this.getOffsetParent||CT,v=this.getDimensions,S=await v(f.floating);return{reference:wL(f.reference,await p(f.floating),f.strategy),floating:{x:0,y:0,width:S.width,height:S.height}}};function DL(f){return Ui(f).direction==="rtl"}const kL={convertOffsetParentRelativeRectToViewportRelativeRect:yL,getDocumentElement:Kl,getClippingRect:xL,getOffsetParent:CT,getElementRects:bL,getClientRects:gL,getDimensions:TL,getScale:zf,isElement:Qt,isRTL:DL};function OL(f,p){let v=null,S;const C=Kl(f);function R(){var M;clearTimeout(S),(M=v)==null||M.disconnect(),v=null}function m(M,k){M===void 0&&(M=!1),k===void 0&&(k=1),R();const{left:w,top:F,width:O,height:U}=f.getBoundingClientRect();if(M||p(),!O||!U)return;const b=Af(F),L=Af(C.clientWidth-(w+O)),P=Af(C.clientHeight-(F+U)),te=Af(w),oe={rootMargin:-b+"px "+-L+"px "+-P+"px "+-te+"px",threshold:Ai(0,il(1,k))||1};let Q=!0;function J(le){const me=le[0].intersectionRatio;if(me!==k){if(!Q)return m();me?m(!1,me):S=setTimeout(()=>{m(!1,1e-7)},1e3)}Q=!1}try{v=new IntersectionObserver(J,{...oe,root:C.ownerDocument})}catch{v=new IntersectionObserver(J,oe)}v.observe(f)}return m(!0),R}function ML(f,p,v,S){S===void 0&&(S={});const{ancestorScroll:C=!0,ancestorResize:R=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:M=typeof IntersectionObserver=="function",animationFrame:k=!1}=S,w=IE(f),F=C||R?[...w?lu(w):[],...lu(p)]:[];F.forEach(de=>{C&&de.addEventListener("scroll",v,{passive:!0}),R&&de.addEventListener("resize",v)});const O=w&&M?OL(w,v):null;let U=-1,b=null;m&&(b=new ResizeObserver(de=>{let[oe]=de;oe&&oe.target===w&&b&&(b.unobserve(p),cancelAnimationFrame(U),U=requestAnimationFrame(()=>{var Q;(Q=b)==null||Q.observe(p)})),v()}),w&&!k&&b.observe(w),b.observe(p));let L,P=k?ks(f):null;k&&te();function te(){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(te)}return v(),()=>{var de;F.forEach(oe=>{C&&oe.removeEventListener("scroll",v),R&&oe.removeEventListener("resize",v)}),O==null||O(),(de=b)==null||de.disconnect(),b=null,k&&cancelAnimationFrame(L)}}const LL=fL,_L=dL,NL=sL,AL=vL,Ax=uL,zL=pL,UL=(f,p,v)=>{const S=new Map,C={platform:kL,...v},R={...C.platform,_c:S};return oL(f,p,{...C,platform:R})};var xy=typeof document<"u"?ou.useLayoutEffect:ou.useEffect;function Ny(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,S,C;if(f&&p&&typeof f=="object"){if(Array.isArray(f)){if(v=f.length,v!==p.length)return!1;for(S=v;S--!==0;)if(!Ny(f[S],p[S]))return!1;return!0}if(C=Object.keys(f),v=C.length,v!==Object.keys(p).length)return!1;for(S=v;S--!==0;)if(!{}.hasOwnProperty.call(p,C[S]))return!1;for(S=v;S--!==0;){const R=C[S];if(!(R==="_owner"&&f.$$typeof)&&!Ny(f[R],p[R]))return!1}return!0}return f!==f&&p!==p}function RT(f){return typeof window>"u"?1:(f.ownerDocument.defaultView||window).devicePixelRatio||1}function zx(f,p){const v=RT(f);return Math.round(p*v)/v}function Ux(f){const p=H.useRef(f);return xy(()=>{p.current=f}),p}function FL(f){f===void 0&&(f={});const{placement:p="bottom",strategy:v="absolute",middleware:S=[],platform:C,elements:{reference:R,floating:m}={},transform:M=!0,whileElementsMounted:k,open:w}=f,[F,O]=H.useState({x:0,y:0,strategy:v,placement:p,middlewareData:{},isPositioned:!1}),[U,b]=H.useState(S);Ny(U,S)||b(S);const[L,P]=H.useState(null),[te,de]=H.useState(null),oe=H.useCallback(ue=>{ue!==me.current&&(me.current=ue,P(ue))},[]),Q=H.useCallback(ue=>{ue!==ge.current&&(ge.current=ue,de(ue))},[]),J=R||L,le=m||te,me=H.useRef(null),ge=H.useRef(null),Ue=H.useRef(F),$e=k!=null,pe=Ux(k),Se=Ux(C),Ee=H.useCallback(()=>{if(!me.current||!ge.current)return;const ue={placement:p,strategy:v,middleware:U};Se.current&&(ue.platform=Se.current),UL(me.current,ge.current,ue).then(X=>{const fe={...X,isPositioned:!0};ne.current&&!Ny(Ue.current,fe)&&(Ue.current=fe,mT.flushSync(()=>{O(fe)}))})},[U,p,v,Se]);xy(()=>{w===!1&&Ue.current.isPositioned&&(Ue.current.isPositioned=!1,O(ue=>({...ue,isPositioned:!1})))},[w]);const ne=H.useRef(!1);xy(()=>(ne.current=!0,()=>{ne.current=!1}),[]),xy(()=>{if(J&&(me.current=J),le&&(ge.current=le),J&&le){if(pe.current)return pe.current(J,le,Ee);Ee()}},[J,le,Ee,pe,$e]);const G=H.useMemo(()=>({reference:me,floating:ge,setReference:oe,setFloating:Q}),[oe,Q]),ce=H.useMemo(()=>({reference:J,floating:le}),[J,le]),re=H.useMemo(()=>{const ue={position:v,left:0,top:0};if(!ce.floating)return ue;const X=zx(ce.floating,F.x),fe=zx(ce.floating,F.y);return M?{...ue,transform:"translate("+X+"px, "+fe+"px)",...RT(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:re}),[F,Ee,G,ce,re])}const HL=f=>{function p(v){return{}.hasOwnProperty.call(v,"current")}return{name:"arrow",options:f,fn(v){const{element:S,padding:C}=typeof f=="function"?f(v):f;return S&&p(S)?S.current!=null?Ax({element:S.current,padding:C}).fn(v):{}:S?Ax({element:S,padding:C}).fn(v):{}}}},PL=(f,p)=>({...LL(f),options:[f,p]}),VL=(f,p)=>({..._L(f),options:[f,p]}),IL=(f,p)=>({...zL(f),options:[f,p]}),jL=(f,p)=>({...NL(f),options:[f,p]}),BL=(f,p)=>({...AL(f),options:[f,p]}),$L=(f,p)=>({...HL(f),options:[f,p]});function YL(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 xT={...H},QL=xT.useInsertionEffect,WL=QL||(f=>f());function Sr(f){const p=H.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return WL(()=>{p.current=f}),H.useCallback(function(){for(var v=arguments.length,S=new Array(v),C=0;C<v;C++)S[C]=arguments[C];return p.current==null?void 0:p.current(...S)},[])}const jE="ArrowUp",uv="ArrowDown",Ff="ArrowLeft",Pf="ArrowRight";function Ey(f,p,v){return Math.floor(f/p)!==v}function tv(f,p){return p<0||p>=f.current.length}function EE(f,p){return Fr(f,{disabledIndices:p})}function Fx(f,p){return Fr(f,{decrement:!0,startingIndex:f.current.length,disabledIndices:p})}function Fr(f,p){let{startingIndex:v=-1,decrement:S=!1,disabledIndices:C,amount:R=1}=p===void 0?{}:p;const m=f.current;let M=v;do M+=S?-R:R;while(M>=0&&M<=m.length-1&&Ty(m,M,C));return M}function GL(f,p){let{event:v,orientation:S,loop:C,cols:R,disabledIndices:m,minIndex:M,maxIndex:k,prevIndex:w,stopEvent:F=!1}=p,O=w;if(v.key===jE){if(F&&yr(v),w===-1)O=k;else if(O=Fr(f,{startingIndex:O,amount:R,decrement:!0,disabledIndices:m}),C&&(w-R<M||O<0)){const U=w%R,b=k%R,L=k-(b-U);b===U?O=k:O=b>U?L:L-R}tv(f,O)&&(O=w)}if(v.key===uv&&(F&&yr(v),w===-1?O=M:(O=Fr(f,{startingIndex:w,amount:R,disabledIndices:m}),C&&w+R>k&&(O=Fr(f,{startingIndex:w%R-R,amount:R,disabledIndices:m}))),tv(f,O)&&(O=w)),S==="both"){const U=Af(w/R);v.key===Pf&&(F&&yr(v),w%R!==R-1?(O=Fr(f,{startingIndex:w,disabledIndices:m}),C&&Ey(O,R,U)&&(O=Fr(f,{startingIndex:w-w%R-1,disabledIndices:m}))):C&&(O=Fr(f,{startingIndex:w-w%R-1,disabledIndices:m})),Ey(O,R,U)&&(O=w)),v.key===Ff&&(F&&yr(v),w%R!==0?(O=Fr(f,{startingIndex:w,decrement:!0,disabledIndices:m}),C&&Ey(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})),Ey(O,R,U)&&(O=w));const b=Af(k/R)===U;tv(f,O)&&(C&&b?O=v.key===Ff?k:Fr(f,{startingIndex:w-w%R-1,disabledIndices:m}):O=w)}return O}function KL(f,p,v){const S=[];let C=0;return f.forEach((R,m)=>{let{width:M,height:k}=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<k;U++)F.push(C+O+U*p);C%p+M<=p&&F.every(O=>S[O]==null)?(F.forEach(O=>{S[O]=m}),w=!0):C++}}),[...S]}function XL(f,p,v,S,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)*S:R;case"br":return v.lastIndexOf(f)}}function qL(f,p){return p.flatMap((v,S)=>f.includes(v)?[S]:[])}function Ty(f,p,v){if(v)return v.includes(p);const S=f[p];return S==null||S.hasAttribute("disabled")||S.getAttribute("aria-disabled")==="true"}let Hx=0;function Yl(f,p){p===void 0&&(p={});const{preventScroll:v=!1,cancelPrevious:S=!0,sync:C=!1}=p;S&&cancelAnimationFrame(Hx);const R=()=>f==null?void 0:f.focus({preventScroll:v});C?R():Hx=requestAnimationFrame(R)}var Mt=typeof document<"u"?ou.useLayoutEffect:ou.useEffect;function ZL(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 JL(f,p){if(f.size!==p.size)return!1;for(const[v,S]of f.entries())if(S!==p.get(v))return!1;return!0}const TT=H.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function e_(f){const{children:p,elementsRef:v,labelsRef:S}=f,[C,R]=H.useState(()=>new Map),m=H.useCallback(k=>{R(w=>new Map(w).set(k,null))},[]),M=H.useCallback(k=>{R(w=>{const F=new Map(w);return F.delete(k),F})},[]);return Mt(()=>{const k=new Map(C);Array.from(k.keys()).sort(ZL).forEach((F,O)=>{k.set(F,O)}),JL(C,k)||R(k)},[C]),H.createElement(TT.Provider,{value:H.useMemo(()=>({register:m,unregister:M,map:C,elementsRef:v,labelsRef:S}),[m,M,C,v,S])},p)}function t_(f){f===void 0&&(f={});const{label:p}=f,{register:v,unregister:S,map:C,elementsRef:R,labelsRef:m}=H.useContext(TT),[M,k]=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),()=>{S(O)}},[v,S]),Mt(()=>{const O=w.current?C.get(w.current):null;O!=null&&k(O)},[C]),H.useMemo(()=>({ref:F,index:M??-1}),[M,F])}function iv(){return iv=Object.assign?Object.assign.bind():function(f){for(var p=1;p<arguments.length;p++){var v=arguments[p];for(var S in v)Object.prototype.hasOwnProperty.call(v,S)&&(f[S]=v[S])}return f},iv.apply(this,arguments)}let Px=!1,n_=0;const Vx=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+n_++;function r_(){const[f,p]=H.useState(()=>Px?Vx():void 0);return Mt(()=>{f==null&&p(Vx())},[]),H.useEffect(()=>{Px=!0},[]),f}const i_=xT.useId,sv=i_||r_;let av;process.env.NODE_ENV!=="production"&&(av=new Set);function wy(){for(var f,p=arguments.length,v=new Array(p),S=0;S<p;S++)v[S]=arguments[S];const C="Floating UI: "+v.join(" ");if(!((f=av)!=null&&f.has(C))){var R;(R=av)==null||R.add(C),console.warn(C)}}function a_(){for(var f,p=arguments.length,v=new Array(p),S=0;S<p;S++)v[S]=arguments[S];const C="Floating UI: "+v.join(" ");if(!((f=av)!=null&&f.has(C))){var R;(R=av)==null||R.add(C),console.error(C)}}const l_=H.forwardRef(function(p,v){const{context:{placement:S,elements:{floating:C},middlewareData:{arrow:R}},width:m=14,height:M=7,tipRadius:k=0,strokeWidth:w=0,staticOffset:F,stroke:O,d:U,style:{transform:b,...L}={},...P}=p;process.env.NODE_ENV!=="production"&&(v||wy("The `ref` prop is required for `FloatingArrow`."));const te=sv(),[de,oe]=H.useState(!1);if(Mt(()=>{if(!C)return;Ui(C).direction==="rtl"&&oe(!0)},[C]),!C)return null;const Q=w*2,J=Q/2,le=m/2*(k/-8+1),me=M/2*k/4,[ge,Ue]=S.split("-"),$e=!!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 ne=(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",re={top:$e?"rotate(180deg)":"",left:$e?"rotate(90deg)":"rotate(-90deg)",bottom:$e?"":"rotate(180deg)",right:$e?"rotate(-90deg)":"rotate(90deg)"}[ge];return H.createElement("svg",iv({},P,{"aria-hidden":!0,ref:v,width:$e?m:m+Q,height:m,viewBox:"0 0 "+m+" "+(M>m?M:m),style:{position:"absolute",pointerEvents:"none",[Ee]:ne,[Se]:G,[ge]:pe||$e?"100%":"calc(100% - "+Q/2+"px)",transform:""+re+(b??""),...L}}),Q>0&&H.createElement("path",{clipPath:"url(#"+te+")",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:te},H.createElement("rect",{x:-J,y:J*($e?-1:1),width:m+Q,height:m})))});function wT(){const f=new Map;return{emit(p,v){var S;(S=f.get(p))==null||S.forEach(C=>C(v))},on(p,v){f.set(p,[...f.get(p)||[],v])},off(p,v){var S;f.set(p,((S=f.get(p))==null?void 0:S.filter(C=>C!==v))||[])}}}const bT=H.createContext(null),DT=H.createContext(null),Ms=()=>{var f;return((f=H.useContext(bT))==null?void 0:f.id)||null},Ls=()=>H.useContext(DT);function o_(f){const p=sv(),v=Ls(),S=Ms(),C=f||S;return Mt(()=>{const R={id:p,parentId:C};return v==null||v.addNode(R),()=>{v==null||v.removeNode(R)}},[v,p,C]),p}function u_(f){const{children:p,id:v}=f,S=Ms();return H.createElement(bT.Provider,{value:H.useMemo(()=>({id:v,parentId:S}),[v,S])},p)}function s_(f){const{children:p}=f,v=H.useRef([]),S=H.useCallback(m=>{v.current=[...v.current,m]},[]),C=H.useCallback(m=>{v.current=v.current.filter(M=>M!==m)},[]),R=H.useState(()=>wT())[0];return H.createElement(DT.Provider,{value:H.useMemo(()=>({nodesRef:v,addNode:S,removeNode:C,events:R}),[S,C,R])},p)}function Os(f){return"data-floating-ui-"+f}function zi(f){const p=ou.useRef(f);return Mt(()=>{p.current=f}),p}const Ix=Os("safe-polygon");function by(f,p,v){return v&&!rv(v)?0:typeof f=="number"?f:f==null?void 0:f[p]}function c_(f,p){p===void 0&&(p={});const{open:v,onOpenChange:S,dataRef:C,events:R,elements:m}=f,{enabled:M=!0,delay:k=0,handleClose:w=null,mouseOnly:F=!1,restMs:O=0,move:U=!0}=p,b=Ls(),L=Ms(),P=zi(w),te=zi(k),de=zi(v),oe=H.useRef(),Q=H.useRef(-1),J=H.useRef(),le=H.useRef(-1),me=H.useRef(!0),ge=H.useRef(!1),Ue=H.useRef(()=>{}),$e=H.useCallback(()=>{var ce;const re=(ce=C.current.openEvent)==null?void 0:ce.type;return(re==null?void 0:re.includes("mouse"))&&re!=="mousedown"},[C]);H.useEffect(()=>{if(!M)return;function ce(re){let{open:ue}=re;ue||(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(ue){$e()&&S(!1,ue,"hover")}const re=gr(m.floating).documentElement;return re.addEventListener("mouseleave",ce),()=>{re.removeEventListener("mouseleave",ce)}},[m.floating,v,S,M,P,$e]);const pe=H.useCallback(function(ce,re,ue){re===void 0&&(re=!0),ue===void 0&&(ue="hover");const X=by(te.current,"close",oe.current);X&&!J.current?(clearTimeout(Q.current),Q.current=window.setTimeout(()=>S(!1,ce,ue),X)):re&&(clearTimeout(Q.current),S(!1,ce,ue))},[te,S]),Se=Sr(()=>{Ue.current(),J.current=void 0}),Ee=Sr(()=>{if(ge.current){const ce=gr(m.floating).body;ce.style.pointerEvents="",ce.removeAttribute(Ix),ge.current=!1}});H.useEffect(()=>{if(!M)return;function ce(){return C.current.openEvent?["click","mousedown"].includes(C.current.openEvent.type):!1}function re($){if(clearTimeout(Q.current),me.current=!1,F&&!rv(oe.current)||O>0&&!by(te.current,"open"))return;const ze=by(te.current,"open",oe.current);ze?Q.current=window.setTimeout(()=>{de.current||S(!0,$,"hover")},ze):S(!0,$,"hover")}function ue($){if(ce())return;Ue.current();const ze=gr(m.floating);if(clearTimeout(le.current),P.current&&C.current.floatingContext){v||clearTimeout(Q.current),J.current=P.current({...C.current.floatingContext,tree:b,x:$.clientX,y:$.clientY,onClose(){Ee(),Se(),pe($,!0,"safe-polygon")}});const wt=J.current;ze.addEventListener("mousemove",wt),Ue.current=()=>{ze.removeEventListener("mousemove",wt)};return}(oe.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(Qt(m.domReference)){var fe;const $=m.domReference;return v&&$.addEventListener("mouseleave",X),(fe=m.floating)==null||fe.addEventListener("mouseleave",X),U&&$.addEventListener("mousemove",re,{once:!0}),$.addEventListener("mouseenter",re),$.addEventListener("mouseleave",ue),()=>{var ze;v&&$.removeEventListener("mouseleave",X),(ze=m.floating)==null||ze.removeEventListener("mouseleave",X),U&&$.removeEventListener("mousemove",re),$.removeEventListener("mouseenter",re),$.removeEventListener("mouseleave",ue)}}},[m,M,f,F,O,U,pe,Se,Ee,S,v,de,b,te,P,C]),Mt(()=>{var ce;if(M&&v&&(ce=P.current)!=null&&ce.__options.blockPointerEvents&&$e()){const ue=gr(m.floating).body;ue.setAttribute(Ix,""),ue.style.pointerEvents="none",ge.current=!0;const X=m.floating;if(Qt(m.domReference)&&X){var re;const fe=m.domReference,$=b==null||(re=b.nodesRef.current.find(ze=>ze.id===L))==null||(re=re.context)==null?void 0:re.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,$e]),Mt(()=>{v||(oe.current=void 0,Se(),Ee())},[v,Se,Ee]),H.useEffect(()=>()=>{Se(),clearTimeout(Q.current),clearTimeout(le.current),Ee()},[M,m.domReference,Se,Ee]);const ne=H.useMemo(()=>{function ce(re){oe.current=re.pointerType}return{onPointerDown:ce,onPointerEnter:ce,onMouseMove(re){const{nativeEvent:ue}=re;function X(){!me.current&&!de.current&&S(!0,ue,"hover")}F&&!rv(oe.current)||v||O===0||(clearTimeout(le.current),oe.current==="touch"?X():le.current=window.setTimeout(X,O))}}},[F,S,v,de,O]),G=H.useMemo(()=>({onMouseEnter(){clearTimeout(Q.current)},onMouseLeave(ce){pe(ce.nativeEvent,!1)}}),[pe]);return H.useMemo(()=>M?{reference:ne,floating:G}:{},[M,ne,G])}const LE=()=>{},kT=H.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:LE,setState:LE,isInstantPhase:!1}),OT=()=>H.useContext(kT);function f_(f){const{children:p,delay:v,timeoutMs:S=0}=f,[C,R]=H.useReducer((k,w)=>({...k,...w}),{delay:v,timeoutMs:S,initialDelay:v,currentId:null,isInstantPhase:!1}),m=H.useRef(null),M=H.useCallback(k=>{R({currentId:k})},[]);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(kT.Provider,{value:H.useMemo(()=>({...C,setState:R,setCurrentId:M}),[C,M])},p)}function d_(f,p){p===void 0&&(p={});const{open:v,onOpenChange:S,floatingId:C}=f,{id:R}=p,m=R??C,M=OT(),{currentId:k,setCurrentId:w,initialDelay:F,setState:O,timeoutMs:U}=M;return Mt(()=>{k&&(O({delay:{open:1,close:by(F,"close")}}),k!==m&&S(!1))},[m,S,O,k,F]),Mt(()=>{function b(){S(!1),O({delay:F,currentId:null})}if(k&&!v&&k===m){if(U){const L=window.setTimeout(b,U);return()=>{clearTimeout(L)}}b()}},[v,O,k,m,S,F,U]),Mt(()=>{w===LE||!v||w(m)},[v,w,m]),M}function p_(f,p){var v;let S=[],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&&(S=S.concat(R))}return S}function Ds(f,p){let v=f.filter(C=>{var R;return C.parentId===p&&((R=C.context)==null?void 0:R.open)}),S=v;for(;S.length;)S=f.filter(C=>{var R;return(R=S)==null?void 0:R.some(m=>{var M;return C.parentId===m.id&&((M=C.context)==null?void 0:M.open)})}),v=v.concat(S);return v}function v_(f,p){let v,S=-1;function C(R,m){m>S&&(v=R,S=m),Ds(f,R).forEach(k=>{C(k.id,m+1)})}return C(p,0),f.find(R=>R.id===v)}let Nf=new WeakMap,Cy=new WeakSet,Ry={},CE=0;const h_=()=>typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype,MT=f=>f&&(f.host||MT(f.parentNode)),m_=(f,p)=>p.map(v=>{if(f.contains(v))return v;const S=MT(v);return f.contains(S)?S:null}).filter(v=>v!=null);function y_(f,p,v,S){const C="data-floating-ui-inert",R=S?"inert":v?"aria-hidden":null,m=m_(p,f),M=new Set,k=new Set(m),w=[];Ry[C]||(Ry[C]=new WeakMap);const F=Ry[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||k.has(b)||[].forEach.call(b.children,L=>{if(du(L)!=="script")if(M.has(L))U(L);else{const P=R?L.getAttribute(R):null,te=P!==null&&P!=="false",de=(Nf.get(L)||0)+1,oe=(F.get(L)||0)+1;Nf.set(L,de),F.set(L,oe),w.push(L),de===1&&te&&Cy.add(L),oe===1&&L.setAttribute(C,""),!te&&R&&L.setAttribute(R,"true")}})}return CE++,()=>{w.forEach(b=>{const L=(Nf.get(b)||0)-1,P=(F.get(b)||0)-1;Nf.set(b,L),F.set(b,P),L||(!Cy.has(b)&&R&&b.removeAttribute(R),Cy.delete(b)),P||b.removeAttribute(C)}),CE--,CE||(Nf=new WeakMap,Nf=new WeakMap,Cy=new WeakSet,Ry={})}}function jx(f,p,v){p===void 0&&(p=!1),v===void 0&&(v=!1);const S=gr(f[0]).body;return y_(f.concat(Array.from(S.querySelectorAll("[aria-live]"))),S,p,v)}const lv=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function LT(f,p){const v=Fy(f,lv());p==="prev"&&v.reverse();const S=v.indexOf(Da(gr(f)));return v.slice(S+1)[0]}function _T(){return LT(document.body,"next")}function NT(){return LT(document.body,"prev")}function nv(f,p){const v=p||f.currentTarget,S=f.relatedTarget;return!S||!Fn(v,S)}function g_(f){Fy(f,lv()).forEach(v=>{v.dataset.tabindex=v.getAttribute("tabindex")||"",v.setAttribute("tabindex","-1")})}function S_(f){f.querySelectorAll("[data-tabindex]").forEach(v=>{const S=v.dataset.tabindex;delete v.dataset.tabindex,S?v.setAttribute("tabindex",S):v.removeAttribute("tabindex")})}const BE={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 E_;function Bx(f){f.key==="Tab"&&(f.target,clearTimeout(E_))}const Ay=H.forwardRef(function(p,v){const[S,C]=H.useState();Mt(()=>(zE()&&C("button"),document.addEventListener("keydown",Bx),()=>{document.removeEventListener("keydown",Bx)}),[]);const R={ref:v,tabIndex:0,role:S,"aria-hidden":S?void 0:!0,[Os("focus-guard")]:"",style:BE};return H.createElement("span",iv({},p,R))}),AT=H.createContext(null),$x=Os("portal");function C_(f){f===void 0&&(f={});const{id:p,root:v}=f,S=sv(),C=zT(),[R,m]=H.useState(null),M=H.useRef(null);return Mt(()=>()=>{R==null||R.remove(),queueMicrotask(()=>{M.current=null})},[R]),Mt(()=>{if(!S||M.current)return;const k=p?document.getElementById(p):null;if(!k)return;const w=document.createElement("div");w.id=S,w.setAttribute($x,""),k.appendChild(w),M.current=w,m(w)},[p,S]),Mt(()=>{if(!S||M.current)return;let k=v||(C==null?void 0:C.portalNode);k&&!Qt(k)&&(k=k.current),k=k||document.body;let w=null;p&&(w=document.createElement("div"),w.id=p,k.appendChild(w));const F=document.createElement("div");F.id=S,F.setAttribute($x,""),k=w||k,k.appendChild(F),M.current=F,m(F)},[p,v,S,C]),R}function R_(f){const{children:p,id:v,root:S=null,preserveTabOrder:C=!0}=f,R=C_({id:v,root:S}),[m,M]=H.useState(null),k=H.useRef(null),w=H.useRef(null),F=H.useRef(null),O=H.useRef(null),U=!!m&&!m.modal&&m.open&&C&&!!(S||R);return H.useEffect(()=>{if(!R||!C||m!=null&&m.modal)return;function b(L){R&&nv(L)&&(L.type==="focusin"?S_:g_)(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(AT.Provider,{value:H.useMemo(()=>({preserveTabOrder:C,beforeOutsideRef:k,afterOutsideRef:w,beforeInsideRef:F,afterInsideRef:O,portalNode:R,setFocusManagerState:M}),[C,R])},U&&R&&H.createElement(Ay,{"data-type":"outside",ref:k,onFocus:b=>{if(nv(b,R)){var L;(L=F.current)==null||L.focus()}else{const P=NT()||(m==null?void 0:m.refs.domReference.current);P==null||P.focus()}}}),U&&R&&H.createElement("span",{"aria-owns":R.id,style:BE}),R&&mT.createPortal(p,R),U&&R&&H.createElement(Ay,{"data-type":"outside",ref:w,onFocus:b=>{if(nv(b,R)){var L;(L=O.current)==null||L.focus()}else{const P=_T()||(m==null?void 0:m.refs.domReference.current);P==null||P.focus(),m!=null&&m.closeOnFocusOut&&(m==null||m.onOpenChange(!1,b.nativeEvent))}}}))}const zT=()=>H.useContext(AT),Yx=20;let bs=[];function RE(f){bs=bs.filter(v=>v.isConnected);let p=f;if(!(!p||du(p)==="body")){if(!nL(p,lv())){const v=Fy(p,lv())[0];v&&(p=v)}bs.push(p),bs.length>Yx&&(bs=bs.slice(-Yx))}}function Qx(){return bs.slice().reverse().find(f=>f.isConnected)}const x_=H.forwardRef(function(p,v){return H.createElement("button",iv({},p,{type:"button",ref:v,tabIndex:-1,style:BE}))});function T_(f){const{context:p,children:v,disabled:S=!1,order:C=["content"],guards:R=!0,initialFocus:m=0,returnFocus:M=!0,restoreFocus:k=!1,modal:w=!0,visuallyHiddenDismiss:F=!1,closeOnFocusOut:O=!0}=f,{open:U,refs:b,nodeId:L,onOpenChange:P,events:te,dataRef:de,floatingId:oe,elements:{domReference:Q,floating:J}}=p,le=typeof m=="number"&&m<0,me=uT(Q)&&le,ge=h_()?R:!0,Ue=zi(C),$e=zi(m),pe=zi(M),Se=Ls(),Ee=zT(),ne=H.useRef(null),G=H.useRef(null),ce=H.useRef(!1),re=H.useRef(!1),ue=H.useRef(-1),X=Ee!=null,fe=J==null?void 0:J.firstElementChild,$=(fe==null?void 0:fe.id)===oe?fe:J,ze=Sr(function(Me){return Me===void 0&&(Me=$),Me?Fy(Me,lv()):[]}),nt=Sr(Me=>{const Ie=ze(Me);return Ue.current.map(He=>Q&&He==="reference"?Q:$&&He==="floating"?$:Ie).filter(Boolean).flat()});H.useEffect(()=>{if(S||!w)return;function Me(He){if(He.key==="Tab"){Fn($,Da(gr($)))&&ze().length===0&&!me&&yr(He);const Le=nt(),Ge=Ql(He);Ue.current[0]==="reference"&&Ge===Q&&(yr(He),He.shiftKey?Yl(Le[Le.length-1]):Yl(Le[1])),Ue.current[1]==="floating"&&Ge===$&&He.shiftKey&&(yr(He),Yl(Le[0]))}}const Ie=gr($);return Ie.addEventListener("keydown",Me),()=>{Ie.removeEventListener("keydown",Me)}},[S,Q,$,w,Ue,me,ze,nt]),H.useEffect(()=>{if(S||!J)return;function Me(Ie){const He=Ql(Ie),Ge=ze().indexOf(He);Ge!==-1&&(ue.current=Ge)}return J.addEventListener("focusin",Me),()=>{J.removeEventListener("focusin",Me)}},[S,J,ze]),H.useEffect(()=>{if(S||!O)return;function Me(){re.current=!0,setTimeout(()=>{re.current=!1})}function Ie(He){const Le=He.relatedTarget;queueMicrotask(()=>{const Ge=!(Fn(Q,Le)||Fn(J,Le)||Fn(Le,J)||Fn(Ee==null?void 0:Ee.portalNode,Le)||Le!=null&&Le.hasAttribute(Os("focus-guard"))||Se&&(Ds(Se.nodesRef.current,L).find(Ct=>{var st,yt;return Fn((st=Ct.context)==null?void 0:st.elements.floating,Le)||Fn((yt=Ct.context)==null?void 0:yt.elements.domReference,Le)})||p_(Se.nodesRef.current,L).find(Ct=>{var st,yt;return((st=Ct.context)==null?void 0:st.elements.floating)===Le||((yt=Ct.context)==null?void 0:yt.elements.domReference)===Le})));if(k&&Ge&&Da(gr($))===gr($).body){Hn($)&&($==null||$.focus());const Ct=ue.current,st=ze(),yt=st[Ct]||st[st.length-1]||$;Hn(yt)&&yt.focus()}(me||!w)&&Le&&Ge&&!re.current&&Le!==Qx()&&(ce.current=!0,P(!1,He))})}if(J&&Hn(Q))return Q.addEventListener("focusout",Ie),Q.addEventListener("pointerdown",Me),J.addEventListener("focusout",Ie),()=>{Q.removeEventListener("focusout",Ie),Q.removeEventListener("pointerdown",Me),J.removeEventListener("focusout",Ie)}},[S,Q,J,$,w,L,Se,Ee,P,O,k,ze,me]),H.useEffect(()=>{var Me;if(S)return;const Ie=Array.from((Ee==null||(Me=Ee.portalNode)==null?void 0:Me.querySelectorAll("["+Os("portal")+"]"))||[]);if(J){const He=[J,...Ie,ne.current,G.current,Ue.current.includes("reference")||me?Q:null].filter(Ge=>Ge!=null),Le=w||me?jx(He,ge,!ge):jx(He);return()=>{Le()}}},[S,Q,J,w,Ue,Ee,me,ge]),Mt(()=>{if(S||!Hn($))return;const Me=gr($),Ie=Da(Me);queueMicrotask(()=>{const He=nt($),Le=$e.current,Ge=(typeof Le=="number"?He[Le]:Le.current)||$,Ct=Fn($,Ie);!le&&!Ct&&U&&Yl(Ge,{preventScroll:Ge===$})})},[S,U,$,le,nt,$e]),Mt(()=>{if(S||!$)return;let Me=!1;const Ie=gr($),He=Da(Ie);let Ge=de.current.openEvent;RE(He);function Ct(st){let{open:yt,reason:Pt,event:Vt,nested:Sn}=st;yt&&(Ge=Vt),Pt==="escape-key"&&b.domReference.current&&RE(b.domReference.current),Pt==="hover"&&Vt.type==="mouseleave"&&(ce.current=!0),Pt==="outside-press"&&(Sn?(ce.current=!1,Me=!0):ce.current=!(lT(Vt)||AE(Vt)))}return te.on("openchange",Ct),()=>{te.off("openchange",Ct);const st=Da(Ie),yt=Fn(J,st)||Se&&Ds(Se.nodesRef.current,L).some(Sn=>{var Xe;return Fn((Xe=Sn.context)==null?void 0:Xe.elements.floating,st)});(yt||Ge&&["click","mousedown"].includes(Ge.type))&&b.domReference.current&&RE(b.domReference.current);const Vt=Qx();pe.current&&!ce.current&&Hn(Vt)&&(!(Vt!==st&&st!==Ie.body)||yt)&&Yl(Vt,{cancelPrevious:!1,preventScroll:Me})}},[S,J,$,pe,de,b,te,Se,L]),Mt(()=>{if(!S&&Ee)return Ee.setFocusManagerState({modal:w,closeOnFocusOut:O,open:U,onOpenChange:P,refs:b}),()=>{Ee.setFocusManagerState(null)}},[S,Ee,w,U,P,b,O]),Mt(()=>{if(S||!$||typeof MutationObserver!="function"||le)return;const Me=()=>{const He=$.getAttribute("tabindex"),Le=ze(),Ge=Da(gr(J)),Ct=Le.indexOf(Ge);Ct!==-1&&(ue.current=Ct),Ue.current.includes("floating")||Ge!==b.domReference.current&&Le.length===0?He!=="0"&&$.setAttribute("tabindex","0"):He!=="-1"&&$.setAttribute("tabindex","-1")};Me();const Ie=new MutationObserver(Me);return Ie.observe($,{childList:!0,subtree:!0,attributes:!0}),()=>{Ie.disconnect()}},[S,J,$,b,Ue,ze,le]);function wt(Me){return S||!F||!w?null:H.createElement(x_,{ref:Me==="start"?ne:G,onClick:Ie=>P(!1,Ie.nativeEvent)},typeof F=="string"?F:"Dismiss")}const Ut=!S&&ge&&(w?!me:!0)&&(X||w);return H.createElement(H.Fragment,null,Ut&&H.createElement(Ay,{"data-type":"inside",ref:Ee==null?void 0:Ee.beforeInsideRef,onFocus:Me=>{if(w){const He=nt();Yl(C[0]==="reference"?He[0]:He[He.length-1])}else if(Ee!=null&&Ee.preserveTabOrder&&Ee.portalNode)if(ce.current=!1,nv(Me,Ee.portalNode)){const He=_T()||Q;He==null||He.focus()}else{var Ie;(Ie=Ee.beforeOutsideRef.current)==null||Ie.focus()}}}),!me&&wt("start"),v,wt("end"),Ut&&H.createElement(Ay,{"data-type":"inside",ref:Ee==null?void 0:Ee.afterInsideRef,onFocus:Me=>{if(w)Yl(nt()[0]);else if(Ee!=null&&Ee.preserveTabOrder&&Ee.portalNode)if(O&&(ce.current=!0),nv(Me,Ee.portalNode)){const He=NT()||Q;He==null||He.focus()}else{var Ie;(Ie=Ee.afterOutsideRef.current)==null||Ie.focus()}}}))}function Wx(f){return Hn(f.target)&&f.target.tagName==="BUTTON"}function Gx(f){return UE(f)}function w_(f,p){p===void 0&&(p={});const{open:v,onOpenChange:S,dataRef:C,elements:{domReference:R}}=f,{enabled:m=!0,event:M="click",toggle:k=!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"&&(rv(P,!0)&&w||(v&&k&&(!C.current.openEvent||C.current.openEvent.type==="mousedown")?S(!1,L.nativeEvent,"click"):(L.preventDefault(),S(!0,L.nativeEvent,"click"))))},onClick(L){const P=O.current;if(M==="mousedown"&&O.current){O.current=void 0;return}rv(P,!0)&&w||(v&&k&&(!C.current.openEvent||C.current.openEvent.type==="click")?S(!1,L.nativeEvent,"click"):S(!0,L.nativeEvent,"click"))},onKeyDown(L){O.current=void 0,!(L.defaultPrevented||!F||Wx(L))&&(L.key===" "&&!Gx(R)&&(L.preventDefault(),U.current=!0),L.key==="Enter"&&S(!(v&&k),L.nativeEvent,"click"))},onKeyUp(L){L.defaultPrevented||!F||Wx(L)||Gx(R)||L.key===" "&&U.current&&(U.current=!1,S(!(v&&k),L.nativeEvent,"click"))}}),[C,R,M,w,F,S,v,k]);return H.useMemo(()=>m?{reference:b}:{},[m,b])}const b_={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},D_={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Kx=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 k_(f,p){p===void 0&&(p={});const{open:v,onOpenChange:S,elements:C,dataRef:R}=f,{enabled:m=!0,escapeKey:M=!0,outsidePress:k=!0,outsidePressEvent:w="pointerdown",referencePress:F=!1,referencePressEvent:O="pointerdown",ancestorScroll:U=!1,bubbles:b,capture:L}=p,P=Ls(),te=Sr(typeof k=="function"?k:()=>!1),de=typeof k=="function"?te:k,oe=H.useRef(!1),Q=H.useRef(!1),{escapeKey:J,outsidePress:le}=Kx(b),{escapeKey:me,outsidePress:ge}=Kx(L),Ue=Sr(G=>{var ce;if(!v||!m||!M||G.key!=="Escape")return;const re=(ce=R.current.floatingContext)==null?void 0:ce.nodeId,ue=P?Ds(P.nodesRef.current,re):[];if(!J&&(G.stopPropagation(),ue.length>0)){let X=!0;if(ue.forEach(fe=>{var $;if(($=fe.context)!=null&&$.open&&!fe.context.dataRef.current.__escapeKeyBubbles){X=!1;return}}),!X)return}S(!1,kM(G)?G.nativeEvent:G,"escape-key")}),$e=Sr(G=>{var ce;const re=()=>{var ue;Ue(G),(ue=Ql(G))==null||ue.removeEventListener("keydown",re)};(ce=Ql(G))==null||ce.addEventListener("keydown",re)}),pe=Sr(G=>{var ce;const re=oe.current;oe.current=!1;const ue=Q.current;if(Q.current=!1,w==="click"&&ue||re||typeof de=="function"&&!de(G))return;const X=Ql(G),fe="["+Os("inert")+"]",$=gr(C.floating).querySelectorAll(fe);let ze=Qt(X)?X:null;for(;ze&&!uu(ze);){const Me=Wl(ze);if(uu(Me)||!Qt(Me))break;ze=Me}if($.length&&Qt(X)&&!OM(X)&&!Fn(X,C.floating)&&Array.from($).every(Me=>!Fn(ze,Me)))return;if(Hn(X)&&ne){const Me=X.clientWidth>0&&X.scrollWidth>X.clientWidth,Ie=X.clientHeight>0&&X.scrollHeight>X.clientHeight;let He=Ie&&G.offsetX>X.clientWidth;if(Ie&&Ui(X).direction==="rtl"&&(He=G.offsetX<=X.offsetWidth-X.clientWidth),He||Me&&G.offsetY>X.clientHeight)return}const nt=(ce=R.current.floatingContext)==null?void 0:ce.nodeId,wt=P&&Ds(P.nodesRef.current,nt).some(Me=>{var Ie;return mE(G,(Ie=Me.context)==null?void 0:Ie.elements.floating)});if(mE(G,C.floating)||mE(G,C.domReference)||wt)return;const Ut=P?Ds(P.nodesRef.current,nt):[];if(Ut.length>0){let Me=!0;if(Ut.forEach(Ie=>{var He;if((He=Ie.context)!=null&&He.open&&!Ie.context.dataRef.current.__outsidePressBubbles){Me=!1;return}}),!Me)return}S(!1,G,"outside-press")}),Se=Sr(G=>{var ce;const re=()=>{var ue;pe(G),(ue=Ql(G))==null||ue.removeEventListener(w,re)};(ce=Ql(G))==null||ce.addEventListener(w,re)});H.useEffect(()=>{if(!v||!m)return;R.current.__escapeKeyBubbles=J,R.current.__outsidePressBubbles=le;function G(ue){S(!1,ue,"ancestor-scroll")}const ce=gr(C.floating);M&&ce.addEventListener("keydown",me?$e:Ue,me),de&&ce.addEventListener(w,ge?Se:pe,ge);let re=[];return U&&(Qt(C.domReference)&&(re=lu(C.domReference)),Qt(C.floating)&&(re=re.concat(lu(C.floating))),!Qt(C.reference)&&C.reference&&C.reference.contextElement&&(re=re.concat(lu(C.reference.contextElement)))),re=re.filter(ue=>{var X;return ue!==((X=ce.defaultView)==null?void 0:X.visualViewport)}),re.forEach(ue=>{ue.addEventListener("scroll",G,{passive:!0})}),()=>{M&&ce.removeEventListener("keydown",me?$e:Ue,me),de&&ce.removeEventListener(w,ge?Se:pe,ge),re.forEach(ue=>{ue.removeEventListener("scroll",G)})}},[R,C,M,de,w,v,S,U,m,J,le,Ue,me,$e,pe,ge,Se]),H.useEffect(()=>{oe.current=!1},[de,w]);const Ee=H.useMemo(()=>({onKeyDown:Ue,[b_[O]]:G=>{F&&S(!1,G.nativeEvent,"reference-press")}}),[Ue,S,F,O]),ne=H.useMemo(()=>({onKeyDown:Ue,onMouseDown(){Q.current=!0},onMouseUp(){Q.current=!0},[D_[w]]:()=>{oe.current=!0}}),[Ue,w]);return H.useMemo(()=>m?{reference:Ee,floating:ne}:{},[m,Ee,ne])}function O_(f){const{open:p=!1,onOpenChange:v,elements:S}=f,C=sv(),R=H.useRef({}),[m]=H.useState(()=>wT()),M=Ms()!=null;if(process.env.NODE_ENV!=="production"){const b=S.reference;b&&!Qt(b)&&a_("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[k,w]=H.useState(S.reference),F=Sr((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:k||S.reference||null,floating:S.floating||null,domReference:S.reference}),[k,S.reference,S.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 M_(f){f===void 0&&(f={});const{nodeId:p}=f,v=O_({...f,elements:{reference:null,floating:null,...f.elements}}),S=f.rootContext||v,C=S.elements,[R,m]=H.useState(null),[M,k]=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=FL({...f,elements:{...C,...M&&{reference:M}}}),L=H.useCallback(Q=>{const J=Qt(Q)?{getBoundingClientRect:()=>Q.getBoundingClientRect(),contextElement:Q}:Q;k(J),b.refs.setReference(J)},[b.refs]),P=H.useCallback(Q=>{(Qt(Q)||Q===null)&&(O.current=Q,m(Q)),(Qt(b.refs.reference.current)||b.refs.reference.current===null||Q!==null&&!Qt(Q))&&b.refs.setReference(Q)},[b.refs]),te=H.useMemo(()=>({...b.refs,setReference:P,setPositionReference:L,domReference:O}),[b.refs,P,L]),de=H.useMemo(()=>({...b.elements,domReference:F}),[b.elements,F]),oe=H.useMemo(()=>({...b,...S,refs:te,elements:de,nodeId:p}),[b,te,de,p,S]);return Mt(()=>{S.dataRef.current.floatingContext=oe;const Q=U==null?void 0:U.nodesRef.current.find(J=>J.id===p);Q&&(Q.context=oe)}),H.useMemo(()=>({...b,context:oe,refs:te,elements:de}),[b,te,de,oe])}function L_(f,p){p===void 0&&(p={});const{open:v,onOpenChange:S,events:C,dataRef:R,elements:m}=f,{enabled:M=!0,visibleOnly:k=!0}=p,w=H.useRef(!1),F=H.useRef(),O=H.useRef(!0);H.useEffect(()=>{if(!M)return;const b=Ri(m.domReference);function L(){!v&&Hn(m.domReference)&&m.domReference===Da(gr(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){AE(b.nativeEvent)||(O.current=!1)},onMouseLeave(){w.current=!1},onFocus(b){if(w.current)return;const L=Ql(b.nativeEvent);if(k&&Qt(L))try{if(zE()&&oT())throw Error();if(!L.matches(":focus-visible"))return}catch{if(!O.current&&!UE(L))return}S(!0,b.nativeEvent,"focus")},onBlur(b){w.current=!1;const L=b.relatedTarget,P=b.nativeEvent,te=Qt(L)&&L.hasAttribute(Os("focus-guard"))&&L.getAttribute("data-type")==="outside";F.current=window.setTimeout(()=>{var de;const oe=Da(m.domReference?m.domReference.ownerDocument:document);!L&&oe===m.domReference||Fn((de=R.current.floatingContext)==null?void 0:de.refs.floating.current,oe)||Fn(m.domReference,oe)||te||S(!1,P,"focus")})}}),[R,m.domReference,S,k]);return H.useMemo(()=>M?{reference:U}:{},[M,U])}const Xx="active",qx="selected";function xE(f,p,v){const S=new Map,C=v==="item";let R=f;if(C&&f){const{[Xx]:m,[qx]:M,...k}=f;R=k}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(k=>{let[w,F]=k;if(!(C&&[Xx,qx].includes(w)))if(w.indexOf("on")===0){if(S.has(w)||S.set(w,[]),typeof F=="function"){var O;(O=S.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=S.get(w))==null?void 0:U.map(te=>te(...L)).find(te=>te!==void 0)}}}else m[w]=F}),m),{})}}function __(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),S=f.map(M=>M==null?void 0:M.item),C=H.useCallback(M=>xE(M,f,"reference"),p),R=H.useCallback(M=>xE(M,f,"floating"),v),m=H.useCallback(M=>xE(M,f,"item"),S);return H.useMemo(()=>({getReferenceProps:C,getFloatingProps:R,getItemProps:m}),[C,R,m])}let Zx=!1;function Hy(f,p,v){switch(f){case"vertical":return p;case"horizontal":return v;default:return p||v}}function Jx(f,p){return Hy(p,f===jE||f===uv,f===Ff||f===Pf)}function TE(f,p,v){return Hy(p,f===uv,v?f===Ff:f===Pf)||f==="Enter"||f===" "||f===""}function N_(f,p,v){return Hy(p,v?f===Ff:f===Pf,f===uv)}function eT(f,p,v){return Hy(p,v?f===Pf:f===Ff,f===jE)}function A_(f,p){const{open:v,onOpenChange:S,elements:C}=f,{listRef:R,activeIndex:m,onNavigate:M=()=>{},enabled:k=!0,selectedIndex:w=null,allowEscape:F=!1,loop:O=!1,nested:U=!1,rtl:b=!1,virtual:L=!1,focusItemOnOpen:P="auto",focusItemOnHover:te=!0,openOnArrowKeyDown:de=!0,disabledIndices:oe=void 0,orientation:Q="vertical",cols:J=1,scrollItemIntoView:le=!0,virtualItemRef:me,itemSizes:ge,dense:Ue=!1}=p;process.env.NODE_ENV!=="production"&&(F&&(O||wy("`useListNavigation` looping must be enabled to allow escaping."),L||wy("`useListNavigation` must be virtual to allow escaping.")),Q==="vertical"&&J>1&&wy("In grid list navigation mode (`cols` > 1), the `orientation` should",'be either "horizontal" or "both".'));const $e=Ms(),pe=Ls(),Se=Sr(M),Ee=H.useRef(P),ne=H.useRef(w??-1),G=H.useRef(null),ce=H.useRef(!0),re=H.useRef(Se),ue=H.useRef(!!C.floating),X=H.useRef(!1),fe=H.useRef(!1),$=zi(oe),ze=zi(v),nt=zi(le),wt=zi(C.floating),Ut=zi(w),[Me,Ie]=H.useState(),[He,Le]=H.useState(),Ge=Sr(function(Xe,dt,pt){pt===void 0&&(pt=!1);function bt(Et){L?(Ie(Et.id),pe==null||pe.events.emit("virtualfocus",Et),me&&(me.current=Et)):Yl(Et,{preventScroll:!0,sync:oT()&&zE()?Zx||X.current:!1})}const ot=Xe.current[dt.current];ot&&bt(ot),requestAnimationFrame(()=>{const Et=Xe.current[dt.current]||ot;if(!Et)return;ot||bt(Et);const kn=nt.current;kn&&st&&(pt||!ce.current)&&(Et.scrollIntoView==null||Et.scrollIntoView(typeof kn=="boolean"?{block:"nearest",inline:"nearest"}:kn))})});Mt(()=>{document.createElement("div").focus({get preventScroll(){return Zx=!0,!1}})},[]),Mt(()=>{k&&(v&&C.floating?Ee.current&&w!=null&&(fe.current=!0,ne.current=w,Se(w)):ue.current&&(ne.current=-1,re.current(null)))},[k,v,C.floating,w,Se]),Mt(()=>{if(k&&v&&C.floating)if(m==null){if(X.current=!1,Ut.current!=null)return;if(ue.current&&(ne.current=-1,Ge(R,ne)),!ue.current&&Ee.current&&(G.current!=null||Ee.current===!0&&G.current==null)){let Xe=0;const dt=()=>{R.current[0]==null?(Xe<2&&(Xe?requestAnimationFrame:queueMicrotask)(dt),Xe++):(ne.current=G.current==null||TE(G.current,Q,b)||U?EE(R,$.current):Fx(R,$.current),G.current=null,Se(ne.current))};dt()}}else tv(R,m)||(ne.current=m,Ge(R,ne,fe.current),fe.current=!1)},[k,v,C.floating,m,Ut,U,R,Q,b,Se,Ge,$]),Mt(()=>{var Xe;if(!k||C.floating||!pe||L||!ue.current)return;const dt=pe.nodesRef.current,pt=(Xe=dt.find(Et=>Et.id===$e))==null||(Xe=Xe.context)==null?void 0:Xe.elements.floating,bt=Da(gr(C.floating)),ot=dt.some(Et=>Et.context&&Fn(Et.context.elements.floating,bt));pt&&!ot&&ce.current&&pt.focus({preventScroll:!0})},[k,C.floating,pe,$e,L]),Mt(()=>{if(!k||!pe||!L||$e)return;function Xe(dt){Le(dt.id),me&&(me.current=dt)}return pe.events.on("virtualfocus",Xe),()=>{pe.events.off("virtualfocus",Xe)}},[k,pe,L,$e,me]),Mt(()=>{re.current=Se,ue.current=!!C.floating}),Mt(()=>{v||(G.current=null)},[v]);const Ct=m!=null,st=H.useMemo(()=>{function Xe(pt){if(!v)return;const bt=R.current.indexOf(pt);bt!==-1&&Se(bt)}return{onFocus(pt){let{currentTarget:bt}=pt;Xe(bt)},onClick:pt=>{let{currentTarget:bt}=pt;return bt.focus({preventScroll:!0})},...te&&{onMouseMove(pt){let{currentTarget:bt}=pt;Xe(bt)},onPointerLeave(pt){let{pointerType:bt}=pt;!ce.current||bt==="touch"||(ne.current=-1,Ge(R,ne),Se(null),L||Yl(wt.current,{preventScroll:!0}))}}}},[v,wt,Ge,te,R,Se,L]),yt=Sr(Xe=>{if(ce.current=!1,X.current=!0,!ze.current&&Xe.currentTarget===wt.current)return;if(U&&eT(Xe.key,Q,b)){yr(Xe),S(!1,Xe.nativeEvent,"list-navigation"),Hn(C.domReference)&&!L&&C.domReference.focus();return}const dt=ne.current,pt=EE(R,oe),bt=Fx(R,oe);if(Xe.key==="Home"&&(yr(Xe),ne.current=pt,Se(ne.current)),Xe.key==="End"&&(yr(Xe),ne.current=bt,Se(ne.current)),J>1){const ot=ge||Array.from({length:R.current.length},()=>({width:1,height:1})),Et=KL(ot,J,Ue),kn=Et.findIndex(Jt=>Jt!=null&&!Ty(R.current,Jt,oe)),Pn=Et.reduce((Jt,On,Hr)=>On!=null&&!Ty(R.current,On,oe)?Hr:Jt,-1);if(ne.current=Et[GL({current:Et.map(Jt=>Jt!=null?R.current[Jt]:null)},{event:Xe,orientation:Q,loop:O,cols:J,disabledIndices:qL([...oe||R.current.map((Jt,On)=>Ty(R.current,On)?On:void 0),void 0],Et),minIndex:kn,maxIndex:Pn,prevIndex:XL(ne.current>bt?pt:ne.current,ot,Et,J,Xe.key===uv?"bl":Xe.key===Pf?"tr":"tl"),stopEvent:!0})],Se(ne.current),Q==="both")return}if(Jx(Xe.key,Q)){if(yr(Xe),v&&!L&&Da(Xe.currentTarget.ownerDocument)===Xe.currentTarget){ne.current=TE(Xe.key,Q,b)?pt:bt,Se(ne.current);return}TE(Xe.key,Q,b)?O?ne.current=dt>=bt?F&&dt!==R.current.length?-1:pt:Fr(R,{startingIndex:dt,disabledIndices:oe}):ne.current=Math.min(bt,Fr(R,{startingIndex:dt,disabledIndices:oe})):O?ne.current=dt<=pt?F&&dt!==-1?R.current.length:bt:Fr(R,{startingIndex:dt,decrement:!0,disabledIndices:oe}):ne.current=Math.max(pt,Fr(R,{startingIndex:dt,decrement:!0,disabledIndices:oe})),tv(R,ne.current)?Se(null):Se(ne.current)}}),Pt=H.useMemo(()=>L&&v&&Ct&&{"aria-activedescendant":He||Me},[L,v,Ct,He,Me]),Vt=H.useMemo(()=>({"aria-orientation":Q==="both"?void 0:Q,...!uT(C.domReference)&&Pt,onKeyDown:yt,onPointerMove(){ce.current=!0}}),[Pt,yt,C.domReference,Q]),Sn=H.useMemo(()=>{const Xe=$.current,dt=R.current.find(ot=>(ot==null?void 0:ot.id)===Me);function pt(ot){P==="auto"&&lT(ot.nativeEvent)&&(Ee.current=!0)}function bt(ot){Ee.current=P,P==="auto"&&AE(ot.nativeEvent)&&(Ee.current=!0)}return{...Pt,onKeyDown(ot){ce.current=!1;const Et=ot.key.indexOf("Arrow")===0,kn=N_(ot.key,Q,b),Pn=eT(ot.key,Q,b),Jt=Jx(ot.key,Q),On=(U?kn:Jt)||ot.key==="Enter"||ot.key.trim()==="";if(L&&v){const ka=pe==null?void 0:pe.nodesRef.current.find(Ce=>Ce.parentId==null),In=pe&&ka?v_(pe.nodesRef.current,ka.id):null;if(Et&&In&&me){const Ce=new KeyboardEvent("keydown",{key:ot.key,bubbles:!0});if(kn||Pn){var Hr,Vn;const Qe=((Hr=In.context)==null?void 0:Hr.elements.domReference)===ot.currentTarget,ct=Pn&&!Qe?(Vn=In.context)==null?void 0:Vn.elements.domReference:kn?dt:null;ct&&(yr(ot),ct.dispatchEvent(Ce),Le(void 0))}if(Jt&&In.context&&In.context.open&&In.parentId&&ot.currentTarget!==In.context.elements.domReference){var Er;yr(ot),(Er=In.context.elements.domReference)==null||Er.dispatchEvent(Ce);return}}return yt(ot)}if(!(!v&&!de&&Et)){if(On&&(G.current=U&&Jt?null:ot.key),U){kn&&(yr(ot),v?(ne.current=EE(R,Xe),Se(ne.current)):S(!0,ot.nativeEvent,"list-navigation"));return}Jt&&(w!=null&&(ne.current=w),yr(ot),!v&&de?S(!0,ot.nativeEvent,"list-navigation"):yt(ot),v&&Se(ne.current))}},onFocus(){v&&!L&&Se(null)},onPointerDown:bt,onMouseDown:pt,onClick:pt}},[Me,Pt,yt,$,P,R,U,Se,S,v,de,Q,b,w,pe,L,me]);return H.useMemo(()=>k?{reference:Sn,floating:Vt,item:st}:{},[k,Sn,Vt,st])}const z_=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function U_(f,p){var v;p===void 0&&(p={});const{open:S,floatingId:C}=f,{enabled:R=!0,role:m="dialog"}=p,M=(v=z_.get(m))!=null?v:m,k=sv(),F=Ms()!=null,O=H.useMemo(()=>M==="tooltip"||m==="label"?{["aria-"+(m==="label"?"labelledby":"describedby")]:S?C:void 0}:{"aria-expanded":S?"true":"false","aria-haspopup":M==="alertdialog"?"dialog":M,"aria-controls":S?C:void 0,...M==="listbox"&&{role:"combobox"},...M==="menu"&&{id:k},...M==="menu"&&F&&{role:"menuitem"},...m==="select"&&{"aria-autocomplete":"none"},...m==="combobox"&&{"aria-autocomplete":"list"}},[M,C,F,S,k,m]),U=H.useMemo(()=>{const L={id:C,...M&&{role:M}};return M==="tooltip"||m==="label"?L:{...L,...M==="menu"&&{"aria-labelledby":k}}},[M,C,k,m]),b=H.useCallback(L=>{let{active:P,selected:te}=L;const de={role:"option",...P&&{id:C+"-option"}};switch(m){case"select":return{...de,"aria-selected":P&&te};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 F_(f,p){var v;const{open:S,dataRef:C}=f,{listRef:R,activeIndex:m,onMatch:M,onTypingChange:k,enabled:w=!0,findMatch:F=null,resetMs:O=750,ignoreKeys:U=[],selectedIndex:b=null}=p,L=H.useRef(),P=H.useRef(""),te=H.useRef((v=b??m)!=null?v:-1),de=H.useRef(null),oe=Sr(M),Q=Sr(k),J=zi(F),le=zi(U);Mt(()=>{S&&(clearTimeout(L.current),de.current=null,P.current="")},[S]),Mt(()=>{if(S&&P.current===""){var pe;te.current=(pe=b??m)!=null?pe:-1}},[S,b,m]);const me=Sr(pe=>{pe?C.current.typing||(C.current.typing=pe,Q(pe)):C.current.typing&&(C.current.typing=pe,Q(pe))}),ge=Sr(pe=>{function Se(re,ue,X){const fe=J.current?J.current(ue,X):ue.find($=>($==null?void 0:$.toLocaleLowerCase().indexOf(X.toLocaleLowerCase()))===0);return fe?re.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===" "&&yr(pe)),Ee==null||le.current.includes(pe.key)||pe.key.length!==1||pe.ctrlKey||pe.metaKey||pe.altKey)return;S&&pe.key!==" "&&(yr(pe),me(!0)),Ee.every(re=>{var ue,X;return re?((ue=re[0])==null?void 0:ue.toLocaleLowerCase())!==((X=re[1])==null?void 0:X.toLocaleLowerCase()):!0})&&P.current===pe.key&&(P.current="",te.current=de.current),P.current+=pe.key,clearTimeout(L.current),L.current=setTimeout(()=>{P.current="",te.current=de.current,me(!1)},O);const G=te.current,ce=Se(Ee,[...Ee.slice((G||0)+1),...Ee.slice(0,(G||0)+1)],P.current);ce!==-1?(oe(ce),de.current=ce):pe.key!==" "&&(P.current="",me(!1))}),Ue=H.useMemo(()=>({onKeyDown:ge}),[ge]),$e=H.useMemo(()=>({onKeyDown:ge,onKeyUp(pe){pe.key===" "&&me(!1)}}),[ge,me]);return H.useMemo(()=>w?{reference:Ue,floating:$e}:{},[w,Ue,$e])}function tT(f,p){const[v,S]=f;let C=!1;const R=p.length;for(let m=0,M=R-1;m<R;M=m++){const[k,w]=p[m]||[0,0],[F,O]=p[M]||[0,0];w>=S!=O>=S&&v<=(F-k)*(S-w)/(O-w)+k&&(C=!C)}return C}function H_(f,p){return f[0]>=p.x&&f[0]<=p.x+p.width&&f[1]>=p.y&&f[1]<=p.y+p.height}function P_(f){f===void 0&&(f={});const{buffer:p=.5,blockPointerEvents:v=!1,requireIntent:S=!0}=f;let C,R=!1,m=null,M=null,k=performance.now();function w(O,U){const b=performance.now(),L=b-k;if(m===null||M===null||L===0)return m=O,M=U,k=b,null;const P=O-m,te=U-M,oe=Math.sqrt(P*P+te*te)/L;return m=O,M=U,k=b,oe}const F=O=>{let{x:U,y:b,placement:L,elements:P,onClose:te,nodeId:de,tree:oe}=O;return function(J){function le(){clearTimeout(C),te()}if(clearTimeout(C),!P.domReference||!P.floating||L==null||U==null||b==null)return;const{clientX:me,clientY:ge}=J,Ue=[me,ge],$e=Ql(J),pe=J.type==="mouseleave",Se=Fn(P.floating,$e),Ee=Fn(P.domReference,$e),ne=P.domReference.getBoundingClientRect(),G=P.floating.getBoundingClientRect(),ce=L.split("-")[0],re=U>G.right-G.width/2,ue=b>G.bottom-G.height/2,X=H_(Ue,ne),fe=G.width>ne.width,$=G.height>ne.height,ze=(fe?ne:G).left,nt=(fe?ne:G).right,wt=($?ne:G).top,Ut=($?ne:G).bottom;if(Se&&(R=!0,!pe))return;if(Ee&&(R=!1),Ee&&!pe){R=!0;return}if(pe&&Qt(J.relatedTarget)&&Fn(P.floating,J.relatedTarget)||oe&&Ds(oe.nodesRef.current,de).some(He=>{let{context:Le}=He;return Le==null?void 0:Le.open}))return;if(ce==="top"&&b>=ne.bottom-1||ce==="bottom"&&b<=ne.top+1||ce==="left"&&U>=ne.right-1||ce==="right"&&U<=ne.left+1)return le();let Me=[];switch(ce){case"top":Me=[[ze,ne.top+1],[ze,G.bottom-1],[nt,G.bottom-1],[nt,ne.top+1]];break;case"bottom":Me=[[ze,G.top+1],[ze,ne.bottom-1],[nt,ne.bottom-1],[nt,G.top+1]];break;case"left":Me=[[G.right-1,Ut],[G.right-1,wt],[ne.left+1,wt],[ne.left+1,Ut]];break;case"right":Me=[[ne.right-1,Ut],[ne.right-1,wt],[G.left+1,wt],[G.left+1,Ut]];break}function Ie(He){let[Le,Ge]=He;switch(ce){case"top":{const Ct=[fe?Le+p/2:re?Le+p*4:Le-p*4,Ge+p+1],st=[fe?Le-p/2:re?Le+p*4:Le-p*4,Ge+p+1],yt=[[G.left,re||fe?G.bottom-p:G.top],[G.right,re?fe?G.bottom-p:G.top:G.bottom-p]];return[Ct,st,...yt]}case"bottom":{const Ct=[fe?Le+p/2:re?Le+p*4:Le-p*4,Ge-p],st=[fe?Le-p/2:re?Le+p*4:Le-p*4,Ge-p],yt=[[G.left,re||fe?G.top+p:G.bottom],[G.right,re?fe?G.top+p:G.bottom:G.top+p]];return[Ct,st,...yt]}case"left":{const Ct=[Le+p+1,$?Ge+p/2:ue?Ge+p*4:Ge-p*4],st=[Le+p+1,$?Ge-p/2:ue?Ge+p*4:Ge-p*4];return[...[[ue||$?G.right-p:G.left,G.top],[ue?$?G.right-p:G.left:G.right-p,G.bottom]],Ct,st]}case"right":{const Ct=[Le-p,$?Ge+p/2:ue?Ge+p*4:Ge-p*4],st=[Le-p,$?Ge-p/2:ue?Ge+p*4:Ge-p*4],yt=[[ue||$?G.left+p:G.right,G.top],[ue?$?G.left+p:G.right:G.left+p,G.bottom]];return[Ct,st,...yt]}}}if(!tT([me,ge],Me)){if(R&&!X)return le();if(!pe&&S){const He=w(J.clientX,J.clientY);if(He!==null&&He<.1)return le()}tT([me,ge],Ie([U,b]))?!R&&S&&(C=window.setTimeout(le,40)):le()}}};return F.__options={blockPointerEvents:v},F}exports.FloatingArrow=l_;exports.FloatingDelayGroup=f_;exports.FloatingFocusManager=T_;exports.FloatingList=e_;exports.FloatingNode=u_;exports.FloatingPortal=R_;exports.FloatingTree=s_;exports.arrow=$L;exports.autoUpdate=ML;exports.flip=jL;exports.limitShift=IL;exports.offset=PL;exports.safePolygon=P_;exports.shift=VL;exports.size=BL;exports.useClick=w_;exports.useDelayGroup=d_;exports.useDelayGroupContext=OT;exports.useDismiss=k_;exports.useFloating=M_;exports.useFloatingNodeId=o_;exports.useFloatingParentNodeId=Ms;exports.useFloatingTree=Ls;exports.useFocus=L_;exports.useHover=c_;exports.useInteractions=__;exports.useListItem=t_;exports.useListNavigation=A_;exports.useMergeRefs=YL;exports.useRole=U_;exports.useTypeahead=F_;
|
|
178
|
-
//# sourceMappingURL=floating-ui.react-518bb704.cjs.map
|