@servicetitan/anvil2 1.2.2 → 1.2.4
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.cjs.map +1 -1
- package/Page.js +93 -80
- package/Page.js.map +1 -1
- 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 +2 -2
- package/SideNav.css +1 -1
- package/SideNav.js +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 +62 -11
- 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
|
@@ -0,0 +1,178 @@
|
|
|
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 g=Object.getOwnPropertyDescriptor(f,v);Object.defineProperty(p,v,g.get?g:{enumerable:!0,get:()=>f[v]})}}return p.default=f,Object.freeze(p)}const F=TM(ou);function pu(f){return nT(f)?(f.nodeName||"").toLowerCase():"#document"}function xi(f){var p;return(f==null||(p=f.ownerDocument)==null?void 0:p.defaultView)||window}function Gl(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 xi(f).Node}function Vt(f){return f instanceof Element||f instanceof xi(f).Element}function Ln(f){return f instanceof HTMLElement||f instanceof xi(f).HTMLElement}function wE(f){return typeof ShadowRoot>"u"?!1:f instanceof ShadowRoot||f instanceof xi(f).ShadowRoot}function uv(f){const{overflow:p,overflowX:v,overflowY:g,display:C}=Fi(f);return/auto|scroll|overlay|hidden|clip/.test(p+g+v)&&!["inline","contents"].includes(C)}function wM(f){return["table","td","th"].includes(pu(f))}function Uy(f){return[":popover-open",":modal"].some(p=>{try{return f.matches(p)}catch{return!1}})}function _E(f){const p=NE(),v=Vt(f)?Fi(f):f;return v.transform!=="none"||v.perspective!=="none"||(v.containerType?v.containerType!=="normal":!1)||!p&&(v.backdropFilter?v.backdropFilter!=="none":!1)||!p&&(v.filter?v.filter!=="none":!1)||["transform","perspective","filter"].some(g=>(v.willChange||"").includes(g))||["paint","layout","strict","content"].some(g=>(v.contain||"").includes(g))}function bM(f){let p=Ql(f);for(;Ln(p)&&!uu(p);){if(_E(p))return p;if(Uy(p))return null;p=Ql(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(pu(f))}function Fi(f){return xi(f).getComputedStyle(f)}function Fy(f){return Vt(f)?{scrollLeft:f.scrollLeft,scrollTop:f.scrollTop}:{scrollLeft:f.scrollX,scrollTop:f.scrollY}}function Ql(f){if(pu(f)==="html")return f;const p=f.assignedSlot||f.parentNode||wE(f)&&f.host||Gl(f);return wE(p)?p.host:p}function rT(f){const p=Ql(f);return uu(p)?f.ownerDocument?f.ownerDocument.body:f.body:Ln(p)&&uv(p)?p:rT(p)}function lu(f,p,v){var g;p===void 0&&(p=[]),v===void 0&&(v=!0);const C=rT(f),R=C===((g=f.ownerDocument)==null?void 0:g.body),m=xi(C);return R?p.concat(m,m.visualViewport||[],uv(C)?C:[],m.frameElement&&v?lu(m.frameElement):[]):p.concat(C,lu(C,[],v))}function ka(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 Mn(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 g=p;for(;g;){if(f===g)return!0;g=g.parentNode||g.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:g}=p;return v+"/"+g}).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 iv(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 ar(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 Yl(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 Ln(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,zi=Math.max,ky=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 zi(f,il(p,v))}function cu(f,p){return typeof f=="function"?f(p):f}function Wl(f){return f.split("-")[0]}function Pf(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(Wl(f))?"y":"x"}function PE(f){return FE(fu(f))}function NM(f,p,v){v===void 0&&(v=!1);const g=Pf(f),C=PE(f),R=HE(C);let m=C==="x"?g===(v?"end":"start")?"right":"left":g==="start"?"bottom":"top";return p.reference[R]>p.floating[R]&&(m=Oy(m)),[m,Oy(m)]}function AM(f){const p=Oy(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 g=["left","right"],C=["right","left"],R=["top","bottom"],m=["bottom","top"];switch(f){case"top":case"bottom":return v?p?C:g:p?g:C;case"left":case"right":return p?R:m;default:return[]}}function UM(f,p,v,g){const C=Pf(f);let R=zM(Wl(f),v==="start",g);return C&&(R=R.map(m=>m+"-"+C),p&&(R=R.concat(R.map(kE)))),R}function Oy(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 My(f){const{x:p,y:v,width:g,height:C}=f;return{width:g,height:C,top:v,left:p,right:p+g,bottom:v+C,x:p,y:v}}/*!
|
|
2
|
+
* tabbable 6.2.0
|
|
3
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4
|
+
*/var 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])"],Ly=HM.join(","),cT=typeof Element>"u",Uf=cT?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,_y=!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},Ny=function f(p,v){var g;v===void 0&&(v=!0);var C=p==null||(g=p.getAttribute)===null||g===void 0?void 0:g.call(p,"inert"),R=C===""||C==="true",m=R||v&&p&&f(p.parentNode);return m},PM=function(p){var v,g=p==null||(v=p.getAttribute)===null||v===void 0?void 0:v.call(p,"contenteditable");return g===""||g==="true"},VM=function(p,v,g){if(Ny(p))return[];var C=Array.prototype.slice.apply(p.querySelectorAll(Ly));return v&&Uf.call(p,Ly)&&C.unshift(p),C=C.filter(g),C},IM=function f(p,v,g){for(var C=[],R=Array.from(p);R.length;){var m=R.shift();if(!Ny(m,!1))if(m.tagName==="SLOT"){var O=m.assignedElements(),D=O.length?O:m.children,w=f(D,!0,g);g.flatten?C.push.apply(C,w):C.push({scopeParent:m,candidates:w})}else{var H=Uf.call(m,Ly);H&&g.filter(m)&&(v||!p.includes(m))&&C.push(m);var M=m.shadowRoot||typeof g.getShadowRoot=="function"&&g.getShadowRoot(m),U=!Ny(M,!1)&&(!g.shadowRootFilter||g.shadowRootFilter(m));if(M&&U){var b=f(M===!0?m.children:M.children,!0,g);g.flatten?C.push.apply(C,b):C.push({scopeParent:m,candidates:b})}else R.unshift.apply(R,m.children)}}return C},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 g=dT(p);return g<0&&v&&!fT(p)?0:g},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(g){return g.tagName==="SUMMARY"});return v},QM=function(p,v){for(var g=0;g<p.length;g++)if(p[g].checked&&p[g].form===v)return p[g]},WM=function(p){if(!p.name)return!0;var v=p.form||_y(p),g=function(O){return v.querySelectorAll('input[type="radio"][name="'+O+'"]')},C;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")C=g(window.CSS.escape(p.name));else try{C=g(p.name)}catch(m){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",m.message),!1}var R=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,g=p&&_y(p),C=(v=g)===null||v===void 0?void 0:v.host,R=!1;if(g&&g!==p){var m,O,D;for(R=!!((m=C)!==null&&m!==void 0&&(O=m.ownerDocument)!==null&&O!==void 0&&O.contains(C)||p!=null&&(D=p.ownerDocument)!==null&&D!==void 0&&D.contains(p));!R&&C;){var w,H,M;g=_y(C),C=(w=g)===null||w===void 0?void 0:w.host,R=!!((H=C)!==null&&H!==void 0&&(M=H.ownerDocument)!==null&&M!==void 0&&M.contains(C))}}return R},wx=function(p){var v=p.getBoundingClientRect(),g=v.width,C=v.height;return g===0&&C===0},qM=function(p,v){var g=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(!g||g==="full"||g==="legacy-full"){if(typeof C=="function"){for(var O=p;p;){var D=p.parentElement,w=_y(p);if(D&&!D.shadowRoot&&C(D)===!0)return wx(p);p.assignedSlot?p=p.assignedSlot:!D&&w!==p.ownerDocument?p=w.host:p=D}p=O}if(XM(p))return!p.getClientRects().length;if(g!=="legacy-full")return!0}else if(g==="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 g=0;g<v.children.length;g++){var C=v.children.item(g);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||Ny(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=[],g=[];return p.forEach(function(C,R){var m=!!C.scopeParent,O=m?C.scopeParent:C,D=jM(O,m),w=m?f(C.candidates):O;D===0?m?v.push.apply(v,w):v.push(O):g.push({documentOrder:R,tabIndex:D,item:C,isScope:m,content:w})}),g.sort(BM).reduce(function(C,R){return R.isScope?C.push.apply(C,R.content):C.push(R.content),C},[]).concat(v)},av=function(p,v){v=v||{};var g;return v.getShadowRoot?g=IM([p],v.includeContainer,{filter:OE.bind(null,v),flatten:!1,getShadowRoot:v.getShadowRoot,shadowRootFilter:eL}):g=VM(p,v.includeContainer,OE.bind(null,v)),tL(g)},nL=function(p,v){if(v=v||{},!p)throw new Error("No node provided");return Uf.call(p,Ly)===!1?!1:OE(v,p)},ME={exports:{}},Ci={},Ey={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 Oe=$-1>>>1,rt=X[Oe];if(0<C(rt,fe))X[Oe]=fe,X[$]=rt,$=Oe;else break e}}function v(X){return X.length===0?null:X[0]}function g(X){if(X.length===0)return null;var fe=X[0],$=X.pop();if($!==fe){X[0]=$;e:for(var Oe=0,rt=X.length,Ot=rt>>>1;Oe<Ot;){var _t=2*(Oe+1)-1,ze=X[_t],Fe=_t+1,Pe=X[Fe];if(0>C(ze,$))Fe<rt&&0>C(Pe,ze)?(X[Oe]=Pe,X[Fe]=$,Oe=Fe):(X[Oe]=ze,X[_t]=$,Oe=_t);else if(Fe<rt&&0>C(Pe,$))X[Oe]=Pe,X[Fe]=$,Oe=Fe;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,O=m.now();f.unstable_now=function(){return m.now()-O}}var D=[],w=[],H=1,M=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)g(w);else if(fe.startTime<=X)g(w),fe.sortIndex=fe.expirationTime,p(D,fe);else break;fe=v(w)}}function J(X){if(P=!1,Q(X),!L)if(v(D)!==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),M=v(D);M!==null&&(!(M.expirationTime>fe)||X&&!Se());){var Oe=M.callback;if(typeof Oe=="function"){M.callback=null,U=M.priorityLevel;var rt=Oe(M.expirationTime<=fe);fe=f.unstable_now(),typeof rt=="function"?M.callback=rt:M===v(D)&&g(D),Q(fe)}else g(D);M=v(D)}if(M!==null)var Ot=!0;else{var _t=v(w);_t!==null&&ue(J,_t.startTime-fe),Ot=!1}return Ot}finally{M=null,U=$,b=!1}}var me=!1,ge=null,Ue=-1,Ye=5,pe=-1;function Se(){return!(f.unstable_now()-pe<Ye)}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"):Ye=0<X?Math.floor(1e3/X):5},f.unstable_getCurrentPriorityLevel=function(){return U},f.unstable_getFirstCallbackNode=function(){return v(D)},f.unstable_next=function(X){switch(U){case 1:case 2:case 3:var fe=3;break;default:fe=U}var $=U;U=fe;try{return X()}finally{U=$}},f.unstable_pauseExecution=function(){},f.unstable_requestPaint=function(){},f.unstable_runWithPriority=function(X,fe){switch(X){case 1:case 2:case 3:case 4:case 5:break;default:X=3}var $=U;U=X;try{return fe()}finally{U=$}},f.unstable_scheduleCallback=function(X,fe,$){var Oe=f.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?Oe+$:Oe):$=Oe,X){case 1:var rt=-1;break;case 2:rt=250;break;case 5:rt=1073741823;break;case 4:rt=1e4;break;default:rt=5e3}return rt=$+rt,X={id:H++,callback:fe,priorityLevel:X,startTime:$,expirationTime:rt,sortIndex:-1},$>Oe?(X.sortIndex=$,p(w,X),v(D)===null&&X===v(w)&&(P?(de(Ue),Ue=-1):P=!0,ue(J,$-Oe))):(X.sortIndex=rt,p(D,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,g=5;function C(xe,We){var st=xe.length;xe.push(We),O(xe,We,st)}function R(xe){return xe.length===0?null:xe[0]}function m(xe){if(xe.length===0)return null;var We=xe[0],st=xe.pop();return st!==We&&(xe[0]=st,D(xe,st,0)),We}function O(xe,We,st){for(var Ft=st;Ft>0;){var cn=Ft-1>>>1,Zn=xe[cn];if(w(Zn,We)>0)xe[cn]=We,xe[Ft]=Zn,Ft=cn;else return}}function D(xe,We,st){for(var Ft=st,cn=xe.length,Zn=cn>>>1;Ft<Zn;){var Rn=(Ft+1)*2-1,Zr=xe[Rn],nn=Rn+1,Hi=xe[nn];if(w(Zr,We)<0)nn<cn&&w(Hi,Zr)<0?(xe[Ft]=Hi,xe[nn]=We,Ft=nn):(xe[Ft]=Zr,xe[Rn]=We,Ft=Rn);else if(nn<cn&&w(Hi,We)<0)xe[Ft]=Hi,xe[nn]=We,Ft=nn;else return}}function w(xe,We){var st=xe.sortIndex-We.sortIndex;return st!==0?st:xe.id-We.id}var H=1,M=2,U=3,b=4,L=5;function P(xe,We){}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,Ye=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 Oe(xe){for(var We=R(Se);We!==null;){if(We.callback===null)m(Se);else if(We.startTime<=xe)m(Se),We.sortIndex=We.expirationTime,C(pe,We);else return;We=R(Se)}}function rt(xe){if(ue=!1,Oe(xe),!re)if(R(pe)!==null)re=!0,Vn(Ot);else{var We=R(Se);We!==null&&Cn(rt,We.startTime-xe)}}function Ot(xe,We){re=!1,ue&&(ue=!1,Sr()),ce=!0;var st=G;try{var Ft;if(!v)return _t(xe,We)}finally{ne=null,G=st,ce=!1}}function _t(xe,We){var st=We;for(Oe(st),ne=R(pe);ne!==null&&!p&&!(ne.expirationTime>st&&(!xe||Ke()));){var Ft=ne.callback;if(typeof Ft=="function"){ne.callback=null,G=ne.priorityLevel;var cn=ne.expirationTime<=st,Zn=Ft(cn);st=f.unstable_now(),typeof Zn=="function"?ne.callback=Zn:ne===R(pe)&&m(pe),Oe(st)}else m(pe);ne=R(pe)}if(ne!==null)return!0;var Rn=R(Se);return Rn!==null&&Cn(rt,Rn.startTime-st),!1}function ze(xe,We){switch(xe){case H:case M:case U:case b:case L:break;default:xe=U}var st=G;G=xe;try{return We()}finally{G=st}}function Fe(xe){var We;switch(G){case H:case M:case U:We=U;break;default:We=G;break}var st=G;G=We;try{return xe()}finally{G=st}}function Pe(xe){var We=G;return function(){var st=G;G=We;try{return xe.apply(this,arguments)}finally{G=st}}}function Le(xe,We,st){var Ft=f.unstable_now(),cn;if(typeof st=="object"&&st!==null){var Zn=st.delay;typeof Zn=="number"&&Zn>0?cn=Ft+Zn:cn=Ft}else cn=Ft;var Rn;switch(xe){case H:Rn=le;break;case M:Rn=me;break;case L:Rn=Ye;break;case b:Rn=Ue;break;case U:default:Rn=ge;break}var Zr=cn+Rn,nn={id:Ee++,callback:We,priorityLevel:xe,startTime:cn,expirationTime:Zr,sortIndex:-1};return cn>Ft?(nn.sortIndex=cn,C(Se,nn),R(pe)===null&&nn===R(Se)&&(ue?Sr():ue=!0,Cn(rt,cn-Ft))):(nn.sortIndex=Zr,C(pe,nn),!re&&!ce&&(re=!0,Vn(Ot))),nn}function Ze(){}function St(){!re&&!ce&&(re=!0,Vn(Ot))}function vt(){return R(pe)}function ht(xe){xe.callback=null}function Ut(){return G}var Yt=!1,Qt=null,_n=-1,Ve=g,mt=-1;function Ke(){var xe=f.unstable_now()-mt;return!(xe<Ve)}function Et(){}function Xt(xe){if(xe<0||xe>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}xe>0?Ve=Math.floor(1e3/xe):Ve=g}var Ct=function(){if(Qt!==null){var xe=f.unstable_now();mt=xe;var We=!0,st=!0;try{st=Qt(We,xe)}finally{st?en():(Yt=!1,Qt=null)}}else Yt=!1},en;if(typeof $=="function")en=function(){$(Ct)};else if(typeof MessageChannel<"u"){var Hr=new MessageChannel,tn=Hr.port2;Hr.port1.onmessage=Ct,en=function(){tn.postMessage(null)}}else en=function(){X(Ct,0)};function Vn(xe){Qt=xe,Yt||(Yt=!0,en())}function Cn(xe,We){_n=X(function(){xe(f.unstable_now())},We)}function Sr(){fe(_n),_n=-1}var Er=Et,Pr=null;f.unstable_IdlePriority=L,f.unstable_ImmediatePriority=H,f.unstable_LowPriority=b,f.unstable_NormalPriority=U,f.unstable_Profiling=Pr,f.unstable_UserBlockingPriority=M,f.unstable_cancelCallback=ht,f.unstable_continueExecution=St,f.unstable_forceFrameRate=Xt,f.unstable_getCurrentPriorityLevel=Ut,f.unstable_getFirstCallbackNode=vt,f.unstable_next=Fe,f.unstable_pauseExecution=Ze,f.unstable_requestPaint=Er,f.unstable_runWithPriority=ze,f.unstable_scheduleCallback=Le,f.unstable_shouldYield=Ke,f.unstable_wrapCallback=Pe,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"?Ey.exports=rL():Ey.exports=iL()),Ey.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 Ci;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 g=new Set,C={};function R(n,r){m(n,r),m(n+"Capture",r)}function m(n,r){for(C[n]=r,n=0;n<r.length;n++)g.add(r[n])}var O=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),D=Object.prototype.hasOwnProperty,w=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,H={},M={};function U(n){return D.call(M,n)?!0:D.call(H,n)?!1:w.test(n)?M[n]=!0:(H[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"),Ye=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,Oe;function rt(n){if(Oe===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);Oe=r&&r[1]||""}return`
|
|
29
|
+
`+Oe+n}var Ot=!1;function _t(n,r){if(!n||Ot)return"";Ot=!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,k=h.length-1;1<=E&&0<=k&&c[E]!==h[k];)k--;for(;1<=E&&0<=k;E--,k--)if(c[E]!==h[k]){if(E!==1||k!==1)do if(E--,k--,0>k||c[E]!==h[k]){var _=`
|
|
32
|
+
`+c[E].replace(" at new "," at ");return n.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",n.displayName)),_}while(1<=E&&0<=k);break}}}finally{Ot=!1,Error.prepareStackTrace=l}return(n=n?n.displayName||n.name:"")?rt(n):""}function ze(n){switch(n.tag){case 5:return rt(n.type);case 16:return rt("Lazy");case 13:return rt("Suspense");case 19:return rt("SuspenseList");case 0:case 2:case 15:return n=_t(n.type,!1),n;case 11:return n=_t(n.type.render,!1),n;case 1:return n=_t(n.type,!0),n;default:return""}}function Fe(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 Ye: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:Fe(n.type)||"Memo";case re:r=n._payload,n=n._init;try{return Fe(n(r))}catch{}}return null}function Pe(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 Fe(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 Ze(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function St(n){var r=Ze(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 vt(n){n._valueTracker||(n._valueTracker=St(n))}function ht(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var l=r.getValue(),u="";return n&&(u=Ze(n)?n.checked?"true":"false":n.value),n=u,n!==l?(r.setValue(n),!0):!1}function Ut(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 Yt(n,r){var l=r.checked;return $({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??n._wrapperState.initialChecked})}function Qt(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 _n(n,r){r=r.checked,r!=null&&Q(n,"checked",r,!1)}function Ve(n,r){_n(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")?Ke(n,r.type,l):r.hasOwnProperty("defaultValue")&&Ke(n,r.type,Le(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function mt(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 Ke(n,r,l){(r!=="number"||Ut(n.ownerDocument)!==n)&&(l==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+l&&(n.defaultValue=""+l))}var Et=Array.isArray;function Xt(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 Ct(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(v(91));return $({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function en(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(Et(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 Hr(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 tn(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function Vn(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 Cn(n,r){return n==null||n==="http://www.w3.org/1999/xhtml"?Vn(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Sr,Er=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(Sr=Sr||document.createElement("div"),Sr.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Sr.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function Pr(n,r){if(r){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=r;return}}n.textContent=r}var xe={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},We=["Webkit","ms","Moz","O"];Object.keys(xe).forEach(function(n){We.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),xe[r]=xe[n]})});function st(n,r,l){return r==null||typeof r=="boolean"||r===""?"":l||typeof r!="number"||r===0||xe.hasOwnProperty(n)&&xe[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=st(l,r[l],u);l==="float"&&(l="cssFloat"),u?n.setProperty(l,c):n[l]=c}}var cn=$({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 Zn(n,r){if(r){if(cn[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 Rn(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 Zr=null;function nn(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Hi=null,hn=null,rn=null;function fv(n){if(n=Hu(n)){if(typeof Hi!="function")throw Error(v(280));var r=n.stateNode;r&&(r=Ge(r),Hi(n.stateNode,n.type,r))}}function _s(n){hn?rn?rn.push(n):rn=[n]:hn=n}function Ns(){if(hn){var n=hn,r=rn;if(rn=hn=null,fv(n),r)for(n=0;n<r.length;n++)fv(r[n])}}function dv(n,r){return n(r)}function pv(){}var As=!1;function If(n,r,l){if(As)return n(r,l);As=!0;try{return dv(n,r,l)}finally{As=!1,(hn!==null||rn!==null)&&(pv(),Ns())}}function vu(n,r){var l=n.stateNode;if(l===null)return null;var u=Ge(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(O)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 Kl(n,r,l,u,c,h,E,k,_){var W=Array.prototype.slice.call(arguments,3);try{r.apply(l,W)}catch(se){this.onError(se)}}var Ti=!1,ea=null,Xl=!1,hu=null,jf={onError:function(n){Ti=!0,ea=n}};function Bf(n,r,l,u,c,h,E,k,_){Ti=!1,ea=null,Kl.apply(jf,arguments)}function ql(n,r,l,u,c,h,E,k,_){if(Bf.apply(this,arguments),Ti){if(Ti){var W=ea;Ti=!1,ea=null}else throw Error(v(198));Xl||(Xl=!0,hu=W)}}function Pi(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 mu(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 Zl(n){if(Pi(n)!==n)throw Error(v(188))}function lr(n){var r=n.alternate;if(!r){if(r=Pi(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 Zl(c),n;if(h===u)return Zl(c),r;h=h.sibling}throw Error(v(188))}if(l.return!==u.return)l=c,u=h;else{for(var E=!1,k=c.child;k;){if(k===l){E=!0,l=c,u=h;break}if(k===u){E=!0,u=c,l=h;break}k=k.sibling}if(!E){for(k=h.child;k;){if(k===l){E=!0,l=h,u=c;break}if(k===u){E=!0,u=h,l=c;break}k=k.sibling}if(!E)throw Error(v(189))}}if(l.alternate!==u)throw Error(v(190))}if(l.tag!==3)throw Error(v(188));return l.stateNode.current===l?n:r}function vv(n){return n=lr(n),n!==null?hv(n):null}function hv(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=hv(n);if(r!==null)return r;n=n.sibling}return null}var $f=p.unstable_scheduleCallback,mv=p.unstable_cancelCallback,Py=p.unstable_shouldYield,Vy=p.unstable_requestPaint,an=p.unstable_now,Iy=p.unstable_getCurrentPriorityLevel,ta=p.unstable_ImmediatePriority,ft=p.unstable_UserBlockingPriority,Oa=p.unstable_NormalPriority,yv=p.unstable_LowPriority,Yf=p.unstable_IdlePriority,yu=null,wi=null;function gv(n){if(wi&&typeof wi.onCommitFiberRoot=="function")try{wi.onCommitFiberRoot(yu,n,void 0,(n.current.flags&128)===128)}catch{}}var Jr=Math.clz32?Math.clz32:jy,Sv=Math.log,Ev=Math.LN2;function jy(n){return n>>>=0,n===0?32:31-(Sv(n)/Ev|0)|0}var Us=64,Jl=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 bi(n,r){var l=n.pendingLanes;if(l===0)return 0;var u=0,c=n.suspendedLanes,h=n.pingedLanes,E=l&268435455;if(E!==0){var k=E&~c;k!==0?u=ll(k):(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-Jr(r),c=1<<l,u|=n[l],r&=~c;return u}function Qf(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-Jr(h),k=1<<E,_=c[E];_===-1?(!(k&l)||k&u)&&(c[E]=Qf(k,r)):_<=r&&(n.expiredLanes|=k),h&=~k}}function Wf(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 Gf(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-Jr(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-Jr(l),h=1<<c;r[c]=0,u[c]=-1,n[c]=-1,l&=~h}}function gu(n,r){var l=n.entangledLanes|=r;for(n=n.entanglements;l;){var u=31-Jr(l),c=1<<u;c&r|n[u]&r&&(n[u]|=r),l&=~c}}var Mt=0;function Kf(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var Cv,Ps,Lt,Rv,Xf,lt=!1,Su=[],mn=null,ei=null,ti=null,Eu=new Map,xn=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 Di(n,r){switch(n){case"focusin":case"focusout":mn=null;break;case"dragenter":case"dragleave":ei=null;break;case"mouseover":case"mouseout":ti=null;break;case"pointerover":case"pointerout":Eu.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":xn.delete(r.pointerId)}}function Jn(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=Hu(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 mn=Jn(mn,n,r,l,u,c),!0;case"dragenter":return ei=Jn(ei,n,r,l,u,c),!0;case"mouseover":return ti=Jn(ti,n,r,l,u,c),!0;case"pointerover":var h=c.pointerId;return Eu.set(h,Jn(Eu.get(h)||null,n,r,l,u,c)),!0;case"gotpointercapture":return h=c.pointerId,xn.set(h,Jn(xn.get(h)||null,n,r,l,u,c)),!0}return!1}function xv(n){var r=ri(n.target);if(r!==null){var l=Pi(r);if(l!==null){if(r=l.tag,r===13){if(r=mu(l),r!==null){n.blockedOn=r,Xf(n.priority,function(){Lt(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 eo(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);Zr=u,l.target.dispatchEvent(u),Zr=null}else return r=Hu(l),r!==null&&Ps(r),n.blockedOn=l,!1;r.shift()}return!0}function qf(n,r,l){eo(n)&&l.delete(r)}function Tv(){lt=!1,mn!==null&&eo(mn)&&(mn=null),ei!==null&&eo(ei)&&(ei=null),ti!==null&&eo(ti)&&(ti=null),Eu.forEach(qf),xn.forEach(qf)}function Cu(n,r){n.blockedOn===r&&(n.blockedOn=null,lt||(lt=!0,p.unstable_scheduleCallback(p.unstable_NormalPriority,Tv)))}function Ru(n){function r(c){return Cu(c,n)}if(0<Su.length){Cu(Su[0],n);for(var l=1;l<Su.length;l++){var u=Su[l];u.blockedOn===n&&(u.blockedOn=null)}}for(mn!==null&&Cu(mn,n),ei!==null&&Cu(ei,n),ti!==null&&Cu(ti,n),Eu.forEach(r),xn.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);)xv(l),l.blockedOn===null&&Nt.shift()}var to=J.ReactCurrentBatchConfig,ul=!0;function wv(n,r,l,u){var c=Mt,h=to.transition;to.transition=null;try{Mt=1,Is(n,r,l,u)}finally{Mt=c,to.transition=h}}function Vs(n,r,l,u){var c=Mt,h=to.transition;to.transition=null;try{Mt=4,Is(n,r,l,u)}finally{Mt=c,to.transition=h}}function Is(n,r,l,u){if(ul){var c=js(n,r,l,u);if(c===null)ec(n,r,u,xu,l),Di(n,u);else if(Ma(c,n,r,l,u))u.stopPropagation();else if(Di(n,u),r&4&&-1<$y.indexOf(n)){for(;c!==null;){var h=Hu(c);if(h!==null&&Cv(h),h=js(n,r,l,u),h===null&&ec(n,r,u,xu,l),h===c)break;c=h}c!==null&&u.stopPropagation()}else ec(n,r,u,null,l)}}var xu=null;function js(n,r,l,u){if(xu=null,n=nn(u),n=ri(n),n!==null)if(r=Pi(n),r===null)n=null;else if(l=r.tag,l===13){if(n=mu(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 xu=n,null}function Zf(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 ta:return 1;case ft:return 4;case Oa:case yv:return 16;case Yf:return 536870912;default:return 16}default:return 16}}var na=null,Tu=null,wu=null;function Jf(){if(wu)return wu;var n,r=Tu,l=r.length,u,c="value"in na?na.value:na.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 wu=c.slice(n,1<u?1-u:void 0)}function no(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 bu(){return!0}function bv(){return!1}function Vr(n){function r(l,u,c,h,E){this._reactName=l,this._targetInst=c,this.type=u,this.nativeEvent=h,this.target=E,this.currentTarget=null;for(var k in n)n.hasOwnProperty(k)&&(l=n[k],this[k]=l?l(h):h[k]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?bu:bv,this.isPropagationStopped=bv,this}return $(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=bu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=bu)},persist:function(){},isPersistent:bu}),r}var La={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bs=Vr(La),ro=$({},La,{view:0,detail:0}),Dv=Vr(ro),$s,ed,Du,Nn=$({},ro,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:id,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!==Du&&(Du&&n.type==="mousemove"?($s=n.screenX-Du.screenX,ed=n.screenY-Du.screenY):ed=$s=0,Du=n),$s)},movementY:function(n){return"movementY"in n?n.movementY:ed}}),Ys=Vr(Nn),kv=$({},Nn,{dataTransfer:0}),Ov=Vr(kv),Yy=$({},ro,{relatedTarget:0}),_a=Vr(Yy),td=$({},La,{animationName:0,elapsedTime:0,pseudoElement:0}),Mv=Vr(td),Qy=$({},La,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Wy=Vr(Qy),Gy=$({},La,{data:0}),nd=Vr(Gy),rd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_v={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Nv(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=_v[n])?!!r[n]:!1}function id(){return Nv}var ra=$({},ro,{key:function(n){if(n.key){var r=rd[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=no(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Lv[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:id,charCode:function(n){return n.type==="keypress"?no(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?no(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Ky=Vr(ra),ad=$({},Nn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qs=Vr(ad),ld=$({},ro,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:id}),Xy=Vr(ld),Ws=$({},La,{propertyName:0,elapsedTime:0,pseudoElement:0}),Av=Vr(Ws),Cr=$({},Nn,{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}),ia=Vr(Cr),yn=[9,13,27,32],ki=O&&"CompositionEvent"in window,sl=null;O&&"documentMode"in document&&(sl=document.documentMode);var Gs=O&&"TextEvent"in window&&!sl,zv=O&&(!ki||sl&&8<sl&&11>=sl),io=String.fromCharCode(32),Uv=!1;function Fv(n,r){switch(n){case"keyup":return yn.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 ao=!1;function qy(n,r){switch(n){case"compositionend":return Ks(r);case"keypress":return r.which!==32?null:(Uv=!0,io);case"textInput":return n=r.data,n===io&&Uv?null:n;default:return null}}function Zy(n,r){if(ao)return n==="compositionend"||!ki&&Fv(n,r)?(n=Jf(),wu=Tu=na=null,ao=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return zv&&r.locale!=="ko"?null:r.data;default:return null}}var Hv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Pv(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!Hv[n.type]:r==="textarea"}function Vv(n,r,l,u){_s(u),r=zu(r,"onChange"),0<r.length&&(l=new Bs("onChange","change",null,l,u),n.push({event:l,listeners:r}))}var ku=null,lo=null;function oo(n){Js(n,0)}function uo(n){var r=co(n);if(ht(r))return n}function Iv(n,r){if(n==="change")return r}var od=!1;if(O){var ud;if(O){var sd="oninput"in document;if(!sd){var jv=document.createElement("div");jv.setAttribute("oninput","return;"),sd=typeof jv.oninput=="function"}ud=sd}else ud=!1;od=ud&&(!document.documentMode||9<document.documentMode)}function Bv(){ku&&(ku.detachEvent("onpropertychange",$v),lo=ku=null)}function $v(n){if(n.propertyName==="value"&&uo(lo)){var r=[];Vv(r,lo,n,nn(n)),If(oo,r)}}function Jy(n,r,l){n==="focusin"?(Bv(),ku=r,lo=l,ku.attachEvent("onpropertychange",$v)):n==="focusout"&&Bv()}function eg(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return uo(lo)}function tg(n,r){if(n==="click")return uo(r)}function Yv(n,r){if(n==="input"||n==="change")return uo(r)}function ng(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var ni=typeof Object.is=="function"?Object.is:ng;function Ou(n,r){if(ni(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var l=Object.keys(n),u=Object.keys(r);if(l.length!==u.length)return!1;for(u=0;u<l.length;u++){var c=l[u];if(!D.call(r,c)||!ni(n[c],r[c]))return!1}return!0}function Qv(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Wv(n,r){var l=Qv(n);n=0;for(var u;l;){if(l.nodeType===3){if(u=n+l.textContent.length,n<=r&&u>=r)return{node:l,offset:r-n};n=u}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Qv(l)}}function Gv(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?Gv(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function Xs(){for(var n=window,r=Ut();r instanceof n.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)n=r.contentWindow;else break;r=Ut(n.document)}return r}function aa(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}function qs(n){var r=Xs(),l=n.focusedElem,u=n.selectionRange;if(r!==l&&l&&l.ownerDocument&&Gv(l.ownerDocument.documentElement,l)){if(u!==null&&aa(l)){if(r=u.start,n=u.end,n===void 0&&(n=r),"selectionStart"in l)l.selectionStart=r,l.selectionEnd=Math.min(n,l.value.length);else if(n=(r=l.ownerDocument||document)&&r.defaultView||window,n.getSelection){n=n.getSelection();var c=l.textContent.length,h=Math.min(u.start,c);u=u.end===void 0?h:Math.min(u.end,c),!n.extend&&h>u&&(c=u,u=h,h=c),c=Wv(l,h);var E=Wv(l,u);c&&E&&(n.rangeCount!==1||n.anchorNode!==c.node||n.anchorOffset!==c.offset||n.focusNode!==E.node||n.focusOffset!==E.offset)&&(r=r.createRange(),r.setStart(c.node,c.offset),n.removeAllRanges(),h>u?(n.addRange(r),n.extend(E.node,E.offset)):(r.setEnd(E.node,E.offset),n.addRange(r)))}}for(r=[],n=l;n=n.parentNode;)n.nodeType===1&&r.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<r.length;l++)n=r[l],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var Kv=O&&"documentMode"in document&&11>=document.documentMode,Oi=null,cd=null,Mu=null,fd=!1;function Xv(n,r,l){var u=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;fd||Oi==null||Oi!==Ut(u)||(u=Oi,"selectionStart"in u&&aa(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}),Mu&&Ou(Mu,u)||(Mu=u,u=zu(cd,"onSelect"),0<u.length&&(r=new Bs("onSelect","select",null,r,l),n.push({event:r,listeners:u}),r.target=Oi)))}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")},dd={},pd={};O&&(pd=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 An(n){if(dd[n])return dd[n];if(!cl[n])return n;var r=cl[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in pd)return dd[n]=r[l];return n}var vd=An("animationend"),qv=An("animationiteration"),Zv=An("animationstart"),Jv=An("transitionend"),eh=new Map,th="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function la(n,r){eh.set(n,r),R(r,[n])}for(var Lu=0;Lu<th.length;Lu++){var fl=th[Lu],rg=fl.toLowerCase(),_u=fl[0].toUpperCase()+fl.slice(1);la(rg,"on"+_u)}la(vd,"onAnimationEnd"),la(qv,"onAnimationIteration"),la(Zv,"onAnimationStart"),la("dblclick","onDoubleClick"),la("focusin","onFocus"),la("focusout","onBlur"),la(Jv,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),R("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),R("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),R("onBeforeInput",["compositionend","keypress","textInput","paste"]),R("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),R("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),R("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nu="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(Nu));function nh(n,r,l){var u=n.type||"unknown-event";n.currentTarget=l,ql(u,r,void 0,n),n.currentTarget=null}function Js(n,r){r=(r&4)!==0;for(var l=0;l<n.length;l++){var u=n[l],c=u.event;u=u.listeners;e:{var h=void 0;if(r)for(var E=u.length-1;0<=E;E--){var k=u[E],_=k.instance,W=k.currentTarget;if(k=k.listener,_!==h&&c.isPropagationStopped())break e;nh(c,k,W),h=_}else for(E=0;E<u.length;E++){if(k=u[E],_=k.instance,W=k.currentTarget,k=k.listener,_!==h&&c.isPropagationStopped())break e;nh(c,k,W),h=_}}}if(Xl)throw n=hu,Xl=!1,hu=null,n}function Ht(n,r){var l=r[Cd];l===void 0&&(l=r[Cd]=new Set);var u=n+"__bubble";l.has(u)||(rh(r,n,2,!1),l.add(u))}function Na(n,r,l){var u=0;r&&(u|=4),rh(l,n,u,r)}var oa="_reactListening"+Math.random().toString(36).slice(2);function so(n){if(!n[oa]){n[oa]=!0,g.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[oa]||(r[oa]=!0,Na("selectionchange",!1,r))}}function rh(n,r,l,u){switch(Zf(r)){case 1:var c=wv;break;case 4:c=Vs;break;default:c=Is}l=c.bind(null,r,l,n),c=void 0,!zs||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(c=!0),u?c!==void 0?n.addEventListener(r,l,{capture:!0,passive:c}):n.addEventListener(r,l,!0):c!==void 0?n.addEventListener(r,l,{passive:c}):n.addEventListener(r,l,!1)}function ec(n,r,l,u,c){var h=u;if(!(r&1)&&!(r&2)&&u!==null)e:for(;;){if(u===null)return;var E=u.tag;if(E===3||E===4){var k=u.stateNode.containerInfo;if(k===c||k.nodeType===8&&k.parentNode===c)break;if(E===4)for(E=u.return;E!==null;){var _=E.tag;if((_===3||_===4)&&(_=E.stateNode.containerInfo,_===c||_.nodeType===8&&_.parentNode===c))return;E=E.return}for(;k!==null;){if(E=ri(k),E===null)return;if(_=E.tag,_===5||_===6){u=h=E;continue e}k=k.parentNode}}u=u.return}If(function(){var W=h,se=nn(l),ve=[];e:{var ae=eh.get(n);if(ae!==void 0){var be=Bs,_e=n;switch(n){case"keypress":if(no(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=Ov;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":be=Xy;break;case vd:case qv:case Zv:be=Mv;break;case Jv:be=Av;break;case"scroll":be=Dv;break;case"wheel":be=ia;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 He=(r&4)!==0,pn=!He&&n==="scroll",V=He?ae!==null?ae+"Capture":null:ae;He=[];for(var A=W,B;A!==null;){B=A;var ye=B.stateNode;if(B.tag===5&&ye!==null&&(B=ye,V!==null&&(ye=vu(A,V),ye!=null&&He.push(Au(A,ye,B)))),pn)break;A=A.return}0<He.length&&(ae=new be(ae,_e,null,l,se),ve.push({event:ae,listeners:He}))}}if(!(r&7)){e:{if(ae=n==="mouseover"||n==="pointerover",be=n==="mouseout"||n==="pointerout",ae&&l!==Zr&&(_e=l.relatedTarget||l.fromElement)&&(ri(_e)||_e[ua]))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?ri(_e):null,_e!==null&&(pn=Pi(_e),_e!==pn||_e.tag!==5&&_e.tag!==6)&&(_e=null)):(be=null,_e=W),be!==_e)){if(He=Ys,ye="onMouseLeave",V="onMouseEnter",A="mouse",(n==="pointerout"||n==="pointerover")&&(He=Qs,ye="onPointerLeave",V="onPointerEnter",A="pointer"),pn=be==null?ae:co(be),B=_e==null?ae:co(_e),ae=new He(ye,A+"leave",be,l,se),ae.target=pn,ae.relatedTarget=B,ye=null,ri(se)===W&&(He=new He(V,A+"enter",_e,l,se),He.target=B,He.relatedTarget=pn,ye=He),pn=ye,be&&_e)t:{for(He=be,V=_e,A=0,B=He;B;B=dl(B))A++;for(B=0,ye=V;ye;ye=dl(ye))B++;for(;0<A-B;)He=dl(He),A--;for(;0<B-A;)V=dl(V),B--;for(;A--;){if(He===V||V!==null&&He===V.alternate)break t;He=dl(He),V=dl(V)}He=null}else He=null;be!==null&&hd(ve,ae,be,He,!1),_e!==null&&pn!==null&&hd(ve,pn,_e,He,!0)}}e:{if(ae=W?co(W):window,be=ae.nodeName&&ae.nodeName.toLowerCase(),be==="select"||be==="input"&&ae.type==="file")var je=Iv;else if(Pv(ae))if(od)je=Yv;else{je=eg;var qe=Jy}else(be=ae.nodeName)&&be.toLowerCase()==="input"&&(ae.type==="checkbox"||ae.type==="radio")&&(je=tg);if(je&&(je=je(n,W))){Vv(ve,je,l,se);break e}qe&&qe(n,ae,W),n==="focusout"&&(qe=ae._wrapperState)&&qe.controlled&&ae.type==="number"&&Ke(ae,"number",ae.value)}switch(qe=W?co(W):window,n){case"focusin":(Pv(qe)||qe.contentEditable==="true")&&(Oi=qe,cd=W,Mu=null);break;case"focusout":Mu=cd=Oi=null;break;case"mousedown":fd=!0;break;case"contextmenu":case"mouseup":case"dragend":fd=!1,Xv(ve,l,se);break;case"selectionchange":if(Kv)break;case"keydown":case"keyup":Xv(ve,l,se)}var Ne;if(ki)e:{switch(n){case"compositionstart":var Je="onCompositionStart";break e;case"compositionend":Je="onCompositionEnd";break e;case"compositionupdate":Je="onCompositionUpdate";break e}Je=void 0}else ao?Fv(n,l)&&(Je="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(Je="onCompositionStart");Je&&(zv&&l.locale!=="ko"&&(ao||Je!=="onCompositionStart"?Je==="onCompositionEnd"&&ao&&(Ne=Jf()):(na=se,Tu="value"in na?na.value:na.textContent,ao=!0)),qe=zu(W,Je),0<qe.length&&(Je=new nd(Je,n,null,l,se),ve.push({event:Je,listeners:qe}),Ne?Je.data=Ne:(Ne=Ks(l),Ne!==null&&(Je.data=Ne)))),(Ne=Gs?qy(n,l):Zy(n,l))&&(W=zu(W,"onBeforeInput"),0<W.length&&(se=new nd("onBeforeInput","beforeinput",null,l,se),ve.push({event:se,listeners:W}),se.data=Ne))}Js(ve,r)})}function Au(n,r,l){return{instance:n,listener:r,currentTarget:l}}function zu(n,r){for(var l=r+"Capture",u=[];n!==null;){var c=n,h=c.stateNode;c.tag===5&&h!==null&&(c=h,h=vu(n,l),h!=null&&u.unshift(Au(n,h,c)),h=vu(n,r),h!=null&&u.push(Au(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 hd(n,r,l,u,c){for(var h=r._reactName,E=[];l!==null&&l!==u;){var k=l,_=k.alternate,W=k.stateNode;if(_!==null&&_===u)break;k.tag===5&&W!==null&&(k=W,c?(_=vu(l,h),_!=null&&E.unshift(Au(l,_,k))):c||(_=vu(l,h),_!=null&&E.push(Au(l,_,k)))),l=l.return}E.length!==0&&n.push({event:r,listeners:E})}var md=/\r\n?/g,ag=/\u0000|\uFFFD/g;function yd(n){return(typeof n=="string"?n:""+n).replace(md,`
|
|
33
|
+
`).replace(ag,"")}function tc(n,r,l){if(r=yd(r),yd(n)!==r&&l)throw Error(v(425))}function nc(){}var gd=null,pl=null;function Uu(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,ih=typeof clearTimeout=="function"?clearTimeout:void 0,Sd=typeof Promise=="function"?Promise:void 0,Ed=typeof queueMicrotask=="function"?queueMicrotask:typeof Sd<"u"?function(n){return Sd.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),Ru(r);return}u--}else l!=="$"&&l!=="$?"&&l!=="$!"||u++;l=c}while(l);Ru(r)}function Mi(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 Fu(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),Vi="__reactFiber$"+za,hl="__reactProps$"+za,ua="__reactContainer$"+za,Cd="__reactEvents$"+za,og="__reactListeners$"+za,Rd="__reactHandles$"+za;function ri(n){var r=n[Vi];if(r)return r;for(var l=n.parentNode;l;){if(r=l[ua]||l[Vi]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=Fu(n);n!==null;){if(l=n[Vi])return l;n=Fu(n)}return r}n=l,l=n.parentNode}return null}function Hu(n){return n=n[Vi]||n[ua],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function co(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(v(33))}function Ge(n){return n[hl]||null}var Ua=[],It=-1;function ut(n){return{current:n}}function wt(n){0>It||(n.current=Ua[It],Ua[It]=null,It--)}function Dt(n,r){It++,Ua[It]=n.current,n.current=r}var Ii={},tt=ut(Ii),ln=ut(!1),Rr=Ii;function ii(n,r){var l=n.type.contextTypes;if(!l)return Ii;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 ai(){wt(ln),wt(tt)}function Fa(n,r,l){if(tt.current!==Ii)throw Error(v(168));Dt(tt,r),Dt(ln,l)}function Pu(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,Pe(n)||"Unknown",c));return $({},l,u)}function rc(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||Ii,Rr=tt.current,Dt(tt,n),Dt(ln,ln.current),!0}function ah(n,r,l){var u=n.stateNode;if(!u)throw Error(v(169));l?(n=Pu(n,r,Rr),u.__reactInternalMemoizedMergedChildContext=n,wt(ln),wt(tt),Dt(tt,n)):wt(ln),Dt(ln,l)}var Ir=null,zn=!1,Vu=!1;function xd(n){Ir===null?Ir=[n]:Ir.push(n)}function Td(n){zn=!0,xd(n)}function xr(){if(!Vu&&Ir!==null){Vu=!0;var n=0,r=Mt;try{var l=Ir;for(Mt=1;n<l.length;n++){var u=l[n];do u=u(!0);while(u!==null)}Ir=null,zn=!1}catch(c){throw Ir!==null&&(Ir=Ir.slice(n+1)),$f(ta,xr),c}finally{Mt=r,Vu=!1}}return null}var Ha=[],Tr=0,ml=null,fo=0,wr=[],er=0,li=null,In=1,sa="";function jr(n,r){Ha[Tr++]=fo,Ha[Tr++]=ml,ml=n,fo=r}function wd(n,r,l){wr[er++]=In,wr[er++]=sa,wr[er++]=li,li=n;var u=In;n=sa;var c=32-Jr(u)-1;u&=~(1<<c),l+=1;var h=32-Jr(r)+c;if(30<h){var E=c-c%5;h=(u&(1<<E)-1).toString(32),u>>=E,c-=E,In=1<<32-Jr(r)+c|l<<c|u,sa=h+n}else In=1<<h|l<<c|u,sa=n}function ic(n){n.return!==null&&(jr(n,1),wd(n,1,0))}function bd(n){for(;n===ml;)ml=Ha[--Tr],Ha[Tr]=null,fo=Ha[--Tr],Ha[Tr]=null;for(;n===li;)li=wr[--er],wr[er]=null,sa=wr[--er],wr[er]=null,In=wr[--er],wr[er]=null}var Br=null,br=null,jt=!1,oi=null;function Dd(n,r){var l=hi(5,null,null,0);l.elementType="DELETED",l.stateNode=r,l.return=n,r=n.deletions,r===null?(n.deletions=[l],n.flags|=16):r.push(l)}function lh(n,r){switch(n.tag){case 5:var l=n.type;return r=r.nodeType!==1||l.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(n.stateNode=r,Br=n,br=Mi(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,Br=n,br=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(l=li!==null?{id:In,overflow:sa}:null,n.memoizedState={dehydrated:r,treeContext:l,retryLane:1073741824},l=hi(18,null,null,0),l.stateNode=r,l.return=n,n.child=l,Br=n,br=null,!0):!1;default:return!1}}function ac(n){return(n.mode&1)!==0&&(n.flags&128)===0}function lc(n){if(jt){var r=br;if(r){var l=r;if(!lh(n,r)){if(ac(n))throw Error(v(418));r=Mi(l.nextSibling);var u=Br;r&&lh(n,r)?Dd(u,l):(n.flags=n.flags&-4097|2,jt=!1,Br=n)}}else{if(ac(n))throw Error(v(418));n.flags=n.flags&-4097|2,jt=!1,Br=n}}}function oh(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Br=n}function oc(n){if(n!==Br)return!1;if(!jt)return oh(n),jt=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!Uu(n.type,n.memoizedProps)),r&&(r=br)){if(ac(n))throw uh(),Error(v(418));for(;r;)Dd(n,r),r=Mi(r.nextSibling)}if(oh(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(v(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="/$"){if(r===0){br=Mi(n.nextSibling);break e}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++}n=n.nextSibling}br=null}}else br=Br?Mi(n.stateNode.nextSibling):null;return!0}function uh(){for(var n=br;n;)n=Mi(n.nextSibling)}function qt(){br=Br=null,jt=!1}function kd(n){oi===null?oi=[n]:oi.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 k=c.refs;E===null?delete k[h]:k[h]=E},r._stringRef=h,r)}if(typeof n!="string")throw Error(v(284));if(!l._owner)throw Error(v(290,n))}return n}function ji(n,r){throw n=Object.prototype.toString.call(r),Error(v(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function sh(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 k(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 je=B.type;return je===ge?se(V,A,B.props.children,ye,B.key):A!==null&&(A.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===re&&sh(je)===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=is(B,V.mode,ye),A.return=V,A):(A=c(A,B.children||[]),A.return=V,A)}function se(V,A,B,ye,je){return A===null||A.tag!==7?(A=_l(B,V.mode,ye,je),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=is(A,V.mode,B),A.return=V,A;case re:var ye=A._init;return ve(V,ye(A._payload),B)}if(Et(A)||fe(A))return A=_l(A,V.mode,B,null),A.return=V,A;ji(V,A)}return null}function ae(V,A,B,ye){var je=A!==null?A.key:null;if(typeof B=="string"&&B!==""||typeof B=="number")return je!==null?null:k(V,A,""+B,ye);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case le:return B.key===je?_(V,A,B,ye):null;case me:return B.key===je?W(V,A,B,ye):null;case re:return je=B._init,ae(V,A,je(B._payload),ye)}if(Et(B)||fe(B))return je!==null?null:se(V,A,B,ye,null);ji(V,B)}return null}function be(V,A,B,ye,je){if(typeof ye=="string"&&ye!==""||typeof ye=="number")return V=V.get(B)||null,k(A,V,""+ye,je);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,je);case me:return V=V.get(ye.key===null?B:ye.key)||null,W(A,V,ye,je);case re:var qe=ye._init;return be(V,A,B,qe(ye._payload),je)}if(Et(ye)||fe(ye))return V=V.get(B)||null,se(A,V,ye,je,null);ji(A,ye)}return null}function _e(V,A,B,ye){for(var je=null,qe=null,Ne=A,Je=A=0,kn=null;Ne!==null&&Je<B.length;Je++){Ne.index>Je?(kn=Ne,Ne=null):kn=Ne.sibling;var Rt=ae(V,Ne,B[Je],ye);if(Rt===null){Ne===null&&(Ne=kn);break}n&&Ne&&Rt.alternate===null&&r(V,Ne),A=h(Rt,A,Je),qe===null?je=Rt:qe.sibling=Rt,qe=Rt,Ne=kn}if(Je===B.length)return l(V,Ne),jt&&jr(V,Je),je;if(Ne===null){for(;Je<B.length;Je++)Ne=ve(V,B[Je],ye),Ne!==null&&(A=h(Ne,A,Je),qe===null?je=Ne:qe.sibling=Ne,qe=Ne);return jt&&jr(V,Je),je}for(Ne=u(V,Ne);Je<B.length;Je++)kn=be(Ne,V,Je,B[Je],ye),kn!==null&&(n&&kn.alternate!==null&&Ne.delete(kn.key===null?Je:kn.key),A=h(kn,A,Je),qe===null?je=kn:qe.sibling=kn,qe=kn);return n&&Ne.forEach(function(ma){return r(V,ma)}),jt&&jr(V,Je),je}function He(V,A,B,ye){var je=fe(B);if(typeof je!="function")throw Error(v(150));if(B=je.call(B),B==null)throw Error(v(151));for(var qe=je=null,Ne=A,Je=A=0,kn=null,Rt=B.next();Ne!==null&&!Rt.done;Je++,Rt=B.next()){Ne.index>Je?(kn=Ne,Ne=null):kn=Ne.sibling;var ma=ae(V,Ne,Rt.value,ye);if(ma===null){Ne===null&&(Ne=kn);break}n&&Ne&&ma.alternate===null&&r(V,Ne),A=h(ma,A,Je),qe===null?je=ma:qe.sibling=ma,qe=ma,Ne=kn}if(Rt.done)return l(V,Ne),jt&&jr(V,Je),je;if(Ne===null){for(;!Rt.done;Je++,Rt=B.next())Rt=ve(V,Rt.value,ye),Rt!==null&&(A=h(Rt,A,Je),qe===null?je=Rt:qe.sibling=Rt,qe=Rt);return jt&&jr(V,Je),je}for(Ne=u(V,Ne);!Rt.done;Je++,Rt=B.next())Rt=be(Ne,V,Je,Rt.value,ye),Rt!==null&&(n&&Rt.alternate!==null&&Ne.delete(Rt.key===null?Je:Rt.key),A=h(Rt,A,Je),qe===null?je=Rt:qe.sibling=Rt,qe=Rt);return n&&Ne.forEach(function(wg){return r(V,wg)}),jt&&jr(V,Je),je}function pn(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 je=B.key,qe=A;qe!==null;){if(qe.key===je){if(je=B.type,je===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===je||typeof je=="object"&&je!==null&&je.$$typeof===re&&sh(je)===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=is(B,V.mode,ye),A.return=V,V=A}return E(V);case re:return qe=B._init,pn(V,A,qe(B._payload),ye)}if(Et(B))return _e(V,A,B,ye);if(fe(B))return He(V,A,B,ye);ji(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 pn}var po=sc(!0),ch=sc(!1),ca=ut(null),Tn=null,Ce=null,ui=null;function $r(){ui=Ce=Tn=null}function Od(n){var r=ca.current;wt(ca),n._currentValue=r}function Md(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 vo(n,r){Tn=n,ui=Ce=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(Or=!0),n.firstContext=null)}function si(n){var r=n._currentValue;if(ui!==n)if(n={context:n,memoizedValue:r,next:null},Ce===null){if(Tn===null)throw Error(v(308));Ce=n,Tn.dependencies={lanes:0,firstContext:n}}else Ce=Ce.next=n;return r}var gl=null;function gn(n){gl===null?gl=[n]:gl.push(n)}function fh(n,r,l,u){var c=r.interleaved;return c===null?(l.next=l,gn(r)):(l.next=c.next,c.next=l),r.interleaved=l,fa(n,u)}function fa(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 ho(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,dt&2){var c=u.pending;return c===null?r.next=r:(r.next=c.next,c.next=r),u.pending=r,fa(n,l)}return c=u.interleaved,c===null?(r.next=r,gn(u)):(r.next=c.next,c.next=r),u.interleaved=r,fa(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,gu(n,l)}}function dh(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,k=c.shared.pending;if(k!==null){c.shared.pending=null;var _=k,W=_.next;_.next=null,E===null?h=W:E.next=W,E=_;var se=n.alternate;se!==null&&(se=se.updateQueue,k=se.lastBaseUpdate,k!==E&&(k===null?se.firstBaseUpdate=W:k.next=W,se.lastBaseUpdate=_))}if(h!==null){var ve=c.baseState;E=0,se=W=_=null,k=h;do{var ae=k.lane,be=k.eventTime;if((u&ae)===ae){se!==null&&(se=se.next={eventTime:be,lane:0,tag:k.tag,payload:k.payload,callback:k.callback,next:null});e:{var _e=n,He=k;switch(ae=r,be=l,He.tag){case 1:if(_e=He.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=He.payload,ae=typeof _e=="function"?_e.call(be,ve,ae):_e,ae==null)break e;ve=$({},ve,ae);break e;case 2:Pa=!0}}k.callback!==null&&k.lane!==0&&(n.flags|=64,ae=c.effects,ae===null?c.effects=[k]:ae.push(k))}else be={eventTime:be,lane:ae,tag:k.tag,payload:k.payload,callback:k.callback,next:null},se===null?(W=se=be,_=ve):se=se.next=be,E|=ae;if(k=k.next,k===null){if(k=c.shared.pending,k===null)break;ae=k,k=ae.next,ae.next=null,c.lastBaseUpdate=ae,c.shared.pending=null}}while(1);if(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 ph(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 Iu={},Li=ut(Iu),mo=ut(Iu),ju=ut(Iu);function Sl(n){if(n===Iu)throw Error(v(174));return n}function Ld(n,r){switch(Dt(ju,r),Dt(mo,n),Dt(Li,Iu),n=r.nodeType,n){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:Cn(null,"");break;default:n=n===8?r.parentNode:r,r=n.namespaceURI||null,n=n.tagName,r=Cn(r,n)}wt(Li),Dt(Li,r)}function yo(){wt(Li),wt(mo),wt(ju)}function vh(n){Sl(ju.current);var r=Sl(Li.current),l=Cn(r,n.type);r!==l&&(Dt(mo,n),Dt(Li,l))}function _d(n){mo.current===n&&(wt(Li),wt(mo))}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 Nd(){for(var n=0;n<vc.length;n++)vc[n]._workInProgressVersionPrimary=null;vc.length=0}var hc=J.ReactCurrentDispatcher,Bu=J.ReactCurrentBatchConfig,Ie=0,Be=null,nt=null,ct=null,Yr=!1,go=!1,$u=0,ug=0;function tr(){throw Error(v(321))}function Yu(n,r){if(r===null)return!1;for(var l=0;l<r.length&&l<n.length;l++)if(!ni(n[l],r[l]))return!1;return!0}function ie(n,r,l,u,c,h){if(Ie=h,Be=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,hc.current=n===null||n.memoizedState===null?sg:Pt,n=l(u,c),go){h=0;do{if(go=!1,$u=0,25<=h)throw Error(v(301));h+=1,ct=nt=null,r.updateQueue=null,hc.current=Mc,n=l(u,c)}while(go)}if(hc.current=nr,r=nt!==null&&nt.next!==null,Ie=0,ct=nt=Be=null,Yr=!1,r)throw Error(v(300));return n}function Sn(){var n=$u!==0;return $u=0,n}function Qe(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ct===null?Be.memoizedState=ct=n:ct=ct.next=n,ct}function jn(){if(nt===null){var n=Be.alternate;n=n!==null?n.memoizedState:null}else n=nt.next;var r=ct===null?Be.memoizedState:ct.next;if(r!==null)ct=r,nt=n;else{if(n===null)throw Error(v(310));nt=n,n={memoizedState:nt.memoizedState,baseState:nt.baseState,baseQueue:nt.baseQueue,queue:nt.queue,next:null},ct===null?Be.memoizedState=ct=n:ct=ct.next=n}return ct}function Qr(n,r){return typeof r=="function"?r(n):r}function da(n){var r=jn(),l=r.queue;if(l===null)throw Error(v(311));l.lastRenderedReducer=n;var u=nt,c=u.baseQueue,h=l.pending;if(h!==null){if(c!==null){var E=c.next;c.next=h.next,h.next=E}u.baseQueue=c=h,l.pending=null}if(c!==null){h=c.next,u=u.baseState;var k=E=null,_=null,W=h;do{var se=W.lane;if((Ie&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?(k=_=ve,E=u):_=_.next=ve,Be.lanes|=se,kl|=se}W=W.next}while(W!==null&&W!==h);_===null?E=u:_.next=k,ni(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,Be.lanes|=h,kl|=h,c=c.next;while(c!==n)}else c===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function ci(n){var r=jn(),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);ni(h,r.memoizedState)||(Or=!0),r.memoizedState=h,r.baseQueue===null&&(r.baseState=h),l.lastRenderedState=h}return[h,u]}function So(){}function El(n,r){var l=Be,u=jn(),c=r(),h=!ni(u.memoizedState,c);if(h&&(u.memoizedState=c,Or=!0),u=u.queue,Qu(yc.bind(null,l,u,n),[n]),u.getSnapshot!==r||h||ct!==null&&ct.memoizedState.tag&1){if(l.flags|=2048,Cl(9,mc.bind(null,l,u,c,r),void 0,null),un===null)throw Error(v(349));Ie&30||Eo(l,r,c)}return c}function Eo(n,r,l){n.flags|=16384,n={getSnapshot:r,value:l},r=Be.updateQueue,r===null?(r={lastEffect:null,stores:null},Be.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!ni(n,l)}catch{return!0}}function Sc(n){var r=fa(n,1);r!==null&&Zt(r,n,1,-1)}function Ec(n){var r=Qe();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qr,lastRenderedState:n},r.queue=n,n=n.dispatch=Wu.bind(null,Be,n),[r.memoizedState,n]}function Cl(n,r,l,u){return n={tag:n,create:r,destroy:l,deps:u,next:null},r=Be.updateQueue,r===null?(r={lastEffect:null,stores:null},Be.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 jn().memoizedState}function Co(n,r,l,u){var c=Qe();Be.flags|=n,c.memoizedState=Cl(1|r,l,void 0,u===void 0?null:u)}function Ro(n,r,l,u){var c=jn();u=u===void 0?null:u;var h=void 0;if(nt!==null){var E=nt.memoizedState;if(h=E.destroy,u!==null&&Yu(u,E.deps)){c.memoizedState=Cl(r,l,h,u);return}}Be.flags|=n,c.memoizedState=Cl(1|r,l,h,u)}function Rc(n,r){return Co(8390656,8,n,r)}function Qu(n,r){return Ro(2048,8,n,r)}function xc(n,r){return Ro(4,2,n,r)}function Tc(n,r){return Ro(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,Ro(4,4,wc.bind(null,r,n),l)}function xo(){}function Rl(n,r){var l=jn();r=r===void 0?null:r;var u=l.memoizedState;return u!==null&&r!==null&&Yu(r,u[1])?u[0]:(l.memoizedState=[n,r],n)}function Dc(n,r){var l=jn();r=r===void 0?null:r;var u=l.memoizedState;return u!==null&&r!==null&&Yu(r,u[1])?u[0]:(n=n(),l.memoizedState=[n,r],n)}function kc(n,r,l){return Ie&21?(ni(l,r)||(l=Hs(),Be.lanes|=l,kl|=l,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,Or=!0),n.memoizedState=l)}function Ad(n,r){var l=Mt;Mt=l!==0&&4>l?l:4,n(!0);var u=Bu.transition;Bu.transition={};try{n(!1),r()}finally{Mt=l,Bu.transition=u}}function Oc(){return jn().memoizedState}function hh(n,r,l){var u=ha(n);if(l={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null},zd(n))To(r,l);else if(l=fh(n,r,l,u),l!==null){var c=Hn();Zt(l,n,u,c),Ia(l,r,u)}}function Wu(n,r,l){var u=ha(n),c={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null};if(zd(n))To(r,c);else{var h=n.alternate;if(n.lanes===0&&(h===null||h.lanes===0)&&(h=r.lastRenderedReducer,h!==null))try{var E=r.lastRenderedState,k=h(E,l);if(c.hasEagerState=!0,c.eagerState=k,ni(k,E)){var _=r.interleaved;_===null?(c.next=c,gn(r)):(c.next=_.next,_.next=c),r.interleaved=c;return}}catch{}finally{}l=fh(n,r,c,u),l!==null&&(c=Hn(),Zt(l,n,u,c),Ia(l,r,u))}}function zd(n){var r=n.alternate;return n===Be||r!==null&&r===Be}function To(n,r){go=Yr=!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,gu(n,l)}}var nr={readContext:si,useCallback:tr,useContext:tr,useEffect:tr,useImperativeHandle:tr,useInsertionEffect:tr,useLayoutEffect:tr,useMemo:tr,useReducer:tr,useRef:tr,useState:tr,useDebugValue:tr,useDeferredValue:tr,useTransition:tr,useMutableSource:tr,useSyncExternalStore:tr,useId:tr,unstable_isNewReconciler:!1},sg={readContext:si,useCallback:function(n,r){return Qe().memoizedState=[n,r===void 0?null:r],n},useContext:si,useEffect:Rc,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,Co(4194308,4,wc.bind(null,r,n),l)},useLayoutEffect:function(n,r){return Co(4194308,4,n,r)},useInsertionEffect:function(n,r){return Co(4,2,n,r)},useMemo:function(n,r){var l=Qe();return r=r===void 0?null:r,n=n(),l.memoizedState=[n,r],n},useReducer:function(n,r,l){var u=Qe();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=hh.bind(null,Be,n),[u.memoizedState,n]},useRef:function(n){var r=Qe();return n={current:n},r.memoizedState=n},useState:Ec,useDebugValue:xo,useDeferredValue:function(n){return Qe().memoizedState=n},useTransition:function(){var n=Ec(!1),r=n[0];return n=Ad.bind(null,n[1]),Qe().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,l){var u=Be,c=Qe();if(jt){if(l===void 0)throw Error(v(407));l=l()}else{if(l=r(),un===null)throw Error(v(349));Ie&30||Eo(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=Qe(),r=un.identifierPrefix;if(jt){var l=sa,u=In;l=(u&~(1<<32-Jr(u)-1)).toString(32)+l,r=":"+r+"R"+l,l=$u++,0<l&&(r+="H"+l.toString(32)),r+=":"}else l=ug++,r=":"+r+"r"+l.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},Pt={readContext:si,useCallback:Rl,useContext:si,useEffect:Qu,useImperativeHandle:bc,useInsertionEffect:xc,useLayoutEffect:Tc,useMemo:Dc,useReducer:da,useRef:Cc,useState:function(){return da(Qr)},useDebugValue:xo,useDeferredValue:function(n){var r=jn();return kc(r,nt.memoizedState,n)},useTransition:function(){var n=da(Qr)[0],r=jn().memoizedState;return[n,r]},useMutableSource:So,useSyncExternalStore:El,useId:Oc,unstable_isNewReconciler:!1},Mc={readContext:si,useCallback:Rl,useContext:si,useEffect:Qu,useImperativeHandle:bc,useInsertionEffect:xc,useLayoutEffect:Tc,useMemo:Dc,useReducer:ci,useRef:Cc,useState:function(){return ci(Qr)},useDebugValue:xo,useDeferredValue:function(n){var r=jn();return nt===null?r.memoizedState=n:kc(r,nt.memoizedState,n)},useTransition:function(){var n=ci(Qr)[0],r=jn().memoizedState;return[n,r]},useMutableSource:So,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)?Pi(n)===n:!1},enqueueSetState:function(n,r,l){n=n._reactInternals;var u=Hn(),c=ha(n),h=Dr(u,c);h.payload=r,l!=null&&(h.callback=l),r=Va(n,h,c),r!==null&&(Zt(r,n,c,u),fc(r,n,c))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var u=Hn(),c=ha(n),h=Dr(u,c);h.tag=1,h.payload=r,l!=null&&(h.callback=l),r=Va(n,h,c),r!==null&&(Zt(r,n,c,u),fc(r,n,c))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=Hn(),u=ha(n),c=Dr(l,u);c.tag=2,r!=null&&(c.callback=r),r=Va(n,c,u),r!==null&&(Zt(r,n,u,l),fc(r,n,u))}};function mh(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?!Ou(l,u)||!Ou(c,h):!0}function yh(n,r,l){var u=!1,c=Ii,h=r.contextType;return typeof h=="object"&&h!==null?h=si(h):(c=Wt(r)?Rr:tt.current,u=r.contextTypes,h=(u=u!=null)?ii(n,c):Ii),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 gh(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 Ud(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=si(h):(h=Wt(r)?Rr:tt.current,c.context=ii(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+=ze(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 Fd(n,r,l){return{value:n,source:null,stack:l??null,digest:r??null}}function Gu(n,r){try{console.error(r.value)}catch(l){setTimeout(function(){throw l})}}var Sh=typeof WeakMap=="function"?WeakMap:Map;function Eh(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,Qd=u),Gu(n,r)},l}function Ch(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(){Gu(n,r)}}var h=n.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(l.callback=function(){Gu(n,r),typeof u!="function"&&(pi===null?pi=new Set([this]):pi.add(this));var E=r.stack;this.componentDidCatch(r.value,{componentStack:E!==null?E:""})}),l}function Ku(n,r,l){var u=n.pingCache;if(u===null){u=n.pingCache=new Sh;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 Rh(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 Hd(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 xh=J.ReactCurrentOwner,Or=!1;function fn(n,r,l,u){r.child=n===null?ch(r,null,l,u):po(r,n.child,l,u)}function wo(n,r,l,u,c){l=l.render;var h=r.ref;return vo(r,c),u=ie(n,r,l,u,h,c),l=Sn(),n!==null&&!Or?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,dn(n,r,c)):(jt&&l&&ic(r),r.flags|=1,fn(n,r,u,c),r.child)}function Ba(n,r,l,u,c){if(n===null){var h=l.type;return typeof h=="function"&&!qd(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:Ou,l(E,u)&&n.ref===r.ref)return dn(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(Ou(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,dn(n,r,c)}return ot(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},Dt(zo,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,Dt(zo,Lr),Lr|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=h!==null?h.baseLanes:l,Dt(zo,Lr),Lr|=u}else h!==null?(u=h.baseLanes|l,r.memoizedState=null):u=l,Dt(zo,Lr),Lr|=u;return fn(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 ot(n,r,l,u,c){var h=Wt(l)?Rr:tt.current;return h=ii(r,h),vo(r,c),l=ie(n,r,l,u,h,c),u=Sn(),n!==null&&!Or?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,dn(n,r,c)):(jt&&u&&ic(r),r.flags|=1,fn(n,r,l,c),r.child)}function Xu(n,r,l,u,c){if(Wt(l)){var h=!0;rc(r)}else h=!1;if(vo(r,c),r.stateNode===null)Zu(n,r),yh(r,l,u),Ud(r,l,u,c),u=!0;else if(n===null){var E=r.stateNode,k=r.memoizedProps;E.props=k;var _=E.context,W=l.contextType;typeof W=="object"&&W!==null?W=si(W):(W=Wt(l)?Rr:tt.current,W=ii(r,W));var se=l.getDerivedStateFromProps,ve=typeof se=="function"||typeof E.getSnapshotBeforeUpdate=="function";ve||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(k!==u||_!==W)&&gh(r,E,u,W),Pa=!1;var ae=r.memoizedState;E.state=ae,dc(r,u,E,c),_=r.memoizedState,k!==u||ae!==_||ln.current||Pa?(typeof se=="function"&&(xl(r,l,se,u),_=r.memoizedState),(k=Pa||mh(r,l,k,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=k):(typeof E.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{E=r.stateNode,ho(n,r),k=r.memoizedProps,W=r.type===r.elementType?k:kr(r.type,k),E.props=W,ve=r.pendingProps,ae=E.context,_=l.contextType,typeof _=="object"&&_!==null?_=si(_):(_=Wt(l)?Rr:tt.current,_=ii(r,_));var be=l.getDerivedStateFromProps;(se=typeof be=="function"||typeof E.getSnapshotBeforeUpdate=="function")||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(k!==ve||ae!==_)&&gh(r,E,u,_),Pa=!1,ae=r.memoizedState,E.state=ae,dc(r,u,E,c);var _e=r.memoizedState;k!==ve||ae!==_e||ln.current||Pa?(typeof be=="function"&&(xl(r,l,be,u),_e=r.memoizedState),(W=Pa||mh(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"||k===n.memoizedProps&&ae===n.memoizedState||(r.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||k===n.memoizedProps&&ae===n.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=_e),E.props=u,E.state=_e,E.context=_,u=W):(typeof E.componentDidUpdate!="function"||k===n.memoizedProps&&ae===n.memoizedState||(r.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||k===n.memoizedProps&&ae===n.memoizedState||(r.flags|=1024),u=!1)}return _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&&ah(r,l,!1),dn(n,r,h);u=r.stateNode,xh.current=r;var k=E&&typeof l.getDerivedStateFromError!="function"?null:u.render();return r.flags|=1,n!==null&&E?(r.child=po(r,n.child,null,h),r.child=po(r,null,k,h)):fn(n,r,k,h),r.memoizedState=u.state,c&&ah(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),Ld(n,r.containerInfo)}function Th(n,r,l,u,c){return qt(),kd(c),r.flags|=256,fn(n,r,l,u),r.child}var qu={dehydrated:null,treeContext:null,retryLane:0};function bl(n){return{baseLanes:n,cachePool:null,transitions:null}}function wh(n,r,l){var u=r.pendingProps,c=Gt.current,h=!1,E=(r.flags&128)!==0,k;if((k=E)||(k=n!==null&&n.memoizedState===null?!1:(c&2)!==0),k?(h=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(c|=1),Dt(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=qu,n):Nc(r,E));if(c=n.memoizedState,c!==null&&(k=c.dehydrated,k!==null))return Pd(n,r,E,u,k,c,l);if(h){h=u.fallback,E=r.mode,c=n.child,k=c.sibling;var _={mode:"hidden",children:u.children};return!(E&1)&&r.child!==c?(u=r.child,u.childLanes=0,u.pendingProps=_,r.deletions=null):(u=Qa(c,_),u.subtreeFlags=c.subtreeFlags&14680064),k!==null?h=Qa(k,h):(h=_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=qu,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&&kd(u),po(r,n.child,null,l),n=Nc(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function Pd(n,r,l,u,c,h,E){if(l)return r.flags&256?(r.flags&=-257,u=Fd(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&&po(r,n.child,null,E),r.child.memoizedState=bl(E),r.memoizedState=qu,h);if(!(r.mode&1))return Ac(n,r,E,null);if(c.data==="$!"){if(u=c.nextSibling&&c.nextSibling.dataset,u)var k=u.dgst;return u=k,h=Error(v(419)),u=Fd(h,u,void 0),Ac(n,r,E,u)}if(k=(E&n.childLanes)!==0,Or||k){if(u=un,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,fa(n,c),Zt(u,n,c,-1))}return rs(),u=Fd(Error(v(421))),Ac(n,r,E,u)}return c.data==="$?"?(r.flags|=128,r.child=n.child,r=Xd.bind(null,n),c._reactRetry=r,null):(n=h.treeContext,br=Mi(c.nextSibling),Br=r,jt=!0,oi=null,n!==null&&(wr[er++]=In,wr[er++]=sa,wr[er++]=li,In=n.id,sa=n.overflow,li=r),r=Nc(r,u.children),r.flags|=4096,r)}function bh(n,r,l){n.lanes|=r;var u=n.alternate;u!==null&&(u.lanes|=r),Md(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 Vd(n,r,l){var u=r.pendingProps,c=u.revealOrder,h=u.tail;if(fn(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&&bh(n,l,r);else if(n.tag===19)bh(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(Dt(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 Zu(n,r){!(r.mode&1)&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function dn(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 pa(n,r,l){switch(r.tag){case 3:cg(r),qt();break;case 5:vh(r);break;case 1:Wt(r.type)&&rc(r);break;case 4:Ld(r,r.stateNode.containerInfo);break;case 10:var u=r.type._context,c=r.memoizedProps.value;Dt(ca,u._currentValue),u._currentValue=c;break;case 13:if(u=r.memoizedState,u!==null)return u.dehydrated!==null?(Dt(Gt,Gt.current&1),r.flags|=128,null):l&r.child.childLanes?wh(n,r,l):(Dt(Gt,Gt.current&1),n=dn(n,r,l),n!==null?n.sibling:null);Dt(Gt,Gt.current&1);break;case 19:if(u=(l&r.childLanes)!==0,n.flags&128){if(u)return Vd(n,r,l);r.flags|=128}if(c=r.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Dt(Gt,Gt.current),u)break;return null;case 22:case 23:return r.lanes=0,Mr(n,r,l)}return dn(n,r,l)}var Bi,bo,Do,fi;Bi=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}},bo=function(){},Do=function(n,r,l,u){var c=n.memoizedProps;if(c!==u){n=r.stateNode,Sl(Li.current);var h=null;switch(l){case"input":c=Yt(n,c),u=Yt(n,u),h=[];break;case"select":c=$({},c,{value:void 0}),u=$({},u,{value:void 0}),h=[];break;case"textarea":c=Ct(n,c),u=Ct(n,u),h=[];break;default:typeof c.onClick!="function"&&typeof u.onClick=="function"&&(n.onclick=nc)}Zn(l,u);var E;l=null;for(W in c)if(!u.hasOwnProperty(W)&&c.hasOwnProperty(W)&&c[W]!=null)if(W==="style"){var k=c[W];for(E in k)k.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(k=c!=null?c[W]:void 0,u.hasOwnProperty(W)&&_!==k&&(_!=null||k!=null))if(W==="style")if(k){for(E in k)!k.hasOwnProperty(E)||_&&_.hasOwnProperty(E)||(l||(l={}),l[E]="");for(E in _)_.hasOwnProperty(E)&&k[E]!==_[E]&&(l||(l={}),l[E]=_[E])}else l||(h||(h=[]),h.push(W,l)),l=_;else W==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,k=k?k.__html:void 0,_!=null&&k!==_&&(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||k===_||(h=[])):(h=h||[]).push(W,_))}l&&(h=h||[]).push("style",l);var W=h;(r.updateQueue=W)&&(r.flags|=4)}},fi=function(n,r,l,u){l!==u&&(r.flags|=4)};function on(n,r){if(!jt)switch(n.tailMode){case"hidden":r=n.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?n.tail=null:l.sibling=null;break;case"collapsed":l=n.tail;for(var u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:u.sibling=null}}function rr(n){var r=n.alternate!==null&&n.alternate.child===n.child,l=0,u=0;if(r)for(var c=n.child;c!==null;)l|=c.lanes|c.childLanes,u|=c.subtreeFlags&14680064,u|=c.flags&14680064,c.return=n,c=c.sibling;else for(c=n.child;c!==null;)l|=c.lanes|c.childLanes,u|=c.subtreeFlags,u|=c.flags,c.return=n,c=c.sibling;return n.subtreeFlags|=u,n.childLanes=l,r}function fg(n,r,l){var u=r.pendingProps;switch(bd(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rr(r),null;case 1:return Wt(r.type)&&ai(),rr(r),null;case 3:return u=r.stateNode,yo(),wt(ln),wt(tt),Nd(),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,oi!==null&&(Wd(oi),oi=null))),bo(n,r),rr(r),null;case 5:_d(r);var c=Sl(ju.current);if(l=r.type,n!==null&&r.stateNode!=null)Do(n,r,l,u,c),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!u){if(r.stateNode===null)throw Error(v(166));return rr(r),null}if(n=Sl(Li.current),oc(r)){u=r.stateNode,l=r.type;var h=r.memoizedProps;switch(u[Vi]=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<Nu.length;c++)Ht(Nu[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":Qt(u,h),Ht("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!h.multiple},Ht("invalid",u);break;case"textarea":en(u,h),Ht("invalid",u)}Zn(l,h),c=null;for(var E in h)if(h.hasOwnProperty(E)){var k=h[E];E==="children"?typeof k=="string"?u.textContent!==k&&(h.suppressHydrationWarning!==!0&&tc(u.textContent,k,n),c=["children",k]):typeof k=="number"&&u.textContent!==""+k&&(h.suppressHydrationWarning!==!0&&tc(u.textContent,k,n),c=["children",""+k]):C.hasOwnProperty(E)&&k!=null&&E==="onScroll"&&Ht("scroll",u)}switch(l){case"input":vt(u),mt(u,h,!0);break;case"textarea":vt(u),tn(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=Vn(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[Vi]=r,n[hl]=u,Bi(n,r,!1,!1),r.stateNode=n;e:{switch(E=Rn(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<Nu.length;c++)Ht(Nu[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":Qt(n,u),c=Yt(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":en(n,u),c=Ct(n,u),Ht("invalid",n);break;default:c=u}Zn(l,c),k=c;for(h in k)if(k.hasOwnProperty(h)){var _=k[h];h==="style"?Ft(n,_):h==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,_!=null&&Er(n,_)):h==="children"?typeof _=="string"?(l!=="textarea"||_!=="")&&Pr(n,_):typeof _=="number"&&Pr(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":vt(n),mt(n,u,!1);break;case"textarea":vt(n),tn(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?Xt(n,!!u.multiple,h,!1):u.defaultValue!=null&&Xt(n,!!u.multiple,u.defaultValue,!0);break;default:typeof c.onClick=="function"&&(n.onclick=nc)}switch(l){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return rr(r),null;case 6:if(n&&r.stateNode!=null)fi(n,r,n.memoizedProps,u);else{if(typeof u!="string"&&r.stateNode===null)throw Error(v(166));if(l=Sl(ju.current),Sl(Li.current),oc(r)){if(u=r.stateNode,l=r.memoizedProps,u[Vi]=r,(h=u.nodeValue!==l)&&(n=Br,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[Vi]=r,r.stateNode=u}return rr(r),null;case 13:if(wt(Gt),u=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(jt&&br!==null&&r.mode&1&&!(r.flags&128))uh(),qt(),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[Vi]=r}else qt(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;rr(r),h=!1}else oi!==null&&(Wd(oi),oi=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?bn===0&&(bn=3):rs())),r.updateQueue!==null&&(r.flags|=4),rr(r),null);case 4:return yo(),bo(n,r),n===null&&so(r.stateNode.containerInfo),rr(r),null;case 10:return Od(r.type._context),rr(r),null;case 17:return Wt(r.type)&&ai(),rr(r),null;case 19:if(wt(Gt),h=r.memoizedState,h===null)return rr(r),null;if(u=(r.flags&128)!==0,E=h.rendering,E===null)if(u)on(h,!1);else{if(bn!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(E=pc(n),E!==null){for(r.flags|=128,on(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 Dt(Gt,Gt.current&1|2),r.child}n=n.sibling}h.tail!==null&&an()>Fo&&(r.flags|=128,u=!0,on(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),on(h,!0),h.tail===null&&h.tailMode==="hidden"&&!E.alternate&&!jt)return rr(r),null}else 2*an()-h.renderingStartTime>Fo&&l!==1073741824&&(r.flags|=128,u=!0,on(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=an(),r.sibling=null,l=Gt.current,Dt(Gt,u?l&1|2:l&1),r):(rr(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&&(rr(r),r.subtreeFlags&6&&(r.flags|=8192)):rr(r),null;case 24:return null;case 25:return null}throw Error(v(156,r.tag))}function dg(n,r){switch(bd(r),r.tag){case 1:return Wt(r.type)&&ai(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return yo(),wt(ln),wt(tt),Nd(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return _d(r),null;case 13:if(wt(Gt),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(v(340));qt()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return wt(Gt),null;case 4:return yo(),null;case 10:return Od(r.type._context),null;case 22:case 23:return Qc(),null;case 24:return null;default:return null}}var ko=!1,Bn=!1,Uc=typeof WeakSet=="function"?WeakSet:Set,Me=null;function Oo(n,r){var l=n.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(u){sn(n,r,u)}else l.current=null}function Id(n,r,l){try{l()}catch(u){sn(n,r,u)}}var Fc=!1;function pg(n,r){if(gd=ul,n=Xs(),aa(n)){if("selectionStart"in n)var l={start:n.selectionStart,end:n.selectionEnd};else e:{l=(l=n.ownerDocument)&&l.defaultView||window;var u=l.getSelection&&l.getSelection();if(u&&u.rangeCount!==0){l=u.anchorNode;var c=u.anchorOffset,h=u.focusNode;u=u.focusOffset;try{l.nodeType,h.nodeType}catch{l=null;break e}var E=0,k=-1,_=-1,W=0,se=0,ve=n,ae=null;t:for(;;){for(var be;ve!==l||c!==0&&ve.nodeType!==3||(k=E+c),ve!==h||u!==0&&ve.nodeType!==3||(_=E+u),ve.nodeType===3&&(E+=ve.nodeValue.length),(be=ve.firstChild)!==null;)ae=ve,ve=be;for(;;){if(ve===n)break t;if(ae===l&&++W===c&&(k=E),ae===h&&++se===u&&(_=E),(be=ve.nextSibling)!==null)break;ve=ae,ae=ve.parentNode}ve=be}l=k===-1||_===-1?null:{start:k,end:_}}else l=null}l=l||{start:0,end:0}}else l=null;for(pl={focusedElem:n,selectionRange:l},ul=!1,Me=r;Me!==null;)if(r=Me,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,Me=n;else for(;Me!==null;){r=Me;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 He=_e.memoizedProps,pn=_e.memoizedState,V=r.stateNode,A=V.getSnapshotBeforeUpdate(r.elementType===r.type?He:kr(r.type,He),pn);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){sn(r,r.return,ye)}if(n=r.sibling,n!==null){n.return=r.return,Me=n;break}Me=r.return}return _e=Fc,Fc=!1,_e}function Mo(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&&Id(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 Dh(n){var r=n.alternate;r!==null&&(n.alternate=null,Dh(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[Vi],delete r[hl],delete r[Cd],delete r[og],delete r[Rd])),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 jd(n){return n.tag===5||n.tag===3||n.tag===4}function kh(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||jd(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 Ju(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(Ju(n,r,l),n=n.sibling;n!==null;)Ju(n,r,l),n=n.sibling}function Lo(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(Lo(n,r,l),n=n.sibling;n!==null;)Lo(n,r,l),n=n.sibling}var Kt=null,Un=!1;function or(n,r,l){for(l=l.child;l!==null;)_o(n,r,l),l=l.sibling}function _o(n,r,l){if(wi&&typeof wi.onCommitFiberUnmount=="function")try{wi.onCommitFiberUnmount(yu,l)}catch{}switch(l.tag){case 5:Bn||Oo(l,r);case 6:var u=Kt,c=Un;Kt=null,or(n,r,l),Kt=u,Un=c,Kt!==null&&(Un?(n=Kt,l=l.stateNode,n.nodeType===8?n.parentNode.removeChild(l):n.removeChild(l)):Kt.removeChild(l.stateNode));break;case 18:Kt!==null&&(Un?(n=Kt,l=l.stateNode,n.nodeType===8?Aa(n.parentNode,l):n.nodeType===1&&Aa(n,l),Ru(n)):Aa(Kt,l.stateNode));break;case 4:u=Kt,c=Un,Kt=l.stateNode.containerInfo,Un=!0,or(n,r,l),Kt=u,Un=c;break;case 0:case 11:case 14:case 15:if(!Bn&&(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)&&Id(l,r,E),c=c.next}while(c!==u)}or(n,r,l);break;case 1:if(!Bn&&(Oo(l,r),u=l.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=l.memoizedProps,u.state=l.memoizedState,u.componentWillUnmount()}catch(k){sn(l,r,k)}or(n,r,l);break;case 21:or(n,r,l);break;case 22:l.mode&1?(Bn=(u=Bn)||l.memoizedState!==null,or(n,r,l),Bn=u):or(n,r,l);break;default:or(n,r,l)}}function No(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 Fn(n,r){var l=r.deletions;if(l!==null)for(var u=0;u<l.length;u++){var c=l[u];try{var h=n,E=r,k=E;e:for(;k!==null;){switch(k.tag){case 5:Kt=k.stateNode,Un=!1;break e;case 3:Kt=k.stateNode.containerInfo,Un=!0;break e;case 4:Kt=k.stateNode.containerInfo,Un=!0;break e}k=k.return}if(Kt===null)throw Error(v(160));_o(h,E,c),Kt=null,Un=!1;var _=c.alternate;_!==null&&(_.return=null),c.return=null}catch(W){sn(c,r,W)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Oh(r,n),r=r.sibling}function Oh(n,r){var l=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(Fn(r,n),$i(n),u&4){try{Mo(3,n,n.return),Hc(3,n)}catch(He){sn(n,n.return,He)}try{Mo(5,n,n.return)}catch(He){sn(n,n.return,He)}}break;case 1:Fn(r,n),$i(n),u&512&&l!==null&&Oo(l,l.return);break;case 5:if(Fn(r,n),$i(n),u&512&&l!==null&&Oo(l,l.return),n.flags&32){var c=n.stateNode;try{Pr(c,"")}catch(He){sn(n,n.return,He)}}if(u&4&&(c=n.stateNode,c!=null)){var h=n.memoizedProps,E=l!==null?l.memoizedProps:h,k=n.type,_=n.updateQueue;if(n.updateQueue=null,_!==null)try{k==="input"&&h.type==="radio"&&h.name!=null&&_n(c,h),Rn(k,E);var W=Rn(k,h);for(E=0;E<_.length;E+=2){var se=_[E],ve=_[E+1];se==="style"?Ft(c,ve):se==="dangerouslySetInnerHTML"?Er(c,ve):se==="children"?Pr(c,ve):Q(c,se,ve,W)}switch(k){case"input":Ve(c,h);break;case"textarea":Hr(c,h);break;case"select":var ae=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!h.multiple;var be=h.value;be!=null?Xt(c,!!h.multiple,be,!1):ae!==!!h.multiple&&(h.defaultValue!=null?Xt(c,!!h.multiple,h.defaultValue,!0):Xt(c,!!h.multiple,h.multiple?[]:"",!1))}c[hl]=h}catch(He){sn(n,n.return,He)}}break;case 6:if(Fn(r,n),$i(n),u&4){if(n.stateNode===null)throw Error(v(162));c=n.stateNode,h=n.memoizedProps;try{c.nodeValue=h}catch(He){sn(n,n.return,He)}}break;case 3:if(Fn(r,n),$i(n),u&4&&l!==null&&l.memoizedState.isDehydrated)try{Ru(r.containerInfo)}catch(He){sn(n,n.return,He)}break;case 4:Fn(r,n),$i(n);break;case 13:Fn(r,n),$i(n),c=n.child,c.flags&8192&&(h=c.memoizedState!==null,c.stateNode.isHidden=h,!h||c.alternate!==null&&c.alternate.memoizedState!==null||(Ic=an())),u&4&&No(n);break;case 22:if(se=l!==null&&l.memoizedState!==null,n.mode&1?(Bn=(W=Bn)||se,Fn(r,n),Bn=W):Fn(r,n),$i(n),u&8192){if(W=n.memoizedState!==null,(n.stateNode.isHidden=W)&&!se&&n.mode&1)for(Me=n,se=n.child;se!==null;){for(ve=Me=se;Me!==null;){switch(ae=Me,be=ae.child,ae.tag){case 0:case 11:case 14:case 15:Mo(4,ae,ae.return);break;case 1:Oo(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(He){sn(u,l,He)}}break;case 5:Oo(ae,ae.return);break;case 22:if(ae.memoizedState!==null){Mh(ve);continue}}be!==null?(be.return=ae,Me=be):Mh(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"):(k=ve.stateNode,_=ve.memoizedProps.style,E=_!=null&&_.hasOwnProperty("display")?_.display:null,k.style.display=st("display",E))}catch(He){sn(n,n.return,He)}}}else if(ve.tag===6){if(se===null)try{ve.stateNode.nodeValue=W?"":ve.memoizedProps}catch(He){sn(n,n.return,He)}}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:Fn(r,n),$i(n),u&4&&No(n);break;case 21:break;default:Fn(r,n),$i(n)}}function $i(n){var r=n.flags;if(r&2){try{e:{for(var l=n.return;l!==null;){if(jd(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&&(Pr(c,""),u.flags&=-33);var h=kh(n);Lo(n,h,c);break;case 3:case 4:var E=u.stateNode.containerInfo,k=kh(n);Ju(n,k,E);break;default:throw Error(v(161))}}catch(_){sn(n,n.return,_)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function vg(n,r,l){Me=n,Bd(n)}function Bd(n,r,l){for(var u=(n.mode&1)!==0;Me!==null;){var c=Me,h=c.child;if(c.tag===22&&u){var E=c.memoizedState!==null||ko;if(!E){var k=c.alternate,_=k!==null&&k.memoizedState!==null||Bn;k=ko;var W=Bn;if(ko=E,(Bn=_)&&!W)for(Me=c;Me!==null;)E=Me,_=E.child,E.tag===22&&E.memoizedState!==null?$d(c):_!==null?(_.return=E,Me=_):$d(c);for(;h!==null;)Me=h,Bd(h),h=h.sibling;Me=c,ko=k,Bn=W}Ao(n)}else c.subtreeFlags&8772&&h!==null?(h.return=c,Me=h):Ao(n)}}function Ao(n){for(;Me!==null;){var r=Me;if(r.flags&8772){var l=r.alternate;try{if(r.flags&8772)switch(r.tag){case 0:case 11:case 15:Bn||Hc(5,r);break;case 1:var u=r.stateNode;if(r.flags&4&&!Bn)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&&ph(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}ph(r,E,l)}break;case 5:var k=r.stateNode;if(l===null&&r.flags&4){l=k;var _=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":_.autoFocus&&l.focus();break;case"img":_.src&&(l.src=_.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var W=r.alternate;if(W!==null){var se=W.memoizedState;if(se!==null){var ve=se.dehydrated;ve!==null&&Ru(ve)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(v(163))}Bn||r.flags&512&&Pc(r)}catch(ae){sn(r,r.return,ae)}}if(r===n){Me=null;break}if(l=r.sibling,l!==null){l.return=r.return,Me=l;break}Me=r.return}}function Mh(n){for(;Me!==null;){var r=Me;if(r===n){Me=null;break}var l=r.sibling;if(l!==null){l.return=r.return,Me=l;break}Me=r.return}}function $d(n){for(;Me!==null;){var r=Me;try{switch(r.tag){case 0:case 11:case 15:var l=r.return;try{Hc(4,r)}catch(_){sn(r,l,_)}break;case 1:var u=r.stateNode;if(typeof u.componentDidMount=="function"){var c=r.return;try{u.componentDidMount()}catch(_){sn(r,c,_)}}var h=r.return;try{Pc(r)}catch(_){sn(r,h,_)}break;case 5:var E=r.return;try{Pc(r)}catch(_){sn(r,E,_)}}}catch(_){sn(r,r.return,_)}if(r===n){Me=null;break}var k=r.sibling;if(k!==null){k.return=r.return,Me=k;break}Me=r.return}}var hg=Math.ceil,Dl=J.ReactCurrentDispatcher,Vc=J.ReactCurrentOwner,di=J.ReactCurrentBatchConfig,dt=0,un=null,Bt=null,wn=0,Lr=0,zo=ut(0),bn=0,es=null,kl=0,Uo=0,Yd=0,$a=null,ir=null,Ic=0,Fo=1/0,va=null,jc=!1,Qd=null,pi=null,Ho=!1,vi=null,Bc=0,ts=0,$c=null,ns=-1,Ol=0;function Hn(){return dt&6?an():ns!==-1?ns:ns=an()}function ha(n){return n.mode&1?dt&2&&wn!==0?wn&-wn:uc.transition!==null?(Ol===0&&(Ol=Hs()),Ol):(n=Mt,n!==0||(n=window.event,n=n===void 0?16:Zf(n.type)),n):1}function Zt(n,r,l,u){if(50<ts)throw ts=0,$c=null,Error(v(185));ol(n,l,u),(!(dt&2)||n!==un)&&(n===un&&(!(dt&2)&&(Uo|=l),bn===4&&Yi(n,wn)),Dn(n,u),l===1&&dt===0&&!(r.mode&1)&&(Fo=an()+500,zn&&xr()))}function Dn(n,r){var l=n.callbackNode;Fs(n,r);var u=bi(n,n===un?wn:0);if(u===0)l!==null&&mv(l),n.callbackNode=null,n.callbackPriority=0;else if(r=u&-u,n.callbackPriority!==r){if(l!=null&&mv(l),r===1)n.tag===0?Td(Po.bind(null,n)):xd(Po.bind(null,n)),Ed(function(){!(dt&6)&&xr()}),l=null;else{switch(Kf(u)){case 1:l=ta;break;case 4:l=ft;break;case 16:l=Oa;break;case 536870912:l=Yf;break;default:l=Oa}l=Hh(l,Yc.bind(null,n))}n.callbackPriority=r,n.callbackNode=l}}function Yc(n,r){if(ns=-1,Ol=0,dt&6)throw Error(v(327));var l=n.callbackNode;if(Vo()&&n.callbackNode!==l)return null;var u=bi(n,n===un?wn:0);if(u===0)return null;if(u&30||u&n.expiredLanes||r)r=Wc(n,u);else{r=u;var c=dt;dt|=2;var h=_h();(un!==n||wn!==r)&&(va=null,Fo=an()+500,Ll(n,r));do try{yg();break}catch(k){Lh(n,k)}while(1);$r(),Dl.current=h,dt=c,Bt!==null?r=0:(un=null,wn=0,r=bn)}if(r!==0){if(r===2&&(c=Wf(n),c!==0&&(u=c,r=Ml(n,c))),r===1)throw l=es,Ll(n,0),Yi(n,u),Dn(n,an()),l;if(r===6)Yi(n,u);else{if(c=n.current.alternate,!(u&30)&&!Gd(c)&&(r=Wc(n,u),r===2&&(h=Wf(n),h!==0&&(u=h,r=Ml(n,h))),r===1))throw l=es,Ll(n,0),Yi(n,u),Dn(n,an()),l;switch(n.finishedWork=c,n.finishedLanes=u,r){case 0:case 1:throw Error(v(345));case 2:Ya(n,ir,va);break;case 3:if(Yi(n,u),(u&130023424)===u&&(r=Ic+500-an(),10<r)){if(bi(n,0)!==0)break;if(c=n.suspendedLanes,(c&u)!==u){Hn(),n.pingedLanes|=n.suspendedLanes&c;break}n.timeoutHandle=vl(Ya.bind(null,n,ir,va),r);break}Ya(n,ir,va);break;case 4:if(Yi(n,u),(u&4194240)===u)break;for(r=n.eventTimes,c=-1;0<u;){var E=31-Jr(u);h=1<<E,E=r[E],E>c&&(c=E),u&=~h}if(u=c,u=an()-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,ir,va),u);break}Ya(n,ir,va);break;case 5:Ya(n,ir,va);break;default:throw Error(v(329))}}}return Dn(n,an()),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=ir,ir=l,r!==null&&Wd(r)),n}function Wd(n){ir===null?ir=n:ir.push.apply(ir,n)}function Gd(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(!ni(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 Yi(n,r){for(r&=~Yd,r&=~Uo,n.suspendedLanes|=r,n.pingedLanes&=~r,n=n.expirationTimes;0<r;){var l=31-Jr(r),u=1<<l;n[l]=-1,r&=~u}}function Po(n){if(dt&6)throw Error(v(327));Vo();var r=bi(n,0);if(!(r&1))return Dn(n,an()),null;var l=Wc(n,r);if(n.tag!==0&&l===2){var u=Wf(n);u!==0&&(r=u,l=Ml(n,u))}if(l===1)throw l=es,Ll(n,0),Yi(n,r),Dn(n,an()),l;if(l===6)throw Error(v(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,Ya(n,ir,va),Dn(n,an()),null}function Kd(n,r){var l=dt;dt|=1;try{return n(r)}finally{dt=l,dt===0&&(Fo=an()+500,zn&&xr())}}function Qi(n){vi!==null&&vi.tag===0&&!(dt&6)&&Vo();var r=dt;dt|=1;var l=di.transition,u=Mt;try{if(di.transition=null,Mt=1,n)return n()}finally{Mt=u,di.transition=l,dt=r,!(dt&6)&&xr()}}function Qc(){Lr=zo.current,wt(zo)}function Ll(n,r){n.finishedWork=null,n.finishedLanes=0;var l=n.timeoutHandle;if(l!==-1&&(n.timeoutHandle=-1,ih(l)),Bt!==null)for(l=Bt.return;l!==null;){var u=l;switch(bd(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&ai();break;case 3:yo(),wt(ln),wt(tt),Nd();break;case 5:_d(u);break;case 4:yo();break;case 13:wt(Gt);break;case 19:wt(Gt);break;case 10:Od(u.type._context);break;case 22:case 23:Qc()}l=l.return}if(un=n,Bt=n=Qa(n.current,null),wn=Lr=r,bn=0,es=null,Yd=Uo=kl=0,ir=$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 Lh(n,r){do{var l=Bt;try{if($r(),hc.current=nr,Yr){for(var u=Be.memoizedState;u!==null;){var c=u.queue;c!==null&&(c.pending=null),u=u.next}Yr=!1}if(Ie=0,ct=nt=Be=null,go=!1,$u=0,Vc.current=null,l===null||l.return===null){bn=1,es=r,Bt=null;break}e:{var h=n,E=l.return,k=l,_=r;if(r=wn,k.flags|=32768,_!==null&&typeof _=="object"&&typeof _.then=="function"){var W=_,se=k,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=Rh(E);if(be!==null){be.flags&=-257,Hd(be,E,k,h,r),be.mode&1&&Ku(h,W,r),r=be,_=W;var _e=r.updateQueue;if(_e===null){var He=new Set;He.add(_),r.updateQueue=He}else _e.add(_);break e}else{if(!(r&1)){Ku(h,W,r),rs();break e}_=Error(v(426))}}else if(jt&&k.mode&1){var pn=Rh(E);if(pn!==null){!(pn.flags&65536)&&(pn.flags|=256),Hd(pn,E,k,h,r),kd(ja(_,k));break e}}h=_=ja(_,k),bn!==4&&(bn=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=Eh(h,_,r);dh(h,V);break e;case 1:k=_;var A=h.type,B=h.stateNode;if(!(h.flags&128)&&(typeof A.getDerivedStateFromError=="function"||B!==null&&typeof B.componentDidCatch=="function"&&(pi===null||!pi.has(B)))){h.flags|=65536,r&=-r,h.lanes|=r;var ye=Ch(h,k,r);dh(h,ye);break e}}h=h.return}while(h!==null)}Ah(l)}catch(je){r=je,Bt===l&&l!==null&&(Bt=l=l.return);continue}break}while(1)}function _h(){var n=Dl.current;return Dl.current=nr,n===null?nr:n}function rs(){(bn===0||bn===3||bn===2)&&(bn=4),un===null||!(kl&268435455)&&!(Uo&268435455)||Yi(un,wn)}function Wc(n,r){var l=dt;dt|=2;var u=_h();(un!==n||wn!==r)&&(va=null,Ll(n,r));do try{mg();break}catch(c){Lh(n,c)}while(1);if($r(),dt=l,Dl.current=u,Bt!==null)throw Error(v(261));return un=null,wn=0,bn}function mg(){for(;Bt!==null;)Nh(Bt)}function yg(){for(;Bt!==null&&!Py();)Nh(Bt)}function Nh(n){var r=Fh(n.alternate,n,Lr);n.memoizedProps=n.pendingProps,r===null?Ah(n):Bt=r,Vc.current=null}function Ah(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,Bt=l;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{bn=6,Bt=null;return}}else if(l=fg(l,r,Lr),l!==null){Bt=l;return}if(r=r.sibling,r!==null){Bt=r;return}Bt=r=n}while(r!==null);bn===0&&(bn=5)}function Ya(n,r,l){var u=Mt,c=di.transition;try{di.transition=null,Mt=1,gg(n,r,l,u)}finally{di.transition=c,Mt=u}return null}function gg(n,r,l,u){do Vo();while(vi!==null);if(dt&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===un&&(Bt=un=null,wn=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||Ho||(Ho=!0,Hh(Oa,function(){return Vo(),null})),h=(l.flags&15990)!==0,l.subtreeFlags&15990||h){h=di.transition,di.transition=null;var E=Mt;Mt=1;var k=dt;dt|=4,Vc.current=null,pg(n,l),Oh(l,n),qs(pl),ul=!!gd,pl=gd=null,n.current=l,vg(l),Vy(),dt=k,Mt=E,di.transition=h}else n.current=l;if(Ho&&(Ho=!1,vi=n,Bc=c),h=n.pendingLanes,h===0&&(pi=null),gv(l.stateNode),Dn(n,an()),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=Qd,Qd=null,n;return Bc&1&&n.tag!==0&&Vo(),h=n.pendingLanes,h&1?n===$c?ts++:(ts=0,$c=n):ts=0,xr(),null}function Vo(){if(vi!==null){var n=Kf(Bc),r=di.transition,l=Mt;try{if(di.transition=null,Mt=16>n?16:n,vi===null)var u=!1;else{if(n=vi,vi=null,Bc=0,dt&6)throw Error(v(331));var c=dt;for(dt|=4,Me=n.current;Me!==null;){var h=Me,E=h.child;if(Me.flags&16){var k=h.deletions;if(k!==null){for(var _=0;_<k.length;_++){var W=k[_];for(Me=W;Me!==null;){var se=Me;switch(se.tag){case 0:case 11:case 15:Mo(8,se,h)}var ve=se.child;if(ve!==null)ve.return=se,Me=ve;else for(;Me!==null;){se=Me;var ae=se.sibling,be=se.return;if(Dh(se),se===W){Me=null;break}if(ae!==null){ae.return=be,Me=ae;break}Me=be}}}var _e=h.alternate;if(_e!==null){var He=_e.child;if(He!==null){_e.child=null;do{var pn=He.sibling;He.sibling=null,He=pn}while(He!==null)}}Me=h}}if(h.subtreeFlags&2064&&E!==null)E.return=h,Me=E;else e:for(;Me!==null;){if(h=Me,h.flags&2048)switch(h.tag){case 0:case 11:case 15:Mo(9,h,h.return)}var V=h.sibling;if(V!==null){V.return=h.return,Me=V;break e}Me=h.return}}var A=n.current;for(Me=A;Me!==null;){E=Me;var B=E.child;if(E.subtreeFlags&2064&&B!==null)B.return=E,Me=B;else e:for(E=A;Me!==null;){if(k=Me,k.flags&2048)try{switch(k.tag){case 0:case 11:case 15:Hc(9,k)}}catch(je){sn(k,k.return,je)}if(k===E){Me=null;break e}var ye=k.sibling;if(ye!==null){ye.return=k.return,Me=ye;break e}Me=k.return}}if(dt=c,xr(),wi&&typeof wi.onPostCommitFiberRoot=="function")try{wi.onPostCommitFiberRoot(yu,n)}catch{}u=!0}return u}finally{Mt=l,di.transition=r}}return!1}function zh(n,r,l){r=ja(l,r),r=Eh(n,r,1),n=Va(n,r,1),r=Hn(),n!==null&&(ol(n,1,r),Dn(n,r))}function sn(n,r,l){if(n.tag===3)zh(n,n,l);else for(;r!==null;){if(r.tag===3){zh(r,n,l);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(pi===null||!pi.has(u))){n=ja(l,n),n=Ch(r,n,1),r=Va(r,n,1),n=Hn(),r!==null&&(ol(r,1,n),Dn(r,n));break}}r=r.return}}function Sg(n,r,l){var u=n.pingCache;u!==null&&u.delete(r),r=Hn(),n.pingedLanes|=n.suspendedLanes&l,un===n&&(wn&l)===l&&(bn===4||bn===3&&(wn&130023424)===wn&&500>an()-Ic?Ll(n,0):Yd|=l),Dn(n,r)}function Uh(n,r){r===0&&(n.mode&1?(r=Jl,Jl<<=1,!(Jl&130023424)&&(Jl=4194304)):r=1);var l=Hn();n=fa(n,r),n!==null&&(ol(n,r,l),Dn(n,l))}function Xd(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),Uh(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),Uh(n,l)}var Fh;Fh=function(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps||ln.current)Or=!0;else{if(!(n.lanes&l)&&!(r.flags&128))return Or=!1,pa(n,r,l);Or=!!(n.flags&131072)}else Or=!1,jt&&r.flags&1048576&&wd(r,fo,r.index);switch(r.lanes=0,r.tag){case 2:var u=r.type;Zu(n,r),n=r.pendingProps;var c=ii(r,tt.current);vo(r,l),c=ie(null,r,u,n,c,l);var h=Sn();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,Ud(r,u,n,l),r=_c(null,r,u,!0,h,l)):(r.tag=0,jt&&h&&ic(r),fn(null,r,c,l),r=r.child),r;case 16:u=r.elementType;e:{switch(Zu(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=ot(null,r,u,n,l);break e;case 1:r=Xu(null,r,u,n,l);break e;case 11:r=wo(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),ot(n,r,u,c,l);case 1:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:kr(u,c),Xu(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,ho(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=Th(n,r,u,l,c);break e}else if(u!==c){c=ja(Error(v(424)),r),r=Th(n,r,u,l,c);break e}else for(br=Mi(r.stateNode.containerInfo.firstChild),Br=r,jt=!0,oi=null,l=ch(r,null,u,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(qt(),u===c){r=dn(n,r,l);break e}fn(n,r,u,l)}r=r.child}return r;case 5:return vh(r),n===null&&lc(r),u=r.type,c=r.pendingProps,h=n!==null?n.memoizedProps:null,E=c.children,Uu(u,c)?E=null:h!==null&&Uu(u,h)&&(r.flags|=32),wl(n,r),fn(n,r,E,l),r.child;case 6:return n===null&&lc(r),null;case 13:return wh(n,r,l);case 4:return Ld(r,r.stateNode.containerInfo),u=r.pendingProps,n===null?r.child=po(r,null,u,l):fn(n,r,u,l),r.child;case 11:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:kr(u,c),wo(n,r,u,c,l);case 7:return fn(n,r,r.pendingProps,l),r.child;case 8:return fn(n,r,r.pendingProps.children,l),r.child;case 12:return fn(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,Dt(ca,u._currentValue),u._currentValue=E,h!==null)if(ni(h.value,E)){if(h.children===c.children&&!ln.current){r=dn(n,r,l);break e}}else for(h=r.child,h!==null&&(h.return=r);h!==null;){var k=h.dependencies;if(k!==null){E=h.child;for(var _=k.firstContext;_!==null;){if(_.context===u){if(h.tag===1){_=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),Md(h.return,l,r),k.lanes|=l;break}_=_.next}}else if(h.tag===10)E=h.type===r.type?null:h.child;else if(h.tag===18){if(E=h.return,E===null)throw Error(v(341));E.lanes|=l,k=E.alternate,k!==null&&(k.lanes|=l),Md(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}fn(n,r,c.children,l),r=r.child}return r;case 9:return c=r.type,u=r.pendingProps.children,vo(r,l),c=si(c),u=u(c),r.flags|=1,fn(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),Zu(n,r),r.tag=1,Wt(u)?(n=!0,rc(r)):n=!1,vo(r,l),yh(r,u,c),Ud(r,u,c,l),_c(null,r,u,!0,n,l);case 19:return Vd(n,r,l);case 22:return Mr(n,r,l)}throw Error(v(156,r.tag))};function Hh(n,r){return $f(n,r)}function Ph(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 hi(n,r,l,u){return new Ph(n,r,l,u)}function qd(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Cg(n){if(typeof n=="function")return qd(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=hi(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")qd(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 Ye:return n=hi(12,l,r,c|2),n.elementType=Ye,n.lanes=h,n;case ne:return n=hi(13,l,r,c),n.elementType=ne,n.lanes=h,n;case G:return n=hi(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=hi(E,l,r,c),r.elementType=n,r.type=u,r.lanes=h,r}function _l(n,r,l,u){return n=hi(7,n,u,r),n.lanes=l,n}function Kc(n,r,l,u){return n=hi(22,n,u,r),n.elementType=ue,n.lanes=l,n.stateNode={isHidden:!1},n}function Xc(n,r,l){return n=hi(6,n,null,r),n.lanes=l,n}function is(n,r,l){return r=hi(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function as(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=Gf(0),this.expirationTimes=Gf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gf(0),this.identifierPrefix=u,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function Zd(n,r,l,u,c,h,E,k,_){return n=new as(n,r,l,k,_),r===1?(r=1,h===!0&&(r|=8)):r=0,h=hi(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 Vh(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 Jd(n){if(!n)return Ii;n=n._reactInternals;e:{if(Pi(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 Pu(n,l,r)}return r}function ep(n,r,l,u,c,h,E,k,_){return n=Zd(l,u,!0,n,c,h,E,k,_),n.context=Jd(null),l=n.current,u=Hn(),c=ha(l),h=Dr(u,c),h.callback=r??null,Va(l,h,c),n.current.lanes=c,ol(n,c,u),Dn(n,u),n}function qc(n,r,l,u){var c=r.current,h=Hn(),E=ha(c);return l=Jd(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&&(Zt(n,c,E,h),fc(n,c,E)),E}function ls(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 Ih(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function tp(n,r){Ih(n,r),(n=n.alternate)&&Ih(n,r)}function Rg(){return null}var np=typeof reportError=="function"?reportError:function(n){console.error(n)};function Zc(n){this._internalRoot=n}os.prototype.render=Zc.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(v(409));qc(n,r,null,null)},os.prototype.unmount=Zc.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;Qi(function(){qc(null,n,null,null)}),r[ua]=null}};function os(n){this._internalRoot=n}os.prototype.unstable_scheduleHydration=function(n){if(n){var r=Rv();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&&xv(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 jh(){}function xg(n,r,l,u,c){if(c){if(typeof u=="function"){var h=u;u=function(){var W=ls(E);h.call(W)}}var E=ep(r,u,n,0,null,!1,!1,"",jh);return n._reactRootContainer=E,n[ua]=E.current,so(n.nodeType===8?n.parentNode:n),Qi(),E}for(;c=n.lastChild;)n.removeChild(c);if(typeof u=="function"){var k=u;u=function(){var W=ls(_);k.call(W)}}var _=Zd(n,0,!1,null,null,!1,!1,"",jh);return n._reactRootContainer=_,n[ua]=_.current,so(n.nodeType===8?n.parentNode:n),Qi(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 k=c;c=function(){var _=ls(E);k.call(_)}}qc(r,E,n,c)}else E=xg(l,r,n,c,u);return ls(E)}Cv=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var l=ll(r.pendingLanes);l!==0&&(gu(r,l|1),Dn(r,an()),!(dt&6)&&(Fo=an()+500,xr()))}break;case 13:Qi(function(){var u=fa(n,1);if(u!==null){var c=Hn();Zt(u,n,1,c)}}),tp(n,1)}},Ps=function(n){if(n.tag===13){var r=fa(n,134217728);if(r!==null){var l=Hn();Zt(r,n,134217728,l)}tp(n,134217728)}},Lt=function(n){if(n.tag===13){var r=ha(n),l=fa(n,r);if(l!==null){var u=Hn();Zt(l,n,r,u)}tp(n,r)}},Rv=function(){return Mt},Xf=function(n,r){var l=Mt;try{return Mt=n,r()}finally{Mt=l}},Hi=function(n,r,l){switch(r){case"input":if(Ve(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=Ge(u);if(!c)throw Error(v(90));ht(u),Ve(u,c)}}}break;case"textarea":Hr(n,l);break;case"select":r=l.value,r!=null&&Xt(n,!!l.multiple,r,!1)}},dv=Kd,pv=Qi;var Tg={usingClientEntryPoint:!1,Events:[Hu,co,Ge,_s,Ns,Kd]},us={findFiberByHostInstance:ri,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Bh={bundleType:us.bundleType,version:us.version,rendererPackageName:us.rendererPackageName,rendererConfig:us.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=vv(n),n===null?null:n.stateNode},findFiberByHostInstance:us.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{yu=tf.inject(Bh),wi=tf}catch{}}return Ci.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tg,Ci.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Wa(r))throw Error(v(200));return Vh(n,r,null,l)},Ci.createRoot=function(n,r){if(!Wa(n))throw Error(v(299));var l=!1,u="",c=np;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onRecoverableError!==void 0&&(c=r.onRecoverableError)),r=Zd(n,1,!1,null,null,l,!1,u,c),n[ua]=r.current,so(n.nodeType===8?n.parentNode:n),new Zc(r)},Ci.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(v(188)):(n=Object.keys(n).join(","),Error(v(268,n)));return n=vv(r),n=n===null?null:n.stateNode,n},Ci.flushSync=function(n){return Qi(n)},Ci.hydrate=function(n,r,l){if(!Jc(r))throw Error(v(200));return ef(null,n,r,!0,l)},Ci.hydrateRoot=function(n,r,l){if(!Wa(n))throw Error(v(405));var u=l!=null&&l.hydratedSources||null,c=!1,h="",E=np;if(l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(h=l.identifierPrefix),l.onRecoverableError!==void 0&&(E=l.onRecoverableError)),r=ep(r,null,n,1,l??null,c,!1,h,E),n[ua]=r.current,so(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 os(r)},Ci.render=function(n,r,l){if(!Jc(r))throw Error(v(200));return ef(null,n,r,!1,l)},Ci.unmountComponentAtNode=function(n){if(!Jc(n))throw Error(v(40));return n._reactRootContainer?(Qi(function(){ef(null,null,n,!1,function(){n._reactRootContainer=null,n[ua]=null})}),!0):!1},Ci.unstable_batchedUpdates=Kd,Ci.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)},Ci.version="18.3.1-next-f1338f8080-20240426",Ci}var Ri={};/**
|
|
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,g=!1;function C(e){g=e}function R(e){if(!g){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];O("warn",e,i)}}function m(e){if(!g){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];O("error",e,i)}}function O(e,t,i){{var a=v.ReactDebugCurrentFrame,o=a.getStackAddendum();o!==""&&(t+="%s",i=i.concat([o]));var s=i.map(function(d){return String(d)});s.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,s)}}var D=0,w=1,H=2,M=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,Ye=17,pe=18,Se=19,Ee=21,ne=22,G=23,ce=24,re=25,ue=!0,X=!1,fe=!1,$=!1,Oe=!1,rt=!0,Ot=!1,_t=!0,ze=!0,Fe=!0,Pe=!0,Le=new Set,Ze={},St={};function vt(e,t){ht(e,t),ht(e+"Capture",t)}function ht(e,t){Ze[e]&&m("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ze[e]=t;{var i=e.toLowerCase();St[i]=e,e==="onDoubleClick"&&(St.ondblclick=e)}for(var a=0;a<t.length;a++)Le.add(t[a])}var Ut=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Yt=Object.prototype.hasOwnProperty;function Qt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,i=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i}}function _n(e){try{return Ve(e),!1}catch{return!0}}function Ve(e){return""+e}function mt(e,t){if(_n(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,Qt(e)),Ve(e)}function Ke(e){if(_n(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Qt(e)),Ve(e)}function Et(e,t){if(_n(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,Qt(e)),Ve(e)}function Xt(e,t){if(_n(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,Qt(e)),Ve(e)}function Ct(e){if(_n(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.",Qt(e)),Ve(e)}function en(e){if(_n(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.",Qt(e)),Ve(e)}var Hr=0,tn=1,Vn=2,Cn=3,Sr=4,Er=5,Pr=6,xe=":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",We=xe+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",st=new RegExp("^["+xe+"]["+We+"]*$"),Ft={},cn={};function Zn(e){return Yt.call(cn,e)?!0:Yt.call(Ft,e)?!1:st.test(e)?(cn[e]=!0,!0):(Ft[e]=!0,m("Invalid attribute name: `%s`",e),!1)}function Rn(e,t,i){return t!==null?t.type===Hr:i?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Zr(e,t,i,a){if(i!==null&&i.type===Hr)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 nn(e,t,i,a){if(t===null||typeof t>"u"||Zr(e,t,i,a))return!0;if(a)return!1;if(i!==null)switch(i.type){case Cn:return!t;case Sr:return t===!1;case Er:return isNaN(t);case Pr:return isNaN(t)||t<1}return!1}function Hi(e){return rn.hasOwnProperty(e)?rn[e]:null}function hn(e,t,i,a,o,s,d){this.acceptsBooleans=t===Vn||t===Cn||t===Sr,this.attributeName=a,this.attributeNamespace=o,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=d}var rn={},fv=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];fv.forEach(function(e){rn[e]=new hn(e,Hr,!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];rn[t]=new hn(t,tn,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){rn[e]=new hn(e,Vn,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){rn[e]=new hn(e,Vn,!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){rn[e]=new hn(e,Cn,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){rn[e]=new hn(e,Cn,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){rn[e]=new hn(e,Sr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){rn[e]=new hn(e,Pr,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){rn[e]=new hn(e,Er,!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);rn[t]=new hn(t,tn,!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);rn[t]=new hn(t,tn,!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);rn[t]=new hn(t,tn,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){rn[e]=new hn(e,tn,!1,e.toLowerCase(),null,!1,!1)});var dv="xlinkHref";rn[dv]=new hn("xlinkHref",tn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){rn[e]=new hn(e,tn,!1,e.toLowerCase(),null,!0,!0)});var pv=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,As=!1;function If(e){!As&&pv.test(e)&&(As=!0,m("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function vu(e,t,i,a){if(a.mustUseProperty){var o=a.propertyName;return e[o]}else{mt(i,t),a.sanitizeURL&&If(""+i);var s=a.attributeName,d=null;if(a.type===Sr){if(e.hasAttribute(s)){var y=e.getAttribute(s);return y===""?!0:nn(t,i,a,!1)?y:y===""+i?i:y}}else if(e.hasAttribute(s)){if(nn(t,i,a,!1))return e.getAttribute(s);if(a.type===Cn)return i;d=e.getAttribute(s)}return nn(t,i,a,!1)?d===null?i:d:d===""+i?i:d}}function zs(e,t,i,a){{if(!Zn(t))return;if(!e.hasAttribute(t))return i===void 0?void 0:null;var o=e.getAttribute(t);return mt(i,t),o===""+i?i:o}}function al(e,t,i,a){var o=Hi(t);if(!Rn(t,o,a)){if(nn(t,i,o,a)&&(i=null),a||o===null){if(Zn(t)){var s=t;i===null?e.removeAttribute(s):(mt(i,t),e.setAttribute(s,""+i))}return}var d=o.mustUseProperty;if(d){var y=o.propertyName;if(i===null){var S=o.type;e[y]=S===Cn?!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===Cn||z===Sr&&i===!0?N="":(mt(i,x),N=""+i,o.sanitizeURL&&If(N.toString())),T?e.setAttributeNS(T,x,N):e.setAttribute(x,N)}}}var Kl=Symbol.for("react.element"),Ti=Symbol.for("react.portal"),ea=Symbol.for("react.fragment"),Xl=Symbol.for("react.strict_mode"),hu=Symbol.for("react.profiler"),jf=Symbol.for("react.provider"),Bf=Symbol.for("react.context"),ql=Symbol.for("react.forward_ref"),Pi=Symbol.for("react.suspense"),mu=Symbol.for("react.suspense_list"),Zl=Symbol.for("react.memo"),lr=Symbol.for("react.lazy"),vv=Symbol.for("react.scope"),hv=Symbol.for("react.debug_trace_mode"),$f=Symbol.for("react.offscreen"),mv=Symbol.for("react.legacy_hidden"),Py=Symbol.for("react.cache"),Vy=Symbol.for("react.tracing_marker"),an=Symbol.iterator,Iy="@@iterator";function ta(e){if(e===null||typeof e!="object")return null;var t=an&&e[an]||e[Iy];return typeof t=="function"?t:null}var ft=Object.assign,Oa=0,yv,Yf,yu,wi,gv,Jr,Sv;function Ev(){}Ev.__reactDisabledLog=!0;function jy(){{if(Oa===0){yv=console.log,Yf=console.info,yu=console.warn,wi=console.error,gv=console.group,Jr=console.groupCollapsed,Sv=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ev,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Oa++}}function Us(){{if(Oa--,Oa===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ft({},e,{value:yv}),info:ft({},e,{value:Yf}),warn:ft({},e,{value:yu}),error:ft({},e,{value:wi}),group:ft({},e,{value:gv}),groupCollapsed:ft({},e,{value:Jr}),groupEnd:ft({},e,{value:Sv})})}Oa<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Jl=v.ReactCurrentDispatcher,ll;function bi(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 Qf=!1,Fs;{var Wf=typeof WeakMap=="function"?WeakMap:Map;Fs=new Wf}function Hs(e,t){if(!e||Qf)return"";{var i=Fs.get(e);if(i!==void 0)return i}var a;Qf=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=Jl.current,Jl.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
|
+
`),S=a.stack.split(`
|
|
46
|
+
`),x=y.length-1,T=S.length-1;x>=1&&T>=0&&y[x]!==S[T];)T--;for(;x>=1&&T>=0;x--,T--)if(y[x]!==S[T]){if(x!==1||T!==1)do if(x--,T--,T<0||y[x]!==S[T]){var z=`
|
|
47
|
+
`+y[x].replace(" at new "," at ");return e.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",e.displayName)),typeof e=="function"&&Fs.set(e,z),z}while(x>=1&&T>=0);break}}}finally{Qf=!1,Jl.current=s,Us(),Error.prepareStackTrace=o}var N=e?e.displayName||e.name:"",Y=N?bi(N):"";return typeof e=="function"&&Fs.set(e,Y),Y}function Gf(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 gu(e,t,i){if(e==null)return"";if(typeof e=="function")return Hs(e,By(e));if(typeof e=="string")return bi(e);switch(e){case Pi:return bi("Suspense");case mu:return bi("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case ql:return ol(e.render);case Zl:return gu(e.type,t,i);case lr:{var a=e,o=a._payload,s=a._init;try{return gu(s(o),t,i)}catch{}}}return""}function Mt(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case b:return bi(e.type);case Ue:return bi("Lazy");case le:return bi("Suspense");case Se:return bi("SuspenseList");case D:case H:case ge:return ol(e.type);case Q:return ol(e.type.render);case w:return Gf(e.type);default:return""}}function Kf(e){try{var t="",i=e;do t+=Mt(i),i=i.return;while(i);return t}catch(a){return`
|
|
48
|
+
Error generating stack: `+a.message+`
|
|
49
|
+
`+a.stack}}function Cv(e,t,i){var a=e.displayName;if(a)return a;var o=t.displayName||t.name||"";return o!==""?i+"("+o+")":i}function Ps(e){return e.displayName||"Context"}function Lt(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 ea:return"Fragment";case Ti:return"Portal";case hu:return"Profiler";case Xl:return"StrictMode";case Pi:return"Suspense";case mu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Bf:var t=e;return Ps(t)+".Consumer";case jf:var i=e;return Ps(i._context)+".Provider";case ql:return Cv(e,e.render,"ForwardRef");case Zl:var a=e.displayName||null;return a!==null?a:Lt(e.type)||"Memo";case lr:{var o=e,s=o._payload,d=o._init;try{return Lt(d(s))}catch{return null}}}return null}function Rv(e,t,i){var a=t.displayName||t.name||"";return e.displayName||(a!==""?i+"("+a+")":i)}function Xf(e){return e.displayName||"Context"}function lt(e){var t=e.tag,i=e.type;switch(t){case ce:return"Cache";case de:var a=i;return Xf(a)+".Consumer";case oe:var o=i;return Xf(o._context)+".Provider";case pe:return"DehydratedFragment";case Q:return Rv(i,i.render,"ForwardRef");case P:return"Fragment";case b:return i;case U:return"Portal";case M:return"Root";case L:return"Text";case Ue:return Lt(i);case te:return i===Xl?"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 D:case Ye:case H:case me:case ge:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;break}return null}var Su=v.ReactDebugCurrentFrame,mn=null,ei=!1;function ti(){{if(mn===null)return null;var e=mn._debugOwner;if(e!==null&&typeof e<"u")return lt(e)}return null}function Eu(){return mn===null?"":Kf(mn)}function xn(){Su.getCurrentStack=null,mn=null,ei=!1}function Nt(e){Su.getCurrentStack=e===null?null:Eu,mn=e,ei=!1}function $y(){return mn}function Di(e){ei=e}function Jn(e){return""+e}function Ma(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return en(e),e;default:return""}}var xv={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function eo(e,t){xv[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||m("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||m("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function qf(e){var t=e.type,i=e.nodeName;return i&&i.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Tv(e){return e._valueTracker}function Cu(e){e._valueTracker=null}function Ru(e){var t="";return e&&(qf(e)?t=e.checked?"true":"false":t=e.value),t}function to(e){var t=qf(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);en(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){en(y),a=""+y,s.call(this,y)}}),Object.defineProperty(e,t,{enumerable:i.enumerable});var d={getValue:function(){return a},setValue:function(y){en(y),a=""+y},stopTracking:function(){Cu(e),delete e[t]}};return d}}function ul(e){Tv(e)||(e._valueTracker=to(e))}function wv(e){if(!e)return!1;var t=Tv(e);if(!t)return!0;var i=t.getValue(),a=Ru(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,xu=!1,js=!1,Zf=!1;function na(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function Tu(e,t){var i=e,a=t.checked,o=ft({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??i._wrapperState.initialChecked});return o}function wu(e,t){eo("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!xu&&(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",ti()||"A component",t.type),xu=!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",ti()||"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:na(t)}}function Jf(e,t){var i=e,a=t.checked;a!=null&&al(i,"checked",a,!1)}function no(e,t){var i=e;{var a=na(t);!i._wrapperState.controlled&&a&&!Zf&&(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"),Zf=!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)}Jf(e,t);var o=Ma(t.value),s=t.type;if(o!=null)s==="number"?(o===0&&i.value===""||i.value!=o)&&(i.value=Jn(o)):i.value!==Jn(o)&&(i.value=Jn(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 bu(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=Jn(a._wrapperState.initialValue);i||d!==a.value&&(a.value=d),a.defaultValue=d}var y=a.name;y!==""&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!!a._wrapperState.initialChecked,y!==""&&(a.name=y)}function bv(e,t){var i=e;no(i,t),Vr(i,t)}function Vr(e,t){var i=t.name;if(t.type==="radio"&&i!=null){for(var a=e;a.parentNode;)a=a.parentNode;mt(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=lm(d);if(!y)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");wv(d),no(d,y)}}}}function La(e,t,i){(t!=="number"||Vs(e.ownerDocument)!==e)&&(i==null?e.defaultValue=Jn(e._wrapperState.initialValue):e.defaultValue!==Jn(i)&&(e.defaultValue=Jn(i)))}var Bs=!1,ro=!1,Dv=!1;function $s(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?f.Children.forEach(t.children,function(i){i!=null&&(typeof i=="string"||typeof i=="number"||ro||(ro=!0,m("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(Dv||(Dv=!0,m("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Bs&&(m("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Bs=!0)}function ed(e,t){t.value!=null&&e.setAttribute("value",Jn(Ma(t.value)))}var Du=Array.isArray;function Nn(e){return Du(e)}var Ys;Ys=!1;function kv(){var e=ti();return e?`
|
|
50
|
+
|
|
51
|
+
Check the render method of \``+e+"`.":""}var Ov=["value","defaultValue"];function Yy(e){{eo("select",e);for(var t=0;t<Ov.length;t++){var i=Ov[t];if(e[i]!=null){var a=Nn(e[i]);e.multiple&&!a?m("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",i,kv()):!e.multiple&&a&&m("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",i,kv())}}}}function _a(e,t,i,a){var o=e.options;if(t){for(var s=i,d={},y=0;y<s.length;y++)d["$"+s[y]]=!0;for(var S=0;S<o.length;S++){var x=d.hasOwnProperty("$"+o[S].value);o[S].selected!==x&&(o[S].selected=x),x&&a&&(o[S].defaultSelected=!0)}}else{for(var T=Jn(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 td(e,t){return ft({},t,{value:void 0})}function Mv(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 nd=!1;function rd(e,t){var i=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var a=ft({},t,{value:void 0,defaultValue:void 0,children:Jn(i._wrapperState.initialValue)});return a}function Lv(e,t){var i=e;eo("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!nd&&(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",ti()||"A component"),nd=!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(Nn(o)){if(o.length>1)throw new Error("<textarea> can only have at most one child.");o=o[0]}s=o}}s==null&&(s=""),a=s}i._wrapperState={initialValue:Ma(a)}}function _v(e,t){var i=e,a=Ma(t.value),o=Ma(t.defaultValue);if(a!=null){var s=Jn(a);s!==i.value&&(i.value=s),t.defaultValue==null&&i.defaultValue!==s&&(i.defaultValue=s)}o!=null&&(i.defaultValue=Jn(o))}function Nv(e,t){var i=e,a=i.textContent;a===i._wrapperState.initialValue&&a!==""&&a!==null&&(i.value=a)}function id(e,t){_v(e,t)}var ra="http://www.w3.org/1999/xhtml",Ky="http://www.w3.org/1998/Math/MathML",ad="http://www.w3.org/2000/svg";function Qs(e){switch(e){case"svg":return ad;case"math":return Ky;default:return ra}}function ld(e,t){return e==null||e===ra?Qs(t):e===ad&&t==="foreignObject"?ra: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,Av=Xy(function(e,t){if(e.namespaceURI===ad&&!("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,ia=3,yn=8,ki=9,sl=11,Gs=function(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===ia){i.nodeValue=t;return}}e.textContent=t},zv={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},io={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Uv(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Fv=["Webkit","ms","Moz","O"];Object.keys(io).forEach(function(e){Fv.forEach(function(t){io[Uv(t,e)]=io[e]})});function Ks(e,t,i){var a=t==null||typeof t=="boolean"||t==="";return a?"":!i&&typeof t=="number"&&t!==0&&!(io.hasOwnProperty(e)&&io[e])?t+"px":(Xt(t,e),(""+t).trim())}var ao=/([A-Z])/g,qy=/^ms-/;function Zy(e){return e.replace(ao,"-$1").toLowerCase().replace(qy,"-ms-")}var Hv=function(){};{var Pv=/^(?:webkit|moz|o)[A-Z]/,Vv=/^-ms-/,ku=/-(.)/g,lo=/;\s*$/,oo={},uo={},Iv=!1,od=!1,ud=function(e){return e.replace(ku,function(t,i){return i.toUpperCase()})},sd=function(e){oo.hasOwnProperty(e)&&oo[e]||(oo[e]=!0,m("Unsupported style property %s. Did you mean %s?",e,ud(e.replace(Vv,"ms-"))))},jv=function(e){oo.hasOwnProperty(e)&&oo[e]||(oo[e]=!0,m("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Bv=function(e,t){uo.hasOwnProperty(t)&&uo[t]||(uo[t]=!0,m(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(lo,"")))},$v=function(e,t){Iv||(Iv=!0,m("`NaN` is an invalid value for the `%s` css style property.",e))},Jy=function(e,t){od||(od=!0,m("`Infinity` is an invalid value for the `%s` css style property.",e))};Hv=function(e,t){e.indexOf("-")>-1?sd(e):Pv.test(e)?jv(e):lo.test(t)&&Bv(e,t),typeof t=="number"&&(isNaN(t)?$v(e,t):isFinite(t)||Jy(e,t))}}var eg=Hv;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 Yv(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 ni(e){var t={};for(var i in e)for(var a=zv[i]||[i],o=0;o<a.length;o++)t[a[o]]=i;return t}function Ou(e,t){{if(!t)return;var i=ni(e),a=ni(t),o={};for(var s in i){var d=i[s],y=a[s];if(y&&d!==y){var S=d+","+y;if(o[S])continue;o[S]=!0,m("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",ng(e[d])?"Removing":"Updating",d,y)}}}}var Qv={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Wv=ft({menuitem:!0},Qv),Gv="__html";function Xs(e,t){if(t){if(Wv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Gv in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&m("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function aa(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var qs={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Kv={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Oi={},cd=new RegExp("^(aria)-["+We+"]*$"),Mu=new RegExp("^(aria)[A-Z]["+We+"]*$");function fd(e,t){{if(Yt.call(Oi,t)&&Oi[t])return!0;if(Mu.test(t)){var i="aria-"+t.slice(4).toLowerCase(),a=Kv.hasOwnProperty(i)?i:null;if(a==null)return m("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Oi[t]=!0,!0;if(t!==a)return m("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,a),Oi[t]=!0,!0}if(cd.test(t)){var o=t.toLowerCase(),s=Kv.hasOwnProperty(o)?o:null;if(s==null)return Oi[t]=!0,!1;if(t!==s)return m("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,s),Oi[t]=!0,!0}}return!0}function Xv(e,t){{var i=[];for(var a in t){var o=fd(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){aa(e,t)||Xv(e,t)}var cl=!1;function dd(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 pd=function(){};{var An={},vd=/^on./,qv=/^on[^A-Z]/,Zv=new RegExp("^(aria)-["+We+"]*$"),Jv=new RegExp("^(aria)[A-Z]["+We+"]*$");pd=function(e,t,i,a){if(Yt.call(An,t)&&An[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."),An[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),An[t]=!0,!0;if(vd.test(t))return m("Unknown event handler property `%s`. It will be ignored.",t),An[t]=!0,!0}else if(vd.test(t))return qv.test(t)&&m("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),An[t]=!0,!0;if(Zv.test(t)||Jv.test(t))return!0;if(o==="innerhtml")return m("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),An[t]=!0,!0;if(o==="aria")return m("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),An[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),An[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),An[t]=!0,!0;var S=Hi(t),x=S!==null&&S.type===Hr;if(qs.hasOwnProperty(o)){var T=qs[o];if(T!==t)return m("Invalid DOM property `%s`. Did you mean `%s`?",t,T),An[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),An[t]=!0,!0;return typeof i=="boolean"&&Zr(t,i,S,!1)?(i?m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',i,t,t,i,t):m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',i,t,t,i,t,t,t),An[t]=!0,!0):x?!0:Zr(t,i,S,!1)?(An[t]=!0,!1):((i==="false"||i==="true")&&S!==null&&S.type===Cn&&(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),An[t]=!0),!0)}}var eh=function(e,t,i){{var a=[];for(var o in t){var s=pd(e,o,t[o],i);s||a.push(o)}var d=a.map(function(y){return"`"+y+"`"}).join(", ");a.length===1?m("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",d,e):a.length>1&&m("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",d,e)}};function th(e,t,i){aa(e,t)||eh(e,t,i)}var la=1,Lu=2,fl=4,rg=la|Lu|fl,_u=null;function Nu(e){_u!==null&&m("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),_u=e}function ig(){_u===null&&m("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),_u=null}function nh(e){return e===_u}function Js(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===ia?t.parentNode:t}var Ht=null,Na=null,oa=null;function so(e){var t=Bo(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=lm(i);Ht(t.stateNode,t.type,a)}}}function rh(e){Ht=e}function ec(e){Na?oa?oa.push(e):oa=[e]:Na=e}function Au(){return Na!==null||oa!==null}function zu(){if(Na){var e=Na,t=oa;if(Na=null,oa=null,so(e),t)for(var i=0;i<t.length;i++)so(t[i])}}var dl=function(e,t){return e(t)},hd=function(){},md=!1;function ag(){var e=Au();e&&(hd(),zu())}function yd(e,t,i){if(md)return e(t,i);md=!0;try{return dl(e,t,i)}finally{md=!1,ag()}}function tc(e,t,i){dl=e,hd=i}function nc(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function gd(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=lm(i);if(a===null)return null;var o=a[t];if(gd(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 Uu=!1;if(Ut)try{var vl={};Object.defineProperty(vl,"passive",{get:function(){Uu=!0}}),window.addEventListener("test",vl,vl),window.removeEventListener("test",vl,vl)}catch{Uu=!1}function ih(e,t,i,a,o,s,d,y,S){var x=Array.prototype.slice.call(arguments,3);try{t.apply(i,x)}catch(T){this.onError(T)}}var Sd=ih;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Ed=document.createElement("react");Sd=function(t,i,a,o,s,d,y,S,x){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var T=document.createEvent("Event"),z=!1,N=!0,Y=window.event,K=Object.getOwnPropertyDescriptor(window,"event");function q(){Ed.removeEventListener(Z,Xe,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Y)}var Te=Array.prototype.slice.call(arguments,3);function Xe(){z=!0,q(),i.apply(a,Te),N=!1}var $e,gt=!1,pt=!1;function I(j){if($e=j.error,gt=!0,$e===null&&j.colno===0&&j.lineno===0&&(pt=!0),j.defaultPrevented&&$e!=null&&typeof $e=="object")try{$e._suppressLogging=!0}catch{}}var Z="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",I),Ed.addEventListener(Z,Xe,!1),T.initEvent(Z,!1,!1),Ed.dispatchEvent(T),K&&Object.defineProperty(window,"event",K),z&&N&&(gt?pt&&($e=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.")):$e=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($e)),window.removeEventListener("error",I),!z)return q(),ih.apply(this,arguments)}}var lg=Sd,Aa=!1,Mi=null,Fu=!1,za=null,Vi={onError:function(e){Aa=!0,Mi=e}};function hl(e,t,i,a,o,s,d,y,S){Aa=!1,Mi=null,lg.apply(Vi,arguments)}function ua(e,t,i,a,o,s,d,y,S){if(hl.apply(this,arguments),Aa){var x=Rd();Fu||(Fu=!0,za=x)}}function Cd(){if(Fu){var e=za;throw Fu=!1,za=null,e}}function og(){return Aa}function Rd(){if(Aa){var e=Mi;return Aa=!1,Mi=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 ri(e){return e._reactInternals}function Hu(e){return e._reactInternals!==void 0}function co(e,t){e._reactInternals=t}var Ge=0,Ua=1,It=2,ut=4,wt=16,Dt=32,Ii=64,tt=128,ln=256,Rr=512,ii=1024,Wt=2048,ai=4096,Fa=8192,Pu=16384,rc=Wt|ut|Ii|Rr|ii|Pu,ah=32767,Ir=32768,zn=65536,Vu=131072,xd=1048576,Td=2097152,xr=4194304,Ha=8388608,Tr=16777216,ml=33554432,fo=ut|ii|0,wr=It|ut|wt|Dt|Rr|ai|Fa,er=ut|Ii|Rr|Fa,li=Wt|wt,In=xr|Ha|Td,sa=v.ReactCurrentOwner;function jr(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{var a=t;do t=a,(t.flags&(It|ai))!==Ge&&(i=t.return),a=t.return;while(a)}return t.tag===M?i:null}function wd(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===M?e.stateNode.containerInfo:null}function bd(e){return jr(e)===e}function Br(e){{var t=sa.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.",lt(i)||"A component"),a._warnedAboutRefsInRender=!0}}var o=ri(e);return o?jr(o)===o:!1}function br(e){if(jr(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function jt(e){var t=e.alternate;if(!t){var i=jr(e);if(i===null)throw new Error("Unable to find node on an unmounted component.");return i!==e?null:e}for(var a=e,o=t;;){var s=a.return;if(s===null)break;var d=s.alternate;if(d===null){var y=s.return;if(y!==null){a=o=y;continue}break}if(s.child===d.child){for(var S=s.child;S;){if(S===a)return br(s),e;if(S===o)return br(s),t;S=S.sibling}throw new Error("Unable to find node on an unmounted component.")}if(a.return!==o.return)a=s,o=d;else{for(var x=!1,T=s.child;T;){if(T===a){x=!0,a=s,o=d;break}if(T===o){x=!0,o=s,a=d;break}T=T.sibling}if(!x){for(T=d.child;T;){if(T===a){x=!0,a=d,o=s;break}if(T===o){x=!0,o=d,a=s;break}T=T.sibling}if(!x)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==o)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==M)throw new Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function oi(e){var t=jt(e);return t!==null?Dd(t):null}function Dd(e){if(e.tag===b||e.tag===L)return e;for(var t=e.child;t!==null;){var i=Dd(t);if(i!==null)return i;t=t.sibling}return null}function lh(e){var t=jt(e);return t!==null?ac(t):null}function ac(e){if(e.tag===b||e.tag===L)return e;for(var t=e.child;t!==null;){if(t.tag!==U){var i=ac(t);if(i!==null)return i}t=t.sibling}return null}var lc=p.unstable_scheduleCallback,oh=p.unstable_cancelCallback,oc=p.unstable_shouldYield,uh=p.unstable_requestPaint,qt=p.unstable_now,kd=p.unstable_getCurrentPriorityLevel,uc=p.unstable_ImmediatePriority,yl=p.unstable_UserBlockingPriority,ji=p.unstable_NormalPriority,sh=p.unstable_LowPriority,sc=p.unstable_IdlePriority,po=p.unstable_yieldValue,ch=p.unstable_setDisableYieldValue,ca=null,Tn=null,Ce=null,ui=!1,$r=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Od(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{ze&&(e=ft({},e,{getLaneLabelMap:fa,injectProfilingHooks:fh})),ca=t.inject(e),Tn=t}catch(i){m("React instrumentation encountered an error: %s.",i)}return!!t.checkDCE}function Md(e,t){if(Tn&&typeof Tn.onScheduleFiberRoot=="function")try{Tn.onScheduleFiberRoot(ca,e,t)}catch(i){ui||(ui=!0,m("React instrumentation encountered an error: %s",i))}}function vo(e,t){if(Tn&&typeof Tn.onCommitFiberRoot=="function")try{var i=(e.current.flags&tt)===tt;if(Fe){var a;switch(t){case dn:a=uc;break;case pa:a=yl;break;case Bi:a=ji;break;case bo:a=sc;break;default:a=ji;break}Tn.onCommitFiberRoot(ca,e,a,i)}}catch(o){ui||(ui=!0,m("React instrumentation encountered an error: %s",o))}}function si(e){if(Tn&&typeof Tn.onPostCommitFiberRoot=="function")try{Tn.onPostCommitFiberRoot(ca,e)}catch(t){ui||(ui=!0,m("React instrumentation encountered an error: %s",t))}}function gl(e){if(Tn&&typeof Tn.onCommitFiberUnmount=="function")try{Tn.onCommitFiberUnmount(ca,e)}catch(t){ui||(ui=!0,m("React instrumentation encountered an error: %s",t))}}function gn(e){if(typeof po=="function"&&(ch(e),C(e)),Tn&&typeof Tn.setStrictMode=="function")try{Tn.setStrictMode(ca,e)}catch(t){ui||(ui=!0,m("React instrumentation encountered an error: %s",t))}}function fh(e){Ce=e}function fa(){{for(var e=new Map,t=1,i=0;i<Yu;i++){var a=sg(t);e.set(t,a),t*=2}return e}}function Pa(e){Ce!==null&&typeof Ce.markCommitStarted=="function"&&Ce.markCommitStarted(e)}function cc(){Ce!==null&&typeof Ce.markCommitStopped=="function"&&Ce.markCommitStopped()}function ho(e){Ce!==null&&typeof Ce.markComponentRenderStarted=="function"&&Ce.markComponentRenderStarted(e)}function Dr(){Ce!==null&&typeof Ce.markComponentRenderStopped=="function"&&Ce.markComponentRenderStopped()}function Va(e){Ce!==null&&typeof Ce.markComponentPassiveEffectMountStarted=="function"&&Ce.markComponentPassiveEffectMountStarted(e)}function fc(){Ce!==null&&typeof Ce.markComponentPassiveEffectMountStopped=="function"&&Ce.markComponentPassiveEffectMountStopped()}function dh(e){Ce!==null&&typeof Ce.markComponentPassiveEffectUnmountStarted=="function"&&Ce.markComponentPassiveEffectUnmountStarted(e)}function dc(){Ce!==null&&typeof Ce.markComponentPassiveEffectUnmountStopped=="function"&&Ce.markComponentPassiveEffectUnmountStopped()}function ph(e){Ce!==null&&typeof Ce.markComponentLayoutEffectMountStarted=="function"&&Ce.markComponentLayoutEffectMountStarted(e)}function Iu(){Ce!==null&&typeof Ce.markComponentLayoutEffectMountStopped=="function"&&Ce.markComponentLayoutEffectMountStopped()}function Li(e){Ce!==null&&typeof Ce.markComponentLayoutEffectUnmountStarted=="function"&&Ce.markComponentLayoutEffectUnmountStarted(e)}function mo(){Ce!==null&&typeof Ce.markComponentLayoutEffectUnmountStopped=="function"&&Ce.markComponentLayoutEffectUnmountStopped()}function ju(e,t,i){Ce!==null&&typeof Ce.markComponentErrored=="function"&&Ce.markComponentErrored(e,t,i)}function Sl(e,t,i){Ce!==null&&typeof Ce.markComponentSuspended=="function"&&Ce.markComponentSuspended(e,t,i)}function Ld(e){Ce!==null&&typeof Ce.markLayoutEffectsStarted=="function"&&Ce.markLayoutEffectsStarted(e)}function yo(){Ce!==null&&typeof Ce.markLayoutEffectsStopped=="function"&&Ce.markLayoutEffectsStopped()}function vh(e){Ce!==null&&typeof Ce.markPassiveEffectsStarted=="function"&&Ce.markPassiveEffectsStarted(e)}function _d(){Ce!==null&&typeof Ce.markPassiveEffectsStopped=="function"&&Ce.markPassiveEffectsStopped()}function Gt(e){Ce!==null&&typeof Ce.markRenderStarted=="function"&&Ce.markRenderStarted(e)}function pc(){Ce!==null&&typeof Ce.markRenderYielded=="function"&&Ce.markRenderYielded()}function vc(){Ce!==null&&typeof Ce.markRenderStopped=="function"&&Ce.markRenderStopped()}function Nd(e){Ce!==null&&typeof Ce.markRenderScheduled=="function"&&Ce.markRenderScheduled(e)}function hc(e,t){Ce!==null&&typeof Ce.markForceUpdateScheduled=="function"&&Ce.markForceUpdateScheduled(e,t)}function Bu(e,t){Ce!==null&&typeof Ce.markStateUpdateScheduled=="function"&&Ce.markStateUpdateScheduled(e,t)}var Ie=0,Be=1,nt=2,ct=8,Yr=16,go=Math.clz32?Math.clz32:tr,$u=Math.log,ug=Math.LN2;function tr(e){var t=e>>>0;return t===0?32:31-($u(t)/ug|0)|0}var Yu=31,ie=0,Sn=0,Qe=1,jn=2,Qr=4,da=8,ci=16,So=32,El=4194240,Eo=64,mc=128,yc=256,gc=512,Sc=1024,Ec=2048,Cl=4096,Cc=8192,Co=16384,Ro=32768,Rc=65536,Qu=131072,xc=262144,Tc=524288,wc=1048576,bc=2097152,xo=130023424,Rl=4194304,Dc=8388608,kc=16777216,Ad=33554432,Oc=67108864,hh=Rl,Wu=134217728,zd=268435455,To=268435456,Ia=536870912,nr=1073741824;function sg(e){{if(e&Qe)return"Sync";if(e&jn)return"InputContinuousHydration";if(e&Qr)return"InputContinuous";if(e&da)return"DefaultHydration";if(e&ci)return"Default";if(e&So)return"TransitionHydration";if(e&El)return"Transition";if(e&xo)return"Retry";if(e&Wu)return"SelectiveHydration";if(e&To)return"IdleHydration";if(e&Ia)return"Idle";if(e&nr)return"Offscreen"}}var Pt=-1,Mc=Eo,kr=Rl;function xl(e){switch(fn(e)){case Qe:return Qe;case jn:return jn;case Qr:return Qr;case da:return da;case ci:return ci;case So:return So;case Eo:case mc:case yc:case gc:case Sc:case Ec:case Cl:case Cc:case Co:case Ro:case Rc:case Qu:case xc:case Tc:case wc:case bc:return e&El;case Rl:case Dc:case kc:case Ad:case Oc:return e&xo;case Wu:return Wu;case To:return To;case Ia:return Ia;case nr:return nr;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&zd;if(d!==ie){var y=d&~o;if(y!==ie)a=xl(y);else{var S=d&s;S!==ie&&(a=xl(S))}}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=fn(a),z=fn(t);if(T>=z||T===ci&&(z&El)!==ie)return t}(a&Qr)!==ie&&(a|=i&ci);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 mh(e,t){for(var i=e.eventTimes,a=Pt;t>0;){var o=Ba(t),s=1<<o,d=i[o];d>a&&(a=d),t&=~s}return a}function yh(e,t){switch(e){case Qe:case jn:case Qr:return t+250;case da:case ci:case So:case Eo:case mc:case yc:case gc:case Sc:case Ec:case Cl:case Cc:case Co:case Ro:case Rc:case Qu:case xc:case Tc:case wc:case bc:return t+5e3;case Rl:case Dc:case kc:case Ad:case Oc:return Pt;case Wu:case To:case Ia:case nr:return Pt;default:return m("Should have found matching lanes. This is a bug in React."),Pt}}function gh(e,t){for(var i=e.pendingLanes,a=e.suspendedLanes,o=e.pingedLanes,s=e.expirationTimes,d=i;d>0;){var y=Ba(d),S=1<<y,x=s[y];x===Pt?((S&a)===ie||(S&o)!==ie)&&(s[y]=yh(S,t)):x<=t&&(e.expiredLanes|=S),d&=~S}}function Ud(e){return xl(e.pendingLanes)}function ja(e){var t=e.pendingLanes&~nr;return t!==ie?t:t&nr?nr:ie}function Fd(e){return(e&Qe)!==ie}function Gu(e){return(e&zd)!==ie}function Sh(e){return(e&xo)===e}function Eh(e){var t=Qe|Qr|ci;return(e&t)===ie}function Ch(e){return(e&El)===e}function Ku(e,t){var i=jn|Qr|da|ci;return(t&i)!==ie}function Rh(e,t){return(t&e.expiredLanes)!==ie}function Hd(e){return(e&El)!==ie}function xh(){var e=Mc;return Mc<<=1,(Mc&El)===ie&&(Mc=Eo),e}function Or(){var e=kr;return kr<<=1,(kr&xo)===ie&&(kr=Rl),e}function fn(e){return e&-e}function wo(e){return fn(e)}function Ba(e){return 31-go(e)}function Lc(e){return Ba(e)}function Mr(e,t){return(e&t)!==ie}function wl(e,t){return(e&t)===t}function ot(e,t){return e|t}function Xu(e,t){return e&~t}function _c(e,t){return e&t}function cg(e){return e}function Th(e,t){return e!==Sn&&e<t?e:t}function qu(e){for(var t=[],i=0;i<Yu;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 wh(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]=Pt,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),S=1<<y;a[y]=ie,o[y]=Pt,s[y]=Pt,d&=~S}}function Pd(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 bh(e,t){var i=fn(t),a;switch(i){case Qr:a=jn;break;case ci:a=da;break;case Eo:case mc:case yc:case gc:case Sc:case Ec:case Cl:case Cc:case Co:case Ro:case Rc:case Qu:case xc:case Tc:case wc:case bc:case Rl:case Dc:case kc:case Ad:case Oc:a=So;break;case Ia:a=To;break;default:a=Sn;break}return(a&(e.suspendedLanes|t))!==Sn?Sn:a}function zc(e,t,i){if($r)for(var a=e.pendingUpdatersLaneMap;i>0;){var o=Lc(i),s=1<<o,d=a[o];d.add(t),i&=~s}}function Vd(e,t){if($r)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 S=y.alternate;(S===null||!a.has(S))&&a.add(y)}),d.clear()),t&=~s}}function Zu(e,t){return null}var dn=Qe,pa=Qr,Bi=ci,bo=Ia,Do=Sn;function fi(){return Do}function on(e){Do=e}function rr(e,t){var i=Do;try{return Do=e,t()}finally{Do=i}}function fg(e,t){return e!==0&&e<t?e:t}function dg(e,t){return e===0||e>t?e:t}function ko(e,t){return e!==0&&e<t}function Bn(e){var t=fn(e);return ko(dn,t)?ko(pa,t)?Gu(t)?Bi:bo:pa:dn}function Uc(e){var t=e.current.memoizedState;return t.isDehydrated}var Me;function Oo(e){Me=e}function Id(e){Me(e)}var Fc;function pg(e){Fc=e}var Mo;function Hc(e){Mo=e}var Pc;function Dh(e){Pc=e}var jd;function kh(e){jd=e}var Ju=!1,Lo=[],Kt=null,Un=null,or=null,_o=new Map,No=new Map,Fn=[],Oh=["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 $i(e){return Oh.indexOf(e)>-1}function vg(e,t,i,a,o){return{blockedOn:e,domEventName:t,eventSystemFlags:i,nativeEvent:o,targetContainers:[a]}}function Bd(e,t){switch(e){case"focusin":case"focusout":Kt=null;break;case"dragenter":case"dragleave":Un=null;break;case"mouseover":case"mouseout":or=null;break;case"pointerover":case"pointerout":{var i=t.pointerId;_o.delete(i);break}case"gotpointercapture":case"lostpointercapture":{var a=t.pointerId;No.delete(a);break}}}function Ao(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=Bo(t);y!==null&&Fc(y)}return d}e.eventSystemFlags|=a;var S=e.targetContainers;return o!==null&&S.indexOf(o)===-1&&S.push(o),e}function Mh(e,t,i,a,o){switch(t){case"focusin":{var s=o;return Kt=Ao(Kt,e,t,i,a,s),!0}case"dragenter":{var d=o;return Un=Ao(Un,e,t,i,a,d),!0}case"mouseover":{var y=o;return or=Ao(or,e,t,i,a,y),!0}case"pointerover":{var S=o,x=S.pointerId;return _o.set(x,Ao(_o.get(x)||null,e,t,i,a,S)),!0}case"gotpointercapture":{var T=o,z=T.pointerId;return No.set(z,Ao(No.get(z)||null,e,t,i,a,T)),!0}}return!1}function $d(e){var t=fs(e.target);if(t!==null){var i=jr(t);if(i!==null){var a=i.tag;if(a===le){var o=wd(i);if(o!==null){e.blockedOn=o,jd(e.priority,function(){Mo(i)});return}}else if(a===M){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<Fn.length&&ko(t,Fn[a].priority);a++);Fn.splice(a,0,i),a===0&&$d(i)}function Dl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var i=t[0],a=ir(e.domEventName,e.eventSystemFlags,i,e.nativeEvent);if(a===null){var o=e.nativeEvent,s=new o.constructor(o.type,o);Nu(s),o.target.dispatchEvent(s),ig()}else{var d=Bo(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 di(){Ju=!1,Kt!==null&&Dl(Kt)&&(Kt=null),Un!==null&&Dl(Un)&&(Un=null),or!==null&&Dl(or)&&(or=null),_o.forEach(Vc),No.forEach(Vc)}function dt(e,t){e.blockedOn===t&&(e.blockedOn=null,Ju||(Ju=!0,p.unstable_scheduleCallback(p.unstable_NormalPriority,di)))}function un(e){if(Lo.length>0){dt(Lo[0],e);for(var t=1;t<Lo.length;t++){var i=Lo[t];i.blockedOn===e&&(i.blockedOn=null)}}Kt!==null&&dt(Kt,e),Un!==null&&dt(Un,e),or!==null&&dt(or,e);var a=function(y){return dt(y,e)};_o.forEach(a),No.forEach(a);for(var o=0;o<Fn.length;o++){var s=Fn[o];s.blockedOn===e&&(s.blockedOn=null)}for(;Fn.length>0;){var d=Fn[0];if(d.blockedOn!==null)break;$d(d),d.blockedOn===null&&Fn.shift()}}var Bt=v.ReactCurrentBatchConfig,wn=!0;function Lr(e){wn=!!e}function zo(){return wn}function bn(e,t,i){var a=Ic(t),o;switch(a){case dn:o=es;break;case pa:o=kl;break;case Bi:default:o=Uo;break}return o.bind(null,t,i,e)}function es(e,t,i,a){var o=fi(),s=Bt.transition;Bt.transition=null;try{on(dn),Uo(e,t,i,a)}finally{on(o),Bt.transition=s}}function kl(e,t,i,a){var o=fi(),s=Bt.transition;Bt.transition=null;try{on(pa),Uo(e,t,i,a)}finally{on(o),Bt.transition=s}}function Uo(e,t,i,a){wn&&Yd(e,t,i,a)}function Yd(e,t,i,a){var o=ir(e,t,i,a);if(o===null){_g(e,t,a,$a,i),Bd(e,a);return}if(Mh(o,e,t,i,a)){a.stopPropagation();return}if(Bd(e,a),t&fl&&$i(e)){for(;o!==null;){var s=Bo(o);s!==null&&Id(s);var d=ir(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 ir(e,t,i,a){$a=null;var o=Js(a),s=fs(o);if(s!==null){var d=jr(s);if(d===null)s=null;else{var y=d.tag;if(y===le){var S=wd(d);if(S!==null)return S;s=null}else if(y===M){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 dn;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 pa;case"message":{var t=kd();switch(t){case uc:return dn;case yl:return pa;case ji:case sh:return Bi;case sc:return bo;default:return Bi}}default:return Bi}}function Fo(e,t,i){return e.addEventListener(t,i,!1),i}function va(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 Qd(e,t,i,a){return e.addEventListener(t,i,{passive:a}),i}var pi=null,Ho=null,vi=null;function Bc(e){return pi=e,Ho=ns(),!0}function ts(){pi=null,Ho=null,vi=null}function $c(){if(vi)return vi;var e,t=Ho,i=t.length,a,o=ns(),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 vi=o.slice(e,y),vi}function ns(){return"value"in pi?pi.value:pi.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 Hn(){return!0}function ha(){return!1}function Zt(e){function t(i,a,o,s,d){this._reactName=i,this._targetInst=o,this.type=a,this.nativeEvent=s,this.target=d,this.currentTarget=null;for(var y in e)if(e.hasOwnProperty(y)){var S=e[y];S?this[y]=S(s):this[y]=s[y]}var x=s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1;return x?this.isDefaultPrevented=Hn:this.isDefaultPrevented=ha,this.isPropagationStopped=ha,this}return ft(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=Hn)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Hn)},persist:function(){},isPersistent:Hn}),t}var Dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Yc=Zt(Dn),Ml=ft({},Dn,{view:0,detail:0}),Wd=Zt(Ml),Gd,Yi,Po;function Kd(e){e!==Po&&(Po&&e.type==="mousemove"?(Gd=e.screenX-Po.screenX,Yi=e.screenY-Po.screenY):(Gd=0,Yi=0),Po=e)}var Qi=ft({},Ml,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xd,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:(Kd(e),Gd)},movementY:function(e){return"movementY"in e?e.movementY:Yi}}),Qc=Zt(Qi),Ll=ft({},Qi,{dataTransfer:0}),Lh=Zt(Ll),_h=ft({},Ml,{relatedTarget:0}),rs=Zt(_h),Wc=ft({},Dn,{animationName:0,elapsedTime:0,pseudoElement:0}),mg=Zt(Wc),yg=ft({},Dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Nh=Zt(yg),Ah=ft({},Dn,{data:0}),Ya=Zt(Ah),gg=Ya,Vo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zh={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 sn(e){if(e.key){var t=Vo[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"?zh[e.keyCode]||"Unidentified":""}var Sg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Uh(e){var t=this,i=t.nativeEvent;if(i.getModifierState)return i.getModifierState(e);var a=Sg[e];return a?!!i[a]:!1}function Xd(e){return Uh}var Eg=ft({},Ml,{key:sn,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xd,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}}),Fh=Zt(Eg),Hh=ft({},Qi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ph=Zt(Hh),hi=ft({},Ml,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xd}),qd=Zt(hi),Cg=ft({},Dn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Qa=Zt(Cg),Gc=ft({},Qi,{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=Zt(Gc),Kc=[9,13,27,32],Xc=229,is=Ut&&"CompositionEvent"in window,as=null;Ut&&"documentMode"in document&&(as=document.documentMode);var Zd=Ut&&"TextEvent"in window&&!as,Vh=Ut&&(!is||as&&as>8&&as<=11),Jd=32,ep=String.fromCharCode(Jd);function qc(){vt("onBeforeInput",["compositionend","keypress","textInput","paste"]),vt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),vt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),vt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var ls=!1;function Ih(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function tp(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 np(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 os(e){return e.locale==="ko"}var Wa=!1;function Jc(e,t,i,a,o){var s,d;if(is?s=tp(t):Wa?np(t,a)&&(s="onCompositionEnd"):Rg(t,a)&&(s="onCompositionStart"),!s)return null;Vh&&!os(a)&&(!Wa&&s==="onCompositionStart"?Wa=Bc(o):s==="onCompositionEnd"&&Wa&&(d=$c()));var y=Wh(i,s);if(y.length>0){var S=new Ya(s,t,null,a,o);if(e.push({event:S,listeners:y}),d)S.data=d;else{var x=Zc(a);x!==null&&(S.data=x)}}}function jh(e,t){switch(e){case"compositionend":return Zc(t);case"keypress":var i=t.which;return i!==Jd?null:(ls=!0,ep);case"textInput":var a=t.data;return a===ep&&ls?null:a;default:return null}}function xg(e,t){if(Wa){if(e==="compositionend"||!is&&np(e,t)){var i=$c();return ts(),Wa=!1,i}return null}switch(e){case"paste":return null;case"keypress":if(!Ih(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Vh&&!os(t)?null:t.data;default:return null}}function ef(e,t,i,a,o){var s;if(Zd?s=jh(t,a):s=xg(t,a),!s)return null;var d=Wh(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 us={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 Bh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!us[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(!Ut)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(){vt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function r(e,t,i,a){ec(a);var o=Wh(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)),yd(E,t)}function E(e){nC(e,0)}function k(e){var t=uf(e);if(wv(t))return e}function _(e,t){if(e==="change")return t}var W=!1;Ut&&(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"&&k(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 k(u)}function He(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function pn(e,t){if(e==="click")return k(t)}function V(e,t){if(e==="input"||e==="change")return k(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,S,x;if(c(y)?S=_:Bh(y)?W?S=V:(S=_e,x=be):He(y)&&(S=pn),S){var T=S(t,i);if(T){r(e,T,a,o);return}}x&&x(t,y,i),t==="focusout"&&A(y)}function ye(){ht("onMouseEnter",["mouseout","mouseover"]),ht("onMouseLeave",["mouseout","mouseover"]),ht("onPointerEnter",["pointerout","pointerover"]),ht("onPointerLeave",["pointerout","pointerover"])}function je(e,t,i,a,o,s,d){var y=t==="mouseover"||t==="pointerover",S=t==="mouseout"||t==="pointerout";if(y&&!nh(a)){var x=a.relatedTarget||a.fromElement;if(x&&(fs(x)||mp(x)))return}if(!(!S&&!y)){var T;if(o.window===o)T=o;else{var z=o.ownerDocument;z?T=z.defaultView||z.parentWindow:T=window}var N,Y;if(S){var K=a.relatedTarget||a.toElement;if(N=i,Y=K?fs(K):null,Y!==null){var q=jr(Y);(Y!==q||Y.tag!==b&&Y.tag!==L)&&(Y=null)}}else N=null,Y=i;if(N!==Y){var Te=Qc,Xe="onMouseLeave",$e="onMouseEnter",gt="mouse";(t==="pointerout"||t==="pointerover")&&(Te=Ph,Xe="onPointerLeave",$e="onPointerEnter",gt="pointer");var pt=N==null?T:uf(N),I=Y==null?T:uf(Y),Z=new Te(Xe,gt+"leave",N,a,o);Z.target=pt,Z.relatedTarget=I;var j=null,he=fs(o);if(he===i){var ke=new Te($e,gt+"enter",Y,a,o);ke.target=I,ke.relatedTarget=pt,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 Je(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(!Yt.call(t,s)||!Ne(e[s],t[s]))return!1}return!0}function kn(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 ma(e,t){for(var i=kn(e),a=0,o=0;i;){if(i.nodeType===ia){if(o=a+i.textContent.length,a<=t&&o>=t)return{node:i,offset:t-a};a=o}i=kn(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,S=0,x=0,T=e,z=null;e:for(;;){for(var N=null;T===t&&(i===0||T.nodeType===ia)&&(d=s+i),T===a&&(o===0||T.nodeType===ia)&&(y=s+o),T.nodeType===ia&&(s+=T.nodeValue.length),(N=T.firstChild)!==null;)z=T,T=N;for(;;){if(T===e)break e;if(z===t&&++S===i&&(d=s),z===a&&++x===o&&(y=s),(N=T.nextSibling)!==null)break;T=z,z=T.parentNode}T=N}return d===-1||y===-1?null:{start:d,end:y}}function 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 S=y;y=d,d=S}var x=ma(e,d),T=ma(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===ia}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=Ut&&"documentMode"in document&&document.documentMode<=11;function YT(){vt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var nf=null,Dg=null,rp=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===ki?e:e.ownerDocument}function WE(e,t,i){var a=WT(i);if(!(kg||nf==null||nf!==Vs(a))){var o=QT(nf);if(!rp||!Je(rp,o)){rp=o;var s=Wh(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":(Bh(y)||y.contentEditable==="true")&&(nf=y,Dg=i,rp=null);break;case"focusout":nf=null,Dg=null,rp=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 $h(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var rf={animationend:$h("Animation","AnimationEnd"),animationiteration:$h("Animation","AnimationIteration"),animationstart:$h("Animation","AnimationStart"),transitionend:$h("Transition","TransitionEnd")},Og={},GE={};Ut&&(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 Yh(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=Yh("animationend"),XE=Yh("animationiteration"),qE=Yh("animationstart"),ZE=Yh("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 Io(e,t){JE.set(e,t),vt(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);Io(i,"on"+a)}Io(KE,"onAnimationEnd"),Io(XE,"onAnimationIteration"),Io(qE,"onAnimationStart"),Io("dblclick","onDoubleClick"),Io("focusin","onFocus"),Io("focusout","onBlur"),Io(ZE,"onTransitionEnd")}function XT(e,t,i,a,o,s,d){var y=JE.get(t);if(y!==void 0){var S=Yc,x=t;switch(t){case"keypress":if(Ol(a)===0)return;case"keydown":case"keyup":S=Fh;break;case"focusin":x="focus",S=rs;break;case"focusout":x="blur",S=rs;break;case"beforeblur":case"afterblur":S=rs;break;case"click":if(a.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":S=Qc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":S=Lh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":S=qd;break;case KE:case XE:case qE:S=mg;break;case ZE:S=Qa;break;case"scroll":S=Wd;break;case"wheel":S=_l;break;case"copy":case"cut":case"paste":S=Nh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":S=Ph;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 S(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&&(je(e,t,i,a,o),B(e,t,i,a,o),GT(e,t,i,a,o),Tg(e,t,i,a,o))}var ip=["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(ip));function tC(e,t,i){var a=e.type||"unknown-event";e.currentTarget=i,ua(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,S=s.listener;if(d!==a&&e.isPropagationStopped())return;tC(e,S,y),a=d}else for(var x=0;x<t.length;x++){var T=t[x],z=T.instance,N=T.currentTarget,Y=T.listener;if(z!==a&&e.isPropagationStopped())return;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)}Cd()}function JT(e,t,i,a,o){var s=Js(i),d=[];qT(d,e,a,i,s,t),nC(d,t)}function Jt(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,Lu,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 Qh="_reactListening"+Math.random().toString(36).slice(2);function ap(e){if(!e[Qh]){e[Qh]=!0,Le.forEach(function(i){i!=="selectionchange"&&(Mg.has(i)||Lg(i,!1,e),Lg(i,!0,e))});var t=e.nodeType===ki?e:e.ownerDocument;t!==null&&(t[Qh]||(t[Qh]=!0,Lg("selectionchange",!1,t)))}}function rC(e,t,i,a,o){var s=bn(e,t,i),d=void 0;Uu&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(d=!0),e=e,a?d!==void 0?jc(e,t,s,d):va(e,t,s):d!==void 0?Qd(e,t,s,d):Fo(e,t,s)}function iC(e,t){return e===t||e.nodeType===yn&&e.parentNode===t}function _g(e,t,i,a,o){var s=a;if(!(t&la)&&!(t&Lu)){var d=o;if(a!==null){var y=a;e:for(;;){if(y===null)return;var S=y.tag;if(S===M||S===U){var x=y.stateNode.containerInfo;if(iC(x,d))break;if(S===U)for(var T=y.return;T!==null;){var z=T.tag;if(z===M||z===U){var N=T.stateNode.containerInfo;if(iC(N,d))return}T=T.return}for(;x!==null;){var Y=fs(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}}}yd(function(){return JT(e,t,i,s)})}function lp(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,S=[],x=e,T=null;x!==null;){var z=x,N=z.stateNode,Y=z.tag;if(Y===b&&N!==null&&(T=N,y!==null)){var K=pl(x,y);K!=null&&S.push(lp(x,K,T))}if(o)break;x=x.return}return S}function Wh(e,t){for(var i=t+"Capture",a=[],o=e;o!==null;){var s=o,d=s.stateNode,y=s.tag;if(y===b&&d!==null){var S=d,x=pl(o,i);x!=null&&a.unshift(lp(o,x,S));var T=pl(o,t);T!=null&&a.push(lp(o,T,S))}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 S=o;S--;){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 S=y,x=S.alternate,T=S.stateNode,z=S.tag;if(x!==null&&x===a)break;if(z===b&&T!==null){var N=T;if(o){var Y=pl(y,s);Y!=null&&d.unshift(lp(y,Y,N))}else if(!o){var K=pl(y,s);K!=null&&d.push(lp(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 mi=!1,op="dangerouslySetInnerHTML",Gh="suppressContentEditableWarning",jo="suppressHydrationWarning",lC="autoFocus",ss="children",cs="style",Kh="__html",Ng,Xh,up,oC,qh,uC,sC;Ng={dialog:!0,webview:!0},Xh=function(e,t){Zs(e,t),dd(e,t),th(e,t,{registrationNameDependencies:Ze,possibleRegistrationNames:St})},uC=Ut&&!document.documentMode,up=function(e,t,i){if(!mi){var a=Zh(i),o=Zh(t);o!==a&&(mi=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(a)))}},oC=function(e){if(!mi){mi=!0;var t=[];e.forEach(function(i){t.push(i)}),m("Extra attributes from the server: %s",t)}},qh=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===ra?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 Zh(e){Ct(e);var t=typeof e=="string"?e:""+e;return t.replace(iw,`
|
|
64
|
+
`).replace(aw,"")}function Jh(e,t,i,a){var o=Zh(t),s=Zh(e);if(s!==o&&(a&&(mi||(mi=!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===ki?e:e.ownerDocument}function lw(){}function em(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===cs)d&&Object.freeze(d),Yv(t,d);else if(s===op){var y=d?d[Kh]:void 0;y!=null&&Av(t,y)}else if(s===ss)if(typeof d=="string"){var S=e!=="textarea"||d!=="";S&&Gs(t,d)}else typeof d=="number"&&Gs(t,""+d);else s===Gh||s===jo||s===lC||(Ze.hasOwnProperty(s)?d!=null&&(typeof d!="function"&&qh(s,d),s==="onScroll"&&Jt("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===cs?Yv(e,d):s===op?Av(e,d):s===ss?Gs(e,d):al(e,s,d,a)}}function sw(e,t,i,a){var o,s=cC(i),d,y=a;if(y===ra&&(y=Qs(e)),y===ra){if(o=aa(e,t),!o&&e!==e.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var S=s.createElement("div");S.innerHTML="<script><\/script>";var x=S.firstChild;d=S.removeChild(x)}else if(typeof t.is=="string")d=s.createElement(e,{is:t.is});else if(d=s.createElement(e),e==="select"){var T=d;t.multiple?T.multiple=!0:t.size&&(T.size=t.size)}}else d=s.createElementNS(y,e);return y===ra&&!o&&Object.prototype.toString.call(d)==="[object HTMLUnknownElement]"&&!Yt.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=aa(t,i);Xh(t,i);var s;switch(t){case"dialog":Jt("cancel",e),Jt("close",e),s=i;break;case"iframe":case"object":case"embed":Jt("load",e),s=i;break;case"video":case"audio":for(var d=0;d<ip.length;d++)Jt(ip[d],e);s=i;break;case"source":Jt("error",e),s=i;break;case"img":case"image":case"link":Jt("error",e),Jt("load",e),s=i;break;case"details":Jt("toggle",e),s=i;break;case"input":wu(e,i),s=Tu(e,i),Jt("invalid",e);break;case"option":$s(e,i),s=i;break;case"select":Mv(e,i),s=td(e,i),Jt("invalid",e);break;case"textarea":Lv(e,i),s=rd(e,i),Jt("invalid",e);break;default:s=i}switch(Xs(t,s),ow(t,e,a,s,o),t){case"input":ul(e),bu(e,i,!1);break;case"textarea":ul(e),Nv(e);break;case"option":ed(e,i);break;case"select":Qy(e,i);break;default:typeof s.onClick=="function"&&em(e);break}}function dw(e,t,i,a,o){Xh(t,a);var s=null,d,y;switch(t){case"input":d=Tu(e,i),y=Tu(e,a),s=[];break;case"select":d=td(e,i),y=td(e,a),s=[];break;case"textarea":d=rd(e,i),y=rd(e,a),s=[];break;default:d=i,y=a,typeof d.onClick!="function"&&typeof y.onClick=="function"&&em(e);break}Xs(t,y);var S,x,T=null;for(S in d)if(!(y.hasOwnProperty(S)||!d.hasOwnProperty(S)||d[S]==null))if(S===cs){var z=d[S];for(x in z)z.hasOwnProperty(x)&&(T||(T={}),T[x]="")}else S===op||S===ss||S===Gh||S===jo||S===lC||(Ze.hasOwnProperty(S)?s||(s=[]):(s=s||[]).push(S,null));for(S in y){var N=y[S],Y=d!=null?d[S]:void 0;if(!(!y.hasOwnProperty(S)||N===Y||N==null&&Y==null))if(S===cs)if(N&&Object.freeze(N),Y){for(x in Y)Y.hasOwnProperty(x)&&(!N||!N.hasOwnProperty(x))&&(T||(T={}),T[x]="");for(x in N)N.hasOwnProperty(x)&&Y[x]!==N[x]&&(T||(T={}),T[x]=N[x])}else T||(s||(s=[]),s.push(S,T)),T=N;else if(S===op){var K=N?N[Kh]:void 0,q=Y?Y[Kh]:void 0;K!=null&&q!==K&&(s=s||[]).push(S,K)}else S===ss?(typeof N=="string"||typeof N=="number")&&(s=s||[]).push(S,""+N):S===Gh||S===jo||(Ze.hasOwnProperty(S)?(N!=null&&(typeof N!="function"&&qh(S,N),S==="onScroll"&&Jt("scroll",e)),!s&&Y!==N&&(s=[])):(s=s||[]).push(S,N))}return T&&(Ou(T,y[cs]),(s=s||[]).push(cs,T)),s}function pw(e,t,i,a,o){i==="input"&&o.type==="radio"&&o.name!=null&&Jf(e,o);var s=aa(i,a),d=aa(i,o);switch(uw(e,t,s,d),i){case"input":no(e,o);break;case"textarea":_v(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,S;switch(y=aa(t,i),Xh(t,i),t){case"dialog":Jt("cancel",e),Jt("close",e);break;case"iframe":case"object":case"embed":Jt("load",e);break;case"video":case"audio":for(var x=0;x<ip.length;x++)Jt(ip[x],e);break;case"source":Jt("error",e);break;case"img":case"image":case"link":Jt("error",e),Jt("load",e);break;case"details":Jt("toggle",e);break;case"input":wu(e,i),Jt("invalid",e);break;case"option":$s(e,i);break;case"select":Mv(e,i),Jt("invalid",e);break;case"textarea":Lv(e,i),Jt("invalid",e);break}Xs(t,i);{S=new Set;for(var T=e.attributes,z=0;z<T.length;z++){var N=T[z].name.toLowerCase();switch(N){case"value":break;case"checked":break;case"selected":break;default:S.add(T[z].name)}}}var Y=null;for(var K in i)if(i.hasOwnProperty(K)){var q=i[K];if(K===ss)typeof q=="string"?e.textContent!==q&&(i[jo]!==!0&&Jh(e.textContent,q,s,d),Y=[ss,q]):typeof q=="number"&&e.textContent!==""+q&&(i[jo]!==!0&&Jh(e.textContent,q,s,d),Y=[ss,""+q]);else if(Ze.hasOwnProperty(K))q!=null&&(typeof q!="function"&&qh(K,q),K==="onScroll"&&Jt("scroll",e));else if(d&&typeof y=="boolean"){var Te=void 0,Xe=y&&Ot?null:Hi(K);if(i[jo]!==!0){if(!(K===Gh||K===jo||K==="value"||K==="checked"||K==="selected")){if(K===op){var $e=e.innerHTML,gt=q?q[Kh]:void 0;if(gt!=null){var pt=sC(e,gt);pt!==$e&&up(K,$e,pt)}}else if(K===cs){if(S.delete(K),uC){var I=tg(q);Te=e.getAttribute("style"),I!==Te&&up(K,Te,I)}}else if(y&&!Ot)S.delete(K.toLowerCase()),Te=zs(e,K,q),q!==Te&&up(K,Te,q);else if(!Rn(K,Xe,y)&&!nn(K,q,Xe,y)){var Z=!1;if(Xe!==null)S.delete(Xe.attributeName),Te=vu(e,K,q,Xe);else{var j=a;if(j===ra&&(j=Qs(t)),j===ra)S.delete(K.toLowerCase());else{var he=vw(K);he!==null&&he!==K&&(Z=!0,S.delete(he)),S.delete(K)}Te=zs(e,K,q)}var ke=Ot;!ke&&q!==Te&&!Z&&up(K,Te,q)}}}}}switch(d&&S.size>0&&i[jo]!==!0&&oC(S),t){case"input":ul(e),bu(e,i,!0);break;case"textarea":ul(e),Nv(e);break;case"select":case"option":break;default:typeof i.onClick=="function"&&em(e);break}return Y}function mw(e,t,i){var a=e.nodeValue!==t;return a}function Ag(e,t){{if(mi)return;mi=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function zg(e,t){{if(mi)return;mi=!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(mi)return;mi=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Fg(e,t){{if(t===""||mi)return;mi=!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":bv(e,i);return;case"textarea":id(e,i);return;case"select":Gy(e,i);return}}var sp=function(){},cp=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};cp=function(e,t){var i=ft({},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={};sp=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 S=y.tag,x=!!s+"|"+e+"|"+S;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="";S==="table"&&e==="tr"&&(N+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",T,S,z,N)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",T,S)}}}}var tm="suppressHydrationWarning",nm="$",rm="/$",fp="$?",dp="$!",xw="style",Hg=null,Pg=null;function Tw(e){var t,i,a=e.nodeType;switch(a){case ki:case sl:{t=a===ki?"#document":"#fragment";var o=e.documentElement;i=o?o.namespaceURI:ld(null,"");break}default:{var s=a===yn?e.parentNode:e,d=s.namespaceURI||null;t=s.tagName,i=ld(d,t);break}}{var y=t.toLowerCase(),S=cp(null,y);return{namespace:i,ancestorInfo:S}}}function ww(e,t,i){{var a=e,o=ld(a.namespace,t),s=cp(a.ancestorInfo,t);return{namespace:o,ancestorInfo:s}}}function I_(e){return e}function bw(e){Hg=zo(),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(sp(e,null,d.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var y=""+t.children,S=cp(d.ancestorInfo,e);sp(null,y,S)}s=d.namespace}var x=sw(e,t,i,s);return hp(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,S=cp(d.ancestorInfo,t);sp(null,y,S)}}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;sp(null,e,o.ancestorInfo)}var s=cw(e,t);return hp(a,s),s}function Nw(){var e=window.event;return e===void 0?Bi: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===yn?(i=e.parentNode,i.insertBefore(t,e)):(i=e,i.appendChild(t));var a=e._reactRootContainer;a==null&&i.onclick===null&&em(i)}function jw(e,t,i){e.insertBefore(t,i)}function Bw(e,t,i){e.nodeType===yn?e.parentNode.insertBefore(t,i):e.insertBefore(t,i)}function $w(e,t){e.removeChild(t)}function Yw(e,t){e.nodeType===yn?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===yn){var s=o.data;if(s===rm)if(a===0){e.removeChild(o),un(t);return}else a--;else(s===nm||s===fp||s===dp)&&a++}i=o}while(i);un(t)}function Qw(e,t){e.nodeType===yn?Bg(e.parentNode,t):e.nodeType===Cr&&Bg(e,t),un(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===ki&&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!==ia?null:e}function eb(e){return e.nodeType!==yn?null:e}function mC(e){return e.data===fp}function $g(e){return e.data===dp}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 im(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Cr||t===ia)break;if(t===yn){var i=e.data;if(i===nm||i===dp||i===fp)break;if(i===rm)return null}}return e}function pp(e){return im(e.nextSibling)}function rb(e){return im(e.firstChild)}function ib(e){return im(e.firstChild)}function ab(e){return im(e.nextSibling)}function lb(e,t,i,a,o,s,d){hp(s,e),Wg(e,i);var y;{var S=o;y=S.namespace}var x=(s.mode&Be)!==Ie;return hw(e,t,i,y,a,x,d)}function ob(e,t,i,a){return hp(i,e),i.mode&Be,mw(e,t)}function ub(e,t){hp(t,e)}function sb(e){for(var t=e.nextSibling,i=0;t;){if(t.nodeType===yn){var a=t.data;if(a===rm){if(i===0)return pp(t);i--}else(a===nm||a===dp||a===fp)&&i++}t=t.nextSibling}return null}function yC(e){for(var t=e.previousSibling,i=0;t;){if(t.nodeType===yn){var a=t.data;if(a===nm||a===dp||a===fp){if(i===0)return t;i--}else a===rm&&i++}t=t.previousSibling}return null}function cb(e){un(e)}function fb(e){un(e)}function db(e){return e!=="head"&&e!=="body"}function pb(e,t,i,a){var o=!0;Jh(t.nodeValue,i,a,o)}function vb(e,t,i,a,o,s){if(t[tm]!==!0){var d=!0;Jh(a.nodeValue,o,s,d)}}function hb(e,t){t.nodeType===Cr?Ag(e,t):t.nodeType===yn||zg(e,t)}function mb(e,t){{var i=e.parentNode;i!==null&&(t.nodeType===Cr?Ag(i,t):t.nodeType===yn||zg(i,t))}}function yb(e,t,i,a,o){(o||t[tm]!==!0)&&(a.nodeType===Cr?Ag(i,a):a.nodeType===yn||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[tm]!==!0)&&Ug(i,a)}function xb(e,t,i,a,o){(o||t[tm]!==!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){ap(e)}var lf=Math.random().toString(36).slice(2),of="__reactFiber$"+lf,Yg="__reactProps$"+lf,vp="__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 hp(e,t){t[of]=e}function am(e,t){t[vp]=e}function gC(e){e[vp]=null}function mp(e){return!!e[vp]}function fs(e){var t=e[of];if(t)return t;for(var i=e.parentNode;i;){if(t=i[vp]||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 Bo(e){var t=e[of]||e[vp];return t&&(t.tag===b||t.tag===L||t.tag===le||t.tag===M)?t:null}function uf(e){if(e.tag===b||e.tag===L)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function lm(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 om(e){if(e){var t=e._owner,i=gu(e.type,e._source,t?t.type:null);EC.setExtraStackFrame(i)}else EC.setExtraStackFrame(null)}function ya(e,t,i,a,o){{var s=Function.call.bind(Yt);for(var d in e)if(s(e,d)){var y=void 0;try{if(typeof e[d]!="function"){var S=Error((a||"React class")+": "+i+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw S.name="Invariant Violation",S}y=e[d](t,d,a,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){y=x}y&&!(y instanceof Error)&&(om(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),om(null)),y instanceof Error&&!(y.message in SC)&&(SC[y.message]=!0,om(o),m("Failed %s type: %s",i,y.message),om(null))}}}var Gg=[],um;um=[];var Nl=-1;function $o(e){return{current:e}}function _r(e,t){if(Nl<0){m("Unexpected pop.");return}t!==um[Nl]&&m("Unexpected Fiber popped."),e.current=Gg[Nl],Gg[Nl]=null,um[Nl]=null,Nl--}function Nr(e,t,i){Nl++,Gg[Nl]=e.current,um[Nl]=i,e.current=t}var Kg;Kg={};var _i={};Object.freeze(_i);var Al=$o(_i),Ga=$o(!1),Xg=_i;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 _i;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=lt(e)||"Unknown";ya(a,s,"context",y)}return o&&CC(e,t,s),s}}function sm(){return Ga.current}function Ka(e){{var t=e.childContextTypes;return t!=null}}function cm(e){_r(Ga,e),_r(Al,e)}function qg(e){_r(Ga,e),_r(Al,e)}function RC(e,t,i){{if(Al.current!==_i)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=lt(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((lt(e)||"Unknown")+'.getChildContext(): key "'+y+'" is not defined in childContextTypes.');{var S=lt(e)||"Unknown";ya(o,d,"child context",S)}return ft({},i,d)}}function fm(e){{var t=e.stateNode,i=t&&t.__reactInternalMemoizedMergedChildContext||_i;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(!bd(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 M: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 Yo=0,dm=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&&Qo()}function Qo(){if(!Jg&&zl!==null){Jg=!0;var e=0,t=fi();try{var i=!0,a=zl;for(on(dn);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,Qo),s}finally{on(t),Jg=!1}}return null}var ff=[],df=0,pm=null,vm=0,Wi=[],Gi=0,ds=null,Ul=1,Fl="";function _b(e){return vs(),(e.flags&xd)!==Ge}function Nb(e){return vs(),vm}function Ab(){var e=Fl,t=Ul,i=t&~zb(t);return i.toString(32)+e}function ps(e,t){vs(),ff[df++]=vm,ff[df++]=pm,pm=e,vm=t}function DC(e,t,i){vs(),Wi[Gi++]=Ul,Wi[Gi++]=Fl,Wi[Gi++]=ds,ds=e;var a=Ul,o=Fl,s=hm(a)-1,d=a&~(1<<s),y=i+1,S=hm(t)+s;if(S>30){var x=s-s%5,T=(1<<x)-1,z=(d&T).toString(32),N=d>>x,Y=s-x,K=hm(t)+Y,q=y<<Y,Te=q|N,Xe=z+o;Ul=1<<K|Te,Fl=Xe}else{var $e=y<<s,gt=$e|d,pt=o;Ul=1<<S|gt,Fl=pt}}function e0(e){vs();var t=e.return;if(t!==null){var i=1,a=0;ps(e,i),DC(e,i,a)}}function hm(e){return 32-go(e)}function zb(e){return 1<<hm(e)-1}function t0(e){for(;e===pm;)pm=ff[--df],ff[df]=null,vm=ff[--df],ff[df]=null;for(;e===ds;)ds=Wi[--Gi],Wi[Gi]=null,Fl=Wi[--Gi],Wi[Gi]=null,Ul=Wi[--Gi],Wi[Gi]=null}function Ub(){return vs(),ds!==null?{id:Ul,overflow:Fl}:null}function Fb(e,t){vs(),Wi[Gi++]=Ul,Wi[Gi++]=Fl,Wi[Gi++]=ds,Ul=t.id,Fl=t.overflow,ds=e}function vs(){sr()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var ur=null,Ki=null,ga=!1,hs=!1,Wo=null;function Hb(){ga&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function kC(){hs=!0}function Pb(){return hs}function Vb(e){var t=e.stateNode.containerInfo;return Ki=ib(t),ur=e,ga=!0,Wo=null,hs=!1,!0}function Ib(e,t,i){return Ki=ab(t),ur=e,ga=!0,Wo=null,hs=!1,i!==null&&Fb(e,i),!0}function OC(e,t){switch(e.tag){case M:{hb(e.stateNode.containerInfo,t);break}case b:{var i=(e.mode&Be)!==Ie;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|=wt):a.push(i)}function n0(e,t){{if(hs)return;switch(e.tag){case M:{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 S=t.type,x=t.pendingProps,T=(e.mode&Be)!==Ie;Rb(s,d,y,S,x,T);break}case L:{var z=t.pendingProps,N=(e.mode&Be)!==Ie;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&~ai|It,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,Ki=rb(a),!0):!1}case L:{var o=e.pendingProps,s=Jw(t,o);return s!==null?(e.stateNode=s,ur=e,Ki=null,!0):!1}case le:{var d=eb(t);if(d!==null){var y={dehydrated:d,treeContext:Ub(),retryLane:nr};e.memoizedState=y;var S=QO(d);return S.return=e,e.child=S,ur=e,Ki=null,!0}return!1}default:return!1}}function r0(e){return(e.mode&Be)!==Ie&&(e.flags&tt)===Ge}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(ga){var t=Ki;if(!t){r0(e)&&(n0(ur,e),i0()),LC(ur,e),ga=!1,ur=e;return}var i=t;if(!_C(e,t)){r0(e)&&(n0(ur,e),i0()),t=pp(i);var a=ur;if(!t||!_C(e,t)){LC(ur,e),ga=!1,ur=e;return}MC(a,i)}}}function jb(e,t,i){var a=e.stateNode,o=!hs,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 M:{var s=o.stateNode.containerInfo,d=(o.mode&Be)!==Ie;pb(s,t,i,d);break}case b:{var y=o.type,S=o.memoizedProps,x=o.stateNode,T=(o.mode&Be)!==Ie;vb(y,S,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!==M&&t.tag!==le;)t=t.return;ur=t}function mm(e){if(e!==ur)return!1;if(!ga)return NC(e),ga=!0,!1;if(e.tag!==M&&(e.tag!==b||db(e.type)&&!Vg(e.type,e.memoizedProps))){var t=Ki;if(t)if(r0(e))AC(e),i0();else for(;t;)MC(e,t),t=pp(t)}return NC(e),e.tag===le?Ki=Yb(e):Ki=ur?pp(e.stateNode):null,!0}function Qb(){return ga&&Ki!==null}function AC(e){for(var t=Ki;t;)OC(e,t),t=pp(t)}function pf(){ur=null,Ki=null,ga=!1,hs=!1}function zC(){Wo!==null&&(kR(Wo),Wo=null)}function sr(){return ga}function l0(e){Wo===null?Wo=[e]:Wo.push(e)}var Wb=v.ReactCurrentBatchConfig,Gb=null;function Kb(){return Wb.transition}var Sa={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&ct&&(t=i),i=i.return;return t},ms=function(e){var t=[];return e.forEach(function(i){t.push(i)}),t.sort().join(", ")},yp=[],gp=[],Sp=[],Ep=[],Cp=[],Rp=[],ys=new Set;Sa.recordUnsafeLifecycleWarnings=function(e,t){ys.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&yp.push(e),e.mode&ct&&typeof t.UNSAFE_componentWillMount=="function"&&gp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Sp.push(e),e.mode&ct&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Ep.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Cp.push(e),e.mode&ct&&typeof t.UNSAFE_componentWillUpdate=="function"&&Rp.push(e))},Sa.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;yp.length>0&&(yp.forEach(function(N){e.add(lt(N)||"Component"),ys.add(N.type)}),yp=[]);var t=new Set;gp.length>0&&(gp.forEach(function(N){t.add(lt(N)||"Component"),ys.add(N.type)}),gp=[]);var i=new Set;Sp.length>0&&(Sp.forEach(function(N){i.add(lt(N)||"Component"),ys.add(N.type)}),Sp=[]);var a=new Set;Ep.length>0&&(Ep.forEach(function(N){a.add(lt(N)||"Component"),ys.add(N.type)}),Ep=[]);var o=new Set;Cp.length>0&&(Cp.forEach(function(N){o.add(lt(N)||"Component"),ys.add(N.type)}),Cp=[]);var s=new Set;if(Rp.length>0&&(Rp.forEach(function(N){s.add(lt(N)||"Component"),ys.add(N.type)}),Rp=[]),t.size>0){var d=ms(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=ms(a);m(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
69
|
+
|
|
70
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
71
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
72
|
+
|
|
73
|
+
Please update the following components: %s`,y)}if(s.size>0){var S=ms(s);m(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
74
|
+
|
|
75
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
76
|
+
|
|
77
|
+
Please update the following components: %s`,S)}if(e.size>0){var x=ms(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=ms(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=ms(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 ym=new Map,UC=new Set;Sa.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=ym.get(i);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],ym.set(i,a)),a.push(e))}},Sa.flushLegacyContextWarning=function(){ym.forEach(function(e,t){if(e.length!==0){var i=e[0],a=new Set;e.forEach(function(s){a.add(lt(s)||"Component"),UC.add(s.type)});var o=ms(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{xn()}}})},Sa.discardPendingWarnings=function(){yp=[],gp=[],Sp=[],Ep=[],Cp=[],Rp=[],ym=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=lt(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 xp(e,t,i){var a=i.ref;if(a!==null&&typeof a!="function"&&typeof a!="object"){if((e.mode&ct||_t)&&!(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=lt(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 S=d;Et(a,"ref");var x=""+a;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===x)return t.ref;var T=function(z){var N=S.refs;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 gm(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 Sm(e){{var t=lt(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|=wt):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=bs(I,Z);return j.index=0,j.sibling=null,j}function s(I,Z,j){if(I.index=j,!e)return I.flags|=xd,Z;var he=I.alternate;if(he!==null){var ke=he.index;return ke<Z?(I.flags|=It,Z):ke}else return I.flags|=It,Z}function d(I){return e&&I.alternate===null&&(I.flags|=It),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 S(I,Z,j,he){var ke=j.type;if(ke===ea)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=xp(I,Z,j),we.return=I,we._debugSource=j._source,we._debugOwner=j._owner,we}var et=aE(j,I.mode,he);return et.ref=xp(I,Z,j),et.return=I,et}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=iu(j,I.mode,he,ke);return we.return=I,we}else{var et=o(Z,j);return et.return=I,et}}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 Kl:{var ke=aE(Z,I.mode,j);return ke.ref=xp(I,null,Z),ke.return=I,ke}case Ti:{var we=oE(Z,I.mode,j);return we.return=I,we}case lr:{var et=Z._payload,at=Z._init;return z(I,at(et),j)}}if(Nn(Z)||ta(Z)){var zt=iu(Z,I.mode,j,null);return zt.return=I,zt}gm(I,Z)}return typeof Z=="function"&&Sm(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 Kl:return j.key===ke?S(I,Z,j,he):null;case Ti:return j.key===ke?x(I,Z,j,he):null;case lr:{var we=j._payload,et=j._init;return N(I,Z,et(we),he)}}if(Nn(j)||ta(j))return ke!==null?null:T(I,Z,j,he,null);gm(I,j)}return typeof j=="function"&&Sm(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 Kl:{var et=I.get(he.key===null?j:he.key)||null;return S(Z,et,he,ke)}case Ti:{var at=I.get(he.key===null?j:he.key)||null;return x(Z,at,he,ke)}case lr:var zt=he._payload,xt=he._init;return Y(I,Z,j,xt(zt),ke)}if(Nn(he)||ta(he)){var On=I.get(j)||null;return T(Z,On,he,ke,null)}gm(Z,he)}return typeof he=="function"&&Sm(Z),null}function K(I,Z,j){{if(typeof I!="object"||I===null)return Z;switch(I.$$typeof){case Kl:case Ti: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 et=j[we];ke=K(et,ke,I)}for(var at=null,zt=null,xt=Z,On=0,Tt=0,En=null;xt!==null&&Tt<j.length;Tt++){xt.index>Tt?(En=xt,xt=null):En=xt.sibling;var zr=N(I,xt,j[Tt],he);if(zr===null){xt===null&&(xt=En);break}e&&xt&&zr.alternate===null&&t(I,xt),On=s(zr,On,Tt),zt===null?at=zr:zt.sibling=zr,zt=zr,xt=En}if(Tt===j.length){if(i(I,xt),sr()){var mr=Tt;ps(I,mr)}return at}if(xt===null){for(;Tt<j.length;Tt++){var Ai=z(I,j[Tt],he);Ai!==null&&(On=s(Ai,On,Tt),zt===null?at=Ai:zt.sibling=Ai,zt=Ai)}if(sr()){var Xr=Tt;ps(I,Xr)}return at}for(var qr=a(I,xt);Tt<j.length;Tt++){var Ur=Y(qr,I,Tt,j[Tt],he);Ur!==null&&(e&&Ur.alternate!==null&&qr.delete(Ur.key===null?Tt:Ur.key),On=s(Ur,On,Tt),zt===null?at=Ur:zt.sibling=Ur,zt=Ur)}if(e&&qr.forEach(function(_f){return t(I,_f)}),sr()){var $l=Tt;ps(I,$l)}return at}function Te(I,Z,j,he){var ke=ta(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 et=null,at=we.next();!at.done;at=we.next()){var zt=at.value;et=K(zt,et,I)}}var xt=ke.call(j);if(xt==null)throw new Error("An iterable object provided no iterator.");for(var On=null,Tt=null,En=Z,zr=0,mr=0,Ai=null,Xr=xt.next();En!==null&&!Xr.done;mr++,Xr=xt.next()){En.index>mr?(Ai=En,En=null):Ai=En.sibling;var qr=N(I,En,Xr.value,he);if(qr===null){En===null&&(En=Ai);break}e&&En&&qr.alternate===null&&t(I,En),zr=s(qr,zr,mr),Tt===null?On=qr:Tt.sibling=qr,Tt=qr,En=Ai}if(Xr.done){if(i(I,En),sr()){var Ur=mr;ps(I,Ur)}return On}if(En===null){for(;!Xr.done;mr++,Xr=xt.next()){var $l=z(I,Xr.value,he);$l!==null&&(zr=s($l,zr,mr),Tt===null?On=$l:Tt.sibling=$l,Tt=$l)}if(sr()){var _f=mr;ps(I,_f)}return On}for(var tv=a(I,En);!Xr.done;mr++,Xr=xt.next()){var rl=Y(tv,I,mr,Xr.value,he);rl!==null&&(e&&rl.alternate!==null&&tv.delete(rl.key===null?mr:rl.key),zr=s(rl,zr,mr),Tt===null?On=rl:Tt.sibling=rl,Tt=rl)}if(e&&tv.forEach(function(xM){return t(I,xM)}),sr()){var RM=mr;ps(I,RM)}return On}function Xe(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 $e(I,Z,j,he){for(var ke=j.key,we=Z;we!==null;){if(we.key===ke){var et=j.type;if(et===ea){if(we.tag===P){i(I,we.sibling);var at=o(we,j.props.children);return at.return=I,at._debugSource=j._source,at._debugOwner=j._owner,at}}else if(we.elementType===et||$R(we,j)||typeof et=="object"&&et!==null&&et.$$typeof===lr&&HC(et)===we.type){i(I,we.sibling);var zt=o(we,j.props);return zt.ref=xp(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===ea){var xt=iu(j.props.children,I.mode,he,j.key);return xt.return=I,xt}else{var On=aE(j,I.mode,he);return On.ref=xp(I,Z,j),On.return=I,On}}function gt(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 et=o(we,j.children||[]);return et.return=I,et}else{i(I,we);break}else t(I,we);we=we.sibling}var at=oE(j,I.mode,he);return at.return=I,at}function pt(I,Z,j,he){var ke=typeof j=="object"&&j!==null&&j.type===ea&&j.key===null;if(ke&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case Kl:return d($e(I,Z,j,he));case Ti:return d(gt(I,Z,j,he));case lr:var we=j._payload,et=j._init;return pt(I,Z,et(we),he)}if(Nn(j))return q(I,Z,j,he);if(ta(j))return Te(I,Z,j,he);gm(I,j)}return typeof j=="string"&&j!==""||typeof j=="number"?d(Xe(I,Z,""+j,he)):(typeof j=="function"&&Sm(I),i(I,Z))}return pt}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=bs(i,i.pendingProps);for(t.child=a,a.return=t;i.sibling!==null;)i=i.sibling,a=a.sibling=bs(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=$o(null),p0;p0={};var Em=null,hf=null,v0=null,Cm=!1;function Rm(){Em=null,hf=null,v0=null,Cm=!1}function IC(){Cm=!0}function jC(){Cm=!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=ot(o.childLanes,t)):(a.childLanes=ot(a.childLanes,t),o!==null&&(o.childLanes=ot(o.childLanes,t))),a===i)break;a=a.return}a!==i&&m("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function 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=wo(i),S=Hl(Pt,y);S.tag=Tm;var x=a.updateQueue;if(x!==null){var T=x.shared,z=T.pending;z===null?S.next=S:(S.next=z.next,z.next=S),T.pending=S}}a.lanes=ot(a.lanes,i);var N=a.alternate;N!==null&&(N.lanes=ot(N.lanes,i)),m0(a.return,i,e),s.lanes=ot(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=ot(Y.lanes,i);var K=Y.alternate;K!==null&&(K.lanes=ot(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){Em=e,hf=null,v0=null;var i=e.dependencies;if(i!==null){var a=i.firstContext;a!==null&&(Mr(i.lanes,t)&&Hp(),i.firstContext=null)}}function Pn(e){Cm&&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(Em===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,Em.dependencies={lanes:ie,firstContext:i}}else hf=hf.next=i}return t}var gs=null;function y0(e){gs===null?gs=[e]:gs.push(e)}function nD(){if(gs!==null){for(var e=0;e<gs.length;e++){var t=gs[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}}gs=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,xm(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,xm(e,a)}function yi(e,t){return xm(e,t)}var aD=xm;function xm(e,t){e.lanes=ot(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=ot(i.lanes,t)),i===null&&(e.flags&(It|ai))!==Ge&&VR(e);for(var a=e,o=e.return;o!==null;)o.childLanes=ot(o.childLanes,t),i=o.alternate,i!==null?i.childLanes=ot(i.childLanes,t):(o.flags&(It|ai))!==Ge&&VR(e),a=o,o=o.return;if(a.tag===M){var s=a.stateNode;return s}else return null}var YC=0,QC=1,Tm=2,g0=3,wm=!1,S0,bm;S0=!1,bm=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 Go(e,t,i){var a=e.updateQueue;if(a===null)return null;var o=a.shared;if(bm===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 Dm(e,t,i){var a=t.updateQueue;if(a!==null){var o=a.shared;if(Hd(i)){var s=o.lanes;s=_c(s,e.pendingLanes);var d=ot(s,i);o.lanes=d,Pd(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 S=y;do{var x={eventTime:S.eventTime,lane:S.lane,tag:S.tag,payload:S.payload,callback:S.callback,next:null};d===null?s=d=x:(d.next=x,d=x),S=S.next}while(S!==null);d===null?s=d=t:(d.next=t,d=t)}else s=d=t;i={baseState:o.baseState,firstBaseUpdate:s,lastBaseUpdate:d,shared:o.shared,effects:o.effects},e.updateQueue=i;return}}var T=i.lastBaseUpdate;T===null?i.firstBaseUpdate=t:T.next=t,i.lastBaseUpdate=t}function 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&ct){gn(!0);try{d.call(s,a,o)}finally{gn(!1)}}jC()}return y}return d}case g0:e.flags=e.flags&~zn|tt;case YC:{var S=i.payload,x;if(typeof S=="function"){IC(),x=S.call(s,a,o);{if(e.mode&ct){gn(!0);try{S.call(s,a,o)}finally{gn(!1)}}jC()}}else x=S;return x==null?a:ft({},a,x)}case Tm:return wm=!0,a}return a}function km(e,t,i,a){var o=e.updateQueue;wm=!1,bm=o.shared;var s=o.firstBaseUpdate,d=o.lastBaseUpdate,y=o.shared.pending;if(y!==null){o.shared.pending=null;var S=y,x=S.next;S.next=null,d===null?s=x:d.next=x,d=S;var T=e.alternate;if(T!==null){var z=T.updateQueue,N=z.lastBaseUpdate;N!==d&&(N===null?z.firstBaseUpdate=x:N.next=x,z.lastBaseUpdate=S)}}if(s!==null){var Y=o.baseState,K=ie,q=null,Te=null,Xe=null,$e=s;do{var gt=$e.lane,pt=$e.eventTime;if(wl(a,gt)){if(Xe!==null){var Z={eventTime:pt,lane:Sn,tag:$e.tag,payload:$e.payload,callback:$e.callback,next:null};Xe=Xe.next=Z}Y=lD(e,o,$e,Y,t,i);var j=$e.callback;if(j!==null&&$e.lane!==Sn){e.flags|=Ii;var he=o.effects;he===null?o.effects=[$e]:he.push($e)}}else{var I={eventTime:pt,lane:gt,tag:$e.tag,payload:$e.payload,callback:$e.callback,next:null};Xe===null?(Te=Xe=I,q=Y):Xe=Xe.next=I,K=ot(K,gt)}if($e=$e.next,$e===null){if(y=o.shared.pending,y===null)break;var ke=y,we=ke.next;ke.next=null,$e=we,o.lastBaseUpdate=ke,o.shared.pending=null}}while(!0);Xe===null&&(q=Y),o.baseState=q,o.firstBaseUpdate=Te,o.lastBaseUpdate=Xe;var et=o.shared.interleaved;if(et!==null){var at=et;do K=ot(K,at.lane),at=at.next;while(at!==et)}else s===null&&(o.shared.lanes=ie);Xp(K),e.lanes=K,e.memoizedState=Y}bm=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(){wm=!1}function Om(){return wm}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 Tp={},Ko=$o(Tp),wp=$o(Tp),Mm=$o(Tp);function Lm(e){if(e===Tp)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=Lm(Mm.current);return e}function R0(e,t){Nr(Mm,t,e),Nr(wp,e,e),Nr(Ko,Tp,e);var i=Tw(t);_r(Ko,e),Nr(Ko,i,e)}function yf(e){_r(Ko,e),_r(wp,e),_r(Mm,e)}function x0(){var e=Lm(Ko.current);return e}function qC(e){Lm(Mm.current);var t=Lm(Ko.current),i=ww(t,e.type);t!==i&&(Nr(wp,e,e),Nr(Ko,i,e))}function T0(e){wp.current===e&&(_r(Ko,e),_r(wp,e))}var uD=0,ZC=1,JC=1,bp=2,Ea=$o(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 Xo(e,t){Nr(Ea,t,e)}function Sf(e){_r(Ea,e)}function cD(e,t){var i=e.memoizedState;return i!==null?i.dehydrated!==null:(e.memoizedProps,!0)}function _m(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&tt)!==Ge;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 gi=0,$n=1,Xa=2,Yn=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,Dp=v.ReactCurrentBatchConfig,O0,Ef;O0=new Set;var Ss=ie,At=null,Qn=null,Wn=null,Nm=!1,kp=!1,Op=0,dD=0,pD=25,ee=null,Xi=null,qo=-1,M0=!1;function kt(){{var e=ee;Xi===null?Xi=[e]:Xi.push(e)}}function Re(){{var e=ee;Xi!==null&&(qo++,Xi[qo]!==e&&vD(e))}}function Cf(e){e!=null&&!Nn(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=lt(At);if(!O0.has(t)&&(O0.add(t),Xi!==null)){for(var i="",a=30,o=0;o<=qo;o++){for(var s=Xi[o],d=o===qo?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){Ss=s,At=t,Xi=e!==null?e._debugHookTypes:null,qo=-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:Xi!==null?De.current=E1:De.current=S1;var d=i(a,o);if(kp){var y=0;do{if(kp=!1,Op=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,Qn=null,Wn=null,t.updateQueue=null,qo=-1,De.current=R1,d=i(a,o)}while(kp)}De.current=Qm,t._debugHookTypes=Xi;var S=Qn!==null&&Qn.next!==null;if(Ss=ie,At=null,Qn=null,Wn=null,ee=null,Xi=null,qo=-1,e!==null&&(e.flags&In)!==(t.flags&In)&&(e.mode&Be)!==Ie&&m("Internal React error: Expected static flag was missing. Please notify the React team."),Nm=!1,S)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return d}function xf(){var e=Op!==0;return Op=0,e}function e1(e,t,i){t.updateQueue=e.updateQueue,(t.mode&Yr)!==Ie?t.flags&=~(ml|Tr|Wt|ut):t.flags&=~(Wt|ut),e.lanes=Xu(e.lanes,i)}function t1(){if(De.current=Qm,Nm){for(var e=At.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Nm=!1}Ss=ie,At=null,Qn=null,Wn=null,Xi=null,qo=-1,ee=null,v1=!1,kp=!1,Op=0}function qa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wn===null?At.memoizedState=Wn=e:Wn=Wn.next=e,Wn}function qi(){var e;if(Qn===null){var t=At.alternate;t!==null?e=t.memoizedState:e=null}else e=Qn.next;var i;if(Wn===null?i=At.memoizedState:i=Wn.next,i!==null)Wn=i,i=Wn.next,Qn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Qn=e;var a={memoizedState:Qn.memoizedState,baseState:Qn.baseState,baseQueue:Qn.baseQueue,queue:Qn.queue,next:null};Wn===null?At.memoizedState=Wn=a:Wn=Wn.next=a}return Wn}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=qi(),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=Qn,d=s.baseQueue,y=o.pending;if(y!==null){if(d!==null){var S=d.next,x=y.next;d.next=x,y.next=S}s.baseQueue!==d&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),s.baseQueue=d=y,o.pending=null}if(d!==null){var T=d.next,z=s.baseState,N=null,Y=null,K=null,q=T;do{var Te=q.lane;if(wl(Ss,Te)){if(K!==null){var $e={lane:Sn,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null};K=K.next=$e}if(q.hasEagerState)z=q.eagerState;else{var gt=q.action;z=e(z,gt)}}else{var Xe={lane:Te,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null};K===null?(Y=K=Xe,N=z):K=K.next=Xe,At.lanes=ot(At.lanes,Te),Xp(Te)}q=q.next}while(q!==null&&q!==T);K===null?N=z:K.next=Y,Ne(z,a.memoizedState)||Hp(),a.memoizedState=z,a.baseState=N,a.baseQueue=K,o.lastRenderedState=z}var pt=o.interleaved;if(pt!==null){var I=pt;do{var Z=I.lane;At.lanes=ot(At.lanes,Z),Xp(Z),I=I.next}while(I!==pt)}else d===null&&(o.lanes=ie);var j=o.dispatch;return[a.memoizedState,j]}function z0(e,t,i){var a=qi(),o=a.queue;if(o===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var s=o.dispatch,d=o.pending,y=a.memoizedState;if(d!==null){o.pending=null;var S=d.next,x=S;do{var T=x.action;y=e(y,T),x=x.next}while(x!==S);Ne(y,a.memoizedState)||Hp(),a.memoizedState=y,a.baseQueue===null&&(a.baseState=y),o.lastRenderedState=y}return[y,s]}function j_(e,t,i){}function B_(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 S=fy();if(S===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ku(S,Ss)||r1(a,t,s)}o.memoizedState=s;var x={value:s,getSnapshot:t};return o.queue=x,Hm(a1.bind(null,a,x,e),[e]),a.flags|=Wt,Mp($n|cr,i1.bind(null,a,x,s,t),void 0,null),s}function Am(e,t,i){var a=At,o=qi(),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,S=!Ne(y,s);S&&(o.memoizedState=s,Hp());var x=o.queue;if(_p(a1.bind(null,a,x,e),[e]),x.getSnapshot!==t||S||Wn!==null&&Wn.memoizedState.tag&$n){a.flags|=Wt,Mp($n|cr,i1.bind(null,a,x,s,t),void 0,null);var T=fy();if(T===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ku(T,Ss)||r1(a,t,s)}return s}function r1(e,t,i){e.flags|=Pu;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=yi(e,Qe);t!==null&&qn(t,e,Qe,Pt)}function zm(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 Mp(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 Um(e){var t=qi();return t.memoizedState}function Lp(e,t,i,a){var o=qa(),s=a===void 0?null:a;At.flags|=e,o.memoizedState=Mp($n|t,i,void 0,s)}function Fm(e,t,i,a){var o=qi(),s=a===void 0?null:a,d=void 0;if(Qn!==null){var y=Qn.memoizedState;if(d=y.destroy,s!==null){var S=y.deps;if(L0(s,S)){o.memoizedState=Mp(t,i,d,s);return}}}At.flags|=e,o.memoizedState=Mp($n|t,i,d,s)}function Hm(e,t){return(At.mode&Yr)!==Ie?Lp(ml|Wt|Ha,cr,e,t):Lp(Wt|Ha,cr,e,t)}function _p(e,t){return Fm(Wt,cr,e,t)}function V0(e,t){return Lp(ut,Xa,e,t)}function Pm(e,t){return Fm(ut,Xa,e,t)}function I0(e,t){var i=ut;return i|=xr,(At.mode&Yr)!==Ie&&(i|=Tr),Lp(i,Yn,e,t)}function Vm(e,t){return Fm(ut,Yn,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&Yr)!==Ie&&(o|=Tr),Lp(o,Yn,u1.bind(null,t,e),a)}function Im(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 Fm(ut,Yn,u1.bind(null,t,e),a)}function hD(e,t){}var jm=hD;function B0(e,t){var i=qa(),a=t===void 0?null:t;return i.memoizedState=[e,a],e}function Bm(e,t){var i=qi(),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 $m(e,t){var i=qi(),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=qi(),i=Qn,a=i.memoizedState;return f1(t,a,e)}function c1(e){var t=qi();if(Qn===null)return t.memoizedState=e,e;var i=Qn.memoizedState;return f1(t,i,e)}function f1(e,t,i){var a=!Eh(Ss);if(a){if(!Ne(i,t)){var o=xh();At.lanes=ot(At.lanes,o),Xp(o),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Hp()),e.memoizedState=i,i}function mD(e,t,i){var a=fi();on(fg(a,pa)),e(!0);var o=Dp.transition;Dp.transition={};var s=Dp.transition;Dp.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(on(a),Dp.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=zm(!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=qi(),a=i.memoizedState;return[t,a]}function p1(){var e=H0(),t=e[0],i=qi(),a=i.memoizedState;return[t,a]}var v1=!1;function yD(){return v1}function W0(){var e=qa(),t=fy(),i=t.identifierPrefix,a;if(sr()){var o=Ab();a=":"+i+"R"+o;var s=Op++;s>0&&(a+="H"+s.toString(32)),a+=":"}else{var d=dD++;a=":"+i+"r"+d.toString(32)+":"}return e.memoizedState=a,a}function Ym(){var e=qi(),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=nu(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=Kr();qn(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=nu(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=Ca;try{var S=t.lastRenderedState,x=d(S,i);if(o.hasEagerState=!0,o.eagerState=x,Ne(x,S)){rD(e,t,o,a);return}}catch{}finally{De.current=y}}}var T=$C(e,t,o,a);if(T!==null){var z=Kr();qn(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){kp=Nm=!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(Hd(i)){var a=t.lanes;a=_c(a,e.pendingLanes);var o=ot(a,i);t.lanes=o,Pd(e,o)}}function g1(e,t,i){Bu(e,t)}var Qm={readContext:Pn,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,Ca=null,Wm=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().")},it=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 Pn(e)},useCallback:function(e,t){return ee="useCallback",kt(),Cf(t),B0(e,t)},useContext:function(e){return ee="useContext",kt(),Pn(e)},useEffect:function(e,t){return ee="useEffect",kt(),Cf(t),Hm(e,t)},useImperativeHandle:function(e,t,i){return ee="useImperativeHandle",kt(),Cf(i),j0(e,t,i)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",kt(),Cf(t),V0(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",kt(),Cf(t),I0(e,t)},useMemo:function(e,t){ee="useMemo",kt(),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",kt();var a=De.current;De.current=Za;try{return N0(e,t,i)}finally{De.current=a}},useRef:function(e){return ee="useRef",kt(),P0(e)},useState:function(e){ee="useState",kt();var t=De.current;De.current=Za;try{return zm(e)}finally{De.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",kt(),void 0},useDeferredValue:function(e){return ee="useDeferredValue",kt(),Y0(e)},useTransition:function(){return ee="useTransition",kt(),Q0()},useMutableSource:function(e,t,i){return ee="useMutableSource",kt(),void 0},useSyncExternalStore:function(e,t,i){return ee="useSyncExternalStore",kt(),U0(e,t,i)},useId:function(){return ee="useId",kt(),W0()},unstable_isNewReconciler:X},E1={readContext:function(e){return Pn(e)},useCallback:function(e,t){return ee="useCallback",Re(),B0(e,t)},useContext:function(e){return ee="useContext",Re(),Pn(e)},useEffect:function(e,t){return ee="useEffect",Re(),Hm(e,t)},useImperativeHandle:function(e,t,i){return ee="useImperativeHandle",Re(),j0(e,t,i)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",Re(),V0(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",Re(),I0(e,t)},useMemo:function(e,t){ee="useMemo",Re();var i=De.current;De.current=Za;try{return $0(e,t)}finally{De.current=i}},useReducer:function(e,t,i){ee="useReducer",Re();var a=De.current;De.current=Za;try{return N0(e,t,i)}finally{De.current=a}},useRef:function(e){return ee="useRef",Re(),P0(e)},useState:function(e){ee="useState",Re();var t=De.current;De.current=Za;try{return zm(e)}finally{De.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",Re(),void 0},useDeferredValue:function(e){return ee="useDeferredValue",Re(),Y0(e)},useTransition:function(){return ee="useTransition",Re(),Q0()},useMutableSource:function(e,t,i){return ee="useMutableSource",Re(),void 0},useSyncExternalStore:function(e,t,i){return ee="useSyncExternalStore",Re(),U0(e,t,i)},useId:function(){return ee="useId",Re(),W0()},unstable_isNewReconciler:X},C1={readContext:function(e){return Pn(e)},useCallback:function(e,t){return ee="useCallback",Re(),Bm(e,t)},useContext:function(e){return ee="useContext",Re(),Pn(e)},useEffect:function(e,t){return ee="useEffect",Re(),_p(e,t)},useImperativeHandle:function(e,t,i){return ee="useImperativeHandle",Re(),Im(e,t,i)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",Re(),Pm(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",Re(),Vm(e,t)},useMemo:function(e,t){ee="useMemo",Re();var i=De.current;De.current=Ca;try{return $m(e,t)}finally{De.current=i}},useReducer:function(e,t,i){ee="useReducer",Re();var a=De.current;De.current=Ca;try{return A0(e,t,i)}finally{De.current=a}},useRef:function(e){return ee="useRef",Re(),Um()},useState:function(e){ee="useState",Re();var t=De.current;De.current=Ca;try{return F0(e)}finally{De.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",Re(),jm()},useDeferredValue:function(e){return ee="useDeferredValue",Re(),s1(e)},useTransition:function(){return ee="useTransition",Re(),d1()},useMutableSource:function(e,t,i){return ee="useMutableSource",Re(),void 0},useSyncExternalStore:function(e,t,i){return ee="useSyncExternalStore",Re(),Am(e,t)},useId:function(){return ee="useId",Re(),Ym()},unstable_isNewReconciler:X},R1={readContext:function(e){return Pn(e)},useCallback:function(e,t){return ee="useCallback",Re(),Bm(e,t)},useContext:function(e){return ee="useContext",Re(),Pn(e)},useEffect:function(e,t){return ee="useEffect",Re(),_p(e,t)},useImperativeHandle:function(e,t,i){return ee="useImperativeHandle",Re(),Im(e,t,i)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",Re(),Pm(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",Re(),Vm(e,t)},useMemo:function(e,t){ee="useMemo",Re();var i=De.current;De.current=Wm;try{return $m(e,t)}finally{De.current=i}},useReducer:function(e,t,i){ee="useReducer",Re();var a=De.current;De.current=Wm;try{return z0(e,t,i)}finally{De.current=a}},useRef:function(e){return ee="useRef",Re(),Um()},useState:function(e){ee="useState",Re();var t=De.current;De.current=Wm;try{return H0(e)}finally{De.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",Re(),jm()},useDeferredValue:function(e){return ee="useDeferredValue",Re(),c1(e)},useTransition:function(){return ee="useTransition",Re(),p1()},useMutableSource:function(e,t,i){return ee="useMutableSource",Re(),void 0},useSyncExternalStore:function(e,t,i){return ee="useSyncExternalStore",Re(),Am(e,t)},useId:function(){return ee="useId",Re(),Ym()},unstable_isNewReconciler:X},Za={readContext:function(e){return G0(),Pn(e)},useCallback:function(e,t){return ee="useCallback",it(),kt(),B0(e,t)},useContext:function(e){return ee="useContext",it(),kt(),Pn(e)},useEffect:function(e,t){return ee="useEffect",it(),kt(),Hm(e,t)},useImperativeHandle:function(e,t,i){return ee="useImperativeHandle",it(),kt(),j0(e,t,i)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",it(),kt(),V0(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",it(),kt(),I0(e,t)},useMemo:function(e,t){ee="useMemo",it(),kt();var i=De.current;De.current=Za;try{return $0(e,t)}finally{De.current=i}},useReducer:function(e,t,i){ee="useReducer",it(),kt();var a=De.current;De.current=Za;try{return N0(e,t,i)}finally{De.current=a}},useRef:function(e){return ee="useRef",it(),kt(),P0(e)},useState:function(e){ee="useState",it(),kt();var t=De.current;De.current=Za;try{return zm(e)}finally{De.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",it(),kt(),void 0},useDeferredValue:function(e){return ee="useDeferredValue",it(),kt(),Y0(e)},useTransition:function(){return ee="useTransition",it(),kt(),Q0()},useMutableSource:function(e,t,i){return ee="useMutableSource",it(),kt(),void 0},useSyncExternalStore:function(e,t,i){return ee="useSyncExternalStore",it(),kt(),U0(e,t,i)},useId:function(){return ee="useId",it(),kt(),W0()},unstable_isNewReconciler:X},Ca={readContext:function(e){return G0(),Pn(e)},useCallback:function(e,t){return ee="useCallback",it(),Re(),Bm(e,t)},useContext:function(e){return ee="useContext",it(),Re(),Pn(e)},useEffect:function(e,t){return ee="useEffect",it(),Re(),_p(e,t)},useImperativeHandle:function(e,t,i){return ee="useImperativeHandle",it(),Re(),Im(e,t,i)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",it(),Re(),Pm(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",it(),Re(),Vm(e,t)},useMemo:function(e,t){ee="useMemo",it(),Re();var i=De.current;De.current=Ca;try{return $m(e,t)}finally{De.current=i}},useReducer:function(e,t,i){ee="useReducer",it(),Re();var a=De.current;De.current=Ca;try{return A0(e,t,i)}finally{De.current=a}},useRef:function(e){return ee="useRef",it(),Re(),Um()},useState:function(e){ee="useState",it(),Re();var t=De.current;De.current=Ca;try{return F0(e)}finally{De.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",it(),Re(),jm()},useDeferredValue:function(e){return ee="useDeferredValue",it(),Re(),s1(e)},useTransition:function(){return ee="useTransition",it(),Re(),d1()},useMutableSource:function(e,t,i){return ee="useMutableSource",it(),Re(),void 0},useSyncExternalStore:function(e,t,i){return ee="useSyncExternalStore",it(),Re(),Am(e,t)},useId:function(){return ee="useId",it(),Re(),Ym()},unstable_isNewReconciler:X},Wm={readContext:function(e){return G0(),Pn(e)},useCallback:function(e,t){return ee="useCallback",it(),Re(),Bm(e,t)},useContext:function(e){return ee="useContext",it(),Re(),Pn(e)},useEffect:function(e,t){return ee="useEffect",it(),Re(),_p(e,t)},useImperativeHandle:function(e,t,i){return ee="useImperativeHandle",it(),Re(),Im(e,t,i)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",it(),Re(),Pm(e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",it(),Re(),Vm(e,t)},useMemo:function(e,t){ee="useMemo",it(),Re();var i=De.current;De.current=Ca;try{return $m(e,t)}finally{De.current=i}},useReducer:function(e,t,i){ee="useReducer",it(),Re();var a=De.current;De.current=Ca;try{return z0(e,t,i)}finally{De.current=a}},useRef:function(e){return ee="useRef",it(),Re(),Um()},useState:function(e){ee="useState",it(),Re();var t=De.current;De.current=Ca;try{return H0(e)}finally{De.current=t}},useDebugValue:function(e,t){return ee="useDebugValue",it(),Re(),jm()},useDeferredValue:function(e){return ee="useDeferredValue",it(),Re(),c1(e)},useTransition:function(){return ee="useTransition",it(),Re(),p1()},useMutableSource:function(e,t,i){return ee="useMutableSource",it(),Re(),void 0},useSyncExternalStore:function(e,t,i){return ee="useSyncExternalStore",it(),Re(),Am(e,t)},useId:function(){return ee="useId",it(),Re(),Ym()},unstable_isNewReconciler:X}}var Zo=p.unstable_now,x1=0,Gm=-1,Np=-1,Km=-1,K0=!1,Xm=!1;function T1(){return K0}function ED(){Xm=!0}function CD(){K0=!1,Xm=!1}function RD(){K0=Xm,Xm=!1}function w1(){return x1}function b1(){x1=Zo()}function X0(e){Np=Zo(),e.actualStartTime<0&&(e.actualStartTime=Zo())}function D1(e){Np=-1}function qm(e,t){if(Np>=0){var i=Zo()-Np;e.actualDuration+=i,t&&(e.selfBaseDuration=i),Np=-1}}function Ja(e){if(Gm>=0){var t=Zo()-Gm;Gm=-1;for(var i=e.return;i!==null;){switch(i.tag){case M: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(Km>=0){var t=Zo()-Km;Km=-1;for(var i=e.return;i!==null;){switch(i.tag){case M: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(){Gm=Zo()}function Z0(){Km=Zo()}function J0(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Ra(e,t){if(e&&e.defaultProps){var i=ft({},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,Zm,lS,oS,uS,Ap;{tS=new Set,nS=new Set,rS=new Set,iS=new Set,lS=new Set,aS=new Set,oS=new Set,uS=new Set,Ap=new Set;var O1=new Set;Zm=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=Lt(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&ct){gn(!0);try{s=i(a,o)}finally{gn(!1)}}k1(t,s)}var d=s==null?o:ft({},o,s);if(e.memoizedState=d,e.lanes===ie){var y=e.updateQueue;y.baseState=d}}var cS={isMounted:Br,enqueueSetState:function(e,t,i){var a=ri(e),o=Kr(),s=nu(a),d=Hl(o,s);d.payload=t,i!=null&&(Zm(i,"setState"),d.callback=i);var y=Go(a,d,s);y!==null&&(qn(y,a,s,o),Dm(y,a,s)),Bu(a,s)},enqueueReplaceState:function(e,t,i){var a=ri(e),o=Kr(),s=nu(a),d=Hl(o,s);d.tag=QC,d.payload=t,i!=null&&(Zm(i,"replaceState"),d.callback=i);var y=Go(a,d,s);y!==null&&(qn(y,a,s,o),Dm(y,a,s)),Bu(a,s)},enqueueForceUpdate:function(e,t){var i=ri(e),a=Kr(),o=nu(i),s=Hl(a,o);s.tag=Tm,t!=null&&(Zm(t,"forceUpdate"),s.callback=t);var d=Go(i,s,o);d!==null&&(qn(d,i,o,a),Dm(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 S=y.shouldComponentUpdate(a,s,d);{if(e.mode&ct){gn(!0);try{S=y.shouldComponentUpdate(a,s,d)}finally{gn(!1)}}S===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Lt(t)||"Component")}return S}return t.prototype&&t.prototype.isPureReactComponent?!Je(i,a)||!Je(o,s):!0}function xD(e,t,i){var a=e.stateNode;{var o=Lt(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&&!Ap.has(t)&&(e.mode&ct)===Ie&&(Ap.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&&!Ap.has(t)&&(e.mode&ct)===Ie&&(Ap.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.",Lt(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.",Lt(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"||Nn(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,co(t,e),t._reactInternalInstance=eS}function _1(e,t,i){var a=!1,o=_i,s=_i,d=t.contextType;if("contextType"in t){var y=d===null||d!==void 0&&d.$$typeof===Bf&&d._context===void 0;if(!y&&!uS.has(t)){uS.add(t);var S="";d===void 0?S=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof d!="object"?S=" However, it is set to a "+typeof d+".":d.$$typeof===jf?S=" Did you accidentally pass the Context.Provider instead?":d._context!==void 0?S=" Did you accidentally pass the Context.Consumer instead?":S=" However, it is set to an object with keys {"+Object.keys(d).join(", ")+"}.",m("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Lt(t)||"Component",S)}}if(typeof d=="object"&&d!==null)s=Pn(d);else{o=sf(e,t,!0);var x=t.contextTypes;a=x!=null,s=a?cf(e,o):_i}var T=new t(i,s);if(e.mode&ct){gn(!0);try{T=new t(i,s)}finally{gn(!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=Lt(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=Lt(t)||"Component",Xe=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,Xe,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.",lt(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=lt(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=Pn(s);else{var d=sf(e,t,!0);o.context=cf(e,d)}{if(o.state===i){var y=Lt(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&ct&&Sa.recordLegacyContextWarning(e,o),Sa.recordUnsafeLifecycleWarnings(e,o)}o.state=e.memoizedState;var S=t.getDerivedStateFromProps;if(typeof S=="function"&&(sS(e,t,S,i),o.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof o.getSnapshotBeforeUpdate!="function"&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(TD(e,o),km(e,i,o,a),o.state=e.memoizedState),typeof o.componentDidMount=="function"){var x=ut;x|=xr,(e.mode&Yr)!==Ie&&(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,S=_i;if(typeof y=="object"&&y!==null)S=Pn(y);else{var x=sf(e,t,!0);S=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!==S)&&N1(e,o,i,S),GC();var N=e.memoizedState,Y=o.state=N;if(km(e,i,o,a),Y=e.memoizedState,s===i&&N===Y&&!sm()&&!Om()){if(typeof o.componentDidMount=="function"){var K=ut;K|=xr,(e.mode&Yr)!==Ie&&(K|=Tr),e.flags|=K}return!1}typeof T=="function"&&(sS(e,t,T,i),Y=e.memoizedState);var q=Om()||M1(e,t,s,i,N,Y,S);if(q){if(!z&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"){var Te=ut;Te|=xr,(e.mode&Yr)!==Ie&&(Te|=Tr),e.flags|=Te}}else{if(typeof o.componentDidMount=="function"){var Xe=ut;Xe|=xr,(e.mode&Yr)!==Ie&&(Xe|=Tr),e.flags|=Xe}e.memoizedProps=i,e.memoizedState=Y}return o.props=i,o.state=Y,o.context=S,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:Ra(t.type,d);s.props=y;var S=t.pendingProps,x=s.context,T=i.contextType,z=_i;if(typeof T=="object"&&T!==null)z=Pn(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!==S||x!==z)&&N1(t,s,a,z),GC();var q=t.memoizedState,Te=s.state=q;if(km(t,a,s,o),Te=t.memoizedState,d===S&&q===Te&&!sm()&&!Om()&&!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|=ii),!1;typeof Y=="function"&&(sS(t,i,Y,a),Te=t.memoizedState);var Xe=Om()||M1(t,i,y,a,q,Te,z)||fe;return Xe?(!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|=ii)):(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|=ii),t.memoizedProps=a,t.memoizedState=Te),s.props=a,s.state=Te,s.context=z,Xe}function Es(e,t){return{value:e,source:t,stack:Kf(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?lt(o):null,S=y?"The above error occurred in the <"+y+"> component:":"The above error occurred in one of your React components:",x;if(e.tag===M)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=lt(e)||"Anonymous";x="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+T+".")}var z=S+`
|
|
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(Pt,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(Pt,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 S=t.value,x=t.stack;this.componentDidCatch(S,{componentStack:x!==null?x:""}),typeof o!="function"&&(Mr(e.lanes,Qe)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",lt(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);$r&&qp(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&Be)===Ie&&(i===D||i===Q||i===ge)){var a=e.alternate;a?(e.updateQueue=a.updateQueue,e.memoizedState=a.memoizedState,e.lanes=a.lanes):(e.updateQueue=null,e.memoizedState=null)}}function U1(e){var t=e;do{if(t.tag===le&&cD(t))return t;t=t.return}while(t!==null);return null}function F1(e,t,i,a,o){if((e.mode&Be)===Ie){if(e===t)e.flags|=zn;else{if(e.flags|=tt,i.flags|=Vu,i.flags&=~(rc|Ir),i.tag===w){var s=i.alternate;if(s===null)i.tag=Ye;else{var d=Hl(Pt,Qe);d.tag=Tm,Go(i,d,Qe)}}i.lanes=ot(i.lanes,Qe)}return e}return e.flags|=zn,e.lanes=o,e}function LD(e,t,i,a,o){if(i.flags|=Ir,$r&&qp(e,o),a!==null&&typeof a=="object"&&typeof a.then=="function"){var s=a;MD(i),sr()&&i.mode&Be&&kC();var d=U1(t);if(d!==null){d.flags&=~ln,F1(d,t,i,e,o),d.mode&Be&&z1(e,s,o),OD(d,e,s);return}else{if(!Fd(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&Be){kC();var S=U1(t);if(S!==null){(S.flags&zn)===Ge&&(S.flags|=ln),F1(S,t,i,e,o),l0(Es(a,i));return}}a=Es(a,i),cO(a);var x=t;do{switch(x.tag){case M:{var T=a;x.flags|=zn;var z=wo(o);x.lanes=ot(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&tt)===Ge&&(typeof K.getDerivedStateFromError=="function"||q!==null&&typeof q.componentDidCatch=="function"&&!UR(q))){x.flags|=zn;var Te=wo(o);x.lanes=ot(x.lanes,Te);var Xe=vS(x,Y,Te);C0(x,Xe);return}break}x=x.return}while(x!==null)}function _D(){return null}var zp=v.ReactCurrentOwner,xa=!1,hS,Up,mS,yS,gS,Cs,SS,Jm,Fp;hS={},Up={},mS={},yS={},gS={},Cs=!1,SS={},Jm={},Fp={};function Wr(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&&ya(s,a,"prop",Lt(i))}var d=i.render,y=t.ref,S,x;mf(t,o),ho(t);{if(zp.current=t,Di(!0),S=Rf(e,t,d,a,y,o),x=xf(),t.mode&ct){gn(!0);try{S=Rf(e,t,d,a,y,o),x=xf()}finally{gn(!1)}}Di(!1)}return Dr(),e!==null&&!xa?(e1(e,t,o),Pl(e,t,o)):(sr()&&x&&e0(t),t.flags|=Ua,Wr(e,t,S,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&&ya(y,a,"prop",Lt(s)),i.defaultProps!==void 0){var S=Lt(s)||"Unknown";Fp[S]||(m("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",S),Fp[S]=!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&&ya(z,a,"prop",Lt(T))}var N=e.child,Y=kS(e,o);if(!Y){var K=N.memoizedProps,q=i.compare;if(q=q!==null?q:Je,q(K,a)&&e.ref===t.ref)return Pl(e,t,o)}t.flags|=Ua;var Te=bs(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,S=d._init;try{s=S(y)}catch{s=null}var x=s&&s.propTypes;x&&ya(x,a,"prop",Lt(s))}}if(e!==null){var T=e.memoizedProps;if(Je(T,a)&&e.ref===t.ref&&t.type===e.type)if(xa=!1,t.pendingProps=a=T,kS(e,o))(e.flags&Vu)!==Ge&&(xa=!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&Be)===Ie){var d={baseLanes:ie,cachePool:null,transitions:null};t.memoizedState=d,dy(t,i)}else if(Mr(i,nr)){var z={baseLanes:ie,cachePool:null,transitions:null};t.memoizedState=z;var N=s!==null?s.baseLanes:i;dy(t,N)}else{var y=null,S;if(s!==null){var x=s.baseLanes;S=ot(x,i)}else S=i;t.lanes=t.childLanes=nr;var T={baseLanes:S,cachePool:y,transitions:null};return t.memoizedState=T,t.updateQueue=null,dy(t,S),null}else{var Y;s!==null?(Y=ot(s.baseLanes,i),t.memoizedState=null):Y=i,dy(t,Y)}return Wr(e,t,o,i),t.child}function AD(e,t,i){var a=t.pendingProps;return Wr(e,t,a,i),t.child}function zD(e,t,i){var a=t.pendingProps.children;return Wr(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 Wr(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|=Td)}function ES(e,t,i,a,o){if(t.type!==t.elementType){var s=i.propTypes;s&&ya(s,a,"prop",Lt(i))}var d;{var y=sf(t,i,!0);d=cf(t,y)}var S,x;mf(t,o),ho(t);{if(zp.current=t,Di(!0),S=Rf(e,t,i,a,d,o),x=xf(),t.mode&ct){gn(!0);try{S=Rf(e,t,i,a,d,o),x=xf()}finally{gn(!1)}}Di(!1)}return Dr(),e!==null&&!xa?(e1(e,t,o),Pl(e,t,o)):(sr()&&x&&e0(t),t.flags|=Ua,Wr(e,t,S,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),S=y.state;s.updater.enqueueSetState(s,S,null);break}case!0:{t.flags|=tt,t.flags|=zn;var x=new Error("Simulated error coming from DevTools"),T=wo(o);t.lanes=ot(t.lanes,T);var z=vS(t,Es(x,t),T);C0(t,z);break}}if(t.type!==t.elementType){var N=i.propTypes;N&&ya(N,a,"prop",Lt(i))}}var Y;Ka(i)?(Y=!0,fm(t)):Y=!1,mf(t,o);var K=t.stateNode,q;K===null?(ty(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 Xe=t.stateNode;q&&Xe.props!==a&&(Cs||m("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",lt(t)||"a component"),Cs=!0)}return Te}function CS(e,t,i,a,o,s){j1(e,t);var d=(t.flags&tt)!==Ge;if(!a&&!d)return o&&TC(t,i,!1),Pl(e,t,s);var y=t.stateNode;zp.current=t;var S;if(d&&typeof i.getDerivedStateFromError!="function")S=null,D1();else{ho(t);{if(Di(!0),S=y.render(),t.mode&ct){gn(!0);try{y.render()}finally{gn(!1)}}Di(!1)}Dr()}return t.flags|=Ua,e!==null&&d?ND(e,t,S,s):Wr(e,t,S,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),km(t,a,null,i);var d=t.memoizedState;t.stateNode;var y=d.element;if(o.isDehydrated){var S={element:y,isDehydrated:!1,cache:d.cache,pendingSuspenseBoundaries:d.pendingSuspenseBoundaries,transitions:d.transitions},x=t.updateQueue;if(x.baseState=S,t.memoizedState=S,t.flags&ln){var T=Es(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=Es(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&~It|ai,Y=Y.sibling}}else{if(pf(),y===s)return Pl(e,t,i);Wr(e,t,y,i)}return t.child}function Y1(e,t,i,a,o){return pf(),l0(o),t.flags|=ln,Wr(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|=Dt),j1(e,t),Wr(e,t,d,i),t.child}function PD(e,t){return e===null&&a0(t),null}function VD(e,t,i,a){ty(e,t);var o=t.pendingProps,s=i,d=s._payload,y=s._init,S=y(d);t.type=S;var x=t.tag=PO(S),T=Ra(S,o),z;switch(x){case D:return RS(t,S),t.type=S=Lf(S),z=ES(null,t,S,T,a),z;case w:return t.type=S=ZS(S),z=B1(null,t,S,T,a),z;case Q:return t.type=S=JS(S),z=H1(null,t,S,T,a),z;case me:{if(t.type!==t.elementType){var N=S.propTypes;N&&ya(N,T,"prop",Lt(S))}return z=P1(null,t,S,Ra(S.type,T),a),z}}var Y="";throw S!==null&&typeof S=="object"&&S.$$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: "+S+". "+("Lazy element type must resolve to a class or function."+Y))}function ID(e,t,i,a,o){ty(e,t),t.tag=w;var s;return Ka(i)?(s=!0,fm(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){ty(e,t);var o=t.pendingProps,s;{var d=sf(t,i,!1);s=cf(t,d)}mf(t,a);var y,S;ho(t);{if(i.prototype&&typeof i.prototype.render=="function"){var x=Lt(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&ct&&Sa.recordLegacyContextWarning(t,null),Di(!0),zp.current=t,y=Rf(null,t,i,o,s,a),S=xf(),Di(!1)}if(Dr(),t.flags|=Ua,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){var T=Lt(i)||"Unknown";Up[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),Up[T]=!0)}if(typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0){{var z=Lt(i)||"Unknown";Up[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),Up[z]=!0)}t.tag=w,t.memoizedState=null,t.updateQueue=null;var N=!1;return Ka(i)?(N=!0,fm(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=D,t.mode&ct){gn(!0);try{y=Rf(null,t,i,o,s,a),S=xf()}finally{gn(!1)}}return sr()&&S&&e0(t),Wr(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=ti();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=Lt(t)||"Unknown";Fp[d]||(m("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",d),Fp[d]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var y=Lt(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 S=Lt(t)||"Unknown";mS[S]||(m("%s: Function components do not support contextType.",S),mS[S]=!0)}}}var xS={dehydrated:null,treeContext:null,retryLane:Sn};function TS(e){return{baseLanes:e,cachePool:_D(),transitions:null}}function BD(e,t){var i=null;return{baseLanes:ot(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,bp)}function YD(e,t){return Xu(e.childLanes,t)}function Q1(e,t,i){var a=t.pendingProps;eM(t)&&(t.flags|=tt);var o=Ea.current,s=!1,d=(t.flags&tt)!==Ge;if(d||$D(o,e)?(s=!0,t.flags&=~tt):(e===null||e.memoizedState!==null)&&(o=sD(o,JC)),o=gf(o),Xo(t,o),e===null){a0(t);var y=t.memoizedState;if(y!==null){var S=y.dehydrated;if(S!==null)return XD(t,S)}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,Xe=GD(e,t,Te,q,i),$e=t.child,gt=e.child.memoizedState;return $e.memoizedState=gt===null?TS(i):BD(gt,i),$e.childLanes=YD(e,i),t.memoizedState=xS,Xe}else{var pt=a.children,I=WD(e,t,pt,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,S;return(o&Be)===Ie&&s!==null?(y=s,y.childLanes=ie,y.pendingProps=d,e.mode&nt&&(y.actualDuration=0,y.actualStartTime=-1,y.selfBaseDuration=0,y.treeBaseDuration=0),S=iu(i,o,a,null)):(y=bS(d,o),S=iu(i,o,a,null)),y.return=e,S.return=e,y.sibling=S,e.child=y,S}function bS(e,t,i){return WR(e,t,ie,null)}function W1(e,t){return bs(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&Be)===Ie&&(d.lanes=a),d.return=t,d.sibling=null,s!==null){var y=t.deletions;y===null?(t.deletions=[s],t.flags|=wt):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,S={mode:"hidden",children:i},x;if((s&Be)===Ie&&t.child!==d){var T=t.child;x=T,x.childLanes=ie,x.pendingProps=S,t.mode&nt&&(x.actualDuration=0,x.actualStartTime=-1,x.selfBaseDuration=d.selfBaseDuration,x.treeBaseDuration=d.treeBaseDuration),t.deletions=null}else x=W1(d,S),x.subtreeFlags=d.subtreeFlags&In;var z;return y!==null?z=bs(y,a):(z=iu(a,s,o,null),z.flags|=It),z.return=t,x.return=t,x.sibling=z,t.child=x,z}function ey(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|=It,t.memoizedState=null,d}function KD(e,t,i,a,o){var s=t.mode,d={mode:"visible",children:i},y=bS(d,s),S=iu(a,s,o,null);return S.flags|=It,y.return=t,S.return=t,y.sibling=S,t.child=y,(t.mode&Be)!==Ie&&vf(t,e.child,null,o),S}function XD(e,t,i){return(e.mode&Be)===Ie?(m("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=Qe):$g(t)?e.lanes=da:e.lanes=nr,null}function qD(e,t,i,a,o,s,d){if(i)if(t.flags&ln){t.flags&=~ln;var I=dS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return ey(e,t,d,I)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=tt,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&Be)===Ie)return ey(e,t,d,null);if($g(o)){var y,S,x;{var T=tb(o);y=T.digest,S=T.message,x=T.stack}var z;S?z=new Error(S):z=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var N=dS(z,y,x);return ey(e,t,d,N)}var Y=Mr(d,e.childLanes);if(xa||Y){var K=fy();if(K!==null){var q=bh(K,d);if(q!==Sn&&q!==s.retryLane){s.retryLane=q;var Te=Pt;yi(e,q),qn(K,e,q,Te)}}WS();var Xe=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 ey(e,t,d,Xe)}else if(mC(o)){t.flags|=tt,t.child=e.child;var $e=RO.bind(null,e);return nb(o,$e),null}else{Ib(t,o,s.treeContext);var gt=a.children,pt=wS(t,gt);return pt.flags|=ai,pt}}}function G1(e,t,i){e.lanes=ot(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=ot(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&&_m(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&&!Jm[e]&&(e!=="collapsed"&&e!=="hidden"?(Jm[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Jm[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=Nn(e),a=!i&&typeof ta(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(Nn(e)){for(var i=0;i<e.length;i++)if(!K1(e[i],i))return}else{var a=ta(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),Wr(e,t,d,i);var y=Ea.current,S=w0(y,bp);if(S)y=b0(y,bp),t.flags|=tt;else{var x=e!==null&&(e.flags&tt)!==Ge;x&&ZD(t,t.child,i),y=gf(y)}if(Xo(t,y),(t.mode&Be)===Ie)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&&_m(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):Wr(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 S=t.type.propTypes;S&&ya(S,s,"prop","Context.Provider")}if(BC(t,o,y),d!==null){var x=d.value;if(Ne(x,y)){if(d.children===s.children&&!sm())return Pl(e,t,i)}else eD(t,o,i)}var T=s.children;return Wr(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=Pn(a);ho(t);var y;return zp.current=t,Di(!0),y=s(d),Di(!1),Dr(),t.flags|=Ua,Wr(e,t,y,i),t.child}function Hp(){xa=!0}function ty(e,t){(t.mode&Be)===Ie&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=It)}function Pl(e,t,i){return e!==null&&(t.dependencies=e.dependencies),D1(),Xp(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|=wt):s.push(e),i.flags|=It,i}}function kS(e,t){var i=e.lanes;return!!Mr(i,t)}function ok(e,t,i){switch(t.tag){case M:$1(t),t.stateNode,pf();break;case b:qC(t);break;case w:{var a=t.type;Ka(a)&&fm(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 S=t.memoizedState;if(S!==null){if(S.dehydrated!==null)return Xo(t,gf(Ea.current)),t.flags|=tt,null;var x=t.child,T=x.childLanes;if(Mr(i,T))return Q1(e,t,i);Xo(t,gf(Ea.current));var z=Pl(e,t,i);return z!==null?z.sibling:null}else Xo(t,gf(Ea.current));break}case Se:{var N=(e.flags&tt)!==Ge,Y=Mr(i,t.childLanes);if(N){if(Y)return X1(e,t,i);t.flags|=tt}var K=t.memoizedState;if(K!==null&&(K.rendering=null,K.tail=null,K.lastEffect=null),Xo(t,Ea.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||sm()||t.type!==e.type)xa=!0;else{var s=kS(e,i);if(!s&&(t.flags&tt)===Ge)return xa=!1,ok(e,t,i);(e.flags&Vu)!==Ge?xa=!0:xa=!1}}else if(xa=!1,sr()&&_b(t)){var d=t.index,y=Nb();DC(t,y,d)}switch(t.lanes=ie,t.tag){case H:return jD(e,t,t.type,i);case Ue:{var S=t.elementType;return VD(e,t,S,i)}case D:{var x=t.type,T=t.pendingProps,z=t.elementType===x?T:Ra(x,T);return ES(e,t,x,z,i)}case w:{var N=t.type,Y=t.pendingProps,K=t.elementType===N?Y:Ra(N,Y);return B1(e,t,N,K,i)}case M: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,Xe=t.elementType===q?Te:Ra(q,Te);return H1(e,t,q,Xe,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 $e=t.type,gt=t.pendingProps,pt=Ra($e,gt);if(t.type!==t.elementType){var I=$e.propTypes;I&&ya(I,pt,"prop",Lt($e))}return pt=Ra($e.type,pt),P1(e,t,$e,pt,i)}case ge:return V1(e,t,t.type,t.pendingProps,i);case Ye:{var Z=t.type,j=t.pendingProps,he=t.elementType===Z?j:Ra(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|=Td}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(),S=Lw(d,i,s,a,o,y);t.updateQueue=S,S&&Tf(t)}},rR=function(e,t,i,a){i!==a&&Tf(t)};function Pp(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=Ge;if(t){if((e.mode&nt)!==Ie){for(var S=e.selfBaseDuration,x=e.child;x!==null;)i=ot(i,ot(x.lanes,x.childLanes)),a|=x.subtreeFlags&In,a|=x.flags&In,S+=x.treeBaseDuration,x=x.sibling;e.treeBaseDuration=S}else for(var T=e.child;T!==null;)i=ot(i,ot(T.lanes,T.childLanes)),a|=T.subtreeFlags&In,a|=T.flags&In,T.return=e,T=T.sibling;e.subtreeFlags|=a}else{if((e.mode&nt)!==Ie){for(var o=e.actualDuration,s=e.selfBaseDuration,d=e.child;d!==null;)i=ot(i,ot(d.lanes,d.childLanes)),a|=d.subtreeFlags,a|=d.flags,o+=d.actualDuration,s+=d.treeBaseDuration,d=d.sibling;e.actualDuration=o,e.treeBaseDuration=s}else for(var y=e.child;y!==null;)i=ot(i,ot(y.lanes,y.childLanes)),a|=y.subtreeFlags,a|=y.flags,y.return=e,y=y.sibling;e.subtreeFlags|=a}return e.childLanes=i,t}function uk(e,t,i){if(Qb()&&(t.mode&Be)!==Ie&&(t.flags&tt)===Ge)return AC(t),pf(),t.flags|=ln|Ir|zn,!1;var a=mm(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&nt)!==Ie){var o=i!==null;if(o){var s=t.child;s!==null&&(t.treeBaseDuration-=s.treeBaseDuration)}}return!1}else{if(pf(),(t.flags&tt)===Ge&&(t.memoizedState=null),t.flags|=ut,fr(t),(t.mode&nt)!==Ie){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 H:case Ue:case ge:case D: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)&&cm(t),fr(t),null}case M:{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=mm(t);if(d)Tf(t);else if(e!==null){var y=e.memoizedState;(!y.isDehydrated||(t.flags&ln)!==Ge)&&(t.flags|=ii,zC())}}return OS(e,t),fr(t),null}case b:{T0(t);var S=XC(),x=t.type;if(e!==null&&t.stateNode!=null)nR(e,t,x,a,S),e.ref!==t.ref&&eR(t);else{if(!a){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return fr(t),null}var T=x0(),z=mm(t);if(z)jb(t,S,T)&&Tf(t);else{var N=kw(x,a,S,T,t);tR(N,t,!1,!1),t.stateNode=N,Mw(N,x,a,S)&&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(),Xe=mm(t);Xe?Bb(t)&&Tf(t):t.stateNode=_w(Y,q,Te,t)}return fr(t),null}case le:{Sf(t);var $e=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var gt=uk(e,t,$e);if(!gt)return t.flags&zn?t:null}if((t.flags&tt)!==Ge)return t.lanes=i,(t.mode&nt)!==Ie&&J0(t),t;var pt=$e!==null,I=e!==null&&e.memoizedState!==null;if(pt!==I&&pt){var Z=t.child;if(Z.flags|=Fa,(t.mode&Be)!==Ie){var j=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!Oe);j||w0(Ea.current,JC)?sO():WS()}}var he=t.updateQueue;if(he!==null&&(t.flags|=ut),fr(t),(t.mode&nt)!==Ie&&pt){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 Ye:{var et=t.type;return Ka(et)&&cm(t),fr(t),null}case Se:{Sf(t);var at=t.memoizedState;if(at===null)return fr(t),null;var zt=(t.flags&tt)!==Ge,xt=at.rendering;if(xt===null)if(zt)Pp(at,!1);else{var On=fO()&&(e===null||(e.flags&tt)===Ge);if(!On)for(var Tt=t.child;Tt!==null;){var En=_m(Tt);if(En!==null){zt=!0,t.flags|=tt,Pp(at,!1);var zr=En.updateQueue;return zr!==null&&(t.updateQueue=zr,t.flags|=ut),t.subtreeFlags=Ge,Jb(t,i),Xo(t,b0(Ea.current,bp)),t.child}Tt=Tt.sibling}at.tail!==null&&qt()>wR()&&(t.flags|=tt,zt=!0,Pp(at,!1),t.lanes=hh)}else{if(!zt){var mr=_m(xt);if(mr!==null){t.flags|=tt,zt=!0;var Ai=mr.updateQueue;if(Ai!==null&&(t.updateQueue=Ai,t.flags|=ut),Pp(at,!0),at.tail===null&&at.tailMode==="hidden"&&!xt.alternate&&!sr())return fr(t),null}else qt()*2-at.renderingStartTime>wR()&&i!==nr&&(t.flags|=tt,zt=!0,Pp(at,!1),t.lanes=hh)}if(at.isBackwards)xt.sibling=t.child,t.child=xt;else{var Xr=at.last;Xr!==null?Xr.sibling=xt:t.child=xt,at.last=xt}}if(at.tail!==null){var qr=at.tail;at.rendering=qr,at.tail=qr.sibling,at.renderingStartTime=qt(),qr.sibling=null;var Ur=Ea.current;return zt?Ur=b0(Ur,bp):Ur=gf(Ur),Xo(t,Ur),qr}return fr(t),null}case Ee:break;case ne:case G:{QS(t);var $l=t.memoizedState,_f=$l!==null;if(e!==null){var tv=e.memoizedState,rl=tv!==null;rl!==_f&&!$&&(t.flags|=Fa)}return!_f||(t.mode&Be)===Ie?fr(t):Mr(nl,nr)&&(fr(t),t.subtreeFlags&(It|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)&&cm(t);var o=t.flags;return o&zn?(t.flags=o&~zn|tt,(t.mode&nt)!==Ie&&J0(t),t):null}case M:{t.stateNode,yf(t),qg(t),k0();var s=t.flags;return(s&zn)!==Ge&&(s&tt)===Ge?(t.flags=s&~zn|tt,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&zn?(t.flags=y&~zn|tt,(t.mode&nt)!==Ie&&J0(t),t):null}case Se:return Sf(t),null;case U:return yf(t),null;case oe:var S=t.type._context;return h0(S,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&&cm(t);break}case M:{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 ny=!1,dr=!1,ck=typeof WeakSet=="function"?WeakSet:Set,Ae=null,wf=null,bf=null;function fk(e){hl(null,function(){throw e}),Rd()}var dk=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&nt)try{el(),t.componentWillUnmount()}finally{Ja(e)}else t.componentWillUnmount()};function oR(e,t){try{Jo(Yn,e)}catch(i){$t(e,t,i)}}function MS(e,t,i){try{dk(e,i)}catch(a){$t(e,t,a)}}function pk(e,t,i){try{i.componentDidMount()}catch(a){$t(e,t,a)}}function uR(e,t){try{cR(e)}catch(i){$t(e,t,i)}}function Df(e,t){var i=e.ref;if(i!==null)if(typeof i=="function"){var a;try{if(Fe&&Pe&&e.mode&nt)try{el(),a=i(null)}finally{Ja(e)}else a=i(null)}catch(o){$t(e,t,o)}typeof a=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",lt(e))}else i.current=null}function ry(e,t,i){try{i()}catch(a){$t(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&fo)!==Ge&&t!==null?(t.return=e,Ae=t):mk()}}function mk(){for(;Ae!==null;){var e=Ae;Nt(e);try{yk(e)}catch(i){$t(e,e.return,i)}xn();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&ii)!==Ge){switch(Nt(e),e.tag){case D:case Q:case ge:break;case w:{if(t!==null){var a=t.memoizedProps,o=t.memoizedState,s=e.stateNode;e.type===e.elementType&&!Cs&&(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.",lt(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.",lt(e)||"instance"));var d=s.getSnapshotBeforeUpdate(e.elementType===e.type?a:Ra(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.",lt(e)))}s.__reactInternalSnapshotBeforeUpdate=d}break}case M:{{var S=e.stateNode;qw(S.containerInfo)}break}case b:case L:case U:case Ye: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.")}xn()}}function Ta(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)!==gi?dh(t):(e&Yn)!==gi&&Li(t),(e&Xa)!==gi&&Zp(!0),ry(t,i,y),(e&Xa)!==gi&&Zp(!1),(e&cr)!==gi?dc():(e&Yn)!==gi&&mo())}d=d.next}while(d!==s)}}function Jo(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)!==gi?Va(t):(e&Yn)!==gi&&ph(t);var d=s.create;(e&Xa)!==gi&&Zp(!0),s.destroy=d(),(e&Xa)!==gi&&Zp(!1),(e&cr)!==gi?fc():(e&Yn)!==gi&&Iu();{var y=s.destroy;if(y!==void 0&&typeof y!="function"){var S=void 0;(s.tag&Yn)!==Ge?S="useLayoutEffect":(s.tag&Xa)!==Ge?S="useInsertionEffect":S="useEffect";var x=void 0;y===null?x=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof y.then=="function"?x=`
|
|
135
|
+
|
|
136
|
+
It looks like you wrote `+S+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
137
|
+
|
|
138
|
+
`+S+`(() => {
|
|
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",S,x)}}}s=s.next}while(s!==o)}}function gk(e,t){if((t.flags&ut)!==Ge)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 S=t.return;e:for(;S!==null;){switch(S.tag){case M:var x=S.stateNode;x.passiveEffectDuration+=i;break e;case J:var T=S.stateNode;T.passiveEffectDuration+=i;break e}S=S.return}break}}}function Sk(e,t,i,a){if((i.flags&er)!==Ge)switch(i.tag){case D:case Q:case ge:{if(!dr)if(i.mode&nt)try{el(),Jo(Yn|$n,i)}finally{Ja(i)}else Jo(Yn|$n,i);break}case w:{var o=i.stateNode;if(i.flags&ut&&!dr)if(t===null)if(i.type===i.elementType&&!Cs&&(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.",lt(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.",lt(i)||"instance")),i.mode&nt)try{el(),o.componentDidMount()}finally{Ja(i)}else o.componentDidMount();else{var s=i.elementType===i.type?t.memoizedProps:Ra(i.type,t.memoizedProps),d=t.memoizedState;if(i.type===i.elementType&&!Cs&&(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.",lt(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.",lt(i)||"instance")),i.mode&nt)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&&!Cs&&(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.",lt(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.",lt(i)||"instance")),KC(i,y,o));break}case M:{var S=i.updateQueue;if(S!==null){var x=null;if(i.child!==null)switch(i.child.tag){case b:x=i.child.stateNode;break;case w:x=i.child.stateNode;break}KC(i,S,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,Xe=w1(),$e=t===null?"mount":"update";T1()&&($e="nested-update"),typeof q=="function"&&q(i.memoizedProps.id,$e,i.actualDuration,i.treeBaseDuration,i.actualStartTime,Xe);{typeof K=="function"&&K(i.memoizedProps.id,$e,Te,Xe),mO(i);var gt=i.return;e:for(;gt!==null;){switch(gt.tag){case M:var pt=gt.stateNode;pt.effectDuration+=Te;break e;case J:var I=gt.stateNode;I.effectDuration+=Te;break e}gt=gt.return}}}break}case le:{Dk(e,i);break}case Se:case Ye: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 D:case Q:case ge:{if(e.mode&nt)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){$t(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){$t(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&nt)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.",lt(e))}else t.hasOwnProperty("current")||m("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",lt(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===M||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&It||t.child===null||t.tag===U)continue e;t.child.return=t,t=t.child}if(!(t.flags&It))return t.stateNode}}function Tk(e){var t=xk(e);switch(t.tag){case b:{var i=t.stateNode;t.flags&Dt&&(hC(i),t.flags&=~Dt);var a=pR(e);_S(e,a,i);break}case M: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,wa=!1;function wk(e,t,i){{var a=t;e:for(;a!==null;){switch(a.tag){case b:{pr=a.stateNode,wa=!1;break e}case M:{pr=a.stateNode.containerInfo,wa=!0;break e}case U:{pr=a.stateNode.containerInfo,wa=!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,wa=!1}Rk(i)}function eu(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=wa;pr=null,eu(e,t,i),pr=a,wa=o,pr!==null&&(wa?Yw(pr,i.stateNode):$w(pr,i.stateNode))}return}case pe:{pr!==null&&(wa?Qw(pr,i.stateNode):Bg(pr,i.stateNode));return}case U:{{var s=pr,d=wa;pr=i.stateNode.containerInfo,wa=!0,eu(e,t,i),pr=s,wa=d}return}case D:case Q:case me:case ge:{if(!dr){var y=i.updateQueue;if(y!==null){var S=y.lastEffect;if(S!==null){var x=S.next,T=x;do{var z=T,N=z.destroy,Y=z.tag;N!==void 0&&((Y&Xa)!==gi?ry(i,t,N):(Y&Yn)!==gi&&(Li(i),i.mode&nt?(el(),ry(i,t,N),Ja(i)):ry(i,t,N),mo())),T=T.next}while(T!==x)}}}eu(e,t,i);return}case w:{if(!dr){Df(i,t);var K=i.stateNode;typeof K.componentWillUnmount=="function"&&MS(i,t,K)}eu(e,t,i);return}case Ee:{eu(e,t,i);return}case ne:{if(i.mode&Be){var q=dr;dr=q||i.memoizedState!==null,eu(e,t,i),dr=q}else eu(e,t,i);break}default:{eu(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),$r)if(wf!==null&&bf!==null)qp(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 ba(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(S){$t(s,t,S)}}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 D:case Q:case me:case ge:{if(ba(t,e),tl(e),o&ut){try{Ta(Xa|$n,e,e.return),Jo(Xa|$n,e)}catch(et){$t(e,e.return,et)}if(e.mode&nt){try{el(),Ta(Yn|$n,e,e.return)}catch(et){$t(e,e.return,et)}Ja(e)}else try{Ta(Yn|$n,e,e.return)}catch(et){$t(e,e.return,et)}}return}case w:{ba(t,e),tl(e),o&Rr&&a!==null&&Df(a,a.return);return}case b:{ba(t,e),tl(e),o&Rr&&a!==null&&Df(a,a.return);{if(e.flags&Dt){var s=e.stateNode;try{hC(s)}catch(et){$t(e,e.return,et)}}if(o&ut){var d=e.stateNode;if(d!=null){var y=e.memoizedProps,S=a!==null?a.memoizedProps:y,x=e.type,T=e.updateQueue;if(e.updateQueue=null,T!==null)try{Hw(d,T,x,S,y,e)}catch(et){$t(e,e.return,et)}}}}return}case L:{if(ba(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(et){$t(e,e.return,et)}}return}case M:{if(ba(t,e),tl(e),o&ut&&a!==null){var K=a.memoizedState;if(K.isDehydrated)try{cb(t.containerInfo)}catch(et){$t(e,e.return,et)}}return}case U:{ba(t,e),tl(e);return}case le:{ba(t,e),tl(e);var q=e.child;if(q.flags&Fa){var Te=q.stateNode,Xe=q.memoizedState,$e=Xe!==null;if(Te.isHidden=$e,$e){var gt=q.alternate!==null&&q.alternate.memoizedState!==null;gt||uO()}}if(o&ut){try{bk(e)}catch(et){$t(e,e.return,et)}hR(e)}return}case ne:{var pt=a!==null&&a.memoizedState!==null;if(e.mode&Be){var I=dr;dr=I||pt,ba(t,e),dr=I}else ba(t,e);if(tl(e),o&Fa){var Z=e.stateNode,j=e.memoizedState,he=j!==null,ke=e;if(Z.isHidden=he,he&&!pt&&(ke.mode&Be)!==Ie){Ae=ke;for(var we=ke.child;we!==null;)Ae=we,Mk(we),we=we.sibling}Ck(ke,he)}return}case Se:{ba(t,e),tl(e),o&ut&&hR(e);return}case Ee:return;default:{ba(t,e),tl(e);return}}}function tl(e){var t=e.flags;if(t&It){try{Tk(e)}catch(i){$t(e,e.return,i)}e.flags&=~It}t&ai&&(e.flags&=~ai)}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&Be)!==Ie;Ae!==null;){var o=Ae,s=o.child;if(o.tag===ne&&a){var d=o.memoizedState!==null,y=d||ny;if(y){NS(e,t,i);continue}else{var S=o.alternate,x=S!==null&&S.memoizedState!==null,T=x||dr,z=ny,N=dr;ny=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,ny=z,dr=N,NS(e,t,i);continue}}(o.subtreeFlags&er)!==Ge&&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&er)!==Ge){var o=a.alternate;Nt(a);try{Sk(t,o,a,i)}catch(d){$t(a,a.return,d)}xn()}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 D:case Q:case me:case ge:{if(t.mode&nt)try{el(),Ta(Yn,t,t.return)}finally{Ja(t)}else Ta(Yn,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){$t(t,t.return,a)}if(xn(),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&li)!==Ge&&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)!==Ge){Nt(o);try{zk(t,o,i,a)}catch(d){$t(o,o.return,d)}xn()}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 D:case Q:case ge:{if(t.mode&nt){Z0();try{Jo(cr|$n,t)}finally{q0(t)}}else Jo(cr|$n,t);break}}}function Uk(e){Ae=e,Fk()}function Fk(){for(;Ae!==null;){var e=Ae,t=e.child;if((Ae.flags&wt)!==Ge){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&li)!==Ge&&t!==null?(t.return=e,Ae=t):Hk()}}function Hk(){for(;Ae!==null;){var e=Ae;(e.flags&Wt)!==Ge&&(Nt(e),Pk(e),xn());var t=e.sibling;if(t!==null){t.return=e.return,Ae=t;return}Ae=e.return}}function Pk(e){switch(e.tag){case D:case Q:case ge:{e.mode&nt?(Z0(),Ta(cr|$n,e,e.return),q0(e)):Ta(cr|$n,e,e.return);break}}}function Vk(e,t){for(;Ae!==null;){var i=Ae;Nt(i),jk(i,t),xn();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 D:case Q:case ge:{e.mode&nt?(Z0(),Ta(cr,e,t),q0(e)):Ta(cr,e,t);break}}}function Bk(e){switch(e.tag){case D:case Q:case ge:{try{Jo(Yn|$n,e)}catch(i){$t(e,e.return,i)}break}case w:{var t=e.stateNode;try{t.componentDidMount()}catch(i){$t(e,e.return,i)}break}}}function $k(e){switch(e.tag){case D:case Q:case ge:{try{Jo(cr|$n,e)}catch(t){$t(e,e.return,t)}break}}}function Yk(e){switch(e.tag){case D:case Q:case ge:{try{Ta(Yn|$n,e,e.return)}catch(i){$t(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 D:case Q:case ge:try{Ta(cr|$n,e,e.return)}catch(t){$t(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Vp=Symbol.for;Vp("selector.component"),Vp("selector.has_pseudo_class"),Vp("selector.role"),Vp("selector.test_id"),Vp("selector.text")}var 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,Da=v.ReactCurrentActQueue,Gn=0,CR=1,hr=2,Zi=4,Vl=0,Ip=1,Rs=2,iy=3,jp=4,RR=5,US=6,yt=Gn,Gr=null,vn=null,Kn=ie,nl=ie,FS=$o(ie),Xn=Vl,Bp=null,ay=ie,$p=ie,ly=ie,Yp=null,Si=null,HS=0,xR=500,TR=1/0,Zk=500,Il=null;function Qp(){TR=qt()+Zk}function wR(){return TR}var oy=!1,PS=null,kf=null,xs=!1,tu=null,Wp=ie,VS=[],IS=null,Jk=50,Gp=0,jS=null,BS=!1,uy=!1,eO=50,Of=0,sy=null,Kp=Pt,cy=ie,bR=!1;function fy(){return Gr}function Kr(){return(yt&(hr|Zi))!==Gn?qt():(Kp!==Pt||(Kp=qt()),Kp)}function nu(e){var t=e.mode;if((t&Be)===Ie)return Qe;if((yt&hr)!==Gn&&Kn!==ie)return wo(Kn);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 cy===Sn&&(cy=xh()),cy}var o=fi();if(o!==Sn)return o;var s=Nw();return s}function tO(e){var t=e.mode;return(t&Be)===Ie?Qe:Or()}function qn(e,t,i,a){wO(),bR&&m("useInsertionEffect must not schedule updates."),BS&&(uy=!0),bl(e,i,a),(yt&hr)!==ie&&e===Gr?kO(t):($r&&zc(e,t,i),OO(t),e===Gr&&((yt&hr)===Gn&&($p=ot($p,i)),Xn===jp&&ru(e,Kn)),Ei(e,a),i===Qe&&yt===Gn&&(t.mode&Be)===Ie&&!Da.isBatchingLegacy&&(Qp(),bC()))}function nO(e,t,i){var a=e.current;a.lanes=t,bl(e,t,i),Ei(e,i)}function rO(e){return(yt&hr)!==Gn}function Ei(e,t){var i=e.callbackNode;gh(e,t);var a=Tl(e,e===Gr?Kn:ie);if(a===ie){i!==null&&jR(i),e.callbackNode=null,e.callbackPriority=Sn;return}var o=fn(a),s=e.callbackPriority;if(s===o&&!(Da.current!==null&&i!==XS)){i==null&&s!==Qe&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}i!=null&&jR(i);var d;if(o===Qe)e.tag===Yo?(Da.isBatchingLegacy!==null&&(Da.didScheduleLegacyUpdate=!0),Lb(OR.bind(null,e))):wC(OR.bind(null,e)),Da.current!==null?Da.current.push(Qo):zw(function(){(yt&(hr|Zi))===Gn&&Qo()}),d=null;else{var y;switch(Bn(a)){case dn:y=uc;break;case pa:y=yl;break;case Bi:y=ji;break;case bo:y=sc;break;default:y=ji;break}d=qS(y,DR.bind(null,e))}e.callbackPriority=o,e.callbackNode=d}function DR(e,t){if(CD(),Kp=Pt,cy=ie,(yt&(hr|Zi))!==Gn)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===Gr?Kn:ie);if(o===ie)return null;var s=!Ku(e,o)&&!Rh(e,o)&&!t,d=s?pO(e,o):py(e,o);if(d!==Vl){if(d===Rs){var y=ja(e);y!==ie&&(o=y,d=$S(e,y))}if(d===Ip){var S=Bp;throw Ts(e,ie),ru(e,o),Ei(e,qt()),S}if(d===US)ru(e,o);else{var x=!Ku(e,o),T=e.current.alternate;if(x&&!aO(T)){if(d=py(e,o),d===Rs){var z=ja(e);z!==ie&&(o=z,d=$S(e,z))}if(d===Ip){var N=Bp;throw Ts(e,ie),ru(e,o),Ei(e,qt()),N}}e.finishedWork=T,e.finishedLanes=o,iO(e,d,o)}}return Ei(e,qt()),e.callbackNode===i?DR.bind(null,e):null}function $S(e,t){var i=Yp;if(Uc(e)){var a=Ts(e,t);a.flags|=ln,Tb(e.containerInfo)}var o=py(e,t);if(o!==Rs){var s=Si;Si=i,s!==null&&kR(s)}return o}function kR(e){Si===null?Si=e:Si.push.apply(Si,e)}function iO(e,t,i){switch(t){case Vl:case Ip:throw new Error("Root did not complete. This is a bug in React.");case Rs:{ws(e,Si,Il);break}case iy:{if(ru(e,i),Sh(i)&&!BR()){var a=HS+xR-qt();if(a>10){var o=Tl(e,ie);if(o!==ie)break;var s=e.suspendedLanes;if(!wl(s,i)){Kr(),Nc(e,s);break}e.timeoutHandle=Ig(ws.bind(null,e,Si,Il),a);break}}ws(e,Si,Il);break}case jp:{if(ru(e,i),Ch(i))break;if(!BR()){var d=mh(e,i),y=d,S=qt()-y,x=TO(S)-S;if(x>10){e.timeoutHandle=Ig(ws.bind(null,e,Si,Il),x);break}}ws(e,Si,Il);break}case RR:{ws(e,Si,Il);break}default:throw new Error("Unknown root exit status.")}}function aO(e){for(var t=e;;){if(t.flags&Pu){var i=t.updateQueue;if(i!==null){var a=i.stores;if(a!==null)for(var o=0;o<a.length;o++){var s=a[o],d=s.getSnapshot,y=s.value;try{if(!Ne(d(),y))return!1}catch{return!1}}}}var S=t.child;if(t.subtreeFlags&Pu&&S!==null){S.return=t,t=S;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function ru(e,t){t=Xu(t,ly),t=Xu(t,$p),wh(e,t)}function OR(e){if(RD(),(yt&(hr|Zi))!==Gn)throw new Error("Should not already be working.");Bl();var t=Tl(e,ie);if(!Mr(t,Qe))return Ei(e,qt()),null;var i=py(e,t);if(e.tag!==Yo&&i===Rs){var a=ja(e);a!==ie&&(t=a,i=$S(e,a))}if(i===Ip){var o=Bp;throw Ts(e,ie),ru(e,t),Ei(e,qt()),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,ws(e,Si,Il),Ei(e,qt()),null}function lO(e,t){t!==ie&&(Pd(e,ot(t,Qe)),Ei(e,qt()),(yt&(hr|Zi))===Gn&&(Qp(),Qo()))}function YS(e,t){var i=yt;yt|=CR;try{return e(t)}finally{yt=i,yt===Gn&&!Da.isBatchingLegacy&&(Qp(),bC())}}function oO(e,t,i,a,o){var s=fi(),d=vr.transition;try{return vr.transition=null,on(dn),e(t,i,a,o)}finally{on(s),vr.transition=d,yt===Gn&&Qp()}}function jl(e){tu!==null&&tu.tag===Yo&&(yt&(hr|Zi))===Gn&&Bl();var t=yt;yt|=CR;var i=vr.transition,a=fi();try{return vr.transition=null,on(dn),e?e():void 0}finally{on(a),vr.transition=i,yt=t,(yt&(hr|Zi))===Gn&&Qo()}}function MR(){return(yt&(hr|Zi))!==Gn}function dy(e,t){Nr(FS,nl,e),nl=ot(nl,t)}function QS(e){nl=FS.current,_r(FS,e)}function Ts(e,t){e.finishedWork=null,e.finishedLanes=ie;var i=e.timeoutHandle;if(i!==jg&&(e.timeoutHandle=jg,Aw(i)),vn!==null)for(var a=vn.return;a!==null;){var o=a.alternate;aR(o,a),a=a.return}Gr=e;var s=bs(e.current,null);return vn=s,Kn=nl=t,Xn=Vl,Bp=null,ay=ie,$p=ie,ly=ie,Yp=null,Si=null,nD(),Sa.discardPendingWarnings(),s}function LR(e,t){do{var i=vn;try{if(Rm(),t1(),xn(),zS.current=null,i===null||i.return===null){Xn=Ip,Bp=t,vn=null;return}if(Fe&&i.mode&nt&&qm(i,!0),ze)if(Dr(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var a=t;Sl(i,a,Kn)}else ju(i,t,Kn);LD(e,i.return,i,t,Kn),zR(i)}catch(o){t=o,vn===i&&i!==null?(i=i.return,vn=i):i=vn;continue}return}while(!0)}function _R(){var e=AS.current;return AS.current=Qm,e===null?Qm:e}function NR(e){AS.current=e}function uO(){HS=qt()}function Xp(e){ay=ot(e,ay)}function sO(){Xn===Vl&&(Xn=iy)}function WS(){(Xn===Vl||Xn===iy||Xn===Rs)&&(Xn=jp),Gr!==null&&(Gu(ay)||Gu($p))&&ru(Gr,Kn)}function cO(e){Xn!==jp&&(Xn=Rs),Yp===null?Yp=[e]:Yp.push(e)}function fO(){return Xn===Vl}function py(e,t){var i=yt;yt|=hr;var a=_R();if(Gr!==e||Kn!==t){if($r){var o=e.memoizedUpdaters;o.size>0&&(qp(e,Kn),o.clear()),Vd(e,t)}Il=Zu(),Ts(e,t)}Gt(t);do try{dO();break}catch(s){LR(e,s)}while(!0);if(Rm(),yt=i,NR(a),vn!==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(),Gr=null,Kn=ie,Xn}function dO(){for(;vn!==null;)AR(vn)}function pO(e,t){var i=yt;yt|=hr;var a=_R();if(Gr!==e||Kn!==t){if($r){var o=e.memoizedUpdaters;o.size>0&&(qp(e,Kn),o.clear()),Vd(e,t)}Il=Zu(),Qp(),Ts(e,t)}Gt(t);do try{vO();break}catch(s){LR(e,s)}while(!0);return Rm(),NR(a),yt=i,vn!==null?(pc(),Vl):(vc(),Gr=null,Kn=ie,Xn)}function vO(){for(;vn!==null&&!oc();)AR(vn)}function AR(e){var t=e.alternate;Nt(e);var i;(e.mode&nt)!==Ie?(X0(e),i=GS(t,e,nl),qm(e,!0)):i=GS(t,e,nl),xn(),e.memoizedProps=e.pendingProps,i===null?zR(e):vn=i,zS.current=null}function zR(e){var t=e;do{var i=t.alternate,a=t.return;if((t.flags&Ir)===Ge){Nt(t);var o=void 0;if((t.mode&nt)===Ie?o=iR(i,t,nl):(X0(t),o=iR(i,t,nl),qm(t,!1)),xn(),o!==null){vn=o;return}}else{var s=sk(i,t);if(s!==null){s.flags&=ah,vn=s;return}if((t.mode&nt)!==Ie){qm(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|=Ir,a.subtreeFlags=Ge,a.deletions=null;else{Xn=US,vn=null;return}}var S=t.sibling;if(S!==null){vn=S;return}t=a,vn=t}while(t!==null);Xn===Vl&&(Xn=RR)}function ws(e,t,i){var a=fi(),o=vr.transition;try{vr.transition=null,on(dn),hO(e,t,i,a)}finally{vr.transition=o,on(a)}return null}function hO(e,t,i,a){do Bl();while(tu!==null);if(bO(),(yt&(hr|Zi))!==Gn)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=Sn;var d=ot(o.lanes,o.childLanes);Ac(e,d),e===Gr&&(Gr=null,vn=null,Kn=ie),((o.subtreeFlags&li)!==Ge||(o.flags&li)!==Ge)&&(xs||(xs=!0,IS=i,qS(ji,function(){return Bl(),null})));var y=(o.subtreeFlags&(fo|wr|er|li))!==Ge,S=(o.flags&(fo|wr|er|li))!==Ge;if(y||S){var x=vr.transition;vr.transition=null;var T=fi();on(dn);var z=yt;yt|=Zi,zS.current=null,vk(e,o),b1(),kk(e,o,s),Dw(e.containerInfo),e.current=o,Ld(s),Ok(o,e,s),yo(),uh(),yt=z,on(T),vr.transition=x}else e.current=o,b1();var N=xs;if(xs?(xs=!1,tu=e,Wp=s):(Of=0,sy=null),d=e.pendingLanes,d===ie&&(kf=null),N||PR(e.current,!1),vo(o.stateNode,a),$r&&e.memoizedUpdaters.clear(),Gk(),Ei(e,qt()),t!==null)for(var Y=e.onRecoverableError,K=0;K<t.length;K++){var q=t[K],Te=q.stack,Xe=q.digest;Y(q.value,{componentStack:Te,digest:Xe})}if(oy){oy=!1;var $e=PS;throw PS=null,$e}return Mr(Wp,Qe)&&e.tag!==Yo&&Bl(),d=e.pendingLanes,Mr(d,Qe)?(ED(),e===jS?Gp++:(Gp=0,jS=e)):Gp=0,Qo(),cc(),null}function Bl(){if(tu!==null){var e=Bn(Wp),t=dg(Bi,e),i=vr.transition,a=fi();try{return vr.transition=null,on(t),yO()}finally{on(a),vr.transition=i}}return!1}function mO(e){VS.push(e),xs||(xs=!0,qS(ji,function(){return Bl(),null}))}function yO(){if(tu===null)return!1;var e=IS;IS=null;var t=tu,i=Wp;if(tu=null,Wp=ie,(yt&(hr|Zi))!==Gn)throw new Error("Cannot flush passive effects while already rendering.");BS=!0,uy=!1,vh(i);var a=yt;yt|=Zi,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)}}_d(),PR(t.current,!0),yt=a,Qo(),uy?t===sy?Of++:(Of=0,sy=t):Of=0,BS=!1,uy=!1,si(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){oy||(oy=!0,PS=e)}var EO=SO;function FR(e,t,i){var a=Es(i,t),o=A1(e,a,Qe),s=Go(e,o,Qe),d=Kr();s!==null&&(bl(s,Qe,d),Ei(s,d))}function $t(e,t,i){if(fk(i),Zp(!1),e.tag===M){FR(e,e,i);return}var a=null;for(a=t;a!==null;){if(a.tag===M){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=Es(i,e),y=vS(a,d,Qe),S=Go(a,y,Qe),x=Kr();S!==null&&(bl(S,Qe,x),Ei(S,x));return}}a=a.return}m(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
148
|
+
|
|
149
|
+
Error message:
|
|
150
|
+
|
|
151
|
+
%s`,i)}function CO(e,t,i){var a=e.pingCache;a!==null&&a.delete(t);var o=Kr();Nc(e,i),MO(e),Gr===e&&wl(Kn,i)&&(Xn===jp||Xn===iy&&Sh(Kn)&&qt()-HS<xR?Ts(e,ie):ly=ot(ly,i)),Ei(e,o)}function HR(e,t){t===Sn&&(t=tO(e));var i=Kr(),a=yi(e,t);a!==null&&(bl(a,t,i),Ei(a,i))}function RO(e){var t=e.memoizedState,i=Sn;t!==null&&(i=t.retryLane),HR(e,i)}function xO(e,t){var i=Sn,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(Gp>Jk)throw Gp=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,sy=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(){Sa.flushLegacyContextWarning(),Sa.flushPendingUnsafeLifecycleWarnings()}function PR(e,t){Nt(e),vy(e,Tr,Yk),t&&vy(e,ml,Qk),vy(e,Tr,Bk),t&&vy(e,ml,$k),xn()}function vy(e,t,i){for(var a=e,o=null;a!==null;){var s=a.subtreeFlags&t;a!==o&&a.child!==null&&s!==Ge?a=a.child:((a.flags&t)!==Ge&&i(a),a.sibling!==null?a=a.sibling:a=o=a.return)}}var hy=null;function VR(e){{if((yt&hr)!==Gn||!(e.mode&Be))return;var t=e.tag;if(t!==H&&t!==M&&t!==w&&t!==D&&t!==Q&&t!==me&&t!==ge)return;var i=lt(e)||"ReactComponent";if(hy!==null){if(hy.has(i))return;hy.add(i)}else hy=new Set([i]);var a=mn;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):xn()}}}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(Rm(),t1(),aR(e,t),GR(t,a),t.mode&nt&&X0(t),hl(null,J1,null,e,t,i),og()){var o=Rd();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(ei&&!yD())switch(e.tag){case D:case Q:case ge:{var t=vn&<(vn)||"Unknown",i=t;if(!KS.has(i)){KS.add(i);var a=lt(e)||"Unknown";m("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",a,t,t)}break}case w:{IR||(m("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),IR=!0);break}}}function qp(e,t){if($r){var i=e.memoizedUpdaters;i.forEach(function(a){zc(e,a,t)})}}var XS={};function qS(e,t){{var i=Da.current;return i!==null?(i.push(t),XS):lc(e,t)}}function jR(e){if(e!==XS)return oh(e)}function BR(){return Da.current!==null}function OO(e){{if(e.mode&Be){if(!ER())return}else if(!Xk()||yt!==Gn||e.tag!==D&&e.tag!==Q&&e.tag!==ge)return;if(Da.current===null){var t=mn;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`,lt(e))}finally{t?Nt(e):xn()}}}}function MO(e){e.tag!==Yo&&ER()&&Da.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 Zp(e){bR=e}var Ji=null,Mf=null,LO=function(e){Ji=e};function Lf(e){{if(Ji===null)return e;var t=Ji(e);return t===void 0?e:t.current}}function ZS(e){return Lf(e)}function JS(e){{if(Ji===null)return e;var t=Ji(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var i=Lf(e.render);if(e.render!==i){var a={$$typeof:ql,render:i};return e.displayName!==void 0&&(a.displayName=e.displayName),a}}return e}return t.current}}function $R(e,t){{if(Ji===null)return!1;var i=e.elementType,a=t.type,o=!1,s=typeof a=="object"&&a!==null?a.$$typeof:null;switch(e.tag){case w:{typeof a=="function"&&(o=!0);break}case D:{(typeof a=="function"||s===lr)&&(o=!0);break}case Q:{(s===ql||s===lr)&&(o=!0);break}case me:case ge:{(s===Zl||s===lr)&&(o=!0);break}default:return!1}if(o){var d=Ji(i);if(d!==void 0&&d===Ji(a))return!0}return!1}}function YR(e){{if(Ji===null||typeof WeakSet!="function")return;Mf===null&&(Mf=new WeakSet),Mf.add(e)}}var _O=function(e,t){{if(Ji===null)return;var i=t.staleFamilies,a=t.updatedFamilies;Bl(),jl(function(){eE(e.current,a,i)})}},NO=function(e,t){{if(e.context!==_i)return;Bl(),jl(function(){Jp(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,S=null;switch(d){case D:case ge:case w:S=y;break;case Q:S=y.render;break}if(Ji===null)throw new Error("Expected resolveFamily to be set during hot reload.");var x=!1,T=!1;if(S!==null){var z=Ji(S);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=yi(e,Qe);N!==null&&qn(N,e,Qe,Pt)}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 D:case ge:case w:y=d;break;case Q:y=d.render;break}var S=!1;y!==null&&t.has(y)&&(S=!0),S?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 M: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=Ge,this.subtreeFlags=Ge,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 Ni=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:D;if(e!=null){var t=e.$$typeof;if(t===ql)return Q;if(t===Zl)return me}return H}function bs(e,t){var i=e.alternate;i===null?(i=Ni(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=Ge,i.subtreeFlags=Ge,i.deletions=null,i.actualDuration=0,i.actualStartTime=-1),i.flags=e.flags&In,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 H:case D: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&=In|It;var i=e.alternate;if(i===null)e.childLanes=ie,e.lanes=t,e.child=null,e.subtreeFlags=Ge,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=Ge,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===dm?(a=Be,t===!0&&(a|=ct,a|=Yr)):a=Ie,$r&&(a|=nt),Ni(M,null,null,a)}function iE(e,t,i,a,o,s){var d=H,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 ea:return iu(i.children,o,s,t);case Xl:d=te,o|=ct,(o&Be)!==Ie&&(o|=Yr);break;case hu:return jO(i,o,s,t);case Pi:return BO(i,o,s,t);case mu:return $O(i,o,s,t);case $f:return WR(i,o,s,t);case mv:case vv:case Py:case Vy:case hv:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case jf:d=oe;break e;case Bf:d=de;break e;case ql:d=Q,y=JS(y);break e;case Zl:d=me;break e;case lr:d=Ue,y=null;break e}var S="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(S+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var x=a?lt(a):null;x&&(S+=`
|
|
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)+"."+S))}}var T=Ni(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 iu(e,t,i,a){var o=Ni(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=Ni(J,e,a,t|nt);return o.elementType=hu,o.lanes=i,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}function BO(e,t,i,a){var o=Ni(le,e,a,t);return o.elementType=Pi,o.lanes=i,o}function $O(e,t,i,a){var o=Ni(Se,e,a,t);return o.elementType=mu,o.lanes=i,o}function WR(e,t,i,a){var o=Ni(ne,e,a,t);o.elementType=$f,o.lanes=i;var s={isHidden:!1};return o.stateNode=s,o}function lE(e,t,i){var a=Ni(L,e,null,t);return a.lanes=i,a}function YO(){var e=Ni(b,null,null,Ie);return e.elementType="DELETED",e}function QO(e){var t=Ni(pe,null,null,Ie);return t.stateNode=e,t}function oE(e,t,i){var a=e.children!==null?e.children:[],o=Ni(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=Ni(H,null,null,Ie)),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=Sn,this.eventTimes=qu(ie),this.expirationTimes=qu(Pt),this.pendingLanes=ie,this.suspendedLanes=ie,this.pingedLanes=ie,this.expiredLanes=ie,this.mutableReadLanes=ie,this.finishedLanes=ie,this.entangledLanes=ie,this.entanglements=qu(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<Yu;d++)s.push(new Set)}switch(t){case dm:this._debugRootType=i?"hydrateRoot()":"createRoot()";break;case Yo:this._debugRootType=i?"hydrate()":"render()";break}}function KR(e,t,i,a,o,s,d,y,S,x){var T=new WO(e,t,i,y,S),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 Ke(a),{$$typeof:Ti,key:a==null?null:""+a,children:e,containerInfo:t,implementation:i}}var sE,cE;sE=!1,cE={};function XR(e){if(!e)return _i;var t=ri(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=ri(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=oi(i);if(o===null)return null;if(o.mode&ct){var s=lt(i)||"Component";if(!cE[s]){cE[s]=!0;var d=mn;try{Nt(o),i.mode&ct?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):xn()}}}return o.stateNode}}function qR(e,t,i,a,o,s,d,y){var S=!1,x=null;return KR(e,t,S,x,i,a,o,s,d)}function ZR(e,t,i,a,o,s,d,y,S,x){var T=!0,z=KR(i,a,T,e,o,s,d,y,S);z.context=XR(null);var N=z.current,Y=Kr(),K=nu(N),q=Hl(Y,K);return q.callback=t??null,Go(N,q,K),nO(z,K,Y),z}function Jp(e,t,i,a){Md(t,e);var o=t.current,s=Kr(),d=nu(o);Nd(d);var y=XR(i);t.context===null?t.context=y:t.pendingContext=y,ei&&mn!==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.`,lt(mn)||"Unknown"));var S=Hl(s,d);S.payload={element:e},a=a===void 0?null:a,a!==null&&(typeof a!="function"&&m("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a),S.callback=a);var x=Go(o,S,d);return x!==null&&(qn(x,o,d,s),Dm(x,o,d)),d}function my(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 M:{var t=e.stateNode;if(Uc(t)){var i=Ud(t);lO(t,i)}break}case le:{jl(function(){var o=yi(e,Qe);if(o!==null){var s=Kr();qn(o,e,Qe,s)}});var a=Qe;fE(e,a);break}}}function JR(e,t){var i=e.memoizedState;i!==null&&i.dehydrated!==null&&(i.retryLane=Th(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=Wu,i=yi(e,t);if(i!==null){var a=Kr();qn(i,e,t,a)}fE(e,t)}}function ZO(e){if(e.tag===le){var t=nu(e),i=yi(e,t);if(i!==null){var a=Kr();qn(i,e,t,a)}fE(e,t)}}function ex(e){var t=lh(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=Nn(e)?e.slice():ft({},e);return i+1===t.length?(Nn(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=Nn(e)?e.slice():ft({},e);if(a+1===t.length){var d=i[a];s[d]=s[o],Nn(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=Nn(e)?e.slice():ft({},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=ft({},e.memoizedProps);var d=yi(e,Qe);d!==null&&qn(d,e,Qe,Pt)}},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=ft({},e.memoizedProps);var s=yi(e,Qe);s!==null&&qn(s,e,Qe,Pt)}},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=ft({},e.memoizedProps);var d=yi(e,Qe);d!==null&&qn(d,e,Qe,Pt)}},lx=function(e,t,i){e.pendingProps=yx(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=yi(e,Qe);a!==null&&qn(a,e,Qe,Pt)},ox=function(e,t){e.pendingProps=px(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=yi(e,Qe);i!==null&&qn(i,e,Qe,Pt)},ux=function(e,t,i){e.pendingProps=hx(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=yi(e,Qe);a!==null&&qn(a,e,Qe,Pt)},sx=function(e){var t=yi(e,Qe);t!==null&&qn(t,e,Qe,Pt)},cx=function(e){tx=e},fx=function(e){nx=e}}function tM(e){var t=oi(e);return t===null?null:t.stateNode}function nM(e){return null}function rM(){return mn}function iM(e){var t=e.findFiberByHostInstance,i=v.ReactCurrentDispatcher;return Od({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}yy.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()."):gy(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!==yn){var a=ex(t.current);a&&a.parentNode!==i&&m("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}Jp(e,t,null,null)},yy.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(){Jp(null,e,null,null)}),gC(t)}};function aM(e,t){if(!gy(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===Kl&&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,dm,null,i,a,o,s);am(d.current,e);var y=e.nodeType===yn?e.parentNode:e;return ap(y),new pE(d)}function yy(e){this._internalRoot=e}function lM(e){e&&hg(e)}yy.prototype.unstable_scheduleHydration=lM;function oM(e,t,i){if(!gy(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Sx(e),t===void 0&&m("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=i??null,o=i!=null&&i.hydratedSources||null,s=!1,d=!1,y="",S=gx;i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(y=i.identifierPrefix),i.onRecoverableError!==void 0&&(S=i.onRecoverableError));var x=ZR(t,null,e,dm,a,s,d,y,S);if(am(x.current,e),ap(e),o)for(var T=0;T<o.length;T++){var z=o[T];fD(x,z)}return new yy(x)}function gy(e){return!!(e&&(e.nodeType===Cr||e.nodeType===ki||e.nodeType===sl||!rt))}function ev(e){return!!(e&&(e.nodeType===Cr||e.nodeType===ki||e.nodeType===sl||e.nodeType===yn&&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."),mp(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!==yn){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&&Bo(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===ki?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=my(d);s.call(N)}}var d=ZR(t,a,e,Yo,null,!1,!1,"",Cx);e._reactRootContainer=d,am(d.current,e);var y=e.nodeType===yn?e.parentNode:e;return ap(y),jl(),d}else{for(var S;S=e.lastChild;)e.removeChild(S);if(typeof a=="function"){var x=a;a=function(){var N=my(T);x.call(N)}}var T=qR(e,Yo,null,!1,!1,"",Cx);e._reactRootContainer=T,am(T.current,e);var z=e.nodeType===yn?e.parentNode:e;return ap(z),jl(function(){Jp(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 Sy(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 S=my(d);y.call(S)}}Jp(t,d,e,o)}return my(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.",Lt(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"),!ev(t))throw new Error("Target container is not a DOM element.");{var a=mp(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 Sy(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"),!ev(t))throw new Error("Target container is not a DOM element.");{var a=mp(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 Sy(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"),!ev(i))throw new Error("Target container is not a DOM element.");if(e==null||!Hu(e))throw new Error("parentComponent must be a valid React Component");return Sy(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")),!ev(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=mp(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&&!Bo(i);a&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return jl(function(){Sy(null,null,e,!1,function(){e._reactRootContainer=null,gC(e)})}),!0}else{{var o=vE(e),s=!!(o&&Bo(o)),d=e.nodeType===Cr&&ev(e.parentNode)&&!!e.parentNode._reactRootContainer;s&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",d?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Oo(XO),pg(qO),Hc(ZO),Dh(fi),kh(rr),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&m("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),rh(yw),tc(YS,oO,jl);function mM(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!gy(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:[Bo,uf,lm,ec,zu,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:fs,bundleType:1,version:uE,rendererPackageName:"react-dom"});if(!CM&&Ut&&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")}Ri.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=hE,Ri.createPortal=mM,Ri.createRoot=gM,Ri.findDOMNode=fM,Ri.flushSync=EM,Ri.hydrate=dM,Ri.hydrateRoot=SM,Ri.render=pM,Ri.unmountComponentAtNode=hM,Ri.unstable_batchedUpdates=YS,Ri.unstable_renderSubtreeIntoContainer=yM,Ri.version=uE,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ri}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:g,floating:C}=f;const R=fu(p),m=PE(p),O=HE(m),D=Wl(p),w=R==="y",H=g.x+g.width/2-C.width/2,M=g.y+g.height/2-C.height/2,U=g[O]/2-C[O]/2;let b;switch(D){case"top":b={x:H,y:g.y-C.height};break;case"bottom":b={x:H,y:g.y+g.height};break;case"right":b={x:g.x+g.width,y:M};break;case"left":b={x:g.x-C.width,y:M};break;default:b={x:g.x,y:g.y}}switch(Pf(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:g="bottom",strategy:C="absolute",middleware:R=[],platform:m}=v,O=R.filter(Boolean),D=await(m.isRTL==null?void 0:m.isRTL(p));let w=await m.getElementRects({reference:f,floating:p,strategy:C}),{x:H,y:M}=Lx(w,g,D),U=g,b={},L=0;for(let P=0;P<O.length;P++){const{name:te,fn:de}=O[P],{x:oe,y:Q,data:J,reset:le}=await de({x:H,y:M,initialPlacement:g,placement:U,strategy:C,middlewareData:b,rects:w,platform:m,elements:{reference:f,floating:p}});H=oe??H,M=Q??M,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:H,y:M}=Lx(w,U,D)),P=-1)}return{x:H,y:M,placement:U,strategy:C,middlewareData:b}};async function VE(f,p){var v;p===void 0&&(p={});const{x:g,y:C,platform:R,rects:m,elements:O,strategy:D}=f,{boundary:w="clippingAncestors",rootBoundary:H="viewport",elementContext:M="floating",altBoundary:U=!1,padding:b=0}=cu(p,f),L=sT(b),te=O[U?M==="floating"?"reference":"floating":M],de=My(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(O.floating)),boundary:w,rootBoundary:H,strategy:D})),oe=M==="floating"?{x:g,y:C,width:m.floating.width,height:m.floating.height}:m.reference,Q=await(R.getOffsetParent==null?void 0:R.getOffsetParent(O.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=My(R.convertOffsetParentRelativeRectToViewportRelativeRect?await R.convertOffsetParentRelativeRectToViewportRelativeRect({elements:O,rect:oe,offsetParent:Q,strategy:D}):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:g,placement:C,rects:R,platform:m,elements:O,middlewareData:D}=p,{element:w,padding:H=0}=cu(f,p)||{};if(w==null)return{};const M=sT(H),U={x:v,y:g},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=O.floating[Q]||R.floating[L]);const Ue=J/2-le/2,Ye=ge/2-P[L]/2-1,pe=il(M[de],Ye),Se=il(M[oe],Ye),Ee=pe,ne=ge-P[L]-Se,G=ge/2-P[L]/2+Ue,ce=DE(Ee,G,ne),re=!D.arrow&&Pf(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,g;const{placement:C,middlewareData:R,rects:m,initialPlacement:O,platform:D,elements:w}=p,{mainAxis:H=!0,crossAxis:M=!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=Wl(C),oe=fu(O),Q=Wl(O)===O,J=await(D.isRTL==null?void 0:D.isRTL(w.floating)),le=U||(Q||!P?[Oy(O)]:AM(O)),me=L!=="none";!U&&me&&le.push(...UM(O,P,L,J));const ge=[O,...le],Ue=await VE(p,te),Ye=[];let pe=((g=R.flip)==null?void 0:g.overflows)||[];if(H&&Ye.push(Ue[de]),M){const G=NM(C,m,J);Ye.push(Ue[G[0]],Ue[G[1]])}if(pe=[...pe,{placement:C,overflows:Ye}],!Ye.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=O;break}if(C!==re)return{reset:{placement:re}}}return{}}}};async function cL(f,p){const{placement:v,platform:g,elements:C}=f,R=await(g.isRTL==null?void 0:g.isRTL(C.floating)),m=Wl(v),O=Pf(v),D=fu(v)==="y",w=["left","top"].includes(m)?-1:1,H=R&&D?-1:1,M=cu(p,f);let{mainAxis:U,crossAxis:b,alignmentAxis:L}=typeof M=="number"?{mainAxis:M,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...M};return O&&typeof L=="number"&&(b=O==="end"?L*-1:L),D?{x:b*H,y:U*w}:{x:U*w,y:b*H}}const fL=function(f){return f===void 0&&(f=0),{name:"offset",options:f,async fn(p){var v,g;const{x:C,y:R,placement:m,middlewareData:O}=p,D=await cL(p,f);return m===((v=O.offset)==null?void 0:v.placement)&&(g=O.arrow)!=null&&g.alignmentOffset?{}:{x:C+D.x,y:R+D.y,data:{...D,placement:m}}}}},dL=function(f){return f===void 0&&(f={}),{name:"shift",options:f,async fn(p){const{x:v,y:g,placement:C}=p,{mainAxis:R=!0,crossAxis:m=!1,limiter:O={fn:te=>{let{x:de,y:oe}=te;return{x:de,y:oe}}},...D}=cu(f,p),w={x:v,y:g},H=await VE(p,D),M=fu(Wl(C)),U=FE(M);let b=w[U],L=w[M];if(R){const te=U==="y"?"top":"left",de=U==="y"?"bottom":"right",oe=b+H[te],Q=b-H[de];b=DE(oe,b,Q)}if(m){const te=M==="y"?"top":"left",de=M==="y"?"bottom":"right",oe=L+H[te],Q=L-H[de];L=DE(oe,L,Q)}const P=O.fn({...p,[U]:b,[M]:L});return{...P,data:{x:P.x-v,y:P.y-g}}}}},pL=function(f){return f===void 0&&(f={}),{options:f,fn(p){const{x:v,y:g,placement:C,rects:R,middlewareData:m}=p,{offset:O=0,mainAxis:D=!0,crossAxis:w=!0}=cu(f,p),H={x:v,y:g},M=fu(C),U=FE(M);let b=H[U],L=H[M];const P=cu(O,p),te=typeof P=="number"?{mainAxis:P,crossAxis:0}:{mainAxis:0,crossAxis:0,...P};if(D){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(Wl(C)),le=R.reference[M]-R.floating[Q]+(J&&((de=m.offset)==null?void 0:de[M])||0)+(J?0:te.crossAxis),me=R.reference[M]+R.reference[Q]+(J?0:((oe=m.offset)==null?void 0:oe[M])||0)-(J?te.crossAxis:0);L<le?L=le:L>me&&(L=me)}return{[U]:b,[M]:L}}}},vL=function(f){return f===void 0&&(f={}),{name:"size",options:f,async fn(p){const{placement:v,rects:g,platform:C,elements:R}=p,{apply:m=()=>{},...O}=cu(f,p),D=await VE(p,O),w=Wl(v),H=Pf(v),M=fu(v)==="y",{width:U,height:b}=g.floating;let L,P;w==="top"||w==="bottom"?(L=w,P=H===(await(C.isRTL==null?void 0:C.isRTL(R.floating))?"start":"end")?"left":"right"):(P=w,L=H==="end"?"top":"bottom");const te=b-D.top-D.bottom,de=U-D.left-D.right,oe=il(b-D[L],te),Q=il(U-D[P],de),J=!p.middlewareData.shift;let le=oe,me=Q;if(M?me=H||J?il(Q,de):de:le=H||J?il(oe,te):te,J&&!H){const Ue=zi(D.left,0),Ye=zi(D.right,0),pe=zi(D.top,0),Se=zi(D.bottom,0);M?me=U-2*(Ue!==0||Ye!==0?Ue+Ye:zi(D.left,D.right)):le=b-2*(pe!==0||Se!==0?pe+Se:zi(D.top,D.bottom))}await m({...p,availableWidth:me,availableHeight:le});const ge=await C.getDimensions(R.floating);return U!==ge.width||b!==ge.height?{reset:{rects:!0}}:{}}}};function yT(f){const p=Fi(f);let v=parseFloat(p.width)||0,g=parseFloat(p.height)||0;const C=Ln(f),R=C?f.offsetWidth:v,m=C?f.offsetHeight:g,O=ky(v)!==R||ky(g)!==m;return O&&(v=R,g=m),{width:v,height:g,$:O}}function IE(f){return Vt(f)?f:f.contextElement}function zf(f){const p=IE(f);if(!Ln(p))return su(1);const v=p.getBoundingClientRect(),{width:g,height:C,$:R}=yT(p);let m=(R?ky(v.width):v.width)/g,O=(R?ky(v.height):v.height)/C;return(!m||!Number.isFinite(m))&&(m=1),(!O||!Number.isFinite(O))&&(O=1),{x:m,y:O}}const hL=su(0);function gT(f){const p=xi(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!==xi(f)?!1:p}function Os(f,p,v,g){p===void 0&&(p=!1),v===void 0&&(v=!1);const C=f.getBoundingClientRect(),R=IE(f);let m=su(1);p&&(g?Vt(g)&&(m=zf(g)):m=zf(f));const O=mL(R,v,g)?gT(R):su(0);let D=(C.left+O.x)/m.x,w=(C.top+O.y)/m.y,H=C.width/m.x,M=C.height/m.y;if(R){const U=xi(R),b=g&&Vt(g)?xi(g):g;let L=U,P=L.frameElement;for(;P&&g&&b!==L;){const te=zf(P),de=P.getBoundingClientRect(),oe=Fi(P),Q=de.left+(P.clientLeft+parseFloat(oe.paddingLeft))*te.x,J=de.top+(P.clientTop+parseFloat(oe.paddingTop))*te.y;D*=te.x,w*=te.y,H*=te.x,M*=te.y,D+=Q,w+=J,L=xi(P),P=L.frameElement}}return My({width:H,height:M,x:D,y:w})}function yL(f){let{elements:p,rect:v,offsetParent:g,strategy:C}=f;const R=C==="fixed",m=Gl(g),O=p?Uy(p.floating):!1;if(g===m||O&&R)return v;let D={scrollLeft:0,scrollTop:0},w=su(1);const H=su(0),M=Ln(g);if((M||!M&&!R)&&((pu(g)!=="body"||uv(m))&&(D=Fy(g)),Ln(g))){const U=Os(g);w=zf(g),H.x=U.x+g.clientLeft,H.y=U.y+g.clientTop}return{width:v.width*w.x,height:v.height*w.y,x:v.x*w.x-D.scrollLeft*w.x+H.x,y:v.y*w.y-D.scrollTop*w.y+H.y}}function gL(f){return Array.from(f.getClientRects())}function ST(f){return Os(Gl(f)).left+Fy(f).scrollLeft}function SL(f){const p=Gl(f),v=Fy(f),g=f.ownerDocument.body,C=zi(p.scrollWidth,p.clientWidth,g.scrollWidth,g.clientWidth),R=zi(p.scrollHeight,p.clientHeight,g.scrollHeight,g.clientHeight);let m=-v.scrollLeft+ST(f);const O=-v.scrollTop;return Fi(g).direction==="rtl"&&(m+=zi(p.clientWidth,g.clientWidth)-C),{width:C,height:R,x:m,y:O}}function EL(f,p){const v=xi(f),g=Gl(f),C=v.visualViewport;let R=g.clientWidth,m=g.clientHeight,O=0,D=0;if(C){R=C.width,m=C.height;const w=NE();(!w||w&&p==="fixed")&&(O=C.offsetLeft,D=C.offsetTop)}return{width:R,height:m,x:O,y:D}}function CL(f,p){const v=Os(f,!0,p==="fixed"),g=v.top+f.clientTop,C=v.left+f.clientLeft,R=Ln(f)?zf(f):su(1),m=f.clientWidth*R.x,O=f.clientHeight*R.y,D=C*R.x,w=g*R.y;return{width:m,height:O,x:D,y:w}}function _x(f,p,v){let g;if(p==="viewport")g=EL(f,v);else if(p==="document")g=SL(Gl(f));else if(Vt(p))g=CL(p,v);else{const C=gT(f);g={...p,x:p.x-C.x,y:p.y-C.y}}return My(g)}function ET(f,p){const v=Ql(f);return v===p||!Vt(v)||uu(v)?!1:Fi(v).position==="fixed"||ET(v,p)}function RL(f,p){const v=p.get(f);if(v)return v;let g=lu(f,[],!1).filter(O=>Vt(O)&&pu(O)!=="body"),C=null;const R=Fi(f).position==="fixed";let m=R?Ql(f):f;for(;Vt(m)&&!uu(m);){const O=Fi(m),D=_E(m);!D&&O.position==="fixed"&&(C=null),(R?!D&&!C:!D&&O.position==="static"&&!!C&&["absolute","fixed"].includes(C.position)||uv(m)&&!D&&ET(f,m))?g=g.filter(H=>H!==m):C=O,m=Ql(m)}return p.set(f,g),g}function xL(f){let{element:p,boundary:v,rootBoundary:g,strategy:C}=f;const m=[...v==="clippingAncestors"?Uy(p)?[]:RL(p,this._c):[].concat(v),g],O=m[0],D=m.reduce((w,H)=>{const M=_x(p,H,C);return w.top=zi(M.top,w.top),w.right=il(M.right,w.right),w.bottom=il(M.bottom,w.bottom),w.left=zi(M.left,w.left),w},_x(p,O,C));return{width:D.right-D.left,height:D.bottom-D.top,x:D.left,y:D.top}}function TL(f){const{width:p,height:v}=yT(f);return{width:p,height:v}}function wL(f,p,v){const g=Ln(p),C=Gl(p),R=v==="fixed",m=Os(f,!0,R,p);let O={scrollLeft:0,scrollTop:0};const D=su(0);if(g||!g&&!R)if((pu(p)!=="body"||uv(C))&&(O=Fy(p)),g){const M=Os(p,!0,R,p);D.x=M.x+p.clientLeft,D.y=M.y+p.clientTop}else C&&(D.x=ST(C));const w=m.left+O.scrollLeft-D.x,H=m.top+O.scrollTop-D.y;return{x:w,y:H,width:m.width,height:m.height}}function SE(f){return Fi(f).position==="static"}function Nx(f,p){return!Ln(f)||Fi(f).position==="fixed"?null:p?p(f):f.offsetParent}function CT(f,p){const v=xi(f);if(Uy(f))return v;if(!Ln(f)){let C=Ql(f);for(;C&&!uu(C);){if(Vt(C)&&!SE(C))return C;C=Ql(C)}return v}let g=Nx(f,p);for(;g&&wM(g)&&SE(g);)g=Nx(g,p);return g&&uu(g)&&SE(g)&&!_E(g)?v:g||bM(f)||v}const bL=async function(f){const p=this.getOffsetParent||CT,v=this.getDimensions,g=await v(f.floating);return{reference:wL(f.reference,await p(f.floating),f.strategy),floating:{x:0,y:0,width:g.width,height:g.height}}};function DL(f){return Fi(f).direction==="rtl"}const kL={convertOffsetParentRelativeRectToViewportRelativeRect:yL,getDocumentElement:Gl,getClippingRect:xL,getOffsetParent:CT,getElementRects:bL,getClientRects:gL,getDimensions:TL,getScale:zf,isElement:Vt,isRTL:DL};function OL(f,p){let v=null,g;const C=Gl(f);function R(){var O;clearTimeout(g),(O=v)==null||O.disconnect(),v=null}function m(O,D){O===void 0&&(O=!1),D===void 0&&(D=1),R();const{left:w,top:H,width:M,height:U}=f.getBoundingClientRect();if(O||p(),!M||!U)return;const b=Af(H),L=Af(C.clientWidth-(w+M)),P=Af(C.clientHeight-(H+U)),te=Af(w),oe={rootMargin:-b+"px "+-L+"px "+-P+"px "+-te+"px",threshold:zi(0,il(1,D))||1};let Q=!0;function J(le){const me=le[0].intersectionRatio;if(me!==D){if(!Q)return m();me?m(!1,me):g=setTimeout(()=>{m(!1,1e-7)},1e3)}Q=!1}try{v=new IntersectionObserver(J,{...oe,root:C.ownerDocument})}catch{v=new IntersectionObserver(J,oe)}v.observe(f)}return m(!0),R}function ML(f,p,v,g){g===void 0&&(g={});const{ancestorScroll:C=!0,ancestorResize:R=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:O=typeof IntersectionObserver=="function",animationFrame:D=!1}=g,w=IE(f),H=C||R?[...w?lu(w):[],...lu(p)]:[];H.forEach(de=>{C&&de.addEventListener("scroll",v,{passive:!0}),R&&de.addEventListener("resize",v)});const M=w&&O?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&&!D&&b.observe(w),b.observe(p));let L,P=D?Os(f):null;D&&te();function te(){const de=Os(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;H.forEach(oe=>{C&&oe.removeEventListener("scroll",v),R&&oe.removeEventListener("resize",v)}),M==null||M(),(de=b)==null||de.disconnect(),b=null,D&&cancelAnimationFrame(L)}}const LL=fL,_L=dL,NL=sL,AL=vL,Ax=uL,zL=pL,UL=(f,p,v)=>{const g=new Map,C={platform:kL,...v},R={...C.platform,_c:g};return oL(f,p,{...C,platform:R})};var Ty=typeof document<"u"?ou.useLayoutEffect:ou.useEffect;function Ay(f,p){if(f===p)return!0;if(typeof f!=typeof p)return!1;if(typeof f=="function"&&f.toString()===p.toString())return!0;let v,g,C;if(f&&p&&typeof f=="object"){if(Array.isArray(f)){if(v=f.length,v!==p.length)return!1;for(g=v;g--!==0;)if(!Ay(f[g],p[g]))return!1;return!0}if(C=Object.keys(f),v=C.length,v!==Object.keys(p).length)return!1;for(g=v;g--!==0;)if(!{}.hasOwnProperty.call(p,C[g]))return!1;for(g=v;g--!==0;){const R=C[g];if(!(R==="_owner"&&f.$$typeof)&&!Ay(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=F.useRef(f);return Ty(()=>{p.current=f}),p}function FL(f){f===void 0&&(f={});const{placement:p="bottom",strategy:v="absolute",middleware:g=[],platform:C,elements:{reference:R,floating:m}={},transform:O=!0,whileElementsMounted:D,open:w}=f,[H,M]=F.useState({x:0,y:0,strategy:v,placement:p,middlewareData:{},isPositioned:!1}),[U,b]=F.useState(g);Ay(U,g)||b(g);const[L,P]=F.useState(null),[te,de]=F.useState(null),oe=F.useCallback(ue=>{ue!==me.current&&(me.current=ue,P(ue))},[]),Q=F.useCallback(ue=>{ue!==ge.current&&(ge.current=ue,de(ue))},[]),J=R||L,le=m||te,me=F.useRef(null),ge=F.useRef(null),Ue=F.useRef(H),Ye=D!=null,pe=Ux(D),Se=Ux(C),Ee=F.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&&!Ay(Ue.current,fe)&&(Ue.current=fe,mT.flushSync(()=>{M(fe)}))})},[U,p,v,Se]);Ty(()=>{w===!1&&Ue.current.isPositioned&&(Ue.current.isPositioned=!1,M(ue=>({...ue,isPositioned:!1})))},[w]);const ne=F.useRef(!1);Ty(()=>(ne.current=!0,()=>{ne.current=!1}),[]),Ty(()=>{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,Ye]);const G=F.useMemo(()=>({reference:me,floating:ge,setReference:oe,setFloating:Q}),[oe,Q]),ce=F.useMemo(()=>({reference:J,floating:le}),[J,le]),re=F.useMemo(()=>{const ue={position:v,left:0,top:0};if(!ce.floating)return ue;const X=zx(ce.floating,H.x),fe=zx(ce.floating,H.y);return O?{...ue,transform:"translate("+X+"px, "+fe+"px)",...RT(ce.floating)>=1.5&&{willChange:"transform"}}:{position:v,left:X,top:fe}},[v,O,ce.floating,H.x,H.y]);return F.useMemo(()=>({...H,update:Ee,refs:G,elements:ce,floatingStyles:re}),[H,Ee,G,ce,re])}const HL=f=>{function p(v){return{}.hasOwnProperty.call(v,"current")}return{name:"arrow",options:f,fn(v){const{element:g,padding:C}=typeof f=="function"?f(v):f;return g&&p(g)?g.current!=null?Ax({element:g.current,padding:C}).fn(v):{}:g?Ax({element:g,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 F.useMemo(()=>f.every(p=>p==null)?null:p=>{f.forEach(v=>{typeof v=="function"?v(p):v!=null&&(v.current=p)})},f)}const xT={...F},QL=xT.useInsertionEffect,WL=QL||(f=>f());function gr(f){const p=F.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return WL(()=>{p.current=f}),F.useCallback(function(){for(var v=arguments.length,g=new Array(v),C=0;C<v;C++)g[C]=arguments[C];return p.current==null?void 0:p.current(...g)},[])}const jE="ArrowUp",sv="ArrowDown",Ff="ArrowLeft",Vf="ArrowRight";function Cy(f,p,v){return Math.floor(f/p)!==v}function nv(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:g=!1,disabledIndices:C,amount:R=1}=p===void 0?{}:p;const m=f.current;let O=v;do O+=g?-R:R;while(O>=0&&O<=m.length-1&&wy(m,O,C));return O}function GL(f,p){let{event:v,orientation:g,loop:C,cols:R,disabledIndices:m,minIndex:O,maxIndex:D,prevIndex:w,stopEvent:H=!1}=p,M=w;if(v.key===jE){if(H&&yr(v),w===-1)M=D;else if(M=Fr(f,{startingIndex:M,amount:R,decrement:!0,disabledIndices:m}),C&&(w-R<O||M<0)){const U=w%R,b=D%R,L=D-(b-U);b===U?M=D:M=b>U?L:L-R}nv(f,M)&&(M=w)}if(v.key===sv&&(H&&yr(v),w===-1?M=O:(M=Fr(f,{startingIndex:w,amount:R,disabledIndices:m}),C&&w+R>D&&(M=Fr(f,{startingIndex:w%R-R,amount:R,disabledIndices:m}))),nv(f,M)&&(M=w)),g==="both"){const U=Af(w/R);v.key===Vf&&(H&&yr(v),w%R!==R-1?(M=Fr(f,{startingIndex:w,disabledIndices:m}),C&&Cy(M,R,U)&&(M=Fr(f,{startingIndex:w-w%R-1,disabledIndices:m}))):C&&(M=Fr(f,{startingIndex:w-w%R-1,disabledIndices:m})),Cy(M,R,U)&&(M=w)),v.key===Ff&&(H&&yr(v),w%R!==0?(M=Fr(f,{startingIndex:w,decrement:!0,disabledIndices:m}),C&&Cy(M,R,U)&&(M=Fr(f,{startingIndex:w+(R-w%R),decrement:!0,disabledIndices:m}))):C&&(M=Fr(f,{startingIndex:w+(R-w%R),decrement:!0,disabledIndices:m})),Cy(M,R,U)&&(M=w));const b=Af(D/R)===U;nv(f,M)&&(C&&b?M=v.key===Ff?D:Fr(f,{startingIndex:w-w%R-1,disabledIndices:m}):M=w)}return M}function KL(f,p,v){const g=[];let C=0;return f.forEach((R,m)=>{let{width:O,height:D}=R;if(O>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 H=[];for(let M=0;M<O;M++)for(let U=0;U<D;U++)H.push(C+M+U*p);C%p+O<=p&&H.every(M=>g[M]==null)?(H.forEach(M=>{g[M]=m}),w=!0):C++}}),[...g]}function XL(f,p,v,g,C){if(f===-1)return-1;const R=v.indexOf(f),m=p[f];switch(C){case"tl":return R;case"tr":return m?R+m.width-1:R;case"bl":return m?R+(m.height-1)*g:R;case"br":return v.lastIndexOf(f)}}function qL(f,p){return p.flatMap((v,g)=>f.includes(v)?[g]:[])}function wy(f,p,v){if(v)return v.includes(p);const g=f[p];return g==null||g.hasAttribute("disabled")||g.getAttribute("aria-disabled")==="true"}let Hx=0;function au(f,p){p===void 0&&(p={});const{preventScroll:v=!1,cancelPrevious:g=!0,sync:C=!1}=p;g&&cancelAnimationFrame(Hx);const R=()=>f==null?void 0:f.focus({preventScroll:v});C?R():Hx=requestAnimationFrame(R)}var bt=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,g]of f.entries())if(g!==p.get(v))return!1;return!0}const TT=F.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function e_(f){const{children:p,elementsRef:v,labelsRef:g}=f,[C,R]=F.useState(()=>new Map),m=F.useCallback(D=>{R(w=>new Map(w).set(D,null))},[]),O=F.useCallback(D=>{R(w=>{const H=new Map(w);return H.delete(D),H})},[]);return bt(()=>{const D=new Map(C);Array.from(D.keys()).sort(ZL).forEach((H,M)=>{D.set(H,M)}),JL(C,D)||R(D)},[C]),F.createElement(TT.Provider,{value:F.useMemo(()=>({register:m,unregister:O,map:C,elementsRef:v,labelsRef:g}),[m,O,C,v,g])},p)}function t_(f){f===void 0&&(f={});const{label:p}=f,{register:v,unregister:g,map:C,elementsRef:R,labelsRef:m}=F.useContext(TT),[O,D]=F.useState(null),w=F.useRef(null),H=F.useCallback(M=>{if(w.current=M,O!==null&&(R.current[O]=M,m)){var U;const b=p!==void 0;m.current[O]=b?p:(U=M==null?void 0:M.textContent)!=null?U:null}},[O,R,m,p]);return bt(()=>{const M=w.current;if(M)return v(M),()=>{g(M)}},[v,g]),bt(()=>{const M=w.current?C.get(w.current):null;M!=null&&D(M)},[C]),F.useMemo(()=>({ref:H,index:O??-1}),[O,H])}function lv(){return lv=Object.assign?Object.assign.bind():function(f){for(var p=1;p<arguments.length;p++){var v=arguments[p];for(var g in v)Object.prototype.hasOwnProperty.call(v,g)&&(f[g]=v[g])}return f},lv.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]=F.useState(()=>Px?Vx():void 0);return bt(()=>{f==null&&p(Vx())},[]),F.useEffect(()=>{Px=!0},[]),f}const i_=xT.useId,cv=i_||r_;let ov;process.env.NODE_ENV!=="production"&&(ov=new Set);function by(){for(var f,p=arguments.length,v=new Array(p),g=0;g<p;g++)v[g]=arguments[g];const C="Floating UI: "+v.join(" ");if(!((f=ov)!=null&&f.has(C))){var R;(R=ov)==null||R.add(C),console.warn(C)}}function a_(){for(var f,p=arguments.length,v=new Array(p),g=0;g<p;g++)v[g]=arguments[g];const C="Floating UI: "+v.join(" ");if(!((f=ov)!=null&&f.has(C))){var R;(R=ov)==null||R.add(C),console.error(C)}}const l_=F.forwardRef(function(p,v){const{context:{placement:g,elements:{floating:C},middlewareData:{arrow:R}},width:m=14,height:O=7,tipRadius:D=0,strokeWidth:w=0,staticOffset:H,stroke:M,d:U,style:{transform:b,...L}={},...P}=p;process.env.NODE_ENV!=="production"&&(v||by("The `ref` prop is required for `FloatingArrow`."));const te=cv(),[de,oe]=F.useState(!1);if(bt(()=>{if(!C)return;Fi(C).direction==="rtl"&&oe(!0)},[C]),!C)return null;const Q=w*2,J=Q/2,le=m/2*(D/-8+1),me=O/2*D/4,[ge,Ue]=g.split("-"),Ye=!!U,pe=ge==="top"||ge==="bottom",Se=H&&Ue==="end"?"bottom":"top";let Ee=H&&Ue==="end"?"right":"left";H&&de&&(Ee=Ue==="end"?"left":"right");const ne=(R==null?void 0:R.x)!=null?H||R.x:"",G=(R==null?void 0:R.y)!=null?H||R.y:"",ce=U||"M0,0"+(" H"+m)+(" L"+(m-le)+","+(O-me))+(" Q"+m/2+","+O+" "+le+","+(O-me))+" Z",re={top:Ye?"rotate(180deg)":"",left:Ye?"rotate(90deg)":"rotate(-90deg)",bottom:Ye?"":"rotate(180deg)",right:Ye?"rotate(-90deg)":"rotate(90deg)"}[ge];return F.createElement("svg",lv({},P,{"aria-hidden":!0,ref:v,width:Ye?m:m+Q,height:m,viewBox:"0 0 "+m+" "+(O>m?O:m),style:{position:"absolute",pointerEvents:"none",[Ee]:ne,[Se]:G,[ge]:pe||Ye?"100%":"calc(100% - "+Q/2+"px)",transform:""+re+(b??""),...L}}),Q>0&&F.createElement("path",{clipPath:"url(#"+te+")",fill:"none",stroke:M,strokeWidth:Q+(U?0:1),d:ce}),F.createElement("path",{stroke:Q&&!U?P.fill:"none",d:ce}),F.createElement("clipPath",{id:te},F.createElement("rect",{x:-J,y:J*(Ye?-1:1),width:m+Q,height:m})))});function wT(){const f=new Map;return{emit(p,v){var g;(g=f.get(p))==null||g.forEach(C=>C(v))},on(p,v){f.set(p,[...f.get(p)||[],v])},off(p,v){var g;f.set(p,((g=f.get(p))==null?void 0:g.filter(C=>C!==v))||[])}}}const bT=F.createContext(null),DT=F.createContext(null),Ms=()=>{var f;return((f=F.useContext(bT))==null?void 0:f.id)||null},Ls=()=>F.useContext(DT);function o_(f){const p=cv(),v=Ls(),g=Ms(),C=f||g;return bt(()=>{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,g=Ms();return F.createElement(bT.Provider,{value:F.useMemo(()=>({id:v,parentId:g}),[v,g])},p)}function s_(f){const{children:p}=f,v=F.useRef([]),g=F.useCallback(m=>{v.current=[...v.current,m]},[]),C=F.useCallback(m=>{v.current=v.current.filter(O=>O!==m)},[]),R=F.useState(()=>wT())[0];return F.createElement(DT.Provider,{value:F.useMemo(()=>({nodesRef:v,addNode:g,removeNode:C,events:R}),[g,C,R])},p)}function du(f){return"data-floating-ui-"+f}function Ui(f){const p=ou.useRef(f);return bt(()=>{p.current=f}),p}const Ix=du("safe-polygon");function Dy(f,p,v){return v&&!iv(v)?0:typeof f=="number"?f:f==null?void 0:f[p]}function c_(f,p){p===void 0&&(p={});const{open:v,onOpenChange:g,dataRef:C,events:R,elements:m}=f,{enabled:O=!0,delay:D=0,handleClose:w=null,mouseOnly:H=!1,restMs:M=0,move:U=!0}=p,b=Ls(),L=Ms(),P=Ui(w),te=Ui(D),de=Ui(v),oe=F.useRef(),Q=F.useRef(-1),J=F.useRef(),le=F.useRef(-1),me=F.useRef(!0),ge=F.useRef(!1),Ue=F.useRef(()=>{}),Ye=F.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]);F.useEffect(()=>{if(!O)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)}},[O,R]),F.useEffect(()=>{if(!O||!P.current||!v)return;function ce(ue){Ye()&&g(!1,ue,"hover")}const re=ar(m.floating).documentElement;return re.addEventListener("mouseleave",ce),()=>{re.removeEventListener("mouseleave",ce)}},[m.floating,v,g,O,P,Ye]);const pe=F.useCallback(function(ce,re,ue){re===void 0&&(re=!0),ue===void 0&&(ue="hover");const X=Dy(te.current,"close",oe.current);X&&!J.current?(clearTimeout(Q.current),Q.current=window.setTimeout(()=>g(!1,ce,ue),X)):re&&(clearTimeout(Q.current),g(!1,ce,ue))},[te,g]),Se=gr(()=>{Ue.current(),J.current=void 0}),Ee=gr(()=>{if(ge.current){const ce=ar(m.floating).body;ce.style.pointerEvents="",ce.removeAttribute(Ix),ge.current=!1}});F.useEffect(()=>{if(!O)return;function ce(){return C.current.openEvent?["click","mousedown"].includes(C.current.openEvent.type):!1}function re($){if(clearTimeout(Q.current),me.current=!1,H&&!iv(oe.current)||M>0&&!Dy(te.current,"open"))return;const Oe=Dy(te.current,"open",oe.current);Oe?Q.current=window.setTimeout(()=>{de.current||g(!0,$,"hover")},Oe):g(!0,$,"hover")}function ue($){if(ce())return;Ue.current();const Oe=ar(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 Ot=J.current;Oe.addEventListener("mousemove",Ot),Ue.current=()=>{Oe.removeEventListener("mousemove",Ot)};return}(oe.current==="touch"?!Mn(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(Vt(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 Oe;v&&$.removeEventListener("mouseleave",X),(Oe=m.floating)==null||Oe.removeEventListener("mouseleave",X),U&&$.removeEventListener("mousemove",re),$.removeEventListener("mouseenter",re),$.removeEventListener("mouseleave",ue)}}},[m,O,f,H,M,U,pe,Se,Ee,g,v,de,b,te,P,C]),bt(()=>{var ce;if(O&&v&&(ce=P.current)!=null&&ce.__options.blockPointerEvents&&Ye()){const ue=ar(m.floating).body;ue.setAttribute(Ix,""),ue.style.pointerEvents="none",ge.current=!0;const X=m.floating;if(Vt(m.domReference)&&X){var re;const fe=m.domReference,$=b==null||(re=b.nodesRef.current.find(Oe=>Oe.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=""}}}},[O,v,L,m,b,P,Ye]),bt(()=>{v||(oe.current=void 0,Se(),Ee())},[v,Se,Ee]),F.useEffect(()=>()=>{Se(),clearTimeout(Q.current),clearTimeout(le.current),Ee()},[O,m.domReference,Se,Ee]);const ne=F.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&&g(!0,ue,"hover")}H&&!iv(oe.current)||v||M===0||(clearTimeout(le.current),oe.current==="touch"?X():le.current=window.setTimeout(X,M))}}},[H,g,v,de,M]),G=F.useMemo(()=>({onMouseEnter(){clearTimeout(Q.current)},onMouseLeave(ce){pe(ce.nativeEvent,!1)}}),[pe]);return F.useMemo(()=>O?{reference:ne,floating:G}:{},[O,ne,G])}const LE=()=>{},kT=F.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:LE,setState:LE,isInstantPhase:!1}),OT=()=>F.useContext(kT);function f_(f){const{children:p,delay:v,timeoutMs:g=0}=f,[C,R]=F.useReducer((D,w)=>({...D,...w}),{delay:v,timeoutMs:g,initialDelay:v,currentId:null,isInstantPhase:!1}),m=F.useRef(null),O=F.useCallback(D=>{R({currentId:D})},[]);return bt(()=>{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]),F.createElement(kT.Provider,{value:F.useMemo(()=>({...C,setState:R,setCurrentId:O}),[C,O])},p)}function d_(f,p){p===void 0&&(p={});const{open:v,onOpenChange:g,floatingId:C}=f,{id:R}=p,m=R??C,O=OT(),{currentId:D,setCurrentId:w,initialDelay:H,setState:M,timeoutMs:U}=O;return bt(()=>{D&&(M({delay:{open:1,close:Dy(H,"close")}}),D!==m&&g(!1))},[m,g,M,D,H]),bt(()=>{function b(){g(!1),M({delay:H,currentId:null})}if(D&&!v&&D===m){if(U){const L=window.setTimeout(b,U);return()=>{clearTimeout(L)}}b()}},[v,M,D,m,g,H,U]),bt(()=>{w===LE||!v||w(m)},[v,w,m]),O}function p_(f,p){var v;let g=[],C=(v=f.find(R=>R.id===p))==null?void 0:v.parentId;for(;C;){const R=f.find(m=>m.id===C);C=R==null?void 0:R.parentId,R&&(g=g.concat(R))}return g}function ks(f,p){let v=f.filter(C=>{var R;return C.parentId===p&&((R=C.context)==null?void 0:R.open)}),g=v;for(;g.length;)g=f.filter(C=>{var R;return(R=g)==null?void 0:R.some(m=>{var O;return C.parentId===m.id&&((O=C.context)==null?void 0:O.open)})}),v=v.concat(g);return v}function v_(f,p){let v,g=-1;function C(R,m){m>g&&(v=R,g=m),ks(f,R).forEach(D=>{C(D.id,m+1)})}return C(p,0),f.find(R=>R.id===v)}let Nf=new WeakMap,Ry=new WeakSet,xy={},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 g=MT(v);return f.contains(g)?g:null}).filter(v=>v!=null);function y_(f,p,v,g){const C="data-floating-ui-inert",R=g?"inert":v?"aria-hidden":null,m=m_(p,f),O=new Set,D=new Set(m),w=[];xy[C]||(xy[C]=new WeakMap);const H=xy[C];m.forEach(M),U(p),O.clear();function M(b){!b||O.has(b)||(O.add(b),b.parentNode&&M(b.parentNode))}function U(b){!b||D.has(b)||[].forEach.call(b.children,L=>{if(pu(L)!=="script")if(O.has(L))U(L);else{const P=R?L.getAttribute(R):null,te=P!==null&&P!=="false",de=(Nf.get(L)||0)+1,oe=(H.get(L)||0)+1;Nf.set(L,de),H.set(L,oe),w.push(L),de===1&&te&&Ry.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=(H.get(b)||0)-1;Nf.set(b,L),H.set(b,P),L||(!Ry.has(b)&&R&&b.removeAttribute(R),Ry.delete(b)),P||b.removeAttribute(C)}),CE--,CE||(Nf=new WeakMap,Nf=new WeakMap,Ry=new WeakSet,xy={})}}function jx(f,p,v){p===void 0&&(p=!1),v===void 0&&(v=!1);const g=ar(f[0]).body;return y_(f.concat(Array.from(g.querySelectorAll("[aria-live]"))),g,p,v)}const Hf=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function LT(f,p){const v=av(f,Hf());p==="prev"&&v.reverse();const g=v.indexOf(ka(ar(f)));return v.slice(g+1)[0]}function _T(){return LT(document.body,"next")}function NT(){return LT(document.body,"prev")}function rv(f,p){const v=p||f.currentTarget,g=f.relatedTarget;return!g||!Mn(v,g)}function g_(f){av(f,Hf()).forEach(v=>{v.dataset.tabindex=v.getAttribute("tabindex")||"",v.setAttribute("tabindex","-1")})}function S_(f){f.querySelectorAll("[data-tabindex]").forEach(v=>{const g=v.dataset.tabindex;delete v.dataset.tabindex,g?v.setAttribute("tabindex",g):v.removeAttribute("tabindex")})}function E_(f,p,v){const g=f.indexOf(p);function C(m){const O=du("focus-guard");let D=g+(m?1:0),w=f[D];for(;w&&(!w.isConnected||w.hasAttribute(O)||Mn(v,w));)m?D++:D--,w=f[D];return w}const R=C(!0);return R||C(!1)}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 C_;function Bx(f){f.key==="Tab"&&(f.target,clearTimeout(C_))}const zy=F.forwardRef(function(p,v){const[g,C]=F.useState();bt(()=>(zE()&&C("button"),document.addEventListener("keydown",Bx),()=>{document.removeEventListener("keydown",Bx)}),[]);const R={ref:v,tabIndex:0,role:g,"aria-hidden":g?void 0:!0,[du("focus-guard")]:"",style:BE};return F.createElement("span",lv({},p,R))}),AT=F.createContext(null),$x=du("portal");function R_(f){f===void 0&&(f={});const{id:p,root:v}=f,g=cv(),C=zT(),[R,m]=F.useState(null),O=F.useRef(null);return bt(()=>()=>{R==null||R.remove(),queueMicrotask(()=>{O.current=null})},[R]),bt(()=>{if(!g||O.current)return;const D=p?document.getElementById(p):null;if(!D)return;const w=document.createElement("div");w.id=g,w.setAttribute($x,""),D.appendChild(w),O.current=w,m(w)},[p,g]),bt(()=>{if(!g||O.current)return;let D=v||(C==null?void 0:C.portalNode);D&&!Vt(D)&&(D=D.current),D=D||document.body;let w=null;p&&(w=document.createElement("div"),w.id=p,D.appendChild(w));const H=document.createElement("div");H.id=g,H.setAttribute($x,""),D=w||D,D.appendChild(H),O.current=H,m(H)},[p,v,g,C]),R}function x_(f){const{children:p,id:v,root:g=null,preserveTabOrder:C=!0}=f,R=R_({id:v,root:g}),[m,O]=F.useState(null),D=F.useRef(null),w=F.useRef(null),H=F.useRef(null),M=F.useRef(null),U=!!m&&!m.modal&&m.open&&C&&!!(g||R);return F.useEffect(()=>{if(!R||!C||m!=null&&m.modal)return;function b(L){R&&rv(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]),F.createElement(AT.Provider,{value:F.useMemo(()=>({preserveTabOrder:C,beforeOutsideRef:D,afterOutsideRef:w,beforeInsideRef:H,afterInsideRef:M,portalNode:R,setFocusManagerState:O}),[C,R])},U&&R&&F.createElement(zy,{"data-type":"outside",ref:D,onFocus:b=>{if(rv(b,R)){var L;(L=H.current)==null||L.focus()}else{const P=NT()||(m==null?void 0:m.refs.domReference.current);P==null||P.focus()}}}),U&&R&&F.createElement("span",{"aria-owns":R.id,style:BE}),R&&mT.createPortal(p,R),U&&R&&F.createElement(zy,{"data-type":"outside",ref:w,onFocus:b=>{if(rv(b,R)){var L;(L=M.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=()=>F.useContext(AT),Yx=20;let Ds=[];function RE(f){Ds=Ds.filter(v=>v.isConnected);let p=f;if(!(!p||pu(p)==="body")){if(!nL(p,Hf())){const v=av(p,Hf())[0];v&&(p=v)}Ds.push(p),Ds.length>Yx&&(Ds=Ds.slice(-Yx))}}function Qx(){return Ds.slice().reverse().find(f=>f.isConnected)}const T_=F.forwardRef(function(p,v){return F.createElement("button",lv({},p,{type:"button",ref:v,tabIndex:-1,style:BE}))});function w_(f){const{context:p,children:v,disabled:g=!1,order:C=["content"],guards:R=!0,initialFocus:m=0,returnFocus:O=!0,restoreFocus:D=!1,modal:w=!0,visuallyHiddenDismiss:H=!1,closeOnFocusOut:M=!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=Ui(C),Ye=Ui(m),pe=Ui(O),Se=Ls(),Ee=zT(),ne=F.useRef(null),G=F.useRef(null),ce=F.useRef(!1),re=F.useRef(!1),ue=F.useRef(-1),X=Ee!=null,fe=J==null?void 0:J.firstElementChild,$=(fe==null?void 0:fe.id)===oe?fe:J,Oe=gr(function(ze){return ze===void 0&&(ze=$),ze?av(ze,Hf()):[]}),rt=gr(ze=>{const Fe=Oe(ze);return Ue.current.map(Pe=>Q&&Pe==="reference"?Q:$&&Pe==="floating"?$:Fe).filter(Boolean).flat()});F.useEffect(()=>{if(g||!w)return;function ze(Pe){if(Pe.key==="Tab"){Mn($,ka(ar($)))&&Oe().length===0&&!me&&yr(Pe);const Le=rt(),Ze=Yl(Pe);Ue.current[0]==="reference"&&Ze===Q&&(yr(Pe),Pe.shiftKey?au(Le[Le.length-1]):au(Le[1])),Ue.current[1]==="floating"&&Ze===$&&Pe.shiftKey&&(yr(Pe),au(Le[0]))}}const Fe=ar($);return Fe.addEventListener("keydown",ze),()=>{Fe.removeEventListener("keydown",ze)}},[g,Q,$,w,Ue,me,Oe,rt]),F.useEffect(()=>{if(g||!J)return;function ze(Fe){const Pe=Yl(Fe),Ze=Oe().indexOf(Pe);Ze!==-1&&(ue.current=Ze)}return J.addEventListener("focusin",ze),()=>{J.removeEventListener("focusin",ze)}},[g,J,Oe]),F.useEffect(()=>{if(g||!M)return;function ze(){re.current=!0,setTimeout(()=>{re.current=!1})}function Fe(Pe){const Le=Pe.relatedTarget;queueMicrotask(()=>{const Ze=!(Mn(Q,Le)||Mn(J,Le)||Mn(Le,J)||Mn(Ee==null?void 0:Ee.portalNode,Le)||Le!=null&&Le.hasAttribute(du("focus-guard"))||Se&&(ks(Se.nodesRef.current,L).find(St=>{var vt,ht;return Mn((vt=St.context)==null?void 0:vt.elements.floating,Le)||Mn((ht=St.context)==null?void 0:ht.elements.domReference,Le)})||p_(Se.nodesRef.current,L).find(St=>{var vt,ht;return((vt=St.context)==null?void 0:vt.elements.floating)===Le||((ht=St.context)==null?void 0:ht.elements.domReference)===Le})));if(D&&Ze&&ka(ar($))===ar($).body){Ln($)&&($==null||$.focus());const St=ue.current,vt=Oe(),ht=vt[St]||vt[vt.length-1]||$;Ln(ht)&&ht.focus()}(me||!w)&&Le&&Ze&&!re.current&&Le!==Qx()&&(ce.current=!0,P(!1,Pe))})}if(J&&Ln(Q))return Q.addEventListener("focusout",Fe),Q.addEventListener("pointerdown",ze),J.addEventListener("focusout",Fe),()=>{Q.removeEventListener("focusout",Fe),Q.removeEventListener("pointerdown",ze),J.removeEventListener("focusout",Fe)}},[g,Q,J,$,w,L,Se,Ee,P,M,D,Oe,me]),F.useEffect(()=>{var ze;if(g)return;const Fe=Array.from((Ee==null||(ze=Ee.portalNode)==null?void 0:ze.querySelectorAll("["+du("portal")+"]"))||[]);if(J){const Pe=[J,...Fe,ne.current,G.current,Ue.current.includes("reference")||me?Q:null].filter(Ze=>Ze!=null),Le=w||me?jx(Pe,ge,!ge):jx(Pe);return()=>{Le()}}},[g,Q,J,w,Ue,Ee,me,ge]),bt(()=>{if(g||!Ln($))return;const ze=ar($),Fe=ka(ze);queueMicrotask(()=>{const Pe=rt($),Le=Ye.current,Ze=(typeof Le=="number"?Pe[Le]:Le.current)||$,St=Mn($,Fe);!le&&!St&&U&&au(Ze,{preventScroll:Ze===$})})},[g,U,$,le,rt,Ye]),bt(()=>{if(g||!$)return;let ze=!1;const Fe=ar($),Pe=ka(Fe);let Ze=de.current.openEvent;const St=b.domReference.current;RE(Pe);function vt(ht){let{open:Ut,reason:Yt,event:Qt,nested:_n}=ht;Ut&&(Ze=Qt),Yt==="escape-key"&&b.domReference.current&&RE(b.domReference.current),Yt==="hover"&&Qt.type==="mouseleave"&&(ce.current=!0),Yt==="outside-press"&&(_n?(ce.current=!1,ze=!0):ce.current=!(lT(Qt)||AE(Qt)))}return te.on("openchange",vt),()=>{te.off("openchange",vt);const ht=ka(Fe),Ut=Mn(J,ht)||Se&&ks(Se.nodesRef.current,L).some(Ve=>{var mt;return Mn((mt=Ve.context)==null?void 0:mt.elements.floating,ht)});(Ut||Ze&&["click","mousedown"].includes(Ze.type))&&b.domReference.current&&RE(b.domReference.current);const Qt=St||Pe,_n=av(ar(Qt).body,Hf());queueMicrotask(()=>{let Ve=Qx();!Ve&&Ln(Qt)&&J&&(Ve=E_(_n,Qt,J)),pe.current&&!ce.current&&Ln(Ve)&&(!(Ve!==ht&&ht!==Fe.body)||Ut)&&Ve.focus({preventScroll:ze})})}},[g,J,$,pe,de,b,te,Se,L]),bt(()=>{if(!g&&Ee)return Ee.setFocusManagerState({modal:w,closeOnFocusOut:M,open:U,onOpenChange:P,refs:b}),()=>{Ee.setFocusManagerState(null)}},[g,Ee,w,U,P,b,M]),bt(()=>{if(g||!$||typeof MutationObserver!="function"||le)return;const ze=()=>{const Pe=$.getAttribute("tabindex"),Le=Oe(),Ze=ka(ar(J)),St=Le.indexOf(Ze);St!==-1&&(ue.current=St),Ue.current.includes("floating")||Ze!==b.domReference.current&&Le.length===0?Pe!=="0"&&$.setAttribute("tabindex","0"):Pe!=="-1"&&$.setAttribute("tabindex","-1")};ze();const Fe=new MutationObserver(ze);return Fe.observe($,{childList:!0,subtree:!0,attributes:!0}),()=>{Fe.disconnect()}},[g,J,$,b,Ue,Oe,le]);function Ot(ze){return g||!H||!w?null:F.createElement(T_,{ref:ze==="start"?ne:G,onClick:Fe=>P(!1,Fe.nativeEvent)},typeof H=="string"?H:"Dismiss")}const _t=!g&&ge&&(w?!me:!0)&&(X||w);return F.createElement(F.Fragment,null,_t&&F.createElement(zy,{"data-type":"inside",ref:Ee==null?void 0:Ee.beforeInsideRef,onFocus:ze=>{if(w){const Pe=rt();au(C[0]==="reference"?Pe[0]:Pe[Pe.length-1])}else if(Ee!=null&&Ee.preserveTabOrder&&Ee.portalNode)if(ce.current=!1,rv(ze,Ee.portalNode)){const Pe=_T()||Q;Pe==null||Pe.focus()}else{var Fe;(Fe=Ee.beforeOutsideRef.current)==null||Fe.focus()}}}),!me&&Ot("start"),v,Ot("end"),_t&&F.createElement(zy,{"data-type":"inside",ref:Ee==null?void 0:Ee.afterInsideRef,onFocus:ze=>{if(w)au(rt()[0]);else if(Ee!=null&&Ee.preserveTabOrder&&Ee.portalNode)if(M&&(ce.current=!0),rv(ze,Ee.portalNode)){const Pe=NT()||Q;Pe==null||Pe.focus()}else{var Fe;(Fe=Ee.afterOutsideRef.current)==null||Fe.focus()}}}))}function Wx(f){return Ln(f.target)&&f.target.tagName==="BUTTON"}function Gx(f){return UE(f)}function b_(f,p){p===void 0&&(p={});const{open:v,onOpenChange:g,dataRef:C,elements:{domReference:R}}=f,{enabled:m=!0,event:O="click",toggle:D=!0,ignoreMouse:w=!1,keyboardHandlers:H=!0}=p,M=F.useRef(),U=F.useRef(!1),b=F.useMemo(()=>({onPointerDown(L){M.current=L.pointerType},onMouseDown(L){const P=M.current;L.button===0&&O!=="click"&&(iv(P,!0)&&w||(v&&D&&(!C.current.openEvent||C.current.openEvent.type==="mousedown")?g(!1,L.nativeEvent,"click"):(L.preventDefault(),g(!0,L.nativeEvent,"click"))))},onClick(L){const P=M.current;if(O==="mousedown"&&M.current){M.current=void 0;return}iv(P,!0)&&w||(v&&D&&(!C.current.openEvent||C.current.openEvent.type==="click")?g(!1,L.nativeEvent,"click"):g(!0,L.nativeEvent,"click"))},onKeyDown(L){M.current=void 0,!(L.defaultPrevented||!H||Wx(L))&&(L.key===" "&&!Gx(R)&&(L.preventDefault(),U.current=!0),L.key==="Enter"&&g(!(v&&D),L.nativeEvent,"click"))},onKeyUp(L){L.defaultPrevented||!H||Wx(L)||Gx(R)||L.key===" "&&U.current&&(U.current=!1,g(!(v&&D),L.nativeEvent,"click"))}}),[C,R,O,w,H,g,v,D]);return F.useMemo(()=>m?{reference:b}:{},[m,b])}const D_={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},k_={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 O_(f,p){p===void 0&&(p={});const{open:v,onOpenChange:g,elements:C,dataRef:R}=f,{enabled:m=!0,escapeKey:O=!0,outsidePress:D=!0,outsidePressEvent:w="pointerdown",referencePress:H=!1,referencePressEvent:M="pointerdown",ancestorScroll:U=!1,bubbles:b,capture:L}=p,P=Ls(),te=gr(typeof D=="function"?D:()=>!1),de=typeof D=="function"?te:D,oe=F.useRef(!1),Q=F.useRef(!1),{escapeKey:J,outsidePress:le}=Kx(b),{escapeKey:me,outsidePress:ge}=Kx(L),Ue=gr(G=>{var ce;if(!v||!m||!O||G.key!=="Escape")return;const re=(ce=R.current.floatingContext)==null?void 0:ce.nodeId,ue=P?ks(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}g(!1,kM(G)?G.nativeEvent:G,"escape-key")}),Ye=gr(G=>{var ce;const re=()=>{var ue;Ue(G),(ue=Yl(G))==null||ue.removeEventListener("keydown",re)};(ce=Yl(G))==null||ce.addEventListener("keydown",re)}),pe=gr(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=Yl(G),fe="["+du("inert")+"]",$=ar(C.floating).querySelectorAll(fe);let Oe=Vt(X)?X:null;for(;Oe&&!uu(Oe);){const ze=Ql(Oe);if(uu(ze)||!Vt(ze))break;Oe=ze}if($.length&&Vt(X)&&!OM(X)&&!Mn(X,C.floating)&&Array.from($).every(ze=>!Mn(Oe,ze)))return;if(Ln(X)&&ne){const ze=X.clientWidth>0&&X.scrollWidth>X.clientWidth,Fe=X.clientHeight>0&&X.scrollHeight>X.clientHeight;let Pe=Fe&&G.offsetX>X.clientWidth;if(Fe&&Fi(X).direction==="rtl"&&(Pe=G.offsetX<=X.offsetWidth-X.clientWidth),Pe||ze&&G.offsetY>X.clientHeight)return}const rt=(ce=R.current.floatingContext)==null?void 0:ce.nodeId,Ot=P&&ks(P.nodesRef.current,rt).some(ze=>{var Fe;return mE(G,(Fe=ze.context)==null?void 0:Fe.elements.floating)});if(mE(G,C.floating)||mE(G,C.domReference)||Ot)return;const _t=P?ks(P.nodesRef.current,rt):[];if(_t.length>0){let ze=!0;if(_t.forEach(Fe=>{var Pe;if((Pe=Fe.context)!=null&&Pe.open&&!Fe.context.dataRef.current.__outsidePressBubbles){ze=!1;return}}),!ze)return}g(!1,G,"outside-press")}),Se=gr(G=>{var ce;const re=()=>{var ue;pe(G),(ue=Yl(G))==null||ue.removeEventListener(w,re)};(ce=Yl(G))==null||ce.addEventListener(w,re)});F.useEffect(()=>{if(!v||!m)return;R.current.__escapeKeyBubbles=J,R.current.__outsidePressBubbles=le;function G(ue){g(!1,ue,"ancestor-scroll")}const ce=ar(C.floating);O&&ce.addEventListener("keydown",me?Ye:Ue,me),de&&ce.addEventListener(w,ge?Se:pe,ge);let re=[];return U&&(Vt(C.domReference)&&(re=lu(C.domReference)),Vt(C.floating)&&(re=re.concat(lu(C.floating))),!Vt(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})}),()=>{O&&ce.removeEventListener("keydown",me?Ye:Ue,me),de&&ce.removeEventListener(w,ge?Se:pe,ge),re.forEach(ue=>{ue.removeEventListener("scroll",G)})}},[R,C,O,de,w,v,g,U,m,J,le,Ue,me,Ye,pe,ge,Se]),F.useEffect(()=>{oe.current=!1},[de,w]);const Ee=F.useMemo(()=>({onKeyDown:Ue,[D_[M]]:G=>{H&&g(!1,G.nativeEvent,"reference-press")}}),[Ue,g,H,M]),ne=F.useMemo(()=>({onKeyDown:Ue,onMouseDown(){Q.current=!0},onMouseUp(){Q.current=!0},[k_[w]]:()=>{oe.current=!0}}),[Ue,w]);return F.useMemo(()=>m?{reference:Ee,floating:ne}:{},[m,Ee,ne])}function M_(f){const{open:p=!1,onOpenChange:v,elements:g}=f,C=cv(),R=F.useRef({}),[m]=F.useState(()=>wT()),O=Ms()!=null;if(process.env.NODE_ENV!=="production"){const b=g.reference;b&&!Vt(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[D,w]=F.useState(g.reference),H=gr((b,L,P)=>{R.current.openEvent=b?L:void 0,m.emit("openchange",{open:b,event:L,reason:P,nested:O}),v==null||v(b,L,P)}),M=F.useMemo(()=>({setPositionReference:w}),[]),U=F.useMemo(()=>({reference:D||g.reference||null,floating:g.floating||null,domReference:g.reference}),[D,g.reference,g.floating]);return F.useMemo(()=>({dataRef:R,open:p,onOpenChange:H,elements:U,events:m,floatingId:C,refs:M}),[p,H,U,m,C,M])}function L_(f){f===void 0&&(f={});const{nodeId:p}=f,v=M_({...f,elements:{reference:null,floating:null,...f.elements}}),g=f.rootContext||v,C=g.elements,[R,m]=F.useState(null),[O,D]=F.useState(null),H=(C==null?void 0:C.reference)||R,M=F.useRef(null),U=Ls();bt(()=>{H&&(M.current=H)},[H]);const b=FL({...f,elements:{...C,...O&&{reference:O}}}),L=F.useCallback(Q=>{const J=Vt(Q)?{getBoundingClientRect:()=>Q.getBoundingClientRect(),contextElement:Q}:Q;D(J),b.refs.setReference(J)},[b.refs]),P=F.useCallback(Q=>{(Vt(Q)||Q===null)&&(M.current=Q,m(Q)),(Vt(b.refs.reference.current)||b.refs.reference.current===null||Q!==null&&!Vt(Q))&&b.refs.setReference(Q)},[b.refs]),te=F.useMemo(()=>({...b.refs,setReference:P,setPositionReference:L,domReference:M}),[b.refs,P,L]),de=F.useMemo(()=>({...b.elements,domReference:H}),[b.elements,H]),oe=F.useMemo(()=>({...b,...g,refs:te,elements:de,nodeId:p}),[b,te,de,p,g]);return bt(()=>{g.dataRef.current.floatingContext=oe;const Q=U==null?void 0:U.nodesRef.current.find(J=>J.id===p);Q&&(Q.context=oe)}),F.useMemo(()=>({...b,context:oe,refs:te,elements:de}),[b,te,de,oe])}function __(f,p){p===void 0&&(p={});const{open:v,onOpenChange:g,events:C,dataRef:R,elements:m}=f,{enabled:O=!0,visibleOnly:D=!0}=p,w=F.useRef(!1),H=F.useRef(),M=F.useRef(!0);F.useEffect(()=>{if(!O)return;const b=xi(m.domReference);function L(){!v&&Ln(m.domReference)&&m.domReference===ka(ar(m.domReference))&&(w.current=!0)}function P(){M.current=!0}return b.addEventListener("blur",L),b.addEventListener("keydown",P,!0),()=>{b.removeEventListener("blur",L),b.removeEventListener("keydown",P,!0)}},[m.domReference,v,O]),F.useEffect(()=>{if(!O)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,O]),F.useEffect(()=>()=>{clearTimeout(H.current)},[]);const U=F.useMemo(()=>({onPointerDown(b){AE(b.nativeEvent)||(M.current=!1)},onMouseLeave(){w.current=!1},onFocus(b){if(w.current)return;const L=Yl(b.nativeEvent);if(D&&Vt(L))try{if(zE()&&oT())throw Error();if(!L.matches(":focus-visible"))return}catch{if(!M.current&&!UE(L))return}g(!0,b.nativeEvent,"focus")},onBlur(b){w.current=!1;const L=b.relatedTarget,P=b.nativeEvent,te=Vt(L)&&L.hasAttribute(du("focus-guard"))&&L.getAttribute("data-type")==="outside";H.current=window.setTimeout(()=>{var de;const oe=ka(m.domReference?m.domReference.ownerDocument:document);!L&&oe===m.domReference||Mn((de=R.current.floatingContext)==null?void 0:de.refs.floating.current,oe)||Mn(m.domReference,oe)||te||g(!1,P,"focus")})}}),[R,m.domReference,g,D]);return F.useMemo(()=>O?{reference:U}:{},[O,U])}const Xx="active",qx="selected";function xE(f,p,v){const g=new Map,C=v==="item";let R=f;if(C&&f){const{[Xx]:m,[qx]:O,...D}=f;R=D}return{...v==="floating"&&{tabIndex:-1},...R,...p.map(m=>{const O=m?m[v]:null;return typeof O=="function"?f?O(f):null:O}).concat(f).reduce((m,O)=>(O&&Object.entries(O).forEach(D=>{let[w,H]=D;if(!(C&&[Xx,qx].includes(w)))if(w.indexOf("on")===0){if(g.has(w)||g.set(w,[]),typeof H=="function"){var M;(M=g.get(w))==null||M.push(H),m[w]=function(){for(var U,b=arguments.length,L=new Array(b),P=0;P<b;P++)L[P]=arguments[P];return(U=g.get(w))==null?void 0:U.map(te=>te(...L)).find(te=>te!==void 0)}}}else m[w]=H}),m),{})}}function N_(f){f===void 0&&(f=[]);const p=f.map(O=>O==null?void 0:O.reference),v=f.map(O=>O==null?void 0:O.floating),g=f.map(O=>O==null?void 0:O.item),C=F.useCallback(O=>xE(O,f,"reference"),p),R=F.useCallback(O=>xE(O,f,"floating"),v),m=F.useCallback(O=>xE(O,f,"item"),g);return F.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===sv,f===Ff||f===Vf)}function TE(f,p,v){return Hy(p,f===sv,v?f===Ff:f===Vf)||f==="Enter"||f===" "||f===""}function A_(f,p,v){return Hy(p,v?f===Ff:f===Vf,f===sv)}function eT(f,p,v){return Hy(p,v?f===Vf:f===Ff,f===jE)}function z_(f,p){const{open:v,onOpenChange:g,elements:C}=f,{listRef:R,activeIndex:m,onNavigate:O=()=>{},enabled:D=!0,selectedIndex:w=null,allowEscape:H=!1,loop:M=!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"&&(H&&(M||by("`useListNavigation` looping must be enabled to allow escaping."),L||by("`useListNavigation` must be virtual to allow escaping.")),Q==="vertical"&&J>1&&by("In grid list navigation mode (`cols` > 1), the `orientation` should",'be either "horizontal" or "both".'));const Ye=Ms(),pe=Ls(),Se=gr(O),Ee=F.useRef(P),ne=F.useRef(w??-1),G=F.useRef(null),ce=F.useRef(!0),re=F.useRef(Se),ue=F.useRef(!!C.floating),X=F.useRef(v),fe=F.useRef(!1),$=F.useRef(!1),Oe=Ui(oe),rt=Ui(v),Ot=Ui(le),_t=Ui(C.floating),ze=Ui(w),[Fe,Pe]=F.useState(),[Le,Ze]=F.useState(),St=gr(function(Ve,mt,Ke){Ke===void 0&&(Ke=!1);function Et(Ct){L?(Pe(Ct.id),pe==null||pe.events.emit("virtualfocus",Ct),me&&(me.current=Ct)):au(Ct,{preventScroll:!0,sync:oT()&&zE()?Zx||fe.current:!1})}const Xt=Ve.current[mt.current];Xt&&Et(Xt),requestAnimationFrame(()=>{const Ct=Ve.current[mt.current]||Xt;if(!Ct)return;Xt||Et(Ct);const en=Ot.current;en&&ht&&(Ke||!ce.current)&&(Ct.scrollIntoView==null||Ct.scrollIntoView(typeof en=="boolean"?{block:"nearest",inline:"nearest"}:en))})});bt(()=>{document.createElement("div").focus({get preventScroll(){return Zx=!0,!1}})},[]),bt(()=>{D&&(v&&C.floating?Ee.current&&w!=null&&($.current=!0,ne.current=w,Se(w)):ue.current&&(ne.current=-1,re.current(null)))},[D,v,C.floating,w,Se]),bt(()=>{if(D&&v&&C.floating)if(m==null){if(fe.current=!1,ze.current!=null)return;if(ue.current&&(ne.current=-1,St(R,ne)),(!X.current||!ue.current)&&Ee.current&&(G.current!=null||Ee.current===!0&&G.current==null)){let Ve=0;const mt=()=>{R.current[0]==null?(Ve<2&&(Ve?requestAnimationFrame:queueMicrotask)(mt),Ve++):(ne.current=G.current==null||TE(G.current,Q,b)||U?EE(R,Oe.current):Fx(R,Oe.current),G.current=null,Se(ne.current))};mt()}}else nv(R,m)||(ne.current=m,St(R,ne,$.current),$.current=!1)},[D,v,C.floating,m,ze,U,R,Q,b,Se,St,Oe]),bt(()=>{var Ve;if(!D||C.floating||!pe||L||!ue.current)return;const mt=pe.nodesRef.current,Ke=(Ve=mt.find(Ct=>Ct.id===Ye))==null||(Ve=Ve.context)==null?void 0:Ve.elements.floating,Et=ka(ar(C.floating)),Xt=mt.some(Ct=>Ct.context&&Mn(Ct.context.elements.floating,Et));Ke&&!Xt&&ce.current&&Ke.focus({preventScroll:!0})},[D,C.floating,pe,Ye,L]),bt(()=>{if(!D||!pe||!L||Ye)return;function Ve(mt){Ze(mt.id),me&&(me.current=mt)}return pe.events.on("virtualfocus",Ve),()=>{pe.events.off("virtualfocus",Ve)}},[D,pe,L,Ye,me]),bt(()=>{re.current=Se,ue.current=!!C.floating}),bt(()=>{v||(G.current=null)},[v]),bt(()=>{X.current=v},[v]);const vt=m!=null,ht=F.useMemo(()=>{function Ve(Ke){if(!v)return;const Et=R.current.indexOf(Ke);Et!==-1&&Se(Et)}return{onFocus(Ke){let{currentTarget:Et}=Ke;Ve(Et)},onClick:Ke=>{let{currentTarget:Et}=Ke;return Et.focus({preventScroll:!0})},...te&&{onMouseMove(Ke){let{currentTarget:Et}=Ke;Ve(Et)},onPointerLeave(Ke){let{pointerType:Et}=Ke;!ce.current||Et==="touch"||(ne.current=-1,St(R,ne),Se(null),L||au(_t.current,{preventScroll:!0}))}}}},[v,_t,St,te,R,Se,L]),Ut=gr(Ve=>{if(ce.current=!1,fe.current=!0,!rt.current&&Ve.currentTarget===_t.current)return;if(U&&eT(Ve.key,Q,b)){yr(Ve),g(!1,Ve.nativeEvent,"list-navigation"),Ln(C.domReference)&&!L&&C.domReference.focus();return}const mt=ne.current,Ke=EE(R,oe),Et=Fx(R,oe);if(Ve.key==="Home"&&(yr(Ve),ne.current=Ke,Se(ne.current)),Ve.key==="End"&&(yr(Ve),ne.current=Et,Se(ne.current)),J>1){const Xt=ge||Array.from({length:R.current.length},()=>({width:1,height:1})),Ct=KL(Xt,J,Ue),en=Ct.findIndex(tn=>tn!=null&&!wy(R.current,tn,oe)),Hr=Ct.reduce((tn,Vn,Cn)=>Vn!=null&&!wy(R.current,Vn,oe)?Cn:tn,-1);if(ne.current=Ct[GL({current:Ct.map(tn=>tn!=null?R.current[tn]:null)},{event:Ve,orientation:Q,loop:M,cols:J,disabledIndices:qL([...oe||R.current.map((tn,Vn)=>wy(R.current,Vn)?Vn:void 0),void 0],Ct),minIndex:en,maxIndex:Hr,prevIndex:XL(ne.current>Et?Ke:ne.current,Xt,Ct,J,Ve.key===sv?"bl":Ve.key===Vf?"tr":"tl"),stopEvent:!0})],Se(ne.current),Q==="both")return}if(Jx(Ve.key,Q)){if(yr(Ve),v&&!L&&ka(Ve.currentTarget.ownerDocument)===Ve.currentTarget){ne.current=TE(Ve.key,Q,b)?Ke:Et,Se(ne.current);return}TE(Ve.key,Q,b)?M?ne.current=mt>=Et?H&&mt!==R.current.length?-1:Ke:Fr(R,{startingIndex:mt,disabledIndices:oe}):ne.current=Math.min(Et,Fr(R,{startingIndex:mt,disabledIndices:oe})):M?ne.current=mt<=Ke?H&&mt!==-1?R.current.length:Et:Fr(R,{startingIndex:mt,decrement:!0,disabledIndices:oe}):ne.current=Math.max(Ke,Fr(R,{startingIndex:mt,decrement:!0,disabledIndices:oe})),nv(R,ne.current)?Se(null):Se(ne.current)}}),Yt=F.useMemo(()=>L&&v&&vt&&{"aria-activedescendant":Le||Fe},[L,v,vt,Le,Fe]),Qt=F.useMemo(()=>({"aria-orientation":Q==="both"?void 0:Q,...!uT(C.domReference)&&Yt,onKeyDown:Ut,onPointerMove(){ce.current=!0}}),[Yt,Ut,C.domReference,Q]),_n=F.useMemo(()=>{function Ve(Ke){P==="auto"&&lT(Ke.nativeEvent)&&(Ee.current=!0)}function mt(Ke){Ee.current=P,P==="auto"&&AE(Ke.nativeEvent)&&(Ee.current=!0)}return{...Yt,onKeyDown(Ke){ce.current=!1;const Et=Ke.key.indexOf("Arrow")===0,Xt=A_(Ke.key,Q,b),Ct=eT(Ke.key,Q,b),en=Jx(Ke.key,Q),Hr=(U?Xt:en)||Ke.key==="Enter"||Ke.key.trim()==="";if(L&&v){const Sr=pe==null?void 0:pe.nodesRef.current.find(Pr=>Pr.parentId==null),Er=pe&&Sr?v_(pe.nodesRef.current,Sr.id):null;if(Et&&Er&&me){const Pr=new KeyboardEvent("keydown",{key:Ke.key,bubbles:!0});if(Xt||Ct){var tn,Vn;const xe=((tn=Er.context)==null?void 0:tn.elements.domReference)===Ke.currentTarget,We=Ct&&!xe?(Vn=Er.context)==null?void 0:Vn.elements.domReference:Xt?R.current.find(st=>(st==null?void 0:st.id)===Fe):null;We&&(yr(Ke),We.dispatchEvent(Pr),Ze(void 0))}if(en&&Er.context&&Er.context.open&&Er.parentId&&Ke.currentTarget!==Er.context.elements.domReference){var Cn;yr(Ke),(Cn=Er.context.elements.domReference)==null||Cn.dispatchEvent(Pr);return}}return Ut(Ke)}if(!(!v&&!de&&Et)){if(Hr&&(G.current=U&&en?null:Ke.key),U){Xt&&(yr(Ke),v?(ne.current=EE(R,Oe.current),Se(ne.current)):g(!0,Ke.nativeEvent,"list-navigation"));return}en&&(w!=null&&(ne.current=w),yr(Ke),!v&&de?g(!0,Ke.nativeEvent,"list-navigation"):Ut(Ke),v&&Se(ne.current))}},onFocus(){v&&!L&&Se(null)},onPointerDown:mt,onMouseDown:Ve,onClick:Ve}},[Fe,Yt,Ut,Oe,P,R,U,Se,g,v,de,Q,b,w,pe,L,me]);return F.useMemo(()=>D?{reference:_n,floating:Qt,item:ht}:{},[D,_n,Qt,ht])}const U_=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function F_(f,p){var v;p===void 0&&(p={});const{open:g,floatingId:C}=f,{enabled:R=!0,role:m="dialog"}=p,O=(v=U_.get(m))!=null?v:m,D=cv(),H=Ms()!=null,M=F.useMemo(()=>O==="tooltip"||m==="label"?{["aria-"+(m==="label"?"labelledby":"describedby")]:g?C:void 0}:{"aria-expanded":g?"true":"false","aria-haspopup":O==="alertdialog"?"dialog":O,"aria-controls":g?C:void 0,...O==="listbox"&&{role:"combobox"},...O==="menu"&&{id:D},...O==="menu"&&H&&{role:"menuitem"},...m==="select"&&{"aria-autocomplete":"none"},...m==="combobox"&&{"aria-autocomplete":"list"}},[O,C,H,g,D,m]),U=F.useMemo(()=>{const L={id:C,...O&&{role:O}};return O==="tooltip"||m==="label"?L:{...L,...O==="menu"&&{"aria-labelledby":D}}},[O,C,D,m]),b=F.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 F.useMemo(()=>R?{reference:M,floating:U,item:b}:{},[R,M,U,b])}function H_(f,p){var v;const{open:g,dataRef:C}=f,{listRef:R,activeIndex:m,onMatch:O,onTypingChange:D,enabled:w=!0,findMatch:H=null,resetMs:M=750,ignoreKeys:U=[],selectedIndex:b=null}=p,L=F.useRef(),P=F.useRef(""),te=F.useRef((v=b??m)!=null?v:-1),de=F.useRef(null),oe=gr(O),Q=gr(D),J=Ui(H),le=Ui(U);bt(()=>{g&&(clearTimeout(L.current),de.current=null,P.current="")},[g]),bt(()=>{if(g&&P.current===""){var pe;te.current=(pe=b??m)!=null?pe:-1}},[g,b,m]);const me=gr(pe=>{pe?C.current.typing||(C.current.typing=pe,Q(pe)):C.current.typing&&(C.current.typing=pe,Q(pe))}),ge=gr(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;g&&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)},M);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=F.useMemo(()=>({onKeyDown:ge}),[ge]),Ye=F.useMemo(()=>({onKeyDown:ge,onKeyUp(pe){pe.key===" "&&me(!1)}}),[ge,me]);return F.useMemo(()=>w?{reference:Ue,floating:Ye}:{},[w,Ue,Ye])}function tT(f,p){const[v,g]=f;let C=!1;const R=p.length;for(let m=0,O=R-1;m<R;O=m++){const[D,w]=p[m]||[0,0],[H,M]=p[O]||[0,0];w>=g!=M>=g&&v<=(H-D)*(g-w)/(M-w)+D&&(C=!C)}return C}function P_(f,p){return f[0]>=p.x&&f[0]<=p.x+p.width&&f[1]>=p.y&&f[1]<=p.y+p.height}function V_(f){f===void 0&&(f={});const{buffer:p=.5,blockPointerEvents:v=!1,requireIntent:g=!0}=f;let C,R=!1,m=null,O=null,D=performance.now();function w(M,U){const b=performance.now(),L=b-D;if(m===null||O===null||L===0)return m=M,O=U,D=b,null;const P=M-m,te=U-O,oe=Math.sqrt(P*P+te*te)/L;return m=M,O=U,D=b,oe}const H=M=>{let{x:U,y:b,placement:L,elements:P,onClose:te,nodeId:de,tree:oe}=M;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],Ye=Yl(J),pe=J.type==="mouseleave",Se=Mn(P.floating,Ye),Ee=Mn(P.domReference,Ye),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=P_(Ue,ne),fe=G.width>ne.width,$=G.height>ne.height,Oe=(fe?ne:G).left,rt=(fe?ne:G).right,Ot=($?ne:G).top,_t=($?ne:G).bottom;if(Se&&(R=!0,!pe))return;if(Ee&&(R=!1),Ee&&!pe){R=!0;return}if(pe&&Vt(J.relatedTarget)&&Mn(P.floating,J.relatedTarget)||oe&&ks(oe.nodesRef.current,de).some(Pe=>{let{context:Le}=Pe;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 ze=[];switch(ce){case"top":ze=[[Oe,ne.top+1],[Oe,G.bottom-1],[rt,G.bottom-1],[rt,ne.top+1]];break;case"bottom":ze=[[Oe,G.top+1],[Oe,ne.bottom-1],[rt,ne.bottom-1],[rt,G.top+1]];break;case"left":ze=[[G.right-1,_t],[G.right-1,Ot],[ne.left+1,Ot],[ne.left+1,_t]];break;case"right":ze=[[ne.right-1,_t],[ne.right-1,Ot],[G.left+1,Ot],[G.left+1,_t]];break}function Fe(Pe){let[Le,Ze]=Pe;switch(ce){case"top":{const St=[fe?Le+p/2:re?Le+p*4:Le-p*4,Ze+p+1],vt=[fe?Le-p/2:re?Le+p*4:Le-p*4,Ze+p+1],ht=[[G.left,re||fe?G.bottom-p:G.top],[G.right,re?fe?G.bottom-p:G.top:G.bottom-p]];return[St,vt,...ht]}case"bottom":{const St=[fe?Le+p/2:re?Le+p*4:Le-p*4,Ze-p],vt=[fe?Le-p/2:re?Le+p*4:Le-p*4,Ze-p],ht=[[G.left,re||fe?G.top+p:G.bottom],[G.right,re?fe?G.top+p:G.bottom:G.top+p]];return[St,vt,...ht]}case"left":{const St=[Le+p+1,$?Ze+p/2:ue?Ze+p*4:Ze-p*4],vt=[Le+p+1,$?Ze-p/2:ue?Ze+p*4:Ze-p*4];return[...[[ue||$?G.right-p:G.left,G.top],[ue?$?G.right-p:G.left:G.right-p,G.bottom]],St,vt]}case"right":{const St=[Le-p,$?Ze+p/2:ue?Ze+p*4:Ze-p*4],vt=[Le-p,$?Ze-p/2:ue?Ze+p*4:Ze-p*4],ht=[[ue||$?G.left+p:G.right,G.top],[ue?$?G.left+p:G.right:G.left+p,G.bottom]];return[St,vt,...ht]}}}if(!tT([me,ge],ze)){if(R&&!X)return le();if(!pe&&g){const Pe=w(J.clientX,J.clientY);if(Pe!==null&&Pe<.1)return le()}tT([me,ge],Fe([U,b]))?!R&&g&&(C=window.setTimeout(le,40)):le()}}};return H.__options={blockPointerEvents:v},H}exports.FloatingArrow=l_;exports.FloatingDelayGroup=f_;exports.FloatingFocusManager=w_;exports.FloatingList=e_;exports.FloatingNode=u_;exports.FloatingPortal=x_;exports.FloatingTree=s_;exports.arrow=$L;exports.autoUpdate=ML;exports.flip=jL;exports.limitShift=IL;exports.offset=PL;exports.safePolygon=V_;exports.shift=VL;exports.size=BL;exports.useClick=b_;exports.useDelayGroup=d_;exports.useDelayGroupContext=OT;exports.useDismiss=O_;exports.useFloating=L_;exports.useFloatingNodeId=o_;exports.useFloatingParentNodeId=Ms;exports.useFloatingTree=Ls;exports.useFocus=__;exports.useHover=c_;exports.useInteractions=N_;exports.useListItem=t_;exports.useListNavigation=z_;exports.useMergeRefs=YL;exports.useRole=F_;exports.useTypeahead=H_;
|
|
178
|
+
//# sourceMappingURL=floating-ui.react-5347095a.cjs.map
|